@fiado/type-kit 1.0.36 → 1.0.38

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.
Files changed (43) hide show
  1. package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +2 -0
  2. package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  3. package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  4. package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  5. package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  6. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  7. package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  8. package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  9. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  10. package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  11. package/.idea/sonarlint/issuestore/index.pb +21 -0
  12. package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
  13. package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  14. package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  15. package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  16. package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  17. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  18. package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  19. package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  20. package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  21. package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  22. package/.idea/sonarlint/securityhotspotstore/index.pb +21 -0
  23. package/bin/index.d.ts +1 -0
  24. package/bin/index.js +2 -1
  25. package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.d.ts +6 -0
  26. package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.js +6 -0
  27. package/bin/notificationMessages/dtos/QueueMessageDestination.d.ts +6 -0
  28. package/bin/notificationMessages/dtos/QueueMessageDestination.js +6 -0
  29. package/bin/notificationMessages/dtos/QueueMessageVariableValues.d.ts +4 -0
  30. package/bin/notificationMessages/dtos/QueueMessageVariableValues.js +6 -0
  31. package/bin/notificationMessages/index.d.ts +3 -0
  32. package/bin/notificationMessages/index.js +19 -0
  33. package/bin/servicePayment/dtos/ServicePaymentRequest.d.ts +1 -0
  34. package/bin/servicePayment/dtos/ServicePaymentRequest.js +5 -0
  35. package/package.json +1 -1
  36. package/src/index.ts +1 -2
  37. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -0
  38. package/src/notificationMessages/dtos/QueueMessageDestination.ts +7 -0
  39. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +4 -0
  40. package/src/notificationMessages/index.ts +3 -0
  41. package/src/servicePayment/dtos/ServicePaymentRequest.ts +4 -0
  42. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  43. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
@@ -0,0 +1,21 @@
1
+
2
+ 9
3
+ README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
4
+ A
5
+ src/card/index.ts,1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd
6
+ <
7
+ src/index.ts,c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1
8
+ Q
9
+ !src/notificationMessages/index.ts,6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54
10
+ p
11
+ @src/notificationMessages/dtos/NotificationQueueMessageRequest.ts,3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d
12
+ h
13
+ 8src/notificationMessages/dtos/QueueMessageDestination.ts,2/5/25497cc140764f84080ed16d4d408b09b411525a
14
+ k
15
+ ;src/notificationMessages/dtos/QueueMessageVariableValues.ts,7/3/73eee44012dacbb17c6d2e2d988e6def209267b8
16
+ <
17
+ package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
18
+ K
19
+ src/servicePayment/index.ts,8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec
20
+ 6
21
+ .npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
@@ -0,0 +1,21 @@
1
+
2
+ 9
3
+ README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
4
+ A
5
+ src/card/index.ts,1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd
6
+ <
7
+ src/index.ts,c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1
8
+ Q
9
+ !src/notificationMessages/index.ts,6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54
10
+ p
11
+ @src/notificationMessages/dtos/NotificationQueueMessageRequest.ts,3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d
12
+ h
13
+ 8src/notificationMessages/dtos/QueueMessageDestination.ts,2/5/25497cc140764f84080ed16d4d408b09b411525a
14
+ k
15
+ ;src/notificationMessages/dtos/QueueMessageVariableValues.ts,7/3/73eee44012dacbb17c6d2e2d988e6def209267b8
16
+ <
17
+ package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
18
+ K
19
+ src/servicePayment/index.ts,8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec
20
+ 6
21
+ .npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
package/bin/index.d.ts CHANGED
@@ -12,3 +12,4 @@ export * as Group from './group';
12
12
  export * as Identity from './provider';
13
13
  export * as Header from './header';
14
14
  export * as ServicePayment from './servicePayment';
15
+ export * as NotificationMessages from './notificationMessages';
package/bin/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
26
+ exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
27
27
  exports.Account = __importStar(require("./account"));
28
28
  exports.Address = __importStar(require("./address"));
29
29
  exports.App = __importStar(require("./app"));
@@ -38,3 +38,4 @@ exports.Group = __importStar(require("./group"));
38
38
  exports.Identity = __importStar(require("./provider"));
39
39
  exports.Header = __importStar(require("./header"));
40
40
  exports.ServicePayment = __importStar(require("./servicePayment"));
