@epilot/sdk 2.0.3 → 2.1.0-rc.0

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 (214) 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.d.cts +2 -2
  103. package/dist/apis/app.d.ts +2 -2
  104. package/dist/apis/app.js +1 -1
  105. package/dist/apis/audit-logs.cjs +7 -7
  106. package/dist/apis/audit-logs.js +1 -1
  107. package/dist/apis/automation.cjs +7 -7
  108. package/dist/apis/automation.js +1 -1
  109. package/dist/apis/billing.cjs +7 -7
  110. package/dist/apis/billing.js +1 -1
  111. package/dist/apis/blueprint-manifest.cjs +8 -8
  112. package/dist/apis/blueprint-manifest.d.cts +2 -2
  113. package/dist/apis/blueprint-manifest.d.ts +2 -2
  114. package/dist/apis/blueprint-manifest.js +2 -2
  115. package/dist/apis/consent.cjs +7 -7
  116. package/dist/apis/consent.js +1 -1
  117. package/dist/apis/customer-portal.cjs +7 -7
  118. package/dist/apis/customer-portal.js +1 -1
  119. package/dist/apis/dashboard.cjs +7 -7
  120. package/dist/apis/dashboard.js +1 -1
  121. package/dist/apis/data-management.cjs +7 -7
  122. package/dist/apis/data-management.d.cts +2 -2
  123. package/dist/apis/data-management.d.ts +2 -2
  124. package/dist/apis/data-management.js +1 -1
  125. package/dist/apis/deduplication.cjs +7 -7
  126. package/dist/apis/deduplication.js +1 -1
  127. package/dist/apis/design.cjs +7 -7
  128. package/dist/apis/design.js +1 -1
  129. package/dist/apis/document.cjs +7 -7
  130. package/dist/apis/document.js +1 -1
  131. package/dist/apis/email-settings.cjs +7 -7
  132. package/dist/apis/email-settings.js +1 -1
  133. package/dist/apis/email-template.cjs +7 -7
  134. package/dist/apis/email-template.d.cts +2 -2
  135. package/dist/apis/email-template.d.ts +2 -2
  136. package/dist/apis/email-template.js +1 -1
  137. package/dist/apis/entity-mapping.cjs +7 -7
  138. package/dist/apis/entity-mapping.js +1 -1
  139. package/dist/apis/entity.cjs +8 -8
  140. package/dist/apis/entity.d.cts +2 -2
  141. package/dist/apis/entity.d.ts +2 -2
  142. package/dist/apis/entity.js +2 -2
  143. package/dist/apis/environments.cjs +7 -7
  144. package/dist/apis/environments.js +1 -1
  145. package/dist/apis/erp-integration.cjs +7 -7
  146. package/dist/apis/erp-integration.js +1 -1
  147. package/dist/apis/event-catalog.cjs +7 -7
  148. package/dist/apis/event-catalog.js +1 -1
  149. package/dist/apis/file.cjs +7 -7
  150. package/dist/apis/file.js +1 -1
  151. package/dist/apis/iban.cjs +7 -7
  152. package/dist/apis/iban.js +1 -1
  153. package/dist/apis/journey.cjs +7 -7
  154. package/dist/apis/journey.js +1 -1
  155. package/dist/apis/kanban.cjs +7 -7
  156. package/dist/apis/kanban.js +1 -1
  157. package/dist/apis/message.cjs +7 -7
  158. package/dist/apis/message.js +1 -1
  159. package/dist/apis/metering.cjs +7 -7
  160. package/dist/apis/metering.js +1 -1
  161. package/dist/apis/notes.cjs +7 -7
  162. package/dist/apis/notes.js +1 -1
  163. package/dist/apis/notification.cjs +7 -7
  164. package/dist/apis/notification.js +1 -1
  165. package/dist/apis/organization.cjs +7 -7
  166. package/dist/apis/organization.js +1 -1
  167. package/dist/apis/partner-directory.cjs +7 -7
  168. package/dist/apis/partner-directory.js +1 -1
  169. package/dist/apis/permissions.cjs +7 -7
  170. package/dist/apis/permissions.js +1 -1
  171. package/dist/apis/pricing-tier.cjs +7 -7
  172. package/dist/apis/pricing-tier.js +1 -1
  173. package/dist/apis/pricing.cjs +7 -7
  174. package/dist/apis/pricing.js +1 -1
  175. package/dist/apis/purpose.cjs +7 -7
  176. package/dist/apis/purpose.js +1 -1
  177. package/dist/apis/sandbox.cjs +7 -7
  178. package/dist/apis/sandbox.js +1 -1
  179. package/dist/apis/submission.cjs +7 -7
  180. package/dist/apis/submission.js +1 -1
  181. package/dist/apis/targeting.cjs +7 -7
  182. package/dist/apis/targeting.js +1 -1
  183. package/dist/apis/template-variables.cjs +7 -7
  184. package/dist/apis/template-variables.js +1 -1
  185. package/dist/apis/user.cjs +7 -7
  186. package/dist/apis/user.js +1 -1
  187. package/dist/apis/validation-rules.cjs +7 -7
  188. package/dist/apis/validation-rules.js +1 -1
  189. package/dist/apis/webhooks.cjs +7 -7
  190. package/dist/apis/webhooks.js +1 -1
  191. package/dist/apis/workflow-definition.cjs +7 -7
  192. package/dist/apis/workflow-definition.js +1 -1
  193. package/dist/apis/workflow.cjs +7 -7
  194. package/dist/apis/workflow.js +1 -1
  195. package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
  196. package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
  197. package/dist/bin/cli.js +123 -25
  198. package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
  199. package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
  200. package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
  201. package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
  202. package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
  203. package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
  204. package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
  205. package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
  206. package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
  207. package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
  208. package/dist/index.cjs +17 -17
  209. package/dist/index.d.cts +5 -5
  210. package/dist/index.d.ts +5 -5
  211. package/dist/index.js +10 -10
  212. package/dist/js-yaml-UPZKYVRY.js +2645 -0
  213. package/package.json +11 -10
  214. package/LICENSE +0 -21
@@ -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"}