grm-shared-library 1.1.63 → 1.1.65
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/dist/cjs/modules/sms/dtos/create-sms-options.dto.js +42 -0
- package/dist/cjs/modules/sms/dtos/create-sms-options.dto.js.map +1 -0
- package/dist/cjs/modules/sms/dtos/create-uwazii-sms-with-options.dto.js +30 -0
- package/dist/cjs/modules/sms/dtos/create-uwazii-sms-with-options.dto.js.map +1 -0
- package/dist/cjs/modules/sms/index.js +3 -0
- package/dist/cjs/modules/sms/index.js.map +1 -1
- package/dist/cjs/modules/sms/interfaces/sms-options.js +3 -0
- package/dist/cjs/modules/sms/interfaces/sms-options.js.map +1 -0
- package/dist/esm/modules/sms/dtos/create-sms-options.dto.js +38 -0
- package/dist/esm/modules/sms/dtos/create-sms-options.dto.js.map +1 -0
- package/dist/esm/modules/sms/dtos/create-uwazii-sms-with-options.dto.js +26 -0
- package/dist/esm/modules/sms/dtos/create-uwazii-sms-with-options.dto.js.map +1 -0
- package/dist/esm/modules/sms/index.js +3 -0
- package/dist/esm/modules/sms/index.js.map +1 -1
- package/dist/esm/modules/sms/interfaces/sms-options.js +2 -0
- package/dist/esm/modules/sms/interfaces/sms-options.js.map +1 -0
- package/dist/types/modules/sms/dtos/create-sms-options.dto.d.ts +7 -0
- package/dist/types/modules/sms/dtos/create-uwazii-sms-with-options.dto.d.ts +6 -0
- package/dist/types/modules/sms/index.d.ts +3 -0
- package/dist/types/modules/sms/interfaces/sms-options.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateSMSOptionsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateSMSOptionsDto {
|
|
15
|
+
}
|
|
16
|
+
exports.CreateSMSOptionsDto = CreateSMSOptionsDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], CreateSMSOptionsDto.prototype, "incidentId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], CreateSMSOptionsDto.prototype, "userId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], CreateSMSOptionsDto.prototype, "organizationId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsObject)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], CreateSMSOptionsDto.prototype, "metadata", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsNumber)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], CreateSMSOptionsDto.prototype, "chunkSize", void 0);
|
|
42
|
+
//# sourceMappingURL=create-sms-options.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-sms-options.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-sms-options.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,mBAAmB;CAoB/B;AApBD,kDAoBC;AAjBG;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAIhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACkB;AAI/B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACM"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateUWAZIISMSWithOptionsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const create_sms_options_dto_1 = require("./create-sms-options.dto");
|
|
15
|
+
const create_uwazii_sms_dto_1 = require("./create-uwazii-sms.dto");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
class CreateUWAZIISMSWithOptionsDto {
|
|
18
|
+
}
|
|
19
|
+
exports.CreateUWAZIISMSWithOptionsDto = CreateUWAZIISMSWithOptionsDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.ValidateNested)(),
|
|
22
|
+
(0, class_transformer_1.Type)(() => create_uwazii_sms_dto_1.CreateUWAZIISMSDto),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], CreateUWAZIISMSWithOptionsDto.prototype, "smsData", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.ValidateNested)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => create_sms_options_dto_1.CreateSMSOptionsDto),
|
|
28
|
+
__metadata("design:type", create_sms_options_dto_1.CreateSMSOptionsDto)
|
|
29
|
+
], CreateUWAZIISMSWithOptionsDto.prototype, "options", void 0);
|
|
30
|
+
//# sourceMappingURL=create-uwazii-sms-with-options.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-uwazii-sms-with-options.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-uwazii-sms-with-options.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,qEAA+D;AAC/D,mEAA6D;AAC7D,yDAAyC;AAEzC,MAAa,6BAA6B;CAQzC;AARD,sEAQC;AALG;IAFC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0CAAkB,CAAC;;8DACA;AAI/B;IAFC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAmB,CAAC;8BACtB,4CAAmB;8DAAC"}
|
|
@@ -17,8 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./interfaces/sms-request"), exports);
|
|
18
18
|
__exportStar(require("./interfaces/sms-response"), exports);
|
|
19
19
|
__exportStar(require("./interfaces/sms-notification"), exports);
|
|
20
|
+
__exportStar(require("./interfaces/sms-options"), exports);
|
|
20
21
|
__exportStar(require("./dtos/create-uwazii-sms.dto"), exports);
|
|
21
22
|
__exportStar(require("./dtos/create-sms-notification.dto"), exports);
|
|
22
23
|
__exportStar(require("./dtos/update-sms-notification.dto"), exports);
|
|
24
|
+
__exportStar(require("./dtos/create-sms-options.dto"), exports);
|
|
25
|
+
__exportStar(require("./dtos/create-uwazii-sms-with-options.dto"), exports);
|
|
23
26
|
__exportStar(require("./enums/sms-notification-status.enum"), exports);
|
|
24
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,qEAAmD;AACnD,qEAAmD;AACnD,uEAAqD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,+DAA6C;AAC7C,qEAAmD;AACnD,qEAAmD;AACnD,gEAA8C;AAC9C,4EAA0D;AAC1D,uEAAqD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-options.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsNumber, IsObject, IsOptional } from "class-validator";
|
|
11
|
+
export class CreateSMSOptionsDto {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
IsNumber(),
|
|
15
|
+
IsOptional(),
|
|
16
|
+
__metadata("design:type", Number)
|
|
17
|
+
], CreateSMSOptionsDto.prototype, "incidentId", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
IsNumber(),
|
|
20
|
+
IsOptional(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], CreateSMSOptionsDto.prototype, "userId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
IsNumber(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], CreateSMSOptionsDto.prototype, "organizationId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
IsObject(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], CreateSMSOptionsDto.prototype, "metadata", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
IsNumber(),
|
|
35
|
+
IsOptional(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], CreateSMSOptionsDto.prototype, "chunkSize", void 0);
|
|
38
|
+
//# sourceMappingURL=create-sms-options.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-sms-options.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-sms-options.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEjE,MAAM,OAAO,mBAAmB;CAoB/B;AAjBG;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACO;AAIpB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;mDACG;AAIhB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACW;AAIxB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACkB;AAI/B;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACM"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ValidateNested } from "class-validator";
|
|
11
|
+
import { CreateSMSOptionsDto } from "./create-sms-options.dto";
|
|
12
|
+
import { CreateUWAZIISMSDto } from "./create-uwazii-sms.dto";
|
|
13
|
+
import { Type } from "class-transformer";
|
|
14
|
+
export class CreateUWAZIISMSWithOptionsDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
ValidateNested(),
|
|
18
|
+
Type(() => CreateUWAZIISMSDto),
|
|
19
|
+
__metadata("design:type", Array)
|
|
20
|
+
], CreateUWAZIISMSWithOptionsDto.prototype, "smsData", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ValidateNested(),
|
|
23
|
+
Type(() => CreateSMSOptionsDto),
|
|
24
|
+
__metadata("design:type", CreateSMSOptionsDto)
|
|
25
|
+
], CreateUWAZIISMSWithOptionsDto.prototype, "options", void 0);
|
|
26
|
+
//# sourceMappingURL=create-uwazii-sms-with-options.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-uwazii-sms-with-options.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-uwazii-sms-with-options.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,MAAM,OAAO,6BAA6B;CAQzC;AALG;IAFC,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC;;8DACA;AAI/B;IAFC,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC;8BACtB,mBAAmB;8DAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './interfaces/sms-request';
|
|
2
2
|
export * from './interfaces/sms-response';
|
|
3
3
|
export * from './interfaces/sms-notification';
|
|
4
|
+
export * from './interfaces/sms-options';
|
|
4
5
|
export * from './dtos/create-uwazii-sms.dto';
|
|
5
6
|
export * from './dtos/create-sms-notification.dto';
|
|
6
7
|
export * from './dtos/update-sms-notification.dto';
|
|
8
|
+
export * from './dtos/create-sms-options.dto';
|
|
9
|
+
export * from './dtos/create-uwazii-sms-with-options.dto';
|
|
7
10
|
export * from './enums/sms-notification-status.enum';
|
|
8
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/sms/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/sms/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-options.js","sourceRoot":"","sources":["../../../../../src/modules/sms/interfaces/sms-options.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './interfaces/sms-request';
|
|
2
2
|
export * from './interfaces/sms-response';
|
|
3
3
|
export * from './interfaces/sms-notification';
|
|
4
|
+
export * from './interfaces/sms-options';
|
|
4
5
|
export * from './dtos/create-uwazii-sms.dto';
|
|
5
6
|
export * from './dtos/create-sms-notification.dto';
|
|
6
7
|
export * from './dtos/update-sms-notification.dto';
|
|
8
|
+
export * from './dtos/create-sms-options.dto';
|
|
9
|
+
export * from './dtos/create-uwazii-sms-with-options.dto';
|
|
7
10
|
export * from './enums/sms-notification-status.enum';
|