41
+ exports.NotificationMessages = __importStar(require("./notificationMessages"));
@@ -0,0 +1,6 @@
1
+ import { QueueMessageDestination } from "./QueueMessageDestination";
2
+ export declare class NotificationQueueMessageRequest {
3
+ templateId: string;
4
+ destinations: QueueMessageDestination[];
5
+ data?: any;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationQueueMessageRequest = void 0;
4
+ class NotificationQueueMessageRequest {
5
+ }
6
+ exports.NotificationQueueMessageRequest = NotificationQueueMessageRequest;
@@ -0,0 +1,6 @@
1
+ import { QueueMessageVariableValues } from "./QueueMessageVariableValues";
2
+ export declare class QueueMessageDestination {
3
+ directoryId: string;
4
+ templateVariables?: QueueMessageVariableValues[];
5
+ data?: any;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QueueMessageDestination = void 0;
4
+ class QueueMessageDestination {
5
+ }
6
+ exports.QueueMessageDestination = QueueMessageDestination;
@@ -0,0 +1,4 @@
1
+ export declare class QueueMessageVariableValues {
2
+ key: string;
3
+ value: string;
4
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QueueMessageVariableValues = void 0;
4
+ class QueueMessageVariableValues {
5
+ }
6
+ exports.QueueMessageVariableValues = QueueMessageVariableValues;
@@ -0,0 +1,3 @@
1
+ export * from './dtos/NotificationQueueMessageRequest';
2
+ export * from './dtos/QueueMessageDestination';
3
+ export * from './dtos/QueueMessageVariableValues';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dtos/NotificationQueueMessageRequest"), exports);
18
+ __exportStar(require("./dtos/QueueMessageDestination"), exports);
19
+ __exportStar(require("./dtos/QueueMessageVariableValues"), exports);
@@ -1,5 +1,6 @@
1
1
  export declare class ServicePaymentRequest {
2
2
  serviceId: string;
3
+ directoryId: string;
3
4
  reference: string;
4
5
  productId: string;
5
6
  amount: number;
@@ -19,6 +19,11 @@ __decorate([
19
19
  (0, class_validator_1.Length)(1, 50),
20
20
  __metadata("design:type", String)
21
21
  ], ServicePaymentRequest.prototype, "serviceId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.Length)(1, 100),
25
+ __metadata("design:type", String)
26
+ ], ServicePaymentRequest.prototype, "directoryId", void 0);
22
27
  __decorate([
23
28
  (0, class_validator_1.IsNotEmpty)(),
24
29
  (0, class_validator_1.Length)(1, 100),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
package/src/index.ts CHANGED
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  export * as Account from './account';
4
2
  export * as Address from './address';
5
3
  export * as App from './app';
@@ -14,6 +12,7 @@ export * as Group from './group';
14
12
  export * as Identity from './provider';
15
13
  export * as Header from './header';
16
14
  export * as ServicePayment from './servicePayment';
15
+ export * as NotificationMessages from './notificationMessages';
17
16
 
18
17
 
19
18
 
@@ -0,0 +1,7 @@
1
+ import {QueueMessageDestination} from "./QueueMessageDestination";
2
+
3
+ export class NotificationQueueMessageRequest {
4
+ templateId: string;
5
+ destinations: QueueMessageDestination[];
6
+ data?: any;
7
+ }
@@ -0,0 +1,7 @@
1
+ import {QueueMessageVariableValues} from "./QueueMessageVariableValues";
2
+
3
+ export class QueueMessageDestination {
4
+ directoryId: string;
5
+ templateVariables?: QueueMessageVariableValues[];
6
+ data?: any;
7
+ }
@@ -0,0 +1,4 @@
1
+ export class QueueMessageVariableValues {
2
+ key: string;
3
+ value: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ export * from './dtos/NotificationQueueMessageRequest';
2
+ export * from './dtos/QueueMessageDestination';
3
+ export * from './dtos/QueueMessageVariableValues';
@@ -8,6 +8,10 @@ export class ServicePaymentRequest {
8
8
  @IsNotEmpty()
9
9
  @Length(1, 50)
10
10
  serviceId: string;
11
+
12
+ @IsNotEmpty()
13
+ @Length(1, 100)
14
+ directoryId: string;
11
15
 
12
16
  @IsNotEmpty()
13
17
  @Length(1, 100)
@@ -1,3 +0,0 @@
1
- export declare class GroupDirectoryRetationsUpdateRequest {
2
- agent: string;
3
- }
@@ -1,22 +0,0 @@
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.GroupDirectoryRetationsUpdateRequest = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GroupDirectoryRetationsUpdateRequest {
15
- }
16
- exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
17
- __decorate([
18
- (0, class_validator_1.IsOptional)(),
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.Length)(1, 20),
21
- __metadata("design:type", String)
22
- ], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);