@explorins/pers-shared 2.1.103 → 2.1.105

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 (61) hide show
  1. package/dist/cjs/shared-lib/dto/campaign/campaignUserClaim.dto.d.ts +1 -0
  2. package/dist/cjs/shared-lib/dto/campaign/campaignUserClaim.dto.d.ts.map +1 -1
  3. package/dist/cjs/shared-lib/dto/campaign/campaignUserClaim.dto.js +7 -0
  4. package/dist/cjs/shared-lib/dto/campaign/campaignUserClaim.dto.js.map +1 -1
  5. package/dist/cjs/shared-lib/dto/transaction/transaction-bulk-data.request.dto.d.ts +3 -3
  6. package/dist/cjs/shared-lib/dto/transaction/transaction-bulk-data.request.dto.js +9 -9
  7. package/dist/cjs/shared-lib/dto/user/userUploadData.dto.d.ts +3 -3
  8. package/dist/cjs/shared-lib/dto/user/userUploadData.dto.js +14 -14
  9. package/dist/cjs/shared-lib/dto/webhook/webhook.dto.d.ts +6 -6
  10. package/dist/cjs/shared-lib/dto/webhook/webhook.dto.js +52 -52
  11. package/dist/cjs/shared-lib/enum/entity-types.enum.d.ts +100 -0
  12. package/dist/cjs/shared-lib/enum/entity-types.enum.d.ts.map +1 -0
  13. package/dist/cjs/shared-lib/enum/entity-types.enum.js +61 -0
  14. package/dist/cjs/shared-lib/enum/entity-types.enum.js.map +1 -0
  15. package/dist/cjs/shared-lib/enum/index.d.ts +1 -0
  16. package/dist/cjs/shared-lib/enum/index.d.ts.map +1 -1
  17. package/dist/cjs/shared-lib/enum/index.js +2 -0
  18. package/dist/cjs/shared-lib/enum/index.js.map +1 -1
  19. package/dist/cjs/shared-lib/errors/error-codes.d.ts +2 -26
  20. package/dist/cjs/shared-lib/errors/error-codes.d.ts.map +1 -1
  21. package/dist/cjs/shared-lib/errors/error-codes.js +3 -22
  22. package/dist/cjs/shared-lib/errors/error-codes.js.map +1 -1
  23. package/dist/cjs/shared-lib/value-objects/token-balance.value-object.js +2 -2
  24. package/dist/cjs/shared-lib/value-objects/token-balance.value-object.js.map +1 -1
  25. package/dist/cjs/shared-patterns/functions/{helper.functions.d.ts → token-metadata.functions.d.ts} +13 -24
  26. package/dist/cjs/shared-patterns/functions/token-metadata.functions.d.ts.map +1 -0
  27. package/dist/cjs/shared-patterns/functions/{helper.functions.js → token-metadata.functions.js} +14 -58
  28. package/dist/cjs/shared-patterns/functions/token-metadata.functions.js.map +1 -0
  29. package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.d.ts +1 -0
  30. package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.d.ts.map +1 -1
  31. package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.js +6 -0
  32. package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.js.map +1 -1
  33. package/dist/esm/shared-lib/dto/transaction/transaction-bulk-data.request.dto.d.ts +3 -3
  34. package/dist/esm/shared-lib/dto/transaction/transaction-bulk-data.request.dto.js +8 -8
  35. package/dist/esm/shared-lib/dto/user/userUploadData.dto.d.ts +3 -3
  36. package/dist/esm/shared-lib/dto/user/userUploadData.dto.js +10 -10
  37. package/dist/esm/shared-lib/dto/webhook/webhook.dto.d.ts +6 -6
  38. package/dist/esm/shared-lib/dto/webhook/webhook.dto.js +46 -46
  39. package/dist/esm/shared-lib/enum/entity-types.enum.d.ts +100 -0
  40. package/dist/esm/shared-lib/enum/entity-types.enum.d.ts.map +1 -0
  41. package/dist/esm/shared-lib/enum/entity-types.enum.js +58 -0
  42. package/dist/esm/shared-lib/enum/entity-types.enum.js.map +1 -0
  43. package/dist/esm/shared-lib/enum/index.d.ts +1 -0
  44. package/dist/esm/shared-lib/enum/index.d.ts.map +1 -1
  45. package/dist/esm/shared-lib/enum/index.js +2 -0
  46. package/dist/esm/shared-lib/enum/index.js.map +1 -1
  47. package/dist/esm/shared-lib/errors/error-codes.d.ts +2 -26
  48. package/dist/esm/shared-lib/errors/error-codes.d.ts.map +1 -1
  49. package/dist/esm/shared-lib/errors/error-codes.js +2 -22
  50. package/dist/esm/shared-lib/errors/error-codes.js.map +1 -1
  51. package/dist/esm/shared-lib/value-objects/token-balance.value-object.js +1 -1
  52. package/dist/esm/shared-lib/value-objects/token-balance.value-object.js.map +1 -1
  53. package/dist/esm/shared-patterns/functions/{helper.functions.d.ts → token-metadata.functions.d.ts} +13 -24
  54. package/dist/esm/shared-patterns/functions/token-metadata.functions.d.ts.map +1 -0
  55. package/dist/esm/shared-patterns/functions/{helper.functions.js → token-metadata.functions.js} +13 -54
  56. package/dist/esm/shared-patterns/functions/token-metadata.functions.js.map +1 -0
  57. package/package.json +1 -1
  58. package/dist/cjs/shared-patterns/functions/helper.functions.d.ts.map +0 -1
  59. package/dist/cjs/shared-patterns/functions/helper.functions.js.map +0 -1
  60. package/dist/esm/shared-patterns/functions/helper.functions.d.ts.map +0 -1
  61. package/dist/esm/shared-patterns/functions/helper.functions.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import { UserIdentifierParamsObject as IUserIdentifierObject } from '../../types/unique-user-identifier-keys';
