@epilot/sdk 2.0.3 → 2.0.4

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.
Files changed (202) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4443 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4850 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3376 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15000 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +962 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2627 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1419 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10074 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +5845 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2341 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +929 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +629 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +1718 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1480 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1525 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4106 -0
  93. package/dist/apis/access-token.cjs +7 -7
  94. package/dist/apis/access-token.js +1 -1
  95. package/dist/apis/address-suggestions.cjs +7 -7
  96. package/dist/apis/address-suggestions.js +1 -1
  97. package/dist/apis/address.cjs +7 -7
  98. package/dist/apis/address.js +1 -1
  99. package/dist/apis/ai-agents.cjs +7 -7
  100. package/dist/apis/ai-agents.js +1 -1
  101. package/dist/apis/app.cjs +7 -7
  102. package/dist/apis/app.js +1 -1
  103. package/dist/apis/audit-logs.cjs +7 -7
  104. package/dist/apis/audit-logs.js +1 -1
  105. package/dist/apis/automation.cjs +7 -7
  106. package/dist/apis/automation.js +1 -1
  107. package/dist/apis/billing.cjs +7 -7
  108. package/dist/apis/billing.js +1 -1
  109. package/dist/apis/blueprint-manifest.cjs +7 -7
  110. package/dist/apis/blueprint-manifest.js +1 -1
  111. package/dist/apis/consent.cjs +7 -7
  112. package/dist/apis/consent.js +1 -1
  113. package/dist/apis/customer-portal.cjs +7 -7
  114. package/dist/apis/customer-portal.js +1 -1
  115. package/dist/apis/dashboard.cjs +7 -7
  116. package/dist/apis/dashboard.js +1 -1
  117. package/dist/apis/data-management.cjs +7 -7
  118. package/dist/apis/data-management.d.cts +2 -2
  119. package/dist/apis/data-management.d.ts +2 -2
  120. package/dist/apis/data-management.js +1 -1
  121. package/dist/apis/deduplication.cjs +7 -7
  122. package/dist/apis/deduplication.js +1 -1
  123. package/dist/apis/design.cjs +7 -7
  124. package/dist/apis/design.js +1 -1
  125. package/dist/apis/document.cjs +7 -7
  126. package/dist/apis/document.js +1 -1
  127. package/dist/apis/email-settings.cjs +7 -7
  128. package/dist/apis/email-settings.js +1 -1
  129. package/dist/apis/email-template.cjs +7 -7
  130. package/dist/apis/email-template.js +1 -1
  131. package/dist/apis/entity-mapping.cjs +7 -7
  132. package/dist/apis/entity-mapping.js +1 -1
  133. package/dist/apis/entity.cjs +8 -8
  134. package/dist/apis/entity.d.cts +2 -2
  135. package/dist/apis/entity.d.ts +2 -2
  136. package/dist/apis/entity.js +2 -2
  137. package/dist/apis/environments.cjs +7 -7
  138. package/dist/apis/environments.js +1 -1
  139. package/dist/apis/erp-integration.cjs +7 -7
  140. package/dist/apis/erp-integration.js +1 -1
  141. package/dist/apis/event-catalog.cjs +7 -7
  142. package/dist/apis/event-catalog.js +1 -1
  143. package/dist/apis/file.cjs +7 -7
  144. package/dist/apis/file.js +1 -1
  145. package/dist/apis/iban.cjs +7 -7
  146. package/dist/apis/iban.js +1 -1
  147. package/dist/apis/journey.cjs +7 -7
  148. package/dist/apis/journey.js +1 -1
  149. package/dist/apis/kanban.cjs +7 -7
  150. package/dist/apis/kanban.js +1 -1
  151. package/dist/apis/message.cjs +7 -7
  152. package/dist/apis/message.js +1 -1
  153. package/dist/apis/metering.cjs +7 -7
  154. package/dist/apis/metering.js +1 -1
  155. package/dist/apis/notes.cjs +7 -7
  156. package/dist/apis/notes.js +1 -1
  157. package/dist/apis/notification.cjs +7 -7
  158. package/dist/apis/notification.js +1 -1
  159. package/dist/apis/organization.cjs +7 -7
  160. package/dist/apis/organization.js +1 -1
  161. package/dist/apis/partner-directory.cjs +7 -7
  162. package/dist/apis/partner-directory.js +1 -1
  163. package/dist/apis/permissions.cjs +7 -7
  164. package/dist/apis/permissions.js +1 -1
  165. package/dist/apis/pricing-tier.cjs +7 -7
  166. package/dist/apis/pricing-tier.js +1 -1
  167. package/dist/apis/pricing.cjs +7 -7
  168. package/dist/apis/pricing.js +1 -1
  169. package/dist/apis/purpose.cjs +7 -7
  170. package/dist/apis/purpose.js +1 -1
  171. package/dist/apis/sandbox.cjs +7 -7
  172. package/dist/apis/sandbox.js +1 -1
  173. package/dist/apis/submission.cjs +7 -7
  174. package/dist/apis/submission.js +1 -1
  175. package/dist/apis/targeting.cjs +7 -7
  176. package/dist/apis/targeting.js +1 -1
  177. package/dist/apis/template-variables.cjs +7 -7
  178. package/dist/apis/template-variables.js +1 -1
  179. package/dist/apis/user.cjs +7 -7
  180. package/dist/apis/user.js +1 -1
  181. package/dist/apis/validation-rules.cjs +7 -7
  182. package/dist/apis/validation-rules.js +1 -1
  183. package/dist/apis/webhooks.cjs +7 -7
  184. package/dist/apis/webhooks.js +1 -1
  185. package/dist/apis/workflow-definition.cjs +7 -7
  186. package/dist/apis/workflow-definition.js +1 -1
  187. package/dist/apis/workflow.cjs +7 -7
  188. package/dist/apis/workflow.js +1 -1
  189. package/dist/bin/cli.js +123 -25
  190. package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
  191. package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
  192. package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.cts} +1 -2
  193. package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.ts} +1 -2
  194. package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
  195. package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
  196. package/dist/index.cjs +7 -7
  197. package/dist/index.d.cts +2 -2
  198. package/dist/index.d.ts +2 -2
  199. package/dist/index.js +1 -1
  200. package/dist/js-yaml-UPZKYVRY.js +2645 -0
  201. package/package.json +11 -10
  202. package/LICENSE +0 -21
