@epilot/sdk 2.0.0-alpha.1 → 2.0.0-beta.2
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 +123 -141
- package/dist/apis/access-token.cjs +90 -11
- 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 -7
- package/dist/apis/address-suggestions.cjs +133 -11
- 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 -7
- package/dist/apis/address.cjs +85 -11
- package/dist/apis/address.d.cts +4 -4
- package/dist/apis/address.d.ts +4 -4
- package/dist/apis/address.js +81 -7
- package/dist/apis/ai-agents.cjs +216 -11
- 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 -7
- package/dist/apis/app.cjs +574 -11
- package/dist/apis/app.d.cts +4 -4
- package/dist/apis/app.d.ts +4 -4
- package/dist/apis/app.js +570 -7
- package/dist/apis/audit-logs.cjs +56 -11
- 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 -7
- package/dist/apis/automation.cjs +283 -11
- package/dist/apis/automation.d.cts +4 -4
- package/dist/apis/automation.d.ts +4 -4
- package/dist/apis/automation.js +279 -7
- package/dist/apis/billing.cjs +176 -11
- package/dist/apis/billing.d.cts +4 -4
- package/dist/apis/billing.d.ts +4 -4
- package/dist/apis/billing.js +172 -7
- package/dist/apis/blueprint-manifest.cjs +505 -11
- 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 -7
- package/dist/apis/consent.cjs +85 -11
- package/dist/apis/consent.d.cts +4 -4
- package/dist/apis/consent.d.ts +4 -4
- package/dist/apis/consent.js +81 -7
- package/dist/apis/customer-portal.cjs +2253 -11
- 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 -7
- package/dist/apis/data-management.cjs +241 -11
- 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 -7
- package/dist/apis/deduplication.cjs +43 -11
- package/dist/apis/deduplication.d.cts +4 -4
- package/dist/apis/deduplication.d.ts +4 -4
- package/dist/apis/deduplication.js +39 -7
- package/dist/apis/design.cjs +220 -11
- package/dist/apis/design.d.cts +4 -4
- package/dist/apis/design.d.ts +4 -4
- package/dist/apis/design.js +216 -7
- package/dist/apis/document.cjs +79 -11
- package/dist/apis/document.d.cts +4 -4
- package/dist/apis/document.d.ts +4 -4
- package/dist/apis/document.js +75 -7
- package/dist/apis/email-settings.cjs +534 -11
- 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 -7
- package/dist/apis/email-template.cjs +123 -11
- 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 -7
- package/dist/apis/entity-mapping.cjs +216 -11
- 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 -7
- package/dist/apis/entity.cjs +1601 -11
- package/dist/apis/entity.d.cts +4 -4
- package/dist/apis/entity.d.ts +4 -4
- package/dist/apis/entity.js +1597 -7
- package/dist/apis/environments.cjs +72 -11
- package/dist/apis/environments.d.cts +4 -4
- package/dist/apis/environments.d.ts +4 -4
- package/dist/apis/environments.js +68 -7
- package/dist/apis/erp-integration.cjs +587 -11
- 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 -7
- package/dist/apis/event-catalog.cjs +131 -11
- 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 -7
- package/dist/apis/file.cjs +574 -11
- package/dist/apis/file.d.cts +4 -4
- package/dist/apis/file.d.ts +4 -4
- package/dist/apis/file.js +570 -7
- package/dist/apis/iban.cjs +44 -11
- package/dist/apis/iban.d.cts +4 -4
- package/dist/apis/iban.d.ts +4 -4
- package/dist/apis/iban.js +40 -7
- package/dist/apis/journey.cjs +271 -11
- package/dist/apis/journey.d.cts +4 -4
- package/dist/apis/journey.d.ts +4 -4
- package/dist/apis/journey.js +267 -7
- package/dist/apis/kanban.cjs +165 -11
- package/dist/apis/kanban.d.cts +4 -4
- package/dist/apis/kanban.d.ts +4 -4
- package/dist/apis/kanban.js +161 -7
- package/dist/apis/message.cjs +674 -11
- package/dist/apis/message.d.cts +4 -4
- package/dist/apis/message.d.ts +4 -4
- package/dist/apis/message.js +670 -7
- package/dist/apis/metering.cjs +400 -11
- package/dist/apis/metering.d.cts +4 -4
- package/dist/apis/metering.d.ts +4 -4
- package/dist/apis/metering.js +396 -7
- package/dist/apis/notes.cjs +220 -11
- package/dist/apis/notes.d.cts +4 -4
- package/dist/apis/notes.d.ts +4 -4
- package/dist/apis/notes.js +216 -7
- package/dist/apis/notification.cjs +238 -11
- package/dist/apis/notification.d.cts +4 -4
- package/dist/apis/notification.d.ts +4 -4
- package/dist/apis/notification.js +234 -7
- package/dist/apis/organization.cjs +119 -11
- package/dist/apis/organization.d.cts +4 -4
- package/dist/apis/organization.d.ts +4 -4
- package/dist/apis/organization.js +115 -7
- package/dist/apis/partner-directory.cjs +283 -11
- 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 -7
- package/dist/apis/permissions.cjs +179 -11
- package/dist/apis/permissions.d.cts +4 -4
- package/dist/apis/permissions.d.ts +4 -4
- package/dist/apis/permissions.js +175 -7
- package/dist/apis/pricing-tier.cjs +40 -14
- 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 -7
- package/dist/apis/pricing.cjs +440 -11
- package/dist/apis/pricing.d.cts +4 -4
- package/dist/apis/pricing.d.ts +4 -4
- package/dist/apis/pricing.js +436 -7
- package/dist/apis/purpose.cjs +181 -11
- package/dist/apis/purpose.d.cts +4 -4
- package/dist/apis/purpose.d.ts +4 -4
- package/dist/apis/purpose.js +177 -7
- package/dist/apis/sandbox.cjs +101 -11
- package/dist/apis/sandbox.d.cts +4 -4
- package/dist/apis/sandbox.d.ts +4 -4
- package/dist/apis/sandbox.js +97 -7
- package/dist/apis/submission.cjs +56 -11
- package/dist/apis/submission.d.cts +4 -4
- package/dist/apis/submission.d.ts +4 -4
- package/dist/apis/submission.js +52 -7
- package/dist/apis/targeting.cjs +276 -11
- package/dist/apis/targeting.d.cts +4 -4
- package/dist/apis/targeting.d.ts +4 -4
- package/dist/apis/targeting.js +272 -7
- package/dist/apis/template-variables.cjs +160 -11
- 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 -7
- package/dist/apis/user.cjs +489 -11
- package/dist/apis/user.d.cts +4 -4
- package/dist/apis/user.d.ts +4 -4
- package/dist/apis/user.js +485 -7
- package/dist/apis/validation-rules.cjs +121 -11
- 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 -7
- package/dist/apis/webhooks.cjs +253 -11
- package/dist/apis/webhooks.d.cts +4 -4
- package/dist/apis/webhooks.d.ts +4 -4
- package/dist/apis/webhooks.js +249 -7
- package/dist/apis/workflow-definition.cjs +343 -11
- 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 -7
- package/dist/apis/workflow.cjs +403 -11
- package/dist/apis/workflow.d.cts +4 -4
- package/dist/apis/workflow.d.ts +4 -4
- package/dist/apis/workflow.js +399 -7
- package/dist/{chunk-YYLPAGF4.cjs → chunk-D7ICL3AM.cjs} +20 -9
- package/dist/{chunk-UCDXDIUX.js → chunk-DGCGLG7G.js} +18 -7
- package/dist/index.cjs +68 -220
- package/dist/index.d.cts +67 -69
- package/dist/index.d.ts +67 -69
- package/dist/index.js +66 -218
- package/dist/{types-C5cGIwtq.d.cts → types-BwBvJkY_.d.cts} +12 -6
- package/dist/{types-C5cGIwtq.d.ts → types-BwBvJkY_.d.ts} +12 -6
- package/package.json +3 -7
- package/dist/access-token-MYDOBCIY.cjs +0 -89
- package/dist/access-token-Y5JR7PRG.js +0 -89
- package/dist/address-3RQRG3MK.js +0 -84
- package/dist/address-LQUTDOUA.cjs +0 -84
- package/dist/address-suggestions-PEKSA7B2.cjs +0 -132
- package/dist/address-suggestions-QNK5JWNH.js +0 -132
- package/dist/ai-agents-MO4PK2RJ.cjs +0 -215
- package/dist/ai-agents-OHP2F243.js +0 -215
- package/dist/apis/discussion.cjs +0 -33
- package/dist/apis/discussion.d.cts +0 -18
- package/dist/apis/discussion.d.ts +0 -18
- package/dist/apis/discussion.js +0 -33
- package/dist/app-UUTBO3WJ.js +0 -573
- package/dist/app-XJGY6SHO.cjs +0 -573
- package/dist/audit-logs-4IJYIOXF.js +0 -55
- package/dist/audit-logs-UWLCPBB4.cjs +0 -55
- package/dist/automation-4UQADTDO.cjs +0 -282
- package/dist/automation-PVXTQLZX.js +0 -282
- package/dist/billing-FI4V4UX5.cjs +0 -175
- package/dist/billing-OMWNJHGW.js +0 -175
- package/dist/blueprint-manifest-CPQAL76N.cjs +0 -504
- package/dist/blueprint-manifest-FIMGDHSH.js +0 -504
- package/dist/chunk-3RG5ZIWI.js +0 -10
- package/dist/chunk-OBGZSXTJ.cjs +0 -10
- package/dist/consent-NHDCDJMK.js +0 -84
- package/dist/consent-R5GU3WCK.cjs +0 -84
- package/dist/customer-portal-6AV2W43T.cjs +0 -2252
- package/dist/customer-portal-EY57GJYV.js +0 -2252
- package/dist/data-management-ILQUYNTN.cjs +0 -240
- package/dist/data-management-QMXOLOEG.js +0 -240
- package/dist/deduplication-IVXANO7S.cjs +0 -42
- package/dist/deduplication-WN45DVK3.js +0 -42
- package/dist/design-ONRLY6XI.cjs +0 -219
- package/dist/design-UHMRO3PG.js +0 -219
- package/dist/discussion-4CZIG3ZM.cjs +0 -134
- package/dist/discussion-VWMWL2AF.js +0 -134
- package/dist/discussion.d-DQucoYl_.d.cts +0 -579
- package/dist/discussion.d-DQucoYl_.d.ts +0 -579
- package/dist/document-CN3JNXFF.js +0 -78
- package/dist/document-PCKNZA4K.cjs +0 -78
- package/dist/email-settings-ANURQMKZ.js +0 -533
- package/dist/email-settings-YE2XB2ZU.cjs +0 -533
- package/dist/email-template-4QI4YS4J.js +0 -122
- package/dist/email-template-BUJBC6HH.cjs +0 -122
- package/dist/entity-BCFE3UJT.cjs +0 -1600
- package/dist/entity-VEXNQC4Y.js +0 -1600
- package/dist/entity-mapping-PHRLSYP7.cjs +0 -215
- package/dist/entity-mapping-QK7MGNAW.js +0 -215
- package/dist/environments-266S44UM.cjs +0 -71
- package/dist/environments-AV7W6SLT.js +0 -71
- package/dist/erp-integration-5WNBCGWS.cjs +0 -586
- package/dist/erp-integration-EMI5WIWA.js +0 -586
- package/dist/event-catalog-DBWYKQ6J.cjs +0 -130
- package/dist/event-catalog-KKMXV5LB.js +0 -130
- package/dist/file-3ZLMS6TL.js +0 -573
- package/dist/file-Q66N5XMG.cjs +0 -573
- package/dist/iban-HSXVSIFW.cjs +0 -43
- package/dist/iban-Q27INTOC.js +0 -43
- package/dist/journey-DGKXVWZQ.js +0 -270
- package/dist/journey-T2Y72EBS.cjs +0 -270
- package/dist/kanban-A4B6RCJ2.cjs +0 -164
- package/dist/kanban-PP6WJVT2.js +0 -164
- package/dist/message-D6JY4GJH.cjs +0 -673
- package/dist/message-HFX2DDCV.js +0 -673
- package/dist/metering-63MJFCS2.cjs +0 -399
- package/dist/metering-F63PNFCZ.js +0 -399
- package/dist/notes-FTL5H4JE.cjs +0 -219
- package/dist/notes-GMWTQCMB.js +0 -219
- package/dist/notification-WXFSOORN.cjs +0 -237
- package/dist/notification-XHG3TIBW.js +0 -237
- package/dist/organization-CPXTUDJO.js +0 -118
- package/dist/organization-XIFV7MWP.cjs +0 -118
- package/dist/partner-directory-4WCHPJRO.js +0 -282
- package/dist/partner-directory-FKWPPO7F.cjs +0 -282
- package/dist/permissions-5E36GPG3.js +0 -178
- package/dist/permissions-PBTK5CCD.cjs +0 -178
- package/dist/pricing-FDWEBIQU.js +0 -439
- package/dist/pricing-FZQKL4DW.cjs +0 -439
- package/dist/pricing-tier-34O624R4.js +0 -36
- package/dist/pricing-tier-F4HE6WIM.cjs +0 -36
- package/dist/purpose-47HJIG2Q.cjs +0 -180
- package/dist/purpose-MX33NU5H.js +0 -180
- package/dist/sandbox-7QNLGFN2.cjs +0 -100
- package/dist/sandbox-TZCXHBJN.js +0 -100
- package/dist/submission-6LSPBI27.js +0 -55
- package/dist/submission-DBQNDJ4B.cjs +0 -55
- package/dist/targeting-HZRCLNIF.cjs +0 -275
- package/dist/targeting-MTQ6JBCY.js +0 -275
- package/dist/template-variables-S6IXK7SF.js +0 -159
- package/dist/template-variables-VPNIMC7L.cjs +0 -159
- package/dist/user-BHH4DAA5.cjs +0 -488
- package/dist/user-KBXFVRPI.js +0 -488
- package/dist/validation-rules-4V7KAWGW.cjs +0 -120
- package/dist/validation-rules-UGQY4ASY.js +0 -120
- package/dist/webhooks-JR475VD4.js +0 -252
- package/dist/webhooks-X64U3KCB.cjs +0 -252
- package/dist/workflow-7ANPQZDP.cjs +0 -402
- package/dist/workflow-DWSAHA5Q.js +0 -402
- package/dist/workflow-definition-2M3JBCUI.cjs +0 -342
- package/dist/workflow-definition-WLPGEU55.js +0 -342
package/dist/apis/pricing.cjs
CHANGED
|
@@ -1,26 +1,455 @@
|
|
|
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
|
-
|
|
6
|
-
require('../chunk-
|
|
5
|
+
|
|
6
|
+
var _chunkD7ICL3AMcjs = require('../chunk-D7ICL3AM.cjs');
|
|
7
|
+
|
|
8
|
+
// src/definitions/pricing.json
|
|
9
|
+
var require_pricing = _chunkD7ICL3AMcjs.__commonJS.call(void 0, {
|
|
10
|
+
"src/definitions/pricing.json"(exports, module) {
|
|
11
|
+
module.exports = {
|
|
12
|
+
openapi: "3.0.3",
|
|
13
|
+
info: {
|
|
14
|
+
title: "",
|
|
15
|
+
version: ""
|
|
16
|
+
},
|
|
17
|
+
servers: [
|
|
18
|
+
{
|
|
19
|
+
url: "https://pricing-api.sls.epilot.io"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
paths: {
|
|
23
|
+
"/v1/pricing:compute": {
|
|
24
|
+
post: {
|
|
25
|
+
operationId: "$calculatePricingDetails",
|
|
26
|
+
requestBody: {
|
|
27
|
+
required: false,
|
|
28
|
+
content: {
|
|
29
|
+
"application/json": {}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
responses: {}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"/v1/order": {
|
|
36
|
+
post: {
|
|
37
|
+
operationId: "createOrder",
|
|
38
|
+
requestBody: {
|
|
39
|
+
required: true,
|
|
40
|
+
content: {
|
|
41
|
+
"application/json": {}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
responses: {}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"/v1/order/{id}": {
|
|
48
|
+
put: {
|
|
49
|
+
operationId: "putOrder",
|
|
50
|
+
parameters: [
|
|
51
|
+
{
|
|
52
|
+
in: "path",
|
|
53
|
+
name: "id",
|
|
54
|
+
required: true
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
requestBody: {
|
|
58
|
+
required: true,
|
|
59
|
+
content: {
|
|
60
|
+
"application/json": {}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
responses: {}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"/v1/public/cart:checkout": {
|
|
67
|
+
post: {
|
|
68
|
+
operationId: "$checkoutCart",
|
|
69
|
+
parameters: [
|
|
70
|
+
{
|
|
71
|
+
in: "header",
|
|
72
|
+
name: "X-Ivy-Org-ID",
|
|
73
|
+
required: true
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
requestBody: {
|
|
77
|
+
required: true,
|
|
78
|
+
content: {
|
|
79
|
+
"application/json": {}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
responses: {}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"/v1/public/catalog": {
|
|
86
|
+
post: {
|
|
87
|
+
operationId: "$searchCatalog",
|
|
88
|
+
parameters: [
|
|
89
|
+
{
|
|
90
|
+
in: "header",
|
|
91
|
+
name: "X-Ivy-Org-ID"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
in: "header",
|
|
95
|
+
name: "Authorization"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
requestBody: {
|
|
99
|
+
required: true,
|
|
100
|
+
content: {
|
|
101
|
+
"application/json": {}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
responses: {}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"/v1/catalog": {
|
|
108
|
+
post: {
|
|
109
|
+
operationId: "$privateSearchCatalog",
|
|
110
|
+
requestBody: {
|
|
111
|
+
required: true,
|
|
112
|
+
content: {
|
|
113
|
+
"application/json": {}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
responses: {}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"/v1/public/validate-promo-codes": {
|
|
120
|
+
post: {
|
|
121
|
+
operationId: "$validatePromoCodes",
|
|
122
|
+
parameters: [
|
|
123
|
+
{
|
|
124
|
+
in: "header",
|
|
125
|
+
name: "X-Ivy-Org-ID",
|
|
126
|
+
required: true
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
requestBody: {
|
|
130
|
+
required: true,
|
|
131
|
+
content: {
|
|
132
|
+
"application/json": {}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
responses: {}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"/v1/public/availability:check": {
|
|
139
|
+
post: {
|
|
140
|
+
operationId: "$availabilityCheck",
|
|
141
|
+
parameters: [
|
|
142
|
+
{
|
|
143
|
+
in: "header",
|
|
144
|
+
name: "X-Ivy-Org-ID",
|
|
145
|
+
required: true
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
requestBody: {
|
|
149
|
+
required: true,
|
|
150
|
+
content: {
|
|
151
|
+
"application/json": {}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
responses: {}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"/v1/validate-availability/{id}": {
|
|
158
|
+
get: {
|
|
159
|
+
operationId: "$validateAvailabilityFile",
|
|
160
|
+
parameters: [
|
|
161
|
+
{
|
|
162
|
+
in: "path",
|
|
163
|
+
name: "id",
|
|
164
|
+
required: true
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
in: "header",
|
|
168
|
+
name: "X-Epilot-Org-ID",
|
|
169
|
+
required: true
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
responses: {}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"/v1/public/historicMarketPrices": {
|
|
176
|
+
get: {
|
|
177
|
+
operationId: "$historicMarketPrices",
|
|
178
|
+
parameters: [
|
|
179
|
+
{
|
|
180
|
+
in: "query",
|
|
181
|
+
name: "market",
|
|
182
|
+
required: true
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
in: "query",
|
|
186
|
+
name: "bidding_zone",
|
|
187
|
+
required: true
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
in: "query",
|
|
191
|
+
name: "frequency",
|
|
192
|
+
required: true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
in: "query",
|
|
196
|
+
name: "from",
|
|
197
|
+
required: true
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
in: "query",
|
|
201
|
+
name: "to",
|
|
202
|
+
required: true
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
responses: {}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"/v1/public/averageMarketPrice": {
|
|
209
|
+
get: {
|
|
210
|
+
operationId: "$averageMarketPrice",
|
|
211
|
+
parameters: [
|
|
212
|
+
{
|
|
213
|
+
in: "query",
|
|
214
|
+
name: "market",
|
|
215
|
+
required: true
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
in: "query",
|
|
219
|
+
name: "bidding_zone",
|
|
220
|
+
required: true
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
in: "query",
|
|
224
|
+
name: "from",
|
|
225
|
+
required: true
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
in: "query",
|
|
229
|
+
name: "to",
|
|
230
|
+
required: true
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
responses: {}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"/v1/public/integration/{integrationId}/products": {
|
|
237
|
+
post: {
|
|
238
|
+
operationId: "$searchExternalProducts",
|
|
239
|
+
parameters: [
|
|
240
|
+
{
|
|
241
|
+
in: "path",
|
|
242
|
+
name: "integrationId",
|
|
243
|
+
required: true
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
requestBody: {
|
|
247
|
+
required: true,
|
|
248
|
+
content: {
|
|
249
|
+
"application/json": {}
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
responses: {}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"/v1/public/integration/{integrationId}/product-recommendations": {
|
|
256
|
+
post: {
|
|
257
|
+
operationId: "$searchExternalProductRecommendations",
|
|
258
|
+
parameters: [
|
|
259
|
+
{
|
|
260
|
+
in: "path",
|
|
261
|
+
name: "integrationId",
|
|
262
|
+
required: true
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
requestBody: {
|
|
266
|
+
required: true,
|
|
267
|
+
content: {
|
|
268
|
+
"application/json": {}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
responses: {}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"/v1/public/integration/{integrationId}/providers:search": {
|
|
275
|
+
post: {
|
|
276
|
+
operationId: "$searchProviders",
|
|
277
|
+
parameters: [
|
|
278
|
+
{
|
|
279
|
+
in: "header",
|
|
280
|
+
name: "X-Epilot-Org-ID",
|
|
281
|
+
required: true
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
in: "path",
|
|
285
|
+
name: "integrationId",
|
|
286
|
+
required: true
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
requestBody: {
|
|
290
|
+
required: true,
|
|
291
|
+
content: {
|
|
292
|
+
"application/json": {}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
responses: {}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"/v1/public/integration/{integrationId}/streets:search": {
|
|
299
|
+
post: {
|
|
300
|
+
operationId: "$searchStreets",
|
|
301
|
+
parameters: [
|
|
302
|
+
{
|
|
303
|
+
in: "header",
|
|
304
|
+
name: "X-Epilot-Org-ID",
|
|
305
|
+
required: true
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
in: "path",
|
|
309
|
+
name: "integrationId",
|
|
310
|
+
required: true
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
requestBody: {
|
|
314
|
+
required: true,
|
|
315
|
+
content: {
|
|
316
|
+
"application/json": {}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
responses: {}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"/v1/public/integration/{integrationId}/compute-price": {
|
|
323
|
+
post: {
|
|
324
|
+
operationId: "$computePrice",
|
|
325
|
+
parameters: [
|
|
326
|
+
{
|
|
327
|
+
in: "header",
|
|
328
|
+
name: "X-Epilot-Org-ID",
|
|
329
|
+
required: true
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
in: "path",
|
|
333
|
+
name: "integrationId",
|
|
334
|
+
required: true
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
requestBody: {
|
|
338
|
+
content: {
|
|
339
|
+
"application/json": {}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
responses: {}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"/v1/integration/{integrationId}/credentials": {
|
|
346
|
+
get: {
|
|
347
|
+
operationId: "$getCredentials",
|
|
348
|
+
parameters: [
|
|
349
|
+
{
|
|
350
|
+
in: "path",
|
|
351
|
+
name: "integrationId",
|
|
352
|
+
required: true
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
responses: {}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"/v1/integration/{integrationId}/credentials:save": {
|
|
359
|
+
put: {
|
|
360
|
+
operationId: "$saveCredentials",
|
|
361
|
+
parameters: [
|
|
362
|
+
{
|
|
363
|
+
in: "path",
|
|
364
|
+
name: "integrationId",
|
|
365
|
+
required: true
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
requestBody: {
|
|
369
|
+
content: {
|
|
370
|
+
"application/json": {}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
responses: {}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"/v1/integration/{integrationId}/credentials:delete": {
|
|
377
|
+
delete: {
|
|
378
|
+
operationId: "$deleteCredentials",
|
|
379
|
+
parameters: [
|
|
380
|
+
{
|
|
381
|
+
in: "path",
|
|
382
|
+
name: "integrationId",
|
|
383
|
+
required: true
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
responses: {}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"/v1/public/external-catalog/products": {
|
|
390
|
+
post: {
|
|
391
|
+
operationId: "$getExternalCatalogProducts",
|
|
392
|
+
requestBody: {
|
|
393
|
+
required: true,
|
|
394
|
+
content: {
|
|
395
|
+
"application/json": {}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
responses: {}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"/v1/public/external-catalog/product-recommendations": {
|
|
402
|
+
post: {
|
|
403
|
+
operationId: "$getExternalCatalogProductRecommendations",
|
|
404
|
+
requestBody: {
|
|
405
|
+
required: true,
|
|
406
|
+
content: {
|
|
407
|
+
"application/json": {}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
responses: {}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"/v1/public/product-recommendations": {
|
|
414
|
+
post: {
|
|
415
|
+
operationId: "$productRecommendations",
|
|
416
|
+
parameters: [
|
|
417
|
+
{
|
|
418
|
+
in: "header",
|
|
419
|
+
name: "X-Ivy-Org-ID"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
requestBody: {
|
|
423
|
+
required: true,
|
|
424
|
+
content: {
|
|
425
|
+
"application/json": {}
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
responses: {}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
components: {}
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
});
|
|
7
436
|
|
|
8
437
|
// src/apis/pricing.ts
|
|
9
|
-
var loadDefinition =
|
|
10
|
-
const mod =
|
|
438
|
+
var loadDefinition = () => {
|
|
439
|
+
const mod = require_pricing();
|
|
11
440
|
return _nullishCoalesce(mod.default, () => ( mod));
|
|
12
441
|
};
|
|
13
442
|
var _instance = null;
|
|
14
|
-
var resolve =
|
|
443
|
+
var resolve = () => {
|
|
15
444
|
if (!_instance) {
|
|
16
|
-
const definition =
|
|
17
|
-
_instance =
|
|
445
|
+
const definition = loadDefinition();
|
|
446
|
+
_instance = _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition });
|
|
18
447
|
}
|
|
19
448
|
return _instance;
|
|
20
449
|
};
|
|
21
|
-
var _handle =
|
|
450
|
+
var _handle = _chunkD7ICL3AMcjs.createApiHandle.call(void 0, {
|
|
22
451
|
resolveClient: resolve,
|
|
23
|
-
loadDefinition
|
|
452
|
+
createClient: () => _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
24
453
|
});
|
|
25
454
|
var getClient = _handle.getClient;
|
|
26
455
|
var createClient = _handle.createClient;
|
|
@@ -30,4 +459,4 @@ var pricing = _handle;
|
|
|
30
459
|
|
|
31
460
|
|
|
32
461
|
|
|
33
|
-
exports.authorize =
|
|
462
|
+
exports.authorize = _chunkD7ICL3AMcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.pricing = pricing;
|
package/dist/apis/pricing.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 '../pricing.d-Ehb2JuKY.cjs';
|
|
4
4
|
export { A as Address, a as Amounts, b as AvailabilityCheckParams, c as AvailabilityFilters, d as AvailabilityLocation, e as AvailabilityResult, f as AverageMarketPriceRecord, g as AverageMarketPriceResult, B as BaseCompositePrice, h as BaseCouponCommon, i as BaseMarketPriceRecord, j as BasePriceItem, k as BasePriceItemCommon, l as BasePriceItemDto, m as BasicAuthCredentials, n as BasicAuthIntegration, o as BillingPeriod, p as CartDto, q as CashbackAmount, r as CashbackAmounts, s as CashbackPeriod, t as CatalogSearch, u as CatalogSearchResult, v as CheckoutCart, w as CheckoutCartResult, x as CheckoutMode, y as CompositePrice, z as CompositePriceItem, D as CompositePriceItemDto, E as ComputePriceParams, F as ComputePriceParamsBase, G as ComputePriceParamsGas, H as ComputePriceParamsPower, I as ComputePriceResult, J as ComputedBasePrice, K as ComputedPriceBreakdown, L as ComputedPriceComponents, M as ConsumptionTypeGetAg, N as Coupon, Q as CouponItem, R as CouponWithoutPromoCodes, S as Currency, T as CustomContext, U as Customer, V as DiscountAmounts, W as DynamicTariffInterval, X as DynamicTariffMode, Y as EntityId, Z as EntityItem, _ as EntityRelation, $ as Error, a0 as ExternalCatalogConfigurationRequest, a1 as ExternalCatalogCustomRequest, a2 as ExternalCatalogItem, a3 as ExternalCatalogJourneyRequest, a4 as ExternalCatalogPortalRequest, a5 as ExternalCatalogRequest, a6 as ExternalFeeMapping, a7 as ExternalFeeMappings, a8 as ExternalFeeMetadata, a9 as ExternalPriceMetadata, aa as File, ab as GasConcessionType, ac as HistoricMarketPriceRecord, ad as HistoricMarketPricesResult, ae as HydratedCompositePrice, af as IntegrationAuthCredentials, ag as IntegrationCredentialsResult, ah as IntegrationId, ai as JourneyContext, aj as MarkupPricingModel, ak as MetaData, al as NonHydratedCompositePrice, am as OAuthCredentials, an as OAuthIntegration, ao as Offer, O as OperationMethods, ap as Opportunity, aq as OpportunitySource, ar as Order, as as OrderPayload, at as OrderRelation, au as OrderSource, av as OrderStatus, P as PathsDictionary, aw as PaymentMethod, ax as PortalContext, ay as PowerMeterType, az as Price, aA as PriceAmounts, aB as PriceComponentRelation, aC as PriceConditions, aD as PriceDynamicTariff, aE as PriceGetAg, aF as PriceInputMapping, aG as PriceInputMappings, aH as PriceItem, aI as PriceItemDto, aJ as PriceItemDtoUnion, aK as PriceItems, aL as PriceItemsDto, aM as PriceTier, aN as PriceTierDisplayMode, aO as PricingDetails, aP as PricingDetailsResponse, aQ as PricingModel, aR as Product, aS as ProductCategory, aT as ProductRecommendation, aU as ProductRecommendationResponse, aV as ProductRecommendationSearch, aW as PromoCode, aX as PromoCodeValidationResponse, aY as Provider, aZ as RecurrenceAmount, a_ as RecurrenceAmountDto, a$ as RecurrenceAmountWithTax, b0 as RedeemedPromo, b1 as SalesTax, b2 as SaveIntegrationCredentialsParams, b3 as SearchExternalCatalogParams, b4 as SearchExternalCatalogRecommendationsResult, b5 as SearchExternalCatalogResult, b6 as SearchProvidersParams, b7 as SearchProvidersResult, b8 as SearchStreetsParams, b9 as SearchStreetsResult, ba as SignatureMeta, bb as SpotMarketBiddingZone, bc as SpotMarketDataFrequency, bd as SpotMarketType, be as Street, bf as TariffTypeGetAg, bg as Tax, bh as TaxAmount, bi as TaxAmountBreakdown, bj as TaxAmountDto, bk as TaxBreakdownInfo, bl as TierDetails, bm as TotalDetails, bn as TypeGetAg, bo as ValidateAvailabilityFileError, bp as ValidateAvailabilityFileResult } from '../pricing.d-Ehb2JuKY.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
|
* `pricing.someOperation(...)` calls forwarded to lazy singleton
|
package/dist/apis/pricing.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 '../pricing.d-Ehb2JuKY.js';
|
|
4
4
|
export { A as Address, a as Amounts, b as AvailabilityCheckParams, c as AvailabilityFilters, d as AvailabilityLocation, e as AvailabilityResult, f as AverageMarketPriceRecord, g as AverageMarketPriceResult, B as BaseCompositePrice, h as BaseCouponCommon, i as BaseMarketPriceRecord, j as BasePriceItem, k as BasePriceItemCommon, l as BasePriceItemDto, m as BasicAuthCredentials, n as BasicAuthIntegration, o as BillingPeriod, p as CartDto, q as CashbackAmount, r as CashbackAmounts, s as CashbackPeriod, t as CatalogSearch, u as CatalogSearchResult, v as CheckoutCart, w as CheckoutCartResult, x as CheckoutMode, y as CompositePrice, z as CompositePriceItem, D as CompositePriceItemDto, E as ComputePriceParams, F as ComputePriceParamsBase, G as ComputePriceParamsGas, H as ComputePriceParamsPower, I as ComputePriceResult, J as ComputedBasePrice, K as ComputedPriceBreakdown, L as ComputedPriceComponents, M as ConsumptionTypeGetAg, N as Coupon, Q as CouponItem, R as CouponWithoutPromoCodes, S as Currency, T as CustomContext, U as Customer, V as DiscountAmounts, W as DynamicTariffInterval, X as DynamicTariffMode, Y as EntityId, Z as EntityItem, _ as EntityRelation, $ as Error, a0 as ExternalCatalogConfigurationRequest, a1 as ExternalCatalogCustomRequest, a2 as ExternalCatalogItem, a3 as ExternalCatalogJourneyRequest, a4 as ExternalCatalogPortalRequest, a5 as ExternalCatalogRequest, a6 as ExternalFeeMapping, a7 as ExternalFeeMappings, a8 as ExternalFeeMetadata, a9 as ExternalPriceMetadata, aa as File, ab as GasConcessionType, ac as HistoricMarketPriceRecord, ad as HistoricMarketPricesResult, ae as HydratedCompositePrice, af as IntegrationAuthCredentials, ag as IntegrationCredentialsResult, ah as IntegrationId, ai as JourneyContext, aj as MarkupPricingModel, ak as MetaData, al as NonHydratedCompositePrice, am as OAuthCredentials, an as OAuthIntegration, ao as Offer, O as OperationMethods, ap as Opportunity, aq as OpportunitySource, ar as Order, as as OrderPayload, at as OrderRelation, au as OrderSource, av as OrderStatus, P as PathsDictionary, aw as PaymentMethod, ax as PortalContext, ay as PowerMeterType, az as Price, aA as PriceAmounts, aB as PriceComponentRelation, aC as PriceConditions, aD as PriceDynamicTariff, aE as PriceGetAg, aF as PriceInputMapping, aG as PriceInputMappings, aH as PriceItem, aI as PriceItemDto, aJ as PriceItemDtoUnion, aK as PriceItems, aL as PriceItemsDto, aM as PriceTier, aN as PriceTierDisplayMode, aO as PricingDetails, aP as PricingDetailsResponse, aQ as PricingModel, aR as Product, aS as ProductCategory, aT as ProductRecommendation, aU as ProductRecommendationResponse, aV as ProductRecommendationSearch, aW as PromoCode, aX as PromoCodeValidationResponse, aY as Provider, aZ as RecurrenceAmount, a_ as RecurrenceAmountDto, a$ as RecurrenceAmountWithTax, b0 as RedeemedPromo, b1 as SalesTax, b2 as SaveIntegrationCredentialsParams, b3 as SearchExternalCatalogParams, b4 as SearchExternalCatalogRecommendationsResult, b5 as SearchExternalCatalogResult, b6 as SearchProvidersParams, b7 as SearchProvidersResult, b8 as SearchStreetsParams, b9 as SearchStreetsResult, ba as SignatureMeta, bb as SpotMarketBiddingZone, bc as SpotMarketDataFrequency, bd as SpotMarketType, be as Street, bf as TariffTypeGetAg, bg as Tax, bh as TaxAmount, bi as TaxAmountBreakdown, bj as TaxAmountDto, bk as TaxBreakdownInfo, bl as TierDetails, bm as TotalDetails, bn as TypeGetAg, bo as ValidateAvailabilityFileError, bp as ValidateAvailabilityFileResult } from '../pricing.d-Ehb2JuKY.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
|
* `pricing.someOperation(...)` calls forwarded to lazy singleton
|