@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.
Files changed (189) 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 +13 -84
  94. package/dist/apis/access-token.js +11 -82
  95. package/dist/apis/address-suggestions.cjs +13 -127
  96. package/dist/apis/address-suggestions.js +11 -125
  97. package/dist/apis/address.cjs +13 -79
  98. package/dist/apis/address.js +11 -77
  99. package/dist/apis/ai-agents.cjs +13 -210
  100. package/dist/apis/ai-agents.js +11 -208
  101. package/dist/apis/app.cjs +13 -568
  102. package/dist/apis/app.js +11 -566
  103. package/dist/apis/audit-logs.cjs +13 -50
  104. package/dist/apis/audit-logs.js +11 -48
  105. package/dist/apis/automation.cjs +13 -277
  106. package/dist/apis/automation.js +11 -275
  107. package/dist/apis/billing.cjs +13 -170
  108. package/dist/apis/billing.js +11 -168
  109. package/dist/apis/blueprint-manifest.cjs +13 -499
  110. package/dist/apis/blueprint-manifest.js +11 -497
  111. package/dist/apis/consent.cjs +13 -79
  112. package/dist/apis/consent.js +11 -77
  113. package/dist/apis/customer-portal.cjs +13 -2247
  114. package/dist/apis/customer-portal.js +11 -2245
  115. package/dist/apis/dashboard.cjs +13 -79
  116. package/dist/apis/dashboard.js +11 -77
  117. package/dist/apis/data-management.cjs +13 -235
  118. package/dist/apis/data-management.js +11 -233
  119. package/dist/apis/deduplication.cjs +13 -37
  120. package/dist/apis/deduplication.js +11 -35
  121. package/dist/apis/design.cjs +13 -214
  122. package/dist/apis/design.js +11 -212
  123. package/dist/apis/document.cjs +13 -73
  124. package/dist/apis/document.js +11 -71
  125. package/dist/apis/email-settings.cjs +13 -528
  126. package/dist/apis/email-settings.js +11 -526
  127. package/dist/apis/email-template.cjs +13 -117
  128. package/dist/apis/email-template.js +11 -115
  129. package/dist/apis/entity-mapping.cjs +13 -210
  130. package/dist/apis/entity-mapping.js +11 -208
  131. package/dist/apis/entity.cjs +13 -1595
  132. package/dist/apis/entity.js +11 -1593
  133. package/dist/apis/environments.cjs +13 -66
  134. package/dist/apis/environments.js +11 -64
  135. package/dist/apis/erp-integration.cjs +13 -581
  136. package/dist/apis/erp-integration.js +11 -579
  137. package/dist/apis/event-catalog.cjs +13 -125
  138. package/dist/apis/event-catalog.js +11 -123
  139. package/dist/apis/file.cjs +13 -568
  140. package/dist/apis/file.js +11 -566
  141. package/dist/apis/iban.cjs +13 -38
  142. package/dist/apis/iban.js +11 -36
  143. package/dist/apis/journey.cjs +13 -265
  144. package/dist/apis/journey.js +11 -263
  145. package/dist/apis/kanban.cjs +13 -159
  146. package/dist/apis/kanban.js +11 -157
  147. package/dist/apis/message.cjs +13 -668
  148. package/dist/apis/message.js +11 -666
  149. package/dist/apis/metering.cjs +13 -394
  150. package/dist/apis/metering.js +11 -392
  151. package/dist/apis/notes.cjs +13 -214
  152. package/dist/apis/notes.js +11 -212
  153. package/dist/apis/notification.cjs +13 -232
  154. package/dist/apis/notification.js +11 -230
  155. package/dist/apis/organization.cjs +13 -113
  156. package/dist/apis/organization.js +11 -111
  157. package/dist/apis/partner-directory.cjs +13 -277
  158. package/dist/apis/partner-directory.js +11 -275
  159. package/dist/apis/permissions.cjs +13 -173
  160. package/dist/apis/permissions.js +11 -171
  161. package/dist/apis/pricing-tier.cjs +14 -32
  162. package/dist/apis/pricing-tier.js +11 -29
  163. package/dist/apis/pricing.cjs +13 -434
  164. package/dist/apis/pricing.js +11 -432
  165. package/dist/apis/purpose.cjs +13 -175
  166. package/dist/apis/purpose.js +11 -173
  167. package/dist/apis/sandbox.cjs +13 -95
  168. package/dist/apis/sandbox.js +11 -93
  169. package/dist/apis/submission.cjs +13 -50
  170. package/dist/apis/submission.js +11 -48
  171. package/dist/apis/targeting.cjs +13 -270
  172. package/dist/apis/targeting.js +11 -268
  173. package/dist/apis/template-variables.cjs +13 -154
  174. package/dist/apis/template-variables.js +11 -152
  175. package/dist/apis/user.cjs +13 -483
  176. package/dist/apis/user.js +11 -481
  177. package/dist/apis/validation-rules.cjs +13 -115
  178. package/dist/apis/validation-rules.js +11 -113
  179. package/dist/apis/webhooks.cjs +13 -247
  180. package/dist/apis/webhooks.js +11 -245
  181. package/dist/apis/workflow-definition.cjs +13 -337
  182. package/dist/apis/workflow-definition.js +11 -335
  183. package/dist/apis/workflow.cjs +13 -397
  184. package/dist/apis/workflow.js +11 -395
  185. package/dist/{chunk-D7ICL3AM.cjs → chunk-5LXNSDG2.cjs} +51 -2
  186. package/dist/{chunk-DGCGLG7G.js → chunk-QMQNMCOC.js} +49 -0
  187. package/dist/index.cjs +56 -54
  188. package/dist/index.js +53 -51
  189. package/package.json +50 -3
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,629 @@
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
+ }
@@ -0,0 +1 @@
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"}