@venturialstd/workflow 0.1.51 → 0.1.53
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/modules/kira/auth/index.d.ts +2 -0
- package/dist/modules/kira/auth/index.d.ts.map +1 -0
- package/dist/modules/kira/auth/index.js +18 -0
- package/dist/modules/kira/auth/index.js.map +1 -0
- package/dist/modules/kira/auth/kira-auth.service.d.ts +8 -0
- package/dist/modules/kira/auth/kira-auth.service.d.ts.map +1 -0
- package/dist/modules/kira/auth/kira-auth.service.js +94 -0
- package/dist/modules/kira/auth/kira-auth.service.js.map +1 -0
- package/dist/modules/kira/kira-nest.module.d.ts.map +1 -1
- package/dist/modules/kira/kira-nest.module.js +3 -2
- package/dist/modules/kira/kira-nest.module.js.map +1 -1
- package/dist/modules/kira/kira.module.d.ts.map +1 -1
- package/dist/modules/kira/kira.module.js +2 -0
- package/dist/modules/kira/kira.module.js.map +1 -1
- package/dist/modules/kira/services/create-payment-link.service.d.ts.map +1 -1
- package/dist/modules/kira/services/create-payment-link.service.js +1 -7
- package/dist/modules/kira/services/create-payment-link.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/kira/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./kira-auth.service"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/kira/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { KiraApiService } from '@venturialstd/kira';
|
|
2
|
+
import { CredentialAuthResult, IWorkflowCredentialAuthService } from '../../types';
|
|
3
|
+
export declare class KiraAuthService implements IWorkflowCredentialAuthService {
|
|
4
|
+
private readonly kiraApiService;
|
|
5
|
+
constructor(kiraApiService: KiraApiService);
|
|
6
|
+
authenticate(credentials: Record<string, unknown>): Promise<CredentialAuthResult>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=kira-auth.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kira-auth.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/kira/auth/kira-auth.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAc,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAEnF,qBACa,eAAgB,YAAW,8BAA8B;IACxD,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAAd,cAAc,EAAE,cAAc;IAErD,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;CAyExF"}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.KiraAuthService = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const kira_1 = require("@venturialstd/kira");
|
|
15
|
+
let KiraAuthService = class KiraAuthService {
|
|
16
|
+
kiraApiService;
|
|
17
|
+
constructor(kiraApiService) {
|
|
18
|
+
this.kiraApiService = kiraApiService;
|
|
19
|
+
}
|
|
20
|
+
async authenticate(credentials) {
|
|
21
|
+
try {
|
|
22
|
+
const apiKey = credentials.apiKey;
|
|
23
|
+
const clientId = credentials.clientId;
|
|
24
|
+
const password = credentials.password;
|
|
25
|
+
const baseUrl = credentials.baseUrl;
|
|
26
|
+
if (!apiKey || apiKey.trim().length === 0) {
|
|
27
|
+
return {
|
|
28
|
+
success: false,
|
|
29
|
+
message: 'API Key is required',
|
|
30
|
+
error: 'MISSING_API_KEY',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
if (!clientId || clientId.trim().length === 0) {
|
|
34
|
+
return {
|
|
35
|
+
success: false,
|
|
36
|
+
message: 'Client ID is required',
|
|
37
|
+
error: 'MISSING_CLIENT_ID',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
if (!password || password.trim().length === 0) {
|
|
41
|
+
return {
|
|
42
|
+
success: false,
|
|
43
|
+
message: 'Password is required',
|
|
44
|
+
error: 'MISSING_PASSWORD',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const config = {
|
|
48
|
+
auth: {
|
|
49
|
+
apiKey,
|
|
50
|
+
clientId,
|
|
51
|
+
password,
|
|
52
|
+
},
|
|
53
|
+
baseUrl,
|
|
54
|
+
};
|
|
55
|
+
try {
|
|
56
|
+
const token = await this.kiraApiService.authenticate(config);
|
|
57
|
+
if (token && token.length > 0) {
|
|
58
|
+
return {
|
|
59
|
+
success: true,
|
|
60
|
+
message: 'Credentials validated successfully',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return {
|
|
65
|
+
success: false,
|
|
66
|
+
message: 'Authentication failed: No token received',
|
|
67
|
+
error: 'AUTH_FAILED',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch (error) {
|
|
72
|
+
const errorMessage = error instanceof Error ? error.message : 'Unknown error';
|
|
73
|
+
return {
|
|
74
|
+
success: false,
|
|
75
|
+
message: `Authentication failed: ${errorMessage}`,
|
|
76
|
+
error: 'AUTH_ERROR',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
return {
|
|
82
|
+
success: false,
|
|
83
|
+
message: error instanceof Error ? error.message : 'Unknown error occurred',
|
|
84
|
+
error: 'AUTH_ERROR',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
exports.KiraAuthService = KiraAuthService;
|
|
90
|
+
exports.KiraAuthService = KiraAuthService = __decorate([
|
|
91
|
+
(0, common_1.Injectable)(),
|
|
92
|
+
__metadata("design:paramtypes", [kira_1.KiraApiService])
|
|
93
|
+
], KiraAuthService);
|
|
94
|
+
//# sourceMappingURL=kira-auth.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kira-auth.service.js","sourceRoot":"","sources":["../../../../src/modules/kira/auth/kira-auth.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAAgE;AAKzD,IAAM,eAAe,GAArB,MAAM,eAAe;IACG;IAA7B,YAA6B,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IAAG,CAAC;IAE/D,KAAK,CAAC,YAAY,CAAC,WAAoC;QACrD,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,WAAW,CAAC,MAAgB,CAAC;YAC5C,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAkB,CAAC;YAChD,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAkB,CAAC;YAChD,MAAM,OAAO,GAAG,WAAW,CAAC,OAA6B,CAAC;YAE1D,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1C,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,qBAAqB;oBAC9B,KAAK,EAAE,iBAAiB;iBACzB,CAAC;YACJ,CAAC;YAED,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC9C,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,uBAAuB;oBAChC,KAAK,EAAE,mBAAmB;iBAC3B,CAAC;YACJ,CAAC;YAED,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC9C,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,OAAO,EAAE,sBAAsB;oBAC/B,KAAK,EAAE,kBAAkB;iBAC1B,CAAC;YACJ,CA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],"mappings":"
|
|
1
|
+
{"version":3,"file":"kira-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kira/kira-nest.module.ts"],"names":[],"mappings":"AAMA,qBAKa,cAAc;CAAG"}
|
|
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.KiraNestModule = void 0;
|
|
10
10
|
const common_1 = require("@nestjs/common");
|
|
11
11
|
const kira_1 = require("@venturialstd/kira");
|
|
12
|
+
const auth_1 = require("./auth");
|
|
12
13
|
const services_1 = require("./services");
|
|
13
14
|
let KiraNestModule = class KiraNestModule {
|
|
14
15
|
};
|
|
@@ -16,8 +17,8 @@ exports.KiraNestModule = KiraNestModule;
|
|
|
16
17
|
exports.KiraNestModule = KiraNestModule = __decorate([
|
|
17
18
|
(0, common_1.Module)({
|
|
18
19
|
imports: [kira_1.KiraModule],
|
|
19
|
-
providers: [services_1.CreatePaymentLinkService],
|
|
20
|
-
exports: [services_1.CreatePaymentLinkService],
|
|
20
|
+
providers: [services_1.CreatePaymentLinkService, auth_1.KiraAuthService],
|
|
21
|
+
exports: [services_1.CreatePaymentLinkService, auth_1.KiraAuthService],
|
|
21
22
|
})
|
|
22
23
|
], KiraNestModule);
|
|
23
24
|
//# sourceMappingURL=kira-nest.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kira-nest.module.js","sourceRoot":"","sources":["../../../src/modules/kira/kira-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,yCAAsD;AAO/C,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAL1B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,iBAAU,CAAC;QACrB,SAAS,EAAE,CAAC,mCAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"kira-nest.module.js","sourceRoot":"","sources":["../../../src/modules/kira/kira-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAEhD,iCAAyC;AACzC,yCAAsD;AAO/C,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAL1B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,iBAAU,CAAC;QACrB,SAAS,EAAE,CAAC,mCAAwB,EAAE,sBAAe,CAAC;QACtD,OAAO,EAAE,CAAC,mCAAwB,EAAE,sBAAe,CAAC;KACrD,CAAC;GACW,cAAc,CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kira.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kira/kira.module.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"kira.module.d.ts","sourceRoot":"","sources":["../../../src/modules/kira/kira.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAKpF,eAAO,MAAM,UAAU,EAAE,wBAUxB,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.kiraModule = void 0;
|
|
4
4
|
const actions_1 = require("./actions");
|
|
5
|
+
const kira_auth_service_1 = require("./auth/kira-auth.service");
|
|
5
6
|
const credentials_1 = require("./credentials");
|
|
6
7
|
exports.kiraModule = {
|
|
7
8
|
key: 'kira',
|
|
@@ -10,6 +11,7 @@ exports.kiraModule = {
|
|
|
10
11
|
icon: '💳',
|
|
11
12
|
version: '1.0.0',
|
|
12
13
|
credentialFields: credentials_1.kiraCredentials,
|
|
14
|
+
authServiceClass: kira_auth_service_1.KiraAuthService,
|
|
13
15
|
actions: [actions_1.createPaymentLinkAction],
|
|
14
16
|
triggers: [],
|
|
15
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kira.module.js","sourceRoot":"","sources":["../../../src/modules/kira/kira.module.ts"],"names":[],"mappings":";;;AACA,uCAAoD;AACpD,+CAAgD;AAEnC,QAAA,UAAU,GAA6B;IAClD,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,uDAAuD;IACpE,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,6BAAe;IACjC,OAAO,EAAE,CAAC,iCAAuB,CAAC;IAClC,QAAQ,EAAE,EAAE;CACb,CAAC"}
|
|
1
|
+
{"version":3,"file":"kira.module.js","sourceRoot":"","sources":["../../../src/modules/kira/kira.module.ts"],"names":[],"mappings":";;;AACA,uCAAoD;AACpD,gEAA2D;AAC3D,+CAAgD;AAEnC,QAAA,UAAU,GAA6B;IAClD,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,uDAAuD;IACpE,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,6BAAe;IACjC,gBAAgB,EAAE,mCAA6E;IAC/F,OAAO,EAAE,CAAC,iCAAuB,CAAC;IAClC,QAAQ,EAAE,EAAE;CACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-payment-link.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/kira/services/create-payment-link.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,wBAAyB,YAAW,sBAAsB;IACzD,OAAO,CAAC,QAAQ,CAAC,sBAAsB;gBAAtB,sBAAsB,EAAE,sBAAsB;IAErE,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"create-payment-link.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/kira/services/create-payment-link.service.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,wBAAyB,YAAW,sBAAsB;IACzD,OAAO,CAAC,QAAQ,CAAC,sBAAsB;gBAAtB,sBAAsB,EAAE,sBAAsB;IAErE,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAyDpC"}
|
|
@@ -48,14 +48,8 @@ let CreatePaymentLinkService = class CreatePaymentLinkService {
|
|
|
48
48
|
max_amount: Number(inputs.maxAmount),
|
|
49
49
|
recipient_type: inputs.recipientType,
|
|
50
50
|
acct_type: inputs.acctType,
|
|
51
|
-
acct_info: inputs.acctInfo,
|
|
51
|
+
acct_info: JSON.parse(inputs.acctInfo),
|
|
52
52
|
};
|
|
53
|
-
if (!request.first_name || !request.last_name || !request.country_code || !request.phone ||
|
|
54
|
-
!request.email || !request.address || !request.reference || !request.amount ||
|
|
55
|
-
!request.payin || request.fixed_amount === undefined || !request.max_amount ||
|
|
56
|
-
!request.recipient_type || !request.acct_type || !request.acct_info) {
|
|
57
|
-
throw new Error('Missing required fields for payment link creation');
|
|
58
|
-
}
|
|
59
53
|
const paymentLink = await this.kiraPaymentLinkService.createPaymentLink(config, request, context.executionId);
|
|
60
54
|
return {
|
|
61
55
|
id: paymentLink.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-payment-link.service.js","sourceRoot":"","sources":["../../../../src/modules/kira/services/create-payment-link.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAI4B;AAKrB,I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SAAS,EAAE,MAAM,CAAC,QAAgD;YAClE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"create-payment-link.service.js","sourceRoot":"","sources":["../../../../src/modules/kira/services/create-payment-link.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAI4B;AAKrB,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACN;IAA7B,YAA6B,sBAA8C;QAA9C,2BAAsB,GAAtB,sBAAsB,CAAwB;IAAG,CAAC;IAE/E,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,OAA8B;QAG9B,MAAM,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,MAAgB,CAAC;QACrD,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,EAAE,QAAkB,CAAC;QACzD,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,EAAE,QAAkB,CAAC;QACzD,MAAM,OAAO,GAAG,OAAO,CAAC,WAAW,EAAE,OAA6B,CAAC;QAEnE,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;QACpF,CAAC;QAGD,MAAM,MAAM,GAAe;YACzB,IAAI,EAAE;gBACJ,MAAM;gBACN,QAAQ;gBACR,QAAQ;aACT;YACD,OAAO;SACR,CAAC;QAGF,MAAM,OAAO,GAAiC;YAC5C,UAAU,EAAE,MAAM,CAAC,SAAmB;YACtC,WAAW,EAAE,MAAM,CAAC,UAAgC;YACpD,SAAS,EAAE,MAAM,CAAC,QAAkB;YACpC,YAAY,EAAE,MAAM,CAAC,WAAwC;YAC7D,KAAK,EAAE,MAAM,CAAC,KAAe;YAC7B,KAAK,EAAE,MAAM,CAAC,KAAe;YAC7B,OAAO,EAAE,MAAM,CAAC,OAAiB;YACjC,SAAS,EAAE,MAAM,CAAC,SAAmB;YACrC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MA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