ntk-cms-api 1.2.206 → 1.2.207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/models/dto/core-main/cmsNotificationSendDtoModel.mjs +1 -1
- package/esm2020/lib/models/entity/core-token/coreTokenNotificationModel.mjs +1 -1
- package/esm2020/lib/models/enums/base/enumNotificationConnectionType.mjs +4 -3
- package/esm2020/lib/service/core-token/coreTokenNotification.service.mjs +3 -3
- package/fesm2015/ntk-cms-api.mjs +5 -4
- package/fesm2015/ntk-cms-api.mjs.map +1 -1
- package/fesm2020/ntk-cms-api.mjs +5 -4
- package/fesm2020/ntk-cms-api.mjs.map +1 -1
- package/lib/models/dto/core-main/cmsNotificationSendDtoModel.d.ts +6 -0
- package/lib/models/entity/core-token/coreTokenNotificationModel.d.ts +5 -1
- package/lib/models/enums/base/enumNotificationConnectionType.d.ts +3 -2
- package/lib/service/core-token/coreTokenNotification.service.d.ts +1 -1
- package/package.json +1 -1
package/fesm2020/ntk-cms-api.mjs
CHANGED
|
@@ -1063,8 +1063,9 @@ var EnumNotificationModuleType;
|
|
|
1063
1063
|
var EnumNotificationConnectionType;
|
|
1064
1064
|
(function (EnumNotificationConnectionType) {
|
|
1065
1065
|
EnumNotificationConnectionType[EnumNotificationConnectionType["restApi"] = 0] = "restApi";
|
|
1066
|
-
EnumNotificationConnectionType[EnumNotificationConnectionType["
|
|
1067
|
-
EnumNotificationConnectionType[EnumNotificationConnectionType["
|
|
1066
|
+
EnumNotificationConnectionType[EnumNotificationConnectionType["Signalr"] = 1] = "Signalr";
|
|
1067
|
+
EnumNotificationConnectionType[EnumNotificationConnectionType["FireBase"] = 2] = "FireBase";
|
|
1068
|
+
EnumNotificationConnectionType[EnumNotificationConnectionType["WebSoocket"] = 3] = "WebSoocket";
|
|
1068
1069
|
})(EnumNotificationConnectionType || (EnumNotificationConnectionType = {}));
|
|
1069
1070
|
|
|
1070
1071
|
var EnumNotificationConnectionStatus;
|
|
@@ -3530,12 +3531,12 @@ class CoreTokenNotificationService extends ApiCmsServerBase {
|
|
|
3530
3531
|
getModuleControllerUrl() {
|
|
3531
3532
|
return 'CoreTokenNotification';
|
|
3532
3533
|
}
|
|
3533
|
-
|
|
3534
|
+
ServiceSendNotification(model) {
|
|
3534
3535
|
if (!model) {
|
|
3535
3536
|
model = new CmsNotificationSendDtoModel();
|
|
3536
3537
|
}
|
|
3537
3538
|
return this.http
|
|
3538
|
-
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/
|
|
3539
|
+
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/SendNotification', model, {
|
|
3539
3540
|
headers: this.getHeaders(),
|
|
3540
3541
|
})
|
|
3541
3542
|
.pipe(retry(this.configApiRetry),
|