@epilot/sdk 2.0.0-beta.3 → 2.0.0-beta.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.
- package/definitions/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4850 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4106 -0
- package/dist/apis/access-token.cjs +13 -84
- package/dist/apis/access-token.js +11 -82
- package/dist/apis/address-suggestions.cjs +13 -127
- package/dist/apis/address-suggestions.js +11 -125
- package/dist/apis/address.cjs +13 -79
- package/dist/apis/address.js +11 -77
- package/dist/apis/ai-agents.cjs +13 -210
- package/dist/apis/ai-agents.js +11 -208
- package/dist/apis/app.cjs +13 -568
- package/dist/apis/app.js +11 -566
- package/dist/apis/audit-logs.cjs +13 -50
- package/dist/apis/audit-logs.js +11 -48
- package/dist/apis/automation.cjs +13 -277
- package/dist/apis/automation.js +11 -275
- package/dist/apis/billing.cjs +13 -170
- package/dist/apis/billing.js +11 -168
- package/dist/apis/blueprint-manifest.cjs +13 -499
- package/dist/apis/blueprint-manifest.js +11 -497
- package/dist/apis/consent.cjs +13 -79
- package/dist/apis/consent.js +11 -77
- package/dist/apis/customer-portal.cjs +13 -2247
- package/dist/apis/customer-portal.js +11 -2245
- package/dist/apis/dashboard.cjs +13 -79
- package/dist/apis/dashboard.js +11 -77
- package/dist/apis/data-management.cjs +13 -235
- package/dist/apis/data-management.js +11 -233
- package/dist/apis/deduplication.cjs +13 -37
- package/dist/apis/deduplication.js +11 -35
- package/dist/apis/design.cjs +13 -214
- package/dist/apis/design.js +11 -212
- package/dist/apis/document.cjs +13 -73
- package/dist/apis/document.js +11 -71
- package/dist/apis/email-settings.cjs +13 -528
- package/dist/apis/email-settings.js +11 -526
- package/dist/apis/email-template.cjs +13 -117
- package/dist/apis/email-template.js +11 -115
- package/dist/apis/entity-mapping.cjs +13 -210
- package/dist/apis/entity-mapping.js +11 -208
- package/dist/apis/entity.cjs +13 -1595
- package/dist/apis/entity.js +11 -1593
- package/dist/apis/environments.cjs +13 -66
- package/dist/apis/environments.js +11 -64
- package/dist/apis/erp-integration.cjs +13 -581
- package/dist/apis/erp-integration.js +11 -579
- package/dist/apis/event-catalog.cjs +13 -125
- package/dist/apis/event-catalog.js +11 -123
- package/dist/apis/file.cjs +13 -568
- package/dist/apis/file.js +11 -566
- package/dist/apis/iban.cjs +13 -38
- package/dist/apis/iban.js +11 -36
- package/dist/apis/journey.cjs +13 -265
- package/dist/apis/journey.js +11 -263
- package/dist/apis/kanban.cjs +13 -159
- package/dist/apis/kanban.js +11 -157
- package/dist/apis/message.cjs +13 -668
- package/dist/apis/message.js +11 -666
- package/dist/apis/metering.cjs +13 -394
- package/dist/apis/metering.js +11 -392
- package/dist/apis/notes.cjs +13 -214
- package/dist/apis/notes.js +11 -212
- package/dist/apis/notification.cjs +13 -232
- package/dist/apis/notification.js +11 -230
- package/dist/apis/organization.cjs +13 -113
- package/dist/apis/organization.js +11 -111
- package/dist/apis/partner-directory.cjs +13 -277
- package/dist/apis/partner-directory.js +11 -275
- package/dist/apis/permissions.cjs +13 -173
- package/dist/apis/permissions.js +11 -171
- package/dist/apis/pricing-tier.cjs +14 -32
- package/dist/apis/pricing-tier.js +11 -29
- package/dist/apis/pricing.cjs +13 -434
- package/dist/apis/pricing.js +11 -432
- package/dist/apis/purpose.cjs +13 -175
- package/dist/apis/purpose.js +11 -173
- package/dist/apis/sandbox.cjs +13 -95
- package/dist/apis/sandbox.js +11 -93
- package/dist/apis/submission.cjs +13 -50
- package/dist/apis/submission.js +11 -48
- package/dist/apis/targeting.cjs +13 -270
- package/dist/apis/targeting.js +11 -268
- package/dist/apis/template-variables.cjs +13 -154
- package/dist/apis/template-variables.js +11 -152
- package/dist/apis/user.cjs +13 -483
- package/dist/apis/user.js +11 -481
- package/dist/apis/validation-rules.cjs +13 -115
- package/dist/apis/validation-rules.js +11 -113
- package/dist/apis/webhooks.cjs +13 -247
- package/dist/apis/webhooks.js +11 -245
- package/dist/apis/workflow-definition.cjs +13 -337
- package/dist/apis/workflow-definition.js +11 -335
- package/dist/apis/workflow.cjs +13 -397
- package/dist/apis/workflow.js +11 -395
- package/dist/{chunk-D7ICL3AM.cjs → chunk-5LXNSDG2.cjs} +51 -2
- package/dist/{chunk-DGCGLG7G.js → chunk-QMQNMCOC.js} +49 -0
- package/dist/index.cjs +56 -54
- package/dist/index.js +53 -51
- package/package.json +50 -3
|
@@ -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]]}}
|