fix: return platform response identifiers

This commit is contained in:
2026-05-08 16:24:45 +00:00
parent f38938ef3d
commit 5a3cb00f80
7 changed files with 1810 additions and 2188 deletions
+6 -6
View File
@@ -15,19 +15,19 @@
},
"devDependencies": {
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsbundle": "^2.10.0",
"@git.zone/tsrun": "^2.0.2",
"@git.zone/tsbundle": "^2.10.1",
"@git.zone/tsrun": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0"
"@types/node": "^25.6.1"
},
"dependencies": {
"@api.global/typedrequest": "^3.3.0",
"@api.global/typedserver": "^8.4.6",
"@api.global/typedsocket": "^4.1.2",
"@push.rocks/qenv": "^6.1.3",
"@push.rocks/qenv": "^6.1.4",
"@push.rocks/smartlog": "^3.2.2",
"@push.rocks/smartntml": "^2.0.8",
"@serve.zone/interfaces": "^5.4.5"
"@push.rocks/smartntml": "^2.0.9",
"@serve.zone/interfaces": "^5.5.0"
},
"repository": {
"type": "git",
+1798 -2178
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -30,7 +30,7 @@ export class SzEmailConnector {
'sendEmail'
);
const response = await typedRequest.fire(optionsArg);
return response.responseId;
}
public async sendNotification(optionsArg: { toArg: string; subject: string; text: string }) {}
+1
View File
@@ -25,5 +25,6 @@ export class SzLetterConnector {
'sendLetter'
);
const response = await typedRequest.fire(optionsArg);
return response.processId;
}
}
@@ -25,7 +25,7 @@ export class SzPushNotificationConnector {
);
const response = await typedRequest.fire(optionsArg);
if (process.env.SERVEZONE_PLATFORMCLIENT_DEBUG) {
if (typeof process !== 'undefined' && process.env?.SERVEZONE_PLATFORMCLIENT_DEBUG) {
console.log('sendPushNotification response', response);
}
-2
View File
@@ -1,5 +1,3 @@
/// <reference types="node" />
import * as smartntml from '@push.rocks/smartntml';
export {
+3
View File
@@ -5,6 +5,9 @@
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"types": [
"node"
],
"esModuleInterop": true,
"verbatimModuleSyntax": true
},