@epilot/sdk 2.0.0-beta.6 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/customer-portal.cjs +1 -1
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/erp-integration.cjs +1 -1
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/kanban.d.cts +2 -2
- package/dist/apis/kanban.d.ts +2 -2
- package/dist/apis/organization.cjs +1 -1
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +1 -1
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
- package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
- package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
- package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
- package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
- package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.cts} +122 -4
- package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.ts} +122 -4
- package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
- package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
- package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
- package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
- package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
- package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
- package/package.json +10 -11
- package/definitions/access-token-runtime.json +0 -1
- package/definitions/access-token.json +0 -663
- package/definitions/address-runtime.json +0 -1
- package/definitions/address-suggestions-runtime.json +0 -1
- package/definitions/address-suggestions.json +0 -582
- package/definitions/address.json +0 -578
- package/definitions/ai-agents-runtime.json +0 -1
- package/definitions/ai-agents.json +0 -1711
- package/definitions/app-runtime.json +0 -1
- package/definitions/app.json +0 -4443
- package/definitions/audit-logs-runtime.json +0 -1
- package/definitions/audit-logs.json +0 -305
- package/definitions/automation-runtime.json +0 -1
- package/definitions/automation.json +0 -4850
- package/definitions/billing-runtime.json +0 -1
- package/definitions/billing.json +0 -837
- package/definitions/blueprint-manifest-runtime.json +0 -1
- package/definitions/blueprint-manifest.json +0 -3376
- package/definitions/consent-runtime.json +0 -1
- package/definitions/consent.json +0 -344
- package/definitions/customer-portal-runtime.json +0 -1
- package/definitions/customer-portal.json +0 -15000
- package/definitions/dashboard-runtime.json +0 -1
- package/definitions/dashboard.json +0 -484
- package/definitions/data-management-runtime.json +0 -1
- package/definitions/data-management.json +0 -962
- package/definitions/deduplication-runtime.json +0 -1
- package/definitions/deduplication.json +0 -183
- package/definitions/design-runtime.json +0 -1
- package/definitions/design.json +0 -1423
- package/definitions/document-runtime.json +0 -1
- package/definitions/document.json +0 -758
- package/definitions/email-settings-runtime.json +0 -1
- package/definitions/email-settings.json +0 -2627
- package/definitions/email-template-runtime.json +0 -1
- package/definitions/email-template.json +0 -1419
- package/definitions/entity-mapping-runtime.json +0 -1
- package/definitions/entity-mapping.json +0 -1642
- package/definitions/entity-runtime.json +0 -1
- package/definitions/entity.json +0 -10074
- package/definitions/environments-runtime.json +0 -1
- package/definitions/environments.json +0 -363
- package/definitions/erp-integration-runtime.json +0 -1
- package/definitions/erp-integration.json +0 -5845
- package/definitions/event-catalog-runtime.json +0 -1
- package/definitions/event-catalog.json +0 -1051
- package/definitions/file-runtime.json +0 -1
- package/definitions/file.json +0 -2842
- package/definitions/iban-runtime.json +0 -1
- package/definitions/iban.json +0 -132
- package/definitions/journey-runtime.json +0 -1
- package/definitions/journey.json +0 -2341
- package/definitions/kanban-runtime.json +0 -1
- package/definitions/kanban.json +0 -929
- package/definitions/message-runtime.json +0 -1
- package/definitions/message.json +0 -2660
- package/definitions/metering-runtime.json +0 -1
- package/definitions/metering.json +0 -2321
- package/definitions/notes-runtime.json +0 -1
- package/definitions/notes.json +0 -1531
- package/definitions/notification-runtime.json +0 -1
- package/definitions/notification.json +0 -1425
- package/definitions/organization-runtime.json +0 -1
- package/definitions/organization.json +0 -629
- package/definitions/partner-directory-runtime.json +0 -1
- package/definitions/partner-directory.json +0 -1718
- package/definitions/permissions-runtime.json +0 -1
- package/definitions/permissions.json +0 -1480
- package/definitions/pricing-runtime.json +0 -1
- package/definitions/pricing-tier-runtime.json +0 -1
- package/definitions/pricing-tier.json +0 -105
- package/definitions/pricing.json +0 -9884
- package/definitions/purpose-runtime.json +0 -1
- package/definitions/purpose.json +0 -524
- package/definitions/sandbox-runtime.json +0 -1
- package/definitions/sandbox.json +0 -453
- package/definitions/submission-runtime.json +0 -1
- package/definitions/submission.json +0 -313
- package/definitions/targeting-runtime.json +0 -1
- package/definitions/targeting.json +0 -1474
- package/definitions/template-variables-runtime.json +0 -1
- package/definitions/template-variables.json +0 -1408
- package/definitions/user-runtime.json +0 -1
- package/definitions/user.json +0 -2408
- package/definitions/validation-rules-runtime.json +0 -1
- package/definitions/validation-rules.json +0 -1491
- package/definitions/webhooks-runtime.json +0 -1
- package/definitions/webhooks.json +0 -1525
- package/definitions/workflow-definition-runtime.json +0 -1
- package/definitions/workflow-definition.json +0 -3417
- package/definitions/workflow-runtime.json +0 -1
- package/definitions/workflow.json +0 -4106
- package/dist/kanban.d-DUClxyBG.d.cts +0 -630
- package/dist/kanban.d-DUClxyBG.d.ts +0 -630
- package/dist/organization.d-BOLK3v9o.d.cts +0 -628
- package/dist/organization.d-BOLK3v9o.d.ts +0 -628
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"s":"https://organization-v2.sls.epilot.io","o":[["getCurrentOrganization","get","/v2/organization/current"],["getOrganization","get","/v2/organization/{org_id}",[["org_id","p",true]]],["updateOrganization","patch","/v2/organization/{org_id}",[["org_id","p",true]],1],["getSettings","get","/v2/organization/{org_id}/settings",[["org_id","p",true]]],["putSettingsValue","put","/v2/organization/{org_id}/settings/{key}",[["org_id","p",true],["key","p",true]],1],["deleteSettingsValue","delete","/v2/organization/{org_id}/settings/{key}",[["org_id","p",true],["key","p",true]]]],"v":"3.0.3"}
|
|
@@ -1,629 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.3",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "Organization API",
|
|
5
|
-
"description": "Manage epilot tenant organizations",
|
|
6
|
-
"version": "1.0.0"
|
|
7
|
-
},
|
|
8
|
-
"tags": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Organization",
|
|
11
|
-
"description": "Organization info"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "Organization Settings",
|
|
15
|
-
"description": "Organization Settings"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "Cleanup",
|
|
19
|
-
"description": "Internal Cleanup endpoints"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "Internal",
|
|
23
|
-
"description": "Internal endpoints"
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"security": [
|
|
27
|
-
{
|
|
28
|
-
"EpilotAuth": []
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"paths": {
|
|
32
|
-
"/v2/organization/current": {
|
|
33
|
-
"get": {
|
|
34
|
-
"operationId": "getCurrentOrganization",
|
|
35
|
-
"summary": "getCurrentOrganization",
|
|
36
|
-
"description": "Get caller's current organization",
|
|
37
|
-
"tags": [
|
|
38
|
-
"Organization"
|
|
39
|
-
],
|
|
40
|
-
"responses": {
|
|
41
|
-
"200": {
|
|
42
|
-
"description": "Current organization",
|
|
43
|
-
"content": {
|
|
44
|
-
"application/json": {
|
|
45
|
-
"schema": {
|
|
46
|
-
"$ref": "#/components/schemas/Organization"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"/v2/organization/{org_id}": {
|
|
55
|
-
"get": {
|
|
56
|
-
"operationId": "getOrganization",
|
|
57
|
-
"summary": "getOrganization",
|
|
58
|
-
"description": "Get an organization",
|
|
59
|
-
"tags": [
|
|
60
|
-
"Organization"
|
|
61
|
-
],
|
|
62
|
-
"parameters": [
|
|
63
|
-
{
|
|
64
|
-
"in": "path",
|
|
65
|
-
"name": "org_id",
|
|
66
|
-
"schema": {
|
|
67
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
68
|
-
},
|
|
69
|
-
"required": true,
|
|
70
|
-
"description": "The Id of the organization."
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"responses": {
|
|
74
|
-
"200": {
|
|
75
|
-
"description": "The returned organization",
|
|
76
|
-
"content": {
|
|
77
|
-
"application/json": {
|
|
78
|
-
"schema": {
|
|
79
|
-
"$ref": "#/components/schemas/Organization"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"patch": {
|
|
87
|
-
"operationId": "updateOrganization",
|
|
88
|
-
"summary": "updateOrganization",
|
|
89
|
-
"description": "Updates an organization",
|
|
90
|
-
"tags": [
|
|
91
|
-
"Organization"
|
|
92
|
-
],
|
|
93
|
-
"parameters": [
|
|
94
|
-
{
|
|
95
|
-
"in": "path",
|
|
96
|
-
"name": "org_id",
|
|
97
|
-
"schema": {
|
|
98
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
99
|
-
},
|
|
100
|
-
"required": true,
|
|
101
|
-
"description": "The Id of the organization."
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"requestBody": {
|
|
105
|
-
"content": {
|
|
106
|
-
"application/json": {
|
|
107
|
-
"schema": {
|
|
108
|
-
"$ref": "#/components/schemas/Organization"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"responses": {
|
|
114
|
-
"200": {
|
|
115
|
-
"description": "The updated organization",
|
|
116
|
-
"content": {
|
|
117
|
-
"application/json": {
|
|
118
|
-
"schema": {
|
|
119
|
-
"$ref": "#/components/schemas/Organization"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"/v2/organization/{org_id}/settings": {
|
|
128
|
-
"get": {
|
|
129
|
-
"description": "Get full organization settings object",
|
|
130
|
-
"operationId": "getSettings",
|
|
131
|
-
"summary": "getSettings",
|
|
132
|
-
"tags": [
|
|
133
|
-
"Organization Settings"
|
|
134
|
-
],
|
|
135
|
-
"parameters": [
|
|
136
|
-
{
|
|
137
|
-
"in": "path",
|
|
138
|
-
"name": "org_id",
|
|
139
|
-
"schema": {
|
|
140
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
141
|
-
},
|
|
142
|
-
"required": true,
|
|
143
|
-
"description": "The Id of the organization."
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"responses": {
|
|
147
|
-
"200": {
|
|
148
|
-
"description": "Returns the organization settings",
|
|
149
|
-
"content": {
|
|
150
|
-
"application/json": {
|
|
151
|
-
"schema": {
|
|
152
|
-
"$ref": "#/components/schemas/Settings"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"/v2/organization/{org_id}/settings/{key}": {
|
|
161
|
-
"put": {
|
|
162
|
-
"description": "Updates an organization setting",
|
|
163
|
-
"operationId": "putSettingsValue",
|
|
164
|
-
"summary": "putSettingsValue",
|
|
165
|
-
"tags": [
|
|
166
|
-
"Organization Settings"
|
|
167
|
-
],
|
|
168
|
-
"parameters": [
|
|
169
|
-
{
|
|
170
|
-
"in": "path",
|
|
171
|
-
"name": "org_id",
|
|
172
|
-
"schema": {
|
|
173
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
174
|
-
},
|
|
175
|
-
"required": true,
|
|
176
|
-
"description": "The Id of the organization."
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"in": "path",
|
|
180
|
-
"name": "key",
|
|
181
|
-
"schema": {
|
|
182
|
-
"type": "string"
|
|
183
|
-
},
|
|
184
|
-
"required": true,
|
|
185
|
-
"description": "Organization setting key"
|
|
186
|
-
}
|
|
187
|
-
],
|
|
188
|
-
"requestBody": {
|
|
189
|
-
"description": "Value to set",
|
|
190
|
-
"content": {
|
|
191
|
-
"application/json": {
|
|
192
|
-
"schema": {
|
|
193
|
-
"$ref": "#/components/schemas/SettingsValue"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"responses": {
|
|
199
|
-
"200": {
|
|
200
|
-
"description": "Returns the value of the setting",
|
|
201
|
-
"content": {
|
|
202
|
-
"application/json": {
|
|
203
|
-
"schema": {
|
|
204
|
-
"$ref": "#/components/schemas/SettingsValue"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"delete": {
|
|
212
|
-
"description": "Updates an organization nsetting",
|
|
213
|
-
"operationId": "deleteSettingsValue",
|
|
214
|
-
"summary": "deleteSettingsValue",
|
|
215
|
-
"tags": [
|
|
216
|
-
"Organization Settings"
|
|
217
|
-
],
|
|
218
|
-
"parameters": [
|
|
219
|
-
{
|
|
220
|
-
"in": "path",
|
|
221
|
-
"name": "org_id",
|
|
222
|
-
"schema": {
|
|
223
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
224
|
-
},
|
|
225
|
-
"required": true,
|
|
226
|
-
"description": "The Id of the organization."
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"in": "path",
|
|
230
|
-
"name": "key",
|
|
231
|
-
"schema": {
|
|
232
|
-
"type": "string"
|
|
233
|
-
},
|
|
234
|
-
"required": true,
|
|
235
|
-
"description": "Organization setting key"
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
"responses": {
|
|
239
|
-
"200": {
|
|
240
|
-
"description": "Delete successful"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"components": {
|
|
247
|
-
"securitySchemes": {
|
|
248
|
-
"EpilotAuth": {
|
|
249
|
-
"type": "http",
|
|
250
|
-
"scheme": "bearer",
|
|
251
|
-
"description": "Authorization header with epilot OAuth2 bearer token",
|
|
252
|
-
"bearerFormat": "JWT"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
"schemas": {
|
|
256
|
-
"OrganizationId": {
|
|
257
|
-
"type": "string",
|
|
258
|
-
"example": "739224"
|
|
259
|
-
},
|
|
260
|
-
"Organization": {
|
|
261
|
-
"type": "object",
|
|
262
|
-
"properties": {
|
|
263
|
-
"id": {
|
|
264
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
265
|
-
},
|
|
266
|
-
"name": {
|
|
267
|
-
"type": "string",
|
|
268
|
-
"description": "Organization name",
|
|
269
|
-
"example": "Epilot",
|
|
270
|
-
"nullable": true
|
|
271
|
-
},
|
|
272
|
-
"email": {
|
|
273
|
-
"type": "string",
|
|
274
|
-
"description": "Organization contact email",
|
|
275
|
-
"example": "someone@epilot.cloud",
|
|
276
|
-
"nullable": true
|
|
277
|
-
},
|
|
278
|
-
"phone": {
|
|
279
|
-
"description": "Organization contact phone",
|
|
280
|
-
"type": "string",
|
|
281
|
-
"example": "+49123123123",
|
|
282
|
-
"nullable": true
|
|
283
|
-
},
|
|
284
|
-
"website": {
|
|
285
|
-
"description": "Organization website",
|
|
286
|
-
"type": "string",
|
|
287
|
-
"example": "https://epilot.cloud",
|
|
288
|
-
"nullable": true
|
|
289
|
-
},
|
|
290
|
-
"address": {
|
|
291
|
-
"description": "Organization postal address",
|
|
292
|
-
"type": "object",
|
|
293
|
-
"additionalProperties": true,
|
|
294
|
-
"properties": {
|
|
295
|
-
"country": {
|
|
296
|
-
"type": "string",
|
|
297
|
-
"nullable": true
|
|
298
|
-
},
|
|
299
|
-
"city": {
|
|
300
|
-
"type": "string",
|
|
301
|
-
"nullable": true
|
|
302
|
-
},
|
|
303
|
-
"postal_code": {
|
|
304
|
-
"type": "string",
|
|
305
|
-
"nullable": true
|
|
306
|
-
},
|
|
307
|
-
"street": {
|
|
308
|
-
"type": "string",
|
|
309
|
-
"nullable": true
|
|
310
|
-
},
|
|
311
|
-
"street_number": {
|
|
312
|
-
"type": "string",
|
|
313
|
-
"nullable": true
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"organization_use": {
|
|
318
|
-
"type": "string",
|
|
319
|
-
"enum": [
|
|
320
|
-
"Production",
|
|
321
|
-
"Sandbox"
|
|
322
|
-
],
|
|
323
|
-
"nullable": true
|
|
324
|
-
},
|
|
325
|
-
"parent_production_org_id": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"nullable": true
|
|
328
|
-
},
|
|
329
|
-
"created_date": {
|
|
330
|
-
"type": "string",
|
|
331
|
-
"format": "date-time",
|
|
332
|
-
"description": "Organization created date"
|
|
333
|
-
},
|
|
334
|
-
"logo_url": {
|
|
335
|
-
"description": "Organization logo URL",
|
|
336
|
-
"type": "string",
|
|
337
|
-
"example": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
|
|
338
|
-
"nullable": true
|
|
339
|
-
},
|
|
340
|
-
"logo_thumbnail_url": {
|
|
341
|
-
"description": "Organization logo thumbnail URL",
|
|
342
|
-
"type": "string",
|
|
343
|
-
"example": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
|
|
344
|
-
"nullable": true
|
|
345
|
-
},
|
|
346
|
-
"signature": {
|
|
347
|
-
"type": "string",
|
|
348
|
-
"description": "Default email signature of organization",
|
|
349
|
-
"example": "<p>Thanks</p>",
|
|
350
|
-
"nullable": true
|
|
351
|
-
},
|
|
352
|
-
"is_unlicensed_org": {
|
|
353
|
-
"type": "boolean",
|
|
354
|
-
"example": false,
|
|
355
|
-
"nullable": true,
|
|
356
|
-
"deprecated": true
|
|
357
|
-
},
|
|
358
|
-
"style": {
|
|
359
|
-
"type": "object",
|
|
360
|
-
"description": "Organization style setting (e.g. font setting)",
|
|
361
|
-
"additionalProperties": true,
|
|
362
|
-
"nullable": true,
|
|
363
|
-
"deprecated": true
|
|
364
|
-
},
|
|
365
|
-
"type": {
|
|
366
|
-
"type": "string",
|
|
367
|
-
"deprecated": true,
|
|
368
|
-
"enum": [
|
|
369
|
-
"Vendor",
|
|
370
|
-
"Partner"
|
|
371
|
-
],
|
|
372
|
-
"nullable": true
|
|
373
|
-
},
|
|
374
|
-
"symbol": {
|
|
375
|
-
"deprecated": true,
|
|
376
|
-
"type": "string",
|
|
377
|
-
"example": "EPI",
|
|
378
|
-
"nullable": true
|
|
379
|
-
},
|
|
380
|
-
"pricing_tier": {
|
|
381
|
-
"deprecated": true,
|
|
382
|
-
"description": "Deprecated - Please use pricing tier api",
|
|
383
|
-
"type": "string",
|
|
384
|
-
"example": "professional",
|
|
385
|
-
"nullable": true
|
|
386
|
-
},
|
|
387
|
-
"free_user_limit": {
|
|
388
|
-
"deprecated": true,
|
|
389
|
-
"type": "number",
|
|
390
|
-
"example": 50,
|
|
391
|
-
"nullable": true
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
"InternalOrganization": {
|
|
396
|
-
"allOf": [
|
|
397
|
-
{
|
|
398
|
-
"$ref": "#/components/schemas/Organization"
|
|
399
|
-
}
|
|
400
|
-
]
|
|
401
|
-
},
|
|
402
|
-
"SettingKey": {
|
|
403
|
-
"type": "string",
|
|
404
|
-
"example": "double_opt_in"
|
|
405
|
-
},
|
|
406
|
-
"Settings": {
|
|
407
|
-
"type": "object",
|
|
408
|
-
"additionalProperties": true,
|
|
409
|
-
"example": {
|
|
410
|
-
"double_opt_in": {
|
|
411
|
-
"enabled": true
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"SettingsValue": {
|
|
416
|
-
"anyOf": [
|
|
417
|
-
{
|
|
418
|
-
"type": "string"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"type": "number"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"type": "boolean"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"type": "array",
|
|
428
|
-
"items": {
|
|
429
|
-
"type": "object",
|
|
430
|
-
"additionalProperties": true
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"type": "object",
|
|
435
|
-
"additionalProperties": true
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"example": {
|
|
439
|
-
"enabled": true
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
"CreateOrganizationRequest": {
|
|
443
|
-
"type": "object",
|
|
444
|
-
"properties": {
|
|
445
|
-
"organization_detail": {
|
|
446
|
-
"description": "Organization detail",
|
|
447
|
-
"type": "object",
|
|
448
|
-
"required": [
|
|
449
|
-
"name",
|
|
450
|
-
"type",
|
|
451
|
-
"pricing_tier_id"
|
|
452
|
-
],
|
|
453
|
-
"properties": {
|
|
454
|
-
"name": {
|
|
455
|
-
"description": "Organization name",
|
|
456
|
-
"type": "string",
|
|
457
|
-
"example": "epilot"
|
|
458
|
-
},
|
|
459
|
-
"email_address": {
|
|
460
|
-
"description": "Organization email address",
|
|
461
|
-
"type": "string",
|
|
462
|
-
"example": "epilot@epilot.cloud"
|
|
463
|
-
},
|
|
464
|
-
"type": {
|
|
465
|
-
"description": "type",
|
|
466
|
-
"type": "string",
|
|
467
|
-
"example": "Vendor"
|
|
468
|
-
},
|
|
469
|
-
"organization_use": {
|
|
470
|
-
"type": "string",
|
|
471
|
-
"enum": [
|
|
472
|
-
"Production",
|
|
473
|
-
"Sandbox"
|
|
474
|
-
]
|
|
475
|
-
},
|
|
476
|
-
"pricing_tier_id": {
|
|
477
|
-
"description": "Pricing tier ID",
|
|
478
|
-
"type": "string",
|
|
479
|
-
"example": "01GEKHZHSN19KK10ZS92Y3WY9B"
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
},
|
|
483
|
-
"owner_user": {
|
|
484
|
-
"description": "Owner user will receive invitation",
|
|
485
|
-
"type": "object",
|
|
486
|
-
"required": [
|
|
487
|
-
"email_address"
|
|
488
|
-
],
|
|
489
|
-
"properties": {
|
|
490
|
-
"full_name": {
|
|
491
|
-
"type": "string",
|
|
492
|
-
"example": "Ny Huynh"
|
|
493
|
-
},
|
|
494
|
-
"email_address": {
|
|
495
|
-
"type": "string",
|
|
496
|
-
"example": "ny.huynhthi@axonactive.com"
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
"DataPointsResponse": {
|
|
503
|
-
"type": "array",
|
|
504
|
-
"items": {
|
|
505
|
-
"$ref": "#/components/schemas/DataPoint"
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
"DataPoint": {
|
|
509
|
-
"type": "object",
|
|
510
|
-
"properties": {
|
|
511
|
-
"id": {
|
|
512
|
-
"description": "Organization id",
|
|
513
|
-
"type": "number",
|
|
514
|
-
"example": 206801
|
|
515
|
-
},
|
|
516
|
-
"max_customer": {
|
|
517
|
-
"description": "Max customer data points last month",
|
|
518
|
-
"type": "number",
|
|
519
|
-
"example": 10
|
|
520
|
-
},
|
|
521
|
-
"actual_customer": {
|
|
522
|
-
"description": "Actual customer data points",
|
|
523
|
-
"type": "number",
|
|
524
|
-
"example": 10
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
"OrganizationToCleanup": {
|
|
529
|
-
"type": "object",
|
|
530
|
-
"required": [
|
|
531
|
-
"org_id",
|
|
532
|
-
"deleted_at",
|
|
533
|
-
"deleted_by"
|
|
534
|
-
],
|
|
535
|
-
"properties": {
|
|
536
|
-
"org_id": {
|
|
537
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
538
|
-
},
|
|
539
|
-
"deleted_at": {
|
|
540
|
-
"type": "string",
|
|
541
|
-
"format": "date-time",
|
|
542
|
-
"example": "2021-06-01T00:00:00Z"
|
|
543
|
-
},
|
|
544
|
-
"deleted_by": {
|
|
545
|
-
"type": "string",
|
|
546
|
-
"example": "123456"
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
"OrganizationCleanupStatus": {
|
|
551
|
-
"type": "object",
|
|
552
|
-
"required": [
|
|
553
|
-
"org_id",
|
|
554
|
-
"service_name"
|
|
555
|
-
],
|
|
556
|
-
"properties": {
|
|
557
|
-
"org_id": {
|
|
558
|
-
"$ref": "#/components/schemas/OrganizationId"
|
|
559
|
-
},
|
|
560
|
-
"service_name": {
|
|
561
|
-
"type": "string",
|
|
562
|
-
"example": "organization-api"
|
|
563
|
-
},
|
|
564
|
-
"operations": {
|
|
565
|
-
"example": [
|
|
566
|
-
{
|
|
567
|
-
"action": "Delete",
|
|
568
|
-
"resource": "OrgTable",
|
|
569
|
-
"extra_info": "pk: ORG#739224"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"action": "Archive",
|
|
573
|
-
"resource": "s3://my-bucket",
|
|
574
|
-
"extra_info": "my-bucket/my-key.txt"
|
|
575
|
-
}
|
|
576
|
-
],
|
|
577
|
-
"type": "array",
|
|
578
|
-
"items": {
|
|
579
|
-
"type": "object",
|
|
580
|
-
"additionalProperties": true,
|
|
581
|
-
"properties": {
|
|
582
|
-
"action": {
|
|
583
|
-
"type": "string",
|
|
584
|
-
"example": "Delete"
|
|
585
|
-
},
|
|
586
|
-
"resource": {
|
|
587
|
-
"type": "string",
|
|
588
|
-
"example": "OrgTable"
|
|
589
|
-
},
|
|
590
|
-
"extra_info": {
|
|
591
|
-
"anyOf": [
|
|
592
|
-
{
|
|
593
|
-
"type": "string"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"type": "number"
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"type": "boolean"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"type": "array",
|
|
603
|
-
"items": {
|
|
604
|
-
"type": "object",
|
|
605
|
-
"additionalProperties": true
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"type": "object",
|
|
610
|
-
"additionalProperties": true
|
|
611
|
-
}
|
|
612
|
-
]
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
"servers": [
|
|
622
|
-
{
|
|
623
|
-
"url": "https://organization-v2.sls.epilot.io"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"url": "https://organization-v2.sls.epilot.io"
|
|
627
|
-
}
|
|
628
|
-
]
|
|
629
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"s":"https://partner-directory-api.sls.epilot.io","o":[["approvePartner","post","/v1/partners/{id}/approve",[["id","p",true]]],["rejectPartner","post","/v1/partners/{id}/reject",[["id","p",true]]],["searchAssignable","post","/v1/partners/assignables:search",null,1],["batchGetAssignable","post","/v1/partners/assignables:batchGet",null,1],["getPartnerByToken","get","/v1/partner-directory/public/getPartnerByToken",[["token","q",true]]],["activatePartner","post","/v1/partner-directory/public/activate",[["token","q",true]],1],["searchGeolocationForText","post","/v1/geolocation/text:search",null,1],["invitePartnerV2","post","/v2/partners/{id}/invite",[["id","p",true]],1],["getPartnerUsers","get","/v2/partners/{orgId}/users",[["orgId","p",true]]],["createPartnerUser","post","/v2/partners/{orgId}/users",[["orgId","p",true]],1],["deletePartnerUser","delete","/v2/partners/{orgId}/users/{userId}",[["orgId","p",true],["userId","p",true]]],["getPartnerRoles","get","/v2/partners/{orgId}/roles",[["orgId","p",true]]],["createPartnerRole","post","/v2/partners/{orgId}/roles",[["orgId","p",true]],1],["updatePartnerRole","put","/v2/partners/{orgId}/roles/{roleId}",[["orgId","p",true],["roleId","p",true]],1],["assignPartnerUserRoles","post","/v2/partners/{orgId}/users/{userId}/roles",[["orgId","p",true],["userId","p",true]],1],["unassignPartnerUserRoles","delete","/v2/partners/{orgId}/users/{userId}/roles",[["orgId","p",true],["userId","p",true]],1]],"v":"3.0.3"}
|