@@ -0,0 +1 @@
1
+ {"s":"https://consent.sls.epilot.io","o":[["publishConsentEvent","post","/v1/consent/publish",null,1],["listConsentEvents","get","/v1/consent/{identifier}",[["identifier","p",true],["topic","q"],["limit","q"],["from","q"]]],["handleOptInWithToken","get","/v1/opt-in/{token}",[["token","p",true],["lang","q"]]]],"v":"3.0.3"}
@@ -0,0 +1,344 @@
1
+ {
2
+ "openapi": "3.0.3",
3
+ "info": {
4
+ "title": "Consent API",
5
+ "version": "1.0.0",
6
+ "description": "Consent Management for epilot customer entities\n"
7
+ },
8
+ "tags": [
9
+ {
10
+ "name": "consent",
11
+ "description": "Consent Management"
12
+ }
13
+ ],
14
+ "security": [
15
+ {
16
+ "EpilotAuth": []
17
+ }
18
+ ],
19
+ "paths": {
20
+ "/v1/consent/publish": {
21
+ "post": {
22
+ "operationId": "publishConsentEvent",
23
+ "summary": "publishConsentEvent",
24
+ "description": "Publishes consent event on event bus, which appends to consent store\n",
25
+ "tags": [
26
+ "consent"
27
+ ],
28
+ "requestBody": {
29
+ "content": {
30
+ "application/json": {
31
+ "schema": {
32
+ "$ref": "#/components/schemas/ConsentEventRequestBody"
33
+ },
34
+ "examples": {
35
+ "OptInEmailMarketing": {
36
+ "$ref": "#/components/examples/ConsentOptInEmailMarketing"
37
+ },
38
+ "OptInSMSMarketing": {
39
+ "$ref": "#/components/examples/ConsentOptInSMSMarketing"
40
+ },
41
+ "OptInPhoneCallMarketing": {
42
+ "$ref": "#/components/examples/ConsentOptInPhoneCallMarketing"
43
+ },
44
+ "OptOutEmailMarketing": {
45
+ "$ref": "#/components/examples/ConsentOptOutEmailMarketing"
46
+ }
47
+ }
48
+ }
49
+ }
50
+ },
51
+ "responses": {
52
+ "201": {
53
+ "description": "The created opt-in",
54
+ "content": {
55
+ "application/json": {
56
+ "schema": {
57
+ "$ref": "#/components/schemas/ConsentEvent"
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "/v1/consent/{identifier}": {
66
+ "get": {
67
+ "operationId": "listConsentEvents",
68
+ "summary": "listConsentEvents",
69
+ "description": "List opt-ins and opt-outs by customer identifier\n",
70
+ "tags": [
71
+ "consent"
72
+ ],
73
+ "parameters": [
74
+ {
75
+ "name": "identifier",
76
+ "in": "path",
77
+ "required": true,
78
+ "schema": {
79
+ "$ref": "#/components/schemas/ConsentIdentifier"
80
+ }
81
+ },
82
+ {
83
+ "name": "topic",
84
+ "in": "query",
85
+ "required": false,
86
+ "schema": {
87
+ "$ref": "#/components/schemas/ConsentTopic"
88
+ }
89
+ },
90
+ {
91
+ "name": "limit",
92
+ "in": "query",
93
+ "required": false,
94
+ "schema": {
95
+ "type": "integer",
96
+ "default": 50,
97
+ "minimum": 1,
98
+ "maximum": 100
99
+ }
100
+ },
101
+ {
102
+ "name": "from",
103
+ "in": "query",
104
+ "required": false,
105
+ "schema": {
106
+ "type": "integer",
107
+ "default": 0,
108
+ "minimum": 0
109
+ }
110
+ }
111
+ ],
112
+ "responses": {
113
+ "200": {
114
+ "description": "list of opt-ins and opt-outs",
115
+ "content": {
116
+ "application/json": {
117
+ "schema": {
118
+ "type": "object",
119
+ "properties": {
120
+ "events": {
121
+ "type": "array",
122
+ "items": {
123
+ "$ref": "#/components/schemas/ConsentEvent"
124
+ }
125
+ },
126
+ "total": {
127
+ "type": "integer",
128
+ "example": 1
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ },
138
+ "/v1/opt-in/{token}": {
139
+ "get": {
140
+ "operationId": "handleOptInWithToken",
141
+ "summary": "handleOptInWithToken",
142
+ "security": [],
143
+ "description": "Endpoint to handle opt-in links\n",
144
+ "tags": [
145
+ "consent"
146
+ ],
147
+ "parameters": [
148
+ {
149
+ "name": "token",
150
+ "in": "path",
151
+ "required": true,
152
+ "schema": {
153
+ "type": "string"
154
+ }
155
+ },
156
+ {
157
+ "name": "lang",
158
+ "in": "query",
159
+ "schema": {
160
+ "type": "string",
161
+ "default": "de"
162
+ }
163
+ }
164
+ ],
165
+ "responses": {
166
+ "200": {
167
+ "description": "Handler page for opt in links",
168
+ "content": {
169
+ "text/html": {
170
+ "example": "<p>You are subscribed!</p>\n"
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+ },
178
+ "components": {
179
+ "securitySchemes": {
180
+ "EpilotAuth": {
181
+ "type": "http",
182
+ "scheme": "bearer",
183
+ "description": "Epilot Id Token\n"
184
+ }
185
+ },
186
+ "schemas": {
187
+ "ConsentIdentifier": {
188
+ "type": "string",
189
+ "description": "Unique identifier for consent source (e.g. customer email or phone)",
190
+ "example": "exampleuser@epilot.cloud"
191
+ },
192
+ "ConsentTopic": {
193
+ "type": "string",
194
+ "description": "Consent Topic (what the person is opting into)",
195
+ "example": "EMAIL_MARKETING"
196
+ },
197
+ "ConsentSource": {
198
+ "type": "string",
199
+ "description": "Consent Source (Origin of the Consent Event)",
200
+ "example": "www.frontend.epilot.cloud"
201
+ },
202
+ "ConsentMeta": {
203
+ "type": "object",
204
+ "additionalProperties": true,
205
+ "example": {
206
+ "double_opt_in": true,
207
+ "source_type": "journey",
208
+ "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",
209
+ "ip_address": "1.1.1.1",
210
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
211
+ }
212
+ },
213
+ "ConsentEventRequestBody": {
214
+ "type": "object",
215
+ "properties": {
216
+ "type": {
217
+ "type": "string",
218
+ "enum": [
219
+ "OPT_IN",
220
+ "OPT_OUT"
221
+ ]
222
+ },
223
+ "topic": {
224
+ "$ref": "#/components/schemas/ConsentTopic"
225
+ },
226
+ "source": {
227
+ "$ref": "#/components/schemas/ConsentSource"
228
+ },
229
+ "identifier": {
230
+ "$ref": "#/components/schemas/ConsentIdentifier"
231
+ },
232
+ "meta": {
233
+ "$ref": "#/components/schemas/ConsentMeta"
234
+ }
235
+ },
236
+ "required": [
237
+ "type",
238
+ "topic",
239
+ "identifier"
240
+ ]
241
+ },
242
+ "ConsentEvent": {
243
+ "type": "object",
244
+ "properties": {
245
+ "type": {
246
+ "type": "string",
247
+ "enum": [
248
+ "OPT_IN",
249
+ "OPT_OUT",
250
+ "DOUBLE_OPT_IN_REQUESTED",
251
+ "DOUBLE_OPT_IN"
252
+ ]
253
+ },
254
+ "created_at": {
255
+ "type": "string",
256
+ "format": "date-time"
257
+ },
258
+ "topic": {
259
+ "$ref": "#/components/schemas/ConsentTopic"
260
+ },
261
+ "source": {
262
+ "$ref": "#/components/schemas/ConsentSource"
263
+ },
264
+ "organization_id": {
265
+ "$ref": "#/components/schemas/OrganizationId"
266
+ },
267
+ "identifier": {
268
+ "$ref": "#/components/schemas/ConsentIdentifier"
269
+ },
270
+ "meta": {
271
+ "$ref": "#/components/schemas/ConsentMeta"
272
+ }
273
+ },
274
+ "required": [
275
+ "type",
276
+ "topic",
277
+ "identifier"
278
+ ]
279
+ },
280
+ "OrganizationId": {
281
+ "type": "string",
282
+ "example": "123"
283
+ }
284
+ },
285
+ "examples": {
286
+ "ConsentOptInEmailMarketing": {
287
+ "value": {
288
+ "type": "OPT_IN",
289
+ "topic": "EMAIL_MARKETING",
290
+ "identifier": "exampleuser@epilot.cloud",
291
+ "source": "frontend.epilot.cloud",
292
+ "meta": {
293
+ "ip_address": "1.1.1.1",
294
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
295
+ }
296
+ }
297
+ },
298
+ "ConsentOptOutEmailMarketing": {
299
+ "value": {
300
+ "type": "OPT_OUT",
301
+ "topic": "EMAIL_MARKETING",
302
+ "identifier": "exampleuser@epilot.cloud",
303
+ "source": "unsubscribe via email",
304
+ "meta": {
305
+ "ip_address": "1.1.1.1",
306
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
307
+ }
308
+ }
309
+ },
310
+ "ConsentOptInSMSMarketing": {
311
+ "value": {
312
+ "type": "OPT_IN",
313
+ "topic": "SMS_MARKETING",
314
+ "identifier": "+49 123 1234567",
315
+ "source": "frontend.epilot.cloud",
316
+ "meta": {
317
+ "ip_address": "1.1.1.1",
318
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
319
+ }
320
+ }
321
+ },
322
+ "ConsentOptInPhoneCallMarketing": {
323
+ "value": {
324
+ "type": "OPT_IN",
325
+ "topic": "PHONE_CALL_MARKETING",
326
+ "identifier": "+49 123 1234567",
327
+ "source": "frontend.epilot.cloud",
328
+ "meta": {
329
+ "ip_address": "1.1.1.1",
330
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
331
+ }
332
+ }
333
+ }
334
+ }
335
+ },
336
+ "servers": [
337
+ {
338
+ "url": "https://consent.sls.epilot.io"
339
+ },
340
+ {
341
+ "url": "https://consent.sls.epilot.io"
342
+ }
343
+ ]
344
+ }
@@ -0,0 +1 @@
1
+ {"s":"https://customer-portal-api.sls.epilot.io","o":[["upsertPortal","post","/v2/portal/portal",[["origin","q",true],["portal_id","q"]],1],["createUser","post","/v2/portal/public/user",[["origin","q",true]],1],["createUserV3","post","/v3/portal/public/user",[["portal_id","q",true]],1],["validateToken","post","/v2/portal/token/validate"],["revokeToken","post","/v2/portal/token/revoke",null,1],["getPortalConfigByDomain","get","/v2/portal/public/config",[["domain","q",true]]],["getPortalConfig","get","/v2/portal/config",[["origin","q"]]],["deletePortal","delete","/v2/portal/config",[["origin","q",true]]],["getPortalExtensions","get","/v2/portal/extensions",[["origin","q"]]],["getPublicPortalExtensionDetails","get","/v2/portal/public/extensions",[["org_id","q",true],["origin","q",true]]],["getPortalExtensionsV3","get","/v3/portal/extensions",[["portal_id","q",true]]],["getPublicPortalExtensionDetailsV3","get","/v3/portal/public/extensions",[["org_id","q"],["portal_id","q"],["domain","q"]]],["getConsumption","get","/v2/portal/consumption",[["app_id","q"],["extensionId","q",true],["hookId","q",true],["meter_id","q"],["from","q",true],["to","q",true],["interval","q",true],["context_entities","q"]]],["getCosts","get","/v2/portal/costs",[["app_id","q"],["extensionId","q",true],["hookId","q",true],["meter_id","q"],["from","q",true],["to","q",true],["interval","q",true],["context_entities","q"]]],["getPrices","get","/v2/portal/prices",[["app_id","q"],["extensionId","q",true],["hookId","q",true],["meter_id","q"],["from","q",true],["to","q",true],["interval","q",true],["context_entities","q"]]],["getExternalLinks","get","/v2/portal/external-links",[["origin","q"],["contactId","q"]]],["getResolvedExternalLink","get","/v2/portal/resolve:external-link/{id}",[["id","p",true],["origin","q"],["contactId","q"]]],["getExternalLinksV3","get","/v3/portal/external-links",[["portal_id","q"],["contactId","q"]]],["getResolvedExternalLinkV3","get","/v3/portal/resolve:external-link/{id}",[["id","p",true],["portal_id","q"],["contactId","q"]]],["getResolvedSeamlessLink","get","/v2/portal/resolve:seamless-link",[["app_id","q"],["extension_id","q",true],["link_id","q",true],["context_entities","q"]]],["getPublicPortalConfig","get","/v2/portal/public/portal/config",[["org_id","q",true],["origin","q",true]]],["getOrgPortalConfig","get","/v2/portal/org/portal/config",[["origin","q",true]]],["getPublicPortalConfigV3","get","/v3/portal/public/portal/config",[["org_id","q",true],["portal_id","q",true]]],["getOrgPortalConfigV3","get","/v3/portal/org/portal/config",[["portal_id","q",true]]],["getAllPortalConfigs","get","/v2/portal/configs"],["upsertEmailTemplates","post","/v2/portal/email-templates",[["origin","q",true]],1],["getEmailTemplates","get","/v2/portal/email-templates",[["origin","q",true]]],["upsertEmailTemplatesByPortalId","post","/v3/portal/email-templates/{portal_id}",[["portal_id","p",true]],1],["getEmailTemplatesByPortalId","get","/v3/portal/email-templates/{portal_id}",[["portal_id","p",true]]],["getPublicPortalWidgets","get","/v2/portal/public-widgets",[["org_id","q",true],["origin","q",true]]],["upsertPortalWidget","post","/v2/portal/widgets",[["origin","q",true]],1],["getPortalWidgets","get","/v2/portal/widgets",[["origin","q"],["contract_id","q"]]],["replaceECPTemplateVariables","post","/v2/portal/replace-ecp-template-variables",null,1],["getOrganizationSettings","get","/v2/portal/org/settings"],["getSchemas","get","/v2/portal/schemas"],["getSchemasByDomain","get","/v2/portal/public/schemas",[["domain","q",true]]],["getOrganizationSettingsByDomain","get","/v2/portal/public/org/settings",[["domain","q",true]]],["extraPermissionAttributes","get","/v2/portal/extra-permission-attributes"],["validateCaaRecords","post","/v2/portal/validate/caa-records",[["origin","q",true]]],["validateCaaRecordsV3","post","/v3/portal/validate/caa-records",[["portal_id","q",true]]],["getContact","get","/v2/portal/contact"],["updateContact","patch","/v2/portal/contact",null,1],["getECPContact","get","/v2/portal/ecp/contact",[["id","q",true]]],["checkContactExists","post","/v2/portal/public/contact/exists",[["origin","q",true]],1],["checkContactExistsV3","post","/v3/portal/public/contact/exists",[["portal_id","q",true]],1],["getValidSecondaryAttributes","get","/v2/portal/contact/valid/secondary/attributes"],["getPortalUser","get","/v2/portal/user"],["updatePortalUser","patch","/v2/portal/user",null,1],["deletePortalUser","delete","/v2/portal/user"],["updatePortalUserEmail","put","/v2/portal/user/update/email",null,1],["resendConfirmationEmail","post","/v2/portal/user/resend/confirmation-email/{id}",[["id","p",true]]],["fetchPortalUsersByRelatedEntity","get","/v2/portal/users/by-related-entity",[["entity_id","q",true],["slug","q",true]]],["confirmUser","get","/v2/portal/user/confirm",[["confirmation_link_token","q",true],["use_redirect","q"]]],["confirmUserWithUserId","get","/v2/portal/user/confirm/{id}",[["origin","q",true],["id","p",true],["org_id","q",true]]],["userExists","get","/v2/portal/public/user/exists",[["email","q",true],["org_id","q",true],["origin","q"]]],["userExistsV3","get","/v3/portal/public/user/exists",[["email","q",true],["org_id","q",true],["portal_id","q"]]],["getRecipientsToNotifyOnAutomation","post","/v2/portal/recipients-to-notify",null,1],["configureDistribution","get","/v2/portal/configure-distribution",[["origin","q",true]]],["configureDistributionV3","get","/v3/portal/configure-distribution",[["portal_id","q",true]]],["getAllOrders","get","/v2/portal/order",[["from","q"],["size","q"]]],["postOrderAcceptance","post","/v2/portal/order/{id}/acceptance",[["id","p",true]],1],["getOrder","get","/v2/portal/order/{id}",[["id","p",true]]],["updateOrder","patch","/v2/portal/order/{id}",[["id","p",true]],1],["getAllOpportunities","get","/v2/portal/opportunity",[["from","q"],["size","q"]]],["getSearchableAttributesForOpportunities","get","/v2/portal/opportunities/searchable-attributes",[["from","q"],["size","q"]]],["getSearchResultsForOpportunities","post","/v2/portal/opportunities/search",[["from","q"],["size","q"]],1],["getOpportunity","get","/v2/portal/opportunities/{id}",[["id","p",true]]],["updateOpportunity","patch","/v2/portal/opportunities/{id}",[["id","p",true]],1],["getAllRequests","get","/v2/portal/request",[["from","q"],["size","q"]]],["getAllContracts","get","/v2/portal/contract",[["from","q"],["size","q"]]],["getContract","get","/v2/portal/contract/{id}",[["id","p",true]]],["updateContract","patch","/v2/portal/contract/{id}",[["id","p",true]],1],["addContractByIdentifiers","post","/v2/portal/contract/by-identifiers",null,1],["getEntityIdentifiers","get","/v2/portal/entity/identifiers/{slug}",[["slug","p",true]]],["getEntityActivityFeed","get","/v2/portal/entity/{slug}/{id}/activity",[["slug","p",true],["id","p",true],["after","q"],["before","q"],["from","q"],["size","q"],["type","q"],["include_relations","q"]]],["validateCadenceEntityEditRules","get","/v2/portal/{slug}/{id}:validateRule",[["slug","p",true],["id","p",true],["attribute","q"]]],["searchPaymentRelationsInEntities","get","/v2/portal/entities-by-payment/{id}",[["id","p",true]]],["createCustomEntityActivity","put","/v2/portal/entity/activity",[["entities","q",false,"form"]],1],["saveEntityFile","post","/v2/portal/entity/file",null,1],["deleteEntityFile","delete","/v2/portal/entity/file",null,1],["savePortalFiles","post","/v2/portal/portal/files",null,1],["getRegistrationIdentifiers","get","/v2/portal/registration/identifiers"],["getAllFiles","get","/v2/portal/user/files",[["from","q",true],["size","q",true],["entity_ids","q"],["file_types","q"]]],["getFileById","get","/v2/portal/user/file/{id}",[["id","p",true]]],["trackFileDownloaded","post","/v2/portal/user/file/{id}/downloaded",[["id","p",true]]],["getFilesCountByEntity","get","/v2/portal/user/files/count-by-entity"],["getBillingEvents","get","/v2/portal/billing/events",[["from","q"],["size","q"],["entity_id","q"],["event_type","q"],["paid","q"],["date_after","q"],["date_before","q"],["sort","q"]]],["getCustomerBalance","get","/v2/portal/billing/customers/balance"],["getBillingAccount","get","/v2/portal/billing/accounts/{id}"],["loginToPortalAsUser","post","/v2/portal/admin:login-as-user",null,1],["triggerEntityAccessEvent","post","/v2/portal/entity/{schema}/access",[["schema","p",true],["entity_id","q"],["origin","q",true]]],["triggerEntityAccessEventV3","post","/v3/portal/entity/{schema}/access",[["schema","p",true],["entity_id","q"],["portal_id","q",true]]],["getPortalUserEntity","post","/v2/portal/entity:get",null,1],["searchPortalUserEntities","post","/v2/portal/entity:search",null,1],["canTriggerPortalFlow","post","/v2/portal/can-trigger-portal-flow",[["origin","q"],["portal_id","q",true]],1],["getAutomationContext","get","/v2/portal/automation-context",[["activity_id","q",true],["type","q",true]]],["updateWorkflowStepAsDone","put","/v2/portal/workflow/{workflow_id}/{step_id}:markDone",[["workflow_id","p",true],["step_id","p",true]]],["getEntityWorkflows","get","/v2/portal/entity/{slug}/{id}/workflows",[["slug","p",true],["id","p",true]]],["uploadMeterReadingPhoto","post","/v2/portal/metering/reading/photo",null,1],["createMeterReading","post","/v2/portal/metering/reading",[["override_plausibility","q"]],1],["getAllowedMeterReadingRange","get","/v2/portal/metering/reading/allowed-range/{meter_id}",[["meter_id","p",true],["origin","q"],["timestamp","q"],["context_entities","q"]]],["ssoLogin","post","/v2/portal/public/sso/login",[["origin","q",true],["org_id","q",true],["contact_id","q"]],1],["ssoLoginV3","post","/v3/portal/public/sso/login",[["portal_id","q",true],["org_id","q",true],["contact_id","q"]],1],["ssoRedirect","post","/v2/portal/public/sso/redirect",[["web_uri","q",true]],1],["ssoCallback","post","/v2/portal/public/sso/callback",[["domain","q"]],1],["getPortalPage","get","/v2/portal/pages/{id}"],["updatePortalPage","put","/v2/portal/pages/{id}",null,1],["deletePortalPage","delete","/v2/portal/pages/{id}"],["getPortalPages","get","/v2/portal/pages",[["fields","q"],["filter","q"],["contract_id","q"],["context_entities","q"]]],["createPortalPage","post","/v2/portal/pages",null,1],["getPublicPages","get","/v2/portal/public/pages",[["domain","q",true],["fields","q"],["filter","q"]]],["getDefaultPages","get","/v2/portal/pages/default"],["createPortalPageBlock","post","/v2/portal/pages/{id}/blocks",null,1],["getPortalPageBlocks","get","/v2/portal/pages/{id}/blocks"],["getPortalPageBlock","get","/v2/portal/pages/{id}/blocks/{block_id}"],["updatePortalPageBlock","put","/v2/portal/pages/{id}/blocks/{block_id}",null,1],["deletePortalPageBlock","delete","/v2/portal/pages/{id}/blocks/{block_id}"],["getUserEntryPoint","get","/v2/portal/public/user/entry-point",[["email","q",true],["domain","q",true]]],["updateCampaignPortalBlockStatus","put","/v2/portal/campaign/{campaign_id}/entity:status",[["campaign_id","p",true]],1],["updateNotificationsStatus","put","/v2/portal/notifications/entity:status",null,1],["deRegisterMLoginUser","delete","/v2/portal/public/m-login/deregister/{client_id}/{user_id}",[["client_id","p",true],["user_id","p",true]]],["notifyMLoginInterestChange","post","/v2/portal/public/m-login/notify-interest-change/{client_id}/{user_id}",[["client_id","p",true],["user_id","p",true]],1],["createPortalConfig","post","/v3/portal/config",null,1],["getPortalConfigV3","get","/v3/portal/config/{portal_id}",[["portal_id","p",true]]],["putPortalConfig","put","/v3/portal/config/{portal_id}",[["portal_id","p",true]],1],["deletePortalConfig","delete","/v3/portal/config/{portal_id}",[["portal_id","p",true]]],["listAllPortalConfigs","get","/v3/portal/configs"],["swapPortalConfig","post","/v3/portal/config/swap",null,1],["invitePartner","post","/v3/portal/partner/invite",null,1],["listBusinessPartners","get","/v3/portal/partner/list"],["resendPartnerInvitation","post","/v3/portal/partner/{partner_id}/resend-invitation",[["partner_id","p",true]]],["revokePartner","delete","/v3/portal/partner/{partner_id}/revoke",[["partner_id","p",true]]],["disablePartner","post","/v3/portal/partner/{partner_id}/disable",[["partner_id","p",true]]],["enablePartner","post","/v3/portal/partner/{partner_id}/enable",[["partner_id","p",true]]]],"v":"3.0.3","pp":{"/v2/portal/billing/accounts/{id}":[["id","p",true]],"/v2/portal/pages/{id}":[["id","p",true]],"/v2/portal/pages":[["domain","q",true]],"/v2/portal/pages/{id}/blocks":[["id","p",true]],"/v2/portal/pages/{id}/blocks/{block_id}":[["id","p",true],["block_id","p",true]]}}