2
- export declare class UserIdentifierObjectDto implements IUserIdentifierObject {
2
+ export declare class UserIdentifierObjectDTO implements IUserIdentifierObject {
3
3
  email?: string;
4
4
  externalId?: string;
5
5
  id?: string;
6
6
  instagramAccountId?: string;
7
7
  wildcard?: string;
8
8
  }
9
- export declare class UserUploadDataDto {
10
- user: UserIdentifierObjectDto;
9
+ export declare class UserUploadDataDTO {
10
+ user: UserIdentifierObjectDTO;
11
11
  }
12
12
  //# sourceMappingURL=userUploadData.dto.d.ts.map
@@ -10,7 +10,7 @@ import { Type } from 'class-transformer';
10
10
  import { OptionalStrip } from '../../decorators/index.js';
11
11
  // This DTO represents the user identification part.
12
12
  // It implements IUserIdentifierObject to align with the shared library type structure.
13
- export class UserIdentifierObjectDto {
13
+ export class UserIdentifierObjectDTO {
14
14
  email;
15
15
  externalId;
16
16
  id;
@@ -21,25 +21,25 @@ __decorate([
21
21
  ApiPropertyOptional({ description: 'User email', example: 'user@example.com' }),
22
22
  OptionalStrip(),
23
23
  IsEmail()
24
- ], UserIdentifierObjectDto.prototype, "email", void 0);
24
+ ], UserIdentifierObjectDTO.prototype, "email", void 0);
25
25
  __decorate([
26
26
  ApiPropertyOptional({ description: 'External User ID' }),
27
27
  OptionalStrip(),
28
28
  IsString(),
29
29
  MinLength(1)
30
- ], UserIdentifierObjectDto.prototype, "externalId", void 0);
30
+ ], UserIdentifierObjectDTO.prototype, "externalId", void 0);
31
31
  __decorate([
32
32
  ApiPropertyOptional({ description: 'User ID (from uniqueUserIdentifierKeys)' }),
33
33
  OptionalStrip(),
34
34
  IsString(),
35
35
  MinLength(1)
36
- ], UserIdentifierObjectDto.prototype, "id", void 0);
36
+ ], UserIdentifierObjectDTO.prototype, "id", void 0);
37
37
  __decorate([
38
38
  ApiPropertyOptional({ description: 'Instagram Account ID (from uniqueUserIdentifierKeys)' }),
39
39
  OptionalStrip(),
40
40
  IsString(),
41
41
  MinLength(1)
42
- ], UserIdentifierObjectDto.prototype, "instagramAccountId", void 0);
42
+ ], UserIdentifierObjectDTO.prototype, "instagramAccountId", void 0);
43
43
  __decorate([
44
44
  ApiPropertyOptional({
45
45
  description: 'Wildcard value for auto-detection of identifier type',
@@ -47,18 +47,18 @@ __decorate([
47
47
  }),
48
48
  OptionalStrip(),
49
49
  IsString()
50
- ], UserIdentifierObjectDto.prototype, "wildcard", void 0);
50
+ ], UserIdentifierObjectDTO.prototype, "wildcard", void 0);
51
51
  // This DTO represents the data for a single user in a bulk upload scenario.
52
- export class UserUploadDataDto {
52
+ export class UserUploadDataDTO {
53
53
  user;
54
54
  }
55
55
  __decorate([
56
56
  ApiProperty({
57
57
  description: 'User identifier object. At least one identifier (e.g., email, id) must be provided. If only wildcard is provided, the system will attempt to detect the identifier type.',
58
- type: () => UserIdentifierObjectDto
58
+ type: () => UserIdentifierObjectDTO
59
59
  }),
60
60
  IsObject(),
61
61
  ValidateNested(),
62
- Type(() => UserIdentifierObjectDto)
63
- ], UserUploadDataDto.prototype, "user", void 0);
62
+ Type(() => UserIdentifierObjectDTO)
63
+ ], UserUploadDataDTO.prototype, "user", void 0);
64
64
  //# sourceMappingURL=userUploadData.dto.js.map
