@epilot/sdk 2.0.0-beta.1 → 2.0.0-beta.3
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/README.md +71 -96
- package/dist/apis/access-token.cjs +90 -10
- package/dist/apis/access-token.d.cts +4 -4
- package/dist/apis/access-token.d.ts +4 -4
- package/dist/apis/access-token.js +86 -6
- package/dist/apis/address-suggestions.cjs +133 -10
- package/dist/apis/address-suggestions.d.cts +4 -4
- package/dist/apis/address-suggestions.d.ts +4 -4
- package/dist/apis/address-suggestions.js +129 -6
- package/dist/apis/address.cjs +85 -10
- package/dist/apis/address.d.cts +4 -4
- package/dist/apis/address.d.ts +4 -4
- package/dist/apis/address.js +81 -6
- package/dist/apis/ai-agents.cjs +216 -10
- package/dist/apis/ai-agents.d.cts +4 -4
- package/dist/apis/ai-agents.d.ts +4 -4
- package/dist/apis/ai-agents.js +212 -6
- package/dist/apis/app.cjs +574 -10
- package/dist/apis/app.d.cts +4 -4
- package/dist/apis/app.d.ts +4 -4
- package/dist/apis/app.js +570 -6
- package/dist/apis/audit-logs.cjs +56 -10
- package/dist/apis/audit-logs.d.cts +4 -4
- package/dist/apis/audit-logs.d.ts +4 -4
- package/dist/apis/audit-logs.js +52 -6
- package/dist/apis/automation.cjs +283 -10
- package/dist/apis/automation.d.cts +4 -4
- package/dist/apis/automation.d.ts +4 -4
- package/dist/apis/automation.js +279 -6
- package/dist/apis/billing.cjs +176 -10
- package/dist/apis/billing.d.cts +4 -4
- package/dist/apis/billing.d.ts +4 -4
- package/dist/apis/billing.js +172 -6
- package/dist/apis/blueprint-manifest.cjs +505 -10
- package/dist/apis/blueprint-manifest.d.cts +4 -4
- package/dist/apis/blueprint-manifest.d.ts +4 -4
- package/dist/apis/blueprint-manifest.js +501 -6
- package/dist/apis/consent.cjs +85 -10
- package/dist/apis/consent.d.cts +4 -4
- package/dist/apis/consent.d.ts +4 -4
- package/dist/apis/consent.js +81 -6
- package/dist/apis/customer-portal.cjs +2253 -10
- package/dist/apis/customer-portal.d.cts +4 -4
- package/dist/apis/customer-portal.d.ts +4 -4
- package/dist/apis/customer-portal.js +2249 -6
- package/dist/apis/dashboard.cjs +107 -0
- package/dist/apis/dashboard.d.cts +18 -0
- package/dist/apis/dashboard.d.ts +18 -0
- package/dist/apis/dashboard.js +107 -0
- package/dist/apis/data-management.cjs +241 -10
- package/dist/apis/data-management.d.cts +4 -4
- package/dist/apis/data-management.d.ts +4 -4
- package/dist/apis/data-management.js +237 -6
- package/dist/apis/deduplication.cjs +43 -10
- package/dist/apis/deduplication.d.cts +4 -4
- package/dist/apis/deduplication.d.ts +4 -4
- package/dist/apis/deduplication.js +39 -6
- package/dist/apis/design.cjs +220 -10
- package/dist/apis/design.d.cts +4 -4
- package/dist/apis/design.d.ts +4 -4
- package/dist/apis/design.js +216 -6
- package/dist/apis/document.cjs +79 -10
- package/dist/apis/document.d.cts +4 -4
- package/dist/apis/document.d.ts +4 -4
- package/dist/apis/document.js +75 -6
- package/dist/apis/email-settings.cjs +534 -10
- package/dist/apis/email-settings.d.cts +4 -4
- package/dist/apis/email-settings.d.ts +4 -4
- package/dist/apis/email-settings.js +530 -6
- package/dist/apis/email-template.cjs +123 -10
- package/dist/apis/email-template.d.cts +4 -4
- package/dist/apis/email-template.d.ts +4 -4
- package/dist/apis/email-template.js +119 -6
- package/dist/apis/entity-mapping.cjs +216 -10
- package/dist/apis/entity-mapping.d.cts +4 -4
- package/dist/apis/entity-mapping.d.ts +4 -4
- package/dist/apis/entity-mapping.js +212 -6
- package/dist/apis/entity.cjs +1601 -10
- package/dist/apis/entity.d.cts +4 -4
- package/dist/apis/entity.d.ts +4 -4
- package/dist/apis/entity.js +1597 -6
- package/dist/apis/environments.cjs +72 -10
- package/dist/apis/environments.d.cts +4 -4
- package/dist/apis/environments.d.ts +4 -4
- package/dist/apis/environments.js +68 -6
- package/dist/apis/erp-integration.cjs +587 -10
- package/dist/apis/erp-integration.d.cts +4 -4
- package/dist/apis/erp-integration.d.ts +4 -4
- package/dist/apis/erp-integration.js +583 -6
- package/dist/apis/event-catalog.cjs +131 -10
- package/dist/apis/event-catalog.d.cts +4 -4
- package/dist/apis/event-catalog.d.ts +4 -4
- package/dist/apis/event-catalog.js +127 -6
- package/dist/apis/file.cjs +574 -10
- package/dist/apis/file.d.cts +4 -4
- package/dist/apis/file.d.ts +4 -4
- package/dist/apis/file.js +570 -6
- package/dist/apis/iban.cjs +44 -10
- package/dist/apis/iban.d.cts +4 -4
- package/dist/apis/iban.d.ts +4 -4
- package/dist/apis/iban.js +40 -6
- package/dist/apis/journey.cjs +271 -10
- package/dist/apis/journey.d.cts +4 -4
- package/dist/apis/journey.d.ts +4 -4
- package/dist/apis/journey.js +267 -6
- package/dist/apis/kanban.cjs +165 -10
- package/dist/apis/kanban.d.cts +4 -4
- package/dist/apis/kanban.d.ts +4 -4
- package/dist/apis/kanban.js +161 -6
- package/dist/apis/message.cjs +674 -10
- package/dist/apis/message.d.cts +4 -4
- package/dist/apis/message.d.ts +4 -4
- package/dist/apis/message.js +670 -6
- package/dist/apis/metering.cjs +400 -10
- package/dist/apis/metering.d.cts +4 -4
- package/dist/apis/metering.d.ts +4 -4
- package/dist/apis/metering.js +396 -6
- package/dist/apis/notes.cjs +220 -10
- package/dist/apis/notes.d.cts +4 -4
- package/dist/apis/notes.d.ts +4 -4
- package/dist/apis/notes.js +216 -6
- package/dist/apis/notification.cjs +238 -10
- package/dist/apis/notification.d.cts +4 -4
- package/dist/apis/notification.d.ts +4 -4
- package/dist/apis/notification.js +234 -6
- package/dist/apis/organization.cjs +119 -10
- package/dist/apis/organization.d.cts +4 -4
- package/dist/apis/organization.d.ts +4 -4
- package/dist/apis/organization.js +115 -6
- package/dist/apis/partner-directory.cjs +283 -10
- package/dist/apis/partner-directory.d.cts +4 -4
- package/dist/apis/partner-directory.d.ts +4 -4
- package/dist/apis/partner-directory.js +279 -6
- package/dist/apis/permissions.cjs +179 -10
- package/dist/apis/permissions.d.cts +4 -4
- package/dist/apis/permissions.d.ts +4 -4
- package/dist/apis/permissions.js +175 -6
- package/dist/apis/pricing-tier.cjs +40 -13
- package/dist/apis/pricing-tier.d.cts +4 -4
- package/dist/apis/pricing-tier.d.ts +4 -4
- package/dist/apis/pricing-tier.js +33 -6
- package/dist/apis/pricing.cjs +440 -10
- package/dist/apis/pricing.d.cts +4 -4
- package/dist/apis/pricing.d.ts +4 -4
- package/dist/apis/pricing.js +436 -6
- package/dist/apis/purpose.cjs +181 -10
- package/dist/apis/purpose.d.cts +4 -4
- package/dist/apis/purpose.d.ts +4 -4
- package/dist/apis/purpose.js +177 -6
- package/dist/apis/sandbox.cjs +101 -10
- package/dist/apis/sandbox.d.cts +4 -4
- package/dist/apis/sandbox.d.ts +4 -4
- package/dist/apis/sandbox.js +97 -6
- package/dist/apis/submission.cjs +56 -10
- package/dist/apis/submission.d.cts +4 -4
- package/dist/apis/submission.d.ts +4 -4
- package/dist/apis/submission.js +52 -6
- package/dist/apis/targeting.cjs +276 -10
- package/dist/apis/targeting.d.cts +4 -4
- package/dist/apis/targeting.d.ts +4 -4
- package/dist/apis/targeting.js +272 -6
- package/dist/apis/template-variables.cjs +160 -10
- package/dist/apis/template-variables.d.cts +4 -4
- package/dist/apis/template-variables.d.ts +4 -4
- package/dist/apis/template-variables.js +156 -6
- package/dist/apis/user.cjs +489 -10
- package/dist/apis/user.d.cts +4 -4
- package/dist/apis/user.d.ts +4 -4
- package/dist/apis/user.js +485 -6
- package/dist/apis/validation-rules.cjs +121 -10
- package/dist/apis/validation-rules.d.cts +4 -4
- package/dist/apis/validation-rules.d.ts +4 -4
- package/dist/apis/validation-rules.js +117 -6
- package/dist/apis/webhooks.cjs +253 -10
- package/dist/apis/webhooks.d.cts +4 -4
- package/dist/apis/webhooks.d.ts +4 -4
- package/dist/apis/webhooks.js +249 -6
- package/dist/apis/workflow-definition.cjs +343 -10
- package/dist/apis/workflow-definition.d.cts +4 -4
- package/dist/apis/workflow-definition.d.ts +4 -4
- package/dist/apis/workflow-definition.js +339 -6
- package/dist/apis/workflow.cjs +403 -10
- package/dist/apis/workflow.d.cts +4 -4
- package/dist/apis/workflow.d.ts +4 -4
- package/dist/apis/workflow.js +399 -6
- package/dist/{chunk-YYLPAGF4.cjs → chunk-D7ICL3AM.cjs} +20 -9
- package/dist/{chunk-UCDXDIUX.js → chunk-DGCGLG7G.js} +18 -7
- package/dist/dashboard.d-AE3RQ6zo.d.cts +440 -0
- package/dist/dashboard.d-AE3RQ6zo.d.ts +440 -0
- package/dist/index.cjs +75 -215
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +72 -212
- package/dist/{types-DNnaR-86.d.cts → types-BwBvJkY_.d.cts} +2 -2
- package/dist/{types-DNnaR-86.d.ts → types-BwBvJkY_.d.ts} +2 -2
- package/package.json +7 -6
- package/dist/access-token-4WG44JE6.js +0 -87
- package/dist/access-token-IWRB3AQC.cjs +0 -87
- package/dist/address-RCFHYZ32.cjs +0 -82
- package/dist/address-YDZSS2Q2.js +0 -82
- package/dist/address-suggestions-44CVMN3H.js +0 -130
- package/dist/address-suggestions-RQNIFLF6.cjs +0 -130
- package/dist/ai-agents-7WY6J45W.js +0 -213
- package/dist/ai-agents-TIBOWGRB.cjs +0 -213
- package/dist/apis/discussion.cjs +0 -32
- package/dist/apis/discussion.d.cts +0 -18
- package/dist/apis/discussion.d.ts +0 -18
- package/dist/apis/discussion.js +0 -32
- package/dist/app-BUVEXAK3.js +0 -571
- package/dist/app-SWOVCSF6.cjs +0 -571
- package/dist/audit-logs-EZF74KKE.js +0 -53
- package/dist/audit-logs-ZNE4XISB.cjs +0 -53
- package/dist/automation-F4AXMRUS.cjs +0 -280
- package/dist/automation-NSOLJEPW.js +0 -280
- package/dist/billing-FXH4A3ET.cjs +0 -173
- package/dist/billing-PW2UJOFR.js +0 -173
- package/dist/blueprint-manifest-N4UM55KM.cjs +0 -502
- package/dist/blueprint-manifest-U3DMIHGW.js +0 -502
- package/dist/consent-NL2FMBRZ.js +0 -82
- package/dist/consent-XLVBVWHP.cjs +0 -82
- package/dist/customer-portal-6NZR53MJ.cjs +0 -2250
- package/dist/customer-portal-PXA64RS2.js +0 -2250
- package/dist/data-management-7VCKRRKT.cjs +0 -238
- package/dist/data-management-CWNNHKNR.js +0 -238
- package/dist/deduplication-AHDZHLWJ.cjs +0 -40
- package/dist/deduplication-UNYDU6FC.js +0 -40
- package/dist/design-GTK6ERS7.js +0 -217
- package/dist/design-HINGIGZM.cjs +0 -217
- package/dist/discussion-5AQSWLCJ.js +0 -132
- package/dist/discussion-ZHZII3JN.cjs +0 -132
- package/dist/discussion.d-DQucoYl_.d.cts +0 -579
- package/dist/discussion.d-DQucoYl_.d.ts +0 -579
- package/dist/document-3DJGB6C5.cjs +0 -76
- package/dist/document-4EBYTKOK.js +0 -76
- package/dist/email-settings-37WEBRIE.cjs +0 -531
- package/dist/email-settings-WYXVYZA5.js +0 -531
- package/dist/email-template-AJGRNOGO.cjs +0 -120
- package/dist/email-template-L3LCVGGX.js +0 -120
- package/dist/entity-FK3QEH7K.cjs +0 -1598
- package/dist/entity-VCBDLBZ5.js +0 -1598
- package/dist/entity-mapping-LEEXGKNQ.js +0 -213
- package/dist/entity-mapping-OIA23UV2.cjs +0 -213
- package/dist/environments-NX2KO6PH.js +0 -69
- package/dist/environments-PDN2RNB6.cjs +0 -69
- package/dist/erp-integration-C7XAKQOQ.cjs +0 -584
- package/dist/erp-integration-TA23TPTK.js +0 -584
- package/dist/event-catalog-CXGU2MWM.js +0 -128
- package/dist/event-catalog-JHJU3EPR.cjs +0 -128
- package/dist/file-FIIYM6KO.cjs +0 -571
- package/dist/file-GRLGXATS.js +0 -571
- package/dist/iban-IQH45QEI.js +0 -41
- package/dist/iban-YHV77AIE.cjs +0 -41
- package/dist/journey-B5Q2FQUI.cjs +0 -268
- package/dist/journey-XW3RJCI3.js +0 -268
- package/dist/kanban-4LZGTSAF.cjs +0 -162
- package/dist/kanban-NRSJ6S4X.js +0 -162
- package/dist/message-IV6F3CN5.cjs +0 -671
- package/dist/message-VYRBWAWQ.js +0 -671
- package/dist/metering-BOIQK6LV.js +0 -397
- package/dist/metering-WJVI6BHJ.cjs +0 -397
- package/dist/notes-XXYAHYEC.js +0 -217
- package/dist/notes-ZQR635GX.cjs +0 -217
- package/dist/notification-7APLCFR5.cjs +0 -235
- package/dist/notification-B634CDPT.js +0 -235
- package/dist/organization-BXJ2BPQB.cjs +0 -116
- package/dist/organization-WGTTJC22.js +0 -116
- package/dist/partner-directory-IHOFVMEK.cjs +0 -280
- package/dist/partner-directory-K6CQVWVG.js +0 -280
- package/dist/permissions-J7BIGOLO.cjs +0 -176
- package/dist/permissions-XRJ6WEZR.js +0 -176
- package/dist/pricing-GSIASLCP.cjs +0 -437
- package/dist/pricing-VVOEIVQC.js +0 -437
- package/dist/pricing-tier-NHXSXS7D.cjs +0 -34
- package/dist/pricing-tier-U5KRZDL2.js +0 -34
- package/dist/purpose-K655DFAO.js +0 -178
- package/dist/purpose-XH2OQHGH.cjs +0 -178
- package/dist/sandbox-4DRHKRB6.cjs +0 -98
- package/dist/sandbox-PV747LWK.js +0 -98
- package/dist/submission-7NPVVBLM.js +0 -53
- package/dist/submission-RUDXWIRC.cjs +0 -53
- package/dist/targeting-4ID5YPCA.js +0 -273
- package/dist/targeting-DOARNZSZ.cjs +0 -273
- package/dist/template-variables-HAYGELOR.cjs +0 -157
- package/dist/template-variables-XSEX25IR.js +0 -157
- package/dist/user-DPU5W4TD.cjs +0 -486
- package/dist/user-HJCIYGFV.js +0 -486
- package/dist/validation-rules-2Z3W27TI.js +0 -118
- package/dist/validation-rules-STLI5T53.cjs +0 -118
- package/dist/webhooks-OYG6A7LP.js +0 -250
- package/dist/webhooks-QV777IJ3.cjs +0 -250
- package/dist/workflow-3PROUTPA.js +0 -400
- package/dist/workflow-STQM54XS.cjs +0 -400
- package/dist/workflow-definition-3VVAPDSE.cjs +0 -340
- package/dist/workflow-definition-WEU344MV.js +0 -340
package/dist/apis/app.cjs
CHANGED
|
@@ -1,25 +1,589 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
var _chunkD7ICL3AMcjs = require('../chunk-D7ICL3AM.cjs');
|
|
7
|
+
|
|
8
|
+
// src/definitions/app.json
|
|
9
|
+
var require_app = _chunkD7ICL3AMcjs.__commonJS.call(void 0, {
|
|
10
|
+
"src/definitions/app.json"(exports, module) {
|
|
11
|
+
module.exports = {
|
|
12
|
+
openapi: "3.1.0",
|
|
13
|
+
info: {
|
|
14
|
+
title: "",
|
|
15
|
+
version: ""
|
|
16
|
+
},
|
|
17
|
+
servers: [
|
|
18
|
+
{
|
|
19
|
+
url: "https://app.sls.epilot.io"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
paths: {
|
|
23
|
+
"/v1/public/app/{appId}/components/{componentId}": {
|
|
24
|
+
parameters: [
|
|
25
|
+
{
|
|
26
|
+
name: "appId",
|
|
27
|
+
in: "path",
|
|
28
|
+
required: true,
|
|
29
|
+
description: "ID of the app configuration to install"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "componentId",
|
|
33
|
+
in: "path",
|
|
34
|
+
required: true,
|
|
35
|
+
description: "ID of the component to retrieve"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
get: {
|
|
39
|
+
operationId: "getPublicFacingComponent",
|
|
40
|
+
responses: {}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"/v1/app-configurations": {
|
|
44
|
+
get: {
|
|
45
|
+
operationId: "listConfigurations",
|
|
46
|
+
parameters: [
|
|
47
|
+
{
|
|
48
|
+
name: "page",
|
|
49
|
+
in: "query"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "pageSize",
|
|
53
|
+
in: "query"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
responses: {}
|
|
57
|
+
},
|
|
58
|
+
post: {
|
|
59
|
+
operationId: "createConfiguration",
|
|
60
|
+
requestBody: {
|
|
61
|
+
$ref: "#/components/requestBodies/CreateConfigRequest"
|
|
62
|
+
},
|
|
63
|
+
responses: {}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"/v1/app-configurations/public": {
|
|
67
|
+
get: {
|
|
68
|
+
operationId: "listPublicConfigurations",
|
|
69
|
+
parameters: [
|
|
70
|
+
{
|
|
71
|
+
name: "page",
|
|
72
|
+
in: "query"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: "pageSize",
|
|
76
|
+
in: "query"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
responses: {}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"/v1/app-configurations/public/{appId}": {
|
|
83
|
+
parameters: [
|
|
84
|
+
{
|
|
85
|
+
name: "appId",
|
|
86
|
+
in: "path",
|
|
87
|
+
required: true,
|
|
88
|
+
description: "ID of the app configuration to install"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
get: {
|
|
92
|
+
operationId: "getPublicConfiguration",
|
|
93
|
+
parameters: [
|
|
94
|
+
{
|
|
95
|
+
name: "version",
|
|
96
|
+
in: "query"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
responses: {}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"/v1/app-configurations/{appId}": {
|
|
103
|
+
parameters: [
|
|
104
|
+
{
|
|
105
|
+
name: "appId",
|
|
106
|
+
in: "path",
|
|
107
|
+
required: true,
|
|
108
|
+
description: "ID of the app configuration"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
get: {
|
|
112
|
+
operationId: "getConfiguration",
|
|
113
|
+
parameters: [
|
|
114
|
+
{
|
|
115
|
+
name: "version",
|
|
116
|
+
in: "query"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
responses: {}
|
|
120
|
+
},
|
|
121
|
+
patch: {
|
|
122
|
+
operationId: "patchMetadata",
|
|
123
|
+
requestBody: {
|
|
124
|
+
$ref: "#/components/requestBodies/PatchConfigMetadataRequest"
|
|
125
|
+
},
|
|
126
|
+
responses: {}
|
|
127
|
+
},
|
|
128
|
+
delete: {
|
|
129
|
+
operationId: "deleteConfiguration",
|
|
130
|
+
responses: {}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"/v1/app-configurations/{appId}/events": {
|
|
134
|
+
post: {
|
|
135
|
+
operationId: "queryEvents",
|
|
136
|
+
parameters: [
|
|
137
|
+
{
|
|
138
|
+
name: "appId",
|
|
139
|
+
in: "path",
|
|
140
|
+
required: true
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
requestBody: {
|
|
144
|
+
required: true,
|
|
145
|
+
content: {
|
|
146
|
+
"application/json": {}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
responses: {}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"/v1/app-configurations/{appId}/bundle": {
|
|
153
|
+
post: {
|
|
154
|
+
operationId: "createBundleUploadUrl",
|
|
155
|
+
parameters: [
|
|
156
|
+
{
|
|
157
|
+
name: "appId",
|
|
158
|
+
in: "path",
|
|
159
|
+
required: true
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
requestBody: {
|
|
163
|
+
$ref: "#/components/requestBodies/CreateBundlePresignedRequest"
|
|
164
|
+
},
|
|
165
|
+
responses: {}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"/v1/app-configurations/{appId}/zip": {
|
|
169
|
+
post: {
|
|
170
|
+
operationId: "createZipUploadUrl",
|
|
171
|
+
parameters: [
|
|
172
|
+
{
|
|
173
|
+
name: "appId",
|
|
174
|
+
in: "path",
|
|
175
|
+
required: true
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
requestBody: {
|
|
179
|
+
content: {
|
|
180
|
+
"application/json": {}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
responses: {}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"/v1/app-configurations/{appId}/logo": {
|
|
187
|
+
parameters: [
|
|
188
|
+
{
|
|
189
|
+
name: "appId",
|
|
190
|
+
in: "path",
|
|
191
|
+
required: true,
|
|
192
|
+
description: "ID of the app configuration"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
post: {
|
|
196
|
+
operationId: "createLogoUploadUrl",
|
|
197
|
+
requestBody: {
|
|
198
|
+
$ref: "#/components/requestBodies/CreateLogoPresignedRequest"
|
|
199
|
+
},
|
|
200
|
+
responses: {}
|
|
201
|
+
},
|
|
202
|
+
delete: {
|
|
203
|
+
operationId: "deleteLogo",
|
|
204
|
+
responses: {}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"/v1/app-configurations/{appId}/versions": {
|
|
208
|
+
get: {
|
|
209
|
+
operationId: "listVersions",
|
|
210
|
+
parameters: [
|
|
211
|
+
{
|
|
212
|
+
name: "appId",
|
|
213
|
+
in: "path",
|
|
214
|
+
required: true
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: "page",
|
|
218
|
+
in: "query"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: "pageSize",
|
|
222
|
+
in: "query"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
responses: {}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"/v1/app-configurations/{appId}/versions/{version}": {
|
|
229
|
+
get: {
|
|
230
|
+
operationId: "getVersion",
|
|
231
|
+
parameters: [
|
|
232
|
+
{
|
|
233
|
+
name: "appId",
|
|
234
|
+
in: "path",
|
|
235
|
+
required: true
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: "version",
|
|
239
|
+
in: "path",
|
|
240
|
+
required: true
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
responses: {}
|
|
244
|
+
},
|
|
245
|
+
delete: {
|
|
246
|
+
operationId: "deleteVersion",
|
|
247
|
+
parameters: [
|
|
248
|
+
{
|
|
249
|
+
name: "appId",
|
|
250
|
+
in: "path",
|
|
251
|
+
required: true
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "version",
|
|
255
|
+
in: "path",
|
|
256
|
+
required: true
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
responses: {}
|
|
260
|
+
},
|
|
261
|
+
patch: {
|
|
262
|
+
operationId: "patchVersion",
|
|
263
|
+
parameters: [
|
|
264
|
+
{
|
|
265
|
+
name: "appId",
|
|
266
|
+
in: "path",
|
|
267
|
+
required: true
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: "version",
|
|
271
|
+
in: "path",
|
|
272
|
+
required: true
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
requestBody: {
|
|
276
|
+
$ref: "#/components/requestBodies/PatchVersionRequest"
|
|
277
|
+
},
|
|
278
|
+
responses: {}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"/v1/app-configurations/{appId}/versions/{version}/review": {
|
|
282
|
+
get: {
|
|
283
|
+
operationId: "getReview",
|
|
284
|
+
parameters: [
|
|
285
|
+
{
|
|
286
|
+
name: "appId",
|
|
287
|
+
in: "path",
|
|
288
|
+
required: true
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: "version",
|
|
292
|
+
in: "path",
|
|
293
|
+
required: true
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
responses: {}
|
|
297
|
+
},
|
|
298
|
+
post: {
|
|
299
|
+
operationId: "createReview",
|
|
300
|
+
parameters: [
|
|
301
|
+
{
|
|
302
|
+
name: "appId",
|
|
303
|
+
in: "path",
|
|
304
|
+
required: true
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: "version",
|
|
308
|
+
in: "path",
|
|
309
|
+
required: true
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
requestBody: {
|
|
313
|
+
$ref: "#/components/requestBodies/CreateReviewRequest"
|
|
314
|
+
},
|
|
315
|
+
responses: {}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"/v1/app-configurations/{appId}/versions/{version}/components": {
|
|
319
|
+
post: {
|
|
320
|
+
operationId: "createComponent",
|
|
321
|
+
parameters: [
|
|
322
|
+
{
|
|
323
|
+
name: "appId",
|
|
324
|
+
in: "path",
|
|
325
|
+
required: true
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
name: "version",
|
|
329
|
+
in: "path",
|
|
330
|
+
required: true
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
requestBody: {
|
|
334
|
+
$ref: "#/components/requestBodies/UpsertComponentRequest"
|
|
335
|
+
},
|
|
336
|
+
responses: {}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"/v1/app-configurations/{appId}/versions/{version}/components/{componentId}": {
|
|
340
|
+
patch: {
|
|
341
|
+
operationId: "patchComponent",
|
|
342
|
+
parameters: [
|
|
343
|
+
{
|
|
344
|
+
name: "appId",
|
|
345
|
+
in: "path",
|
|
346
|
+
required: true
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
name: "version",
|
|
350
|
+
in: "path",
|
|
351
|
+
required: true
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
name: "componentId",
|
|
355
|
+
in: "path",
|
|
356
|
+
required: true
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
requestBody: {
|
|
360
|
+
$ref: "#/components/requestBodies/UpsertComponentRequest"
|
|
361
|
+
},
|
|
362
|
+
responses: {}
|
|
363
|
+
},
|
|
364
|
+
delete: {
|
|
365
|
+
operationId: "deleteComponent",
|
|
366
|
+
parameters: [
|
|
367
|
+
{
|
|
368
|
+
name: "appId",
|
|
369
|
+
in: "path",
|
|
370
|
+
required: true
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
name: "version",
|
|
374
|
+
in: "path",
|
|
375
|
+
required: true
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
name: "componentId",
|
|
379
|
+
in: "path",
|
|
380
|
+
required: true
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
responses: {}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}": {
|
|
387
|
+
post: {
|
|
388
|
+
operationId: "cloneVersion",
|
|
389
|
+
parameters: [
|
|
390
|
+
{
|
|
391
|
+
name: "appId",
|
|
392
|
+
in: "path",
|
|
393
|
+
required: true
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: "sourceVersion",
|
|
397
|
+
in: "path",
|
|
398
|
+
required: true
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: "targetVersion",
|
|
402
|
+
in: "path",
|
|
403
|
+
required: true
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
responses: {}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"/v1/app": {
|
|
410
|
+
get: {
|
|
411
|
+
operationId: "listInstallations",
|
|
412
|
+
parameters: [
|
|
413
|
+
{
|
|
414
|
+
name: "componentType",
|
|
415
|
+
in: "query"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: "enabled",
|
|
419
|
+
in: "query"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: "page",
|
|
423
|
+
in: "query"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: "pageSize",
|
|
427
|
+
in: "query"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
responses: {}
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"/v1/app/{appId}": {
|
|
434
|
+
get: {
|
|
435
|
+
operationId: "getInstallation",
|
|
436
|
+
parameters: [
|
|
437
|
+
{
|
|
438
|
+
name: "appId",
|
|
439
|
+
in: "path",
|
|
440
|
+
required: true
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
responses: {}
|
|
444
|
+
},
|
|
445
|
+
post: {
|
|
446
|
+
operationId: "install",
|
|
447
|
+
parameters: [
|
|
448
|
+
{
|
|
449
|
+
name: "appId",
|
|
450
|
+
in: "path",
|
|
451
|
+
required: true
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
requestBody: {
|
|
455
|
+
$ref: "#/components/requestBodies/InstallRequest"
|
|
456
|
+
},
|
|
457
|
+
responses: {}
|
|
458
|
+
},
|
|
459
|
+
patch: {
|
|
460
|
+
operationId: "patchInstallation",
|
|
461
|
+
parameters: [
|
|
462
|
+
{
|
|
463
|
+
name: "appId",
|
|
464
|
+
in: "path",
|
|
465
|
+
required: true
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
requestBody: {
|
|
469
|
+
$ref: "#/components/requestBodies/InstallRequest"
|
|
470
|
+
},
|
|
471
|
+
responses: {}
|
|
472
|
+
},
|
|
473
|
+
delete: {
|
|
474
|
+
operationId: "uninstall",
|
|
475
|
+
parameters: [
|
|
476
|
+
{
|
|
477
|
+
name: "appId",
|
|
478
|
+
in: "path",
|
|
479
|
+
required: true
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
responses: {}
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"/v1/app/{appId}/promote-to/{version}": {
|
|
486
|
+
post: {
|
|
487
|
+
operationId: "promoteVersion",
|
|
488
|
+
parameters: [
|
|
489
|
+
{
|
|
490
|
+
name: "appId",
|
|
491
|
+
in: "path",
|
|
492
|
+
required: true
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
name: "version",
|
|
496
|
+
in: "path",
|
|
497
|
+
required: true
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
responses: {}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"/v1/app-events": {
|
|
504
|
+
post: {
|
|
505
|
+
operationId: "ingestEvent",
|
|
506
|
+
requestBody: {
|
|
507
|
+
required: true,
|
|
508
|
+
content: {
|
|
509
|
+
"application/json": {}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
responses: {}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
components: {
|
|
517
|
+
requestBodies: {
|
|
518
|
+
CreateReviewRequest: {
|
|
519
|
+
required: true,
|
|
520
|
+
content: {
|
|
521
|
+
"application/json": {}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
CreateLogoPresignedRequest: {
|
|
525
|
+
required: true,
|
|
526
|
+
content: {
|
|
527
|
+
"application/json": {}
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
CreateBundlePresignedRequest: {
|
|
531
|
+
required: true,
|
|
532
|
+
content: {
|
|
533
|
+
"application/json": {}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
PatchConfigMetadataRequest: {
|
|
537
|
+
required: true,
|
|
538
|
+
content: {
|
|
539
|
+
"application/json": {}
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
PatchVersionRequest: {
|
|
543
|
+
required: true,
|
|
544
|
+
content: {
|
|
545
|
+
"application/json": {}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
UpsertComponentRequest: {
|
|
549
|
+
required: true,
|
|
550
|
+
content: {
|
|
551
|
+
"application/json": {}
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
CreateConfigRequest: {
|
|
555
|
+
required: true,
|
|
556
|
+
content: {
|
|
557
|
+
"application/json": {}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
InstallRequest: {
|
|
561
|
+
content: {
|
|
562
|
+
"application/json": {}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
};
|
|
568
|
+
}
|
|
569
|
+
});
|
|
6
570
|
|
|
7
571
|
// src/apis/app.ts
|
|
8
|
-
var loadDefinition =
|
|
9
|
-
const mod =
|
|
572
|
+
var loadDefinition = () => {
|
|
573
|
+
const mod = require_app();
|
|
10
574
|
return _nullishCoalesce(mod.default, () => ( mod));
|
|
11
575
|
};
|
|
12
576
|
var _instance = null;
|
|
13
|
-
var resolve =
|
|
577
|
+
var resolve = () => {
|
|
14
578
|
if (!_instance) {
|
|
15
|
-
const definition =
|
|
16
|
-
_instance =
|
|
579
|
+
const definition = loadDefinition();
|
|
580
|
+
_instance = _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition });
|
|
17
581
|
}
|
|
18
582
|
return _instance;
|
|
19
583
|
};
|
|
20
|
-
var _handle =
|
|
584
|
+
var _handle = _chunkD7ICL3AMcjs.createApiHandle.call(void 0, {
|
|
21
585
|
resolveClient: resolve,
|
|
22
|
-
loadDefinition
|
|
586
|
+
createClient: () => _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
23
587
|
});
|
|
24
588
|
var getClient = _handle.getClient;
|
|
25
589
|
var createClient = _handle.createClient;
|
|
@@ -29,4 +593,4 @@ var app = _handle;
|
|
|
29
593
|
|
|
30
594
|
|
|
31
595
|
|
|
32
|
-
exports.app = app; exports.authorize =
|
|
596
|
+
exports.app = app; exports.authorize = _chunkD7ICL3AMcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
package/dist/apis/app.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as ApiHandle } from '../types-
|
|
2
|
-
export { T as TokenArg, a as authorize } from '../types-
|
|
1
|
+
import { A as ApiHandle } from '../types-BwBvJkY_.cjs';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.cjs';
|
|
3
3
|
import { C as Client } from '../app.d-BKyfin-q.cjs';
|
|
4
4
|
export { A as Actor, a as AggregatedEvents, b as AppBridgeSurfaceConfig, c as AppEventData, d as Audit, e as Author, B as BaseComponent, f as BaseComponentCommon, g as BaseCustomActionConfig, h as BatchEventRequest, i as BillingFrequency, j as BlueprintRef, k as BooleanArg, l as CallerIdentity, m as ComponentType, n as Configuration, o as ConfigurationMetadata, p as ConfigurationVersion, q as CustomCapabilityComponent, r as CustomFlowActionComponent, s as CustomFlowConfig, t as CustomPageComponent, u as CustomPageConfig, E as EnumArg, v as ErpInformToolkitComponent, w as EventsQuery, x as EventsQueryResponse, y as ExternalIntegrationCustomActionConfig, z as ExternalProductCatalogAuthBlock, D as ExternalProductCatalogComponent, F as ExternalProductCatalogConfig, G as ExternalProductCatalogHookProductRecommendations, H as ExternalProductCatalogHookProducts, I as Grants, J as Installation, K as JourneyBlockComponent, L as JourneyBlockComponentArgs, M as JourneyBlockConfig, N as NotificationConfig, Q as NotificationEvent, O as OperationMethods, R as Option, S as Options, T as OptionsRef, U as OverrideDevMode, P as PathsDictionary, V as PortalBlockComponent, W as PortalBlockConfig, X as PortalBlockSurfaceConfig, Y as PortalExtensionAuthBlock, Z as PortalExtensionComponent, _ as PortalExtensionConfig, $ as PortalExtensionHookConsumptionDataRetrieval, a0 as PortalExtensionHookContractIdentification, a1 as PortalExtensionHookCostDataRetrieval, a2 as PortalExtensionHookMeterReadingPlausibilityCheck, a3 as PortalExtensionHookPriceDataRetrieval, a4 as PortalExtensionHookRegistrationIdentifiersCheck, a5 as PortalExtensionSeamlessLink, a6 as Pricing, a7 as PublicConfiguration, a8 as RawEvents, a9 as Review, aa as Role, ab as S3Reference, ac as SandboxCustomActionConfig, ad as TextArg, ae as TranslatedString } from '../app.d-BKyfin-q.cjs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
|
8
8
|
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
-
declare const getClient: () =>
|
|
9
|
+
declare const getClient: () => Client;
|
|
10
10
|
/** Create a fresh client instance (not cached) */
|
|
11
|
-
declare const createClient: () =>
|
|
11
|
+
declare const createClient: () => Client;
|
|
12
12
|
/**
|
|
13
13
|
* API handle — also exposes operations directly:
|
|
14
14
|
* `app.someOperation(...)` calls forwarded to lazy singleton
|
package/dist/apis/app.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as ApiHandle } from '../types-
|
|
2
|
-
export { T as TokenArg, a as authorize } from '../types-
|
|
1
|
+
import { A as ApiHandle } from '../types-BwBvJkY_.js';
|
|
2
|
+
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.js';
|
|
3
3
|
import { C as Client } from '../app.d-BKyfin-q.js';
|
|
4
4
|
export { A as Actor, a as AggregatedEvents, b as AppBridgeSurfaceConfig, c as AppEventData, d as Audit, e as Author, B as BaseComponent, f as BaseComponentCommon, g as BaseCustomActionConfig, h as BatchEventRequest, i as BillingFrequency, j as BlueprintRef, k as BooleanArg, l as CallerIdentity, m as ComponentType, n as Configuration, o as ConfigurationMetadata, p as ConfigurationVersion, q as CustomCapabilityComponent, r as CustomFlowActionComponent, s as CustomFlowConfig, t as CustomPageComponent, u as CustomPageConfig, E as EnumArg, v as ErpInformToolkitComponent, w as EventsQuery, x as EventsQueryResponse, y as ExternalIntegrationCustomActionConfig, z as ExternalProductCatalogAuthBlock, D as ExternalProductCatalogComponent, F as ExternalProductCatalogConfig, G as ExternalProductCatalogHookProductRecommendations, H as ExternalProductCatalogHookProducts, I as Grants, J as Installation, K as JourneyBlockComponent, L as JourneyBlockComponentArgs, M as JourneyBlockConfig, N as NotificationConfig, Q as NotificationEvent, O as OperationMethods, R as Option, S as Options, T as OptionsRef, U as OverrideDevMode, P as PathsDictionary, V as PortalBlockComponent, W as PortalBlockConfig, X as PortalBlockSurfaceConfig, Y as PortalExtensionAuthBlock, Z as PortalExtensionComponent, _ as PortalExtensionConfig, $ as PortalExtensionHookConsumptionDataRetrieval, a0 as PortalExtensionHookContractIdentification, a1 as PortalExtensionHookCostDataRetrieval, a2 as PortalExtensionHookMeterReadingPlausibilityCheck, a3 as PortalExtensionHookPriceDataRetrieval, a4 as PortalExtensionHookRegistrationIdentifiersCheck, a5 as PortalExtensionSeamlessLink, a6 as Pricing, a7 as PublicConfiguration, a8 as RawEvents, a9 as Review, aa as Role, ab as S3Reference, ac as SandboxCustomActionConfig, ad as TextArg, ae as TranslatedString } from '../app.d-BKyfin-q.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
|
8
8
|
/** Get the cached singleton client (lazy-initialized on first call) */
|
|
9
|
-
declare const getClient: () =>
|
|
9
|
+
declare const getClient: () => Client;
|
|
10
10
|
/** Create a fresh client instance (not cached) */
|
|
11
|
-
declare const createClient: () =>
|
|
11
|
+
declare const createClient: () => Client;
|
|
12
12
|
/**
|
|
13
13
|
* API handle — also exposes operations directly:
|
|
14
14
|
* `app.someOperation(...)` calls forwarded to lazy singleton
|