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