@venturialstd/workflow 0.1.125 → 0.1.126

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.
@@ -6,6 +6,7 @@ export * from './get-kyc-document.action';
6
6
  export * from './get-kyc-documents-by-profile.action';
7
7
  export * from './get-kyc-profile.action';
8
8
  export * from './update-kyc-document.action';
9
+ export * from './update-kyc-document-by-provider.action';
9
10
  export * from './update-kyc-profile.action';
10
11
  export * from './update-kyc-status.action';
11
12
  export * from './update-kyc-verification-by-provider.action';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/kyc/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8CAA8C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/kyc/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8CAA8C,CAAC"}
@@ -22,6 +22,7 @@ __exportStar(require("./get-kyc-document.action"), exports);
22
22
  __exportStar(require("./get-kyc-documents-by-profile.action"), exports);
23
23
  __exportStar(require("./get-kyc-profile.action"), exports);
24
24
  __exportStar(require("./update-kyc-document.action"), exports);
25
+ __exportStar(require("./update-kyc-document-by-provider.action"), exports);
25
26
  __exportStar(require("./update-kyc-profile.action"), exports);
26
27
  __exportStar(require("./update-kyc-status.action"), exports);
27
28
  __exportStar(require("./update-kyc-verification-by-provider.action"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/kyc/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD;AACtD,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,4DAA0C;AAC1C,wEAAsD;AACtD,2DAAyC;AACzC,+DAA6C;AAC7C,8DAA4C;AAC5C,6DAA2C;AAC3C,+EAA6D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/kyc/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD;AACtD,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,4DAA0C;AAC1C,wEAAsD;AACtD,2DAAyC;AACzC,+DAA6C;AAC7C,2EAAyD;AACzD,8DAA4C;AAC5C,6DAA2C;AAC3C,+EAA6D"}
@@ -0,0 +1,3 @@
1
+ import { WorkflowActionTrigger } from '../../types';
2
+ export declare const updateKYCDocumentByProviderAction: WorkflowActionTrigger;
3
+ //# sourceMappingURL=update-kyc-document-by-provider.action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-kyc-document-by-provider.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/kyc/actions/update-kyc-document-by-provider.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,iCAAiC,EAAE,qBAgR/C,CAAC"}
@@ -0,0 +1,276 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateKYCDocumentByProviderAction = void 0;
4
+ const types_1 = require("../../types");
5
+ const update_kyc_document_by_provider_service_1 = require("../services/update-kyc-document-by-provider.service");
6
+ exports.updateKYCDocumentByProviderAction = {
7
+ key: 'update-kyc-document-by-provider',
8
+ name: 'Update KYC Document by Provider',
9
+ description: 'Update a KYC document by provider name, provider verification ID, and category',
10
+ category: types_1.NODE_CATEGORY.ACTION,
11
+ icon: '✏️',
12
+ serviceClass: update_kyc_document_by_provider_service_1.UpdateKYCDocumentByProviderService,
13
+ inputs: [
14
+ {
15
+ id: 'provider',
16
+ name: 'Provider',
17
+ description: 'Name of the KYC provider (e.g., AIPRISE, JUMIO, ONFIDO)',
18
+ type: types_1.FIELD_TYPE.STRING,
19
+ validation: {
20
+ required: true,
21
+ minLength: 1,
22
+ },
23
+ placeholder: 'AIPRISE',
24
+ },
25
+ {
26
+ id: 'providerVerificationId',
27
+ name: 'Provider Verification ID',
28
+ description: 'The verification session ID from the provider',
29
+ type: types_1.FIELD_TYPE.STRING,
30
+ validation: {
31
+ required: true,
32
+ minLength: 1,
33
+ },
34
+ placeholder: 'session-123',
35
+ },
36
+ {
37
+ id: 'category',
38
+ name: 'Category',
39
+ description: 'Document category to identify the specific document',
40
+ type: types_1.FIELD_TYPE.STRING,
41
+ validation: {
42
+ required: true,
43
+ minLength: 1,
44
+ },
45
+ placeholder: 'IDENTITY',
46
+ },
47
+ {
48
+ id: 'documentType',
49
+ name: 'Document Type',
50
+ description: 'Type of document (e.g., PASSPORT, DRIVER_LICENSE, NATIONAL_ID)',
51
+ type: types_1.FIELD_TYPE.STRING,
52
+ validation: {
53
+ required: false,
54
+ },
55
+ placeholder: 'PASSPORT',
56
+ },
57
+ {
58
+ id: 'side',
59
+ name: 'Document Side',
60
+ description: 'Document side (e.g., FRONT, BACK, BOTH)',
61
+ type: types_1.FIELD_TYPE.STRING,
62
+ validation: {
63
+ required: false,
64
+ },
65
+ defaultValue: 'FRONT',
66
+ placeholder: 'FRONT',
67
+ },
68
+ {
69
+ id: 'status',
70
+ name: 'Status',
71
+ description: 'Document status (e.g., PENDING, UPLOADED, VERIFIED, REJECTED)',
72
+ type: types_1.FIELD_TYPE.STRING,
73
+ validation: {
74
+ required: false,
75
+ },
76
+ placeholder: 'PENDING',
77
+ },
78
+ {
79
+ id: 'documentNumber',
80
+ name: 'Document Number',
81
+ description: 'Extracted document number',
82
+ type: types_1.FIELD_TYPE.STRING,
83
+ validation: {
84
+ required: false,
85
+ },
86
+ },
87
+ {
88
+ id: 'issuingCountry',
89
+ name: 'Issuing Country',
90
+ description: 'Country that issued the document',
91
+ type: types_1.FIELD_TYPE.STRING,
92
+ validation: {
93
+ required: false,
94
+ },
95
+ },
96
+ {
97
+ id: 'issueDate',
98
+ name: 'Issue Date',
99
+ description: 'Date when document was issued (YYYY-MM-DD)',
100
+ type: types_1.FIELD_TYPE.DATE,
101
+ validation: {
102
+ required: false,
103
+ },
104
+ },
105
+ {
106
+ id: 'expiryDate',
107
+ name: 'Expiry Date',
108
+ description: 'Date when document expires (YYYY-MM-DD)',
109
+ type: types_1.FIELD_TYPE.DATE,
110
+ validation: {
111
+ required: false,
112
+ },
113
+ },
114
+ {
115
+ id: 'frontFileUrl',
116
+ name: 'Front File URL',
117
+ description: 'URL to the front side document file',
118
+ type: types_1.FIELD_TYPE.URL,
119
+ validation: {
120
+ required: false,
121
+ },
122
+ },
123
+ {
124
+ id: 'frontFileName',
125
+ name: 'Front File Name',
126
+ description: 'Name of the front file',
127
+ type: types_1.FIELD_TYPE.STRING,
128
+ validation: {
129
+ required: false,
130
+ },
131
+ },
132
+ {
133
+ id: 'frontFileType',
134
+ name: 'Front File Type',
135
+ description: 'MIME type of the front file',
136
+ type: types_1.FIELD_TYPE.STRING,
137
+ validation: {
138
+ required: false,
139
+ },
140
+ },
141
+ {
142
+ id: 'frontFileSize',
143
+ name: 'Front File Size',
144
+ description: 'Size of the front file in bytes',
145
+ type: types_1.FIELD_TYPE.NUMBER,
146
+ validation: {
147
+ required: false,
148
+ },
149
+ },
150
+ {
151
+ id: 'backFileUrl',
152
+ name: 'Back File URL',
153
+ description: 'URL to the back side document file',
154
+ type: types_1.FIELD_TYPE.URL,
155
+ validation: {
156
+ required: false,
157
+ },
158
+ },
159
+ {
160
+ id: 'backFileName',
161
+ name: 'Back File Name',
162
+ description: 'Name of the back file',
163
+ type: types_1.FIELD_TYPE.STRING,
164
+ validation: {
165
+ required: false,
166
+ },
167
+ },
168
+ {
169
+ id: 'backFileType',
170
+ name: 'Back File Type',
171
+ description: 'MIME type of the back file',
172
+ type: types_1.FIELD_TYPE.STRING,
173
+ validation: {
174
+ required: false,
175
+ },
176
+ },
177
+ {
178
+ id: 'backFileSize',
179
+ name: 'Back File Size',
180
+ description: 'Size of the back file in bytes',
181
+ type: types_1.FIELD_TYPE.NUMBER,
182
+ validation: {
183
+ required: false,
184
+ },
185
+ },
186
+ {
187
+ id: 'verificationNotes',
188
+ name: 'Verification Notes',
189
+ description: 'Notes about the verification',
190
+ type: types_1.FIELD_TYPE.STRING,
191
+ validation: {
192
+ required: false,
193
+ },
194
+ },
195
+ {
196
+ id: 'rejectionReason',
197
+ name: 'Rejection Reason',
198
+ description: 'Reason for rejection if rejected',
199
+ type: types_1.FIELD_TYPE.STRING,
200
+ validation: {
201
+ required: false,
202
+ },
203
+ },
204
+ {
205
+ id: 'extractedData',
206
+ name: 'Extracted Data',
207
+ description: 'OCR/extracted data as JSON object',
208
+ type: types_1.FIELD_TYPE.JSON,
209
+ validation: {
210
+ required: false,
211
+ },
212
+ placeholder: '{"key": "value"}',
213
+ },
214
+ {
215
+ id: 'metadata',
216
+ name: 'Metadata',
217
+ description: 'Additional metadata as JSON object',
218
+ type: types_1.FIELD_TYPE.JSON,
219
+ validation: {
220
+ required: false,
221
+ },
222
+ placeholder: '{"key": "value"}',
223
+ },
224
+ ],
225
+ outputs: [
226
+ {
227
+ id: 'id',
228
+ name: 'Document ID',
229
+ description: 'The unique identifier of the updated document',
230
+ type: types_1.FIELD_TYPE.STRING,
231
+ },
232
+ {
233
+ id: 'kycProfileId',
234
+ name: 'KYC Profile ID',
235
+ description: 'The KYC profile ID',
236
+ type: types_1.FIELD_TYPE.STRING,
237
+ },
238
+ {
239
+ id: 'documentType',
240
+ name: 'Document Type',
241
+ description: 'The document type',
242
+ type: types_1.FIELD_TYPE.STRING,
243
+ },
244
+ {
245
+ id: 'category',
246
+ name: 'Category',
247
+ description: 'The document category',
248
+ type: types_1.FIELD_TYPE.STRING,
249
+ },
250
+ {
251
+ id: 'status',
252
+ name: 'Status',
253
+ description: 'The document status',
254
+ type: types_1.FIELD_TYPE.STRING,
255
+ },
256
+ {
257
+ id: 'frontFileUrl',
258
+ name: 'Front File URL',
259
+ description: 'URL to the front side document file',
260
+ type: types_1.FIELD_TYPE.URL,
261
+ },
262
+ {
263
+ id: 'backFileUrl',
264
+ name: 'Back File URL',
265
+ description: 'URL to the back side document file',
266
+ type: types_1.FIELD_TYPE.URL,
267
+ },
268
+ {
269
+ id: 'updatedAt',
270
+ name: 'Updated At',
271
+ description: 'Timestamp when the document was updated',
272
+ type: types_1.FIELD_TYPE.DATE,
273
+ },
274
+ ],
275
+ };
276
+ //# sourceMappingURL=update-kyc-document-by-provider.action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-kyc-document-by-provider.action.js","sourceRoot":"","sources":["../../../../src/modules/kyc/actions/update-kyc-document-by-provider.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,iHAAyG;AAE5F,QAAA,iCAAiC,GAA0B;IACtE,GAAG,EAAE,iCAAiC;IACtC,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,gFAAgF;IAClF,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,4EAEa;IAC3B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,kBAAU,CAA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,IAAI,EAAE,kBAAU,CAAC,IAAI;SACtB;KACF;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"kyc-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kyc/kyc-nest.module.ts"],"names":[],"mappings":"AAmBA,qBAkCa,aAAa;CAAG"}
1
+ {"version":3,"file":"kyc-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kyc/kyc-nest.module.ts"],"names":[],"mappings":"AAoBA,qBAoCa,aAAa;CAAG"}
@@ -32,6 +32,7 @@ exports.KYCNestModule = KYCNestModule = __decorate([
32
32
  services_1.GetKYCDocumentService,
33
33
  services_1.GetKYCDocumentsByProfileService,
34
34
  services_1.UpdateKYCDocumentService,
35
+ services_1.UpdateKYCDocumentByProviderService,
35
36
  services_1.UpdateKYCVerificationByProviderService,
36
37
  auth_1.KYCAuthService,
37
38
  ],
@@ -46,6 +47,7 @@ exports.KYCNestModule = KYCNestModule = __decorate([
46
47
  services_1.GetKYCDocumentService,
47
48
  services_1.GetKYCDocumentsByProfileService,
48
49
  services_1.UpdateKYCDocumentService,
50
+ services_1.UpdateKYCDocumentByProviderService,
49
51
  services_1.UpdateKYCVerificationByProviderService,
50
52
  auth_1.KYCAuthService,
51
53
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"kyc-nest.module.js","sourceRoot":"","sources":["../../../src/modules/kyc/kyc-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,2CAAwF;AAExF,iCAAwC;AACxC,yCAYoB;AAoCb,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,sCAAa;wBAAb,aAAa;IAlCzB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,eAAS,CAAC,OAAO,EAAE;YACnB,uBAAa,CAAC,UAAU,CAAC,CAAC,iBAAW,EAAE,gBAAU,EAAE,qBAAe,CAAC,CAAC;SACrE;QACD,SAAS,EAAE;YACT,0CAA+B;YAC/B,kCAAuB;YACvB,+BAAoB;YACpB,kCAAuB;YACvB,iCAAsB;YACtB,gCAAqB;YACrB,mCAAwB;YACxB,gCAAqB;YACrB,0CAA+B;YAC/B,mCAAwB;YACxB,iDAAsC;YACtC,qBAAc;SACf;QACD,OAAO,EAAE;YACP,0CAA+B;YAC/B,kCAAuB;YACvB,+BAAoB;YACpB,kCAAuB;YACvB,iCAAsB;YACtB,gCAAqB;YACrB,mCAAwB;YACxB,gCAAqB;YACrB,0CAA+B;YAC/B,mCAAwB;YACxB,iDAAsC;YACtC,qBAAc;SACf;KACF,CAAC;GACW,aAAa,CAAG"}
1
+ {"version":3,"file":"kyc-nest.module.js","sourceRoot":"","sources":["../../../src/modules/kyc/kyc-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,2CAAwF;AAExF,iCAAwC;AACxC,yCAaoB;AAsCb,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,sCAAa;wBAAb,aAAa;IApCzB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,eAAS,CAAC,OAAO,EAAE;YACnB,uBAAa,CAAC,UAAU,CAAC,CAAC,iBAAW,EAAE,gBAAU,EAAE,qBAAe,CAAC,CAAC;SACrE;QACD,SAAS,EAAE;YACT,0CAA+B;YAC/B,kCAAuB;YACvB,+BAAoB;YACpB,kCAAuB;YACvB,iCAAsB;YACtB,gCAAqB;YACrB,mCAAwB;YACxB,gCAAqB;YACrB,0CAA+B;YAC/B,mCAAwB;YACxB,6CAAkC;YAClC,iDAAsC;YACtC,qBAAc;SACf;QACD,OAAO,EAAE;YACP,0CAA+B;YAC/B,kCAAuB;YACvB,+BAAoB;YACpB,kCAAuB;YACvB,iCAAsB;YACtB,gCAAqB;YACrB,mCAAwB;YACxB,gCAAqB;YACrB,0CAA+B;YAC/B,mCAAwB;YACxB,6CAAkC;YAClC,iDAAsC;YACtC,qBAAc;SACf;KACF,CAAC;GACW,aAAa,CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"kyc.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kyc/kyc.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAiBpF,eAAO,MAAM,SAAS,EAAE,wBA4BvB,CAAC"}
1
+ {"version":3,"file":"kyc.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kyc/kyc.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAkBpF,eAAO,MAAM,SAAS,EAAE,wBA6BvB,CAAC"}
@@ -23,6 +23,7 @@ exports.kycModule = {
23
23
  actions_1.getKYCDocumentAction,
24
24
  actions_1.getKYCDocumentsByProfileAction,
25
25
  actions_1.updateKYCDocumentAction,
26
+ actions_1.updateKYCDocumentByProviderAction,
26
27
  actions_1.updateKYCVerificationByProviderAction,
27
28
  ],
28
29
  triggers: [],
@@ -1 +1 @@
1
- {"version":3,"file":"kyc.module.js","sourceRoot":"","sources":["../../../src/modules/kyc/kyc.module.ts"],"names":[],"mappings":";;;AACA,uCAYmB;AACnB,8DAAyD;AACzD,+CAA+C;AAElC,QAAA,SAAS,GAA6B;IACjD,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,KAAK;IACX,WAAW,EACT,gHAAgH;IAClH,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,4BAAc;IAChC,gBAAgB,EAAE,iCAEiB;IACnC,OAAO,EAAE;QAEP,gCAAsB;QACtB,6BAAmB;QACnB,gCAAsB;QACtB,+BAAqB;QACrB,8BAAoB;QAEpB,iCAAuB;QACvB,wCAA8B;QAC9B,8BAAoB;QACpB,wCAA8B;QAC9B,iCAAuB;QAEvB,+CAAqC;KACtC;IACD,QAAQ,EAAE,EAAE;CACb,CAAC"}
1
+ {"version":3,"file":"kyc.module.js","sourceRoot":"","sources":["../../../src/modules/kyc/kyc.module.ts"],"names":[],"mappings":";;;AACA,uCAamB;AACnB,8DAAyD;AACzD,+CAA+C;AAElC,QAAA,SAAS,GAA6B;IACjD,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,KAAK;IACX,WAAW,EACT,gHAAgH;IAClH,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,4BAAc;IAChC,gBAAgB,EAAE,iCAEiB;IACnC,OAAO,EAAE;QAEP,gCAAsB;QACtB,6BAAmB;QACnB,gCAAsB;QACtB,+BAAqB;QACrB,8BAAoB;QAEpB,iCAAuB;QACvB,wCAA8B;QAC9B,8BAAoB;QACpB,wCAA8B;QAC9B,iCAAuB;QACvB,2CAAiC;QAEjC,+CAAqC;KACtC;IACD,QAAQ,EAAE,EAAE;CACb,CAAC"}
@@ -6,6 +6,7 @@ export * from './get-kyc-document.service';
6
6
  export * from './get-kyc-documents-by-profile.service';
7
7
  export * from './get-kyc-profile.service';
8
8
  export * from './update-kyc-document.service';
9
+ export * from './update-kyc-document-by-provider.service';
9
10
  export * from './update-kyc-profile.service';
10
11
  export * from './update-kyc-status.service';
11
12
  export * from './update-kyc-verification-by-provider.service';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/kyc/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/kyc/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+CAA+C,CAAC"}
@@ -22,6 +22,7 @@ __exportStar(require("./get-kyc-document.service"), exports);
22
22
  __exportStar(require("./get-kyc-documents-by-profile.service"), exports);
23
23
  __exportStar(require("./get-kyc-profile.service"), exports);
24
24
  __exportStar(require("./update-kyc-document.service"), exports);
25
+ __exportStar(require("./update-kyc-document-by-provider.service"), exports);
25
26
  __exportStar(require("./update-kyc-profile.service"), exports);
26
27
  __exportStar(require("./update-kyc-status.service"), exports);
27
28
  __exportStar(require("./update-kyc-verification-by-provider.service"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/kyc/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,6DAA2C;AAC3C,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,yEAAuD;AACvD,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,8DAA4C;AAC5C,gFAA8D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/kyc/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,6DAA2C;AAC3C,gEAA8C;AAC9C,+DAA6C;AAC7C,6DAA2C;AAC3C,yEAAuD;AACvD,4DAA0C;AAC1C,gEAA8C;AAC9C,4EAA0D;AAC1D,+DAA6C;AAC7C,8DAA4C;AAC5C,gFAA8D"}
@@ -0,0 +1,11 @@
1
+ import { KYCDocument, KYCVerification } from '@venturialstd/kyc';
2
+ import { Repository } from 'typeorm';
3
+ import { IWorkflowActionService, WorkflowActionContext } from '../../types';
4
+ export declare class UpdateKYCDocumentByProviderService implements IWorkflowActionService {
5
+ private readonly kycDocumentRepository;
6
+ private readonly kycVerificationRepository;
7
+ constructor(kycDocumentRepository: Repository<KYCDocument>, kycVerificationRepository: Repository<KYCVerification>);
8
+ private isNotEmpty;
9
+ perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
10
+ }
11
+ //# sourceMappingURL=update-kyc-document-by-provider.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-kyc-document-by-provider.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/kyc/services/update-kyc-document-by-provider.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,WAAW,EACX,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,kCAAmC,YAAW,sBAAsB;IAG7E,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAEtC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;gBAFzB,qBAAqB,EAAE,UAAU,CAAC,WAAW,CAAC,EAE9C,yBAAyB,EAAE,UAAU,CAAC,eAAe,CAAC;IAGzE,OAAO,CAAC,UAAU;IAIZ,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAmHpC"}
@@ -0,0 +1,149 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateKYCDocumentByProviderService = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const typeorm_1 = require("@nestjs/typeorm");
18
+ const kyc_1 = require("@venturialstd/kyc");
19
+ const typeorm_2 = require("typeorm");
20
+ let UpdateKYCDocumentByProviderService = class UpdateKYCDocumentByProviderService {
21
+ kycDocumentRepository;
22
+ kycVerificationRepository;
23
+ constructor(kycDocumentRepository, kycVerificationRepository) {
24
+ this.kycDocumentRepository = kycDocumentRepository;
25
+ this.kycVerificationRepository = kycVerificationRepository;
26
+ }
27
+ isNotEmpty(value) {
28
+ return value !== null && value !== undefined && value !== '';
29
+ }
30
+ async perform(inputs, _context) {
31
+ const provider = inputs.provider;
32
+ const providerVerificationId = inputs.providerVerificationId;
33
+ const category = inputs.category;
34
+ if (!provider) {
35
+ throw new Error('provider is required');
36
+ }
37
+ if (!providerVerificationId) {
38
+ throw new Error('providerVerificationId is required');
39
+ }
40
+ if (!category) {
41
+ throw new Error('category is required');
42
+ }
43
+ const verification = await this.kycVerificationRepository.findOne({
44
+ where: {
45
+ provider,
46
+ providerVerificationId,
47
+ },
48
+ });
49
+ if (!verification) {
50
+ throw new Error(`Verification not found for provider ${provider} with verification ID ${providerVerificationId}`);
51
+ }
52
+ const kycProfileId = verification.kycProfileId;
53
+ const document = await this.kycDocumentRepository.findOne({
54
+ where: {
55
+ kycProfileId,
56
+ category,
57
+ },
58
+ });
59
+ if (!document) {
60
+ throw new Error(`Document not found for profile ${kycProfileId} with category ${category}`);
61
+ }
62
+ if (this.isNotEmpty(inputs.documentType))
63
+ document.documentType = inputs.documentType;
64
+ if (this.isNotEmpty(inputs.category))
65
+ document.category = inputs.category;
66
+ if (this.isNotEmpty(inputs.side))
67
+ document.side = inputs.side;
68
+ if (this.isNotEmpty(inputs.status))
69
+ document.status = inputs.status;
70
+ if (this.isNotEmpty(inputs.documentNumber))
71
+ document.documentNumber = inputs.documentNumber;
72
+ if (this.isNotEmpty(inputs.issuingCountry))
73
+ document.issuingCountry = inputs.issuingCountry;
74
+ if (this.isNotEmpty(inputs.issueDate))
75
+ document.issueDate = inputs.issueDate;
76
+ if (this.isNotEmpty(inputs.expiryDate))
77
+ document.expiryDate = inputs.expiryDate;
78
+ if (this.isNotEmpty(inputs.frontFileUrl))
79
+ document.frontFileUrl = inputs.frontFileUrl;
80
+ if (this.isNotEmpty(inputs.frontFileName))
81
+ document.frontFileName = inputs.frontFileName;
82
+ if (this.isNotEmpty(inputs.frontFileType))
83
+ document.frontFileType = inputs.frontFileType;
84
+ if (this.isNotEmpty(inputs.frontFileSize))
85
+ document.frontFileSize = inputs.frontFileSize;
86
+ if (this.isNotEmpty(inputs.backFileUrl))
87
+ document.backFileUrl = inputs.backFileUrl;
88
+ if (this.isNotEmpty(inputs.backFileName))
89
+ document.backFileName = inputs.backFileName;
90
+ if (this.isNotEmpty(inputs.backFileType))
91
+ document.backFileType = inputs.backFileType;
92
+ if (this.isNotEmpty(inputs.backFileSize))
93
+ document.backFileSize = inputs.backFileSize;
94
+ if (this.isNotEmpty(inputs.verificationNotes))
95
+ document.verificationNotes = inputs.verificationNotes;
96
+ if (this.isNotEmpty(inputs.rejectionReason))
97
+ document.rejectionReason = inputs.rejectionReason;
98
+ if (this.isNotEmpty(inputs.extractedData)) {
99
+ document.extractedData =
100
+ typeof inputs.extractedData === 'string'
101
+ ? JSON.parse(inputs.extractedData)
102
+ : inputs.extractedData;
103
+ }
104
+ if (this.isNotEmpty(inputs.metadata)) {
105
+ const newMetadata = typeof inputs.metadata === 'string'
106
+ ? JSON.parse(inputs.metadata)
107
+ : inputs.metadata;
108
+ document.metadata = {
109
+ ...document.metadata,
110
+ ...newMetadata,
111
+ };
112
+ }
113
+ const updatedDocument = await this.kycDocumentRepository.save(document);
114
+ return {
115
+ id: updatedDocument.id,
116
+ kycProfileId: updatedDocument.kycProfileId,
117
+ documentType: updatedDocument.documentType,
118
+ category: updatedDocument.category,
119
+ side: updatedDocument.side,
120
+ status: updatedDocument.status,
121
+ documentNumber: updatedDocument.documentNumber,
122
+ issuingCountry: updatedDocument.issuingCountry,
123
+ issueDate: updatedDocument.issueDate,
124
+ expiryDate: updatedDocument.expiryDate,
125
+ frontFileUrl: updatedDocument.frontFileUrl,
126
+ frontFileName: updatedDocument.frontFileName,
127
+ frontFileType: updatedDocument.frontFileType,
128
+ frontFileSize: updatedDocument.frontFileSize,
129
+ backFileUrl: updatedDocument.backFileUrl,
130
+ backFileName: updatedDocument.backFileName,
131
+ backFileType: updatedDocument.backFileType,
132
+ backFileSize: updatedDocument.backFileSize,
133
+ verifiedAt: updatedDocument.verifiedAt?.toISOString(),
134
+ verificationNotes: updatedDocument.verificationNotes,
135
+ rejectionReason: updatedDocument.rejectionReason,
136
+ createdAt: updatedDocument.createdAt?.toISOString() || new Date().toISOString(),
137
+ updatedAt: updatedDocument.updatedAt?.toISOString() || new Date().toISOString(),
138
+ };
139
+ }
140
+ };
141
+ exports.UpdateKYCDocumentByProviderService = UpdateKYCDocumentByProviderService;
142
+ exports.UpdateKYCDocumentByProviderService = UpdateKYCDocumentByProviderService = __decorate([
143
+ (0, common_1.Injectable)(),
144
+ __param(0, (0, typeorm_1.InjectRepository)(kyc_1.KYCDocument)),
145
+ __param(1, (0, typeorm_1.InjectRepository)(kyc_1.KYCVerification)),
146
+ __metadata("design:paramtypes", [typeorm_2.Repository,
147
+ typeorm_2.Repository])
148
+ ], UpdateKYCDocumentByProviderService);
149
+ //# sourceMappingURL=update-kyc-document-by-provider.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-kyc-document-by-provider.service.js","sourceRoot":"","sources":["../../../../src/modules/kyc/services/update-kyc-document-by-provider.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAAmD;AACnD,2CAK2B;AAC3B,qCAAqC;AAK9B,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;IAG1B;IAEA;IAJnB,YAEmB,qBAA8C,EAE9C,yBAAsD;QAFtD,0BAAqB,GAArB,qBAAqB,CAAyB;QAE9C,8BAAyB,GAAzB,yBAAyB,CAA6B;IACtE,CAAC;IAEI,UAAU,CAAC,KAAc;QAC/B,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAE/B,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAkB,CAAC;QAC3C,MAAM,sBAAsB,GAAG,MAAM,CAAC,sBAAgC,CAAC;QACvE,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAkB,CAAC;QAE3C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC1C,CAAC;QACD,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;QACxD,CAAC;QACD,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC1C,CAAC;QAGD,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC;YAChE,KAAK,EAAE;gBACL,QAAQ;gBACR,sBAAsB;aACvB;SACF,CAAC,CAAC;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a,EAAE,eAAe,CAAC,aAAa;YAC5C,aAAa,EAAE,eAAe,CAAC,aAAa;YAC5C,aAAa,EAAE,eAAe,CAAC,aAAa;YAC5C,WAAW,EAAE,eAAe,CAAC,WAAW;YACxC,YAAY,EAAE,eAAe,CAAC,YAAY;YAC1C,YAAY,EAAE,eAAe,CAAC,YAAY;YAC1C,YAAY,EAAE,eAAe,CAAC,YAAY;YAC1C,UAAU,EAAE,eAAe,CAAC,UAAU,EAAE,WAAW,EAAE;YACrD,iBAAiB,EAAE,eAAe,CAAC,iBAAiB;YACpD,eAAe,EAAE,eAAe,CAAC,eAAe;YAChD,SAAS,EAAE,eAAe,CAAC,SAAS,EAAE,WAAW,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YAC/E,SAAS,EAAE,eAAe,CAAC,SAAS,EAAE,WAAW,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SAChF,CAAC;IACJ,CAAC;CACF,CAAA;AAlIY,gFAAkC;6CAAlC,kCAAkC;IAD9C,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,0BAAgB,EAAC,iBAAW,CAAC,CAAA;IAE7B,WAAA,IAAA,0BAAgB,EAAC,qBAAe,CAAC,CAAA;qCADM,oBAAU;QAEN,oBAAU;GAL7C,kCAAkC,CAkI9C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venturialstd/workflow",
3
- "version": "0.1.125",
3
+ "version": "0.1.126",
4
4
  "description": "Workflow Module for Venturial",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -82,7 +82,7 @@
82
82
  "@venturialstd/fintech": "^0.0.16",
83
83
  "@venturialstd/inbestgo": "^0.0.4",
84
84
  "@venturialstd/kira": "^0.0.1",
85
- "@venturialstd/kyc": "^0.0.5",
85
+ "@venturialstd/kyc": "^0.0.6",
86
86
  "@venturialstd/slack": "^0.1.31",
87
87
  "@venturialstd/toolbox": "^0.0.1",
88
88
  "@venturialstd/twilio": "^0.0.4",