@sneekin/sdk 0.3.2 → 1.0.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.
- package/dist/core/client.d.ts +24 -0
- package/dist/core/derive-keys.d.ts +6 -0
- package/dist/core/generated/api.d.ts +3490 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/index.cjs +223 -0
- package/dist/index.d.ts +2 -118
- package/dist/index.js +127 -129
- package/dist/messages/index.cjs +150 -0
- package/dist/messages/index.d.ts +1 -0
- package/dist/messages/index.js +121 -0
- package/dist/pay/index.cjs +223 -0
- package/dist/pay/index.d.ts +2 -0
- package/dist/pay/index.js +192 -0
- package/dist/pay/payments.d.ts +90 -0
- package/dist/verify/index.cjs +150 -0
- package/dist/verify/index.d.ts +1 -0
- package/dist/verify/index.js +121 -0
- package/package.json +67 -47
- package/README.md +0 -134
- package/dist/index.d.mts +0 -118
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -168
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,3490 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type ErrorDetail = {
|
|
5
|
+
field: string;
|
|
6
|
+
code: string;
|
|
7
|
+
message: string;
|
|
8
|
+
};
|
|
9
|
+
export type ErrorEnvelope = {
|
|
10
|
+
type: string;
|
|
11
|
+
title: string;
|
|
12
|
+
status: number;
|
|
13
|
+
detail: string;
|
|
14
|
+
instance: string;
|
|
15
|
+
code?: string;
|
|
16
|
+
correlationId?: string;
|
|
17
|
+
details?: Array<ErrorDetail>;
|
|
18
|
+
};
|
|
19
|
+
export type OkResponse = {
|
|
20
|
+
ok: true;
|
|
21
|
+
};
|
|
22
|
+
export type PaginationQuery = {
|
|
23
|
+
page?: number;
|
|
24
|
+
perPage?: number;
|
|
25
|
+
};
|
|
26
|
+
export type PaginationMeta = {
|
|
27
|
+
total: number;
|
|
28
|
+
page: number;
|
|
29
|
+
perPage: number;
|
|
30
|
+
totalPages: number;
|
|
31
|
+
};
|
|
32
|
+
export type HealthResponse = {
|
|
33
|
+
status: string;
|
|
34
|
+
timestamp: string;
|
|
35
|
+
service: string;
|
|
36
|
+
};
|
|
37
|
+
export type CreateApplication = {
|
|
38
|
+
websiteUrl: string;
|
|
39
|
+
displayName?: string;
|
|
40
|
+
authChannels?: number;
|
|
41
|
+
allowedOrigins?: Array<string>;
|
|
42
|
+
sessionTtlSeconds?: number | null;
|
|
43
|
+
requireStepUpForSensitiveActions?: boolean;
|
|
44
|
+
};
|
|
45
|
+
export type UpdateApplication = {
|
|
46
|
+
websiteUrl?: string;
|
|
47
|
+
displayName?: string;
|
|
48
|
+
authChannels?: number;
|
|
49
|
+
allowedOrigins?: Array<string>;
|
|
50
|
+
sessionTtlSeconds?: number | null;
|
|
51
|
+
requireStepUpForSensitiveActions?: boolean;
|
|
52
|
+
status?: 'active' | 'suspended';
|
|
53
|
+
};
|
|
54
|
+
export type CreateApiKey = {
|
|
55
|
+
name?: string;
|
|
56
|
+
environment?: 'live' | 'test';
|
|
57
|
+
expiresAt?: string;
|
|
58
|
+
};
|
|
59
|
+
export type ListApplicationsResponse = {
|
|
60
|
+
items: Array<{
|
|
61
|
+
id: string;
|
|
62
|
+
organizationId: string;
|
|
63
|
+
clientId: string;
|
|
64
|
+
slug: string;
|
|
65
|
+
displayName: string;
|
|
66
|
+
websiteUrl: string;
|
|
67
|
+
authChannels: number;
|
|
68
|
+
allowedOrigins: Array<string>;
|
|
69
|
+
sessionTtlSeconds: number | null;
|
|
70
|
+
requireStepUpForSensitiveActions: boolean;
|
|
71
|
+
rateLimits: {
|
|
72
|
+
per_min: number;
|
|
73
|
+
per_day: number;
|
|
74
|
+
};
|
|
75
|
+
status: 'active' | 'suspended' | 'deleted';
|
|
76
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
77
|
+
domainVerificationDomain: string | null;
|
|
78
|
+
domainVerifiedAt: string | null;
|
|
79
|
+
domainNextCheckAt: string | null;
|
|
80
|
+
domainGraceExpiresAt: string | null;
|
|
81
|
+
createdAt: string;
|
|
82
|
+
updatedAt: string;
|
|
83
|
+
}>;
|
|
84
|
+
};
|
|
85
|
+
export type ApplicationResponse = {
|
|
86
|
+
id: string;
|
|
87
|
+
organizationId: string;
|
|
88
|
+
clientId: string;
|
|
89
|
+
slug: string;
|
|
90
|
+
displayName: string;
|
|
91
|
+
websiteUrl: string;
|
|
92
|
+
authChannels: number;
|
|
93
|
+
allowedOrigins: Array<string>;
|
|
94
|
+
sessionTtlSeconds: number | null;
|
|
95
|
+
requireStepUpForSensitiveActions: boolean;
|
|
96
|
+
rateLimits: {
|
|
97
|
+
per_min: number;
|
|
98
|
+
per_day: number;
|
|
99
|
+
};
|
|
100
|
+
status: 'active' | 'suspended' | 'deleted';
|
|
101
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
102
|
+
domainVerificationDomain: string | null;
|
|
103
|
+
domainVerifiedAt: string | null;
|
|
104
|
+
domainNextCheckAt: string | null;
|
|
105
|
+
domainGraceExpiresAt: string | null;
|
|
106
|
+
createdAt: string;
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
};
|
|
109
|
+
export type DomainVerificationResponse = {
|
|
110
|
+
applicationId: string;
|
|
111
|
+
domain: string;
|
|
112
|
+
status: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
113
|
+
recordName: string;
|
|
114
|
+
recordValue: string;
|
|
115
|
+
tokenExpiresAt: string | null;
|
|
116
|
+
verifiedAt: string | null;
|
|
117
|
+
lastCheckedAt: string | null;
|
|
118
|
+
nextCheckAt: string | null;
|
|
119
|
+
graceExpiresAt: string | null;
|
|
120
|
+
failure: {
|
|
121
|
+
code: 'mismatch' | 'not_found' | 'timeout' | 'servfail' | 'resolver_error';
|
|
122
|
+
retryable: boolean;
|
|
123
|
+
occurredAt: string;
|
|
124
|
+
} | null;
|
|
125
|
+
};
|
|
126
|
+
export type ListApiKeysResponse = {
|
|
127
|
+
items: Array<{
|
|
128
|
+
id: string;
|
|
129
|
+
applicationId: string;
|
|
130
|
+
name: string;
|
|
131
|
+
prefix: string;
|
|
132
|
+
environment: 'live' | 'test';
|
|
133
|
+
lastUsedAt: string | null;
|
|
134
|
+
expiresAt: string | null;
|
|
135
|
+
revokedAt: string | null;
|
|
136
|
+
createdAt: string;
|
|
137
|
+
}>;
|
|
138
|
+
};
|
|
139
|
+
export type CreateApiKeyResponse = {
|
|
140
|
+
id: string;
|
|
141
|
+
applicationId: string;
|
|
142
|
+
name: string;
|
|
143
|
+
prefix: string;
|
|
144
|
+
environment: 'live' | 'test';
|
|
145
|
+
lastUsedAt: string | null;
|
|
146
|
+
expiresAt: string | null;
|
|
147
|
+
revokedAt: string | null;
|
|
148
|
+
createdAt: string;
|
|
149
|
+
key: string;
|
|
150
|
+
};
|
|
151
|
+
export type QrSignInSettings = {
|
|
152
|
+
secretCreatedAt: string | null;
|
|
153
|
+
webhookUrl: string | null;
|
|
154
|
+
defaultWebhookPath: string;
|
|
155
|
+
};
|
|
156
|
+
export type UpdateQrWebhook = {
|
|
157
|
+
webhookUrl: string | null;
|
|
158
|
+
};
|
|
159
|
+
export type CreateQrSigningSecretResponse = QrSignInSettings & {
|
|
160
|
+
secret: string;
|
|
161
|
+
};
|
|
162
|
+
export type CreateOrder = {
|
|
163
|
+
amount: string;
|
|
164
|
+
currency?: 'INR';
|
|
165
|
+
receipt?: string;
|
|
166
|
+
client_ref?: string;
|
|
167
|
+
notes?: {
|
|
168
|
+
[key: string]: unknown;
|
|
169
|
+
};
|
|
170
|
+
settle_after?: string;
|
|
171
|
+
};
|
|
172
|
+
export type RescheduleSettlement = {
|
|
173
|
+
settle_after: string;
|
|
174
|
+
};
|
|
175
|
+
export type VerifyPayment = {
|
|
176
|
+
order_id: string;
|
|
177
|
+
payment_id: string;
|
|
178
|
+
signature: string;
|
|
179
|
+
};
|
|
180
|
+
export type RazorpayWebhook = {
|
|
181
|
+
event?: string;
|
|
182
|
+
payload?: {
|
|
183
|
+
payment?: {
|
|
184
|
+
entity?: {
|
|
185
|
+
id?: string | null;
|
|
186
|
+
order_id?: string | null;
|
|
187
|
+
status?: string | null;
|
|
188
|
+
amount?: number | null;
|
|
189
|
+
currency?: string | null;
|
|
190
|
+
amount_refunded?: number | null;
|
|
191
|
+
error_description?: string | null;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
order?: {
|
|
195
|
+
entity?: {
|
|
196
|
+
id?: string | null;
|
|
197
|
+
order_id?: string | null;
|
|
198
|
+
status?: string | null;
|
|
199
|
+
amount?: number | null;
|
|
200
|
+
currency?: string | null;
|
|
201
|
+
amount_refunded?: number | null;
|
|
202
|
+
error_description?: string | null;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
refund?: {
|
|
206
|
+
entity?: {
|
|
207
|
+
id?: string | null;
|
|
208
|
+
order_id?: string | null;
|
|
209
|
+
status?: string | null;
|
|
210
|
+
amount?: number | null;
|
|
211
|
+
currency?: string | null;
|
|
212
|
+
amount_refunded?: number | null;
|
|
213
|
+
error_description?: string | null;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
export type Settlement = {
|
|
219
|
+
status: 'awaiting_payment' | 'on_hold' | 'released' | 'partially_reversed' | 'reversed';
|
|
220
|
+
settles_after: string | null;
|
|
221
|
+
organizer_share: string;
|
|
222
|
+
platform_fee: string;
|
|
223
|
+
reversed: string;
|
|
224
|
+
};
|
|
225
|
+
export type CreateOrderResponse = {
|
|
226
|
+
id: string;
|
|
227
|
+
provider_order_id: string;
|
|
228
|
+
amount: string;
|
|
229
|
+
currency: string;
|
|
230
|
+
status: 'created' | 'pending' | 'paid' | 'failed' | 'refunded' | 'partially_refunded';
|
|
231
|
+
key_id: string;
|
|
232
|
+
receipt?: string;
|
|
233
|
+
client_ref?: string;
|
|
234
|
+
settlement?: Settlement;
|
|
235
|
+
};
|
|
236
|
+
export type GetOrderResponse = {
|
|
237
|
+
id: string;
|
|
238
|
+
provider: string;
|
|
239
|
+
provider_order_id: string;
|
|
240
|
+
provider_payment_id: string | null;
|
|
241
|
+
amount: string;
|
|
242
|
+
amount_refunded: string;
|
|
243
|
+
currency: string;
|
|
244
|
+
status: 'created' | 'pending' | 'paid' | 'failed' | 'refunded' | 'partially_refunded';
|
|
245
|
+
receipt: string | null;
|
|
246
|
+
client_ref: string | null;
|
|
247
|
+
created_at: string;
|
|
248
|
+
paid_at: string | null;
|
|
249
|
+
settlement?: Settlement;
|
|
250
|
+
};
|
|
251
|
+
export type VerifyPaymentResponse = {
|
|
252
|
+
id: string;
|
|
253
|
+
provider_order_id: string;
|
|
254
|
+
provider_payment_id: string;
|
|
255
|
+
status: 'created' | 'pending' | 'paid' | 'failed' | 'refunded' | 'partially_refunded';
|
|
256
|
+
amount: string;
|
|
257
|
+
currency: string;
|
|
258
|
+
verified: true;
|
|
259
|
+
};
|
|
260
|
+
export type PaymentsWebhookResponse = {
|
|
261
|
+
received: true;
|
|
262
|
+
applied: boolean;
|
|
263
|
+
event_type: string;
|
|
264
|
+
};
|
|
265
|
+
export type UpdateEmployeeWebsites = {
|
|
266
|
+
websiteSlugs?: Array<string>;
|
|
267
|
+
};
|
|
268
|
+
export type UpdateOrganizationBilling = {
|
|
269
|
+
legalName?: string | null;
|
|
270
|
+
email?: string | null;
|
|
271
|
+
address?: {
|
|
272
|
+
[key: string]: string;
|
|
273
|
+
};
|
|
274
|
+
taxId?: string | null;
|
|
275
|
+
logoUrl?: string | null;
|
|
276
|
+
};
|
|
277
|
+
export type CreateWalletTopup = {
|
|
278
|
+
amount: string | number;
|
|
279
|
+
};
|
|
280
|
+
export type VerifyWalletTopup = {
|
|
281
|
+
order_id: string;
|
|
282
|
+
payment_id: string;
|
|
283
|
+
signature: string;
|
|
284
|
+
};
|
|
285
|
+
export type CreateInvoice = {
|
|
286
|
+
month: string;
|
|
287
|
+
issue?: boolean;
|
|
288
|
+
};
|
|
289
|
+
export type UpdateWebsiteSettings = {
|
|
290
|
+
websiteUrl?: string;
|
|
291
|
+
authChannels?: number;
|
|
292
|
+
allowedOrigins?: Array<string>;
|
|
293
|
+
sessionTtlSeconds?: number | null;
|
|
294
|
+
requireStepUpForSensitiveActions?: boolean;
|
|
295
|
+
status?: 'active' | 'suspended';
|
|
296
|
+
};
|
|
297
|
+
export type UpdateSettlementAccount = {
|
|
298
|
+
linkedAccountId: string | null;
|
|
299
|
+
};
|
|
300
|
+
export type SettlementOnboarding = {
|
|
301
|
+
legalBusinessName: string;
|
|
302
|
+
businessType: 'individual' | 'proprietorship' | 'partnership' | 'private_limited' | 'public_limited' | 'llp' | 'trust' | 'society' | 'ngo' | 'not_yet_registered' | 'educational_institutes';
|
|
303
|
+
email: string;
|
|
304
|
+
phone: string;
|
|
305
|
+
pan: string;
|
|
306
|
+
gstin?: string;
|
|
307
|
+
bankAccount: {
|
|
308
|
+
accountNumber: string;
|
|
309
|
+
ifsc: string;
|
|
310
|
+
beneficiaryName: string;
|
|
311
|
+
};
|
|
312
|
+
tncAccepted: true;
|
|
313
|
+
};
|
|
314
|
+
export type UpdateSettlementHold = {
|
|
315
|
+
holdUntil: string | null;
|
|
316
|
+
};
|
|
317
|
+
export type MarketplaceTaxReportResponse = {
|
|
318
|
+
month: string;
|
|
319
|
+
generatedAt: string;
|
|
320
|
+
tcsBps: number;
|
|
321
|
+
tdsBps: number;
|
|
322
|
+
rows: Array<{
|
|
323
|
+
applicationId: string;
|
|
324
|
+
organizationName: string;
|
|
325
|
+
websiteName: string;
|
|
326
|
+
linkedAccountId: string | null;
|
|
327
|
+
legalName: string | null;
|
|
328
|
+
pan: string | null;
|
|
329
|
+
gstin: string | null;
|
|
330
|
+
currency: string;
|
|
331
|
+
payments: number;
|
|
332
|
+
gross: string;
|
|
333
|
+
refunded: string;
|
|
334
|
+
netTaxable: string;
|
|
335
|
+
platformFee: string;
|
|
336
|
+
organizerShare: string;
|
|
337
|
+
tcs: string;
|
|
338
|
+
tds: string;
|
|
339
|
+
}>;
|
|
340
|
+
csv: string;
|
|
341
|
+
};
|
|
342
|
+
export type ListConsoleOrgsResponse = {
|
|
343
|
+
items: Array<{
|
|
344
|
+
id: string;
|
|
345
|
+
name: string;
|
|
346
|
+
slug: string;
|
|
347
|
+
type: 'sneek' | 'partner';
|
|
348
|
+
status: string;
|
|
349
|
+
currentUserRole: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
350
|
+
canManageMembers: boolean;
|
|
351
|
+
canManageBilling: boolean;
|
|
352
|
+
logoUrl: string | null;
|
|
353
|
+
createdAt: string;
|
|
354
|
+
updatedAt: string;
|
|
355
|
+
websiteCount: number;
|
|
356
|
+
}>;
|
|
357
|
+
};
|
|
358
|
+
export type ListAuditLogResponse = {
|
|
359
|
+
items: Array<{
|
|
360
|
+
id: string;
|
|
361
|
+
action: string;
|
|
362
|
+
resourceType: string;
|
|
363
|
+
resourceId: string;
|
|
364
|
+
payload?: unknown;
|
|
365
|
+
sourceIp: string | null;
|
|
366
|
+
createdAt: string;
|
|
367
|
+
actorName: string | null;
|
|
368
|
+
actorEmail: string | null;
|
|
369
|
+
organizationName: string | null;
|
|
370
|
+
organizationSlug: string | null;
|
|
371
|
+
}>;
|
|
372
|
+
};
|
|
373
|
+
export type GetOpenapiDocumentResponse = {
|
|
374
|
+
[key: string]: unknown;
|
|
375
|
+
};
|
|
376
|
+
export type OrganizationDetailResponse = {
|
|
377
|
+
organization: {
|
|
378
|
+
id: string;
|
|
379
|
+
name: string;
|
|
380
|
+
slug: string;
|
|
381
|
+
type: 'sneek' | 'partner';
|
|
382
|
+
status: string;
|
|
383
|
+
currentUserRole: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
384
|
+
canManageMembers: boolean;
|
|
385
|
+
canManageBilling: boolean;
|
|
386
|
+
logoUrl: string | null;
|
|
387
|
+
createdAt: string;
|
|
388
|
+
updatedAt: string;
|
|
389
|
+
};
|
|
390
|
+
applications: Array<{
|
|
391
|
+
id: string;
|
|
392
|
+
organizationId: string;
|
|
393
|
+
clientId: string;
|
|
394
|
+
slug: string;
|
|
395
|
+
displayName: string;
|
|
396
|
+
websiteUrl: string;
|
|
397
|
+
logoUrl: string | null;
|
|
398
|
+
authChannels: number;
|
|
399
|
+
allowedOrigins: Array<string>;
|
|
400
|
+
sessionTtlSeconds: number | null;
|
|
401
|
+
requireStepUpForSensitiveActions: boolean;
|
|
402
|
+
rateLimits: {
|
|
403
|
+
per_min: number;
|
|
404
|
+
per_day: number;
|
|
405
|
+
};
|
|
406
|
+
status: string;
|
|
407
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
408
|
+
domainVerificationDomain: string | null;
|
|
409
|
+
domainVerifiedAt: string | null;
|
|
410
|
+
domainNextCheckAt: string | null;
|
|
411
|
+
domainGraceExpiresAt: string | null;
|
|
412
|
+
createdAt: string;
|
|
413
|
+
updatedAt: string;
|
|
414
|
+
}>;
|
|
415
|
+
members: Array<{
|
|
416
|
+
userId: string;
|
|
417
|
+
email: string | null;
|
|
418
|
+
displayName: string;
|
|
419
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
420
|
+
joinedAt: string | null;
|
|
421
|
+
}>;
|
|
422
|
+
analytics: {
|
|
423
|
+
currency: 'INR';
|
|
424
|
+
authUsers: number;
|
|
425
|
+
monthToDateChargeMicroInr: number;
|
|
426
|
+
allTimeChargeMicroInr: number;
|
|
427
|
+
monthToDateUsage: {
|
|
428
|
+
SMS_OTP: number;
|
|
429
|
+
SMS_MSG: number;
|
|
430
|
+
WHATSAPP_OTP: number;
|
|
431
|
+
WHATSAPP_MSG: number;
|
|
432
|
+
EMAIL_OTP: number;
|
|
433
|
+
EMAIL_MSG: number;
|
|
434
|
+
PUSH: number;
|
|
435
|
+
QR_SCAN: number;
|
|
436
|
+
PASSKEY: number;
|
|
437
|
+
};
|
|
438
|
+
allTimeUsage: {
|
|
439
|
+
SMS_OTP: number;
|
|
440
|
+
SMS_MSG: number;
|
|
441
|
+
WHATSAPP_OTP: number;
|
|
442
|
+
WHATSAPP_MSG: number;
|
|
443
|
+
EMAIL_OTP: number;
|
|
444
|
+
EMAIL_MSG: number;
|
|
445
|
+
PUSH: number;
|
|
446
|
+
QR_SCAN: number;
|
|
447
|
+
PASSKEY: number;
|
|
448
|
+
};
|
|
449
|
+
monthly: Array<{
|
|
450
|
+
month: string;
|
|
451
|
+
chargeMicroInr: number;
|
|
452
|
+
usage: {
|
|
453
|
+
SMS_OTP: number;
|
|
454
|
+
SMS_MSG: number;
|
|
455
|
+
WHATSAPP_OTP: number;
|
|
456
|
+
WHATSAPP_MSG: number;
|
|
457
|
+
EMAIL_OTP: number;
|
|
458
|
+
EMAIL_MSG: number;
|
|
459
|
+
PUSH: number;
|
|
460
|
+
QR_SCAN: number;
|
|
461
|
+
PASSKEY: number;
|
|
462
|
+
};
|
|
463
|
+
}>;
|
|
464
|
+
conversionRatePercent: number;
|
|
465
|
+
averageVerificationLatencyMs: number | null;
|
|
466
|
+
lockedOutChallenges: number;
|
|
467
|
+
activeSessions: number;
|
|
468
|
+
};
|
|
469
|
+
applicationAnalytics: Array<{
|
|
470
|
+
applicationId: string;
|
|
471
|
+
authUsers: number;
|
|
472
|
+
monthToDateChargeMicroInr: number;
|
|
473
|
+
monthToDateUsage: {
|
|
474
|
+
SMS_OTP: number;
|
|
475
|
+
SMS_MSG: number;
|
|
476
|
+
WHATSAPP_OTP: number;
|
|
477
|
+
WHATSAPP_MSG: number;
|
|
478
|
+
EMAIL_OTP: number;
|
|
479
|
+
EMAIL_MSG: number;
|
|
480
|
+
PUSH: number;
|
|
481
|
+
QR_SCAN: number;
|
|
482
|
+
PASSKEY: number;
|
|
483
|
+
};
|
|
484
|
+
conversionRatePercent: number;
|
|
485
|
+
averageVerificationLatencyMs: number | null;
|
|
486
|
+
lockedOutChallenges: number;
|
|
487
|
+
activeSessions: number;
|
|
488
|
+
}>;
|
|
489
|
+
};
|
|
490
|
+
export type ConsoleEmployeesResponse = {
|
|
491
|
+
organization: {
|
|
492
|
+
id: string;
|
|
493
|
+
name: string;
|
|
494
|
+
slug: string;
|
|
495
|
+
type: 'sneek' | 'partner';
|
|
496
|
+
status: string;
|
|
497
|
+
currentUserRole: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
498
|
+
canManageMembers: boolean;
|
|
499
|
+
canManageBilling: boolean;
|
|
500
|
+
logoUrl: string | null;
|
|
501
|
+
createdAt: string;
|
|
502
|
+
updatedAt: string;
|
|
503
|
+
};
|
|
504
|
+
websites: Array<{
|
|
505
|
+
slug: string;
|
|
506
|
+
displayName: string;
|
|
507
|
+
}>;
|
|
508
|
+
employees: Array<{
|
|
509
|
+
userId: string;
|
|
510
|
+
email: string | null;
|
|
511
|
+
displayName: string;
|
|
512
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
513
|
+
joinedAt: string | null;
|
|
514
|
+
hasOrgWideAccess: boolean;
|
|
515
|
+
websiteSlugs: Array<string>;
|
|
516
|
+
}>;
|
|
517
|
+
};
|
|
518
|
+
export type UpdateEmployeeWebsitesResponse = {
|
|
519
|
+
websiteSlugs: Array<string>;
|
|
520
|
+
};
|
|
521
|
+
export type ApplicationDetailResponse = {
|
|
522
|
+
organization: {
|
|
523
|
+
id: string;
|
|
524
|
+
name: string;
|
|
525
|
+
slug: string;
|
|
526
|
+
type: 'sneek' | 'partner';
|
|
527
|
+
status: string;
|
|
528
|
+
currentUserRole: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
529
|
+
canManageMembers: boolean;
|
|
530
|
+
canManageBilling: boolean;
|
|
531
|
+
logoUrl: string | null;
|
|
532
|
+
createdAt: string;
|
|
533
|
+
updatedAt: string;
|
|
534
|
+
};
|
|
535
|
+
application: {
|
|
536
|
+
id: string;
|
|
537
|
+
organizationId: string;
|
|
538
|
+
clientId: string;
|
|
539
|
+
slug: string;
|
|
540
|
+
displayName: string;
|
|
541
|
+
websiteUrl: string;
|
|
542
|
+
logoUrl: string | null;
|
|
543
|
+
authChannels: number;
|
|
544
|
+
allowedOrigins: Array<string>;
|
|
545
|
+
sessionTtlSeconds: number | null;
|
|
546
|
+
requireStepUpForSensitiveActions: boolean;
|
|
547
|
+
rateLimits: {
|
|
548
|
+
per_min: number;
|
|
549
|
+
per_day: number;
|
|
550
|
+
};
|
|
551
|
+
status: string;
|
|
552
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
553
|
+
domainVerificationDomain: string | null;
|
|
554
|
+
domainVerifiedAt: string | null;
|
|
555
|
+
domainNextCheckAt: string | null;
|
|
556
|
+
domainGraceExpiresAt: string | null;
|
|
557
|
+
createdAt: string;
|
|
558
|
+
updatedAt: string;
|
|
559
|
+
};
|
|
560
|
+
organizationApplications: Array<{
|
|
561
|
+
id: string;
|
|
562
|
+
organizationId: string;
|
|
563
|
+
clientId: string;
|
|
564
|
+
slug: string;
|
|
565
|
+
displayName: string;
|
|
566
|
+
websiteUrl: string;
|
|
567
|
+
logoUrl: string | null;
|
|
568
|
+
authChannels: number;
|
|
569
|
+
allowedOrigins: Array<string>;
|
|
570
|
+
sessionTtlSeconds: number | null;
|
|
571
|
+
requireStepUpForSensitiveActions: boolean;
|
|
572
|
+
rateLimits: {
|
|
573
|
+
per_min: number;
|
|
574
|
+
per_day: number;
|
|
575
|
+
};
|
|
576
|
+
status: string;
|
|
577
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
578
|
+
domainVerificationDomain: string | null;
|
|
579
|
+
domainVerifiedAt: string | null;
|
|
580
|
+
domainNextCheckAt: string | null;
|
|
581
|
+
domainGraceExpiresAt: string | null;
|
|
582
|
+
createdAt: string;
|
|
583
|
+
updatedAt: string;
|
|
584
|
+
}>;
|
|
585
|
+
canViewAuthUsers: boolean;
|
|
586
|
+
authUsers: Array<{
|
|
587
|
+
id: string;
|
|
588
|
+
applicationId: string;
|
|
589
|
+
applicationName: string;
|
|
590
|
+
websiteUrl: string;
|
|
591
|
+
canonicalKey: 'u1' | 'u2' | 'u3';
|
|
592
|
+
displayName: string | null;
|
|
593
|
+
createdAt: string;
|
|
594
|
+
lastAuthenticatedAt: string | null;
|
|
595
|
+
factors: Array<{
|
|
596
|
+
subjectId: string;
|
|
597
|
+
identifierMasked: string;
|
|
598
|
+
identifierKind: 'email' | 'mobile';
|
|
599
|
+
createdAt: string;
|
|
600
|
+
lastAuthenticatedAt: string | null;
|
|
601
|
+
}>;
|
|
602
|
+
}>;
|
|
603
|
+
messages: Array<{
|
|
604
|
+
id: string;
|
|
605
|
+
applicationId: string;
|
|
606
|
+
channel: string;
|
|
607
|
+
toMasked: string;
|
|
608
|
+
bodyPreview: string | null;
|
|
609
|
+
latestStatus: string;
|
|
610
|
+
latestProvider: string | null;
|
|
611
|
+
acceptedAt: string;
|
|
612
|
+
}>;
|
|
613
|
+
analytics: {
|
|
614
|
+
currency: 'INR';
|
|
615
|
+
authUsers: number;
|
|
616
|
+
monthToDateChargeMicroInr: number;
|
|
617
|
+
allTimeChargeMicroInr: number;
|
|
618
|
+
monthToDateUsage: {
|
|
619
|
+
SMS_OTP: number;
|
|
620
|
+
SMS_MSG: number;
|
|
621
|
+
WHATSAPP_OTP: number;
|
|
622
|
+
WHATSAPP_MSG: number;
|
|
623
|
+
EMAIL_OTP: number;
|
|
624
|
+
EMAIL_MSG: number;
|
|
625
|
+
PUSH: number;
|
|
626
|
+
QR_SCAN: number;
|
|
627
|
+
PASSKEY: number;
|
|
628
|
+
};
|
|
629
|
+
allTimeUsage: {
|
|
630
|
+
SMS_OTP: number;
|
|
631
|
+
SMS_MSG: number;
|
|
632
|
+
WHATSAPP_OTP: number;
|
|
633
|
+
WHATSAPP_MSG: number;
|
|
634
|
+
EMAIL_OTP: number;
|
|
635
|
+
EMAIL_MSG: number;
|
|
636
|
+
PUSH: number;
|
|
637
|
+
QR_SCAN: number;
|
|
638
|
+
PASSKEY: number;
|
|
639
|
+
};
|
|
640
|
+
monthly: Array<{
|
|
641
|
+
month: string;
|
|
642
|
+
chargeMicroInr: number;
|
|
643
|
+
usage: {
|
|
644
|
+
SMS_OTP: number;
|
|
645
|
+
SMS_MSG: number;
|
|
646
|
+
WHATSAPP_OTP: number;
|
|
647
|
+
WHATSAPP_MSG: number;
|
|
648
|
+
EMAIL_OTP: number;
|
|
649
|
+
EMAIL_MSG: number;
|
|
650
|
+
PUSH: number;
|
|
651
|
+
QR_SCAN: number;
|
|
652
|
+
PASSKEY: number;
|
|
653
|
+
};
|
|
654
|
+
}>;
|
|
655
|
+
conversionRatePercent: number;
|
|
656
|
+
averageVerificationLatencyMs: number | null;
|
|
657
|
+
lockedOutChallenges: number;
|
|
658
|
+
activeSessions: number;
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
export type AdminPortalApplicationResponse = {
|
|
662
|
+
id: string;
|
|
663
|
+
organizationId: string;
|
|
664
|
+
clientId: string;
|
|
665
|
+
slug: string;
|
|
666
|
+
displayName: string;
|
|
667
|
+
websiteUrl: string;
|
|
668
|
+
logoUrl: string | null;
|
|
669
|
+
authChannels: number;
|
|
670
|
+
allowedOrigins: Array<string>;
|
|
671
|
+
sessionTtlSeconds: number | null;
|
|
672
|
+
requireStepUpForSensitiveActions: boolean;
|
|
673
|
+
rateLimits: {
|
|
674
|
+
per_min: number;
|
|
675
|
+
per_day: number;
|
|
676
|
+
};
|
|
677
|
+
status: string;
|
|
678
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
679
|
+
domainVerificationDomain: string | null;
|
|
680
|
+
domainVerifiedAt: string | null;
|
|
681
|
+
domainNextCheckAt: string | null;
|
|
682
|
+
domainGraceExpiresAt: string | null;
|
|
683
|
+
createdAt: string;
|
|
684
|
+
updatedAt: string;
|
|
685
|
+
};
|
|
686
|
+
export type RefreshWebsiteResponse = {
|
|
687
|
+
website: {
|
|
688
|
+
id: string;
|
|
689
|
+
organizationId: string;
|
|
690
|
+
clientId: string;
|
|
691
|
+
slug: string;
|
|
692
|
+
displayName: string;
|
|
693
|
+
websiteUrl: string;
|
|
694
|
+
logoUrl: string | null;
|
|
695
|
+
authChannels: number;
|
|
696
|
+
allowedOrigins: Array<string>;
|
|
697
|
+
sessionTtlSeconds: number | null;
|
|
698
|
+
requireStepUpForSensitiveActions: boolean;
|
|
699
|
+
rateLimits: {
|
|
700
|
+
per_min: number;
|
|
701
|
+
per_day: number;
|
|
702
|
+
};
|
|
703
|
+
status: string;
|
|
704
|
+
domainVerificationStatus: 'unverified' | 'pending' | 'verified' | 'grace' | 'suspended';
|
|
705
|
+
domainVerificationDomain: string | null;
|
|
706
|
+
domainVerifiedAt: string | null;
|
|
707
|
+
domainNextCheckAt: string | null;
|
|
708
|
+
domainGraceExpiresAt: string | null;
|
|
709
|
+
createdAt: string;
|
|
710
|
+
updatedAt: string;
|
|
711
|
+
};
|
|
712
|
+
verification: DomainVerificationResponse;
|
|
713
|
+
};
|
|
714
|
+
export type UsageResponse = {
|
|
715
|
+
preset: 'mtd' | 'last-month';
|
|
716
|
+
period: {
|
|
717
|
+
from: string;
|
|
718
|
+
to: string;
|
|
719
|
+
};
|
|
720
|
+
items: Array<{
|
|
721
|
+
id: string;
|
|
722
|
+
userLabel: string;
|
|
723
|
+
type: 'SMS_OTP' | 'SMS_MSG' | 'WHATSAPP_OTP' | 'WHATSAPP_MSG' | 'EMAIL_OTP' | 'EMAIL_MSG' | 'PUSH' | 'QR_SCAN' | 'PASSKEY';
|
|
724
|
+
identifierMasked: string;
|
|
725
|
+
applicationId: string;
|
|
726
|
+
applicationName: string;
|
|
727
|
+
timestamp: string;
|
|
728
|
+
status: 'success' | 'pending' | 'error';
|
|
729
|
+
}>;
|
|
730
|
+
totals: {
|
|
731
|
+
SMS_OTP: number;
|
|
732
|
+
SMS_MSG: number;
|
|
733
|
+
WHATSAPP_OTP: number;
|
|
734
|
+
WHATSAPP_MSG: number;
|
|
735
|
+
EMAIL_OTP: number;
|
|
736
|
+
EMAIL_MSG: number;
|
|
737
|
+
PUSH: number;
|
|
738
|
+
QR_SCAN: number;
|
|
739
|
+
PASSKEY: number;
|
|
740
|
+
};
|
|
741
|
+
organizationApplications?: Array<{
|
|
742
|
+
slug: string;
|
|
743
|
+
displayName: string;
|
|
744
|
+
}>;
|
|
745
|
+
};
|
|
746
|
+
export type GetBillingResponse = {
|
|
747
|
+
profile: {
|
|
748
|
+
legalName: string | null;
|
|
749
|
+
email: string | null;
|
|
750
|
+
address: {
|
|
751
|
+
line1?: string;
|
|
752
|
+
line2?: string;
|
|
753
|
+
city?: string;
|
|
754
|
+
state?: string;
|
|
755
|
+
postalCode?: string;
|
|
756
|
+
country?: string;
|
|
757
|
+
};
|
|
758
|
+
taxId: string | null;
|
|
759
|
+
currency: 'INR';
|
|
760
|
+
};
|
|
761
|
+
analytics: {
|
|
762
|
+
currency: 'INR';
|
|
763
|
+
authUsers: number;
|
|
764
|
+
monthToDateChargeMicroInr: number;
|
|
765
|
+
allTimeChargeMicroInr: number;
|
|
766
|
+
monthToDateUsage: {
|
|
767
|
+
SMS_OTP: number;
|
|
768
|
+
SMS_MSG: number;
|
|
769
|
+
WHATSAPP_OTP: number;
|
|
770
|
+
WHATSAPP_MSG: number;
|
|
771
|
+
EMAIL_OTP: number;
|
|
772
|
+
EMAIL_MSG: number;
|
|
773
|
+
PUSH: number;
|
|
774
|
+
QR_SCAN: number;
|
|
775
|
+
PASSKEY: number;
|
|
776
|
+
};
|
|
777
|
+
allTimeUsage: {
|
|
778
|
+
SMS_OTP: number;
|
|
779
|
+
SMS_MSG: number;
|
|
780
|
+
WHATSAPP_OTP: number;
|
|
781
|
+
WHATSAPP_MSG: number;
|
|
782
|
+
EMAIL_OTP: number;
|
|
783
|
+
EMAIL_MSG: number;
|
|
784
|
+
PUSH: number;
|
|
785
|
+
QR_SCAN: number;
|
|
786
|
+
PASSKEY: number;
|
|
787
|
+
};
|
|
788
|
+
monthly: Array<{
|
|
789
|
+
month: string;
|
|
790
|
+
chargeMicroInr: number;
|
|
791
|
+
usage: {
|
|
792
|
+
SMS_OTP: number;
|
|
793
|
+
SMS_MSG: number;
|
|
794
|
+
WHATSAPP_OTP: number;
|
|
795
|
+
WHATSAPP_MSG: number;
|
|
796
|
+
EMAIL_OTP: number;
|
|
797
|
+
EMAIL_MSG: number;
|
|
798
|
+
PUSH: number;
|
|
799
|
+
QR_SCAN: number;
|
|
800
|
+
PASSKEY: number;
|
|
801
|
+
};
|
|
802
|
+
}>;
|
|
803
|
+
conversionRatePercent: number;
|
|
804
|
+
averageVerificationLatencyMs: number | null;
|
|
805
|
+
lockedOutChallenges: number;
|
|
806
|
+
activeSessions: number;
|
|
807
|
+
};
|
|
808
|
+
canManage: boolean;
|
|
809
|
+
logoUrl: string | null;
|
|
810
|
+
};
|
|
811
|
+
export type UpdateBillingResponse = {
|
|
812
|
+
profile: {
|
|
813
|
+
legalName: string | null;
|
|
814
|
+
email: string | null;
|
|
815
|
+
address: {
|
|
816
|
+
line1?: string;
|
|
817
|
+
line2?: string;
|
|
818
|
+
city?: string;
|
|
819
|
+
state?: string;
|
|
820
|
+
postalCode?: string;
|
|
821
|
+
country?: string;
|
|
822
|
+
};
|
|
823
|
+
taxId: string | null;
|
|
824
|
+
currency: 'INR';
|
|
825
|
+
};
|
|
826
|
+
logoUrl: string | null;
|
|
827
|
+
};
|
|
828
|
+
export type ListInvoicesResponse = {
|
|
829
|
+
items: Array<{
|
|
830
|
+
id: string;
|
|
831
|
+
invoiceNumber: string;
|
|
832
|
+
periodStart: string;
|
|
833
|
+
periodEnd: string;
|
|
834
|
+
currency: 'INR';
|
|
835
|
+
status: 'draft' | 'issued';
|
|
836
|
+
totalMicroInr: number;
|
|
837
|
+
issuedAt: string | null;
|
|
838
|
+
billingProfile: {
|
|
839
|
+
legalName: string | null;
|
|
840
|
+
email: string | null;
|
|
841
|
+
address: {
|
|
842
|
+
line1?: string;
|
|
843
|
+
line2?: string;
|
|
844
|
+
city?: string;
|
|
845
|
+
state?: string;
|
|
846
|
+
postalCode?: string;
|
|
847
|
+
country?: string;
|
|
848
|
+
};
|
|
849
|
+
taxId: string | null;
|
|
850
|
+
currency: 'INR';
|
|
851
|
+
};
|
|
852
|
+
lines: Array<{
|
|
853
|
+
applicationId: string;
|
|
854
|
+
applicationName: string;
|
|
855
|
+
channel: 'SMS_OTP' | 'SMS_MSG' | 'WHATSAPP_OTP' | 'WHATSAPP_MSG' | 'EMAIL_OTP' | 'EMAIL_MSG' | 'PUSH' | 'QR_SCAN' | 'PASSKEY';
|
|
856
|
+
quantity: number;
|
|
857
|
+
unitPriceMicroInr: number;
|
|
858
|
+
amountMicroInr: number;
|
|
859
|
+
}>;
|
|
860
|
+
}>;
|
|
861
|
+
};
|
|
862
|
+
export type InvoiceResponse = {
|
|
863
|
+
id: string;
|
|
864
|
+
invoiceNumber: string;
|
|
865
|
+
periodStart: string;
|
|
866
|
+
periodEnd: string;
|
|
867
|
+
currency: 'INR';
|
|
868
|
+
status: 'draft' | 'issued';
|
|
869
|
+
totalMicroInr: number;
|
|
870
|
+
issuedAt: string | null;
|
|
871
|
+
billingProfile: {
|
|
872
|
+
legalName: string | null;
|
|
873
|
+
email: string | null;
|
|
874
|
+
address: {
|
|
875
|
+
line1?: string;
|
|
876
|
+
line2?: string;
|
|
877
|
+
city?: string;
|
|
878
|
+
state?: string;
|
|
879
|
+
postalCode?: string;
|
|
880
|
+
country?: string;
|
|
881
|
+
};
|
|
882
|
+
taxId: string | null;
|
|
883
|
+
currency: 'INR';
|
|
884
|
+
};
|
|
885
|
+
lines: Array<{
|
|
886
|
+
applicationId: string;
|
|
887
|
+
applicationName: string;
|
|
888
|
+
channel: 'SMS_OTP' | 'SMS_MSG' | 'WHATSAPP_OTP' | 'WHATSAPP_MSG' | 'EMAIL_OTP' | 'EMAIL_MSG' | 'PUSH' | 'QR_SCAN' | 'PASSKEY';
|
|
889
|
+
quantity: number;
|
|
890
|
+
unitPriceMicroInr: number;
|
|
891
|
+
amountMicroInr: number;
|
|
892
|
+
}>;
|
|
893
|
+
};
|
|
894
|
+
export type WalletResponse = {
|
|
895
|
+
balanceMicro: number;
|
|
896
|
+
creditLimitMicro: number;
|
|
897
|
+
spentMicro: number;
|
|
898
|
+
availableMicro: number;
|
|
899
|
+
currency: string;
|
|
900
|
+
canManage: boolean;
|
|
901
|
+
recentLedger: Array<{
|
|
902
|
+
id: string;
|
|
903
|
+
reason: 'topup' | 'adjustment' | 'refund';
|
|
904
|
+
amountMicro: number;
|
|
905
|
+
balanceAfterMicro: number;
|
|
906
|
+
note: string | null;
|
|
907
|
+
metadata: {
|
|
908
|
+
[key: string]: unknown;
|
|
909
|
+
};
|
|
910
|
+
createdAt: string;
|
|
911
|
+
}>;
|
|
912
|
+
rates: {
|
|
913
|
+
providerFeeBps: number;
|
|
914
|
+
platformMarginBps: number;
|
|
915
|
+
totalBps: number;
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
export type AdjustWallet = {
|
|
919
|
+
amountMicro: number;
|
|
920
|
+
note: string;
|
|
921
|
+
};
|
|
922
|
+
export type WalletQuoteResponse = {
|
|
923
|
+
providerFeeBps: number;
|
|
924
|
+
platformMarginBps: number;
|
|
925
|
+
totalBps: number;
|
|
926
|
+
creditMicro: number;
|
|
927
|
+
feeMicro: number;
|
|
928
|
+
totalMicro: number;
|
|
929
|
+
};
|
|
930
|
+
export type CreateWalletTopupResponse = {
|
|
931
|
+
orderId: string;
|
|
932
|
+
providerOrderId: string;
|
|
933
|
+
keyId: string;
|
|
934
|
+
amountMicro: number;
|
|
935
|
+
creditMicro: number;
|
|
936
|
+
feeMicro: number;
|
|
937
|
+
currency: string;
|
|
938
|
+
};
|
|
939
|
+
export type VerifyWalletTopupResponse = {
|
|
940
|
+
status: string;
|
|
941
|
+
credited: boolean;
|
|
942
|
+
creditedMicro: number;
|
|
943
|
+
balanceMicro: number | null;
|
|
944
|
+
};
|
|
945
|
+
export type ListConsoleUsersResponse = {
|
|
946
|
+
items: Array<{
|
|
947
|
+
id: string;
|
|
948
|
+
primaryEmail: string | null;
|
|
949
|
+
primaryMobile: string | null;
|
|
950
|
+
displayName: string;
|
|
951
|
+
status: string;
|
|
952
|
+
createdAt: string;
|
|
953
|
+
updatedAt: string;
|
|
954
|
+
deletedAt: string | null;
|
|
955
|
+
anonymizedAt: string | null;
|
|
956
|
+
}>;
|
|
957
|
+
};
|
|
958
|
+
export type WebsiteSettlementsResponse = {
|
|
959
|
+
account: {
|
|
960
|
+
linked: boolean;
|
|
961
|
+
accountIdMasked: string | null;
|
|
962
|
+
canEdit: boolean;
|
|
963
|
+
canOnboard: boolean;
|
|
964
|
+
};
|
|
965
|
+
onboarding: {
|
|
966
|
+
status: 'submitting' | 'pending' | 'needs_clarification' | 'rejected' | 'activated';
|
|
967
|
+
bankAccountMasked: string | null;
|
|
968
|
+
detail: string | null;
|
|
969
|
+
submittedAt: string;
|
|
970
|
+
updatedAt: string;
|
|
971
|
+
} | null;
|
|
972
|
+
holdDays: number;
|
|
973
|
+
platformFeeBps: number;
|
|
974
|
+
totals: Array<{
|
|
975
|
+
currency: string;
|
|
976
|
+
payments: number;
|
|
977
|
+
collected: string;
|
|
978
|
+
refunded: string;
|
|
979
|
+
platformFee: string;
|
|
980
|
+
organizerShare: string;
|
|
981
|
+
onHold: string;
|
|
982
|
+
released: string;
|
|
983
|
+
reversed: string;
|
|
984
|
+
}>;
|
|
985
|
+
payments: Array<{
|
|
986
|
+
id: string;
|
|
987
|
+
receipt: string | null;
|
|
988
|
+
clientRef: string | null;
|
|
989
|
+
amount: string;
|
|
990
|
+
refunded: string;
|
|
991
|
+
currency: string;
|
|
992
|
+
paymentStatus: 'created' | 'pending' | 'paid' | 'failed' | 'refunded' | 'partially_refunded';
|
|
993
|
+
createdAt: string;
|
|
994
|
+
paidAt: string | null;
|
|
995
|
+
settlement: Settlement;
|
|
996
|
+
}>;
|
|
997
|
+
};
|
|
998
|
+
export type MatchPushApprovalNumber = {
|
|
999
|
+
trustedDeviceId: string;
|
|
1000
|
+
selectedNumber: string;
|
|
1001
|
+
};
|
|
1002
|
+
export type PushApprovalOptionsResponse = {
|
|
1003
|
+
id: string;
|
|
1004
|
+
applicationName: string;
|
|
1005
|
+
maskedIdentifier: string | null;
|
|
1006
|
+
createdAt: string;
|
|
1007
|
+
expiresAt: string;
|
|
1008
|
+
numberChoices: Array<string>;
|
|
1009
|
+
};
|
|
1010
|
+
export type PushApprovalMatchResponse = {
|
|
1011
|
+
challenge: string;
|
|
1012
|
+
trustedDeviceId: string;
|
|
1013
|
+
algorithm: 'ES256';
|
|
1014
|
+
};
|
|
1015
|
+
export type RegisterPasskey = {
|
|
1016
|
+
response: {
|
|
1017
|
+
trustedDeviceId?: string;
|
|
1018
|
+
publicKey: string;
|
|
1019
|
+
signature: string;
|
|
1020
|
+
};
|
|
1021
|
+
label?: string;
|
|
1022
|
+
};
|
|
1023
|
+
export type DeviceCredentialOptions = {
|
|
1024
|
+
trustedDeviceId: string;
|
|
1025
|
+
};
|
|
1026
|
+
export type RegisterPushToken = {
|
|
1027
|
+
fcmToken: string;
|
|
1028
|
+
};
|
|
1029
|
+
export type ResetPasskeys = {
|
|
1030
|
+
method: 'passkey';
|
|
1031
|
+
response: {
|
|
1032
|
+
trustedDeviceId?: string;
|
|
1033
|
+
publicKey?: string;
|
|
1034
|
+
signature: string;
|
|
1035
|
+
};
|
|
1036
|
+
} | {
|
|
1037
|
+
method: 'otp';
|
|
1038
|
+
otpVerificationId: string;
|
|
1039
|
+
code: string;
|
|
1040
|
+
};
|
|
1041
|
+
export type ListPasskeysResponse = Array<{
|
|
1042
|
+
trustedDeviceId: string;
|
|
1043
|
+
label: string | null;
|
|
1044
|
+
createdAt: string;
|
|
1045
|
+
lastSeenAt: string | null;
|
|
1046
|
+
}>;
|
|
1047
|
+
export type ListPendingApprovalsResponse = Array<{
|
|
1048
|
+
id: string;
|
|
1049
|
+
applicationName: string;
|
|
1050
|
+
createdAt: string;
|
|
1051
|
+
expiresAt: string;
|
|
1052
|
+
maskedIdentifier: string | null;
|
|
1053
|
+
numberChoices: Array<string>;
|
|
1054
|
+
}>;
|
|
1055
|
+
export type WebAuthnOptionsResponse = {
|
|
1056
|
+
[key: string]: unknown;
|
|
1057
|
+
};
|
|
1058
|
+
export type RegisterPasskeyResponse = {
|
|
1059
|
+
trustedDeviceId: string;
|
|
1060
|
+
};
|
|
1061
|
+
export type RevokePasskeyResponse = {
|
|
1062
|
+
revoked: true;
|
|
1063
|
+
};
|
|
1064
|
+
export type RequestPasskeyResetOtpResponse = {
|
|
1065
|
+
requestId: string;
|
|
1066
|
+
maskedIdentifier: string | null;
|
|
1067
|
+
expiresAt: string;
|
|
1068
|
+
};
|
|
1069
|
+
export type ResetPasskeysResponse = {
|
|
1070
|
+
reset: true;
|
|
1071
|
+
};
|
|
1072
|
+
export type RegisterPushTokenResponse = {
|
|
1073
|
+
registered: true;
|
|
1074
|
+
};
|
|
1075
|
+
export type VerifyIdentifier = {
|
|
1076
|
+
identifier: string;
|
|
1077
|
+
};
|
|
1078
|
+
export type VerifyCode = {
|
|
1079
|
+
requestId: string;
|
|
1080
|
+
code?: string;
|
|
1081
|
+
response?: {
|
|
1082
|
+
[key: string]: unknown;
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
export type CheckVerification = {
|
|
1086
|
+
code?: string;
|
|
1087
|
+
response?: {
|
|
1088
|
+
[key: string]: unknown;
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
export type SwitchVerificationMethod = {
|
|
1092
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'push';
|
|
1093
|
+
};
|
|
1094
|
+
export type ApproveVerification = {
|
|
1095
|
+
action: 'approve';
|
|
1096
|
+
response: {
|
|
1097
|
+
trustedDeviceId: string;
|
|
1098
|
+
publicKey?: string;
|
|
1099
|
+
signature: string;
|
|
1100
|
+
challenge: string;
|
|
1101
|
+
} | {
|
|
1102
|
+
trustedDeviceId?: string;
|
|
1103
|
+
publicKey?: string;
|
|
1104
|
+
signature: string;
|
|
1105
|
+
};
|
|
1106
|
+
} | {
|
|
1107
|
+
action: 'deny';
|
|
1108
|
+
};
|
|
1109
|
+
export type InteractionQrResponse = {
|
|
1110
|
+
ref: string;
|
|
1111
|
+
nonce: string;
|
|
1112
|
+
issuedAt: number;
|
|
1113
|
+
expiresAt: number;
|
|
1114
|
+
};
|
|
1115
|
+
export type ApproveQr = {
|
|
1116
|
+
applicationId: string;
|
|
1117
|
+
nonce: string;
|
|
1118
|
+
origin: string;
|
|
1119
|
+
iat: number;
|
|
1120
|
+
signature?: string;
|
|
1121
|
+
response: {
|
|
1122
|
+
[key: string]: unknown;
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
export type VerifyStartResponse = {
|
|
1126
|
+
id: string;
|
|
1127
|
+
status: 'pending';
|
|
1128
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'push' | 'qr' | 'passkey';
|
|
1129
|
+
maskedIdentifier: string | null;
|
|
1130
|
+
expiresAt: string;
|
|
1131
|
+
instruction?: {
|
|
1132
|
+
code: 'approve_push' | 'enter_email_otp' | 'enter_whatsapp_otp' | 'enter_sms_otp';
|
|
1133
|
+
message: string;
|
|
1134
|
+
};
|
|
1135
|
+
alternatives?: Array<'sms' | 'whatsapp' | 'email' | 'push'>;
|
|
1136
|
+
challengeNumber?: string;
|
|
1137
|
+
publicKeyOptions?: {
|
|
1138
|
+
[key: string]: unknown;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
export type VerifyPollResponse = {
|
|
1142
|
+
id: string;
|
|
1143
|
+
status: 'pending' | 'verified' | 'expired' | 'cancelled';
|
|
1144
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'push' | 'qr' | 'passkey';
|
|
1145
|
+
maskedIdentifier: string | null;
|
|
1146
|
+
expiresAt: string;
|
|
1147
|
+
instruction?: {
|
|
1148
|
+
code: 'approve_push' | 'enter_email_otp' | 'enter_whatsapp_otp' | 'enter_sms_otp';
|
|
1149
|
+
message: string;
|
|
1150
|
+
};
|
|
1151
|
+
alternatives?: Array<'sms' | 'whatsapp' | 'email' | 'push'>;
|
|
1152
|
+
challengeNumber?: string;
|
|
1153
|
+
};
|
|
1154
|
+
export type VerifiedUser = {
|
|
1155
|
+
id: string;
|
|
1156
|
+
name: string;
|
|
1157
|
+
mobile: string;
|
|
1158
|
+
mobileVerified: true;
|
|
1159
|
+
mobileVerifiedAt: string;
|
|
1160
|
+
email: string;
|
|
1161
|
+
emailVerified: true;
|
|
1162
|
+
emailVerifiedAt: string;
|
|
1163
|
+
profileRevision: number;
|
|
1164
|
+
profileUpdatedAt: string;
|
|
1165
|
+
};
|
|
1166
|
+
export type VerifyCheckResponse = {
|
|
1167
|
+
status: 'profile_required';
|
|
1168
|
+
profileComplete: false;
|
|
1169
|
+
profileEnrollmentUrl: string;
|
|
1170
|
+
} | {
|
|
1171
|
+
status: 'verified';
|
|
1172
|
+
idToken: string;
|
|
1173
|
+
identifier: string;
|
|
1174
|
+
kind: 'email' | 'mobile';
|
|
1175
|
+
} | {
|
|
1176
|
+
status: 'verified';
|
|
1177
|
+
idToken: string;
|
|
1178
|
+
subject: string;
|
|
1179
|
+
user: VerifiedUser;
|
|
1180
|
+
profileComplete: true;
|
|
1181
|
+
} | {
|
|
1182
|
+
status: 'verified';
|
|
1183
|
+
idToken: string;
|
|
1184
|
+
subject: string;
|
|
1185
|
+
user: VerifiedUser;
|
|
1186
|
+
profileComplete: true;
|
|
1187
|
+
accessToken: string;
|
|
1188
|
+
refreshToken: string;
|
|
1189
|
+
expiresIn: number;
|
|
1190
|
+
};
|
|
1191
|
+
export type VerifyApproveResponse = {
|
|
1192
|
+
status: 'verified' | 'cancelled';
|
|
1193
|
+
};
|
|
1194
|
+
export type QrConfigResponse = {
|
|
1195
|
+
applicationId: string;
|
|
1196
|
+
qrTtlSeconds: number;
|
|
1197
|
+
};
|
|
1198
|
+
export type QrPartnerConfigResponse = {
|
|
1199
|
+
applicationId: string;
|
|
1200
|
+
clientId: string;
|
|
1201
|
+
issuer: string;
|
|
1202
|
+
origins: Array<string>;
|
|
1203
|
+
qrTtlSeconds: number;
|
|
1204
|
+
};
|
|
1205
|
+
export type QrWebhookEvent = {
|
|
1206
|
+
type: 'qr.approved';
|
|
1207
|
+
applicationId: string;
|
|
1208
|
+
ref: string;
|
|
1209
|
+
requestId: string;
|
|
1210
|
+
};
|
|
1211
|
+
export type ApproveQrResponse = {
|
|
1212
|
+
status: 'verified';
|
|
1213
|
+
};
|
|
1214
|
+
export type InteractionIdentifierResponse = {
|
|
1215
|
+
requestId: string;
|
|
1216
|
+
channel?: 'sms' | 'whatsapp' | 'email' | 'push' | 'qr' | 'passkey';
|
|
1217
|
+
maskedIdentifier?: string;
|
|
1218
|
+
expiresAt?: string;
|
|
1219
|
+
instruction?: {
|
|
1220
|
+
code: 'approve_push' | 'enter_email_otp' | 'enter_whatsapp_otp' | 'enter_sms_otp';
|
|
1221
|
+
message: string;
|
|
1222
|
+
};
|
|
1223
|
+
alternatives?: Array<'sms' | 'whatsapp' | 'email' | 'push'>;
|
|
1224
|
+
challengeNumber?: string;
|
|
1225
|
+
publicKeyOptions?: {
|
|
1226
|
+
[key: string]: unknown;
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
export type InteractionProfileRequiredResponse = {
|
|
1230
|
+
status: 'profile_required';
|
|
1231
|
+
profileComplete: false;
|
|
1232
|
+
profileEnrollmentUrl: string;
|
|
1233
|
+
};
|
|
1234
|
+
export type UpdateProfile = {
|
|
1235
|
+
displayName?: string;
|
|
1236
|
+
addressLine1?: string;
|
|
1237
|
+
addressLine2?: string;
|
|
1238
|
+
city?: string;
|
|
1239
|
+
state?: string;
|
|
1240
|
+
postalCode?: string;
|
|
1241
|
+
country?: string;
|
|
1242
|
+
taxCountry?: string;
|
|
1243
|
+
taxId?: string;
|
|
1244
|
+
};
|
|
1245
|
+
export type ProfileEnrollmentDetails = {
|
|
1246
|
+
displayName: string;
|
|
1247
|
+
addressLine1: string;
|
|
1248
|
+
addressLine2?: string;
|
|
1249
|
+
city: string;
|
|
1250
|
+
state: string;
|
|
1251
|
+
postalCode: string;
|
|
1252
|
+
country: string;
|
|
1253
|
+
taxCountry: string;
|
|
1254
|
+
taxId: string;
|
|
1255
|
+
};
|
|
1256
|
+
export type ProfileEnrollmentContact = {
|
|
1257
|
+
identifier: string;
|
|
1258
|
+
};
|
|
1259
|
+
export type ProfileEnrollmentCode = {
|
|
1260
|
+
code: string;
|
|
1261
|
+
confirmExistingAccount?: boolean;
|
|
1262
|
+
confirmationToken?: string;
|
|
1263
|
+
};
|
|
1264
|
+
export type StartContactChange = {
|
|
1265
|
+
action: 'add_email';
|
|
1266
|
+
email: string;
|
|
1267
|
+
} | {
|
|
1268
|
+
action: 'promote_email';
|
|
1269
|
+
email: string;
|
|
1270
|
+
} | {
|
|
1271
|
+
action: 'remove_email';
|
|
1272
|
+
email: string;
|
|
1273
|
+
} | {
|
|
1274
|
+
action: 'replace_email';
|
|
1275
|
+
email: string;
|
|
1276
|
+
} | {
|
|
1277
|
+
action: 'replace_mobile';
|
|
1278
|
+
mobile: string;
|
|
1279
|
+
authorization: 'current_mobile' | 'verified_email';
|
|
1280
|
+
};
|
|
1281
|
+
export type ListAccountEmailsResponse = {
|
|
1282
|
+
emails: Array<{
|
|
1283
|
+
email: string;
|
|
1284
|
+
primary: boolean;
|
|
1285
|
+
verifiedAt: string | null;
|
|
1286
|
+
}>;
|
|
1287
|
+
cap: number;
|
|
1288
|
+
};
|
|
1289
|
+
export type CompleteContactProof = {
|
|
1290
|
+
code: string;
|
|
1291
|
+
};
|
|
1292
|
+
export type ContactChangeResponse = {
|
|
1293
|
+
id: string;
|
|
1294
|
+
applicationName: string;
|
|
1295
|
+
continueUrl: string;
|
|
1296
|
+
action: 'add_email' | 'promote_email' | 'remove_email' | 'replace_email' | 'replace_mobile';
|
|
1297
|
+
kind: 'email' | 'mobile';
|
|
1298
|
+
status: 'pending_current' | 'pending_new' | 'completed' | 'cancelled' | 'expired';
|
|
1299
|
+
maskedCurrentIdentifier: string;
|
|
1300
|
+
maskedNewIdentifier: string;
|
|
1301
|
+
pendingVerification: {
|
|
1302
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'push';
|
|
1303
|
+
instruction: string;
|
|
1304
|
+
alternatives: Array<'sms' | 'whatsapp' | 'email' | 'push'>;
|
|
1305
|
+
} | null;
|
|
1306
|
+
url?: string;
|
|
1307
|
+
expiresAt: string;
|
|
1308
|
+
};
|
|
1309
|
+
export type CreateContactChangeResponse = ContactChangeResponse & {
|
|
1310
|
+
[key: string]: unknown;
|
|
1311
|
+
};
|
|
1312
|
+
export type ProfileEnrollmentResponse = {
|
|
1313
|
+
applicationName: string;
|
|
1314
|
+
continueUrl: string;
|
|
1315
|
+
status: 'pending' | 'completed';
|
|
1316
|
+
profileComplete: boolean;
|
|
1317
|
+
authorizationRequired: boolean;
|
|
1318
|
+
confirmationRequired: boolean;
|
|
1319
|
+
confirmationToken?: string;
|
|
1320
|
+
url?: string;
|
|
1321
|
+
requiredContact: 'email' | 'mobile';
|
|
1322
|
+
maskedEmail: string | null;
|
|
1323
|
+
maskedMobile: string | null;
|
|
1324
|
+
pendingVerification: {
|
|
1325
|
+
purpose: 'authorization' | 'missing_contact';
|
|
1326
|
+
channel: 'sms' | 'whatsapp' | 'email' | 'push';
|
|
1327
|
+
instruction: string;
|
|
1328
|
+
alternatives: Array<'sms' | 'whatsapp' | 'email' | 'push'>;
|
|
1329
|
+
} | null;
|
|
1330
|
+
};
|
|
1331
|
+
export type CreateProfileEnrollmentResponse = {
|
|
1332
|
+
profileComplete: boolean;
|
|
1333
|
+
token?: string;
|
|
1334
|
+
url?: string;
|
|
1335
|
+
};
|
|
1336
|
+
export type AccountResponse = {
|
|
1337
|
+
user: {
|
|
1338
|
+
sub: string;
|
|
1339
|
+
email: string;
|
|
1340
|
+
displayName: string;
|
|
1341
|
+
platformRole: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1342
|
+
activeOrgId: string | null;
|
|
1343
|
+
orgRoles: Array<{
|
|
1344
|
+
orgId: string;
|
|
1345
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1346
|
+
}>;
|
|
1347
|
+
};
|
|
1348
|
+
profile: {
|
|
1349
|
+
displayName: string;
|
|
1350
|
+
primaryEmail: string | null;
|
|
1351
|
+
primaryMobile: string | null;
|
|
1352
|
+
profileComplete: boolean;
|
|
1353
|
+
avatarUrl: string | null;
|
|
1354
|
+
addressLine1: string | null;
|
|
1355
|
+
addressLine2: string | null;
|
|
1356
|
+
city: string | null;
|
|
1357
|
+
state: string | null;
|
|
1358
|
+
postalCode: string | null;
|
|
1359
|
+
country: string | null;
|
|
1360
|
+
taxCountry: string | null;
|
|
1361
|
+
taxIdMasked: string | null;
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
export type ListAccountActivityResponse = Array<{
|
|
1365
|
+
id: string;
|
|
1366
|
+
applicationId: string;
|
|
1367
|
+
applicationName: string;
|
|
1368
|
+
logoUrl: string | null;
|
|
1369
|
+
channel: string;
|
|
1370
|
+
maskedIdentifier: string | null;
|
|
1371
|
+
status: string;
|
|
1372
|
+
createdAt: string;
|
|
1373
|
+
verifiedAt: string | null;
|
|
1374
|
+
}>;
|
|
1375
|
+
export type ListAccountActivitySummaryResponse = Array<{
|
|
1376
|
+
month: string;
|
|
1377
|
+
applicationId: string;
|
|
1378
|
+
channel: string;
|
|
1379
|
+
count: number;
|
|
1380
|
+
}>;
|
|
1381
|
+
export type ListConnectedAppsResponse = Array<{
|
|
1382
|
+
applicationId: string;
|
|
1383
|
+
applicationName: string;
|
|
1384
|
+
websiteUrl: string;
|
|
1385
|
+
logoUrl: string | null;
|
|
1386
|
+
lastChannel: string;
|
|
1387
|
+
lastLoginAt: string;
|
|
1388
|
+
maskedContact: string;
|
|
1389
|
+
contactRemoved: boolean;
|
|
1390
|
+
}>;
|
|
1391
|
+
export type DeleteAccountResponse = {
|
|
1392
|
+
deleted: true;
|
|
1393
|
+
};
|
|
1394
|
+
export type SendMessage = {
|
|
1395
|
+
to: string;
|
|
1396
|
+
body?: string;
|
|
1397
|
+
template?: string;
|
|
1398
|
+
variables?: {
|
|
1399
|
+
[key: string]: string | number;
|
|
1400
|
+
};
|
|
1401
|
+
channel?: 'auto' | 'sms' | 'whatsapp' | 'email';
|
|
1402
|
+
type?: 'otp' | 'transactional';
|
|
1403
|
+
client_ref?: string;
|
|
1404
|
+
};
|
|
1405
|
+
export type SendMessageResponse = {
|
|
1406
|
+
id: string;
|
|
1407
|
+
status: 'accepted';
|
|
1408
|
+
channel: 'sms' | 'whatsapp' | 'email';
|
|
1409
|
+
provider: string;
|
|
1410
|
+
accepted_at: string;
|
|
1411
|
+
client_ref?: string;
|
|
1412
|
+
};
|
|
1413
|
+
export type GetMessageResponse = {
|
|
1414
|
+
id: string;
|
|
1415
|
+
channel: string;
|
|
1416
|
+
status: string;
|
|
1417
|
+
provider: string | null;
|
|
1418
|
+
accepted_at: string;
|
|
1419
|
+
client_ref: string | null;
|
|
1420
|
+
delivery_events: Array<{
|
|
1421
|
+
status: string;
|
|
1422
|
+
status_at: string;
|
|
1423
|
+
provider: string;
|
|
1424
|
+
}>;
|
|
1425
|
+
};
|
|
1426
|
+
export type CreateOrg = {
|
|
1427
|
+
name: string;
|
|
1428
|
+
slug: string;
|
|
1429
|
+
};
|
|
1430
|
+
export type UpdateOrg = {
|
|
1431
|
+
name?: string;
|
|
1432
|
+
slug?: string;
|
|
1433
|
+
};
|
|
1434
|
+
export type AddMember = {
|
|
1435
|
+
email: string;
|
|
1436
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1437
|
+
};
|
|
1438
|
+
export type UpdateMember = {
|
|
1439
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1440
|
+
};
|
|
1441
|
+
export type ListOrgsResponse = {
|
|
1442
|
+
items: Array<{
|
|
1443
|
+
id: string;
|
|
1444
|
+
name: string;
|
|
1445
|
+
slug: string;
|
|
1446
|
+
type: 'sneek' | 'partner';
|
|
1447
|
+
createdAt: string;
|
|
1448
|
+
updatedAt: string;
|
|
1449
|
+
}>;
|
|
1450
|
+
};
|
|
1451
|
+
export type OrgResponse = {
|
|
1452
|
+
id: string;
|
|
1453
|
+
name: string;
|
|
1454
|
+
slug: string;
|
|
1455
|
+
type: 'sneek' | 'partner';
|
|
1456
|
+
createdAt: string;
|
|
1457
|
+
updatedAt: string;
|
|
1458
|
+
};
|
|
1459
|
+
export type ListMembersResponse = {
|
|
1460
|
+
items: Array<{
|
|
1461
|
+
id: string;
|
|
1462
|
+
userId: string;
|
|
1463
|
+
email: string | null;
|
|
1464
|
+
displayName: string;
|
|
1465
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1466
|
+
joinedAt: string | null;
|
|
1467
|
+
}>;
|
|
1468
|
+
};
|
|
1469
|
+
export type ListOrgMessagesResponse = {
|
|
1470
|
+
items: Array<{
|
|
1471
|
+
id: string;
|
|
1472
|
+
applicationId: string;
|
|
1473
|
+
channel: string;
|
|
1474
|
+
classifiedAsAuth: boolean;
|
|
1475
|
+
toMasked: string;
|
|
1476
|
+
bodyPreview: string | null;
|
|
1477
|
+
clientRef: string | null;
|
|
1478
|
+
acceptedAt: string;
|
|
1479
|
+
latestStatus: string;
|
|
1480
|
+
latestProvider: string | null;
|
|
1481
|
+
}>;
|
|
1482
|
+
};
|
|
1483
|
+
export type CreateOwnershipTransfer = {
|
|
1484
|
+
resourceType: 'organization' | 'application';
|
|
1485
|
+
recipientIdentifier: string;
|
|
1486
|
+
initiatorIdentifier: string;
|
|
1487
|
+
applicationId?: string;
|
|
1488
|
+
};
|
|
1489
|
+
export type VerifyOwnershipTransferOtp = {
|
|
1490
|
+
code: string;
|
|
1491
|
+
targetOrganizationId?: string;
|
|
1492
|
+
};
|
|
1493
|
+
export type OwnershipTransferResponse = {
|
|
1494
|
+
id: string;
|
|
1495
|
+
resourceType: 'organization' | 'application';
|
|
1496
|
+
status: 'pending' | 'completed' | 'cancelled' | 'expired';
|
|
1497
|
+
sourceOrganizationId: string | null;
|
|
1498
|
+
applicationId: string | null;
|
|
1499
|
+
targetOrganizationId: string | null;
|
|
1500
|
+
initiatedByUserId: string | null;
|
|
1501
|
+
recipientUserId: string | null;
|
|
1502
|
+
initiatorIdentifier: string;
|
|
1503
|
+
recipientIdentifier: string;
|
|
1504
|
+
initiatorVerifiedAt: string | null;
|
|
1505
|
+
recipientVerifiedAt: string | null;
|
|
1506
|
+
expiresAt: string;
|
|
1507
|
+
completedAt: string | null;
|
|
1508
|
+
cancelledAt: string | null;
|
|
1509
|
+
createdAt: string;
|
|
1510
|
+
};
|
|
1511
|
+
export type ListOwnershipTransfersResponse = {
|
|
1512
|
+
items: Array<{
|
|
1513
|
+
id: string;
|
|
1514
|
+
resourceType: 'organization' | 'application';
|
|
1515
|
+
status: 'pending' | 'completed' | 'cancelled' | 'expired';
|
|
1516
|
+
sourceOrganizationId: string | null;
|
|
1517
|
+
applicationId: string | null;
|
|
1518
|
+
targetOrganizationId: string | null;
|
|
1519
|
+
initiatedByUserId: string | null;
|
|
1520
|
+
recipientUserId: string | null;
|
|
1521
|
+
initiatorIdentifier: string;
|
|
1522
|
+
recipientIdentifier: string;
|
|
1523
|
+
initiatorVerifiedAt: string | null;
|
|
1524
|
+
recipientVerifiedAt: string | null;
|
|
1525
|
+
expiresAt: string;
|
|
1526
|
+
completedAt: string | null;
|
|
1527
|
+
cancelledAt: string | null;
|
|
1528
|
+
createdAt: string;
|
|
1529
|
+
}>;
|
|
1530
|
+
};
|
|
1531
|
+
export type WhatsAppWebhookEvent = {
|
|
1532
|
+
object?: string;
|
|
1533
|
+
};
|
|
1534
|
+
export type LogoutAll = {
|
|
1535
|
+
token?: string;
|
|
1536
|
+
};
|
|
1537
|
+
export type OidcSessionTokens = {
|
|
1538
|
+
access_token: string;
|
|
1539
|
+
refresh_token: string;
|
|
1540
|
+
};
|
|
1541
|
+
export type WebAuthRefreshResponse = {
|
|
1542
|
+
accessToken: string;
|
|
1543
|
+
user: {
|
|
1544
|
+
sub: string;
|
|
1545
|
+
email: string;
|
|
1546
|
+
displayName: string;
|
|
1547
|
+
platformRole: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1548
|
+
activeOrgId: string | null;
|
|
1549
|
+
orgRoles: Array<{
|
|
1550
|
+
orgId: string;
|
|
1551
|
+
role: 'owner' | 'admin' | 'developer' | 'viewer';
|
|
1552
|
+
}>;
|
|
1553
|
+
};
|
|
1554
|
+
profileEnrollmentUrl?: string;
|
|
1555
|
+
};
|
|
1556
|
+
export type WebAuthSessionError = {
|
|
1557
|
+
error: 'no_session' | 'invalid_session' | 'profile_enrollment_unavailable';
|
|
1558
|
+
};
|
|
1559
|
+
export type HealthGetData = {
|
|
1560
|
+
body?: never;
|
|
1561
|
+
path?: never;
|
|
1562
|
+
query?: never;
|
|
1563
|
+
url: '/api/health';
|
|
1564
|
+
};
|
|
1565
|
+
export type HealthGetResponses = {
|
|
1566
|
+
200: HealthResponse;
|
|
1567
|
+
};
|
|
1568
|
+
export type HealthGetResponse = HealthGetResponses[keyof HealthGetResponses];
|
|
1569
|
+
export type StorageGetData = {
|
|
1570
|
+
body?: never;
|
|
1571
|
+
path?: never;
|
|
1572
|
+
query?: never;
|
|
1573
|
+
url: '/api/storage/*';
|
|
1574
|
+
};
|
|
1575
|
+
export type StorageGetResponses = {
|
|
1576
|
+
200: Blob | File;
|
|
1577
|
+
};
|
|
1578
|
+
export type StorageGetResponse = StorageGetResponses[keyof StorageGetResponses];
|
|
1579
|
+
export type VerifyApprovalOptionsData = {
|
|
1580
|
+
body: DeviceCredentialOptions;
|
|
1581
|
+
path: {
|
|
1582
|
+
id: string;
|
|
1583
|
+
};
|
|
1584
|
+
query?: never;
|
|
1585
|
+
url: '/api/verify/{id}/approval-options';
|
|
1586
|
+
};
|
|
1587
|
+
export type VerifyApprovalOptionsErrors = {
|
|
1588
|
+
400: ErrorEnvelope;
|
|
1589
|
+
401: ErrorEnvelope;
|
|
1590
|
+
};
|
|
1591
|
+
export type VerifyApprovalOptionsError = VerifyApprovalOptionsErrors[keyof VerifyApprovalOptionsErrors];
|
|
1592
|
+
export type VerifyApprovalOptionsResponses = {
|
|
1593
|
+
200: PushApprovalOptionsResponse;
|
|
1594
|
+
};
|
|
1595
|
+
export type VerifyApprovalOptionsResponse = VerifyApprovalOptionsResponses[keyof VerifyApprovalOptionsResponses];
|
|
1596
|
+
export type VerifyApprovalMatchData = {
|
|
1597
|
+
body: MatchPushApprovalNumber;
|
|
1598
|
+
path: {
|
|
1599
|
+
id: string;
|
|
1600
|
+
};
|
|
1601
|
+
query?: never;
|
|
1602
|
+
url: '/api/verify/{id}/approval-match';
|
|
1603
|
+
};
|
|
1604
|
+
export type VerifyApprovalMatchErrors = {
|
|
1605
|
+
400: ErrorEnvelope;
|
|
1606
|
+
401: ErrorEnvelope;
|
|
1607
|
+
};
|
|
1608
|
+
export type VerifyApprovalMatchError = VerifyApprovalMatchErrors[keyof VerifyApprovalMatchErrors];
|
|
1609
|
+
export type VerifyApprovalMatchResponses = {
|
|
1610
|
+
200: PushApprovalMatchResponse;
|
|
1611
|
+
};
|
|
1612
|
+
export type VerifyApprovalMatchResponse = VerifyApprovalMatchResponses[keyof VerifyApprovalMatchResponses];
|
|
1613
|
+
export type MessagesSendData = {
|
|
1614
|
+
body: SendMessage;
|
|
1615
|
+
path?: never;
|
|
1616
|
+
query?: never;
|
|
1617
|
+
url: '/api/messages/send';
|
|
1618
|
+
};
|
|
1619
|
+
export type MessagesSendErrors = {
|
|
1620
|
+
400: ErrorEnvelope;
|
|
1621
|
+
401: ErrorEnvelope;
|
|
1622
|
+
};
|
|
1623
|
+
export type MessagesSendError = MessagesSendErrors[keyof MessagesSendErrors];
|
|
1624
|
+
export type MessagesSendResponses = {
|
|
1625
|
+
202: SendMessageResponse;
|
|
1626
|
+
};
|
|
1627
|
+
export type MessagesSendResponse = MessagesSendResponses[keyof MessagesSendResponses];
|
|
1628
|
+
export type MessagesGetData = {
|
|
1629
|
+
body?: never;
|
|
1630
|
+
path: {
|
|
1631
|
+
id: string;
|
|
1632
|
+
};
|
|
1633
|
+
query?: never;
|
|
1634
|
+
url: '/api/messages/{id}';
|
|
1635
|
+
};
|
|
1636
|
+
export type MessagesGetErrors = {
|
|
1637
|
+
400: ErrorEnvelope;
|
|
1638
|
+
401: ErrorEnvelope;
|
|
1639
|
+
};
|
|
1640
|
+
export type MessagesGetError = MessagesGetErrors[keyof MessagesGetErrors];
|
|
1641
|
+
export type MessagesGetResponses = {
|
|
1642
|
+
200: GetMessageResponse;
|
|
1643
|
+
};
|
|
1644
|
+
export type MessagesGetResponse = MessagesGetResponses[keyof MessagesGetResponses];
|
|
1645
|
+
export type PaymentsCreateOrderData = {
|
|
1646
|
+
body: CreateOrder;
|
|
1647
|
+
path?: never;
|
|
1648
|
+
query?: never;
|
|
1649
|
+
url: '/api/payments/orders';
|
|
1650
|
+
};
|
|
1651
|
+
export type PaymentsCreateOrderErrors = {
|
|
1652
|
+
400: ErrorEnvelope;
|
|
1653
|
+
401: ErrorEnvelope;
|
|
1654
|
+
};
|
|
1655
|
+
export type PaymentsCreateOrderError = PaymentsCreateOrderErrors[keyof PaymentsCreateOrderErrors];
|
|
1656
|
+
export type PaymentsCreateOrderResponses = {
|
|
1657
|
+
201: CreateOrderResponse;
|
|
1658
|
+
};
|
|
1659
|
+
export type PaymentsCreateOrderResponse = PaymentsCreateOrderResponses[keyof PaymentsCreateOrderResponses];
|
|
1660
|
+
export type PaymentsGetOrderData = {
|
|
1661
|
+
body?: never;
|
|
1662
|
+
path: {
|
|
1663
|
+
id: string;
|
|
1664
|
+
};
|
|
1665
|
+
query?: never;
|
|
1666
|
+
url: '/api/payments/orders/{id}';
|
|
1667
|
+
};
|
|
1668
|
+
export type PaymentsGetOrderErrors = {
|
|
1669
|
+
400: ErrorEnvelope;
|
|
1670
|
+
401: ErrorEnvelope;
|
|
1671
|
+
};
|
|
1672
|
+
export type PaymentsGetOrderError = PaymentsGetOrderErrors[keyof PaymentsGetOrderErrors];
|
|
1673
|
+
export type PaymentsGetOrderResponses = {
|
|
1674
|
+
200: GetOrderResponse;
|
|
1675
|
+
};
|
|
1676
|
+
export type PaymentsGetOrderResponse = PaymentsGetOrderResponses[keyof PaymentsGetOrderResponses];
|
|
1677
|
+
export type PaymentsRescheduleSettlementData = {
|
|
1678
|
+
body: RescheduleSettlement;
|
|
1679
|
+
path: {
|
|
1680
|
+
id: string;
|
|
1681
|
+
};
|
|
1682
|
+
query?: never;
|
|
1683
|
+
url: '/api/payments/orders/{id}/settlement';
|
|
1684
|
+
};
|
|
1685
|
+
export type PaymentsRescheduleSettlementErrors = {
|
|
1686
|
+
400: ErrorEnvelope;
|
|
1687
|
+
401: ErrorEnvelope;
|
|
1688
|
+
};
|
|
1689
|
+
export type PaymentsRescheduleSettlementError = PaymentsRescheduleSettlementErrors[keyof PaymentsRescheduleSettlementErrors];
|
|
1690
|
+
export type PaymentsRescheduleSettlementResponses = {
|
|
1691
|
+
200: GetOrderResponse;
|
|
1692
|
+
};
|
|
1693
|
+
export type PaymentsRescheduleSettlementResponse = PaymentsRescheduleSettlementResponses[keyof PaymentsRescheduleSettlementResponses];
|
|
1694
|
+
export type PaymentsVerifyData = {
|
|
1695
|
+
body: VerifyPayment;
|
|
1696
|
+
path?: never;
|
|
1697
|
+
query?: never;
|
|
1698
|
+
url: '/api/payments/verify';
|
|
1699
|
+
};
|
|
1700
|
+
export type PaymentsVerifyErrors = {
|
|
1701
|
+
400: ErrorEnvelope;
|
|
1702
|
+
401: ErrorEnvelope;
|
|
1703
|
+
};
|
|
1704
|
+
export type PaymentsVerifyError = PaymentsVerifyErrors[keyof PaymentsVerifyErrors];
|
|
1705
|
+
export type PaymentsVerifyResponses = {
|
|
1706
|
+
200: VerifyPaymentResponse;
|
|
1707
|
+
};
|
|
1708
|
+
export type PaymentsVerifyResponse = PaymentsVerifyResponses[keyof PaymentsVerifyResponses];
|
|
1709
|
+
export type PaymentsWebhookData = {
|
|
1710
|
+
body: RazorpayWebhook;
|
|
1711
|
+
path?: never;
|
|
1712
|
+
query?: never;
|
|
1713
|
+
url: '/api/payments/webhook';
|
|
1714
|
+
};
|
|
1715
|
+
export type PaymentsWebhookErrors = {
|
|
1716
|
+
400: ErrorEnvelope;
|
|
1717
|
+
};
|
|
1718
|
+
export type PaymentsWebhookError = PaymentsWebhookErrors[keyof PaymentsWebhookErrors];
|
|
1719
|
+
export type PaymentsWebhookResponses = {
|
|
1720
|
+
200: PaymentsWebhookResponse;
|
|
1721
|
+
};
|
|
1722
|
+
export type PaymentsWebhookResponse2 = PaymentsWebhookResponses[keyof PaymentsWebhookResponses];
|
|
1723
|
+
export type VerifyStartData = {
|
|
1724
|
+
body: VerifyIdentifier;
|
|
1725
|
+
path?: never;
|
|
1726
|
+
query?: never;
|
|
1727
|
+
url: '/api/verify';
|
|
1728
|
+
};
|
|
1729
|
+
export type VerifyStartErrors = {
|
|
1730
|
+
400: ErrorEnvelope;
|
|
1731
|
+
401: ErrorEnvelope;
|
|
1732
|
+
};
|
|
1733
|
+
export type VerifyStartError = VerifyStartErrors[keyof VerifyStartErrors];
|
|
1734
|
+
export type VerifyStartResponses = {
|
|
1735
|
+
200: VerifyStartResponse;
|
|
1736
|
+
};
|
|
1737
|
+
export type VerifyStartResponse2 = VerifyStartResponses[keyof VerifyStartResponses];
|
|
1738
|
+
export type VerifyPollData = {
|
|
1739
|
+
body?: never;
|
|
1740
|
+
path: {
|
|
1741
|
+
id: string;
|
|
1742
|
+
};
|
|
1743
|
+
query?: never;
|
|
1744
|
+
url: '/api/verify/{id}';
|
|
1745
|
+
};
|
|
1746
|
+
export type VerifyPollErrors = {
|
|
1747
|
+
400: ErrorEnvelope;
|
|
1748
|
+
401: ErrorEnvelope;
|
|
1749
|
+
};
|
|
1750
|
+
export type VerifyPollError = VerifyPollErrors[keyof VerifyPollErrors];
|
|
1751
|
+
export type VerifyPollResponses = {
|
|
1752
|
+
200: VerifyPollResponse;
|
|
1753
|
+
};
|
|
1754
|
+
export type VerifyPollResponse2 = VerifyPollResponses[keyof VerifyPollResponses];
|
|
1755
|
+
export type VerifySwitchMethodData = {
|
|
1756
|
+
body: SwitchVerificationMethod;
|
|
1757
|
+
path: {
|
|
1758
|
+
id: string;
|
|
1759
|
+
};
|
|
1760
|
+
query?: never;
|
|
1761
|
+
url: '/api/verify/{id}/switch';
|
|
1762
|
+
};
|
|
1763
|
+
export type VerifySwitchMethodErrors = {
|
|
1764
|
+
400: ErrorEnvelope;
|
|
1765
|
+
401: ErrorEnvelope;
|
|
1766
|
+
};
|
|
1767
|
+
export type VerifySwitchMethodError = VerifySwitchMethodErrors[keyof VerifySwitchMethodErrors];
|
|
1768
|
+
export type VerifySwitchMethodResponses = {
|
|
1769
|
+
200: VerifyStartResponse;
|
|
1770
|
+
};
|
|
1771
|
+
export type VerifySwitchMethodResponse = VerifySwitchMethodResponses[keyof VerifySwitchMethodResponses];
|
|
1772
|
+
export type VerifyCheckData = {
|
|
1773
|
+
body: CheckVerification;
|
|
1774
|
+
path: {
|
|
1775
|
+
id: string;
|
|
1776
|
+
};
|
|
1777
|
+
query?: never;
|
|
1778
|
+
url: '/api/verify/{id}/check';
|
|
1779
|
+
};
|
|
1780
|
+
export type VerifyCheckErrors = {
|
|
1781
|
+
400: ErrorEnvelope;
|
|
1782
|
+
401: ErrorEnvelope;
|
|
1783
|
+
};
|
|
1784
|
+
export type VerifyCheckError = VerifyCheckErrors[keyof VerifyCheckErrors];
|
|
1785
|
+
export type VerifyCheckResponses = {
|
|
1786
|
+
200: VerifyCheckResponse;
|
|
1787
|
+
};
|
|
1788
|
+
export type VerifyCheckResponse2 = VerifyCheckResponses[keyof VerifyCheckResponses];
|
|
1789
|
+
export type VerifyApproveData = {
|
|
1790
|
+
body: ApproveVerification;
|
|
1791
|
+
path: {
|
|
1792
|
+
id: string;
|
|
1793
|
+
};
|
|
1794
|
+
query?: never;
|
|
1795
|
+
url: '/api/verify/{id}/approve';
|
|
1796
|
+
};
|
|
1797
|
+
export type VerifyApproveErrors = {
|
|
1798
|
+
400: ErrorEnvelope;
|
|
1799
|
+
401: ErrorEnvelope;
|
|
1800
|
+
};
|
|
1801
|
+
export type VerifyApproveError = VerifyApproveErrors[keyof VerifyApproveErrors];
|
|
1802
|
+
export type VerifyApproveResponses = {
|
|
1803
|
+
200: VerifyApproveResponse;
|
|
1804
|
+
};
|
|
1805
|
+
export type VerifyApproveResponse2 = VerifyApproveResponses[keyof VerifyApproveResponses];
|
|
1806
|
+
export type VerifyQrSubscribeData = {
|
|
1807
|
+
body?: never;
|
|
1808
|
+
path?: never;
|
|
1809
|
+
query: {
|
|
1810
|
+
ref: string;
|
|
1811
|
+
};
|
|
1812
|
+
url: '/api/verify/qr/subscribe';
|
|
1813
|
+
};
|
|
1814
|
+
export type VerifyQrSubscribeErrors = {
|
|
1815
|
+
400: ErrorEnvelope;
|
|
1816
|
+
};
|
|
1817
|
+
export type VerifyQrSubscribeError = VerifyQrSubscribeErrors[keyof VerifyQrSubscribeErrors];
|
|
1818
|
+
export type VerifyQrSubscribeResponses = {
|
|
1819
|
+
200: string;
|
|
1820
|
+
};
|
|
1821
|
+
export type VerifyQrSubscribeResponse = VerifyQrSubscribeResponses[keyof VerifyQrSubscribeResponses];
|
|
1822
|
+
export type VerifyQrApproveData = {
|
|
1823
|
+
body: ApproveQr;
|
|
1824
|
+
path?: never;
|
|
1825
|
+
query?: never;
|
|
1826
|
+
url: '/api/verify/qr/approve';
|
|
1827
|
+
};
|
|
1828
|
+
export type VerifyQrApproveErrors = {
|
|
1829
|
+
400: ErrorEnvelope;
|
|
1830
|
+
401: ErrorEnvelope;
|
|
1831
|
+
};
|
|
1832
|
+
export type VerifyQrApproveError = VerifyQrApproveErrors[keyof VerifyQrApproveErrors];
|
|
1833
|
+
export type VerifyQrApproveResponses = {
|
|
1834
|
+
200: ApproveQrResponse;
|
|
1835
|
+
};
|
|
1836
|
+
export type VerifyQrApproveResponse = VerifyQrApproveResponses[keyof VerifyQrApproveResponses];
|
|
1837
|
+
export type VerifyQrConfigData = {
|
|
1838
|
+
body?: never;
|
|
1839
|
+
path?: never;
|
|
1840
|
+
query?: never;
|
|
1841
|
+
url: '/api/verify/qr/config';
|
|
1842
|
+
};
|
|
1843
|
+
export type VerifyQrConfigResponses = {
|
|
1844
|
+
200: QrConfigResponse;
|
|
1845
|
+
};
|
|
1846
|
+
export type VerifyQrConfigResponse = VerifyQrConfigResponses[keyof VerifyQrConfigResponses];
|
|
1847
|
+
export type VerifyQrPartnerConfigData = {
|
|
1848
|
+
body?: never;
|
|
1849
|
+
path?: never;
|
|
1850
|
+
query?: never;
|
|
1851
|
+
url: '/api/verify/qr/partner-config';
|
|
1852
|
+
};
|
|
1853
|
+
export type VerifyQrPartnerConfigErrors = {
|
|
1854
|
+
401: ErrorEnvelope;
|
|
1855
|
+
};
|
|
1856
|
+
export type VerifyQrPartnerConfigError = VerifyQrPartnerConfigErrors[keyof VerifyQrPartnerConfigErrors];
|
|
1857
|
+
export type VerifyQrPartnerConfigResponses = {
|
|
1858
|
+
200: QrPartnerConfigResponse;
|
|
1859
|
+
};
|
|
1860
|
+
export type VerifyQrPartnerConfigResponse = VerifyQrPartnerConfigResponses[keyof VerifyQrPartnerConfigResponses];
|
|
1861
|
+
export type InteractionQrData = {
|
|
1862
|
+
body?: never;
|
|
1863
|
+
path: {
|
|
1864
|
+
uid: string;
|
|
1865
|
+
};
|
|
1866
|
+
query?: never;
|
|
1867
|
+
url: '/interaction/{uid}/qr';
|
|
1868
|
+
};
|
|
1869
|
+
export type InteractionQrErrors = {
|
|
1870
|
+
400: ErrorEnvelope;
|
|
1871
|
+
};
|
|
1872
|
+
export type InteractionQrError = InteractionQrErrors[keyof InteractionQrErrors];
|
|
1873
|
+
export type InteractionQrResponses = {
|
|
1874
|
+
200: InteractionQrResponse;
|
|
1875
|
+
};
|
|
1876
|
+
export type InteractionQrResponse2 = InteractionQrResponses[keyof InteractionQrResponses];
|
|
1877
|
+
export type InteractionIdentifierData = {
|
|
1878
|
+
body: VerifyIdentifier;
|
|
1879
|
+
path: {
|
|
1880
|
+
uid: string;
|
|
1881
|
+
};
|
|
1882
|
+
query?: never;
|
|
1883
|
+
url: '/interaction/{uid}/identifier';
|
|
1884
|
+
};
|
|
1885
|
+
export type InteractionIdentifierErrors = {
|
|
1886
|
+
400: ErrorEnvelope;
|
|
1887
|
+
};
|
|
1888
|
+
export type InteractionIdentifierError = InteractionIdentifierErrors[keyof InteractionIdentifierErrors];
|
|
1889
|
+
export type InteractionIdentifierResponses = {
|
|
1890
|
+
200: InteractionIdentifierResponse;
|
|
1891
|
+
};
|
|
1892
|
+
export type InteractionIdentifierResponse2 = InteractionIdentifierResponses[keyof InteractionIdentifierResponses];
|
|
1893
|
+
export type InteractionVerifyData = {
|
|
1894
|
+
body: VerifyCode;
|
|
1895
|
+
path: {
|
|
1896
|
+
uid: string;
|
|
1897
|
+
};
|
|
1898
|
+
query?: never;
|
|
1899
|
+
url: '/interaction/{uid}/verify';
|
|
1900
|
+
};
|
|
1901
|
+
export type InteractionVerifyErrors = {
|
|
1902
|
+
400: ErrorEnvelope;
|
|
1903
|
+
};
|
|
1904
|
+
export type InteractionVerifyError = InteractionVerifyErrors[keyof InteractionVerifyErrors];
|
|
1905
|
+
export type InteractionVerifyResponses = {
|
|
1906
|
+
200: InteractionProfileRequiredResponse;
|
|
1907
|
+
};
|
|
1908
|
+
export type InteractionVerifyResponse = InteractionVerifyResponses[keyof InteractionVerifyResponses];
|
|
1909
|
+
export type InteractionSwitchMethodData = {
|
|
1910
|
+
body: SwitchVerificationMethod;
|
|
1911
|
+
path: {
|
|
1912
|
+
uid: string;
|
|
1913
|
+
id: string;
|
|
1914
|
+
};
|
|
1915
|
+
query?: never;
|
|
1916
|
+
url: '/interaction/{uid}/verification/{id}/switch';
|
|
1917
|
+
};
|
|
1918
|
+
export type InteractionSwitchMethodErrors = {
|
|
1919
|
+
400: ErrorEnvelope;
|
|
1920
|
+
};
|
|
1921
|
+
export type InteractionSwitchMethodError = InteractionSwitchMethodErrors[keyof InteractionSwitchMethodErrors];
|
|
1922
|
+
export type InteractionSwitchMethodResponses = {
|
|
1923
|
+
200: InteractionIdentifierResponse;
|
|
1924
|
+
};
|
|
1925
|
+
export type InteractionSwitchMethodResponse = InteractionSwitchMethodResponses[keyof InteractionSwitchMethodResponses];
|
|
1926
|
+
export type OidcLogoutAllData = {
|
|
1927
|
+
body: LogoutAll;
|
|
1928
|
+
path?: never;
|
|
1929
|
+
query?: never;
|
|
1930
|
+
url: '/api/oauth/logout-all';
|
|
1931
|
+
};
|
|
1932
|
+
export type OidcLogoutAllErrors = {
|
|
1933
|
+
400: ErrorEnvelope;
|
|
1934
|
+
};
|
|
1935
|
+
export type OidcLogoutAllError = OidcLogoutAllErrors[keyof OidcLogoutAllErrors];
|
|
1936
|
+
export type OidcLogoutAllResponses = {
|
|
1937
|
+
200: OkResponse;
|
|
1938
|
+
};
|
|
1939
|
+
export type OidcLogoutAllResponse = OidcLogoutAllResponses[keyof OidcLogoutAllResponses];
|
|
1940
|
+
export type FactorsListData = {
|
|
1941
|
+
body?: never;
|
|
1942
|
+
path?: never;
|
|
1943
|
+
query?: never;
|
|
1944
|
+
url: '/api/verify/factors';
|
|
1945
|
+
};
|
|
1946
|
+
export type FactorsListErrors = {
|
|
1947
|
+
401: ErrorEnvelope;
|
|
1948
|
+
};
|
|
1949
|
+
export type FactorsListError = FactorsListErrors[keyof FactorsListErrors];
|
|
1950
|
+
export type FactorsListResponses = {
|
|
1951
|
+
200: ListPasskeysResponse;
|
|
1952
|
+
};
|
|
1953
|
+
export type FactorsListResponse = FactorsListResponses[keyof FactorsListResponses];
|
|
1954
|
+
export type FactorsRegisterData = {
|
|
1955
|
+
body: RegisterPasskey;
|
|
1956
|
+
path?: never;
|
|
1957
|
+
query?: never;
|
|
1958
|
+
url: '/api/verify/factors';
|
|
1959
|
+
};
|
|
1960
|
+
export type FactorsRegisterErrors = {
|
|
1961
|
+
400: ErrorEnvelope;
|
|
1962
|
+
401: ErrorEnvelope;
|
|
1963
|
+
};
|
|
1964
|
+
export type FactorsRegisterError = FactorsRegisterErrors[keyof FactorsRegisterErrors];
|
|
1965
|
+
export type FactorsRegisterResponses = {
|
|
1966
|
+
201: RegisterPasskeyResponse;
|
|
1967
|
+
};
|
|
1968
|
+
export type FactorsRegisterResponse = FactorsRegisterResponses[keyof FactorsRegisterResponses];
|
|
1969
|
+
export type FactorsPendingApprovalsData = {
|
|
1970
|
+
body?: never;
|
|
1971
|
+
path?: never;
|
|
1972
|
+
query?: never;
|
|
1973
|
+
url: '/api/verify/factors/pending-approvals';
|
|
1974
|
+
};
|
|
1975
|
+
export type FactorsPendingApprovalsErrors = {
|
|
1976
|
+
401: ErrorEnvelope;
|
|
1977
|
+
};
|
|
1978
|
+
export type FactorsPendingApprovalsError = FactorsPendingApprovalsErrors[keyof FactorsPendingApprovalsErrors];
|
|
1979
|
+
export type FactorsPendingApprovalsResponses = {
|
|
1980
|
+
200: ListPendingApprovalsResponse;
|
|
1981
|
+
};
|
|
1982
|
+
export type FactorsPendingApprovalsResponse = FactorsPendingApprovalsResponses[keyof FactorsPendingApprovalsResponses];
|
|
1983
|
+
export type FactorsRegistrationOptionsData = {
|
|
1984
|
+
body?: never;
|
|
1985
|
+
path?: never;
|
|
1986
|
+
query?: never;
|
|
1987
|
+
url: '/api/verify/factors/registration-options';
|
|
1988
|
+
};
|
|
1989
|
+
export type FactorsRegistrationOptionsErrors = {
|
|
1990
|
+
401: ErrorEnvelope;
|
|
1991
|
+
};
|
|
1992
|
+
export type FactorsRegistrationOptionsError = FactorsRegistrationOptionsErrors[keyof FactorsRegistrationOptionsErrors];
|
|
1993
|
+
export type FactorsRegistrationOptionsResponses = {
|
|
1994
|
+
200: WebAuthnOptionsResponse;
|
|
1995
|
+
};
|
|
1996
|
+
export type FactorsRegistrationOptionsResponse = FactorsRegistrationOptionsResponses[keyof FactorsRegistrationOptionsResponses];
|
|
1997
|
+
export type FactorsAuthenticationOptionsData = {
|
|
1998
|
+
body: DeviceCredentialOptions;
|
|
1999
|
+
path?: never;
|
|
2000
|
+
query?: never;
|
|
2001
|
+
url: '/api/verify/factors/authentication-options';
|
|
2002
|
+
};
|
|
2003
|
+
export type FactorsAuthenticationOptionsErrors = {
|
|
2004
|
+
400: ErrorEnvelope;
|
|
2005
|
+
401: ErrorEnvelope;
|
|
2006
|
+
};
|
|
2007
|
+
export type FactorsAuthenticationOptionsError = FactorsAuthenticationOptionsErrors[keyof FactorsAuthenticationOptionsErrors];
|
|
2008
|
+
export type FactorsAuthenticationOptionsResponses = {
|
|
2009
|
+
200: WebAuthnOptionsResponse;
|
|
2010
|
+
};
|
|
2011
|
+
export type FactorsAuthenticationOptionsResponse = FactorsAuthenticationOptionsResponses[keyof FactorsAuthenticationOptionsResponses];
|
|
2012
|
+
export type FactorsRevokeData = {
|
|
2013
|
+
body?: never;
|
|
2014
|
+
path: {
|
|
2015
|
+
id: string;
|
|
2016
|
+
};
|
|
2017
|
+
query?: never;
|
|
2018
|
+
url: '/api/verify/factors/{id}';
|
|
2019
|
+
};
|
|
2020
|
+
export type FactorsRevokeErrors = {
|
|
2021
|
+
400: ErrorEnvelope;
|
|
2022
|
+
401: ErrorEnvelope;
|
|
2023
|
+
};
|
|
2024
|
+
export type FactorsRevokeError = FactorsRevokeErrors[keyof FactorsRevokeErrors];
|
|
2025
|
+
export type FactorsRevokeResponses = {
|
|
2026
|
+
200: RevokePasskeyResponse;
|
|
2027
|
+
};
|
|
2028
|
+
export type FactorsRevokeResponse = FactorsRevokeResponses[keyof FactorsRevokeResponses];
|
|
2029
|
+
export type FactorsResetOtpStartData = {
|
|
2030
|
+
body?: never;
|
|
2031
|
+
path?: never;
|
|
2032
|
+
query?: never;
|
|
2033
|
+
url: '/api/verify/factors/reset/otp-start';
|
|
2034
|
+
};
|
|
2035
|
+
export type FactorsResetOtpStartErrors = {
|
|
2036
|
+
401: ErrorEnvelope;
|
|
2037
|
+
};
|
|
2038
|
+
export type FactorsResetOtpStartError = FactorsResetOtpStartErrors[keyof FactorsResetOtpStartErrors];
|
|
2039
|
+
export type FactorsResetOtpStartResponses = {
|
|
2040
|
+
200: RequestPasskeyResetOtpResponse;
|
|
2041
|
+
};
|
|
2042
|
+
export type FactorsResetOtpStartResponse = FactorsResetOtpStartResponses[keyof FactorsResetOtpStartResponses];
|
|
2043
|
+
export type FactorsResetData = {
|
|
2044
|
+
body: ResetPasskeys;
|
|
2045
|
+
path?: never;
|
|
2046
|
+
query?: never;
|
|
2047
|
+
url: '/api/verify/factors/reset';
|
|
2048
|
+
};
|
|
2049
|
+
export type FactorsResetErrors = {
|
|
2050
|
+
400: ErrorEnvelope;
|
|
2051
|
+
401: ErrorEnvelope;
|
|
2052
|
+
};
|
|
2053
|
+
export type FactorsResetError = FactorsResetErrors[keyof FactorsResetErrors];
|
|
2054
|
+
export type FactorsResetResponses = {
|
|
2055
|
+
200: ResetPasskeysResponse;
|
|
2056
|
+
};
|
|
2057
|
+
export type FactorsResetResponse = FactorsResetResponses[keyof FactorsResetResponses];
|
|
2058
|
+
export type FactorsRegisterPushTokenData = {
|
|
2059
|
+
body: RegisterPushToken;
|
|
2060
|
+
path: {
|
|
2061
|
+
id: string;
|
|
2062
|
+
};
|
|
2063
|
+
query?: never;
|
|
2064
|
+
url: '/api/verify/factors/{id}/push-token';
|
|
2065
|
+
};
|
|
2066
|
+
export type FactorsRegisterPushTokenErrors = {
|
|
2067
|
+
400: ErrorEnvelope;
|
|
2068
|
+
401: ErrorEnvelope;
|
|
2069
|
+
};
|
|
2070
|
+
export type FactorsRegisterPushTokenError = FactorsRegisterPushTokenErrors[keyof FactorsRegisterPushTokenErrors];
|
|
2071
|
+
export type FactorsRegisterPushTokenResponses = {
|
|
2072
|
+
200: RegisterPushTokenResponse;
|
|
2073
|
+
};
|
|
2074
|
+
export type FactorsRegisterPushTokenResponse = FactorsRegisterPushTokenResponses[keyof FactorsRegisterPushTokenResponses];
|
|
2075
|
+
export type AccountDeleteData = {
|
|
2076
|
+
body?: never;
|
|
2077
|
+
path?: never;
|
|
2078
|
+
query?: never;
|
|
2079
|
+
url: '/api/user';
|
|
2080
|
+
};
|
|
2081
|
+
export type AccountDeleteErrors = {
|
|
2082
|
+
401: ErrorEnvelope;
|
|
2083
|
+
};
|
|
2084
|
+
export type AccountDeleteError = AccountDeleteErrors[keyof AccountDeleteErrors];
|
|
2085
|
+
export type AccountDeleteResponses = {
|
|
2086
|
+
200: DeleteAccountResponse;
|
|
2087
|
+
};
|
|
2088
|
+
export type AccountDeleteResponse = AccountDeleteResponses[keyof AccountDeleteResponses];
|
|
2089
|
+
export type AccountGetData = {
|
|
2090
|
+
body?: never;
|
|
2091
|
+
path?: never;
|
|
2092
|
+
query?: never;
|
|
2093
|
+
url: '/api/user';
|
|
2094
|
+
};
|
|
2095
|
+
export type AccountGetErrors = {
|
|
2096
|
+
401: ErrorEnvelope;
|
|
2097
|
+
};
|
|
2098
|
+
export type AccountGetError = AccountGetErrors[keyof AccountGetErrors];
|
|
2099
|
+
export type AccountGetResponses = {
|
|
2100
|
+
200: AccountResponse;
|
|
2101
|
+
};
|
|
2102
|
+
export type AccountGetResponse = AccountGetResponses[keyof AccountGetResponses];
|
|
2103
|
+
export type AccountUpdateData = {
|
|
2104
|
+
body: UpdateProfile;
|
|
2105
|
+
path?: never;
|
|
2106
|
+
query?: never;
|
|
2107
|
+
url: '/api/user';
|
|
2108
|
+
};
|
|
2109
|
+
export type AccountUpdateErrors = {
|
|
2110
|
+
400: ErrorEnvelope;
|
|
2111
|
+
401: ErrorEnvelope;
|
|
2112
|
+
};
|
|
2113
|
+
export type AccountUpdateError = AccountUpdateErrors[keyof AccountUpdateErrors];
|
|
2114
|
+
export type AccountUpdateResponses = {
|
|
2115
|
+
200: AccountResponse;
|
|
2116
|
+
};
|
|
2117
|
+
export type AccountUpdateResponse = AccountUpdateResponses[keyof AccountUpdateResponses];
|
|
2118
|
+
export type ProfileEnrollmentGetData = {
|
|
2119
|
+
body?: never;
|
|
2120
|
+
path: {
|
|
2121
|
+
token: string;
|
|
2122
|
+
};
|
|
2123
|
+
query?: never;
|
|
2124
|
+
url: '/api/profile-enrollments/{token}';
|
|
2125
|
+
};
|
|
2126
|
+
export type ProfileEnrollmentGetErrors = {
|
|
2127
|
+
400: ErrorEnvelope;
|
|
2128
|
+
};
|
|
2129
|
+
export type ProfileEnrollmentGetError = ProfileEnrollmentGetErrors[keyof ProfileEnrollmentGetErrors];
|
|
2130
|
+
export type ProfileEnrollmentGetResponses = {
|
|
2131
|
+
200: ProfileEnrollmentResponse;
|
|
2132
|
+
};
|
|
2133
|
+
export type ProfileEnrollmentGetResponse = ProfileEnrollmentGetResponses[keyof ProfileEnrollmentGetResponses];
|
|
2134
|
+
export type ProfileEnrollmentSaveDetailsData = {
|
|
2135
|
+
body: ProfileEnrollmentDetails;
|
|
2136
|
+
path: {
|
|
2137
|
+
token: string;
|
|
2138
|
+
};
|
|
2139
|
+
query?: never;
|
|
2140
|
+
url: '/api/profile-enrollments/{token}';
|
|
2141
|
+
};
|
|
2142
|
+
export type ProfileEnrollmentSaveDetailsErrors = {
|
|
2143
|
+
400: ErrorEnvelope;
|
|
2144
|
+
};
|
|
2145
|
+
export type ProfileEnrollmentSaveDetailsError = ProfileEnrollmentSaveDetailsErrors[keyof ProfileEnrollmentSaveDetailsErrors];
|
|
2146
|
+
export type ProfileEnrollmentSaveDetailsResponses = {
|
|
2147
|
+
200: ProfileEnrollmentResponse;
|
|
2148
|
+
};
|
|
2149
|
+
export type ProfileEnrollmentSaveDetailsResponse = ProfileEnrollmentSaveDetailsResponses[keyof ProfileEnrollmentSaveDetailsResponses];
|
|
2150
|
+
export type ProfileEnrollmentStartAuthorizationData = {
|
|
2151
|
+
body?: never;
|
|
2152
|
+
path: {
|
|
2153
|
+
token: string;
|
|
2154
|
+
};
|
|
2155
|
+
query?: never;
|
|
2156
|
+
url: '/api/profile-enrollments/{token}/authorization';
|
|
2157
|
+
};
|
|
2158
|
+
export type ProfileEnrollmentStartAuthorizationErrors = {
|
|
2159
|
+
400: ErrorEnvelope;
|
|
2160
|
+
};
|
|
2161
|
+
export type ProfileEnrollmentStartAuthorizationError = ProfileEnrollmentStartAuthorizationErrors[keyof ProfileEnrollmentStartAuthorizationErrors];
|
|
2162
|
+
export type ProfileEnrollmentStartAuthorizationResponses = {
|
|
2163
|
+
200: ProfileEnrollmentResponse;
|
|
2164
|
+
};
|
|
2165
|
+
export type ProfileEnrollmentStartAuthorizationResponse = ProfileEnrollmentStartAuthorizationResponses[keyof ProfileEnrollmentStartAuthorizationResponses];
|
|
2166
|
+
export type ProfileEnrollmentCompleteAuthorizationData = {
|
|
2167
|
+
body: ProfileEnrollmentCode;
|
|
2168
|
+
path: {
|
|
2169
|
+
token: string;
|
|
2170
|
+
};
|
|
2171
|
+
query?: never;
|
|
2172
|
+
url: '/api/profile-enrollments/{token}/authorization/check';
|
|
2173
|
+
};
|
|
2174
|
+
export type ProfileEnrollmentCompleteAuthorizationErrors = {
|
|
2175
|
+
400: ErrorEnvelope;
|
|
2176
|
+
};
|
|
2177
|
+
export type ProfileEnrollmentCompleteAuthorizationError = ProfileEnrollmentCompleteAuthorizationErrors[keyof ProfileEnrollmentCompleteAuthorizationErrors];
|
|
2178
|
+
export type ProfileEnrollmentCompleteAuthorizationResponses = {
|
|
2179
|
+
200: ProfileEnrollmentResponse;
|
|
2180
|
+
};
|
|
2181
|
+
export type ProfileEnrollmentCompleteAuthorizationResponse = ProfileEnrollmentCompleteAuthorizationResponses[keyof ProfileEnrollmentCompleteAuthorizationResponses];
|
|
2182
|
+
export type ProfileEnrollmentStartContactData = {
|
|
2183
|
+
body: ProfileEnrollmentContact;
|
|
2184
|
+
path: {
|
|
2185
|
+
token: string;
|
|
2186
|
+
};
|
|
2187
|
+
query?: never;
|
|
2188
|
+
url: '/api/profile-enrollments/{token}/contact';
|
|
2189
|
+
};
|
|
2190
|
+
export type ProfileEnrollmentStartContactErrors = {
|
|
2191
|
+
400: ErrorEnvelope;
|
|
2192
|
+
};
|
|
2193
|
+
export type ProfileEnrollmentStartContactError = ProfileEnrollmentStartContactErrors[keyof ProfileEnrollmentStartContactErrors];
|
|
2194
|
+
export type ProfileEnrollmentStartContactResponses = {
|
|
2195
|
+
200: ProfileEnrollmentResponse;
|
|
2196
|
+
};
|
|
2197
|
+
export type ProfileEnrollmentStartContactResponse = ProfileEnrollmentStartContactResponses[keyof ProfileEnrollmentStartContactResponses];
|
|
2198
|
+
export type ProfileEnrollmentCompleteContactData = {
|
|
2199
|
+
body: ProfileEnrollmentCode;
|
|
2200
|
+
path: {
|
|
2201
|
+
token: string;
|
|
2202
|
+
};
|
|
2203
|
+
query?: never;
|
|
2204
|
+
url: '/api/profile-enrollments/{token}/contact/check';
|
|
2205
|
+
};
|
|
2206
|
+
export type ProfileEnrollmentCompleteContactErrors = {
|
|
2207
|
+
400: ErrorEnvelope;
|
|
2208
|
+
};
|
|
2209
|
+
export type ProfileEnrollmentCompleteContactError = ProfileEnrollmentCompleteContactErrors[keyof ProfileEnrollmentCompleteContactErrors];
|
|
2210
|
+
export type ProfileEnrollmentCompleteContactResponses = {
|
|
2211
|
+
200: ProfileEnrollmentResponse;
|
|
2212
|
+
};
|
|
2213
|
+
export type ProfileEnrollmentCompleteContactResponse = ProfileEnrollmentCompleteContactResponses[keyof ProfileEnrollmentCompleteContactResponses];
|
|
2214
|
+
export type AccountActivityData = {
|
|
2215
|
+
body?: never;
|
|
2216
|
+
path?: never;
|
|
2217
|
+
query?: never;
|
|
2218
|
+
url: '/api/user/activity';
|
|
2219
|
+
};
|
|
2220
|
+
export type AccountActivityErrors = {
|
|
2221
|
+
401: ErrorEnvelope;
|
|
2222
|
+
};
|
|
2223
|
+
export type AccountActivityError = AccountActivityErrors[keyof AccountActivityErrors];
|
|
2224
|
+
export type AccountActivityResponses = {
|
|
2225
|
+
200: ListAccountActivityResponse;
|
|
2226
|
+
};
|
|
2227
|
+
export type AccountActivityResponse = AccountActivityResponses[keyof AccountActivityResponses];
|
|
2228
|
+
export type AccountCreateProfileEnrollmentData = {
|
|
2229
|
+
body?: never;
|
|
2230
|
+
path?: never;
|
|
2231
|
+
query?: never;
|
|
2232
|
+
url: '/api/user/profile-enrollment';
|
|
2233
|
+
};
|
|
2234
|
+
export type AccountCreateProfileEnrollmentErrors = {
|
|
2235
|
+
401: ErrorEnvelope;
|
|
2236
|
+
};
|
|
2237
|
+
export type AccountCreateProfileEnrollmentError = AccountCreateProfileEnrollmentErrors[keyof AccountCreateProfileEnrollmentErrors];
|
|
2238
|
+
export type AccountCreateProfileEnrollmentResponses = {
|
|
2239
|
+
200: CreateProfileEnrollmentResponse;
|
|
2240
|
+
};
|
|
2241
|
+
export type AccountCreateProfileEnrollmentResponse = AccountCreateProfileEnrollmentResponses[keyof AccountCreateProfileEnrollmentResponses];
|
|
2242
|
+
export type AccountStartContactChangeData = {
|
|
2243
|
+
body: StartContactChange;
|
|
2244
|
+
path?: never;
|
|
2245
|
+
query?: never;
|
|
2246
|
+
url: '/api/user/contact-changes';
|
|
2247
|
+
};
|
|
2248
|
+
export type AccountStartContactChangeErrors = {
|
|
2249
|
+
400: ErrorEnvelope;
|
|
2250
|
+
401: ErrorEnvelope;
|
|
2251
|
+
};
|
|
2252
|
+
export type AccountStartContactChangeError = AccountStartContactChangeErrors[keyof AccountStartContactChangeErrors];
|
|
2253
|
+
export type AccountStartContactChangeResponses = {
|
|
2254
|
+
201: CreateContactChangeResponse;
|
|
2255
|
+
};
|
|
2256
|
+
export type AccountStartContactChangeResponse = AccountStartContactChangeResponses[keyof AccountStartContactChangeResponses];
|
|
2257
|
+
export type AccountListEmailsData = {
|
|
2258
|
+
body?: never;
|
|
2259
|
+
path?: never;
|
|
2260
|
+
query?: never;
|
|
2261
|
+
url: '/api/user/emails';
|
|
2262
|
+
};
|
|
2263
|
+
export type AccountListEmailsErrors = {
|
|
2264
|
+
401: ErrorEnvelope;
|
|
2265
|
+
};
|
|
2266
|
+
export type AccountListEmailsError = AccountListEmailsErrors[keyof AccountListEmailsErrors];
|
|
2267
|
+
export type AccountListEmailsResponses = {
|
|
2268
|
+
200: ListAccountEmailsResponse;
|
|
2269
|
+
};
|
|
2270
|
+
export type AccountListEmailsResponse = AccountListEmailsResponses[keyof AccountListEmailsResponses];
|
|
2271
|
+
export type ContactChangeStartForSubjectData = {
|
|
2272
|
+
body: StartContactChange;
|
|
2273
|
+
path: {
|
|
2274
|
+
subject: string;
|
|
2275
|
+
};
|
|
2276
|
+
query?: never;
|
|
2277
|
+
url: '/api/subjects/{subject}/contact-changes';
|
|
2278
|
+
};
|
|
2279
|
+
export type ContactChangeStartForSubjectErrors = {
|
|
2280
|
+
400: ErrorEnvelope;
|
|
2281
|
+
401: ErrorEnvelope;
|
|
2282
|
+
};
|
|
2283
|
+
export type ContactChangeStartForSubjectError = ContactChangeStartForSubjectErrors[keyof ContactChangeStartForSubjectErrors];
|
|
2284
|
+
export type ContactChangeStartForSubjectResponses = {
|
|
2285
|
+
201: CreateContactChangeResponse;
|
|
2286
|
+
};
|
|
2287
|
+
export type ContactChangeStartForSubjectResponse = ContactChangeStartForSubjectResponses[keyof ContactChangeStartForSubjectResponses];
|
|
2288
|
+
export type ContactChangeGetData = {
|
|
2289
|
+
body?: never;
|
|
2290
|
+
path: {
|
|
2291
|
+
token: string;
|
|
2292
|
+
};
|
|
2293
|
+
query?: never;
|
|
2294
|
+
url: '/api/contact-changes/{token}';
|
|
2295
|
+
};
|
|
2296
|
+
export type ContactChangeGetErrors = {
|
|
2297
|
+
400: ErrorEnvelope;
|
|
2298
|
+
};
|
|
2299
|
+
export type ContactChangeGetError = ContactChangeGetErrors[keyof ContactChangeGetErrors];
|
|
2300
|
+
export type ContactChangeGetResponses = {
|
|
2301
|
+
200: ContactChangeResponse;
|
|
2302
|
+
};
|
|
2303
|
+
export type ContactChangeGetResponse = ContactChangeGetResponses[keyof ContactChangeGetResponses];
|
|
2304
|
+
export type ContactChangeProveCurrentData = {
|
|
2305
|
+
body: CompleteContactProof;
|
|
2306
|
+
path: {
|
|
2307
|
+
token: string;
|
|
2308
|
+
};
|
|
2309
|
+
query?: never;
|
|
2310
|
+
url: '/api/contact-changes/{token}/current-proof';
|
|
2311
|
+
};
|
|
2312
|
+
export type ContactChangeProveCurrentErrors = {
|
|
2313
|
+
400: ErrorEnvelope;
|
|
2314
|
+
};
|
|
2315
|
+
export type ContactChangeProveCurrentError = ContactChangeProveCurrentErrors[keyof ContactChangeProveCurrentErrors];
|
|
2316
|
+
export type ContactChangeProveCurrentResponses = {
|
|
2317
|
+
200: ContactChangeResponse;
|
|
2318
|
+
};
|
|
2319
|
+
export type ContactChangeProveCurrentResponse = ContactChangeProveCurrentResponses[keyof ContactChangeProveCurrentResponses];
|
|
2320
|
+
export type ContactChangeProveNewData = {
|
|
2321
|
+
body: CompleteContactProof;
|
|
2322
|
+
path: {
|
|
2323
|
+
token: string;
|
|
2324
|
+
};
|
|
2325
|
+
query?: never;
|
|
2326
|
+
url: '/api/contact-changes/{token}/new-proof';
|
|
2327
|
+
};
|
|
2328
|
+
export type ContactChangeProveNewErrors = {
|
|
2329
|
+
400: ErrorEnvelope;
|
|
2330
|
+
};
|
|
2331
|
+
export type ContactChangeProveNewError = ContactChangeProveNewErrors[keyof ContactChangeProveNewErrors];
|
|
2332
|
+
export type ContactChangeProveNewResponses = {
|
|
2333
|
+
200: ContactChangeResponse;
|
|
2334
|
+
};
|
|
2335
|
+
export type ContactChangeProveNewResponse = ContactChangeProveNewResponses[keyof ContactChangeProveNewResponses];
|
|
2336
|
+
export type AccountActivitySummaryData = {
|
|
2337
|
+
body?: never;
|
|
2338
|
+
path?: never;
|
|
2339
|
+
query?: never;
|
|
2340
|
+
url: '/api/user/activity/summary';
|
|
2341
|
+
};
|
|
2342
|
+
export type AccountActivitySummaryErrors = {
|
|
2343
|
+
401: ErrorEnvelope;
|
|
2344
|
+
};
|
|
2345
|
+
export type AccountActivitySummaryError = AccountActivitySummaryErrors[keyof AccountActivitySummaryErrors];
|
|
2346
|
+
export type AccountActivitySummaryResponses = {
|
|
2347
|
+
200: ListAccountActivitySummaryResponse;
|
|
2348
|
+
};
|
|
2349
|
+
export type AccountActivitySummaryResponse = AccountActivitySummaryResponses[keyof AccountActivitySummaryResponses];
|
|
2350
|
+
export type AccountAppsData = {
|
|
2351
|
+
body?: never;
|
|
2352
|
+
path?: never;
|
|
2353
|
+
query?: never;
|
|
2354
|
+
url: '/api/user/apps';
|
|
2355
|
+
};
|
|
2356
|
+
export type AccountAppsErrors = {
|
|
2357
|
+
401: ErrorEnvelope;
|
|
2358
|
+
};
|
|
2359
|
+
export type AccountAppsError = AccountAppsErrors[keyof AccountAppsErrors];
|
|
2360
|
+
export type AccountAppsResponses = {
|
|
2361
|
+
200: ListConnectedAppsResponse;
|
|
2362
|
+
};
|
|
2363
|
+
export type AccountAppsResponse = AccountAppsResponses[keyof AccountAppsResponses];
|
|
2364
|
+
export type AccountUploadAvatarData = {
|
|
2365
|
+
body: {
|
|
2366
|
+
file: Blob | File;
|
|
2367
|
+
};
|
|
2368
|
+
path?: never;
|
|
2369
|
+
query?: never;
|
|
2370
|
+
url: '/api/user/avatar';
|
|
2371
|
+
};
|
|
2372
|
+
export type AccountUploadAvatarErrors = {
|
|
2373
|
+
400: ErrorEnvelope;
|
|
2374
|
+
401: ErrorEnvelope;
|
|
2375
|
+
};
|
|
2376
|
+
export type AccountUploadAvatarError = AccountUploadAvatarErrors[keyof AccountUploadAvatarErrors];
|
|
2377
|
+
export type AccountUploadAvatarResponses = {
|
|
2378
|
+
201: AccountResponse;
|
|
2379
|
+
};
|
|
2380
|
+
export type AccountUploadAvatarResponse = AccountUploadAvatarResponses[keyof AccountUploadAvatarResponses];
|
|
2381
|
+
export type OrganizationsListData = {
|
|
2382
|
+
body?: never;
|
|
2383
|
+
path?: never;
|
|
2384
|
+
query?: never;
|
|
2385
|
+
url: '/api/orgs';
|
|
2386
|
+
};
|
|
2387
|
+
export type OrganizationsListErrors = {
|
|
2388
|
+
401: ErrorEnvelope;
|
|
2389
|
+
};
|
|
2390
|
+
export type OrganizationsListError = OrganizationsListErrors[keyof OrganizationsListErrors];
|
|
2391
|
+
export type OrganizationsListResponses = {
|
|
2392
|
+
200: ListOrgsResponse;
|
|
2393
|
+
};
|
|
2394
|
+
export type OrganizationsListResponse = OrganizationsListResponses[keyof OrganizationsListResponses];
|
|
2395
|
+
export type OrganizationsCreateData = {
|
|
2396
|
+
body: CreateOrg;
|
|
2397
|
+
path?: never;
|
|
2398
|
+
query?: never;
|
|
2399
|
+
url: '/api/orgs';
|
|
2400
|
+
};
|
|
2401
|
+
export type OrganizationsCreateErrors = {
|
|
2402
|
+
400: ErrorEnvelope;
|
|
2403
|
+
401: ErrorEnvelope;
|
|
2404
|
+
};
|
|
2405
|
+
export type OrganizationsCreateError = OrganizationsCreateErrors[keyof OrganizationsCreateErrors];
|
|
2406
|
+
export type OrganizationsCreateResponses = {
|
|
2407
|
+
201: OrgResponse;
|
|
2408
|
+
};
|
|
2409
|
+
export type OrganizationsCreateResponse = OrganizationsCreateResponses[keyof OrganizationsCreateResponses];
|
|
2410
|
+
export type OrganizationsDeleteData = {
|
|
2411
|
+
body?: never;
|
|
2412
|
+
path: {
|
|
2413
|
+
orgId: string;
|
|
2414
|
+
};
|
|
2415
|
+
query?: never;
|
|
2416
|
+
url: '/api/orgs/{orgId}';
|
|
2417
|
+
};
|
|
2418
|
+
export type OrganizationsDeleteErrors = {
|
|
2419
|
+
400: ErrorEnvelope;
|
|
2420
|
+
401: ErrorEnvelope;
|
|
2421
|
+
};
|
|
2422
|
+
export type OrganizationsDeleteError = OrganizationsDeleteErrors[keyof OrganizationsDeleteErrors];
|
|
2423
|
+
export type OrganizationsDeleteResponses = {
|
|
2424
|
+
200: OkResponse;
|
|
2425
|
+
};
|
|
2426
|
+
export type OrganizationsDeleteResponse = OrganizationsDeleteResponses[keyof OrganizationsDeleteResponses];
|
|
2427
|
+
export type OrganizationsGetData = {
|
|
2428
|
+
body?: never;
|
|
2429
|
+
path: {
|
|
2430
|
+
orgId: string;
|
|
2431
|
+
};
|
|
2432
|
+
query?: never;
|
|
2433
|
+
url: '/api/orgs/{orgId}';
|
|
2434
|
+
};
|
|
2435
|
+
export type OrganizationsGetErrors = {
|
|
2436
|
+
400: ErrorEnvelope;
|
|
2437
|
+
401: ErrorEnvelope;
|
|
2438
|
+
};
|
|
2439
|
+
export type OrganizationsGetError = OrganizationsGetErrors[keyof OrganizationsGetErrors];
|
|
2440
|
+
export type OrganizationsGetResponses = {
|
|
2441
|
+
200: OrgResponse;
|
|
2442
|
+
};
|
|
2443
|
+
export type OrganizationsGetResponse = OrganizationsGetResponses[keyof OrganizationsGetResponses];
|
|
2444
|
+
export type OrganizationsUpdateData = {
|
|
2445
|
+
body: UpdateOrg;
|
|
2446
|
+
path: {
|
|
2447
|
+
orgId: string;
|
|
2448
|
+
};
|
|
2449
|
+
query?: never;
|
|
2450
|
+
url: '/api/orgs/{orgId}';
|
|
2451
|
+
};
|
|
2452
|
+
export type OrganizationsUpdateErrors = {
|
|
2453
|
+
400: ErrorEnvelope;
|
|
2454
|
+
401: ErrorEnvelope;
|
|
2455
|
+
};
|
|
2456
|
+
export type OrganizationsUpdateError = OrganizationsUpdateErrors[keyof OrganizationsUpdateErrors];
|
|
2457
|
+
export type OrganizationsUpdateResponses = {
|
|
2458
|
+
200: OrgResponse;
|
|
2459
|
+
};
|
|
2460
|
+
export type OrganizationsUpdateResponse = OrganizationsUpdateResponses[keyof OrganizationsUpdateResponses];
|
|
2461
|
+
export type OrganizationsListMembersData = {
|
|
2462
|
+
body?: never;
|
|
2463
|
+
path: {
|
|
2464
|
+
orgId: string;
|
|
2465
|
+
};
|
|
2466
|
+
query?: never;
|
|
2467
|
+
url: '/api/orgs/{orgId}/members';
|
|
2468
|
+
};
|
|
2469
|
+
export type OrganizationsListMembersErrors = {
|
|
2470
|
+
400: ErrorEnvelope;
|
|
2471
|
+
401: ErrorEnvelope;
|
|
2472
|
+
};
|
|
2473
|
+
export type OrganizationsListMembersError = OrganizationsListMembersErrors[keyof OrganizationsListMembersErrors];
|
|
2474
|
+
export type OrganizationsListMembersResponses = {
|
|
2475
|
+
200: ListMembersResponse;
|
|
2476
|
+
};
|
|
2477
|
+
export type OrganizationsListMembersResponse = OrganizationsListMembersResponses[keyof OrganizationsListMembersResponses];
|
|
2478
|
+
export type OrganizationsAddMemberData = {
|
|
2479
|
+
body: AddMember;
|
|
2480
|
+
path: {
|
|
2481
|
+
orgId: string;
|
|
2482
|
+
};
|
|
2483
|
+
query?: never;
|
|
2484
|
+
url: '/api/orgs/{orgId}/members';
|
|
2485
|
+
};
|
|
2486
|
+
export type OrganizationsAddMemberErrors = {
|
|
2487
|
+
400: ErrorEnvelope;
|
|
2488
|
+
401: ErrorEnvelope;
|
|
2489
|
+
};
|
|
2490
|
+
export type OrganizationsAddMemberError = OrganizationsAddMemberErrors[keyof OrganizationsAddMemberErrors];
|
|
2491
|
+
export type OrganizationsAddMemberResponses = {
|
|
2492
|
+
201: OkResponse;
|
|
2493
|
+
};
|
|
2494
|
+
export type OrganizationsAddMemberResponse = OrganizationsAddMemberResponses[keyof OrganizationsAddMemberResponses];
|
|
2495
|
+
export type OrganizationsRemoveMemberData = {
|
|
2496
|
+
body?: never;
|
|
2497
|
+
path: {
|
|
2498
|
+
orgId: string;
|
|
2499
|
+
memberUserId: string;
|
|
2500
|
+
};
|
|
2501
|
+
query?: never;
|
|
2502
|
+
url: '/api/orgs/{orgId}/members/{memberUserId}';
|
|
2503
|
+
};
|
|
2504
|
+
export type OrganizationsRemoveMemberErrors = {
|
|
2505
|
+
400: ErrorEnvelope;
|
|
2506
|
+
401: ErrorEnvelope;
|
|
2507
|
+
};
|
|
2508
|
+
export type OrganizationsRemoveMemberError = OrganizationsRemoveMemberErrors[keyof OrganizationsRemoveMemberErrors];
|
|
2509
|
+
export type OrganizationsRemoveMemberResponses = {
|
|
2510
|
+
200: OkResponse;
|
|
2511
|
+
};
|
|
2512
|
+
export type OrganizationsRemoveMemberResponse = OrganizationsRemoveMemberResponses[keyof OrganizationsRemoveMemberResponses];
|
|
2513
|
+
export type OrganizationsUpdateMemberData = {
|
|
2514
|
+
body: UpdateMember;
|
|
2515
|
+
path: {
|
|
2516
|
+
orgId: string;
|
|
2517
|
+
memberUserId: string;
|
|
2518
|
+
};
|
|
2519
|
+
query?: never;
|
|
2520
|
+
url: '/api/orgs/{orgId}/members/{memberUserId}';
|
|
2521
|
+
};
|
|
2522
|
+
export type OrganizationsUpdateMemberErrors = {
|
|
2523
|
+
400: ErrorEnvelope;
|
|
2524
|
+
401: ErrorEnvelope;
|
|
2525
|
+
};
|
|
2526
|
+
export type OrganizationsUpdateMemberError = OrganizationsUpdateMemberErrors[keyof OrganizationsUpdateMemberErrors];
|
|
2527
|
+
export type OrganizationsUpdateMemberResponses = {
|
|
2528
|
+
200: OkResponse;
|
|
2529
|
+
};
|
|
2530
|
+
export type OrganizationsUpdateMemberResponse = OrganizationsUpdateMemberResponses[keyof OrganizationsUpdateMemberResponses];
|
|
2531
|
+
export type OrganizationsListMessagesData = {
|
|
2532
|
+
body?: never;
|
|
2533
|
+
path: {
|
|
2534
|
+
orgId: string;
|
|
2535
|
+
};
|
|
2536
|
+
query?: never;
|
|
2537
|
+
url: '/api/orgs/{orgId}/messages';
|
|
2538
|
+
};
|
|
2539
|
+
export type OrganizationsListMessagesErrors = {
|
|
2540
|
+
400: ErrorEnvelope;
|
|
2541
|
+
401: ErrorEnvelope;
|
|
2542
|
+
};
|
|
2543
|
+
export type OrganizationsListMessagesError = OrganizationsListMessagesErrors[keyof OrganizationsListMessagesErrors];
|
|
2544
|
+
export type OrganizationsListMessagesResponses = {
|
|
2545
|
+
200: ListOrgMessagesResponse;
|
|
2546
|
+
};
|
|
2547
|
+
export type OrganizationsListMessagesResponse = OrganizationsListMessagesResponses[keyof OrganizationsListMessagesResponses];
|
|
2548
|
+
export type ApplicationsListData = {
|
|
2549
|
+
body?: never;
|
|
2550
|
+
path: {
|
|
2551
|
+
orgId: string;
|
|
2552
|
+
};
|
|
2553
|
+
query?: never;
|
|
2554
|
+
url: '/api/orgs/{orgId}/applications';
|
|
2555
|
+
};
|
|
2556
|
+
export type ApplicationsListErrors = {
|
|
2557
|
+
400: ErrorEnvelope;
|
|
2558
|
+
401: ErrorEnvelope;
|
|
2559
|
+
};
|
|
2560
|
+
export type ApplicationsListError = ApplicationsListErrors[keyof ApplicationsListErrors];
|
|
2561
|
+
export type ApplicationsListResponses = {
|
|
2562
|
+
200: ListApplicationsResponse;
|
|
2563
|
+
};
|
|
2564
|
+
export type ApplicationsListResponse = ApplicationsListResponses[keyof ApplicationsListResponses];
|
|
2565
|
+
export type ApplicationsCreateData = {
|
|
2566
|
+
body: CreateApplication;
|
|
2567
|
+
path: {
|
|
2568
|
+
orgId: string;
|
|
2569
|
+
};
|
|
2570
|
+
query?: never;
|
|
2571
|
+
url: '/api/orgs/{orgId}/applications';
|
|
2572
|
+
};
|
|
2573
|
+
export type ApplicationsCreateErrors = {
|
|
2574
|
+
400: ErrorEnvelope;
|
|
2575
|
+
401: ErrorEnvelope;
|
|
2576
|
+
};
|
|
2577
|
+
export type ApplicationsCreateError = ApplicationsCreateErrors[keyof ApplicationsCreateErrors];
|
|
2578
|
+
export type ApplicationsCreateResponses = {
|
|
2579
|
+
201: ApplicationResponse;
|
|
2580
|
+
};
|
|
2581
|
+
export type ApplicationsCreateResponse = ApplicationsCreateResponses[keyof ApplicationsCreateResponses];
|
|
2582
|
+
export type ApplicationsDeleteData = {
|
|
2583
|
+
body?: never;
|
|
2584
|
+
path: {
|
|
2585
|
+
orgId: string;
|
|
2586
|
+
appId: string;
|
|
2587
|
+
};
|
|
2588
|
+
query?: never;
|
|
2589
|
+
url: '/api/orgs/{orgId}/applications/{appId}';
|
|
2590
|
+
};
|
|
2591
|
+
export type ApplicationsDeleteErrors = {
|
|
2592
|
+
400: ErrorEnvelope;
|
|
2593
|
+
401: ErrorEnvelope;
|
|
2594
|
+
};
|
|
2595
|
+
export type ApplicationsDeleteError = ApplicationsDeleteErrors[keyof ApplicationsDeleteErrors];
|
|
2596
|
+
export type ApplicationsDeleteResponses = {
|
|
2597
|
+
200: OkResponse;
|
|
2598
|
+
};
|
|
2599
|
+
export type ApplicationsDeleteResponse = ApplicationsDeleteResponses[keyof ApplicationsDeleteResponses];
|
|
2600
|
+
export type ApplicationsGetData = {
|
|
2601
|
+
body?: never;
|
|
2602
|
+
path: {
|
|
2603
|
+
orgId: string;
|
|
2604
|
+
appId: string;
|
|
2605
|
+
};
|
|
2606
|
+
query?: never;
|
|
2607
|
+
url: '/api/orgs/{orgId}/applications/{appId}';
|
|
2608
|
+
};
|
|
2609
|
+
export type ApplicationsGetErrors = {
|
|
2610
|
+
400: ErrorEnvelope;
|
|
2611
|
+
401: ErrorEnvelope;
|
|
2612
|
+
};
|
|
2613
|
+
export type ApplicationsGetError = ApplicationsGetErrors[keyof ApplicationsGetErrors];
|
|
2614
|
+
export type ApplicationsGetResponses = {
|
|
2615
|
+
200: ApplicationResponse;
|
|
2616
|
+
};
|
|
2617
|
+
export type ApplicationsGetResponse = ApplicationsGetResponses[keyof ApplicationsGetResponses];
|
|
2618
|
+
export type ApplicationsUpdateData = {
|
|
2619
|
+
body: UpdateApplication;
|
|
2620
|
+
path: {
|
|
2621
|
+
orgId: string;
|
|
2622
|
+
appId: string;
|
|
2623
|
+
};
|
|
2624
|
+
query?: never;
|
|
2625
|
+
url: '/api/orgs/{orgId}/applications/{appId}';
|
|
2626
|
+
};
|
|
2627
|
+
export type ApplicationsUpdateErrors = {
|
|
2628
|
+
400: ErrorEnvelope;
|
|
2629
|
+
401: ErrorEnvelope;
|
|
2630
|
+
};
|
|
2631
|
+
export type ApplicationsUpdateError = ApplicationsUpdateErrors[keyof ApplicationsUpdateErrors];
|
|
2632
|
+
export type ApplicationsUpdateResponses = {
|
|
2633
|
+
200: ApplicationResponse;
|
|
2634
|
+
};
|
|
2635
|
+
export type ApplicationsUpdateResponse = ApplicationsUpdateResponses[keyof ApplicationsUpdateResponses];
|
|
2636
|
+
export type DomainVerificationGetData = {
|
|
2637
|
+
body?: never;
|
|
2638
|
+
path: {
|
|
2639
|
+
orgId: string;
|
|
2640
|
+
appId: string;
|
|
2641
|
+
};
|
|
2642
|
+
query?: never;
|
|
2643
|
+
url: '/api/orgs/{orgId}/applications/{appId}/domain-verification';
|
|
2644
|
+
};
|
|
2645
|
+
export type DomainVerificationGetErrors = {
|
|
2646
|
+
400: ErrorEnvelope;
|
|
2647
|
+
401: ErrorEnvelope;
|
|
2648
|
+
};
|
|
2649
|
+
export type DomainVerificationGetError = DomainVerificationGetErrors[keyof DomainVerificationGetErrors];
|
|
2650
|
+
export type DomainVerificationGetResponses = {
|
|
2651
|
+
200: DomainVerificationResponse;
|
|
2652
|
+
};
|
|
2653
|
+
export type DomainVerificationGetResponse = DomainVerificationGetResponses[keyof DomainVerificationGetResponses];
|
|
2654
|
+
export type DomainVerificationCheckData = {
|
|
2655
|
+
body?: never;
|
|
2656
|
+
path: {
|
|
2657
|
+
orgId: string;
|
|
2658
|
+
appId: string;
|
|
2659
|
+
};
|
|
2660
|
+
query?: never;
|
|
2661
|
+
url: '/api/orgs/{orgId}/applications/{appId}/domain-verification/checks';
|
|
2662
|
+
};
|
|
2663
|
+
export type DomainVerificationCheckErrors = {
|
|
2664
|
+
400: ErrorEnvelope;
|
|
2665
|
+
401: ErrorEnvelope;
|
|
2666
|
+
};
|
|
2667
|
+
export type DomainVerificationCheckError = DomainVerificationCheckErrors[keyof DomainVerificationCheckErrors];
|
|
2668
|
+
export type DomainVerificationCheckResponses = {
|
|
2669
|
+
200: DomainVerificationResponse;
|
|
2670
|
+
};
|
|
2671
|
+
export type DomainVerificationCheckResponse = DomainVerificationCheckResponses[keyof DomainVerificationCheckResponses];
|
|
2672
|
+
export type DomainVerificationRotateData = {
|
|
2673
|
+
body?: never;
|
|
2674
|
+
path: {
|
|
2675
|
+
orgId: string;
|
|
2676
|
+
appId: string;
|
|
2677
|
+
};
|
|
2678
|
+
query?: never;
|
|
2679
|
+
url: '/api/orgs/{orgId}/applications/{appId}/domain-verification/challenge-rotations';
|
|
2680
|
+
};
|
|
2681
|
+
export type DomainVerificationRotateErrors = {
|
|
2682
|
+
400: ErrorEnvelope;
|
|
2683
|
+
401: ErrorEnvelope;
|
|
2684
|
+
};
|
|
2685
|
+
export type DomainVerificationRotateError = DomainVerificationRotateErrors[keyof DomainVerificationRotateErrors];
|
|
2686
|
+
export type DomainVerificationRotateResponses = {
|
|
2687
|
+
200: DomainVerificationResponse;
|
|
2688
|
+
};
|
|
2689
|
+
export type DomainVerificationRotateResponse = DomainVerificationRotateResponses[keyof DomainVerificationRotateResponses];
|
|
2690
|
+
export type ApiKeysListData = {
|
|
2691
|
+
body?: never;
|
|
2692
|
+
path: {
|
|
2693
|
+
orgId: string;
|
|
2694
|
+
appId: string;
|
|
2695
|
+
};
|
|
2696
|
+
query?: never;
|
|
2697
|
+
url: '/api/orgs/{orgId}/applications/{appId}/keys';
|
|
2698
|
+
};
|
|
2699
|
+
export type ApiKeysListErrors = {
|
|
2700
|
+
400: ErrorEnvelope;
|
|
2701
|
+
401: ErrorEnvelope;
|
|
2702
|
+
};
|
|
2703
|
+
export type ApiKeysListError = ApiKeysListErrors[keyof ApiKeysListErrors];
|
|
2704
|
+
export type ApiKeysListResponses = {
|
|
2705
|
+
200: ListApiKeysResponse;
|
|
2706
|
+
};
|
|
2707
|
+
export type ApiKeysListResponse = ApiKeysListResponses[keyof ApiKeysListResponses];
|
|
2708
|
+
export type ApiKeysCreateData = {
|
|
2709
|
+
body: CreateApiKey;
|
|
2710
|
+
path: {
|
|
2711
|
+
orgId: string;
|
|
2712
|
+
appId: string;
|
|
2713
|
+
};
|
|
2714
|
+
query?: never;
|
|
2715
|
+
url: '/api/orgs/{orgId}/applications/{appId}/keys';
|
|
2716
|
+
};
|
|
2717
|
+
export type ApiKeysCreateErrors = {
|
|
2718
|
+
400: ErrorEnvelope;
|
|
2719
|
+
401: ErrorEnvelope;
|
|
2720
|
+
};
|
|
2721
|
+
export type ApiKeysCreateError = ApiKeysCreateErrors[keyof ApiKeysCreateErrors];
|
|
2722
|
+
export type ApiKeysCreateResponses = {
|
|
2723
|
+
201: CreateApiKeyResponse;
|
|
2724
|
+
};
|
|
2725
|
+
export type ApiKeysCreateResponse = ApiKeysCreateResponses[keyof ApiKeysCreateResponses];
|
|
2726
|
+
export type ApiKeysRevokeData = {
|
|
2727
|
+
body?: never;
|
|
2728
|
+
path: {
|
|
2729
|
+
orgId: string;
|
|
2730
|
+
appId: string;
|
|
2731
|
+
keyId: string;
|
|
2732
|
+
};
|
|
2733
|
+
query?: never;
|
|
2734
|
+
url: '/api/orgs/{orgId}/applications/{appId}/keys/{keyId}';
|
|
2735
|
+
};
|
|
2736
|
+
export type ApiKeysRevokeErrors = {
|
|
2737
|
+
400: ErrorEnvelope;
|
|
2738
|
+
401: ErrorEnvelope;
|
|
2739
|
+
};
|
|
2740
|
+
export type ApiKeysRevokeError = ApiKeysRevokeErrors[keyof ApiKeysRevokeErrors];
|
|
2741
|
+
export type ApiKeysRevokeResponses = {
|
|
2742
|
+
200: OkResponse;
|
|
2743
|
+
};
|
|
2744
|
+
export type ApiKeysRevokeResponse = ApiKeysRevokeResponses[keyof ApiKeysRevokeResponses];
|
|
2745
|
+
export type QrSignInGetData = {
|
|
2746
|
+
body?: never;
|
|
2747
|
+
path: {
|
|
2748
|
+
orgId: string;
|
|
2749
|
+
appId: string;
|
|
2750
|
+
};
|
|
2751
|
+
query?: never;
|
|
2752
|
+
url: '/api/orgs/{orgId}/applications/{appId}/qr-sign-in';
|
|
2753
|
+
};
|
|
2754
|
+
export type QrSignInGetErrors = {
|
|
2755
|
+
400: ErrorEnvelope;
|
|
2756
|
+
401: ErrorEnvelope;
|
|
2757
|
+
};
|
|
2758
|
+
export type QrSignInGetError = QrSignInGetErrors[keyof QrSignInGetErrors];
|
|
2759
|
+
export type QrSignInGetResponses = {
|
|
2760
|
+
200: QrSignInSettings;
|
|
2761
|
+
};
|
|
2762
|
+
export type QrSignInGetResponse = QrSignInGetResponses[keyof QrSignInGetResponses];
|
|
2763
|
+
export type QrSignInCreateSecretData = {
|
|
2764
|
+
body?: never;
|
|
2765
|
+
path: {
|
|
2766
|
+
orgId: string;
|
|
2767
|
+
appId: string;
|
|
2768
|
+
};
|
|
2769
|
+
query?: never;
|
|
2770
|
+
url: '/api/orgs/{orgId}/applications/{appId}/qr-sign-in/secret';
|
|
2771
|
+
};
|
|
2772
|
+
export type QrSignInCreateSecretErrors = {
|
|
2773
|
+
400: ErrorEnvelope;
|
|
2774
|
+
401: ErrorEnvelope;
|
|
2775
|
+
};
|
|
2776
|
+
export type QrSignInCreateSecretError = QrSignInCreateSecretErrors[keyof QrSignInCreateSecretErrors];
|
|
2777
|
+
export type QrSignInCreateSecretResponses = {
|
|
2778
|
+
201: CreateQrSigningSecretResponse;
|
|
2779
|
+
};
|
|
2780
|
+
export type QrSignInCreateSecretResponse = QrSignInCreateSecretResponses[keyof QrSignInCreateSecretResponses];
|
|
2781
|
+
export type QrSignInUpdateWebhookData = {
|
|
2782
|
+
body: UpdateQrWebhook;
|
|
2783
|
+
path: {
|
|
2784
|
+
orgId: string;
|
|
2785
|
+
appId: string;
|
|
2786
|
+
};
|
|
2787
|
+
query?: never;
|
|
2788
|
+
url: '/api/orgs/{orgId}/applications/{appId}/qr-sign-in/webhook';
|
|
2789
|
+
};
|
|
2790
|
+
export type QrSignInUpdateWebhookErrors = {
|
|
2791
|
+
400: ErrorEnvelope;
|
|
2792
|
+
401: ErrorEnvelope;
|
|
2793
|
+
};
|
|
2794
|
+
export type QrSignInUpdateWebhookError = QrSignInUpdateWebhookErrors[keyof QrSignInUpdateWebhookErrors];
|
|
2795
|
+
export type QrSignInUpdateWebhookResponses = {
|
|
2796
|
+
200: QrSignInSettings;
|
|
2797
|
+
};
|
|
2798
|
+
export type QrSignInUpdateWebhookResponse = QrSignInUpdateWebhookResponses[keyof QrSignInUpdateWebhookResponses];
|
|
2799
|
+
export type OwnershipTransfersListData = {
|
|
2800
|
+
body?: never;
|
|
2801
|
+
path: {
|
|
2802
|
+
orgId: string;
|
|
2803
|
+
};
|
|
2804
|
+
query?: never;
|
|
2805
|
+
url: '/api/orgs/{orgId}/ownership-transfers';
|
|
2806
|
+
};
|
|
2807
|
+
export type OwnershipTransfersListErrors = {
|
|
2808
|
+
400: ErrorEnvelope;
|
|
2809
|
+
401: ErrorEnvelope;
|
|
2810
|
+
};
|
|
2811
|
+
export type OwnershipTransfersListError = OwnershipTransfersListErrors[keyof OwnershipTransfersListErrors];
|
|
2812
|
+
export type OwnershipTransfersListResponses = {
|
|
2813
|
+
200: ListOwnershipTransfersResponse;
|
|
2814
|
+
};
|
|
2815
|
+
export type OwnershipTransfersListResponse = OwnershipTransfersListResponses[keyof OwnershipTransfersListResponses];
|
|
2816
|
+
export type OwnershipTransfersCreateData = {
|
|
2817
|
+
body: CreateOwnershipTransfer;
|
|
2818
|
+
path: {
|
|
2819
|
+
orgId: string;
|
|
2820
|
+
};
|
|
2821
|
+
query?: never;
|
|
2822
|
+
url: '/api/orgs/{orgId}/ownership-transfers';
|
|
2823
|
+
};
|
|
2824
|
+
export type OwnershipTransfersCreateErrors = {
|
|
2825
|
+
400: ErrorEnvelope;
|
|
2826
|
+
401: ErrorEnvelope;
|
|
2827
|
+
};
|
|
2828
|
+
export type OwnershipTransfersCreateError = OwnershipTransfersCreateErrors[keyof OwnershipTransfersCreateErrors];
|
|
2829
|
+
export type OwnershipTransfersCreateResponses = {
|
|
2830
|
+
201: OwnershipTransferResponse;
|
|
2831
|
+
};
|
|
2832
|
+
export type OwnershipTransfersCreateResponse = OwnershipTransfersCreateResponses[keyof OwnershipTransfersCreateResponses];
|
|
2833
|
+
export type OwnershipTransfersGetData = {
|
|
2834
|
+
body?: never;
|
|
2835
|
+
path: {
|
|
2836
|
+
orgId: string;
|
|
2837
|
+
transferId: string;
|
|
2838
|
+
};
|
|
2839
|
+
query?: never;
|
|
2840
|
+
url: '/api/orgs/{orgId}/ownership-transfers/{transferId}';
|
|
2841
|
+
};
|
|
2842
|
+
export type OwnershipTransfersGetErrors = {
|
|
2843
|
+
400: ErrorEnvelope;
|
|
2844
|
+
401: ErrorEnvelope;
|
|
2845
|
+
};
|
|
2846
|
+
export type OwnershipTransfersGetError = OwnershipTransfersGetErrors[keyof OwnershipTransfersGetErrors];
|
|
2847
|
+
export type OwnershipTransfersGetResponses = {
|
|
2848
|
+
200: OwnershipTransferResponse;
|
|
2849
|
+
};
|
|
2850
|
+
export type OwnershipTransfersGetResponse = OwnershipTransfersGetResponses[keyof OwnershipTransfersGetResponses];
|
|
2851
|
+
export type OwnershipTransfersInitiatorOtpData = {
|
|
2852
|
+
body?: never;
|
|
2853
|
+
path: {
|
|
2854
|
+
orgId: string;
|
|
2855
|
+
transferId: string;
|
|
2856
|
+
};
|
|
2857
|
+
query?: never;
|
|
2858
|
+
url: '/api/orgs/{orgId}/ownership-transfers/{transferId}/initiator-otp';
|
|
2859
|
+
};
|
|
2860
|
+
export type OwnershipTransfersInitiatorOtpErrors = {
|
|
2861
|
+
400: ErrorEnvelope;
|
|
2862
|
+
401: ErrorEnvelope;
|
|
2863
|
+
};
|
|
2864
|
+
export type OwnershipTransfersInitiatorOtpError = OwnershipTransfersInitiatorOtpErrors[keyof OwnershipTransfersInitiatorOtpErrors];
|
|
2865
|
+
export type OwnershipTransfersInitiatorOtpResponses = {
|
|
2866
|
+
201: OkResponse;
|
|
2867
|
+
};
|
|
2868
|
+
export type OwnershipTransfersInitiatorOtpResponse = OwnershipTransfersInitiatorOtpResponses[keyof OwnershipTransfersInitiatorOtpResponses];
|
|
2869
|
+
export type OwnershipTransfersVerifyInitiatorData = {
|
|
2870
|
+
body: VerifyOwnershipTransferOtp;
|
|
2871
|
+
path: {
|
|
2872
|
+
orgId: string;
|
|
2873
|
+
transferId: string;
|
|
2874
|
+
};
|
|
2875
|
+
query?: never;
|
|
2876
|
+
url: '/api/orgs/{orgId}/ownership-transfers/{transferId}/initiator-verification';
|
|
2877
|
+
};
|
|
2878
|
+
export type OwnershipTransfersVerifyInitiatorErrors = {
|
|
2879
|
+
400: ErrorEnvelope;
|
|
2880
|
+
401: ErrorEnvelope;
|
|
2881
|
+
};
|
|
2882
|
+
export type OwnershipTransfersVerifyInitiatorError = OwnershipTransfersVerifyInitiatorErrors[keyof OwnershipTransfersVerifyInitiatorErrors];
|
|
2883
|
+
export type OwnershipTransfersVerifyInitiatorResponses = {
|
|
2884
|
+
201: OwnershipTransferResponse;
|
|
2885
|
+
};
|
|
2886
|
+
export type OwnershipTransfersVerifyInitiatorResponse = OwnershipTransfersVerifyInitiatorResponses[keyof OwnershipTransfersVerifyInitiatorResponses];
|
|
2887
|
+
export type OwnershipTransfersCancelData = {
|
|
2888
|
+
body?: never;
|
|
2889
|
+
path: {
|
|
2890
|
+
orgId: string;
|
|
2891
|
+
transferId: string;
|
|
2892
|
+
};
|
|
2893
|
+
query?: never;
|
|
2894
|
+
url: '/api/orgs/{orgId}/ownership-transfers/{transferId}/cancellation';
|
|
2895
|
+
};
|
|
2896
|
+
export type OwnershipTransfersCancelErrors = {
|
|
2897
|
+
400: ErrorEnvelope;
|
|
2898
|
+
401: ErrorEnvelope;
|
|
2899
|
+
};
|
|
2900
|
+
export type OwnershipTransfersCancelError = OwnershipTransfersCancelErrors[keyof OwnershipTransfersCancelErrors];
|
|
2901
|
+
export type OwnershipTransfersCancelResponses = {
|
|
2902
|
+
201: OwnershipTransferResponse;
|
|
2903
|
+
};
|
|
2904
|
+
export type OwnershipTransfersCancelResponse = OwnershipTransfersCancelResponses[keyof OwnershipTransfersCancelResponses];
|
|
2905
|
+
export type OwnershipTransfersIncomingData = {
|
|
2906
|
+
body?: never;
|
|
2907
|
+
path?: never;
|
|
2908
|
+
query?: never;
|
|
2909
|
+
url: '/api/ownership-transfers/incoming';
|
|
2910
|
+
};
|
|
2911
|
+
export type OwnershipTransfersIncomingErrors = {
|
|
2912
|
+
401: ErrorEnvelope;
|
|
2913
|
+
};
|
|
2914
|
+
export type OwnershipTransfersIncomingError = OwnershipTransfersIncomingErrors[keyof OwnershipTransfersIncomingErrors];
|
|
2915
|
+
export type OwnershipTransfersIncomingResponses = {
|
|
2916
|
+
200: ListOwnershipTransfersResponse;
|
|
2917
|
+
};
|
|
2918
|
+
export type OwnershipTransfersIncomingResponse = OwnershipTransfersIncomingResponses[keyof OwnershipTransfersIncomingResponses];
|
|
2919
|
+
export type OwnershipTransfersRecipientOtpData = {
|
|
2920
|
+
body?: never;
|
|
2921
|
+
path: {
|
|
2922
|
+
transferId: string;
|
|
2923
|
+
};
|
|
2924
|
+
query?: never;
|
|
2925
|
+
url: '/api/ownership-transfers/{transferId}/recipient-otp';
|
|
2926
|
+
};
|
|
2927
|
+
export type OwnershipTransfersRecipientOtpErrors = {
|
|
2928
|
+
400: ErrorEnvelope;
|
|
2929
|
+
401: ErrorEnvelope;
|
|
2930
|
+
};
|
|
2931
|
+
export type OwnershipTransfersRecipientOtpError = OwnershipTransfersRecipientOtpErrors[keyof OwnershipTransfersRecipientOtpErrors];
|
|
2932
|
+
export type OwnershipTransfersRecipientOtpResponses = {
|
|
2933
|
+
201: OkResponse;
|
|
2934
|
+
};
|
|
2935
|
+
export type OwnershipTransfersRecipientOtpResponse = OwnershipTransfersRecipientOtpResponses[keyof OwnershipTransfersRecipientOtpResponses];
|
|
2936
|
+
export type OwnershipTransfersVerifyRecipientData = {
|
|
2937
|
+
body: VerifyOwnershipTransferOtp;
|
|
2938
|
+
path: {
|
|
2939
|
+
transferId: string;
|
|
2940
|
+
};
|
|
2941
|
+
query?: never;
|
|
2942
|
+
url: '/api/ownership-transfers/{transferId}/recipient-verification';
|
|
2943
|
+
};
|
|
2944
|
+
export type OwnershipTransfersVerifyRecipientErrors = {
|
|
2945
|
+
400: ErrorEnvelope;
|
|
2946
|
+
401: ErrorEnvelope;
|
|
2947
|
+
};
|
|
2948
|
+
export type OwnershipTransfersVerifyRecipientError = OwnershipTransfersVerifyRecipientErrors[keyof OwnershipTransfersVerifyRecipientErrors];
|
|
2949
|
+
export type OwnershipTransfersVerifyRecipientResponses = {
|
|
2950
|
+
201: OwnershipTransferResponse;
|
|
2951
|
+
};
|
|
2952
|
+
export type OwnershipTransfersVerifyRecipientResponse = OwnershipTransfersVerifyRecipientResponses[keyof OwnershipTransfersVerifyRecipientResponses];
|
|
2953
|
+
export type ConsoleListOrganizationsData = {
|
|
2954
|
+
body?: never;
|
|
2955
|
+
path?: never;
|
|
2956
|
+
query?: never;
|
|
2957
|
+
url: '/api/console/organizations';
|
|
2958
|
+
};
|
|
2959
|
+
export type ConsoleListOrganizationsErrors = {
|
|
2960
|
+
401: ErrorEnvelope;
|
|
2961
|
+
};
|
|
2962
|
+
export type ConsoleListOrganizationsError = ConsoleListOrganizationsErrors[keyof ConsoleListOrganizationsErrors];
|
|
2963
|
+
export type ConsoleListOrganizationsResponses = {
|
|
2964
|
+
200: ListConsoleOrgsResponse;
|
|
2965
|
+
};
|
|
2966
|
+
export type ConsoleListOrganizationsResponse = ConsoleListOrganizationsResponses[keyof ConsoleListOrganizationsResponses];
|
|
2967
|
+
export type ConsoleListAuditLogData = {
|
|
2968
|
+
body?: never;
|
|
2969
|
+
path?: never;
|
|
2970
|
+
query?: {
|
|
2971
|
+
action?: string;
|
|
2972
|
+
resourceType?: string;
|
|
2973
|
+
};
|
|
2974
|
+
url: '/api/console/audit-log';
|
|
2975
|
+
};
|
|
2976
|
+
export type ConsoleListAuditLogErrors = {
|
|
2977
|
+
400: ErrorEnvelope;
|
|
2978
|
+
401: ErrorEnvelope;
|
|
2979
|
+
};
|
|
2980
|
+
export type ConsoleListAuditLogError = ConsoleListAuditLogErrors[keyof ConsoleListAuditLogErrors];
|
|
2981
|
+
export type ConsoleListAuditLogResponses = {
|
|
2982
|
+
200: ListAuditLogResponse;
|
|
2983
|
+
};
|
|
2984
|
+
export type ConsoleListAuditLogResponse = ConsoleListAuditLogResponses[keyof ConsoleListAuditLogResponses];
|
|
2985
|
+
export type ConsoleGetOpenapiData = {
|
|
2986
|
+
body?: never;
|
|
2987
|
+
path?: never;
|
|
2988
|
+
query?: never;
|
|
2989
|
+
url: '/api/console/openapi';
|
|
2990
|
+
};
|
|
2991
|
+
export type ConsoleGetOpenapiErrors = {
|
|
2992
|
+
401: ErrorEnvelope;
|
|
2993
|
+
};
|
|
2994
|
+
export type ConsoleGetOpenapiError = ConsoleGetOpenapiErrors[keyof ConsoleGetOpenapiErrors];
|
|
2995
|
+
export type ConsoleGetOpenapiResponses = {
|
|
2996
|
+
200: GetOpenapiDocumentResponse;
|
|
2997
|
+
};
|
|
2998
|
+
export type ConsoleGetOpenapiResponse = ConsoleGetOpenapiResponses[keyof ConsoleGetOpenapiResponses];
|
|
2999
|
+
export type ConsoleGetOrganizationData = {
|
|
3000
|
+
body?: never;
|
|
3001
|
+
path: {
|
|
3002
|
+
slug: string;
|
|
3003
|
+
};
|
|
3004
|
+
query?: never;
|
|
3005
|
+
url: '/api/console/organizations/by-slug/{slug}';
|
|
3006
|
+
};
|
|
3007
|
+
export type ConsoleGetOrganizationErrors = {
|
|
3008
|
+
400: ErrorEnvelope;
|
|
3009
|
+
401: ErrorEnvelope;
|
|
3010
|
+
};
|
|
3011
|
+
export type ConsoleGetOrganizationError = ConsoleGetOrganizationErrors[keyof ConsoleGetOrganizationErrors];
|
|
3012
|
+
export type ConsoleGetOrganizationResponses = {
|
|
3013
|
+
200: OrganizationDetailResponse;
|
|
3014
|
+
};
|
|
3015
|
+
export type ConsoleGetOrganizationResponse = ConsoleGetOrganizationResponses[keyof ConsoleGetOrganizationResponses];
|
|
3016
|
+
export type ConsoleListEmployeesData = {
|
|
3017
|
+
body?: never;
|
|
3018
|
+
path: {
|
|
3019
|
+
slug: string;
|
|
3020
|
+
};
|
|
3021
|
+
query?: never;
|
|
3022
|
+
url: '/api/console/organizations/by-slug/{slug}/employees';
|
|
3023
|
+
};
|
|
3024
|
+
export type ConsoleListEmployeesErrors = {
|
|
3025
|
+
400: ErrorEnvelope;
|
|
3026
|
+
401: ErrorEnvelope;
|
|
3027
|
+
};
|
|
3028
|
+
export type ConsoleListEmployeesError = ConsoleListEmployeesErrors[keyof ConsoleListEmployeesErrors];
|
|
3029
|
+
export type ConsoleListEmployeesResponses = {
|
|
3030
|
+
200: ConsoleEmployeesResponse;
|
|
3031
|
+
};
|
|
3032
|
+
export type ConsoleListEmployeesResponse = ConsoleListEmployeesResponses[keyof ConsoleListEmployeesResponses];
|
|
3033
|
+
export type ConsoleUpdateEmployeeWebsitesData = {
|
|
3034
|
+
body: UpdateEmployeeWebsites;
|
|
3035
|
+
path: {
|
|
3036
|
+
slug: string;
|
|
3037
|
+
userId: string;
|
|
3038
|
+
};
|
|
3039
|
+
query?: never;
|
|
3040
|
+
url: '/api/console/organizations/by-slug/{slug}/employees/{userId}/websites';
|
|
3041
|
+
};
|
|
3042
|
+
export type ConsoleUpdateEmployeeWebsitesErrors = {
|
|
3043
|
+
400: ErrorEnvelope;
|
|
3044
|
+
401: ErrorEnvelope;
|
|
3045
|
+
};
|
|
3046
|
+
export type ConsoleUpdateEmployeeWebsitesError = ConsoleUpdateEmployeeWebsitesErrors[keyof ConsoleUpdateEmployeeWebsitesErrors];
|
|
3047
|
+
export type ConsoleUpdateEmployeeWebsitesResponses = {
|
|
3048
|
+
200: UpdateEmployeeWebsitesResponse;
|
|
3049
|
+
};
|
|
3050
|
+
export type ConsoleUpdateEmployeeWebsitesResponse = ConsoleUpdateEmployeeWebsitesResponses[keyof ConsoleUpdateEmployeeWebsitesResponses];
|
|
3051
|
+
export type ConsoleGetWebsiteData = {
|
|
3052
|
+
body?: never;
|
|
3053
|
+
path: {
|
|
3054
|
+
slug: string;
|
|
3055
|
+
websiteSlug: string;
|
|
3056
|
+
};
|
|
3057
|
+
query?: never;
|
|
3058
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}';
|
|
3059
|
+
};
|
|
3060
|
+
export type ConsoleGetWebsiteErrors = {
|
|
3061
|
+
400: ErrorEnvelope;
|
|
3062
|
+
401: ErrorEnvelope;
|
|
3063
|
+
};
|
|
3064
|
+
export type ConsoleGetWebsiteError = ConsoleGetWebsiteErrors[keyof ConsoleGetWebsiteErrors];
|
|
3065
|
+
export type ConsoleGetWebsiteResponses = {
|
|
3066
|
+
200: ApplicationDetailResponse;
|
|
3067
|
+
};
|
|
3068
|
+
export type ConsoleGetWebsiteResponse = ConsoleGetWebsiteResponses[keyof ConsoleGetWebsiteResponses];
|
|
3069
|
+
export type ConsoleUpdateWebsiteSettingsData = {
|
|
3070
|
+
body: UpdateWebsiteSettings;
|
|
3071
|
+
path: {
|
|
3072
|
+
slug: string;
|
|
3073
|
+
websiteSlug: string;
|
|
3074
|
+
};
|
|
3075
|
+
query?: never;
|
|
3076
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/settings';
|
|
3077
|
+
};
|
|
3078
|
+
export type ConsoleUpdateWebsiteSettingsErrors = {
|
|
3079
|
+
400: ErrorEnvelope;
|
|
3080
|
+
401: ErrorEnvelope;
|
|
3081
|
+
};
|
|
3082
|
+
export type ConsoleUpdateWebsiteSettingsError = ConsoleUpdateWebsiteSettingsErrors[keyof ConsoleUpdateWebsiteSettingsErrors];
|
|
3083
|
+
export type ConsoleUpdateWebsiteSettingsResponses = {
|
|
3084
|
+
200: AdminPortalApplicationResponse;
|
|
3085
|
+
};
|
|
3086
|
+
export type ConsoleUpdateWebsiteSettingsResponse = ConsoleUpdateWebsiteSettingsResponses[keyof ConsoleUpdateWebsiteSettingsResponses];
|
|
3087
|
+
export type ConsoleUploadWebsiteLogoData = {
|
|
3088
|
+
body: {
|
|
3089
|
+
file: Blob | File;
|
|
3090
|
+
};
|
|
3091
|
+
path: {
|
|
3092
|
+
slug: string;
|
|
3093
|
+
websiteSlug: string;
|
|
3094
|
+
};
|
|
3095
|
+
query?: never;
|
|
3096
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/logo';
|
|
3097
|
+
};
|
|
3098
|
+
export type ConsoleUploadWebsiteLogoErrors = {
|
|
3099
|
+
400: ErrorEnvelope;
|
|
3100
|
+
401: ErrorEnvelope;
|
|
3101
|
+
};
|
|
3102
|
+
export type ConsoleUploadWebsiteLogoError = ConsoleUploadWebsiteLogoErrors[keyof ConsoleUploadWebsiteLogoErrors];
|
|
3103
|
+
export type ConsoleUploadWebsiteLogoResponses = {
|
|
3104
|
+
201: AdminPortalApplicationResponse;
|
|
3105
|
+
};
|
|
3106
|
+
export type ConsoleUploadWebsiteLogoResponse = ConsoleUploadWebsiteLogoResponses[keyof ConsoleUploadWebsiteLogoResponses];
|
|
3107
|
+
export type ConsoleRefreshWebsiteData = {
|
|
3108
|
+
body?: never;
|
|
3109
|
+
path: {
|
|
3110
|
+
slug: string;
|
|
3111
|
+
websiteSlug: string;
|
|
3112
|
+
};
|
|
3113
|
+
query?: never;
|
|
3114
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/refresh';
|
|
3115
|
+
};
|
|
3116
|
+
export type ConsoleRefreshWebsiteErrors = {
|
|
3117
|
+
400: ErrorEnvelope;
|
|
3118
|
+
401: ErrorEnvelope;
|
|
3119
|
+
};
|
|
3120
|
+
export type ConsoleRefreshWebsiteError = ConsoleRefreshWebsiteErrors[keyof ConsoleRefreshWebsiteErrors];
|
|
3121
|
+
export type ConsoleRefreshWebsiteResponses = {
|
|
3122
|
+
200: RefreshWebsiteResponse;
|
|
3123
|
+
};
|
|
3124
|
+
export type ConsoleRefreshWebsiteResponse = ConsoleRefreshWebsiteResponses[keyof ConsoleRefreshWebsiteResponses];
|
|
3125
|
+
export type ConsoleWebsiteSettlementsData = {
|
|
3126
|
+
body?: never;
|
|
3127
|
+
path: {
|
|
3128
|
+
slug: string;
|
|
3129
|
+
websiteSlug: string;
|
|
3130
|
+
};
|
|
3131
|
+
query?: never;
|
|
3132
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/settlements';
|
|
3133
|
+
};
|
|
3134
|
+
export type ConsoleWebsiteSettlementsErrors = {
|
|
3135
|
+
400: ErrorEnvelope;
|
|
3136
|
+
401: ErrorEnvelope;
|
|
3137
|
+
};
|
|
3138
|
+
export type ConsoleWebsiteSettlementsError = ConsoleWebsiteSettlementsErrors[keyof ConsoleWebsiteSettlementsErrors];
|
|
3139
|
+
export type ConsoleWebsiteSettlementsResponses = {
|
|
3140
|
+
200: WebsiteSettlementsResponse;
|
|
3141
|
+
};
|
|
3142
|
+
export type ConsoleWebsiteSettlementsResponse = ConsoleWebsiteSettlementsResponses[keyof ConsoleWebsiteSettlementsResponses];
|
|
3143
|
+
export type ConsoleUpdateSettlementAccountData = {
|
|
3144
|
+
body: UpdateSettlementAccount;
|
|
3145
|
+
path: {
|
|
3146
|
+
slug: string;
|
|
3147
|
+
websiteSlug: string;
|
|
3148
|
+
};
|
|
3149
|
+
query?: never;
|
|
3150
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/settlement-account';
|
|
3151
|
+
};
|
|
3152
|
+
export type ConsoleUpdateSettlementAccountErrors = {
|
|
3153
|
+
400: ErrorEnvelope;
|
|
3154
|
+
401: ErrorEnvelope;
|
|
3155
|
+
};
|
|
3156
|
+
export type ConsoleUpdateSettlementAccountError = ConsoleUpdateSettlementAccountErrors[keyof ConsoleUpdateSettlementAccountErrors];
|
|
3157
|
+
export type ConsoleUpdateSettlementAccountResponses = {
|
|
3158
|
+
200: WebsiteSettlementsResponse;
|
|
3159
|
+
};
|
|
3160
|
+
export type ConsoleUpdateSettlementAccountResponse = ConsoleUpdateSettlementAccountResponses[keyof ConsoleUpdateSettlementAccountResponses];
|
|
3161
|
+
export type ConsoleSubmitSettlementOnboardingData = {
|
|
3162
|
+
body: SettlementOnboarding;
|
|
3163
|
+
path: {
|
|
3164
|
+
slug: string;
|
|
3165
|
+
websiteSlug: string;
|
|
3166
|
+
};
|
|
3167
|
+
query?: never;
|
|
3168
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/settlement-onboarding';
|
|
3169
|
+
};
|
|
3170
|
+
export type ConsoleSubmitSettlementOnboardingErrors = {
|
|
3171
|
+
400: ErrorEnvelope;
|
|
3172
|
+
401: ErrorEnvelope;
|
|
3173
|
+
};
|
|
3174
|
+
export type ConsoleSubmitSettlementOnboardingError = ConsoleSubmitSettlementOnboardingErrors[keyof ConsoleSubmitSettlementOnboardingErrors];
|
|
3175
|
+
export type ConsoleSubmitSettlementOnboardingResponses = {
|
|
3176
|
+
201: WebsiteSettlementsResponse;
|
|
3177
|
+
};
|
|
3178
|
+
export type ConsoleSubmitSettlementOnboardingResponse = ConsoleSubmitSettlementOnboardingResponses[keyof ConsoleSubmitSettlementOnboardingResponses];
|
|
3179
|
+
export type ConsoleUpdateSettlementHoldData = {
|
|
3180
|
+
body: UpdateSettlementHold;
|
|
3181
|
+
path: {
|
|
3182
|
+
slug: string;
|
|
3183
|
+
websiteSlug: string;
|
|
3184
|
+
orderId: string;
|
|
3185
|
+
};
|
|
3186
|
+
query?: never;
|
|
3187
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/settlements/{orderId}/hold';
|
|
3188
|
+
};
|
|
3189
|
+
export type ConsoleUpdateSettlementHoldErrors = {
|
|
3190
|
+
400: ErrorEnvelope;
|
|
3191
|
+
401: ErrorEnvelope;
|
|
3192
|
+
};
|
|
3193
|
+
export type ConsoleUpdateSettlementHoldError = ConsoleUpdateSettlementHoldErrors[keyof ConsoleUpdateSettlementHoldErrors];
|
|
3194
|
+
export type ConsoleUpdateSettlementHoldResponses = {
|
|
3195
|
+
200: WebsiteSettlementsResponse;
|
|
3196
|
+
};
|
|
3197
|
+
export type ConsoleUpdateSettlementHoldResponse = ConsoleUpdateSettlementHoldResponses[keyof ConsoleUpdateSettlementHoldResponses];
|
|
3198
|
+
export type ConsoleMarketplaceTaxReportData = {
|
|
3199
|
+
body?: never;
|
|
3200
|
+
path?: never;
|
|
3201
|
+
query: {
|
|
3202
|
+
month: string;
|
|
3203
|
+
};
|
|
3204
|
+
url: '/api/console/marketplace/tax-report';
|
|
3205
|
+
};
|
|
3206
|
+
export type ConsoleMarketplaceTaxReportErrors = {
|
|
3207
|
+
400: ErrorEnvelope;
|
|
3208
|
+
401: ErrorEnvelope;
|
|
3209
|
+
};
|
|
3210
|
+
export type ConsoleMarketplaceTaxReportError = ConsoleMarketplaceTaxReportErrors[keyof ConsoleMarketplaceTaxReportErrors];
|
|
3211
|
+
export type ConsoleMarketplaceTaxReportResponses = {
|
|
3212
|
+
200: MarketplaceTaxReportResponse;
|
|
3213
|
+
};
|
|
3214
|
+
export type ConsoleMarketplaceTaxReportResponse = ConsoleMarketplaceTaxReportResponses[keyof ConsoleMarketplaceTaxReportResponses];
|
|
3215
|
+
export type ConsoleOrganizationUsageData = {
|
|
3216
|
+
body?: never;
|
|
3217
|
+
path: {
|
|
3218
|
+
slug: string;
|
|
3219
|
+
};
|
|
3220
|
+
query?: {
|
|
3221
|
+
preset?: 'mtd' | 'last-month';
|
|
3222
|
+
};
|
|
3223
|
+
url: '/api/console/organizations/by-slug/{slug}/usage';
|
|
3224
|
+
};
|
|
3225
|
+
export type ConsoleOrganizationUsageErrors = {
|
|
3226
|
+
400: ErrorEnvelope;
|
|
3227
|
+
401: ErrorEnvelope;
|
|
3228
|
+
};
|
|
3229
|
+
export type ConsoleOrganizationUsageError = ConsoleOrganizationUsageErrors[keyof ConsoleOrganizationUsageErrors];
|
|
3230
|
+
export type ConsoleOrganizationUsageResponses = {
|
|
3231
|
+
200: UsageResponse;
|
|
3232
|
+
};
|
|
3233
|
+
export type ConsoleOrganizationUsageResponse = ConsoleOrganizationUsageResponses[keyof ConsoleOrganizationUsageResponses];
|
|
3234
|
+
export type ConsoleWebsiteUsageData = {
|
|
3235
|
+
body?: never;
|
|
3236
|
+
path: {
|
|
3237
|
+
slug: string;
|
|
3238
|
+
websiteSlug: string;
|
|
3239
|
+
};
|
|
3240
|
+
query?: {
|
|
3241
|
+
preset?: 'mtd' | 'last-month';
|
|
3242
|
+
};
|
|
3243
|
+
url: '/api/console/organizations/by-slug/{slug}/websites/{websiteSlug}/usage';
|
|
3244
|
+
};
|
|
3245
|
+
export type ConsoleWebsiteUsageErrors = {
|
|
3246
|
+
400: ErrorEnvelope;
|
|
3247
|
+
401: ErrorEnvelope;
|
|
3248
|
+
};
|
|
3249
|
+
export type ConsoleWebsiteUsageError = ConsoleWebsiteUsageErrors[keyof ConsoleWebsiteUsageErrors];
|
|
3250
|
+
export type ConsoleWebsiteUsageResponses = {
|
|
3251
|
+
200: UsageResponse;
|
|
3252
|
+
};
|
|
3253
|
+
export type ConsoleWebsiteUsageResponse = ConsoleWebsiteUsageResponses[keyof ConsoleWebsiteUsageResponses];
|
|
3254
|
+
export type ConsoleGetBillingData = {
|
|
3255
|
+
body?: never;
|
|
3256
|
+
path: {
|
|
3257
|
+
slug: string;
|
|
3258
|
+
};
|
|
3259
|
+
query?: never;
|
|
3260
|
+
url: '/api/console/organizations/by-slug/{slug}/billing';
|
|
3261
|
+
};
|
|
3262
|
+
export type ConsoleGetBillingErrors = {
|
|
3263
|
+
400: ErrorEnvelope;
|
|
3264
|
+
401: ErrorEnvelope;
|
|
3265
|
+
};
|
|
3266
|
+
export type ConsoleGetBillingError = ConsoleGetBillingErrors[keyof ConsoleGetBillingErrors];
|
|
3267
|
+
export type ConsoleGetBillingResponses = {
|
|
3268
|
+
200: GetBillingResponse;
|
|
3269
|
+
};
|
|
3270
|
+
export type ConsoleGetBillingResponse = ConsoleGetBillingResponses[keyof ConsoleGetBillingResponses];
|
|
3271
|
+
export type ConsoleUpdateBillingData = {
|
|
3272
|
+
body: UpdateOrganizationBilling;
|
|
3273
|
+
path: {
|
|
3274
|
+
slug: string;
|
|
3275
|
+
};
|
|
3276
|
+
query?: never;
|
|
3277
|
+
url: '/api/console/organizations/by-slug/{slug}/billing';
|
|
3278
|
+
};
|
|
3279
|
+
export type ConsoleUpdateBillingErrors = {
|
|
3280
|
+
400: ErrorEnvelope;
|
|
3281
|
+
401: ErrorEnvelope;
|
|
3282
|
+
};
|
|
3283
|
+
export type ConsoleUpdateBillingError = ConsoleUpdateBillingErrors[keyof ConsoleUpdateBillingErrors];
|
|
3284
|
+
export type ConsoleUpdateBillingResponses = {
|
|
3285
|
+
200: UpdateBillingResponse;
|
|
3286
|
+
};
|
|
3287
|
+
export type ConsoleUpdateBillingResponse = ConsoleUpdateBillingResponses[keyof ConsoleUpdateBillingResponses];
|
|
3288
|
+
export type ConsoleListInvoicesData = {
|
|
3289
|
+
body?: never;
|
|
3290
|
+
path: {
|
|
3291
|
+
slug: string;
|
|
3292
|
+
};
|
|
3293
|
+
query?: never;
|
|
3294
|
+
url: '/api/console/organizations/by-slug/{slug}/invoices';
|
|
3295
|
+
};
|
|
3296
|
+
export type ConsoleListInvoicesErrors = {
|
|
3297
|
+
400: ErrorEnvelope;
|
|
3298
|
+
401: ErrorEnvelope;
|
|
3299
|
+
};
|
|
3300
|
+
export type ConsoleListInvoicesError = ConsoleListInvoicesErrors[keyof ConsoleListInvoicesErrors];
|
|
3301
|
+
export type ConsoleListInvoicesResponses = {
|
|
3302
|
+
200: ListInvoicesResponse;
|
|
3303
|
+
};
|
|
3304
|
+
export type ConsoleListInvoicesResponse = ConsoleListInvoicesResponses[keyof ConsoleListInvoicesResponses];
|
|
3305
|
+
export type ConsoleCreateInvoiceData = {
|
|
3306
|
+
body: CreateInvoice;
|
|
3307
|
+
path: {
|
|
3308
|
+
slug: string;
|
|
3309
|
+
};
|
|
3310
|
+
query?: never;
|
|
3311
|
+
url: '/api/console/organizations/by-slug/{slug}/invoices';
|
|
3312
|
+
};
|
|
3313
|
+
export type ConsoleCreateInvoiceErrors = {
|
|
3314
|
+
400: ErrorEnvelope;
|
|
3315
|
+
401: ErrorEnvelope;
|
|
3316
|
+
};
|
|
3317
|
+
export type ConsoleCreateInvoiceError = ConsoleCreateInvoiceErrors[keyof ConsoleCreateInvoiceErrors];
|
|
3318
|
+
export type ConsoleCreateInvoiceResponses = {
|
|
3319
|
+
201: InvoiceResponse;
|
|
3320
|
+
};
|
|
3321
|
+
export type ConsoleCreateInvoiceResponse = ConsoleCreateInvoiceResponses[keyof ConsoleCreateInvoiceResponses];
|
|
3322
|
+
export type ConsoleGetWalletData = {
|
|
3323
|
+
body?: never;
|
|
3324
|
+
path: {
|
|
3325
|
+
slug: string;
|
|
3326
|
+
};
|
|
3327
|
+
query?: never;
|
|
3328
|
+
url: '/api/console/organizations/by-slug/{slug}/wallet';
|
|
3329
|
+
};
|
|
3330
|
+
export type ConsoleGetWalletErrors = {
|
|
3331
|
+
400: ErrorEnvelope;
|
|
3332
|
+
401: ErrorEnvelope;
|
|
3333
|
+
};
|
|
3334
|
+
export type ConsoleGetWalletError = ConsoleGetWalletErrors[keyof ConsoleGetWalletErrors];
|
|
3335
|
+
export type ConsoleGetWalletResponses = {
|
|
3336
|
+
200: WalletResponse;
|
|
3337
|
+
};
|
|
3338
|
+
export type ConsoleGetWalletResponse = ConsoleGetWalletResponses[keyof ConsoleGetWalletResponses];
|
|
3339
|
+
export type ConsoleWalletQuoteData = {
|
|
3340
|
+
body?: never;
|
|
3341
|
+
path: {
|
|
3342
|
+
slug: string;
|
|
3343
|
+
};
|
|
3344
|
+
query: {
|
|
3345
|
+
amount: string;
|
|
3346
|
+
};
|
|
3347
|
+
url: '/api/console/organizations/by-slug/{slug}/wallet/quote';
|
|
3348
|
+
};
|
|
3349
|
+
export type ConsoleWalletQuoteErrors = {
|
|
3350
|
+
400: ErrorEnvelope;
|
|
3351
|
+
401: ErrorEnvelope;
|
|
3352
|
+
};
|
|
3353
|
+
export type ConsoleWalletQuoteError = ConsoleWalletQuoteErrors[keyof ConsoleWalletQuoteErrors];
|
|
3354
|
+
export type ConsoleWalletQuoteResponses = {
|
|
3355
|
+
200: WalletQuoteResponse;
|
|
3356
|
+
};
|
|
3357
|
+
export type ConsoleWalletQuoteResponse = ConsoleWalletQuoteResponses[keyof ConsoleWalletQuoteResponses];
|
|
3358
|
+
export type ConsoleCreateWalletTopupData = {
|
|
3359
|
+
body: CreateWalletTopup;
|
|
3360
|
+
path: {
|
|
3361
|
+
slug: string;
|
|
3362
|
+
};
|
|
3363
|
+
query?: never;
|
|
3364
|
+
url: '/api/console/organizations/by-slug/{slug}/wallet/topup';
|
|
3365
|
+
};
|
|
3366
|
+
export type ConsoleCreateWalletTopupErrors = {
|
|
3367
|
+
400: ErrorEnvelope;
|
|
3368
|
+
401: ErrorEnvelope;
|
|
3369
|
+
};
|
|
3370
|
+
export type ConsoleCreateWalletTopupError = ConsoleCreateWalletTopupErrors[keyof ConsoleCreateWalletTopupErrors];
|
|
3371
|
+
export type ConsoleCreateWalletTopupResponses = {
|
|
3372
|
+
201: CreateWalletTopupResponse;
|
|
3373
|
+
};
|
|
3374
|
+
export type ConsoleCreateWalletTopupResponse = ConsoleCreateWalletTopupResponses[keyof ConsoleCreateWalletTopupResponses];
|
|
3375
|
+
export type ConsoleVerifyWalletTopupData = {
|
|
3376
|
+
body: VerifyWalletTopup;
|
|
3377
|
+
path: {
|
|
3378
|
+
slug: string;
|
|
3379
|
+
};
|
|
3380
|
+
query?: never;
|
|
3381
|
+
url: '/api/console/organizations/by-slug/{slug}/wallet/verify';
|
|
3382
|
+
};
|
|
3383
|
+
export type ConsoleVerifyWalletTopupErrors = {
|
|
3384
|
+
400: ErrorEnvelope;
|
|
3385
|
+
401: ErrorEnvelope;
|
|
3386
|
+
};
|
|
3387
|
+
export type ConsoleVerifyWalletTopupError = ConsoleVerifyWalletTopupErrors[keyof ConsoleVerifyWalletTopupErrors];
|
|
3388
|
+
export type ConsoleVerifyWalletTopupResponses = {
|
|
3389
|
+
201: VerifyWalletTopupResponse;
|
|
3390
|
+
};
|
|
3391
|
+
export type ConsoleVerifyWalletTopupResponse = ConsoleVerifyWalletTopupResponses[keyof ConsoleVerifyWalletTopupResponses];
|
|
3392
|
+
export type ConsoleAdjustWalletData = {
|
|
3393
|
+
body: AdjustWallet;
|
|
3394
|
+
path: {
|
|
3395
|
+
slug: string;
|
|
3396
|
+
};
|
|
3397
|
+
query?: never;
|
|
3398
|
+
url: '/api/console/organizations/by-slug/{slug}/wallet/adjust';
|
|
3399
|
+
};
|
|
3400
|
+
export type ConsoleAdjustWalletErrors = {
|
|
3401
|
+
400: ErrorEnvelope;
|
|
3402
|
+
401: ErrorEnvelope;
|
|
3403
|
+
};
|
|
3404
|
+
export type ConsoleAdjustWalletError = ConsoleAdjustWalletErrors[keyof ConsoleAdjustWalletErrors];
|
|
3405
|
+
export type ConsoleAdjustWalletResponses = {
|
|
3406
|
+
200: WalletResponse;
|
|
3407
|
+
};
|
|
3408
|
+
export type ConsoleAdjustWalletResponse = ConsoleAdjustWalletResponses[keyof ConsoleAdjustWalletResponses];
|
|
3409
|
+
export type ConsoleListUsersData = {
|
|
3410
|
+
body?: never;
|
|
3411
|
+
path?: never;
|
|
3412
|
+
query?: never;
|
|
3413
|
+
url: '/api/console/users';
|
|
3414
|
+
};
|
|
3415
|
+
export type ConsoleListUsersErrors = {
|
|
3416
|
+
401: ErrorEnvelope;
|
|
3417
|
+
};
|
|
3418
|
+
export type ConsoleListUsersError = ConsoleListUsersErrors[keyof ConsoleListUsersErrors];
|
|
3419
|
+
export type ConsoleListUsersResponses = {
|
|
3420
|
+
200: ListConsoleUsersResponse;
|
|
3421
|
+
};
|
|
3422
|
+
export type ConsoleListUsersResponse = ConsoleListUsersResponses[keyof ConsoleListUsersResponses];
|
|
3423
|
+
export type WhatsappVerifyWebhookData = {
|
|
3424
|
+
body?: never;
|
|
3425
|
+
path?: never;
|
|
3426
|
+
query: {
|
|
3427
|
+
'hub.mode': string;
|
|
3428
|
+
'hub.verify_token': string;
|
|
3429
|
+
'hub.challenge': string;
|
|
3430
|
+
};
|
|
3431
|
+
url: '/api/whatsapp/webhook';
|
|
3432
|
+
};
|
|
3433
|
+
export type WhatsappVerifyWebhookErrors = {
|
|
3434
|
+
400: ErrorEnvelope;
|
|
3435
|
+
};
|
|
3436
|
+
export type WhatsappVerifyWebhookError = WhatsappVerifyWebhookErrors[keyof WhatsappVerifyWebhookErrors];
|
|
3437
|
+
export type WhatsappVerifyWebhookResponses = {
|
|
3438
|
+
200: string;
|
|
3439
|
+
};
|
|
3440
|
+
export type WhatsappVerifyWebhookResponse = WhatsappVerifyWebhookResponses[keyof WhatsappVerifyWebhookResponses];
|
|
3441
|
+
export type WhatsappWebhookData = {
|
|
3442
|
+
body: WhatsAppWebhookEvent;
|
|
3443
|
+
path?: never;
|
|
3444
|
+
query?: never;
|
|
3445
|
+
url: '/api/whatsapp/webhook';
|
|
3446
|
+
};
|
|
3447
|
+
export type WhatsappWebhookErrors = {
|
|
3448
|
+
400: ErrorEnvelope;
|
|
3449
|
+
};
|
|
3450
|
+
export type WhatsappWebhookError = WhatsappWebhookErrors[keyof WhatsappWebhookErrors];
|
|
3451
|
+
export type WhatsappWebhookResponses = {
|
|
3452
|
+
200: unknown;
|
|
3453
|
+
};
|
|
3454
|
+
export type WebAuthLoginData = {
|
|
3455
|
+
body?: never;
|
|
3456
|
+
path?: never;
|
|
3457
|
+
query?: never;
|
|
3458
|
+
url: '/api/auth/login';
|
|
3459
|
+
};
|
|
3460
|
+
export type WebAuthCallbackData = {
|
|
3461
|
+
body?: never;
|
|
3462
|
+
path?: never;
|
|
3463
|
+
query?: never;
|
|
3464
|
+
url: '/api/auth/callback';
|
|
3465
|
+
};
|
|
3466
|
+
export type WebAuthRefreshData = {
|
|
3467
|
+
body?: never;
|
|
3468
|
+
path?: never;
|
|
3469
|
+
query?: never;
|
|
3470
|
+
url: '/api/auth/refresh';
|
|
3471
|
+
};
|
|
3472
|
+
export type WebAuthRefreshErrors = {
|
|
3473
|
+
401: WebAuthSessionError;
|
|
3474
|
+
503: WebAuthSessionError;
|
|
3475
|
+
};
|
|
3476
|
+
export type WebAuthRefreshError = WebAuthRefreshErrors[keyof WebAuthRefreshErrors];
|
|
3477
|
+
export type WebAuthRefreshResponses = {
|
|
3478
|
+
200: WebAuthRefreshResponse;
|
|
3479
|
+
};
|
|
3480
|
+
export type WebAuthRefreshResponse2 = WebAuthRefreshResponses[keyof WebAuthRefreshResponses];
|
|
3481
|
+
export type WebAuthLogoutData = {
|
|
3482
|
+
body?: never;
|
|
3483
|
+
path?: never;
|
|
3484
|
+
query?: never;
|
|
3485
|
+
url: '/api/auth/logout';
|
|
3486
|
+
};
|
|
3487
|
+
export type WebAuthLogoutResponses = {
|
|
3488
|
+
200: OkResponse;
|
|
3489
|
+
};
|
|
3490
|
+
export type WebAuthLogoutResponse = WebAuthLogoutResponses[keyof WebAuthLogoutResponses];
|