@@ -3,7 +3,7 @@ export { WebhookAuthType, WebhookMethod, WebhookSource, WebhookExecutionStatus,
3
3
  /**
4
4
  * DTO for creating a webhook
5
5
  */
6
- export declare class CreateWebhookDto {
6
+ export declare class CreateWebhookDTO {
7
7
  name: string;
8
8
  description?: string;
9
9
  targetUrl: string;
@@ -15,16 +15,16 @@ export declare class CreateWebhookDto {
15
15
  inboundSecret?: string;
16
16
  timeoutMs?: number;
17
17
  }
18
- declare const UpdateWebhookDto_base: import("@nestjs/common").Type<Partial<CreateWebhookDto>>;
18
+ declare const UpdateWebhookDTO_base: import("@nestjs/common").Type<Partial<CreateWebhookDTO>>;
19
19
  /**
20
20
  * DTO for updating a webhook (all fields optional)
21
21
  */
22
- export declare class UpdateWebhookDto extends UpdateWebhookDto_base {
22
+ export declare class UpdateWebhookDTO extends UpdateWebhookDTO_base {
23
23
  }
24
24
  /**
25
25
  * DTO for webhook list responses (hides sensitive fields)
26
26
  */
27
- export declare class WebhookDto {
27
+ export declare class WebhookDTO {
28
28
  id: string;
29
29
  name: string;
30
30
  description?: string | null;
@@ -43,7 +43,7 @@ export declare class WebhookDto {
43
43
  /**
44
44
  * DTO for webhook execution history
45
45
  */
46
- export declare class WebhookExecutionDto {
46
+ export declare class WebhookExecutionDTO {
47
47
  id: string;
48
48
  webhookId: string;
49
49
  method: string;
@@ -62,7 +62,7 @@ export declare class WebhookExecutionDto {
62
62
  /**
63
63
  * DTO for webhook callback requests from external systems (e.g., n8n workflow completion)
64
64
  */
65
- export declare class WebhookCallbackDto {
65
+ export declare class WebhookCallbackDTO {
66
66
  status: WebhookCallbackStatus;
67
67
  result?: Record<string, unknown>;
68
68
  error?: string;
@@ -12,7 +12,7 @@ export { WebhookAuthType, WebhookMethod, WebhookSource, WebhookExecutionStatus,
12
12
  /**
13
13
  * DTO for creating a webhook
14
14
  */
15
- export class CreateWebhookDto {
15
+ export class CreateWebhookDTO {
16
16
  name;
17
17
  description;
18
18
  targetUrl;
@@ -27,21 +27,21 @@ export class CreateWebhookDto {
27
27
  __decorate([
28
28
  ApiProperty({ description: 'Human-readable name for this webhook', example: 'Stripe Payment Webhook' }),
29
29
  IsString()
30
- ], CreateWebhookDto.prototype, "name", void 0);
30
+ ], CreateWebhookDTO.prototype, "name", void 0);
31
31
  __decorate([
32
32
  ApiPropertyOptional({ description: 'Optional description', example: 'Handles payment confirmations from Stripe' }),
33
33
  IsString(),
34
34
  IsOptional()
35
- ], CreateWebhookDto.prototype, "description", void 0);
35
+ ], CreateWebhookDTO.prototype, "description", void 0);
36
36
  __decorate([
37
37
  ApiProperty({ description: 'Target URL where requests will be forwarded', example: 'https://internal-api.example.com/payments/webhook' }),
38
38
  IsUrl()
39
- ], CreateWebhookDto.prototype, "targetUrl", void 0);
39
+ ], CreateWebhookDTO.prototype, "targetUrl", void 0);
40
40
  __decorate([
41
41
  ApiPropertyOptional({ description: 'Whether webhook is active', default: true }),
42
42
  IsBoolean(),
43
43
  IsOptional()
44
- ], CreateWebhookDto.prototype, "isActive", void 0);
44
+ ], CreateWebhookDTO.prototype, "isActive", void 0);
45
45
  __decorate([
46
46
  ApiPropertyOptional({
47
47
  description: 'Allowed HTTP methods (defaults to POST only)',
@@ -53,17 +53,17 @@ __decorate([
53
53
  IsArray(),
54
54
  IsEnum(WebhookMethod, { each: true }),
55
55
  IsOptional()
56
- ], CreateWebhookDto.prototype, "allowedMethods", void 0);
56
+ ], CreateWebhookDTO.prototype, "allowedMethods", void 0);
57
57
  __decorate([
58
58
  ApiPropertyOptional({ description: 'Outbound authentication type', enum: WebhookAuthType, default: WebhookAuthType.NONE }),
59
59
  IsEnum(WebhookAuthType),
60
60
  IsOptional()
61
- ], CreateWebhookDto.prototype, "outboundAuthType", void 0);
61
+ ], CreateWebhookDTO.prototype, "outboundAuthType", void 0);
62
62
  __decorate([
63
63
  ApiPropertyOptional({ description: 'Outbound authentication credentials (Bearer token)' }),
64
64
  IsString(),
65
65
  IsOptional()
66
- ], CreateWebhookDto.prototype, "outboundAuthCredentials", void 0);
66
+ ], CreateWebhookDTO.prototype, "outboundAuthCredentials", void 0);
67
67
  __decorate([
68
68
  ApiProperty({
69
69
  description: 'Allowed inbound sources',
@@ -73,28 +73,28 @@ __decorate([
73
73
  }),
74
74
  IsArray(),
75
75
  IsEnum(WebhookSource, { each: true })
76
- ], CreateWebhookDto.prototype, "inboundAllowedSources", void 0);
76
+ ], CreateWebhookDTO.prototype, "inboundAllowedSources", void 0);
77
77
  __decorate([
78
78
  ApiPropertyOptional({ description: 'Secret for external source verification (e.g., Stripe signing secret)' }),
79
79
  IsString(),
80
80
  IsOptional()
81
- ], CreateWebhookDto.prototype, "inboundSecret", void 0);
81
+ ], CreateWebhookDTO.prototype, "inboundSecret", void 0);
82
82
  __decorate([
83
83
  ApiPropertyOptional({ description: 'Request timeout in milliseconds', default: 30000, minimum: 1000, maximum: 120000 }),
84
84
  IsNumber(),
85
85
  Min(1000),
86
86
  Max(120000),
87
87
  IsOptional()
88
- ], CreateWebhookDto.prototype, "timeoutMs", void 0);
88
+ ], CreateWebhookDTO.prototype, "timeoutMs", void 0);
89
89
  /**
90
90
  * DTO for updating a webhook (all fields optional)
91
91
  */
92
- export class UpdateWebhookDto extends PartialType(CreateWebhookDto) {
92
+ export class UpdateWebhookDTO extends PartialType(CreateWebhookDTO) {
93
93
  }
94
94
  /**
95
95
  * DTO for webhook list responses (hides sensitive fields)
96
96
  */
97
- export class WebhookDto {
97
+ export class WebhookDTO {
98
98
  id;
99
99
  name;
100
100
  description;
@@ -112,53 +112,53 @@ export class WebhookDto {
112
112
  }
113
113
  __decorate([
114
114
  ApiProperty({ description: 'Webhook ID' })
115
- ], WebhookDto.prototype, "id", void 0);
115
+ ], WebhookDTO.prototype, "id", void 0);
116
116
  __decorate([
117
117
  ApiProperty({ description: 'Human-readable name' })
118
- ], WebhookDto.prototype, "name", void 0);
118
+ ], WebhookDTO.prototype, "name", void 0);
119
119
  __decorate([
120
120
  ApiPropertyOptional({ description: 'Optional description' })
121
- ], WebhookDto.prototype, "description", void 0);
121
+ ], WebhookDTO.prototype, "description", void 0);
122
122
  __decorate([
123
123
  ApiProperty({ description: 'Target URL where requests are forwarded' })
124
- ], WebhookDto.prototype, "targetUrl", void 0);
124
+ ], WebhookDTO.prototype, "targetUrl", void 0);
125
125
  __decorate([
126
126
  ApiProperty({
127
127
  description: 'Public URL to receive webhook requests (format: {baseUrl}/{apiVersion}/hooks/{projectKey}/{hookId})',
128
128
  example: 'https://api.pers.ninja/v2/hooks/b3245237f5e658af.../550e8400-e29b-41d4-a716-446655440000'
129
129
  })
130
- ], WebhookDto.prototype, "url", void 0);
130
+ ], WebhookDTO.prototype, "url", void 0);
131
131
  __decorate([
132
132
  ApiProperty({ description: 'Whether webhook is active' })
133
- ], WebhookDto.prototype, "isActive", void 0);
133
+ ], WebhookDTO.prototype, "isActive", void 0);
134
134
  __decorate([
135
135
  ApiProperty({ description: 'Allowed HTTP methods', enum: WebhookMethod, isArray: true })
136
- ], WebhookDto.prototype, "allowedMethods", void 0);
136
+ ], WebhookDTO.prototype, "allowedMethods", void 0);
137
137
  __decorate([
138
138
  ApiProperty({ description: 'Outbound authentication type', enum: WebhookAuthType })
139
- ], WebhookDto.prototype, "outboundAuthType", void 0);
139
+ ], WebhookDTO.prototype, "outboundAuthType", void 0);
140
140
  __decorate([
141
141
  ApiProperty({ description: 'Whether outbound credentials are configured' })
142
- ], WebhookDto.prototype, "hasOutboundCredentials", void 0);
142
+ ], WebhookDTO.prototype, "hasOutboundCredentials", void 0);
143
143
  __decorate([
144
144
  ApiProperty({ description: 'Allowed inbound sources', enum: WebhookSource, isArray: true })
145
- ], WebhookDto.prototype, "inboundAllowedSources", void 0);
145
+ ], WebhookDTO.prototype, "inboundAllowedSources", void 0);
146
146
  __decorate([
147
147
  ApiProperty({ description: 'Whether inbound secret is configured' })
148
- ], WebhookDto.prototype, "hasInboundSecret", void 0);
148
+ ], WebhookDTO.prototype, "hasInboundSecret", void 0);
149
149
  __decorate([
150
150
  ApiProperty({ description: 'Request timeout in milliseconds' })
151
- ], WebhookDto.prototype, "timeoutMs", void 0);
151
+ ], WebhookDTO.prototype, "timeoutMs", void 0);
152
152
  __decorate([
153
153
  ApiProperty({ description: 'Creation timestamp' })
154
- ], WebhookDto.prototype, "createdAt", void 0);
154
+ ], WebhookDTO.prototype, "createdAt", void 0);
155
155
  __decorate([
156
156
  ApiProperty({ description: 'Last update timestamp' })
157
- ], WebhookDto.prototype, "updatedAt", void 0);
157
+ ], WebhookDTO.prototype, "updatedAt", void 0);
158
158
  /**
159
159
  * DTO for webhook execution history
160
160
  */
