@epilot/sdk 2.20.61 → 2.20.62
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/definitions/app.json +17 -44
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +566 -14
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +656 -2
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +6 -6
- package/dist/apis/chat.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/external-values.cjs +6 -6
- package/dist/apis/external-values.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/identity.cjs +6 -6
- package/dist/apis/identity.js +1 -1
- package/dist/apis/integration-toolkit.cjs +61 -9
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +55 -3
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/phone-integration.cjs +6 -6
- package/dist/apis/phone-integration.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/app-CKQAJ7EE.js +7 -0
- package/dist/app-ERJHXY64.cjs +7 -0
- package/dist/{app.d-DbOr4uIC.d.cts → app.d-CZELwNO3.d.cts} +51 -27
- package/dist/{app.d-DbOr4uIC.d.ts → app.d-CZELwNO3.d.ts} +51 -27
- package/dist/{chunk-6LYUL3EY.cjs → chunk-4EH2X5J6.cjs} +5 -5
- package/dist/chunk-I6IC54PD.js +14 -0
- package/dist/chunk-O2XK4VD5.js +14 -0
- package/dist/chunk-QDPZZUG3.cjs +14 -0
- package/dist/chunk-UP3ZIQHB.cjs +14 -0
- package/dist/{chunk-OEDN6Y5U.js → chunk-ZM6WXMH3.js} +5 -5
- package/dist/customer-portal-2OT5REK6.cjs +7 -0
- package/dist/customer-portal-AO2K6VW2.js +7 -0
- package/dist/{customer-portal-runtime-ZTLLE6CR.cjs → customer-portal-runtime-ATHDYPZM.cjs} +2 -2
- package/dist/{customer-portal-runtime-CNW7NSCT.js → customer-portal-runtime-XISRWE3I.js} +1 -1
- package/dist/{customer-portal.d-COI3Xe4x.d.cts → customer-portal.d-CTIzvirI.d.cts} +652 -17
- package/dist/{customer-portal.d-COI3Xe4x.d.ts → customer-portal.d-CTIzvirI.d.ts} +652 -17
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/integration-toolkit-FI32O7II.cjs +7 -0
- package/dist/integration-toolkit-MHULDW3E.js +7 -0
- package/dist/{integration-toolkit-runtime-3PM3MBEF.cjs → integration-toolkit-runtime-CPJT7YCA.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-3LKW4ORQ.js → integration-toolkit-runtime-ZEH6X2OD.js} +1 -1
- package/dist/{integration-toolkit.d-oORkWs_H.d.cts → integration-toolkit.d-l5cgwHLa.d.cts} +658 -3
- package/dist/{integration-toolkit.d-oORkWs_H.d.ts → integration-toolkit.d-l5cgwHLa.d.ts} +658 -3
- package/docs/app.md +10 -39
- package/docs/customer-portal.md +440 -73
- package/docs/integration-toolkit.md +423 -7
- package/package.json +1 -1
- package/dist/app-R2RDF74T.js +0 -7
- package/dist/app-YIP3MOGW.cjs +0 -7
- package/dist/chunk-DQ346MRA.js +0 -14
- package/dist/chunk-FBRDBE4Y.cjs +0 -14
- package/dist/chunk-MBWCGRCK.js +0 -14
- package/dist/chunk-Y7KWK5H2.cjs +0 -14
- package/dist/customer-portal-TSJKBA37.js +0 -7
- package/dist/customer-portal-WOO2QDPR.cjs +0 -7
- package/dist/integration-toolkit-AB3GZDWM.cjs +0 -7
- package/dist/integration-toolkit-L745CJ5G.js +0 -7
package/dist/apis/entity.js
CHANGED
|
@@ -6,7 +6,7 @@ var _chunkI6DG26UJcjs = require('../chunk-I6DG26UJ.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/environments.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkI6DG26UJcjs.require_environments_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "environments" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "environments" }),
|
|
32
32
|
apiName: "environments"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var environments = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.authorize =
|
|
42
|
+
exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.environments = environments; exports.getClient = getClient;
|
|
@@ -6,7 +6,7 @@ var _chunkULV6ZQQRcjs = require('../chunk-ULV6ZQQR.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/event-catalog.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkULV6ZQQRcjs.require_event_catalog_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "eventCatalog" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "eventCatalog" }),
|
|
32
32
|
apiName: "eventCatalog"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var eventCatalog = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.authorize =
|
|
42
|
+
exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.eventCatalog = eventCatalog; exports.getClient = getClient;
|
|
@@ -6,7 +6,7 @@ var _chunkNC33X2WLcjs = require('../chunk-NC33X2WL.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/external-values.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkNC33X2WLcjs.require_external_values_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "externalValues" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "externalValues" }),
|
|
32
32
|
apiName: "externalValues"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var externalValues = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.authorize =
|
|
42
|
+
exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.externalValues = externalValues; exports.getClient = getClient;
|
package/dist/apis/file.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var _chunk424JLS5Gcjs = require('../chunk-424JLS5G.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/file.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunk424JLS5Gcjs.require_file_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "file" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "file" }),
|
|
32
32
|
apiName: "file"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var file = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.authorize =
|
|
42
|
+
exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.file = file; exports.getClient = getClient;
|
package/dist/apis/file.js
CHANGED
package/dist/apis/iban.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var _chunkYO4M3BZLcjs = require('../chunk-YO4M3BZL.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/iban.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkYO4M3BZLcjs.require_iban_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "iban" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "iban" }),
|
|
32
32
|
apiName: "iban"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var iban = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.authorize =
|
|
42
|
+
exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.iban = iban;
|
package/dist/apis/iban.js
CHANGED
package/dist/apis/identity.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var _chunkRPWTWCDCcjs = require('../chunk-RPWTWCDC.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/identity.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkRPWTWCDCcjs.require_identity_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "identity" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "identity" }),
|
|
32
32
|
apiName: "identity"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var identity = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.authorize =
|
|
42
|
+
exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.identity = identity;
|
package/dist/apis/identity.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQDPZZUG3cjs = require('../chunk-QDPZZUG3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk4EH2X5J6cjs = require('../chunk-4EH2X5J6.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/models/integration-toolkit-model.ts
|
|
@@ -40,6 +40,46 @@ var MONITORING_CODES = {
|
|
|
40
40
|
level: "success",
|
|
41
41
|
description: "Conditional price variants were written for one imported entity: emitted once per chunk, with a per-outcome count and the variant ids in details"
|
|
42
42
|
},
|
|
43
|
+
CORRELATION_CLOSE_IGNORED: {
|
|
44
|
+
level: "warning",
|
|
45
|
+
description: "The partner declared a correlation complete, but the close was not applied: either the same request has to be retried, or none of its events was processed as interactive (the use case does not allow it, or the request did not ask for it). Retry with `correlation_complete`, or send the events with `interactive: true`"
|
|
46
|
+
},
|
|
47
|
+
CORRELATION_CLOSED_EMPTY: {
|
|
48
|
+
level: "info",
|
|
49
|
+
description: 'The partner declared a correlation complete without sending any event for it. That is the partner reporting "I found nothing", and anyone waiting is told so at once instead of waiting it out'
|
|
50
|
+
},
|
|
51
|
+
CORRELATION_CLOSED_INCOMPLETE: {
|
|
52
|
+
level: "warning",
|
|
53
|
+
description: "The partner declared a correlation complete and everything it sent was processed, but what the caller was waiting for was not in it \u2014 see `missing_entities` and `missing_use_cases`. Reported once per correlation"
|
|
54
|
+
},
|
|
55
|
+
CORRELATION_COMPLETED: {
|
|
56
|
+
level: "info",
|
|
57
|
+
description: "Every event the partner sent under this correlation has finished processing and the partner declared the correlation complete"
|
|
58
|
+
},
|
|
59
|
+
CORRELATION_EVENT_LIMIT_EXCEEDED: {
|
|
60
|
+
level: "warning",
|
|
61
|
+
description: "This correlation already holds as many events as one correlation may, so further events sent under it were processed normally and cannot be waited on. A correlation is meant to cover one registration or one change; this usually means the partner sends the same correlation id with every push. Each request that should be waited on needs its own id"
|
|
62
|
+
},
|
|
63
|
+
CORRELATION_ID_MISSING: {
|
|
64
|
+
level: "error",
|
|
65
|
+
description: "A request asked for something that only makes sense for a correlation, but did not say which correlation"
|
|
66
|
+
},
|
|
67
|
+
CORRELATION_LATE_EVENT: {
|
|
68
|
+
level: "warning",
|
|
69
|
+
description: "An event arrived under a correlation the partner had already declared complete. It was processed, but anyone waiting on that correlation had already been answered \u2014 the partner is sending `correlation_complete` too early"
|
|
70
|
+
},
|
|
71
|
+
CORRELATION_REQUIREMENT_FAILED: {
|
|
72
|
+
level: "error",
|
|
73
|
+
description: "Something a caller was waiting for can no longer arrive: every event that would have satisfied the requirement ended in an error"
|
|
74
|
+
},
|
|
75
|
+
CORRELATION_WAIT_REJECTED: {
|
|
76
|
+
level: "warning",
|
|
77
|
+
description: "A caller tried to wait on a correlation while too many waits were already open, so it was asked to retry. Its data is unaffected \u2014 only the answer it was waiting for is slower"
|
|
78
|
+
},
|
|
79
|
+
CORRELATION_WAIT_TIMEOUT: {
|
|
80
|
+
level: "warning",
|
|
81
|
+
description: "A caller waited on a correlation until its time ran out without getting what it asked for \u2014 see `missing_entities` and `missing_use_cases` for what had not arrived. Reported once per correlation"
|
|
82
|
+
},
|
|
43
83
|
DEPRECATED_ENDPOINT: { level: "error", description: "This endpoint version is deprecated" },
|
|
44
84
|
DIRECT_ENTITY_NOT_ALLOWED: {
|
|
45
85
|
level: "error",
|
|
@@ -115,6 +155,18 @@ var MONITORING_CODES = {
|
|
|
115
155
|
level: "error",
|
|
116
156
|
description: "The inbound event referenced an integration_id that does not exist in the calling token's organization. Check the integration id and that the token belongs to the same org."
|
|
117
157
|
},
|
|
158
|
+
INTERACTIVE_CROSS_LANE_WRITE: {
|
|
159
|
+
level: "warning",
|
|
160
|
+
description: "The same entity was updated from two different processing lanes within seconds of each other, one of them the interactive lane. Both updates were applied; this reports that they overlapped, so the order they landed in was decided by timing"
|
|
161
|
+
},
|
|
162
|
+
INTERACTIVE_NOT_ALLOWED: {
|
|
163
|
+
level: "info",
|
|
164
|
+
description: "Interactive processing was requested for a use case that is not configured for it, so the events were processed normally. Set `interactive` to `on_request` or `always` on the use case if the caller is meant to be able to wait for these events"
|
|
165
|
+
},
|
|
166
|
+
INTERACTIVE_RATE_LIMITED: {
|
|
167
|
+
level: "warning",
|
|
168
|
+
description: "The organization asked for interactive processing more often than its agreed rate, so these events were processed on its normal lane instead. Nothing was lost and the correlation can still be waited on \u2014 it will simply take as long as a bulk event does"
|
|
169
|
+
},
|
|
118
170
|
INVALID_METER_READING_ATTRIBUTES: { level: "error", description: "Meter reading has invalid attributes" },
|
|
119
171
|
LOOKUP_UNMAPPED: {
|
|
120
172
|
level: "warning",
|
|
@@ -154,7 +206,7 @@ var MONITORING_CODES = {
|
|
|
154
206
|
},
|
|
155
207
|
MSG_ENQUEUED: {
|
|
156
208
|
level: "info",
|
|
157
|
-
description: "Outbound message enqueued to the poll queue, awaiting consumption by the ERP"
|
|
209
|
+
description: "Outbound message enqueued to the poll queue, awaiting consumption by the ERP. When the use case maps the payload, the detail carries the mapped payload as delivered and its mapping_version (or payload_omitted when it exceeds 48 KiB)"
|
|
158
210
|
},
|
|
159
211
|
MSG_EXPIRED_UNPOLLED: {
|
|
160
212
|
level: "error",
|
|
@@ -245,8 +297,8 @@ function describeMonitoringCode(code) {
|
|
|
245
297
|
var _definition = null;
|
|
246
298
|
var loadDefinition = () => {
|
|
247
299
|
if (!_definition) {
|
|
248
|
-
const mod =
|
|
249
|
-
_definition =
|
|
300
|
+
const mod = _chunkQDPZZUG3cjs.require_integration_toolkit_runtime.call(void 0, );
|
|
301
|
+
_definition = _chunk4EH2X5J6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
250
302
|
}
|
|
251
303
|
return _definition;
|
|
252
304
|
};
|
|
@@ -254,13 +306,13 @@ var _instance = null;
|
|
|
254
306
|
var resolve = () => {
|
|
255
307
|
if (!_instance) {
|
|
256
308
|
const def = loadDefinition();
|
|
257
|
-
_instance =
|
|
309
|
+
_instance = _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: def, apiName: "integrationToolkit" });
|
|
258
310
|
}
|
|
259
311
|
return _instance;
|
|
260
312
|
};
|
|
261
|
-
var _handle =
|
|
313
|
+
var _handle = _chunk4EH2X5J6cjs.createApiHandle.call(void 0, {
|
|
262
314
|
resolveClient: resolve,
|
|
263
|
-
createClient: () =>
|
|
315
|
+
createClient: () => _chunk4EH2X5J6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "integrationToolkit" }),
|
|
264
316
|
apiName: "integrationToolkit"
|
|
265
317
|
});
|
|
266
318
|
var getClient = _handle.getClient;
|
|
@@ -274,4 +326,4 @@ var integrationToolkit = _handle;
|
|
|
274
326
|
|
|
275
327
|
|
|
276
328
|
|
|
277
|
-
exports.HTTP_STATUS_CODE_FAMILY = HTTP_STATUS_CODE_FAMILY; exports.MONITORING_CODES = MONITORING_CODES; exports.authorize =
|
|
329
|
+
exports.HTTP_STATUS_CODE_FAMILY = HTTP_STATUS_CODE_FAMILY; exports.MONITORING_CODES = MONITORING_CODES; exports.authorize = _chunk4EH2X5J6cjs.authorize; exports.createClient = createClient; exports.describeMonitoringCode = describeMonitoringCode; exports.getClient = getClient; exports.integrationToolkit = integrationToolkit;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-ChU9Acbv.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.cjs';
|
|
3
|
-
import { a as Components, C as Client } from '../integration-toolkit.d-
|
|
4
|
-
export { A as AccessLogEntry, c as AckOutboundMessagesRequest, d as AckOutboundMessagesResponse, e as AckResult, f as AutoRefreshSettings, g as CommitTypesRequest, h as CommitTypesResponse, i as ConnectorConfig, j as
|
|
3
|
+
import { a as Components, C as Client } from '../integration-toolkit.d-l5cgwHLa.cjs';
|
|
4
|
+
export { A as AccessLogEntry, c as AckOutboundMessagesRequest, d as AckOutboundMessagesResponse, e as AckResult, f as AutoRefreshSettings, g as CommitTypesRequest, h as CommitTypesResponse, i as ConnectorConfig, j as CorrelationStatus, k as CorrelationStatusList, l as CorrelationUseCaseCounts, m as CorrelationWaitBadRequest, n as CorrelationWaitResult, o as CreateErpImportRequest, p as CreateErpImportResponse, q as CreateFileProxyUseCaseRequest, r as CreateInboundUseCaseRequest, s as CreateIntegrationRequest, t as CreateManagedCallUseCaseRequest, u as CreateOutboundUseCaseRequest, v as CreateSecureProxyUseCaseRequest, w as CreateUseCaseRequest, x as CreateUseCaseRequestBase, D as DeleteIntegrationAppMappingRequest, y as DeliveryConfig, z as DirectEntityOperation, B as DirectMeterReadingOperation, E as DirectPayload, F as DirectRelationItem, G as DirectRelationRefItem, H as DirectRelationRefValue, I as DirectRelationValue, J as DirectSimulationError, K as DirectSimulationRequest, L as DirectSimulationResponse, M as DocumentationPage, N as DocumentationPageSummary, Q as EmbeddedFileProxyUseCaseRequest, R as EmbeddedInboundUseCaseRequest, S as EmbeddedManagedCallUseCaseRequest, T as EmbeddedOutboundUseCaseRequest, U as EmbeddedSecureProxyUseCaseRequest, V as EmbeddedUseCaseRequest, W as EmbeddedUseCaseRequestBase, X as EntityPruneScopeUpdate, Y as EntitySyncState, Z as EntitySyncStatusResponse, _ as EntityUpdate, $ as EnvVarRefConfig, a0 as EnvironmentFieldConfig, a1 as ErpEvent, a2 as ErpEventV3, a3 as ErpImportDownload, a4 as ErpImportEntityDetail, a5 as ErpImportError, a6 as ErpImportFilePreview, a7 as ErpImportIssue, a8 as ErpImportJob, a9 as ErpImportList, aa as ErpImportProgress, ab as ErpImportUseCaseSuggestion, ac as ErpImportValidation, ad as ErpUpdateEventStatus, ae as ErpUpdateProcessedEntity, af as ErpUpdateProcessingError, ag as ErpUpdatesEventsV2Request, ah as ErpUpdatesEventsV3Request, ai as ErrorResponseBase, aj as ExecuteErpImportRequest, ak as ExternalMonitoringSpan, al as FileProxyAuth, am as FileProxyDeliveryConfig, an as FileProxyFanOutConfig, ao as FileProxyParam, ap as FileProxyResponseConfig, aq as FileProxySecureProxyAttachment, ar as FileProxyStep, as as FileProxyUploadConfig, at as FileProxyUrlConfig, au as FileProxyUrlParam, av as FileProxyUrlParams, aw as FileProxyUseCase, ax as FileProxyUseCaseConfiguration, ay as FileProxyUseCaseHistoryEntry, az as GenerateTypesPreviewResponse, aA as GenerateTypesRequest, aB as GenerateTypesResponse, aC as GetMonitoringRunCompletionV2Request, aD as GetMonitoringStatsRequest, aE as GetMonitoringStatsV2Request, aF as GetMonitoringTimeSeriesRequest, aG as GetMonitoringTimeSeriesV2Request, aH as InboundIntegrationEventConfiguration, aI as InboundMonitoringEvent, aJ as InboundUseCase, aK as InboundUseCaseHistoryEntry, aL as IngestExternalMonitoringEventsRequest, aM as IngestExternalMonitoringEventsResponse, aN as Integration, aO as IntegrationAppMapping, aP as IntegrationConfigurationV1, aQ as IntegrationConfigurationV2, aR as IntegrationEditableFields, aS as IntegrationEntity, aT as IntegrationEntityConditional, aU as IntegrationEntityField, aV as IntegrationEntityFromRows, aW as IntegrationFieldV1, aX as IntegrationMap, aY as IntegrationMeterReading, aZ as IntegrationNotificationConfig, a_ as IntegrationObjectV1, a$ as IntegrationSettings, b0 as IntegrationWithUseCases, b1 as ManagedCallAuth, b2 as ManagedCallErrorResponse, b3 as ManagedCallExecuteRequest, b4 as ManagedCallExecuteResponse, b5 as ManagedCallOperation, b6 as ManagedCallOperationConfig, b7 as ManagedCallUseCase, b8 as ManagedCallUseCaseHistoryEntry, b9 as MappedFieldValue, ba as MappingSimulationRequest, bb as MappingSimulationResponse, bc as MappingSimulationV2Request, bd as MappingSimulationWarning, be as MeterReadingPruneScopeConfig, bf as MeterReadingPruneScopeUpdate, bg as MeterReadingUpdate, bh as MeterUniqueIdsConfig, bi as MonitoringCode, bj as MonitoringEventV2, bk as MonitoringRunCompletionV2, bl as MonitoringRunCompletionV2Response, bm as MonitoringRunEntriesV2, bn as MonitoringStats, bo as MonitoringStatsV2, bp as MonitoringTraceResponse, bq as NotificationChannelSet, br as NotificationDigestConfig, bs as NotificationHistoryItem, bt as NotificationHistoryResponse, bu as NotificationRecipient, bv as NotificationRule, bw as NotificationRuleStatus, bx as NotificationStatusResponse, O as OperationMethods, by as OutboundConflict, bz as OutboundDlqListResponse, bA as OutboundDlqMessage, bB as OutboundFileProxyTargetStatus, bC as OutboundIntegrationEventConfiguration, bD as OutboundMapping, bE as OutboundMappingSimulationError, bF as OutboundMessage, bG as OutboundMonitoringEvent, bH as OutboundPollStatus, bI as OutboundStatusResponse, bJ as OutboundUseCase, bK as OutboundUseCaseHistoryEntry, bL as OutboundUseCaseStatus, P as Paths, b as PathsDictionary, bM as PollDeliveryConfig, bN as PollOutboundMessagesRequest, bO as PollOutboundMessagesResponse, bP as PortalOrigin, bQ as PortalRefConfig, bR as PortalRefFilter, bS as PruneScopeConfig, bT as QueryAccessLogsRequest, bU as QueryEventsRequest, bV as QueryInboundMonitoringEventsRequest, bW as QueryMonitoringEventsV2Request, bX as QueryOutboundMonitoringEventsRequest, bY as RedriveOutboundDlqRequest, bZ as RedriveOutboundDlqResponse, b_ as RedriveOutboundDlqResult, b$ as RelationConfig, c0 as RelationItemConfig, c1 as RelationRefItemConfig, c2 as RelationRefValueConfig, c3 as RelationRefsConfig, c4 as RelationUniqueIdField, c5 as RepeatableFieldType, c6 as ReplayEventsRequest, c7 as RuleBaselineBucket, c8 as RuleBaselineStatus, c9 as S3Reference, ca as SecureProxyRequest, cb as SecureProxyResponse, cc as SecureProxySummary, cd as SecureProxyUpstreamError, ce as SecureProxyUseCase, cf as SecureProxyUseCaseConfiguration, cg as SecureProxyUseCaseHistoryEntry, ch as SecureProxyWhitelist, ci as SecureProxyWhitelistUpdate, cj as SetIntegrationAppMappingRequest, ck as SimulateOutboundMappingRequest, cl as SimulateOutboundMappingResponse, cm as SuggestErpImportUseCasesResponse, cn as TestNotificationRequest, co as TestNotificationResponse, cp as TimeSeriesBreakdownItemV2, cq as TimeSeriesBucket, cr as TimeSeriesBucketV2, cs as TriggerErpActionRequest, ct as TriggerWebhookResp, cu as TypeAnnotations, cv as TypeDescriptor, cw as UnblockOutboundStreamRequest, cx as UnblockOutboundStreamResponse, cy as UpdateFileProxyUseCaseRequest, cz as UpdateInboundUseCaseRequest, cA as UpdateIntegrationRequest, cB as UpdateManagedCallUseCaseRequest, cC as UpdateOutboundUseCaseRequest, cD as UpdateSecureProxyUseCaseRequest, cE as UpdateUseCaseRequest, cF as UpdateUseCaseRequestBase, cG as UpsertDocumentationPageRequest, cH as UpsertIntegrationWithUseCasesRequest, cI as UseCase, cJ as UseCaseBase, cK as UseCaseHistoryEntry, cL as UseCaseHistoryEntryBase, cM as UseCaseTypePreview, cN as ValidateErpImportRequest, cO as WebhookDeliveryConfig, cP as WebhookStatus } from '../integration-toolkit.d-l5cgwHLa.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-ChU9Acbv.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
|
|
3
|
-
import { a as Components, C as Client } from '../integration-toolkit.d-
|
|
4
|
-
export { A as AccessLogEntry, c as AckOutboundMessagesRequest, d as AckOutboundMessagesResponse, e as AckResult, f as AutoRefreshSettings, g as CommitTypesRequest, h as CommitTypesResponse, i as ConnectorConfig, j as
|
|
3
|
+
import { a as Components, C as Client } from '../integration-toolkit.d-l5cgwHLa.js';
|
|
4
|
+
export { A as AccessLogEntry, c as AckOutboundMessagesRequest, d as AckOutboundMessagesResponse, e as AckResult, f as AutoRefreshSettings, g as CommitTypesRequest, h as CommitTypesResponse, i as ConnectorConfig, j as CorrelationStatus, k as CorrelationStatusList, l as CorrelationUseCaseCounts, m as CorrelationWaitBadRequest, n as CorrelationWaitResult, o as CreateErpImportRequest, p as CreateErpImportResponse, q as CreateFileProxyUseCaseRequest, r as CreateInboundUseCaseRequest, s as CreateIntegrationRequest, t as CreateManagedCallUseCaseRequest, u as CreateOutboundUseCaseRequest, v as CreateSecureProxyUseCaseRequest, w as CreateUseCaseRequest, x as CreateUseCaseRequestBase, D as DeleteIntegrationAppMappingRequest, y as DeliveryConfig, z as DirectEntityOperation, B as DirectMeterReadingOperation, E as DirectPayload, F as DirectRelationItem, G as DirectRelationRefItem, H as DirectRelationRefValue, I as DirectRelationValue, J as DirectSimulationError, K as DirectSimulationRequest, L as DirectSimulationResponse, M as DocumentationPage, N as DocumentationPageSummary, Q as EmbeddedFileProxyUseCaseRequest, R as EmbeddedInboundUseCaseRequest, S as EmbeddedManagedCallUseCaseRequest, T as EmbeddedOutboundUseCaseRequest, U as EmbeddedSecureProxyUseCaseRequest, V as EmbeddedUseCaseRequest, W as EmbeddedUseCaseRequestBase, X as EntityPruneScopeUpdate, Y as EntitySyncState, Z as EntitySyncStatusResponse, _ as EntityUpdate, $ as EnvVarRefConfig, a0 as EnvironmentFieldConfig, a1 as ErpEvent, a2 as ErpEventV3, a3 as ErpImportDownload, a4 as ErpImportEntityDetail, a5 as ErpImportError, a6 as ErpImportFilePreview, a7 as ErpImportIssue, a8 as ErpImportJob, a9 as ErpImportList, aa as ErpImportProgress, ab as ErpImportUseCaseSuggestion, ac as ErpImportValidation, ad as ErpUpdateEventStatus, ae as ErpUpdateProcessedEntity, af as ErpUpdateProcessingError, ag as ErpUpdatesEventsV2Request, ah as ErpUpdatesEventsV3Request, ai as ErrorResponseBase, aj as ExecuteErpImportRequest, ak as ExternalMonitoringSpan, al as FileProxyAuth, am as FileProxyDeliveryConfig, an as FileProxyFanOutConfig, ao as FileProxyParam, ap as FileProxyResponseConfig, aq as FileProxySecureProxyAttachment, ar as FileProxyStep, as as FileProxyUploadConfig, at as FileProxyUrlConfig, au as FileProxyUrlParam, av as FileProxyUrlParams, aw as FileProxyUseCase, ax as FileProxyUseCaseConfiguration, ay as FileProxyUseCaseHistoryEntry, az as GenerateTypesPreviewResponse, aA as GenerateTypesRequest, aB as GenerateTypesResponse, aC as GetMonitoringRunCompletionV2Request, aD as GetMonitoringStatsRequest, aE as GetMonitoringStatsV2Request, aF as GetMonitoringTimeSeriesRequest, aG as GetMonitoringTimeSeriesV2Request, aH as InboundIntegrationEventConfiguration, aI as InboundMonitoringEvent, aJ as InboundUseCase, aK as InboundUseCaseHistoryEntry, aL as IngestExternalMonitoringEventsRequest, aM as IngestExternalMonitoringEventsResponse, aN as Integration, aO as IntegrationAppMapping, aP as IntegrationConfigurationV1, aQ as IntegrationConfigurationV2, aR as IntegrationEditableFields, aS as IntegrationEntity, aT as IntegrationEntityConditional, aU as IntegrationEntityField, aV as IntegrationEntityFromRows, aW as IntegrationFieldV1, aX as IntegrationMap, aY as IntegrationMeterReading, aZ as IntegrationNotificationConfig, a_ as IntegrationObjectV1, a$ as IntegrationSettings, b0 as IntegrationWithUseCases, b1 as ManagedCallAuth, b2 as ManagedCallErrorResponse, b3 as ManagedCallExecuteRequest, b4 as ManagedCallExecuteResponse, b5 as ManagedCallOperation, b6 as ManagedCallOperationConfig, b7 as ManagedCallUseCase, b8 as ManagedCallUseCaseHistoryEntry, b9 as MappedFieldValue, ba as MappingSimulationRequest, bb as MappingSimulationResponse, bc as MappingSimulationV2Request, bd as MappingSimulationWarning, be as MeterReadingPruneScopeConfig, bf as MeterReadingPruneScopeUpdate, bg as MeterReadingUpdate, bh as MeterUniqueIdsConfig, bi as MonitoringCode, bj as MonitoringEventV2, bk as MonitoringRunCompletionV2, bl as MonitoringRunCompletionV2Response, bm as MonitoringRunEntriesV2, bn as MonitoringStats, bo as MonitoringStatsV2, bp as MonitoringTraceResponse, bq as NotificationChannelSet, br as NotificationDigestConfig, bs as NotificationHistoryItem, bt as NotificationHistoryResponse, bu as NotificationRecipient, bv as NotificationRule, bw as NotificationRuleStatus, bx as NotificationStatusResponse, O as OperationMethods, by as OutboundConflict, bz as OutboundDlqListResponse, bA as OutboundDlqMessage, bB as OutboundFileProxyTargetStatus, bC as OutboundIntegrationEventConfiguration, bD as OutboundMapping, bE as OutboundMappingSimulationError, bF as OutboundMessage, bG as OutboundMonitoringEvent, bH as OutboundPollStatus, bI as OutboundStatusResponse, bJ as OutboundUseCase, bK as OutboundUseCaseHistoryEntry, bL as OutboundUseCaseStatus, P as Paths, b as PathsDictionary, bM as PollDeliveryConfig, bN as PollOutboundMessagesRequest, bO as PollOutboundMessagesResponse, bP as PortalOrigin, bQ as PortalRefConfig, bR as PortalRefFilter, bS as PruneScopeConfig, bT as QueryAccessLogsRequest, bU as QueryEventsRequest, bV as QueryInboundMonitoringEventsRequest, bW as QueryMonitoringEventsV2Request, bX as QueryOutboundMonitoringEventsRequest, bY as RedriveOutboundDlqRequest, bZ as RedriveOutboundDlqResponse, b_ as RedriveOutboundDlqResult, b$ as RelationConfig, c0 as RelationItemConfig, c1 as RelationRefItemConfig, c2 as RelationRefValueConfig, c3 as RelationRefsConfig, c4 as RelationUniqueIdField, c5 as RepeatableFieldType, c6 as ReplayEventsRequest, c7 as RuleBaselineBucket, c8 as RuleBaselineStatus, c9 as S3Reference, ca as SecureProxyRequest, cb as SecureProxyResponse, cc as SecureProxySummary, cd as SecureProxyUpstreamError, ce as SecureProxyUseCase, cf as SecureProxyUseCaseConfiguration, cg as SecureProxyUseCaseHistoryEntry, ch as SecureProxyWhitelist, ci as SecureProxyWhitelistUpdate, cj as SetIntegrationAppMappingRequest, ck as SimulateOutboundMappingRequest, cl as SimulateOutboundMappingResponse, cm as SuggestErpImportUseCasesResponse, cn as TestNotificationRequest, co as TestNotificationResponse, cp as TimeSeriesBreakdownItemV2, cq as TimeSeriesBucket, cr as TimeSeriesBucketV2, cs as TriggerErpActionRequest, ct as TriggerWebhookResp, cu as TypeAnnotations, cv as TypeDescriptor, cw as UnblockOutboundStreamRequest, cx as UnblockOutboundStreamResponse, cy as UpdateFileProxyUseCaseRequest, cz as UpdateInboundUseCaseRequest, cA as UpdateIntegrationRequest, cB as UpdateManagedCallUseCaseRequest, cC as UpdateOutboundUseCaseRequest, cD as UpdateSecureProxyUseCaseRequest, cE as UpdateUseCaseRequest, cF as UpdateUseCaseRequestBase, cG as UpsertDocumentationPageRequest, cH as UpsertIntegrationWithUseCasesRequest, cI as UseCase, cJ as UseCaseBase, cK as UseCaseHistoryEntry, cL as UseCaseHistoryEntryBase, cM as UseCaseTypePreview, cN as ValidateErpImportRequest, cO as WebhookDeliveryConfig, cP as WebhookStatus } from '../integration-toolkit.d-l5cgwHLa.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_integration_toolkit_runtime
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-I6IC54PD.js";
|
|
4
4
|
import {
|
|
5
5
|
authorize,
|
|
6
6
|
createApiClient,
|
|
7
7
|
createApiHandle,
|
|
8
8
|
expand
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-ZM6WXMH3.js";
|
|
10
10
|
import "../chunk-YPSWSI3M.js";
|
|
11
11
|
|
|
12
12
|
// src/models/integration-toolkit-model.ts
|
|
@@ -40,6 +40,46 @@ var MONITORING_CODES = {
|
|
|
40
40
|
level: "success",
|
|
41
41
|
description: "Conditional price variants were written for one imported entity: emitted once per chunk, with a per-outcome count and the variant ids in details"
|
|
42
42
|
},
|
|
43
|
+
CORRELATION_CLOSE_IGNORED: {
|
|
44
|
+
level: "warning",
|
|
45
|
+
description: "The partner declared a correlation complete, but the close was not applied: either the same request has to be retried, or none of its events was processed as interactive (the use case does not allow it, or the request did not ask for it). Retry with `correlation_complete`, or send the events with `interactive: true`"
|
|
46
|
+
},
|
|
47
|
+
CORRELATION_CLOSED_EMPTY: {
|
|
48
|
+
level: "info",
|
|
49
|
+
description: 'The partner declared a correlation complete without sending any event for it. That is the partner reporting "I found nothing", and anyone waiting is told so at once instead of waiting it out'
|
|
50
|
+
},
|
|
51
|
+
CORRELATION_CLOSED_INCOMPLETE: {
|
|
52
|
+
level: "warning",
|
|
53
|
+
description: "The partner declared a correlation complete and everything it sent was processed, but what the caller was waiting for was not in it \u2014 see `missing_entities` and `missing_use_cases`. Reported once per correlation"
|
|
54
|
+
},
|
|
55
|
+
CORRELATION_COMPLETED: {
|
|
56
|
+
level: "info",
|
|
57
|
+
description: "Every event the partner sent under this correlation has finished processing and the partner declared the correlation complete"
|
|
58
|
+
},
|
|
59
|
+
CORRELATION_EVENT_LIMIT_EXCEEDED: {
|
|
60
|
+
level: "warning",
|
|
61
|
+
description: "This correlation already holds as many events as one correlation may, so further events sent under it were processed normally and cannot be waited on. A correlation is meant to cover one registration or one change; this usually means the partner sends the same correlation id with every push. Each request that should be waited on needs its own id"
|
|
62
|
+
},
|
|
63
|
+
CORRELATION_ID_MISSING: {
|
|
64
|
+
level: "error",
|
|
65
|
+
description: "A request asked for something that only makes sense for a correlation, but did not say which correlation"
|
|
66
|
+
},
|
|
67
|
+
CORRELATION_LATE_EVENT: {
|
|
68
|
+
level: "warning",
|
|
69
|
+
description: "An event arrived under a correlation the partner had already declared complete. It was processed, but anyone waiting on that correlation had already been answered \u2014 the partner is sending `correlation_complete` too early"
|
|
70
|
+
},
|
|
71
|
+
CORRELATION_REQUIREMENT_FAILED: {
|
|
72
|
+
level: "error",
|
|
73
|
+
description: "Something a caller was waiting for can no longer arrive: every event that would have satisfied the requirement ended in an error"
|
|
74
|
+
},
|
|
75
|
+
CORRELATION_WAIT_REJECTED: {
|
|
76
|
+
level: "warning",
|
|
77
|
+
description: "A caller tried to wait on a correlation while too many waits were already open, so it was asked to retry. Its data is unaffected \u2014 only the answer it was waiting for is slower"
|
|
78
|
+
},
|
|
79
|
+
CORRELATION_WAIT_TIMEOUT: {
|
|
80
|
+
level: "warning",
|
|
81
|
+
description: "A caller waited on a correlation until its time ran out without getting what it asked for \u2014 see `missing_entities` and `missing_use_cases` for what had not arrived. Reported once per correlation"
|
|
82
|
+
},
|
|
43
83
|
DEPRECATED_ENDPOINT: { level: "error", description: "This endpoint version is deprecated" },
|
|
44
84
|
DIRECT_ENTITY_NOT_ALLOWED: {
|
|
45
85
|
level: "error",
|
|
@@ -115,6 +155,18 @@ var MONITORING_CODES = {
|
|
|
115
155
|
level: "error",
|
|
116
156
|
description: "The inbound event referenced an integration_id that does not exist in the calling token's organization. Check the integration id and that the token belongs to the same org."
|
|
117
157
|
},
|
|
158
|
+
INTERACTIVE_CROSS_LANE_WRITE: {
|
|
159
|
+
level: "warning",
|
|
160
|
+
description: "The same entity was updated from two different processing lanes within seconds of each other, one of them the interactive lane. Both updates were applied; this reports that they overlapped, so the order they landed in was decided by timing"
|
|
161
|
+
},
|
|
162
|
+
INTERACTIVE_NOT_ALLOWED: {
|
|
163
|
+
level: "info",
|
|
164
|
+
description: "Interactive processing was requested for a use case that is not configured for it, so the events were processed normally. Set `interactive` to `on_request` or `always` on the use case if the caller is meant to be able to wait for these events"
|
|
165
|
+
},
|
|
166
|
+
INTERACTIVE_RATE_LIMITED: {
|
|
167
|
+
level: "warning",
|
|
168
|
+
description: "The organization asked for interactive processing more often than its agreed rate, so these events were processed on its normal lane instead. Nothing was lost and the correlation can still be waited on \u2014 it will simply take as long as a bulk event does"
|
|
169
|
+
},
|
|
118
170
|
INVALID_METER_READING_ATTRIBUTES: { level: "error", description: "Meter reading has invalid attributes" },
|
|
119
171
|
LOOKUP_UNMAPPED: {
|
|
120
172
|
level: "warning",
|
|
@@ -154,7 +206,7 @@ var MONITORING_CODES = {
|
|
|
154
206
|
},
|
|
155
207
|
MSG_ENQUEUED: {
|
|
156
208
|
level: "info",
|
|
157
|
-
description: "Outbound message enqueued to the poll queue, awaiting consumption by the ERP"
|
|
209
|
+
description: "Outbound message enqueued to the poll queue, awaiting consumption by the ERP. When the use case maps the payload, the detail carries the mapped payload as delivered and its mapping_version (or payload_omitted when it exceeds 48 KiB)"
|
|
158
210
|
},
|
|
159
211
|
MSG_EXPIRED_UNPOLLED: {
|
|
160
212
|
level: "error",
|