@probo/n8n-nodes-probo 0.187.1 → 0.189.0
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/nodes/Probo/actions/document/publish.operation.js +1 -1
- package/dist/nodes/Probo/actions/document/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/measure/index.d.ts +3 -1
- package/dist/nodes/Probo/actions/measure/index.js +19 -1
- package/dist/nodes/Probo/actions/measure/index.js.map +1 -1
- package/dist/nodes/Probo/actions/measure/linkThirdParty.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/measure/linkThirdParty.operation.js +63 -0
- package/dist/nodes/Probo/actions/measure/linkThirdParty.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/measure/unlinkThirdParty.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/measure/unlinkThirdParty.operation.js +53 -0
- package/dist/nodes/Probo/actions/measure/unlinkThirdParty.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/create.operation.js +10 -0
- package/dist/nodes/Probo/actions/thirdParty/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/thirdParty/getAll.operation.js +17 -3
- package/dist/nodes/Probo/actions/thirdParty/getAll.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/thirdParty/index.d.ts +4 -1
- package/dist/nodes/Probo/actions/thirdParty/index.js +28 -1
- package/dist/nodes/Probo/actions/thirdParty/index.js.map +1 -1
- package/dist/nodes/Probo/actions/thirdParty/linkThirdParty.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/thirdParty/linkThirdParty.operation.js +57 -0
- package/dist/nodes/Probo/actions/thirdParty/linkThirdParty.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/listChildThirdParties.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/thirdParty/listChildThirdParties.operation.js +93 -0
- package/dist/nodes/Probo/actions/thirdParty/listChildThirdParties.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/thirdParty/unlinkThirdParty.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/thirdParty/unlinkThirdParty.operation.js +52 -0
- package/dist/nodes/Probo/actions/thirdParty/unlinkThirdParty.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/user/archiveUser.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/user/archiveUser.operation.js +53 -0
- package/dist/nodes/Probo/actions/user/archiveUser.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/user/index.d.ts +2 -1
- package/dist/nodes/Probo/actions/user/index.js +10 -1
- package/dist/nodes/Probo/actions/user/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Third Party ID',
|
|
9
|
+
name: 'thirdPartyId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['thirdParty'],
|
|
14
|
+
operation: ['listChildThirdParties'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the parent third party',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Return All',
|
|
23
|
+
name: 'returnAll',
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['thirdParty'],
|
|
28
|
+
operation: ['listChildThirdParties'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: false,
|
|
32
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Limit',
|
|
36
|
+
name: 'limit',
|
|
37
|
+
type: 'number',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
resource: ['thirdParty'],
|
|
41
|
+
operation: ['listChildThirdParties'],
|
|
42
|
+
returnAll: [false],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
typeOptions: {
|
|
46
|
+
minValue: 1,
|
|
47
|
+
},
|
|
48
|
+
default: 50,
|
|
49
|
+
description: 'Max number of results to return',
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
async function execute(itemIndex) {
|
|
53
|
+
const thirdPartyId = this.getNodeParameter('thirdPartyId', itemIndex);
|
|
54
|
+
const returnAll = this.getNodeParameter('returnAll', itemIndex);
|
|
55
|
+
const limit = this.getNodeParameter('limit', itemIndex, 50);
|
|
56
|
+
const query = `
|
|
57
|
+
query GetChildThirdParties($thirdPartyId: ID!, $first: Int, $after: CursorKey) {
|
|
58
|
+
node(id: $thirdPartyId) {
|
|
59
|
+
... on ThirdParty {
|
|
60
|
+
childThirdParties(first: $first, after: $after) {
|
|
61
|
+
edges {
|
|
62
|
+
node {
|
|
63
|
+
id
|
|
64
|
+
name
|
|
65
|
+
description
|
|
66
|
+
category
|
|
67
|
+
websiteUrl
|
|
68
|
+
legalName
|
|
69
|
+
headquarterAddress
|
|
70
|
+
createdAt
|
|
71
|
+
updatedAt
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
pageInfo {
|
|
75
|
+
hasNextPage
|
|
76
|
+
endCursor
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
const childThirdParties = await GenericFunctions_1.proboApiRequestAllItems.call(this, query, { thirdPartyId }, (response) => {
|
|
84
|
+
const data = response === null || response === void 0 ? void 0 : response.data;
|
|
85
|
+
const node = data === null || data === void 0 ? void 0 : data.node;
|
|
86
|
+
return node === null || node === void 0 ? void 0 : node.childThirdParties;
|
|
87
|
+
}, returnAll, limit);
|
|
88
|
+
return {
|
|
89
|
+
json: { childThirdParties },
|
|
90
|
+
pairedItem: { item: itemIndex },
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=listChildThirdParties.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listChildThirdParties.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/thirdParty/listChildThirdParties.operation.ts"],"names":[],"mappings":";;;AAgEA,0BAqDC;AAtGD,6DAAiE;AAEpD,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,uBAAuB,CAAC;aACpC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kCAAkC;QAC/C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,uBAAuB,CAAC;aACpC;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,uBAAuB,CAAC;gBACpC,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,SAAS,CAAW,CAAC;IAChF,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,SAAS,CAAY,CAAC;IAC3E,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,CAAW,CAAC;IAEtE,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;EA0Bb,CAAC;IAEF,MAAM,iBAAiB,GAAG,MAAM,0CAAuB,CAAC,IAAI,CAC3D,IAAI,EACJ,KAAK,EACL,EAAE,YAAY,EAAE,EAChB,CAAC,QAAQ,EAAE,EAAE;QACZ,MAAM,IAAI,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAA+B,CAAC;QACvD,MAAM,IAAI,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAA+B,CAAC;QACnD,OAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,iBAA4C,CAAC;IAC3D,CAAC,EACD,SAAS,EACT,KAAK,CACL,CAAC;IAEF,OAAO;QACN,IAAI,EAAE,EAAE,iBAAiB,EAAE;QAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Parent Third Party ID',
|
|
9
|
+
name: 'parentThirdPartyId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['thirdParty'],
|
|
14
|
+
operation: ['unlinkThirdParty'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the parent third party',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Child Third Party ID',
|
|
23
|
+
name: 'childThirdPartyId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['thirdParty'],
|
|
28
|
+
operation: ['unlinkThirdParty'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The ID of the child third party to unlink',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
async function execute(itemIndex) {
|
|
37
|
+
const parentThirdPartyId = this.getNodeParameter('parentThirdPartyId', itemIndex);
|
|
38
|
+
const childThirdPartyId = this.getNodeParameter('childThirdPartyId', itemIndex);
|
|
39
|
+
const query = `
|
|
40
|
+
mutation DeleteThirdPartyThirdPartyMapping($input: DeleteThirdPartyThirdPartyMappingInput!) {
|
|
41
|
+
deleteThirdPartyThirdPartyMapping(input: $input) {
|
|
42
|
+
removedThirdPartyId
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { parentThirdPartyId, childThirdPartyId } });
|
|
47
|
+
return {
|
|
48
|
+
json: responseData,
|
|
49
|
+
pairedItem: { item: itemIndex },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=unlinkThirdParty.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unlinkThirdParty.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/thirdParty/unlinkThirdParty.operation.ts"],"names":[],"mapp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, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Organization ID',
|
|
9
|
+
name: 'organizationId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['user'],
|
|
14
|
+
operation: ['archiveUser'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the organization',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'User ID',
|
|
23
|
+
name: 'userId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['user'],
|
|
28
|
+
operation: ['archiveUser'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The ID of the user (profile) to archive in the organization',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
async function execute(itemIndex) {
|
|
37
|
+
const organizationId = this.getNodeParameter('organizationId', itemIndex);
|
|
38
|
+
const userId = this.getNodeParameter('userId', itemIndex);
|
|
39
|
+
const query = `
|
|
40
|
+
mutation ArchiveUser($input: ArchiveUserInput!) {
|
|
41
|
+
archiveUser(input: $input) {
|
|
42
|
+
archivedProfileId
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
const input = { organizationId, profileId: userId };
|
|
47
|
+
const responseData = await GenericFunctions_1.proboConnectApiRequest.call(this, query, { input });
|
|
48
|
+
return {
|
|
49
|
+
json: responseData,
|
|
50
|
+
pairedItem: { item: itemIndex },
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=archiveUser.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archiveUser.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/user/archiveUser.operation.ts"],"names":[],"mappings":";;;AAgDA,0BAsBC;AAvDD,6DAAgE;AAEnD,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6DAA6D;QAC1E,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,SAAS,CAAW,CAAC;IACpF,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAW,CAAC;IAEpE,MAAM,KAAK,GAAG;;;;;;EAMb,CAAC;IAEF,MAAM,KAAK,GAAG,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpD,MAAM,YAAY,GAAG,MAAM,yCAAsB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/E,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
|
+
import * as archiveUserOp from './archiveUser.operation';
|
|
2
3
|
import * as listUsersOp from './listUsers.operation';
|
|
3
4
|
import * as getUserOp from './getUser.operation';
|
|
4
5
|
import * as createUserOp from './createUser.operation';
|
|
@@ -7,4 +8,4 @@ import * as updateUserOp from './updateUser.operation';
|
|
|
7
8
|
import * as updateMembershipOp from './updateMembership.operation';
|
|
8
9
|
import * as removeUserOp from './removeUser.operation';
|
|
9
10
|
export declare const description: INodeProperties[];
|
|
10
|
-
export { listUsersOp as listUsers, getUserOp as getUser, createUserOp as createUser, inviteUserOp as inviteUser, updateUserOp as updateUser, updateMembershipOp as updateMembership, removeUserOp as removeUser, };
|
|
11
|
+
export { archiveUserOp as archiveUser, listUsersOp as listUsers, getUserOp as getUser, createUserOp as createUser, inviteUserOp as inviteUser, updateUserOp as updateUser, updateMembershipOp as updateMembership, removeUserOp as removeUser, };
|
|
@@ -33,7 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.removeUser = exports.updateMembership = exports.updateUser = exports.inviteUser = exports.createUser = exports.getUser = exports.listUsers = exports.description = void 0;
|
|
36
|
+
exports.removeUser = exports.updateMembership = exports.updateUser = exports.inviteUser = exports.createUser = exports.getUser = exports.listUsers = exports.archiveUser = exports.description = void 0;
|
|
37
|
+
const archiveUserOp = __importStar(require("./archiveUser.operation"));
|
|
38
|
+
exports.archiveUser = archiveUserOp;
|
|
37
39
|
const listUsersOp = __importStar(require("./listUsers.operation"));
|
|
38
40
|
exports.listUsers = listUsersOp;
|
|
39
41
|
const getUserOp = __importStar(require("./getUser.operation"));
|
|
@@ -60,6 +62,12 @@ exports.description = [
|
|
|
60
62
|
},
|
|
61
63
|
},
|
|
62
64
|
options: [
|
|
65
|
+
{
|
|
66
|
+
name: 'Archive',
|
|
67
|
+
value: 'archiveUser',
|
|
68
|
+
description: 'Archive a user in the organization',
|
|
69
|
+
action: 'Archive a user',
|
|
70
|
+
},
|
|
63
71
|
{
|
|
64
72
|
name: 'Create',
|
|
65
73
|
value: 'createUser',
|
|
@@ -105,6 +113,7 @@ exports.description = [
|
|
|
105
113
|
],
|
|
106
114
|
default: 'listUsers',
|
|
107
115
|
},
|
|
116
|
+
...archiveUserOp.description,
|
|
108
117
|
...listUsersOp.description,
|
|
109
118
|
...getUserOp.description,
|
|
110
119
|
...createUserOp.description,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,mEAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,uEAAyD;AAmFvC,oCAAW;AAlF7B,mEAAqD;AAmFrC,gCAAS;AAlFzB,+DAAiD;AAmFnC,4BAAO;AAlFrB,qEAAuD;AAmFtC,kCAAU;AAlF3B,qEAAuD;AAmFtC,kCAAU;AAlF3B,qEAAuD;AAmFtC,kCAAU;AAlF3B,iFAAmE;AAmF5C,8CAAgB;AAlFvC,qEAAuD;AAmFtC,kCAAU;AAjFd,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAA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