161
- export class WebhookExecutionDto {
161
+ export class WebhookExecutionDTO {
162
162
  id;
163
163
  webhookId;
164
164
  method;
@@ -177,50 +177,50 @@ export class WebhookExecutionDto {
177
177
  }
178
178
  __decorate([
179
179
  ApiProperty({ description: 'Execution ID' })
180
- ], WebhookExecutionDto.prototype, "id", void 0);
180
+ ], WebhookExecutionDTO.prototype, "id", void 0);
181
181
  __decorate([
182
182
  ApiProperty({ description: 'Webhook ID' })
183
- ], WebhookExecutionDto.prototype, "webhookId", void 0);
183
+ ], WebhookExecutionDTO.prototype, "webhookId", void 0);
184
184
  __decorate([
185
185
  ApiProperty({ description: 'HTTP method', example: 'POST' })
186
- ], WebhookExecutionDto.prototype, "method", void 0);
186
+ ], WebhookExecutionDTO.prototype, "method", void 0);
187
187
  __decorate([
188
188
  ApiProperty({ description: 'Target URL at time of execution' })
189
- ], WebhookExecutionDto.prototype, "targetUrl", void 0);
189
+ ], WebhookExecutionDTO.prototype, "targetUrl", void 0);
190
190
  __decorate([
191
191
  ApiProperty({ description: 'Execution status', enum: WebhookExecutionStatus })
192
- ], WebhookExecutionDto.prototype, "status", void 0);
192
+ ], WebhookExecutionDTO.prototype, "status", void 0);
193
193
  __decorate([
194
194
  ApiPropertyOptional({ description: 'HTTP response status code' })
195
- ], WebhookExecutionDto.prototype, "responseStatusCode", void 0);
195
+ ], WebhookExecutionDTO.prototype, "responseStatusCode", void 0);
196
196
  __decorate([
197
197
  ApiPropertyOptional({ description: 'Duration in milliseconds' })
198
- ], WebhookExecutionDto.prototype, "durationMs", void 0);
198
+ ], WebhookExecutionDTO.prototype, "durationMs", void 0);
199
199
  __decorate([
200
200
  ApiProperty({ description: 'Source IP of the request' })
201
- ], WebhookExecutionDto.prototype, "sourceIp", void 0);
201
+ ], WebhookExecutionDTO.prototype, "sourceIp", void 0);
202
202
  __decorate([
203
203
  ApiPropertyOptional({ description: 'Error or status message' })
204
- ], WebhookExecutionDto.prototype, "message", void 0);
204
+ ], WebhookExecutionDTO.prototype, "message", void 0);
205
205
  __decorate([
206
206
  ApiProperty({ description: 'When execution started' })
207
- ], WebhookExecutionDto.prototype, "startedAt", void 0);
207
+ ], WebhookExecutionDTO.prototype, "startedAt", void 0);
208
208
  __decorate([
209
209
  ApiPropertyOptional({ description: 'When execution completed' })
210
- ], WebhookExecutionDto.prototype, "completedAt", void 0);
210
+ ], WebhookExecutionDTO.prototype, "completedAt", void 0);
211
211
  __decorate([
212
212
  ApiPropertyOptional({ description: 'Callback status from external workflow', enum: WebhookCallbackStatus, default: WebhookCallbackStatus.NONE })
213
- ], WebhookExecutionDto.prototype, "callbackStatus", void 0);
213
+ ], WebhookExecutionDTO.prototype, "callbackStatus", void 0);
214
214
  __decorate([
215
215
  ApiPropertyOptional({ description: 'Callback result data from external workflow' })
216
- ], WebhookExecutionDto.prototype, "callbackResult", void 0);
216
+ ], WebhookExecutionDTO.prototype, "callbackResult", void 0);
217
217
  __decorate([
218
218
  ApiPropertyOptional({ description: 'When callback was received' })
219
- ], WebhookExecutionDto.prototype, "callbackReceivedAt", void 0);
219
+ ], WebhookExecutionDTO.prototype, "callbackReceivedAt", void 0);
220
220
  /**
221
221
  * DTO for webhook callback requests from external systems (e.g., n8n workflow completion)
222
222
  */
223
- export class WebhookCallbackDto {
223
+ export class WebhookCallbackDTO {
224
224
  status;
225
225
  result;
226
226
  error;
@@ -232,15 +232,15 @@ __decorate([
232
232
  example: WebhookCallbackStatus.SUCCESS
233
233
  }),
234
234
  IsEnum(WebhookCallbackStatus)
235
- ], WebhookCallbackDto.prototype, "status", void 0);
235
+ ], WebhookCallbackDTO.prototype, "status", void 0);
236
236
  __decorate([
237
237
  ApiPropertyOptional({ description: 'Result data from external workflow' }),
238
238
  IsObject(),
239
239
  IsOptional()
240
- ], WebhookCallbackDto.prototype, "result", void 0);
240
+ ], WebhookCallbackDTO.prototype, "result", void 0);
241
241
  __decorate([
242
242
  ApiPropertyOptional({ description: 'Error message if workflow failed' }),
243
243
  IsString(),
244
244
  IsOptional()
245
- ], WebhookCallbackDto.prototype, "error", void 0);
245
+ ], WebhookCallbackDTO.prototype, "error", void 0);
246
246
  //# sourceMappingURL=webhook.dto.js.map
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Core Entity Types
3
+ *
4
+ * Single source of truth for entity type identifiers used across the system.
5
+ * Other type consts (ErrorDomains, AuditEntityTypes) extend from this base.
6
+ */
7
+ export declare const EntityTypes: {
8
+ readonly USER: "user";
9
+ readonly ADMIN: "admin";
10
+ readonly TENANT: "tenant";
11
+ readonly TOKEN: "token";
12
+ readonly TOKEN_METADATA: "token_metadata";
13
+ readonly TOKEN_TYPE: "token_type";
14
+ readonly WALLET: "wallet";
15
+ readonly BALANCE: "balance";
16
+ readonly TRANSACTION: "transaction";
17
+ readonly PURCHASE: "purchase";
18
+ readonly BUSINESS: "business";
19
+ readonly BUSINESS_TYPE: "business_type";
20
+ readonly CAMPAIGN: "campaign";
21
+ readonly CAMPAIGN_TRIGGER: "campaign_trigger";
22
+ readonly REDEMPTION: "redemption";
23
+ readonly REDEMPTION_TYPE: "redemption_type";
24
+ readonly CONTRACT: "contract";
25
+ readonly SIGNING_ACCOUNT: "signing_account";
26
+ readonly API_KEY: "api_key";
27
+ readonly WEBHOOK: "webhook";
28
+ };
29
+ /**
30
+ * Type-safe union of all entity types
31
+ */
32
+ export type EntityType = typeof EntityTypes[keyof typeof EntityTypes];
33
+ /**
34
+ * Error-specific domains (extends EntityTypes)
35
+ *
36
+ * Includes entity types plus error-specific classification domains.
37
+ */
38
+ export declare const ErrorDomains: {
39
+ readonly VALIDATION: "validation";
40
+ readonly SYSTEM: "system";
41
+ readonly AUTHENTICATION: "authentication";
42
+ readonly EXTERNAL: "external";
43
+ readonly USER: "user";
44
+ readonly ADMIN: "admin";
45
+ readonly TENANT: "tenant";
46
+ readonly TOKEN: "token";
47
+ readonly TOKEN_METADATA: "token_metadata";
48
+ readonly TOKEN_TYPE: "token_type";
49
+ readonly WALLET: "wallet";
50
+ readonly BALANCE: "balance";
51
+ readonly TRANSACTION: "transaction";
52
+ readonly PURCHASE: "purchase";
53
+ readonly BUSINESS: "business";
54
+ readonly BUSINESS_TYPE: "business_type";
55
+ readonly CAMPAIGN: "campaign";
56
+ readonly CAMPAIGN_TRIGGER: "campaign_trigger";
57
+ readonly REDEMPTION: "redemption";
58
+ readonly REDEMPTION_TYPE: "redemption_type";
59
+ readonly CONTRACT: "contract";
60
+ readonly SIGNING_ACCOUNT: "signing_account";
61
+ readonly API_KEY: "api_key";
62
+ readonly WEBHOOK: "webhook";
63
+ };
64
+ /**
65
+ * Type-safe union of all error domains
66
+ */
67
+ export type ErrorDomain = typeof ErrorDomains[keyof typeof ErrorDomains];
68
+ /**
69
+ * Auditable Entity Types (extends EntityTypes)
70
+ *
71
+ * All entities that can be audited. Currently same as EntityTypes,
72
+ * but can be extended with audit-specific entities if needed.
73
+ */
74
+ export declare const AuditEntityTypes: {
75
+ readonly USER: "user";
76
+ readonly ADMIN: "admin";
77
+ readonly TENANT: "tenant";
78
+ readonly TOKEN: "token";
79
+ readonly TOKEN_METADATA: "token_metadata";
80
+ readonly TOKEN_TYPE: "token_type";
81
+ readonly WALLET: "wallet";
82
+ readonly BALANCE: "balance";
83
+ readonly TRANSACTION: "transaction";
84
+ readonly PURCHASE: "purchase";
85
+ readonly BUSINESS: "business";
86
+ readonly BUSINESS_TYPE: "business_type";
87
+ readonly CAMPAIGN: "campaign";
88
+ readonly CAMPAIGN_TRIGGER: "campaign_trigger";
89
+ readonly REDEMPTION: "redemption";
90
+ readonly REDEMPTION_TYPE: "redemption_type";
91
+ readonly CONTRACT: "contract";
92
+ readonly SIGNING_ACCOUNT: "signing_account";
93
+ readonly API_KEY: "api_key";
94
+ readonly WEBHOOK: "webhook";
95
+ };
96
+ /**
97
+ * Type-safe union of all auditable entity types
98
+ */
99
+ export type AuditEntityType = typeof AuditEntityTypes[keyof typeof AuditEntityTypes];
100
+ //# sourceMappingURL=entity-types.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-types.enum.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/enum/entity-types.enum.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAkCd,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;CAOf,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;CAEnB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Core Entity Types
3
+ *
4
+ * Single source of truth for entity type identifiers used across the system.
5
+ * Other type consts (ErrorDomains, AuditEntityTypes) extend from this base.
6
+ */
7
+ export const EntityTypes = {
8
+ // Core entities
9
+ USER: 'user',
10
+ ADMIN: 'admin',
11
+ TENANT: 'tenant',
12
+ // Token entities
13
+ TOKEN: 'token',
14
+ TOKEN_METADATA: 'token_metadata',
15
+ TOKEN_TYPE: 'token_type',
16
+ // Financial entities
17
+ WALLET: 'wallet',
18
+ BALANCE: 'balance',
19
+ TRANSACTION: 'transaction',
20
+ PURCHASE: 'purchase',
21
+ // Business entities
22
+ BUSINESS: 'business',
23
+ BUSINESS_TYPE: 'business_type',
24
+ // Campaign entities
25
+ CAMPAIGN: 'campaign',
26
+ CAMPAIGN_TRIGGER: 'campaign_trigger',
27
+ // Redemption entities
28
+ REDEMPTION: 'redemption',
29
+ REDEMPTION_TYPE: 'redemption_type',
30
+ // Infrastructure entities
31
+ CONTRACT: 'contract',
32
+ SIGNING_ACCOUNT: 'signing_account',
33
+ API_KEY: 'api_key',
34
+ WEBHOOK: 'webhook',
35
+ };
36
+ /**
37
+ * Error-specific domains (extends EntityTypes)
38
+ *
39
+ * Includes entity types plus error-specific classification domains.
40
+ */
41
+ export const ErrorDomains = {
42
+ ...EntityTypes,
43
+ // Error-specific domains (not entities, but error classifications)
44
+ VALIDATION: 'validation',
45
+ SYSTEM: 'system',
46
+ AUTHENTICATION: 'authentication',
47
+ EXTERNAL: 'external',
48
+ };
49
+ /**
50
+ * Auditable Entity Types (extends EntityTypes)
51
+ *
52
+ * All entities that can be audited. Currently same as EntityTypes,
53
+ * but can be extended with audit-specific entities if needed.
54
+ */
55
+ export const AuditEntityTypes = {
56
+ ...EntityTypes,
57
+ };
58
+ //# sourceMappingURL=entity-types.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-types.enum.js","sourceRoot":"","sources":["../../../../src/shared-lib/enum/entity-types.enum.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,gBAAgB;IAChB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAEhB,iBAAiB;IACjB,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,UAAU,EAAE,YAAY;IAExB,qBAAqB;IACrB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;IAEpB,oBAAoB;IACpB,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,eAAe;IAE9B,oBAAoB;IACpB,QAAQ,EAAE,UAAU;IACpB,gBAAgB,EAAE,kBAAkB;IAEpC,sBAAsB;IACtB,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,iBAAiB;IAElC,0BAA0B;IAC1B,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAOX;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,GAAG,WAAW;IACd,mEAAmE;IACnE,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;CACZ,CAAC;AAOX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,WAAW;CACN,CAAC"}
@@ -26,5 +26,6 @@ export * from './ai-operation-type.enum';
26
26
  export * from './ai-trigger-process-type.enum';
27
27
  export * from './ai-analytics-metric.enum';
28
28
  export * from './webhook.enum';
29
+ export * from './entity-types.enum';
29
30
  export { ErrorCategory } from '../errors/base/error-classification-enums';
30
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc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8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC;AAE3B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAG3C,cAAc,gBAAgB,CAAC;AAG/B,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC"}
@@ -28,6 +28,8 @@ export * from './ai-trigger-process-type.enum.js';
28
28
  export * from './ai-analytics-metric.enum.js';
29
29
  // Webhook enums
30
30
  export * from './webhook.enum.js';
31
+ // Entity type system (base + domain-specific extensions)
32
+ export * from './entity-types.enum.js';
31
33
  // Error classification enum
32
34
  export { ErrorCategory } from '../errors/base/error-classification-enums.js';
33
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,w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AO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC"}
@@ -86,30 +86,6 @@ export declare const CommonErrorCodes: {
86
86
  * but with better performance through the object pattern.
87
87
  */
88
88
  export type CommonErrorCode = typeof CommonErrorCodes[keyof typeof CommonErrorCodes];
89
- /**
90
- * Domain names used in error classification
91
- *
92
- * Centralized domain strings to ensure consistency across all error classes
93
- * and prevent typos in domain names.
94
- */
95
- export declare const ErrorDomains: {
96
- readonly USER: "user";
97
- readonly TOKEN: "token";
98
- readonly WALLET: "wallet";
99
- readonly BUSINESS: "business";
100
- readonly BALANCE: "balance";
101
- readonly CONTRACT: "contract";
102
- readonly TRANSACTION: "transaction";
103
- readonly VALIDATION: "validation";
104
- readonly SYSTEM: "system";
105
- readonly CAMPAIGN: "campaign";
106
- readonly AUTHENTICATION: "authentication";
107
- readonly EXTERNAL: "external";
108
- readonly TENANT: "tenant";
109
- readonly WEBHOOK: "webhook";
110
- };
111
- /**
112
- * Type-safe union of all domain names
113
- */
114
- export type ErrorDomain = typeof ErrorDomains[keyof typeof ErrorDomains];
89
+ export { ErrorDomains } from '../enum/entity-types.enum';
90
+ export type { ErrorDomain } from '../enum/entity-types.enum';
115
91
  //# sourceMappingURL=error-codes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/errors/error-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGnB,CAAC;AAEX;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAErF;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CAef,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/errors/error-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyGnB,CAAC;AAEX;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAGrF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC"}
@@ -98,26 +98,6 @@ export const CommonErrorCodes = {
98
98
  REQUEST_TIMEOUT: 'REQUEST_TIMEOUT',
99
99
  GATEWAY_TIMEOUT: 'GATEWAY_TIMEOUT'
100
100
  };
101
- /**
102
- * Domain names used in error classification
103
- *
104
- * Centralized domain strings to ensure consistency across all error classes
105
- * and prevent typos in domain names.
106
- */
107
- export const ErrorDomains = {
108
- USER: 'user',
109
- TOKEN: 'token',
110
- WALLET: 'wallet',
111
- BUSINESS: 'business',
112
- BALANCE: 'balance',
113
- CONTRACT: 'contract',
114
- TRANSACTION: 'transaction',
115
- VALIDATION: 'validation',
116
- SYSTEM: 'system',
117
- CAMPAIGN: 'campaign',
118
- AUTHENTICATION: 'authentication',
119
- EXTERNAL: 'external',
120
- TENANT: 'tenant',
121
- WEBHOOK: 'webhook'
122
- };
101
+ // Re-export ErrorDomains from centralized entity types
102
+ export { ErrorDomains } from '../enum/entity-types.enum.js';
123
103
  //# sourceMappingURL=error-codes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../../../src/shared-lib/errors/error-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,gBAA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