@supaapps/platform93-sdk 0.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +10 -0
  3. package/dist/generated/client/client.gen.d.ts +3 -0
  4. package/dist/generated/client/client.gen.d.ts.map +1 -0
  5. package/dist/generated/client/client.gen.js +217 -0
  6. package/dist/generated/client/client.gen.js.map +1 -0
  7. package/dist/generated/client/index.d.ts +11 -0
  8. package/dist/generated/client/index.d.ts.map +1 -0
  9. package/dist/generated/client/index.js +7 -0
  10. package/dist/generated/client/index.js.map +1 -0
  11. package/dist/generated/client/types.gen.d.ts +121 -0
  12. package/dist/generated/client/types.gen.d.ts.map +1 -0
  13. package/dist/generated/client/types.gen.js +3 -0
  14. package/dist/generated/client/types.gen.js.map +1 -0
  15. package/dist/generated/client/utils.gen.d.ts +38 -0
  16. package/dist/generated/client/utils.gen.d.ts.map +1 -0
  17. package/dist/generated/client/utils.gen.js +229 -0
  18. package/dist/generated/client/utils.gen.js.map +1 -0
  19. package/dist/generated/client.gen.d.ts +13 -0
  20. package/dist/generated/client.gen.d.ts.map +1 -0
  21. package/dist/generated/client.gen.js +4 -0
  22. package/dist/generated/client.gen.js.map +1 -0
  23. package/dist/generated/core/auth.gen.d.ts +26 -0
  24. package/dist/generated/core/auth.gen.d.ts.map +1 -0
  25. package/dist/generated/core/auth.gen.js +15 -0
  26. package/dist/generated/core/auth.gen.js.map +1 -0
  27. package/dist/generated/core/bodySerializer.gen.d.ts +26 -0
  28. package/dist/generated/core/bodySerializer.gen.d.ts.map +1 -0
  29. package/dist/generated/core/bodySerializer.gen.js +58 -0
  30. package/dist/generated/core/bodySerializer.gen.js.map +1 -0
  31. package/dist/generated/core/params.gen.d.ts +44 -0
  32. package/dist/generated/core/params.gen.d.ts.map +1 -0
  33. package/dist/generated/core/params.gen.js +110 -0
  34. package/dist/generated/core/params.gen.js.map +1 -0
  35. package/dist/generated/core/pathSerializer.gen.d.ts +34 -0
  36. package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -0
  37. package/dist/generated/core/pathSerializer.gen.js +107 -0
  38. package/dist/generated/core/pathSerializer.gen.js.map +1 -0
  39. package/dist/generated/core/queryKeySerializer.gen.d.ts +19 -0
  40. package/dist/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
  41. package/dist/generated/core/queryKeySerializer.gen.js +93 -0
  42. package/dist/generated/core/queryKeySerializer.gen.js.map +1 -0
  43. package/dist/generated/core/serverSentEvents.gen.d.ts +72 -0
  44. package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -0
  45. package/dist/generated/core/serverSentEvents.gen.js +133 -0
  46. package/dist/generated/core/serverSentEvents.gen.js.map +1 -0
  47. package/dist/generated/core/types.gen.d.ts +84 -0
  48. package/dist/generated/core/types.gen.d.ts.map +1 -0
  49. package/dist/generated/core/types.gen.js +3 -0
  50. package/dist/generated/core/types.gen.js.map +1 -0
  51. package/dist/generated/core/utils.gen.d.ts +20 -0
  52. package/dist/generated/core/utils.gen.d.ts.map +1 -0
  53. package/dist/generated/core/utils.gen.js +88 -0
  54. package/dist/generated/core/utils.gen.js.map +1 -0
  55. package/dist/generated/index.d.ts +3 -0
  56. package/dist/generated/index.d.ts.map +1 -0
  57. package/dist/generated/index.js +3 -0
  58. package/dist/generated/index.js.map +1 -0
  59. package/dist/generated/sdk.gen.d.ts +371 -0
  60. package/dist/generated/sdk.gen.d.ts.map +1 -0
  61. package/dist/generated/sdk.gen.js +4490 -0
  62. package/dist/generated/sdk.gen.js.map +1 -0
  63. package/dist/generated/types.gen.d.ts +6143 -0
  64. package/dist/generated/types.gen.d.ts.map +1 -0
  65. package/dist/generated/types.gen.js +3 -0
  66. package/dist/generated/types.gen.js.map +1 -0
  67. package/dist/index.d.ts +292 -0
  68. package/dist/index.d.ts.map +1 -0
  69. package/dist/index.js +112 -0
  70. package/dist/index.js.map +1 -0
  71. package/package.json +40 -0
@@ -0,0 +1,4490 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { client } from './client.gen.js';
3
+ import { urlSearchParamsBodySerializer } from './client/index.js';
4
+ export const health = (options) => (options?.client ?? client).get({ url: '/healthz', ...options });
5
+ export const readiness = (options) => (options?.client ?? client).get({ url: '/readyz', ...options });
6
+ export const version = (options) => (options?.client ?? client).get({ url: '/version', ...options });
7
+ export const setupStatus = (options) => (options?.client ?? client).get({ url: '/v1/setup/status', ...options });
8
+ export const bootstrap = (options) => (options.client ?? client).post({
9
+ url: '/v1/setup/bootstrap',
10
+ ...options,
11
+ headers: {
12
+ 'Content-Type': 'application/json',
13
+ ...options.headers
14
+ }
15
+ });
16
+ export const completeSetup = (options) => (options?.client ?? client).post({
17
+ security: [{
18
+ key: 'operatorBearer',
19
+ scheme: 'bearer',
20
+ type: 'http'
21
+ }, {
22
+ in: 'cookie',
23
+ name: 'p93_operator_access',
24
+ type: 'apiKey'
25
+ }],
26
+ url: '/v1/setup/complete',
27
+ ...options
28
+ });
29
+ export const createSetupNotificationProvider = (options) => (options.client ?? client).post({
30
+ security: [{
31
+ key: 'operatorBearer',
32
+ scheme: 'bearer',
33
+ type: 'http'
34
+ }, {
35
+ in: 'cookie',
36
+ name: 'p93_operator_access',
37
+ type: 'apiKey'
38
+ }],
39
+ url: '/v1/setup/notification-providers',
40
+ ...options,
41
+ headers: {
42
+ 'Content-Type': 'application/json',
43
+ ...options.headers
44
+ }
45
+ });
46
+ export const startOperatorEmailLogin = (options) => (options.client ?? client).post({
47
+ url: '/v1/control/auth/email/start',
48
+ ...options,
49
+ headers: {
50
+ 'Content-Type': 'application/json',
51
+ ...options.headers
52
+ }
53
+ });
54
+ export const verifyOperatorEmailLogin = (options) => (options.client ?? client).post({
55
+ url: '/v1/control/auth/email/verify',
56
+ ...options,
57
+ headers: {
58
+ 'Content-Type': 'application/json',
59
+ ...options.headers
60
+ }
61
+ });
62
+ export const loginOperatorWithPassword = (options) => (options.client ?? client).post({
63
+ url: '/v1/control/auth/password',
64
+ ...options,
65
+ headers: {
66
+ 'Content-Type': 'application/json',
67
+ ...options.headers
68
+ }
69
+ });
70
+ export const changeOperatorPassword = (options) => (options.client ?? client).put({
71
+ security: [{
72
+ key: 'operatorBearer',
73
+ scheme: 'bearer',
74
+ type: 'http'
75
+ }, {
76
+ in: 'cookie',
77
+ name: 'p93_operator_access',
78
+ type: 'apiKey'
79
+ }],
80
+ url: '/v1/control/auth/password',
81
+ ...options,
82
+ headers: {
83
+ 'Content-Type': 'application/json',
84
+ ...options.headers
85
+ }
86
+ });
87
+ export const getOperatorAccount = (options) => (options?.client ?? client).get({
88
+ security: [{
89
+ key: 'operatorBearer',
90
+ scheme: 'bearer',
91
+ type: 'http'
92
+ }, {
93
+ in: 'cookie',
94
+ name: 'p93_operator_access',
95
+ type: 'apiKey'
96
+ }],
97
+ url: '/v1/control/auth/me',
98
+ ...options
99
+ });
100
+ export const updateOperatorAccount = (options) => (options.client ?? client).patch({
101
+ security: [{
102
+ key: 'operatorBearer',
103
+ scheme: 'bearer',
104
+ type: 'http'
105
+ }, {
106
+ in: 'cookie',
107
+ name: 'p93_operator_access',
108
+ type: 'apiKey'
109
+ }],
110
+ url: '/v1/control/auth/me',
111
+ ...options,
112
+ headers: {
113
+ 'Content-Type': 'application/json',
114
+ ...options.headers
115
+ }
116
+ });
117
+ export const logoutOperator = (options) => (options?.client ?? client).post({
118
+ security: [{
119
+ key: 'operatorBearer',
120
+ scheme: 'bearer',
121
+ type: 'http'
122
+ }, {
123
+ in: 'cookie',
124
+ name: 'p93_operator_access',
125
+ type: 'apiKey'
126
+ }],
127
+ url: '/v1/control/auth/logout',
128
+ ...options
129
+ });
130
+ export const refreshOperatorSession = (options) => (options?.client ?? client).post({
131
+ security: [{
132
+ key: 'operatorBearer',
133
+ scheme: 'bearer',
134
+ type: 'http'
135
+ }, {
136
+ in: 'cookie',
137
+ name: 'p93_operator_access',
138
+ type: 'apiKey'
139
+ }],
140
+ url: '/v1/control/auth/token/refresh',
141
+ ...options
142
+ });
143
+ export const listOperatorSessions = (options) => (options?.client ?? client).get({
144
+ security: [{
145
+ key: 'operatorBearer',
146
+ scheme: 'bearer',
147
+ type: 'http'
148
+ }, {
149
+ in: 'cookie',
150
+ name: 'p93_operator_access',
151
+ type: 'apiKey'
152
+ }],
153
+ url: '/v1/control/auth/sessions',
154
+ ...options
155
+ });
156
+ export const revokeOperatorSession = (options) => (options.client ?? client).delete({
157
+ security: [{
158
+ key: 'operatorBearer',
159
+ scheme: 'bearer',
160
+ type: 'http'
161
+ }, {
162
+ in: 'cookie',
163
+ name: 'p93_operator_access',
164
+ type: 'apiKey'
165
+ }],
166
+ url: '/v1/control/auth/sessions/{session_id}',
167
+ ...options
168
+ });
169
+ export const logoutAllOperatorSessions = (options) => (options?.client ?? client).post({
170
+ security: [{
171
+ key: 'operatorBearer',
172
+ scheme: 'bearer',
173
+ type: 'http'
174
+ }, {
175
+ in: 'cookie',
176
+ name: 'p93_operator_access',
177
+ type: 'apiKey'
178
+ }],
179
+ url: '/v1/control/auth/logout-all',
180
+ ...options
181
+ });
182
+ export const acceptOrganizationInvitation = (options) => (options.client ?? client).post({
183
+ url: '/v1/control/organization-invitations/accept',
184
+ ...options,
185
+ headers: {
186
+ 'Content-Type': 'application/json',
187
+ ...options.headers
188
+ }
189
+ });
190
+ export const listInstallationNotificationProviders = (options) => (options?.client ?? client).get({
191
+ security: [{
192
+ key: 'operatorBearer',
193
+ scheme: 'bearer',
194
+ type: 'http'
195
+ }, {
196
+ in: 'cookie',
197
+ name: 'p93_operator_access',
198
+ type: 'apiKey'
199
+ }],
200
+ url: '/v1/control/installation/notification-providers',
201
+ ...options
202
+ });
203
+ export const createInstallationNotificationProvider = (options) => (options.client ?? client).post({
204
+ security: [{
205
+ key: 'operatorBearer',
206
+ scheme: 'bearer',
207
+ type: 'http'
208
+ }, {
209
+ in: 'cookie',
210
+ name: 'p93_operator_access',
211
+ type: 'apiKey'
212
+ }],
213
+ url: '/v1/control/installation/notification-providers',
214
+ ...options,
215
+ headers: {
216
+ 'Content-Type': 'application/json',
217
+ ...options.headers
218
+ }
219
+ });
220
+ export const disableInstallationNotificationProvider = (options) => (options.client ?? client).delete({
221
+ security: [{
222
+ key: 'operatorBearer',
223
+ scheme: 'bearer',
224
+ type: 'http'
225
+ }, {
226
+ in: 'cookie',
227
+ name: 'p93_operator_access',
228
+ type: 'apiKey'
229
+ }],
230
+ url: '/v1/control/installation/notification-providers/{provider_id}',
231
+ ...options
232
+ });
233
+ export const getInstallationNotificationProvider = (options) => (options.client ?? client).get({
234
+ security: [{
235
+ key: 'operatorBearer',
236
+ scheme: 'bearer',
237
+ type: 'http'
238
+ }, {
239
+ in: 'cookie',
240
+ name: 'p93_operator_access',
241
+ type: 'apiKey'
242
+ }],
243
+ url: '/v1/control/installation/notification-providers/{provider_id}',
244
+ ...options
245
+ });
246
+ export const updateInstallationNotificationProvider = (options) => (options.client ?? client).patch({
247
+ security: [{
248
+ key: 'operatorBearer',
249
+ scheme: 'bearer',
250
+ type: 'http'
251
+ }, {
252
+ in: 'cookie',
253
+ name: 'p93_operator_access',
254
+ type: 'apiKey'
255
+ }],
256
+ url: '/v1/control/installation/notification-providers/{provider_id}',
257
+ ...options,
258
+ headers: {
259
+ 'Content-Type': 'application/json',
260
+ ...options.headers
261
+ }
262
+ });
263
+ export const verifyInstallationNotificationProvider = (options) => (options.client ?? client).post({
264
+ security: [{
265
+ key: 'operatorBearer',
266
+ scheme: 'bearer',
267
+ type: 'http'
268
+ }, {
269
+ in: 'cookie',
270
+ name: 'p93_operator_access',
271
+ type: 'apiKey'
272
+ }],
273
+ url: '/v1/control/installation/notification-providers/{provider_id}/verify',
274
+ ...options
275
+ });
276
+ export const testInstallationNotificationProvider = (options) => (options.client ?? client).post({
277
+ security: [{
278
+ key: 'operatorBearer',
279
+ scheme: 'bearer',
280
+ type: 'http'
281
+ }, {
282
+ in: 'cookie',
283
+ name: 'p93_operator_access',
284
+ type: 'apiKey'
285
+ }],
286
+ url: '/v1/control/installation/notification-providers/{provider_id}/test',
287
+ ...options,
288
+ headers: {
289
+ 'Content-Type': 'application/json',
290
+ ...options.headers
291
+ }
292
+ });
293
+ export const listInstallationAuthProviders = (options) => (options?.client ?? client).get({
294
+ security: [{
295
+ key: 'operatorBearer',
296
+ scheme: 'bearer',
297
+ type: 'http'
298
+ }, {
299
+ in: 'cookie',
300
+ name: 'p93_operator_access',
301
+ type: 'apiKey'
302
+ }],
303
+ url: '/v1/control/installation/auth/providers',
304
+ ...options
305
+ });
306
+ export const disableInstallationAuthProvider = (options) => (options.client ?? client).delete({
307
+ security: [{
308
+ key: 'operatorBearer',
309
+ scheme: 'bearer',
310
+ type: 'http'
311
+ }, {
312
+ in: 'cookie',
313
+ name: 'p93_operator_access',
314
+ type: 'apiKey'
315
+ }],
316
+ url: '/v1/control/installation/auth/providers/{provider}',
317
+ ...options
318
+ });
319
+ export const updateInstallationAuthProvider = (options) => (options.client ?? client).patch({
320
+ security: [{
321
+ key: 'operatorBearer',
322
+ scheme: 'bearer',
323
+ type: 'http'
324
+ }, {
325
+ in: 'cookie',
326
+ name: 'p93_operator_access',
327
+ type: 'apiKey'
328
+ }],
329
+ url: '/v1/control/installation/auth/providers/{provider}',
330
+ ...options,
331
+ headers: {
332
+ 'Content-Type': 'application/json',
333
+ ...options.headers
334
+ }
335
+ });
336
+ export const configureInstallationAuthProvider = (options) => (options.client ?? client).put({
337
+ security: [{
338
+ key: 'operatorBearer',
339
+ scheme: 'bearer',
340
+ type: 'http'
341
+ }, {
342
+ in: 'cookie',
343
+ name: 'p93_operator_access',
344
+ type: 'apiKey'
345
+ }],
346
+ url: '/v1/control/installation/auth/providers/{provider}',
347
+ ...options,
348
+ headers: {
349
+ 'Content-Type': 'application/json',
350
+ ...options.headers
351
+ }
352
+ });
353
+ export const listInstallationBillingProviders = (options) => (options?.client ?? client).get({
354
+ security: [{
355
+ key: 'operatorBearer',
356
+ scheme: 'bearer',
357
+ type: 'http'
358
+ }, {
359
+ in: 'cookie',
360
+ name: 'p93_operator_access',
361
+ type: 'apiKey'
362
+ }],
363
+ url: '/v1/control/installation/billing/providers',
364
+ ...options
365
+ });
366
+ export const createInstallationBillingProvider = (options) => (options.client ?? client).post({
367
+ security: [{
368
+ key: 'operatorBearer',
369
+ scheme: 'bearer',
370
+ type: 'http'
371
+ }, {
372
+ in: 'cookie',
373
+ name: 'p93_operator_access',
374
+ type: 'apiKey'
375
+ }],
376
+ url: '/v1/control/installation/billing/providers',
377
+ ...options,
378
+ headers: {
379
+ 'Content-Type': 'application/json',
380
+ ...options.headers
381
+ }
382
+ });
383
+ export const disableInstallationBillingProvider = (options) => (options.client ?? client).delete({
384
+ security: [{
385
+ key: 'operatorBearer',
386
+ scheme: 'bearer',
387
+ type: 'http'
388
+ }, {
389
+ in: 'cookie',
390
+ name: 'p93_operator_access',
391
+ type: 'apiKey'
392
+ }],
393
+ url: '/v1/control/installation/billing/providers/{provider_id}',
394
+ ...options
395
+ });
396
+ export const getInstallationBillingProvider = (options) => (options.client ?? client).get({
397
+ security: [{
398
+ key: 'operatorBearer',
399
+ scheme: 'bearer',
400
+ type: 'http'
401
+ }, {
402
+ in: 'cookie',
403
+ name: 'p93_operator_access',
404
+ type: 'apiKey'
405
+ }],
406
+ url: '/v1/control/installation/billing/providers/{provider_id}',
407
+ ...options
408
+ });
409
+ export const updateInstallationBillingProvider = (options) => (options.client ?? client).patch({
410
+ security: [{
411
+ key: 'operatorBearer',
412
+ scheme: 'bearer',
413
+ type: 'http'
414
+ }, {
415
+ in: 'cookie',
416
+ name: 'p93_operator_access',
417
+ type: 'apiKey'
418
+ }],
419
+ url: '/v1/control/installation/billing/providers/{provider_id}',
420
+ ...options,
421
+ headers: {
422
+ 'Content-Type': 'application/json',
423
+ ...options.headers
424
+ }
425
+ });
426
+ export const verifyInstallationBillingProvider = (options) => (options.client ?? client).post({
427
+ security: [{
428
+ key: 'operatorBearer',
429
+ scheme: 'bearer',
430
+ type: 'http'
431
+ }, {
432
+ in: 'cookie',
433
+ name: 'p93_operator_access',
434
+ type: 'apiKey'
435
+ }],
436
+ url: '/v1/control/installation/billing/providers/{provider_id}/verify',
437
+ ...options
438
+ });
439
+ export const listInstallationOperators = (options) => (options?.client ?? client).get({
440
+ security: [{
441
+ key: 'operatorBearer',
442
+ scheme: 'bearer',
443
+ type: 'http'
444
+ }, {
445
+ in: 'cookie',
446
+ name: 'p93_operator_access',
447
+ type: 'apiKey'
448
+ }],
449
+ url: '/v1/control/installation/operators',
450
+ ...options
451
+ });
452
+ export const createInstallationOperator = (options) => (options.client ?? client).post({
453
+ security: [{
454
+ key: 'operatorBearer',
455
+ scheme: 'bearer',
456
+ type: 'http'
457
+ }, {
458
+ in: 'cookie',
459
+ name: 'p93_operator_access',
460
+ type: 'apiKey'
461
+ }],
462
+ url: '/v1/control/installation/operators',
463
+ ...options,
464
+ headers: {
465
+ 'Content-Type': 'application/json',
466
+ ...options.headers
467
+ }
468
+ });
469
+ export const deleteInstallationOperator = (options) => (options.client ?? client).delete({
470
+ security: [{
471
+ key: 'operatorBearer',
472
+ scheme: 'bearer',
473
+ type: 'http'
474
+ }, {
475
+ in: 'cookie',
476
+ name: 'p93_operator_access',
477
+ type: 'apiKey'
478
+ }],
479
+ url: '/v1/control/installation/operators/{operator_id}',
480
+ ...options
481
+ });
482
+ export const updateInstallationOperator = (options) => (options.client ?? client).patch({
483
+ security: [{
484
+ key: 'operatorBearer',
485
+ scheme: 'bearer',
486
+ type: 'http'
487
+ }, {
488
+ in: 'cookie',
489
+ name: 'p93_operator_access',
490
+ type: 'apiKey'
491
+ }],
492
+ url: '/v1/control/installation/operators/{operator_id}',
493
+ ...options,
494
+ headers: {
495
+ 'Content-Type': 'application/json',
496
+ ...options.headers
497
+ }
498
+ });
499
+ export const listSigningKeys = (options) => (options?.client ?? client).get({
500
+ security: [{
501
+ key: 'operatorBearer',
502
+ scheme: 'bearer',
503
+ type: 'http'
504
+ }, {
505
+ in: 'cookie',
506
+ name: 'p93_operator_access',
507
+ type: 'apiKey'
508
+ }],
509
+ url: '/v1/control/installation/signing-keys',
510
+ ...options
511
+ });
512
+ export const rotateSigningKey = (options) => (options?.client ?? client).post({
513
+ security: [{
514
+ key: 'operatorBearer',
515
+ scheme: 'bearer',
516
+ type: 'http'
517
+ }, {
518
+ in: 'cookie',
519
+ name: 'p93_operator_access',
520
+ type: 'apiKey'
521
+ }],
522
+ url: '/v1/control/installation/signing-keys/rotate',
523
+ ...options
524
+ });
525
+ export const getManagementApiStatus = (options) => (options?.client ?? client).get({
526
+ security: [{
527
+ key: 'operatorBearer',
528
+ scheme: 'bearer',
529
+ type: 'http'
530
+ }, {
531
+ in: 'cookie',
532
+ name: 'p93_operator_access',
533
+ type: 'apiKey'
534
+ }],
535
+ url: '/v1/control/installation/management-api',
536
+ ...options
537
+ });
538
+ export const updateManagementApiStatus = (options) => (options.client ?? client).patch({
539
+ security: [{
540
+ key: 'operatorBearer',
541
+ scheme: 'bearer',
542
+ type: 'http'
543
+ }, {
544
+ in: 'cookie',
545
+ name: 'p93_operator_access',
546
+ type: 'apiKey'
547
+ }],
548
+ url: '/v1/control/installation/management-api',
549
+ ...options,
550
+ headers: {
551
+ 'Content-Type': 'application/json',
552
+ ...options.headers
553
+ }
554
+ });
555
+ export const listManagementClients = (options) => (options?.client ?? client).get({
556
+ security: [{
557
+ key: 'operatorBearer',
558
+ scheme: 'bearer',
559
+ type: 'http'
560
+ }, {
561
+ in: 'cookie',
562
+ name: 'p93_operator_access',
563
+ type: 'apiKey'
564
+ }],
565
+ url: '/v1/control/installation/management-clients',
566
+ ...options
567
+ });
568
+ export const createManagementClient = (options) => (options.client ?? client).post({
569
+ security: [{
570
+ key: 'operatorBearer',
571
+ scheme: 'bearer',
572
+ type: 'http'
573
+ }, {
574
+ in: 'cookie',
575
+ name: 'p93_operator_access',
576
+ type: 'apiKey'
577
+ }],
578
+ url: '/v1/control/installation/management-clients',
579
+ ...options,
580
+ headers: {
581
+ 'Content-Type': 'application/json',
582
+ ...options.headers
583
+ }
584
+ });
585
+ export const rotateManagementClientSecret = (options) => (options.client ?? client).post({
586
+ security: [{
587
+ key: 'operatorBearer',
588
+ scheme: 'bearer',
589
+ type: 'http'
590
+ }, {
591
+ in: 'cookie',
592
+ name: 'p93_operator_access',
593
+ type: 'apiKey'
594
+ }],
595
+ url: '/v1/control/installation/management-clients/{management_client_id}/rotate-secret',
596
+ ...options
597
+ });
598
+ export const disableManagementClient = (options) => (options.client ?? client).delete({
599
+ security: [{
600
+ key: 'operatorBearer',
601
+ scheme: 'bearer',
602
+ type: 'http'
603
+ }, {
604
+ in: 'cookie',
605
+ name: 'p93_operator_access',
606
+ type: 'apiKey'
607
+ }],
608
+ url: '/v1/control/installation/management-clients/{management_client_id}',
609
+ ...options
610
+ });
611
+ export const updateOrganizationPolicy = (options) => (options.client ?? client).put({
612
+ security: [{
613
+ key: 'operatorBearer',
614
+ scheme: 'bearer',
615
+ type: 'http'
616
+ }, {
617
+ in: 'cookie',
618
+ name: 'p93_operator_access',
619
+ type: 'apiKey'
620
+ }],
621
+ url: '/v1/control/installation/organizations/{organization_id}/policy',
622
+ ...options,
623
+ headers: {
624
+ 'Content-Type': 'application/json',
625
+ ...options.headers
626
+ }
627
+ });
628
+ export const listOrganizations = (options) => (options?.client ?? client).get({
629
+ security: [{
630
+ key: 'operatorBearer',
631
+ scheme: 'bearer',
632
+ type: 'http'
633
+ }, {
634
+ in: 'cookie',
635
+ name: 'p93_operator_access',
636
+ type: 'apiKey'
637
+ }],
638
+ url: '/v1/control/organizations',
639
+ ...options
640
+ });
641
+ export const createOrganization = (options) => (options.client ?? client).post({
642
+ security: [{
643
+ key: 'operatorBearer',
644
+ scheme: 'bearer',
645
+ type: 'http'
646
+ }, {
647
+ in: 'cookie',
648
+ name: 'p93_operator_access',
649
+ type: 'apiKey'
650
+ }],
651
+ url: '/v1/control/organizations',
652
+ ...options,
653
+ headers: {
654
+ 'Content-Type': 'application/json',
655
+ ...options.headers
656
+ }
657
+ });
658
+ export const listApplications = (options) => (options.client ?? client).get({
659
+ security: [{
660
+ key: 'operatorBearer',
661
+ scheme: 'bearer',
662
+ type: 'http'
663
+ }, {
664
+ in: 'cookie',
665
+ name: 'p93_operator_access',
666
+ type: 'apiKey'
667
+ }],
668
+ url: '/v1/control/organizations/{organization_id}/applications',
669
+ ...options
670
+ });
671
+ export const createApplication = (options) => (options.client ?? client).post({
672
+ security: [{
673
+ key: 'operatorBearer',
674
+ scheme: 'bearer',
675
+ type: 'http'
676
+ }, {
677
+ in: 'cookie',
678
+ name: 'p93_operator_access',
679
+ type: 'apiKey'
680
+ }],
681
+ url: '/v1/control/organizations/{organization_id}/applications',
682
+ ...options,
683
+ headers: {
684
+ 'Content-Type': 'application/json',
685
+ ...options.headers
686
+ }
687
+ });
688
+ export const retireApplication = (options) => (options.client ?? client).delete({
689
+ security: [{
690
+ key: 'operatorBearer',
691
+ scheme: 'bearer',
692
+ type: 'http'
693
+ }, {
694
+ in: 'cookie',
695
+ name: 'p93_operator_access',
696
+ type: 'apiKey'
697
+ }],
698
+ url: '/v1/control/organizations/{organization_id}/applications/{application_resource_id}',
699
+ ...options
700
+ });
701
+ export const updateApplication = (options) => (options.client ?? client).patch({
702
+ security: [{
703
+ key: 'operatorBearer',
704
+ scheme: 'bearer',
705
+ type: 'http'
706
+ }, {
707
+ in: 'cookie',
708
+ name: 'p93_operator_access',
709
+ type: 'apiKey'
710
+ }],
711
+ url: '/v1/control/organizations/{organization_id}/applications/{application_resource_id}',
712
+ ...options,
713
+ headers: {
714
+ 'Content-Type': 'application/json',
715
+ ...options.headers
716
+ }
717
+ });
718
+ export const restoreApplication = (options) => (options.client ?? client).post({
719
+ security: [{
720
+ key: 'operatorBearer',
721
+ scheme: 'bearer',
722
+ type: 'http'
723
+ }, {
724
+ in: 'cookie',
725
+ name: 'p93_operator_access',
726
+ type: 'apiKey'
727
+ }],
728
+ url: '/v1/control/organizations/{organization_id}/applications/{application_resource_id}/restore',
729
+ ...options
730
+ });
731
+ export const retireOrganization = (options) => (options.client ?? client).delete({
732
+ security: [{
733
+ key: 'operatorBearer',
734
+ scheme: 'bearer',
735
+ type: 'http'
736
+ }, {
737
+ in: 'cookie',
738
+ name: 'p93_operator_access',
739
+ type: 'apiKey'
740
+ }],
741
+ url: '/v1/control/organizations/{organization_id}',
742
+ ...options
743
+ });
744
+ export const getOrganization = (options) => (options.client ?? client).get({
745
+ security: [{
746
+ key: 'operatorBearer',
747
+ scheme: 'bearer',
748
+ type: 'http'
749
+ }, {
750
+ in: 'cookie',
751
+ name: 'p93_operator_access',
752
+ type: 'apiKey'
753
+ }],
754
+ url: '/v1/control/organizations/{organization_id}',
755
+ ...options
756
+ });
757
+ export const updateOrganization = (options) => (options.client ?? client).patch({
758
+ security: [{
759
+ key: 'operatorBearer',
760
+ scheme: 'bearer',
761
+ type: 'http'
762
+ }, {
763
+ in: 'cookie',
764
+ name: 'p93_operator_access',
765
+ type: 'apiKey'
766
+ }],
767
+ url: '/v1/control/organizations/{organization_id}',
768
+ ...options,
769
+ headers: {
770
+ 'Content-Type': 'application/json',
771
+ ...options.headers
772
+ }
773
+ });
774
+ export const getOrganizationPolicy = (options) => (options.client ?? client).get({
775
+ security: [{
776
+ key: 'operatorBearer',
777
+ scheme: 'bearer',
778
+ type: 'http'
779
+ }, {
780
+ in: 'cookie',
781
+ name: 'p93_operator_access',
782
+ type: 'apiKey'
783
+ }],
784
+ url: '/v1/control/organizations/{organization_id}/policy',
785
+ ...options
786
+ });
787
+ export const restoreOrganization = (options) => (options.client ?? client).post({
788
+ security: [{
789
+ key: 'operatorBearer',
790
+ scheme: 'bearer',
791
+ type: 'http'
792
+ }, {
793
+ in: 'cookie',
794
+ name: 'p93_operator_access',
795
+ type: 'apiKey'
796
+ }],
797
+ url: '/v1/control/organizations/{organization_id}/restore',
798
+ ...options
799
+ });
800
+ export const listOrganizationMembers = (options) => (options.client ?? client).get({
801
+ security: [{
802
+ key: 'operatorBearer',
803
+ scheme: 'bearer',
804
+ type: 'http'
805
+ }, {
806
+ in: 'cookie',
807
+ name: 'p93_operator_access',
808
+ type: 'apiKey'
809
+ }],
810
+ url: '/v1/control/organizations/{organization_id}/members',
811
+ ...options
812
+ });
813
+ export const deleteOrganizationMember = (options) => (options.client ?? client).delete({
814
+ security: [{
815
+ key: 'operatorBearer',
816
+ scheme: 'bearer',
817
+ type: 'http'
818
+ }, {
819
+ in: 'cookie',
820
+ name: 'p93_operator_access',
821
+ type: 'apiKey'
822
+ }],
823
+ url: '/v1/control/organizations/{organization_id}/members/{member_id}',
824
+ ...options
825
+ });
826
+ export const updateOrganizationMember = (options) => (options.client ?? client).patch({
827
+ security: [{
828
+ key: 'operatorBearer',
829
+ scheme: 'bearer',
830
+ type: 'http'
831
+ }, {
832
+ in: 'cookie',
833
+ name: 'p93_operator_access',
834
+ type: 'apiKey'
835
+ }],
836
+ url: '/v1/control/organizations/{organization_id}/members/{member_id}',
837
+ ...options,
838
+ headers: {
839
+ 'Content-Type': 'application/json',
840
+ ...options.headers
841
+ }
842
+ });
843
+ export const listOrganizationInvitations = (options) => (options.client ?? client).get({
844
+ security: [{
845
+ key: 'operatorBearer',
846
+ scheme: 'bearer',
847
+ type: 'http'
848
+ }, {
849
+ in: 'cookie',
850
+ name: 'p93_operator_access',
851
+ type: 'apiKey'
852
+ }],
853
+ url: '/v1/control/organizations/{organization_id}/invitations',
854
+ ...options
855
+ });
856
+ export const createOrganizationInvitation = (options) => (options.client ?? client).post({
857
+ security: [{
858
+ key: 'operatorBearer',
859
+ scheme: 'bearer',
860
+ type: 'http'
861
+ }, {
862
+ in: 'cookie',
863
+ name: 'p93_operator_access',
864
+ type: 'apiKey'
865
+ }],
866
+ url: '/v1/control/organizations/{organization_id}/invitations',
867
+ ...options,
868
+ headers: {
869
+ 'Content-Type': 'application/json',
870
+ ...options.headers
871
+ }
872
+ });
873
+ export const resendOrganizationInvitation = (options) => (options.client ?? client).post({
874
+ security: [{
875
+ key: 'operatorBearer',
876
+ scheme: 'bearer',
877
+ type: 'http'
878
+ }, {
879
+ in: 'cookie',
880
+ name: 'p93_operator_access',
881
+ type: 'apiKey'
882
+ }],
883
+ url: '/v1/control/organizations/{organization_id}/invitations/{invitation_id}/resend',
884
+ ...options
885
+ });
886
+ export const revokeOrganizationInvitation = (options) => (options.client ?? client).delete({
887
+ security: [{
888
+ key: 'operatorBearer',
889
+ scheme: 'bearer',
890
+ type: 'http'
891
+ }, {
892
+ in: 'cookie',
893
+ name: 'p93_operator_access',
894
+ type: 'apiKey'
895
+ }],
896
+ url: '/v1/control/organizations/{organization_id}/invitations/{invitation_id}',
897
+ ...options
898
+ });
899
+ export const listOrganizationAuditLogs = (options) => (options.client ?? client).get({
900
+ security: [{
901
+ key: 'operatorBearer',
902
+ scheme: 'bearer',
903
+ type: 'http'
904
+ }, {
905
+ in: 'cookie',
906
+ name: 'p93_operator_access',
907
+ type: 'apiKey'
908
+ }],
909
+ url: '/v1/control/organizations/{organization_id}/audit-logs',
910
+ ...options
911
+ });
912
+ export const listOrganizationAuthProviders = (options) => (options.client ?? client).get({
913
+ security: [{
914
+ key: 'operatorBearer',
915
+ scheme: 'bearer',
916
+ type: 'http'
917
+ }, {
918
+ in: 'cookie',
919
+ name: 'p93_operator_access',
920
+ type: 'apiKey'
921
+ }],
922
+ url: '/v1/control/organizations/{organization_id}/auth/providers',
923
+ ...options
924
+ });
925
+ export const disableOrganizationAuthProvider = (options) => (options.client ?? client).delete({
926
+ security: [{
927
+ key: 'operatorBearer',
928
+ scheme: 'bearer',
929
+ type: 'http'
930
+ }, {
931
+ in: 'cookie',
932
+ name: 'p93_operator_access',
933
+ type: 'apiKey'
934
+ }],
935
+ url: '/v1/control/organizations/{organization_id}/auth/providers/{provider}',
936
+ ...options
937
+ });
938
+ export const updateOrganizationAuthProvider = (options) => (options.client ?? client).patch({
939
+ security: [{
940
+ key: 'operatorBearer',
941
+ scheme: 'bearer',
942
+ type: 'http'
943
+ }, {
944
+ in: 'cookie',
945
+ name: 'p93_operator_access',
946
+ type: 'apiKey'
947
+ }],
948
+ url: '/v1/control/organizations/{organization_id}/auth/providers/{provider}',
949
+ ...options,
950
+ headers: {
951
+ 'Content-Type': 'application/json',
952
+ ...options.headers
953
+ }
954
+ });
955
+ export const configureOrganizationAuthProvider = (options) => (options.client ?? client).put({
956
+ security: [{
957
+ key: 'operatorBearer',
958
+ scheme: 'bearer',
959
+ type: 'http'
960
+ }, {
961
+ in: 'cookie',
962
+ name: 'p93_operator_access',
963
+ type: 'apiKey'
964
+ }],
965
+ url: '/v1/control/organizations/{organization_id}/auth/providers/{provider}',
966
+ ...options,
967
+ headers: {
968
+ 'Content-Type': 'application/json',
969
+ ...options.headers
970
+ }
971
+ });
972
+ export const listOrganizationNotificationProviders = (options) => (options.client ?? client).get({
973
+ security: [{
974
+ key: 'operatorBearer',
975
+ scheme: 'bearer',
976
+ type: 'http'
977
+ }, {
978
+ in: 'cookie',
979
+ name: 'p93_operator_access',
980
+ type: 'apiKey'
981
+ }],
982
+ url: '/v1/control/organizations/{organization_id}/notification-providers',
983
+ ...options
984
+ });
985
+ export const createOrganizationNotificationProvider = (options) => (options.client ?? client).post({
986
+ security: [{
987
+ key: 'operatorBearer',
988
+ scheme: 'bearer',
989
+ type: 'http'
990
+ }, {
991
+ in: 'cookie',
992
+ name: 'p93_operator_access',
993
+ type: 'apiKey'
994
+ }],
995
+ url: '/v1/control/organizations/{organization_id}/notification-providers',
996
+ ...options,
997
+ headers: {
998
+ 'Content-Type': 'application/json',
999
+ ...options.headers
1000
+ }
1001
+ });
1002
+ export const disableOrganizationNotificationProvider = (options) => (options.client ?? client).delete({
1003
+ security: [{
1004
+ key: 'operatorBearer',
1005
+ scheme: 'bearer',
1006
+ type: 'http'
1007
+ }, {
1008
+ in: 'cookie',
1009
+ name: 'p93_operator_access',
1010
+ type: 'apiKey'
1011
+ }],
1012
+ url: '/v1/control/organizations/{organization_id}/notification-providers/{provider_id}',
1013
+ ...options
1014
+ });
1015
+ export const getOrganizationNotificationProvider = (options) => (options.client ?? client).get({
1016
+ security: [{
1017
+ key: 'operatorBearer',
1018
+ scheme: 'bearer',
1019
+ type: 'http'
1020
+ }, {
1021
+ in: 'cookie',
1022
+ name: 'p93_operator_access',
1023
+ type: 'apiKey'
1024
+ }],
1025
+ url: '/v1/control/organizations/{organization_id}/notification-providers/{provider_id}',
1026
+ ...options
1027
+ });
1028
+ export const updateOrganizationNotificationProvider = (options) => (options.client ?? client).patch({
1029
+ security: [{
1030
+ key: 'operatorBearer',
1031
+ scheme: 'bearer',
1032
+ type: 'http'
1033
+ }, {
1034
+ in: 'cookie',
1035
+ name: 'p93_operator_access',
1036
+ type: 'apiKey'
1037
+ }],
1038
+ url: '/v1/control/organizations/{organization_id}/notification-providers/{provider_id}',
1039
+ ...options,
1040
+ headers: {
1041
+ 'Content-Type': 'application/json',
1042
+ ...options.headers
1043
+ }
1044
+ });
1045
+ export const verifyOrganizationNotificationProvider = (options) => (options.client ?? client).post({
1046
+ security: [{
1047
+ key: 'operatorBearer',
1048
+ scheme: 'bearer',
1049
+ type: 'http'
1050
+ }, {
1051
+ in: 'cookie',
1052
+ name: 'p93_operator_access',
1053
+ type: 'apiKey'
1054
+ }],
1055
+ url: '/v1/control/organizations/{organization_id}/notification-providers/{provider_id}/verify',
1056
+ ...options
1057
+ });
1058
+ export const testOrganizationNotificationProvider = (options) => (options.client ?? client).post({
1059
+ security: [{
1060
+ key: 'operatorBearer',
1061
+ scheme: 'bearer',
1062
+ type: 'http'
1063
+ }, {
1064
+ in: 'cookie',
1065
+ name: 'p93_operator_access',
1066
+ type: 'apiKey'
1067
+ }],
1068
+ url: '/v1/control/organizations/{organization_id}/notification-providers/{provider_id}/test',
1069
+ ...options,
1070
+ headers: {
1071
+ 'Content-Type': 'application/json',
1072
+ ...options.headers
1073
+ }
1074
+ });
1075
+ export const listOrganizationBillingProviders = (options) => (options.client ?? client).get({
1076
+ security: [{
1077
+ key: 'operatorBearer',
1078
+ scheme: 'bearer',
1079
+ type: 'http'
1080
+ }, {
1081
+ in: 'cookie',
1082
+ name: 'p93_operator_access',
1083
+ type: 'apiKey'
1084
+ }],
1085
+ url: '/v1/control/organizations/{organization_id}/billing/providers',
1086
+ ...options
1087
+ });
1088
+ export const createOrganizationBillingProvider = (options) => (options.client ?? client).post({
1089
+ security: [{
1090
+ key: 'operatorBearer',
1091
+ scheme: 'bearer',
1092
+ type: 'http'
1093
+ }, {
1094
+ in: 'cookie',
1095
+ name: 'p93_operator_access',
1096
+ type: 'apiKey'
1097
+ }],
1098
+ url: '/v1/control/organizations/{organization_id}/billing/providers',
1099
+ ...options,
1100
+ headers: {
1101
+ 'Content-Type': 'application/json',
1102
+ ...options.headers
1103
+ }
1104
+ });
1105
+ export const disableOrganizationBillingProvider = (options) => (options.client ?? client).delete({
1106
+ security: [{
1107
+ key: 'operatorBearer',
1108
+ scheme: 'bearer',
1109
+ type: 'http'
1110
+ }, {
1111
+ in: 'cookie',
1112
+ name: 'p93_operator_access',
1113
+ type: 'apiKey'
1114
+ }],
1115
+ url: '/v1/control/organizations/{organization_id}/billing/providers/{provider_id}',
1116
+ ...options
1117
+ });
1118
+ export const getOrganizationBillingProvider = (options) => (options.client ?? client).get({
1119
+ security: [{
1120
+ key: 'operatorBearer',
1121
+ scheme: 'bearer',
1122
+ type: 'http'
1123
+ }, {
1124
+ in: 'cookie',
1125
+ name: 'p93_operator_access',
1126
+ type: 'apiKey'
1127
+ }],
1128
+ url: '/v1/control/organizations/{organization_id}/billing/providers/{provider_id}',
1129
+ ...options
1130
+ });
1131
+ export const updateOrganizationBillingProvider = (options) => (options.client ?? client).patch({
1132
+ security: [{
1133
+ key: 'operatorBearer',
1134
+ scheme: 'bearer',
1135
+ type: 'http'
1136
+ }, {
1137
+ in: 'cookie',
1138
+ name: 'p93_operator_access',
1139
+ type: 'apiKey'
1140
+ }],
1141
+ url: '/v1/control/organizations/{organization_id}/billing/providers/{provider_id}',
1142
+ ...options,
1143
+ headers: {
1144
+ 'Content-Type': 'application/json',
1145
+ ...options.headers
1146
+ }
1147
+ });
1148
+ export const verifyOrganizationBillingProvider = (options) => (options.client ?? client).post({
1149
+ security: [{
1150
+ key: 'operatorBearer',
1151
+ scheme: 'bearer',
1152
+ type: 'http'
1153
+ }, {
1154
+ in: 'cookie',
1155
+ name: 'p93_operator_access',
1156
+ type: 'apiKey'
1157
+ }],
1158
+ url: '/v1/control/organizations/{organization_id}/billing/providers/{provider_id}/verify',
1159
+ ...options
1160
+ });
1161
+ export const publicConfig = (options) => (options.client ?? client).get({ url: '/v1/applications/{application_id}/public-config', ...options });
1162
+ export const getApplication = (options) => (options.client ?? client).get({
1163
+ security: [{
1164
+ key: 'operatorBearer',
1165
+ scheme: 'bearer',
1166
+ type: 'http'
1167
+ }, {
1168
+ in: 'cookie',
1169
+ name: 'p93_operator_access',
1170
+ type: 'apiKey'
1171
+ }],
1172
+ url: '/v1/control/applications/{application_id}',
1173
+ ...options
1174
+ });
1175
+ export const getApplicationStatistics = (options) => (options.client ?? client).get({
1176
+ security: [{
1177
+ key: 'operatorBearer',
1178
+ scheme: 'bearer',
1179
+ type: 'http'
1180
+ }, {
1181
+ in: 'cookie',
1182
+ name: 'p93_operator_access',
1183
+ type: 'apiKey'
1184
+ }],
1185
+ url: '/v1/control/applications/{application_id}/statistics',
1186
+ ...options
1187
+ });
1188
+ export const updatePublicApplicationConfig = (options) => (options.client ?? client).patch({
1189
+ security: [{
1190
+ key: 'operatorBearer',
1191
+ scheme: 'bearer',
1192
+ type: 'http'
1193
+ }, {
1194
+ in: 'cookie',
1195
+ name: 'p93_operator_access',
1196
+ type: 'apiKey'
1197
+ }],
1198
+ url: '/v1/control/applications/{application_id}/public-config',
1199
+ ...options,
1200
+ headers: {
1201
+ 'Content-Type': 'application/json',
1202
+ ...options.headers
1203
+ }
1204
+ });
1205
+ export const updateInternalApplicationConfig = (options) => (options.client ?? client).patch({
1206
+ security: [{
1207
+ key: 'operatorBearer',
1208
+ scheme: 'bearer',
1209
+ type: 'http'
1210
+ }, {
1211
+ in: 'cookie',
1212
+ name: 'p93_operator_access',
1213
+ type: 'apiKey'
1214
+ }],
1215
+ url: '/v1/control/applications/{application_id}/internal-config',
1216
+ ...options,
1217
+ headers: {
1218
+ 'Content-Type': 'application/json',
1219
+ ...options.headers
1220
+ }
1221
+ });
1222
+ export const updateAuthConfig = (options) => (options.client ?? client).patch({
1223
+ security: [{
1224
+ key: 'operatorBearer',
1225
+ scheme: 'bearer',
1226
+ type: 'http'
1227
+ }, {
1228
+ in: 'cookie',
1229
+ name: 'p93_operator_access',
1230
+ type: 'apiKey'
1231
+ }],
1232
+ url: '/v1/control/applications/{application_id}/auth-config',
1233
+ ...options,
1234
+ headers: {
1235
+ 'Content-Type': 'application/json',
1236
+ ...options.headers
1237
+ }
1238
+ });
1239
+ export const configureGoogleProvider = (options) => (options.client ?? client).put({
1240
+ security: [{
1241
+ key: 'operatorBearer',
1242
+ scheme: 'bearer',
1243
+ type: 'http'
1244
+ }, {
1245
+ in: 'cookie',
1246
+ name: 'p93_operator_access',
1247
+ type: 'apiKey'
1248
+ }],
1249
+ url: '/v1/control/applications/{application_id}/auth/providers/google',
1250
+ ...options,
1251
+ headers: {
1252
+ 'Content-Type': 'application/json',
1253
+ ...options.headers
1254
+ }
1255
+ });
1256
+ export const configureAppleProvider = (options) => (options.client ?? client).put({
1257
+ security: [{
1258
+ key: 'operatorBearer',
1259
+ scheme: 'bearer',
1260
+ type: 'http'
1261
+ }, {
1262
+ in: 'cookie',
1263
+ name: 'p93_operator_access',
1264
+ type: 'apiKey'
1265
+ }],
1266
+ url: '/v1/control/applications/{application_id}/auth/providers/apple',
1267
+ ...options,
1268
+ headers: {
1269
+ 'Content-Type': 'application/json',
1270
+ ...options.headers
1271
+ }
1272
+ });
1273
+ export const listApplicationAuthProviders = (options) => (options.client ?? client).get({
1274
+ security: [{
1275
+ key: 'operatorBearer',
1276
+ scheme: 'bearer',
1277
+ type: 'http'
1278
+ }, {
1279
+ in: 'cookie',
1280
+ name: 'p93_operator_access',
1281
+ type: 'apiKey'
1282
+ }],
1283
+ url: '/v1/control/applications/{application_id}/auth/providers',
1284
+ ...options
1285
+ });
1286
+ export const disableApplicationAuthProvider = (options) => (options.client ?? client).delete({
1287
+ security: [{
1288
+ key: 'operatorBearer',
1289
+ scheme: 'bearer',
1290
+ type: 'http'
1291
+ }, {
1292
+ in: 'cookie',
1293
+ name: 'p93_operator_access',
1294
+ type: 'apiKey'
1295
+ }],
1296
+ url: '/v1/control/applications/{application_id}/auth/providers/{provider}',
1297
+ ...options
1298
+ });
1299
+ export const listApplicationDomains = (options) => (options.client ?? client).get({
1300
+ security: [{
1301
+ key: 'operatorBearer',
1302
+ scheme: 'bearer',
1303
+ type: 'http'
1304
+ }, {
1305
+ in: 'cookie',
1306
+ name: 'p93_operator_access',
1307
+ type: 'apiKey'
1308
+ }],
1309
+ url: '/v1/control/applications/{application_id}/domains',
1310
+ ...options
1311
+ });
1312
+ export const createApplicationDomain = (options) => (options.client ?? client).post({
1313
+ security: [{
1314
+ key: 'operatorBearer',
1315
+ scheme: 'bearer',
1316
+ type: 'http'
1317
+ }, {
1318
+ in: 'cookie',
1319
+ name: 'p93_operator_access',
1320
+ type: 'apiKey'
1321
+ }],
1322
+ url: '/v1/control/applications/{application_id}/domains',
1323
+ ...options,
1324
+ headers: {
1325
+ 'Content-Type': 'application/json',
1326
+ ...options.headers
1327
+ }
1328
+ });
1329
+ export const deleteApplicationDomain = (options) => (options.client ?? client).delete({
1330
+ security: [{
1331
+ key: 'operatorBearer',
1332
+ scheme: 'bearer',
1333
+ type: 'http'
1334
+ }, {
1335
+ in: 'cookie',
1336
+ name: 'p93_operator_access',
1337
+ type: 'apiKey'
1338
+ }],
1339
+ url: '/v1/control/applications/{application_id}/domains/{domain_id}',
1340
+ ...options
1341
+ });
1342
+ export const verifyApplicationDomain = (options) => (options.client ?? client).post({
1343
+ security: [{
1344
+ key: 'operatorBearer',
1345
+ scheme: 'bearer',
1346
+ type: 'http'
1347
+ }, {
1348
+ in: 'cookie',
1349
+ name: 'p93_operator_access',
1350
+ type: 'apiKey'
1351
+ }],
1352
+ url: '/v1/control/applications/{application_id}/domains/{domain_id}/verify',
1353
+ ...options
1354
+ });
1355
+ export const listClients = (options) => (options.client ?? client).get({
1356
+ security: [{
1357
+ key: 'operatorBearer',
1358
+ scheme: 'bearer',
1359
+ type: 'http'
1360
+ }, {
1361
+ in: 'cookie',
1362
+ name: 'p93_operator_access',
1363
+ type: 'apiKey'
1364
+ }],
1365
+ url: '/v1/control/applications/{application_id}/clients',
1366
+ ...options
1367
+ });
1368
+ export const createClient = (options) => (options.client ?? client).post({
1369
+ security: [{
1370
+ key: 'operatorBearer',
1371
+ scheme: 'bearer',
1372
+ type: 'http'
1373
+ }, {
1374
+ in: 'cookie',
1375
+ name: 'p93_operator_access',
1376
+ type: 'apiKey'
1377
+ }],
1378
+ url: '/v1/control/applications/{application_id}/clients',
1379
+ ...options,
1380
+ headers: {
1381
+ 'Content-Type': 'application/json',
1382
+ ...options.headers
1383
+ }
1384
+ });
1385
+ export const disableClient = (options) => (options.client ?? client).delete({
1386
+ security: [{
1387
+ key: 'operatorBearer',
1388
+ scheme: 'bearer',
1389
+ type: 'http'
1390
+ }, {
1391
+ in: 'cookie',
1392
+ name: 'p93_operator_access',
1393
+ type: 'apiKey'
1394
+ }],
1395
+ url: '/v1/control/applications/{application_id}/clients/{client_id}',
1396
+ ...options
1397
+ });
1398
+ export const updateClient = (options) => (options.client ?? client).patch({
1399
+ security: [{
1400
+ key: 'operatorBearer',
1401
+ scheme: 'bearer',
1402
+ type: 'http'
1403
+ }, {
1404
+ in: 'cookie',
1405
+ name: 'p93_operator_access',
1406
+ type: 'apiKey'
1407
+ }],
1408
+ url: '/v1/control/applications/{application_id}/clients/{client_id}',
1409
+ ...options,
1410
+ headers: {
1411
+ 'Content-Type': 'application/json',
1412
+ ...options.headers
1413
+ }
1414
+ });
1415
+ export const rotateClientSecret = (options) => (options.client ?? client).post({
1416
+ security: [{
1417
+ key: 'operatorBearer',
1418
+ scheme: 'bearer',
1419
+ type: 'http'
1420
+ }, {
1421
+ in: 'cookie',
1422
+ name: 'p93_operator_access',
1423
+ type: 'apiKey'
1424
+ }],
1425
+ url: '/v1/control/applications/{application_id}/clients/{client_id}/rotate-secret',
1426
+ ...options
1427
+ });
1428
+ export const listRoles = (options) => (options.client ?? client).get({
1429
+ security: [{
1430
+ key: 'operatorBearer',
1431
+ scheme: 'bearer',
1432
+ type: 'http'
1433
+ }, {
1434
+ in: 'cookie',
1435
+ name: 'p93_operator_access',
1436
+ type: 'apiKey'
1437
+ }],
1438
+ url: '/v1/control/applications/{application_id}/roles',
1439
+ ...options
1440
+ });
1441
+ export const createRole = (options) => (options.client ?? client).post({
1442
+ security: [{
1443
+ key: 'operatorBearer',
1444
+ scheme: 'bearer',
1445
+ type: 'http'
1446
+ }, {
1447
+ in: 'cookie',
1448
+ name: 'p93_operator_access',
1449
+ type: 'apiKey'
1450
+ }],
1451
+ url: '/v1/control/applications/{application_id}/roles',
1452
+ ...options,
1453
+ headers: {
1454
+ 'Content-Type': 'application/json',
1455
+ ...options.headers
1456
+ }
1457
+ });
1458
+ export const deleteRole = (options) => (options.client ?? client).delete({
1459
+ security: [{
1460
+ key: 'operatorBearer',
1461
+ scheme: 'bearer',
1462
+ type: 'http'
1463
+ }, {
1464
+ in: 'cookie',
1465
+ name: 'p93_operator_access',
1466
+ type: 'apiKey'
1467
+ }],
1468
+ url: '/v1/control/applications/{application_id}/roles/{role_id}',
1469
+ ...options
1470
+ });
1471
+ export const getRole = (options) => (options.client ?? client).get({
1472
+ security: [{
1473
+ key: 'operatorBearer',
1474
+ scheme: 'bearer',
1475
+ type: 'http'
1476
+ }, {
1477
+ in: 'cookie',
1478
+ name: 'p93_operator_access',
1479
+ type: 'apiKey'
1480
+ }],
1481
+ url: '/v1/control/applications/{application_id}/roles/{role_id}',
1482
+ ...options
1483
+ });
1484
+ export const updateRole = (options) => (options.client ?? client).patch({
1485
+ security: [{
1486
+ key: 'operatorBearer',
1487
+ scheme: 'bearer',
1488
+ type: 'http'
1489
+ }, {
1490
+ in: 'cookie',
1491
+ name: 'p93_operator_access',
1492
+ type: 'apiKey'
1493
+ }],
1494
+ url: '/v1/control/applications/{application_id}/roles/{role_id}',
1495
+ ...options,
1496
+ headers: {
1497
+ 'Content-Type': 'application/json',
1498
+ ...options.headers
1499
+ }
1500
+ });
1501
+ export const listWorkspaces = (options) => (options.client ?? client).get({
1502
+ security: [{
1503
+ key: 'operatorBearer',
1504
+ scheme: 'bearer',
1505
+ type: 'http'
1506
+ }, {
1507
+ in: 'cookie',
1508
+ name: 'p93_operator_access',
1509
+ type: 'apiKey'
1510
+ }],
1511
+ url: '/v1/control/applications/{application_id}/workspaces',
1512
+ ...options
1513
+ });
1514
+ export const createWorkspace = (options) => (options.client ?? client).post({
1515
+ security: [{
1516
+ key: 'operatorBearer',
1517
+ scheme: 'bearer',
1518
+ type: 'http'
1519
+ }, {
1520
+ in: 'cookie',
1521
+ name: 'p93_operator_access',
1522
+ type: 'apiKey'
1523
+ }],
1524
+ url: '/v1/control/applications/{application_id}/workspaces',
1525
+ ...options,
1526
+ headers: {
1527
+ 'Content-Type': 'application/json',
1528
+ ...options.headers
1529
+ }
1530
+ });
1531
+ export const deleteWorkspace = (options) => (options.client ?? client).delete({
1532
+ security: [{
1533
+ key: 'operatorBearer',
1534
+ scheme: 'bearer',
1535
+ type: 'http'
1536
+ }, {
1537
+ in: 'cookie',
1538
+ name: 'p93_operator_access',
1539
+ type: 'apiKey'
1540
+ }],
1541
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}',
1542
+ ...options
1543
+ });
1544
+ export const getWorkspace = (options) => (options.client ?? client).get({
1545
+ security: [{
1546
+ key: 'operatorBearer',
1547
+ scheme: 'bearer',
1548
+ type: 'http'
1549
+ }, {
1550
+ in: 'cookie',
1551
+ name: 'p93_operator_access',
1552
+ type: 'apiKey'
1553
+ }],
1554
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}',
1555
+ ...options
1556
+ });
1557
+ export const updateWorkspace = (options) => (options.client ?? client).patch({
1558
+ security: [{
1559
+ key: 'operatorBearer',
1560
+ scheme: 'bearer',
1561
+ type: 'http'
1562
+ }, {
1563
+ in: 'cookie',
1564
+ name: 'p93_operator_access',
1565
+ type: 'apiKey'
1566
+ }],
1567
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}',
1568
+ ...options,
1569
+ headers: {
1570
+ 'Content-Type': 'application/json',
1571
+ ...options.headers
1572
+ }
1573
+ });
1574
+ export const recoverWorkspaceOwnership = (options) => (options.client ?? client).post({
1575
+ security: [{
1576
+ key: 'operatorBearer',
1577
+ scheme: 'bearer',
1578
+ type: 'http'
1579
+ }, {
1580
+ in: 'cookie',
1581
+ name: 'p93_operator_access',
1582
+ type: 'apiKey'
1583
+ }],
1584
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}/owner-transfer',
1585
+ ...options,
1586
+ headers: {
1587
+ 'Content-Type': 'application/json',
1588
+ ...options.headers
1589
+ }
1590
+ });
1591
+ export const listWorkspaceMembers = (options) => (options.client ?? client).get({
1592
+ security: [{
1593
+ key: 'operatorBearer',
1594
+ scheme: 'bearer',
1595
+ type: 'http'
1596
+ }, {
1597
+ in: 'cookie',
1598
+ name: 'p93_operator_access',
1599
+ type: 'apiKey'
1600
+ }],
1601
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}/members',
1602
+ ...options
1603
+ });
1604
+ export const deleteWorkspaceMember = (options) => (options.client ?? client).delete({
1605
+ security: [{
1606
+ key: 'operatorBearer',
1607
+ scheme: 'bearer',
1608
+ type: 'http'
1609
+ }, {
1610
+ in: 'cookie',
1611
+ name: 'p93_operator_access',
1612
+ type: 'apiKey'
1613
+ }],
1614
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}/members/{user_id}',
1615
+ ...options
1616
+ });
1617
+ export const replaceWorkspaceMemberRoles = (options) => (options.client ?? client).put({
1618
+ security: [{
1619
+ key: 'operatorBearer',
1620
+ scheme: 'bearer',
1621
+ type: 'http'
1622
+ }, {
1623
+ in: 'cookie',
1624
+ name: 'p93_operator_access',
1625
+ type: 'apiKey'
1626
+ }],
1627
+ url: '/v1/control/applications/{application_id}/workspaces/{workspace_id}/members/{user_id}',
1628
+ ...options,
1629
+ headers: {
1630
+ 'Content-Type': 'application/json',
1631
+ ...options.headers
1632
+ }
1633
+ });
1634
+ export const listRoleAssignments = (options) => (options.client ?? client).get({
1635
+ security: [{
1636
+ key: 'operatorBearer',
1637
+ scheme: 'bearer',
1638
+ type: 'http'
1639
+ }, {
1640
+ in: 'cookie',
1641
+ name: 'p93_operator_access',
1642
+ type: 'apiKey'
1643
+ }],
1644
+ url: '/v1/control/applications/{application_id}/role-assignments',
1645
+ ...options
1646
+ });
1647
+ export const createRoleAssignment = (options) => (options.client ?? client).post({
1648
+ security: [{
1649
+ key: 'operatorBearer',
1650
+ scheme: 'bearer',
1651
+ type: 'http'
1652
+ }, {
1653
+ in: 'cookie',
1654
+ name: 'p93_operator_access',
1655
+ type: 'apiKey'
1656
+ }],
1657
+ url: '/v1/control/applications/{application_id}/role-assignments',
1658
+ ...options,
1659
+ headers: {
1660
+ 'Content-Type': 'application/json',
1661
+ ...options.headers
1662
+ }
1663
+ });
1664
+ export const deleteRoleAssignment = (options) => (options.client ?? client).delete({
1665
+ security: [{
1666
+ key: 'operatorBearer',
1667
+ scheme: 'bearer',
1668
+ type: 'http'
1669
+ }, {
1670
+ in: 'cookie',
1671
+ name: 'p93_operator_access',
1672
+ type: 'apiKey'
1673
+ }],
1674
+ url: '/v1/control/applications/{application_id}/role-assignments/{assignment_id}',
1675
+ ...options
1676
+ });
1677
+ export const listDelegations = (options) => (options.client ?? client).get({
1678
+ security: [{
1679
+ key: 'operatorBearer',
1680
+ scheme: 'bearer',
1681
+ type: 'http'
1682
+ }, {
1683
+ in: 'cookie',
1684
+ name: 'p93_operator_access',
1685
+ type: 'apiKey'
1686
+ }],
1687
+ url: '/v1/control/applications/{application_id}/delegations',
1688
+ ...options
1689
+ });
1690
+ export const createDelegation = (options) => (options.client ?? client).post({
1691
+ security: [{
1692
+ key: 'operatorBearer',
1693
+ scheme: 'bearer',
1694
+ type: 'http'
1695
+ }, {
1696
+ in: 'cookie',
1697
+ name: 'p93_operator_access',
1698
+ type: 'apiKey'
1699
+ }],
1700
+ url: '/v1/control/applications/{application_id}/delegations',
1701
+ ...options,
1702
+ headers: {
1703
+ 'Content-Type': 'application/json',
1704
+ ...options.headers
1705
+ }
1706
+ });
1707
+ export const getDelegation = (options) => (options.client ?? client).get({
1708
+ security: [{
1709
+ key: 'operatorBearer',
1710
+ scheme: 'bearer',
1711
+ type: 'http'
1712
+ }, {
1713
+ in: 'cookie',
1714
+ name: 'p93_operator_access',
1715
+ type: 'apiKey'
1716
+ }],
1717
+ url: '/v1/control/applications/{application_id}/delegations/{delegation_id}',
1718
+ ...options
1719
+ });
1720
+ export const exchangeDelegation = (options) => (options.client ?? client).post({
1721
+ url: '/v1/applications/{application_id}/delegations/{delegation_id}/exchange',
1722
+ ...options,
1723
+ headers: {
1724
+ 'Content-Type': 'application/json',
1725
+ ...options.headers
1726
+ }
1727
+ });
1728
+ export const revokeDelegation = (options) => (options.client ?? client).post({
1729
+ security: [{
1730
+ key: 'operatorBearer',
1731
+ scheme: 'bearer',
1732
+ type: 'http'
1733
+ }, {
1734
+ in: 'cookie',
1735
+ name: 'p93_operator_access',
1736
+ type: 'apiKey'
1737
+ }],
1738
+ url: '/v1/control/applications/{application_id}/delegations/{delegation_id}/revoke',
1739
+ ...options
1740
+ });
1741
+ export const listWorkspaceInvitations = (options) => (options.client ?? client).get({
1742
+ security: [{
1743
+ key: 'operatorBearer',
1744
+ scheme: 'bearer',
1745
+ type: 'http'
1746
+ }, {
1747
+ in: 'cookie',
1748
+ name: 'p93_operator_access',
1749
+ type: 'apiKey'
1750
+ }],
1751
+ url: '/v1/control/applications/{application_id}/workspace-invitations',
1752
+ ...options
1753
+ });
1754
+ export const createWorkspaceInvitation = (options) => (options.client ?? client).post({
1755
+ security: [{
1756
+ key: 'operatorBearer',
1757
+ scheme: 'bearer',
1758
+ type: 'http'
1759
+ }, {
1760
+ in: 'cookie',
1761
+ name: 'p93_operator_access',
1762
+ type: 'apiKey'
1763
+ }],
1764
+ url: '/v1/control/applications/{application_id}/workspace-invitations',
1765
+ ...options,
1766
+ headers: {
1767
+ 'Content-Type': 'application/json',
1768
+ ...options.headers
1769
+ }
1770
+ });
1771
+ export const revokeWorkspaceInvitation = (options) => (options.client ?? client).delete({
1772
+ security: [{
1773
+ key: 'operatorBearer',
1774
+ scheme: 'bearer',
1775
+ type: 'http'
1776
+ }, {
1777
+ in: 'cookie',
1778
+ name: 'p93_operator_access',
1779
+ type: 'apiKey'
1780
+ }],
1781
+ url: '/v1/control/applications/{application_id}/workspace-invitations/{invitation_id}',
1782
+ ...options
1783
+ });
1784
+ export const listUsers = (options) => (options.client ?? client).get({
1785
+ security: [{
1786
+ key: 'operatorBearer',
1787
+ scheme: 'bearer',
1788
+ type: 'http'
1789
+ }, {
1790
+ in: 'cookie',
1791
+ name: 'p93_operator_access',
1792
+ type: 'apiKey'
1793
+ }],
1794
+ url: '/v1/control/applications/{application_id}/users',
1795
+ ...options
1796
+ });
1797
+ export const createUser = (options) => (options.client ?? client).post({
1798
+ security: [{
1799
+ key: 'operatorBearer',
1800
+ scheme: 'bearer',
1801
+ type: 'http'
1802
+ }, {
1803
+ in: 'cookie',
1804
+ name: 'p93_operator_access',
1805
+ type: 'apiKey'
1806
+ }],
1807
+ url: '/v1/control/applications/{application_id}/users',
1808
+ ...options,
1809
+ headers: {
1810
+ 'Content-Type': 'application/json',
1811
+ ...options.headers
1812
+ }
1813
+ });
1814
+ export const getUser = (options) => (options.client ?? client).get({
1815
+ security: [{
1816
+ key: 'operatorBearer',
1817
+ scheme: 'bearer',
1818
+ type: 'http'
1819
+ }, {
1820
+ in: 'cookie',
1821
+ name: 'p93_operator_access',
1822
+ type: 'apiKey'
1823
+ }],
1824
+ url: '/v1/control/applications/{application_id}/users/{user_id}',
1825
+ ...options
1826
+ });
1827
+ export const updateUser = (options) => (options.client ?? client).patch({
1828
+ security: [{
1829
+ key: 'operatorBearer',
1830
+ scheme: 'bearer',
1831
+ type: 'http'
1832
+ }, {
1833
+ in: 'cookie',
1834
+ name: 'p93_operator_access',
1835
+ type: 'apiKey'
1836
+ }],
1837
+ url: '/v1/control/applications/{application_id}/users/{user_id}',
1838
+ ...options,
1839
+ headers: {
1840
+ 'Content-Type': 'application/json',
1841
+ ...options.headers
1842
+ }
1843
+ });
1844
+ export const suspendUser = (options) => (options.client ?? client).post({
1845
+ security: [{
1846
+ key: 'operatorBearer',
1847
+ scheme: 'bearer',
1848
+ type: 'http'
1849
+ }, {
1850
+ in: 'cookie',
1851
+ name: 'p93_operator_access',
1852
+ type: 'apiKey'
1853
+ }],
1854
+ url: '/v1/control/applications/{application_id}/users/{user_id}/suspend',
1855
+ ...options,
1856
+ headers: {
1857
+ 'Content-Type': 'application/json',
1858
+ ...options.headers
1859
+ }
1860
+ });
1861
+ export const restoreUser = (options) => (options.client ?? client).post({
1862
+ security: [{
1863
+ key: 'operatorBearer',
1864
+ scheme: 'bearer',
1865
+ type: 'http'
1866
+ }, {
1867
+ in: 'cookie',
1868
+ name: 'p93_operator_access',
1869
+ type: 'apiKey'
1870
+ }],
1871
+ url: '/v1/control/applications/{application_id}/users/{user_id}/restore',
1872
+ ...options,
1873
+ headers: {
1874
+ 'Content-Type': 'application/json',
1875
+ ...options.headers
1876
+ }
1877
+ });
1878
+ export const verifyUserEmail = (options) => (options.client ?? client).post({
1879
+ security: [{
1880
+ key: 'operatorBearer',
1881
+ scheme: 'bearer',
1882
+ type: 'http'
1883
+ }, {
1884
+ in: 'cookie',
1885
+ name: 'p93_operator_access',
1886
+ type: 'apiKey'
1887
+ }],
1888
+ url: '/v1/control/applications/{application_id}/users/{user_id}/verify-email',
1889
+ ...options,
1890
+ headers: {
1891
+ 'Content-Type': 'application/json',
1892
+ ...options.headers
1893
+ }
1894
+ });
1895
+ export const unverifyUserEmail = (options) => (options.client ?? client).post({
1896
+ security: [{
1897
+ key: 'operatorBearer',
1898
+ scheme: 'bearer',
1899
+ type: 'http'
1900
+ }, {
1901
+ in: 'cookie',
1902
+ name: 'p93_operator_access',
1903
+ type: 'apiKey'
1904
+ }],
1905
+ url: '/v1/control/applications/{application_id}/users/{user_id}/unverify-email',
1906
+ ...options,
1907
+ headers: {
1908
+ 'Content-Type': 'application/json',
1909
+ ...options.headers
1910
+ }
1911
+ });
1912
+ export const verifyUserOrganization = (options) => (options.client ?? client).post({
1913
+ security: [{
1914
+ key: 'operatorBearer',
1915
+ scheme: 'bearer',
1916
+ type: 'http'
1917
+ }, {
1918
+ in: 'cookie',
1919
+ name: 'p93_operator_access',
1920
+ type: 'apiKey'
1921
+ }],
1922
+ url: '/v1/control/applications/{application_id}/users/{user_id}/verify-organization',
1923
+ ...options,
1924
+ headers: {
1925
+ 'Content-Type': 'application/json',
1926
+ ...options.headers
1927
+ }
1928
+ });
1929
+ export const unverifyUserOrganization = (options) => (options.client ?? client).post({
1930
+ security: [{
1931
+ key: 'operatorBearer',
1932
+ scheme: 'bearer',
1933
+ type: 'http'
1934
+ }, {
1935
+ in: 'cookie',
1936
+ name: 'p93_operator_access',
1937
+ type: 'apiKey'
1938
+ }],
1939
+ url: '/v1/control/applications/{application_id}/users/{user_id}/unverify-organization',
1940
+ ...options,
1941
+ headers: {
1942
+ 'Content-Type': 'application/json',
1943
+ ...options.headers
1944
+ }
1945
+ });
1946
+ export const listUserSessions = (options) => (options.client ?? client).get({
1947
+ security: [{
1948
+ key: 'operatorBearer',
1949
+ scheme: 'bearer',
1950
+ type: 'http'
1951
+ }, {
1952
+ in: 'cookie',
1953
+ name: 'p93_operator_access',
1954
+ type: 'apiKey'
1955
+ }],
1956
+ url: '/v1/control/applications/{application_id}/users/{user_id}/sessions',
1957
+ ...options
1958
+ });
1959
+ export const revokeUserSessions = (options) => (options.client ?? client).post({
1960
+ security: [{
1961
+ key: 'operatorBearer',
1962
+ scheme: 'bearer',
1963
+ type: 'http'
1964
+ }, {
1965
+ in: 'cookie',
1966
+ name: 'p93_operator_access',
1967
+ type: 'apiKey'
1968
+ }],
1969
+ url: '/v1/control/applications/{application_id}/users/{user_id}/sessions/revoke',
1970
+ ...options
1971
+ });
1972
+ export const listUserAddresses = (options) => (options.client ?? client).get({
1973
+ security: [{
1974
+ key: 'operatorBearer',
1975
+ scheme: 'bearer',
1976
+ type: 'http'
1977
+ }, {
1978
+ in: 'cookie',
1979
+ name: 'p93_operator_access',
1980
+ type: 'apiKey'
1981
+ }],
1982
+ url: '/v1/control/applications/{application_id}/users/{user_id}/addresses',
1983
+ ...options
1984
+ });
1985
+ export const listOAuthConsents = (options) => (options.client ?? client).get({
1986
+ security: [{
1987
+ key: 'operatorBearer',
1988
+ scheme: 'bearer',
1989
+ type: 'http'
1990
+ }, {
1991
+ in: 'cookie',
1992
+ name: 'p93_operator_access',
1993
+ type: 'apiKey'
1994
+ }],
1995
+ url: '/v1/control/applications/{application_id}/oauth-consents',
1996
+ ...options
1997
+ });
1998
+ export const revokeOAuthConsent = (options) => (options.client ?? client).post({
1999
+ security: [{
2000
+ key: 'operatorBearer',
2001
+ scheme: 'bearer',
2002
+ type: 'http'
2003
+ }, {
2004
+ in: 'cookie',
2005
+ name: 'p93_operator_access',
2006
+ type: 'apiKey'
2007
+ }],
2008
+ url: '/v1/control/applications/{application_id}/oauth-consents/{user_id}/{client_id}/revoke',
2009
+ ...options
2010
+ });
2011
+ export const listFeatures = (options) => (options.client ?? client).get({
2012
+ security: [{
2013
+ key: 'operatorBearer',
2014
+ scheme: 'bearer',
2015
+ type: 'http'
2016
+ }, {
2017
+ in: 'cookie',
2018
+ name: 'p93_operator_access',
2019
+ type: 'apiKey'
2020
+ }],
2021
+ url: '/v1/control/applications/{application_id}/features',
2022
+ ...options
2023
+ });
2024
+ export const createFeature = (options) => (options.client ?? client).post({
2025
+ security: [{
2026
+ key: 'operatorBearer',
2027
+ scheme: 'bearer',
2028
+ type: 'http'
2029
+ }, {
2030
+ in: 'cookie',
2031
+ name: 'p93_operator_access',
2032
+ type: 'apiKey'
2033
+ }],
2034
+ url: '/v1/control/applications/{application_id}/features',
2035
+ ...options,
2036
+ headers: {
2037
+ 'Content-Type': 'application/json',
2038
+ ...options.headers
2039
+ }
2040
+ });
2041
+ export const passwordSignUp = (options) => (options.client ?? client).post({
2042
+ url: '/v1/applications/{application_id}/auth/password/sign-up',
2043
+ ...options,
2044
+ headers: {
2045
+ 'Content-Type': 'application/json',
2046
+ ...options.headers
2047
+ }
2048
+ });
2049
+ export const passwordSignIn = (options) => (options.client ?? client).post({
2050
+ url: '/v1/applications/{application_id}/auth/password/sign-in',
2051
+ ...options,
2052
+ headers: {
2053
+ 'Content-Type': 'application/json',
2054
+ ...options.headers
2055
+ }
2056
+ });
2057
+ export const authMethods = (options) => (options.client ?? client).post({
2058
+ url: '/v1/applications/{application_id}/auth/methods',
2059
+ ...options,
2060
+ headers: {
2061
+ 'Content-Type': 'application/json',
2062
+ ...options.headers
2063
+ }
2064
+ });
2065
+ export const emailStart = (options) => (options.client ?? client).post({
2066
+ url: '/v1/applications/{application_id}/auth/email/start',
2067
+ ...options,
2068
+ headers: {
2069
+ 'Content-Type': 'application/json',
2070
+ ...options.headers
2071
+ }
2072
+ });
2073
+ export const emailVerify = (options) => (options.client ?? client).post({
2074
+ url: '/v1/applications/{application_id}/auth/email/verify',
2075
+ ...options,
2076
+ headers: {
2077
+ 'Content-Type': 'application/json',
2078
+ ...options.headers
2079
+ }
2080
+ });
2081
+ export const refresh = (options) => (options.client ?? client).post({
2082
+ url: '/v1/applications/{application_id}/auth/token/refresh',
2083
+ ...options,
2084
+ headers: {
2085
+ 'Content-Type': 'application/json',
2086
+ ...options.headers
2087
+ }
2088
+ });
2089
+ export const passwordResetStart = (options) => (options.client ?? client).post({
2090
+ url: '/v1/applications/{application_id}/auth/password/reset/start',
2091
+ ...options,
2092
+ headers: {
2093
+ 'Content-Type': 'application/json',
2094
+ ...options.headers
2095
+ }
2096
+ });
2097
+ export const passwordResetVerify = (options) => (options.client ?? client).post({
2098
+ url: '/v1/applications/{application_id}/auth/password/reset/verify',
2099
+ ...options,
2100
+ headers: {
2101
+ 'Content-Type': 'application/json',
2102
+ ...options.headers
2103
+ }
2104
+ });
2105
+ export const listAuthProviders = (options) => (options.client ?? client).get({ url: '/v1/applications/{application_id}/auth/providers', ...options });
2106
+ export const startGoogleAuth = (options) => (options.client ?? client).post({
2107
+ url: '/v1/applications/{application_id}/auth/providers/google/start',
2108
+ ...options,
2109
+ headers: {
2110
+ 'Content-Type': 'application/json',
2111
+ ...options.headers
2112
+ }
2113
+ });
2114
+ export const googleAuthCallback = (options) => (options.client ?? client).get({ url: '/v1/applications/{application_id}/auth/providers/google/callback', ...options });
2115
+ export const exchangeGoogleAuth = (options) => (options.client ?? client).post({
2116
+ url: '/v1/applications/{application_id}/auth/providers/google/exchange',
2117
+ ...options,
2118
+ headers: {
2119
+ 'Content-Type': 'application/json',
2120
+ ...options.headers
2121
+ }
2122
+ });
2123
+ export const startAppleAuth = (options) => (options.client ?? client).post({
2124
+ url: '/v1/applications/{application_id}/auth/providers/apple/start',
2125
+ ...options,
2126
+ headers: {
2127
+ 'Content-Type': 'application/json',
2128
+ ...options.headers
2129
+ }
2130
+ });
2131
+ export const appleAuthCallback = (options) => (options.client ?? client).post({
2132
+ ...urlSearchParamsBodySerializer,
2133
+ url: '/v1/applications/{application_id}/auth/providers/apple/callback',
2134
+ ...options,
2135
+ headers: {
2136
+ 'Content-Type': 'application/x-www-form-urlencoded',
2137
+ ...options.headers
2138
+ }
2139
+ });
2140
+ export const exchangeAppleAuth = (options) => (options.client ?? client).post({
2141
+ url: '/v1/applications/{application_id}/auth/providers/apple/exchange',
2142
+ ...options,
2143
+ headers: {
2144
+ 'Content-Type': 'application/json',
2145
+ ...options.headers
2146
+ }
2147
+ });
2148
+ export const verifyMfa = (options) => (options.client ?? client).post({
2149
+ url: '/v1/applications/{application_id}/auth/mfa/verify',
2150
+ ...options,
2151
+ headers: {
2152
+ 'Content-Type': 'application/json',
2153
+ ...options.headers
2154
+ }
2155
+ });
2156
+ export const beginWebAuthnAuthentication = (options) => (options.client ?? client).post({
2157
+ url: '/v1/applications/{application_id}/auth/mfa/webauthn/options',
2158
+ ...options,
2159
+ headers: {
2160
+ 'Content-Type': 'application/json',
2161
+ ...options.headers
2162
+ }
2163
+ });
2164
+ export const finishWebAuthnAuthentication = (options) => (options.client ?? client).post({
2165
+ url: '/v1/applications/{application_id}/auth/mfa/webauthn/verify',
2166
+ ...options,
2167
+ headers: {
2168
+ 'Content-Type': 'application/json',
2169
+ ...options.headers
2170
+ }
2171
+ });
2172
+ export const deleteMyAccount = (options) => (options.client ?? client).delete({
2173
+ security: [{
2174
+ key: 'bearerAuth',
2175
+ scheme: 'bearer',
2176
+ type: 'http'
2177
+ }],
2178
+ url: '/v1/applications/{application_id}/me',
2179
+ ...options
2180
+ });
2181
+ export const getCurrentUser = (options) => (options.client ?? client).get({
2182
+ security: [{
2183
+ key: 'bearerAuth',
2184
+ scheme: 'bearer',
2185
+ type: 'http'
2186
+ }],
2187
+ url: '/v1/applications/{application_id}/me',
2188
+ ...options
2189
+ });
2190
+ export const updateCurrentUser = (options) => (options.client ?? client).patch({
2191
+ security: [{
2192
+ key: 'bearerAuth',
2193
+ scheme: 'bearer',
2194
+ type: 'http'
2195
+ }],
2196
+ url: '/v1/applications/{application_id}/me',
2197
+ ...options,
2198
+ headers: {
2199
+ 'Content-Type': 'application/json',
2200
+ ...options.headers
2201
+ }
2202
+ });
2203
+ export const logoutCurrentSession = (options) => (options.client ?? client).post({
2204
+ security: [{
2205
+ key: 'bearerAuth',
2206
+ scheme: 'bearer',
2207
+ type: 'http'
2208
+ }],
2209
+ url: '/v1/applications/{application_id}/auth/logout',
2210
+ ...options
2211
+ });
2212
+ export const listPersonalApiKeys = (options) => (options.client ?? client).get({
2213
+ security: [{
2214
+ key: 'bearerAuth',
2215
+ scheme: 'bearer',
2216
+ type: 'http'
2217
+ }],
2218
+ url: '/v1/applications/{application_id}/me/api-keys',
2219
+ ...options
2220
+ });
2221
+ export const createPersonalApiKey = (options) => (options.client ?? client).post({
2222
+ security: [{
2223
+ key: 'bearerAuth',
2224
+ scheme: 'bearer',
2225
+ type: 'http'
2226
+ }],
2227
+ url: '/v1/applications/{application_id}/me/api-keys',
2228
+ ...options,
2229
+ headers: {
2230
+ 'Content-Type': 'application/json',
2231
+ ...options.headers
2232
+ }
2233
+ });
2234
+ export const publicCatalog = (options) => (options.client ?? client).get({ url: '/v1/applications/{application_id}/catalog/products', ...options });
2235
+ export const listProducts = (options) => (options.client ?? client).get({
2236
+ security: [{
2237
+ key: 'operatorBearer',
2238
+ scheme: 'bearer',
2239
+ type: 'http'
2240
+ }, {
2241
+ in: 'cookie',
2242
+ name: 'p93_operator_access',
2243
+ type: 'apiKey'
2244
+ }],
2245
+ url: '/v1/control/applications/{application_id}/products',
2246
+ ...options
2247
+ });
2248
+ export const createProduct = (options) => (options.client ?? client).post({
2249
+ security: [{
2250
+ key: 'operatorBearer',
2251
+ scheme: 'bearer',
2252
+ type: 'http'
2253
+ }, {
2254
+ in: 'cookie',
2255
+ name: 'p93_operator_access',
2256
+ type: 'apiKey'
2257
+ }],
2258
+ url: '/v1/control/applications/{application_id}/products',
2259
+ ...options,
2260
+ headers: {
2261
+ 'Content-Type': 'application/json',
2262
+ ...options.headers
2263
+ }
2264
+ });
2265
+ export const listPrices = (options) => (options.client ?? client).get({
2266
+ security: [{
2267
+ key: 'operatorBearer',
2268
+ scheme: 'bearer',
2269
+ type: 'http'
2270
+ }, {
2271
+ in: 'cookie',
2272
+ name: 'p93_operator_access',
2273
+ type: 'apiKey'
2274
+ }],
2275
+ url: '/v1/control/applications/{application_id}/products/{product_id}/prices',
2276
+ ...options
2277
+ });
2278
+ export const createPrice = (options) => (options.client ?? client).post({
2279
+ security: [{
2280
+ key: 'operatorBearer',
2281
+ scheme: 'bearer',
2282
+ type: 'http'
2283
+ }, {
2284
+ in: 'cookie',
2285
+ name: 'p93_operator_access',
2286
+ type: 'apiKey'
2287
+ }],
2288
+ url: '/v1/control/applications/{application_id}/products/{product_id}/prices',
2289
+ ...options,
2290
+ headers: {
2291
+ 'Content-Type': 'application/json',
2292
+ ...options.headers
2293
+ }
2294
+ });
2295
+ export const getProduct = (options) => (options.client ?? client).get({
2296
+ security: [{
2297
+ key: 'operatorBearer',
2298
+ scheme: 'bearer',
2299
+ type: 'http'
2300
+ }, {
2301
+ in: 'cookie',
2302
+ name: 'p93_operator_access',
2303
+ type: 'apiKey'
2304
+ }],
2305
+ url: '/v1/control/applications/{application_id}/products/{product_id}',
2306
+ ...options
2307
+ });
2308
+ export const updateProduct = (options) => (options.client ?? client).patch({
2309
+ security: [{
2310
+ key: 'operatorBearer',
2311
+ scheme: 'bearer',
2312
+ type: 'http'
2313
+ }, {
2314
+ in: 'cookie',
2315
+ name: 'p93_operator_access',
2316
+ type: 'apiKey'
2317
+ }],
2318
+ url: '/v1/control/applications/{application_id}/products/{product_id}',
2319
+ ...options,
2320
+ headers: {
2321
+ 'Content-Type': 'application/json',
2322
+ ...options.headers
2323
+ }
2324
+ });
2325
+ export const listEntitlements = (options) => (options.client ?? client).get({
2326
+ security: [{
2327
+ key: 'operatorBearer',
2328
+ scheme: 'bearer',
2329
+ type: 'http'
2330
+ }, {
2331
+ in: 'cookie',
2332
+ name: 'p93_operator_access',
2333
+ type: 'apiKey'
2334
+ }],
2335
+ url: '/v1/control/applications/{application_id}/entitlements',
2336
+ ...options
2337
+ });
2338
+ export const createEntitlement = (options) => (options.client ?? client).post({
2339
+ security: [{
2340
+ key: 'operatorBearer',
2341
+ scheme: 'bearer',
2342
+ type: 'http'
2343
+ }, {
2344
+ in: 'cookie',
2345
+ name: 'p93_operator_access',
2346
+ type: 'apiKey'
2347
+ }],
2348
+ url: '/v1/control/applications/{application_id}/entitlements',
2349
+ ...options,
2350
+ headers: {
2351
+ 'Content-Type': 'application/json',
2352
+ ...options.headers
2353
+ }
2354
+ });
2355
+ export const getEntitlement = (options) => (options.client ?? client).get({
2356
+ security: [{
2357
+ key: 'operatorBearer',
2358
+ scheme: 'bearer',
2359
+ type: 'http'
2360
+ }, {
2361
+ in: 'cookie',
2362
+ name: 'p93_operator_access',
2363
+ type: 'apiKey'
2364
+ }],
2365
+ url: '/v1/control/applications/{application_id}/entitlements/{entitlement_id}',
2366
+ ...options
2367
+ });
2368
+ export const revokeEntitlement = (options) => (options.client ?? client).post({
2369
+ security: [{
2370
+ key: 'operatorBearer',
2371
+ scheme: 'bearer',
2372
+ type: 'http'
2373
+ }, {
2374
+ in: 'cookie',
2375
+ name: 'p93_operator_access',
2376
+ type: 'apiKey'
2377
+ }],
2378
+ url: '/v1/control/applications/{application_id}/entitlements/{entitlement_id}/revoke',
2379
+ ...options,
2380
+ headers: {
2381
+ 'Content-Type': 'application/json',
2382
+ ...options.headers
2383
+ }
2384
+ });
2385
+ export const restoreEntitlement = (options) => (options.client ?? client).post({
2386
+ security: [{
2387
+ key: 'operatorBearer',
2388
+ scheme: 'bearer',
2389
+ type: 'http'
2390
+ }, {
2391
+ in: 'cookie',
2392
+ name: 'p93_operator_access',
2393
+ type: 'apiKey'
2394
+ }],
2395
+ url: '/v1/control/applications/{application_id}/entitlements/{entitlement_id}/restore',
2396
+ ...options,
2397
+ headers: {
2398
+ 'Content-Type': 'application/json',
2399
+ ...options.headers
2400
+ }
2401
+ });
2402
+ export const listLocalEntitlementRequests = (options) => (options.client ?? client).get({
2403
+ security: [{
2404
+ key: 'operatorBearer',
2405
+ scheme: 'bearer',
2406
+ type: 'http'
2407
+ }, {
2408
+ in: 'cookie',
2409
+ name: 'p93_operator_access',
2410
+ type: 'apiKey'
2411
+ }],
2412
+ url: '/v1/control/applications/{application_id}/local-entitlement-requests',
2413
+ ...options
2414
+ });
2415
+ export const getLocalEntitlementRequest = (options) => (options.client ?? client).get({
2416
+ security: [{
2417
+ key: 'operatorBearer',
2418
+ scheme: 'bearer',
2419
+ type: 'http'
2420
+ }, {
2421
+ in: 'cookie',
2422
+ name: 'p93_operator_access',
2423
+ type: 'apiKey'
2424
+ }],
2425
+ url: '/v1/control/applications/{application_id}/local-entitlement-requests/{request_id}',
2426
+ ...options
2427
+ });
2428
+ export const approveLocalEntitlementRequest = (options) => (options.client ?? client).post({
2429
+ security: [{
2430
+ key: 'operatorBearer',
2431
+ scheme: 'bearer',
2432
+ type: 'http'
2433
+ }, {
2434
+ in: 'cookie',
2435
+ name: 'p93_operator_access',
2436
+ type: 'apiKey'
2437
+ }],
2438
+ url: '/v1/control/applications/{application_id}/local-entitlement-requests/{request_id}/approve',
2439
+ ...options,
2440
+ headers: {
2441
+ 'Content-Type': 'application/json',
2442
+ ...options.headers
2443
+ }
2444
+ });
2445
+ export const rejectLocalEntitlementRequest = (options) => (options.client ?? client).post({
2446
+ security: [{
2447
+ key: 'operatorBearer',
2448
+ scheme: 'bearer',
2449
+ type: 'http'
2450
+ }, {
2451
+ in: 'cookie',
2452
+ name: 'p93_operator_access',
2453
+ type: 'apiKey'
2454
+ }],
2455
+ url: '/v1/control/applications/{application_id}/local-entitlement-requests/{request_id}/reject',
2456
+ ...options,
2457
+ headers: {
2458
+ 'Content-Type': 'application/json',
2459
+ ...options.headers
2460
+ }
2461
+ });
2462
+ export const reopenLocalEntitlementRequest = (options) => (options.client ?? client).post({
2463
+ security: [{
2464
+ key: 'operatorBearer',
2465
+ scheme: 'bearer',
2466
+ type: 'http'
2467
+ }, {
2468
+ in: 'cookie',
2469
+ name: 'p93_operator_access',
2470
+ type: 'apiKey'
2471
+ }],
2472
+ url: '/v1/control/applications/{application_id}/local-entitlement-requests/{request_id}/reopen',
2473
+ ...options,
2474
+ headers: {
2475
+ 'Content-Type': 'application/json',
2476
+ ...options.headers
2477
+ }
2478
+ });
2479
+ export const localEntitlementCheckout = (options) => (options.client ?? client).post({
2480
+ security: [{
2481
+ key: 'bearerAuth',
2482
+ scheme: 'bearer',
2483
+ type: 'http'
2484
+ }],
2485
+ url: '/v1/applications/{application_id}/local-entitlement-checkouts',
2486
+ ...options,
2487
+ headers: {
2488
+ 'Content-Type': 'application/json',
2489
+ ...options.headers
2490
+ }
2491
+ });
2492
+ export const listMyLocalEntitlementRequests = (options) => (options.client ?? client).get({
2493
+ security: [{
2494
+ key: 'bearerAuth',
2495
+ scheme: 'bearer',
2496
+ type: 'http'
2497
+ }],
2498
+ url: '/v1/applications/{application_id}/me/local-entitlement-requests',
2499
+ ...options
2500
+ });
2501
+ export const getMyLocalEntitlementRequest = (options) => (options.client ?? client).get({
2502
+ security: [{
2503
+ key: 'bearerAuth',
2504
+ scheme: 'bearer',
2505
+ type: 'http'
2506
+ }],
2507
+ url: '/v1/applications/{application_id}/me/local-entitlement-requests/{request_id}',
2508
+ ...options
2509
+ });
2510
+ export const cancelMyLocalEntitlementRequest = (options) => (options.client ?? client).post({
2511
+ security: [{
2512
+ key: 'bearerAuth',
2513
+ scheme: 'bearer',
2514
+ type: 'http'
2515
+ }],
2516
+ url: '/v1/applications/{application_id}/me/local-entitlement-requests/{request_id}/cancel',
2517
+ ...options
2518
+ });
2519
+ export const listMyEntitlements = (options) => (options.client ?? client).get({
2520
+ security: [{
2521
+ key: 'bearerAuth',
2522
+ scheme: 'bearer',
2523
+ type: 'http'
2524
+ }],
2525
+ url: '/v1/applications/{application_id}/me/entitlements',
2526
+ ...options
2527
+ });
2528
+ export const listBillingProviders = (options) => (options.client ?? client).get({
2529
+ security: [{
2530
+ key: 'operatorBearer',
2531
+ scheme: 'bearer',
2532
+ type: 'http'
2533
+ }, {
2534
+ in: 'cookie',
2535
+ name: 'p93_operator_access',
2536
+ type: 'apiKey'
2537
+ }],
2538
+ url: '/v1/control/applications/{application_id}/billing/providers',
2539
+ ...options
2540
+ });
2541
+ export const createBillingProvider = (options) => (options.client ?? client).post({
2542
+ security: [{
2543
+ key: 'operatorBearer',
2544
+ scheme: 'bearer',
2545
+ type: 'http'
2546
+ }, {
2547
+ in: 'cookie',
2548
+ name: 'p93_operator_access',
2549
+ type: 'apiKey'
2550
+ }],
2551
+ url: '/v1/control/applications/{application_id}/billing/providers',
2552
+ ...options,
2553
+ headers: {
2554
+ 'Content-Type': 'application/json',
2555
+ ...options.headers
2556
+ }
2557
+ });
2558
+ export const disableBillingProvider = (options) => (options.client ?? client).delete({
2559
+ security: [{
2560
+ key: 'operatorBearer',
2561
+ scheme: 'bearer',
2562
+ type: 'http'
2563
+ }, {
2564
+ in: 'cookie',
2565
+ name: 'p93_operator_access',
2566
+ type: 'apiKey'
2567
+ }],
2568
+ url: '/v1/control/applications/{application_id}/billing/providers/{provider_id}',
2569
+ ...options
2570
+ });
2571
+ export const getBillingProvider = (options) => (options.client ?? client).get({
2572
+ security: [{
2573
+ key: 'operatorBearer',
2574
+ scheme: 'bearer',
2575
+ type: 'http'
2576
+ }, {
2577
+ in: 'cookie',
2578
+ name: 'p93_operator_access',
2579
+ type: 'apiKey'
2580
+ }],
2581
+ url: '/v1/control/applications/{application_id}/billing/providers/{provider_id}',
2582
+ ...options
2583
+ });
2584
+ export const updateBillingProvider = (options) => (options.client ?? client).patch({
2585
+ security: [{
2586
+ key: 'operatorBearer',
2587
+ scheme: 'bearer',
2588
+ type: 'http'
2589
+ }, {
2590
+ in: 'cookie',
2591
+ name: 'p93_operator_access',
2592
+ type: 'apiKey'
2593
+ }],
2594
+ url: '/v1/control/applications/{application_id}/billing/providers/{provider_id}',
2595
+ ...options,
2596
+ headers: {
2597
+ 'Content-Type': 'application/json',
2598
+ ...options.headers
2599
+ }
2600
+ });
2601
+ export const verifyBillingProvider = (options) => (options.client ?? client).post({
2602
+ security: [{
2603
+ key: 'operatorBearer',
2604
+ scheme: 'bearer',
2605
+ type: 'http'
2606
+ }, {
2607
+ in: 'cookie',
2608
+ name: 'p93_operator_access',
2609
+ type: 'apiKey'
2610
+ }],
2611
+ url: '/v1/control/applications/{application_id}/billing/providers/{provider_id}/verify',
2612
+ ...options
2613
+ });
2614
+ export const createCheckoutSession = (options) => (options.client ?? client).post({
2615
+ security: [{
2616
+ key: 'bearerAuth',
2617
+ scheme: 'bearer',
2618
+ type: 'http'
2619
+ }],
2620
+ url: '/v1/applications/{application_id}/billing/checkout-sessions',
2621
+ ...options,
2622
+ headers: {
2623
+ 'Content-Type': 'application/json',
2624
+ ...options.headers
2625
+ }
2626
+ });
2627
+ export const getCheckoutSession = (options) => (options.client ?? client).get({
2628
+ security: [{
2629
+ key: 'bearerAuth',
2630
+ scheme: 'bearer',
2631
+ type: 'http'
2632
+ }],
2633
+ url: '/v1/applications/{application_id}/billing/checkout-sessions/{session_id}',
2634
+ ...options
2635
+ });
2636
+ export const createBillingPortalSession = (options) => (options.client ?? client).post({
2637
+ security: [{
2638
+ key: 'bearerAuth',
2639
+ scheme: 'bearer',
2640
+ type: 'http'
2641
+ }],
2642
+ url: '/v1/applications/{application_id}/billing/portal-sessions',
2643
+ ...options,
2644
+ headers: {
2645
+ 'Content-Type': 'application/json',
2646
+ ...options.headers
2647
+ }
2648
+ });
2649
+ export const listSubscriptions = (options) => (options.client ?? client).get({
2650
+ security: [{
2651
+ key: 'operatorBearer',
2652
+ scheme: 'bearer',
2653
+ type: 'http'
2654
+ }, {
2655
+ in: 'cookie',
2656
+ name: 'p93_operator_access',
2657
+ type: 'apiKey'
2658
+ }],
2659
+ url: '/v1/control/applications/{application_id}/billing/subscriptions',
2660
+ ...options
2661
+ });
2662
+ export const getSubscription = (options) => (options.client ?? client).get({
2663
+ security: [{
2664
+ key: 'operatorBearer',
2665
+ scheme: 'bearer',
2666
+ type: 'http'
2667
+ }, {
2668
+ in: 'cookie',
2669
+ name: 'p93_operator_access',
2670
+ type: 'apiKey'
2671
+ }],
2672
+ url: '/v1/control/applications/{application_id}/billing/subscriptions/{subscription_id}',
2673
+ ...options
2674
+ });
2675
+ export const cancelSubscription = (options) => (options.client ?? client).post({
2676
+ security: [{
2677
+ key: 'operatorBearer',
2678
+ scheme: 'bearer',
2679
+ type: 'http'
2680
+ }, {
2681
+ in: 'cookie',
2682
+ name: 'p93_operator_access',
2683
+ type: 'apiKey'
2684
+ }],
2685
+ url: '/v1/control/applications/{application_id}/billing/subscriptions/{subscription_id}/cancel',
2686
+ ...options,
2687
+ headers: {
2688
+ 'Content-Type': 'application/json',
2689
+ ...options.headers
2690
+ }
2691
+ });
2692
+ export const resumeSubscription = (options) => (options.client ?? client).post({
2693
+ security: [{
2694
+ key: 'operatorBearer',
2695
+ scheme: 'bearer',
2696
+ type: 'http'
2697
+ }, {
2698
+ in: 'cookie',
2699
+ name: 'p93_operator_access',
2700
+ type: 'apiKey'
2701
+ }],
2702
+ url: '/v1/control/applications/{application_id}/billing/subscriptions/{subscription_id}/resume',
2703
+ ...options
2704
+ });
2705
+ export const changeSubscriptionPrice = (options) => (options.client ?? client).post({
2706
+ security: [{
2707
+ key: 'operatorBearer',
2708
+ scheme: 'bearer',
2709
+ type: 'http'
2710
+ }, {
2711
+ in: 'cookie',
2712
+ name: 'p93_operator_access',
2713
+ type: 'apiKey'
2714
+ }],
2715
+ url: '/v1/control/applications/{application_id}/billing/subscriptions/{subscription_id}/change-price',
2716
+ ...options,
2717
+ headers: {
2718
+ 'Content-Type': 'application/json',
2719
+ ...options.headers
2720
+ }
2721
+ });
2722
+ export const listInvoices = (options) => (options.client ?? client).get({
2723
+ security: [{
2724
+ key: 'operatorBearer',
2725
+ scheme: 'bearer',
2726
+ type: 'http'
2727
+ }, {
2728
+ in: 'cookie',
2729
+ name: 'p93_operator_access',
2730
+ type: 'apiKey'
2731
+ }],
2732
+ url: '/v1/control/applications/{application_id}/billing/invoices',
2733
+ ...options
2734
+ });
2735
+ export const getInvoice = (options) => (options.client ?? client).get({
2736
+ security: [{
2737
+ key: 'operatorBearer',
2738
+ scheme: 'bearer',
2739
+ type: 'http'
2740
+ }, {
2741
+ in: 'cookie',
2742
+ name: 'p93_operator_access',
2743
+ type: 'apiKey'
2744
+ }],
2745
+ url: '/v1/control/applications/{application_id}/billing/invoices/{invoice_id}',
2746
+ ...options
2747
+ });
2748
+ export const listPayments = (options) => (options.client ?? client).get({
2749
+ security: [{
2750
+ key: 'operatorBearer',
2751
+ scheme: 'bearer',
2752
+ type: 'http'
2753
+ }, {
2754
+ in: 'cookie',
2755
+ name: 'p93_operator_access',
2756
+ type: 'apiKey'
2757
+ }],
2758
+ url: '/v1/control/applications/{application_id}/billing/payments',
2759
+ ...options
2760
+ });
2761
+ export const getPayment = (options) => (options.client ?? client).get({
2762
+ security: [{
2763
+ key: 'operatorBearer',
2764
+ scheme: 'bearer',
2765
+ type: 'http'
2766
+ }, {
2767
+ in: 'cookie',
2768
+ name: 'p93_operator_access',
2769
+ type: 'apiKey'
2770
+ }],
2771
+ url: '/v1/control/applications/{application_id}/billing/payments/{payment_id}',
2772
+ ...options
2773
+ });
2774
+ export const createRefund = (options) => (options.client ?? client).post({
2775
+ security: [{
2776
+ key: 'operatorBearer',
2777
+ scheme: 'bearer',
2778
+ type: 'http'
2779
+ }, {
2780
+ in: 'cookie',
2781
+ name: 'p93_operator_access',
2782
+ type: 'apiKey'
2783
+ }],
2784
+ url: '/v1/control/applications/{application_id}/billing/payments/{payment_id}/refunds',
2785
+ ...options,
2786
+ headers: {
2787
+ 'Content-Type': 'application/json',
2788
+ ...options.headers
2789
+ }
2790
+ });
2791
+ export const listRefunds = (options) => (options.client ?? client).get({
2792
+ security: [{
2793
+ key: 'operatorBearer',
2794
+ scheme: 'bearer',
2795
+ type: 'http'
2796
+ }, {
2797
+ in: 'cookie',
2798
+ name: 'p93_operator_access',
2799
+ type: 'apiKey'
2800
+ }],
2801
+ url: '/v1/control/applications/{application_id}/billing/refunds',
2802
+ ...options
2803
+ });
2804
+ export const getRefund = (options) => (options.client ?? client).get({
2805
+ security: [{
2806
+ key: 'operatorBearer',
2807
+ scheme: 'bearer',
2808
+ type: 'http'
2809
+ }, {
2810
+ in: 'cookie',
2811
+ name: 'p93_operator_access',
2812
+ type: 'apiKey'
2813
+ }],
2814
+ url: '/v1/control/applications/{application_id}/billing/refunds/{refund_id}',
2815
+ ...options
2816
+ });
2817
+ export const listDisputes = (options) => (options.client ?? client).get({
2818
+ security: [{
2819
+ key: 'operatorBearer',
2820
+ scheme: 'bearer',
2821
+ type: 'http'
2822
+ }, {
2823
+ in: 'cookie',
2824
+ name: 'p93_operator_access',
2825
+ type: 'apiKey'
2826
+ }],
2827
+ url: '/v1/control/applications/{application_id}/billing/disputes',
2828
+ ...options
2829
+ });
2830
+ export const getDispute = (options) => (options.client ?? client).get({
2831
+ security: [{
2832
+ key: 'operatorBearer',
2833
+ scheme: 'bearer',
2834
+ type: 'http'
2835
+ }, {
2836
+ in: 'cookie',
2837
+ name: 'p93_operator_access',
2838
+ type: 'apiKey'
2839
+ }],
2840
+ url: '/v1/control/applications/{application_id}/billing/disputes/{dispute_id}',
2841
+ ...options
2842
+ });
2843
+ export const getBillingStatistics = (options) => (options.client ?? client).get({
2844
+ security: [{
2845
+ key: 'operatorBearer',
2846
+ scheme: 'bearer',
2847
+ type: 'http'
2848
+ }, {
2849
+ in: 'cookie',
2850
+ name: 'p93_operator_access',
2851
+ type: 'apiKey'
2852
+ }],
2853
+ url: '/v1/control/applications/{application_id}/billing/statistics',
2854
+ ...options
2855
+ });
2856
+ export const listBillingProviderEvents = (options) => (options.client ?? client).get({
2857
+ security: [{
2858
+ key: 'operatorBearer',
2859
+ scheme: 'bearer',
2860
+ type: 'http'
2861
+ }, {
2862
+ in: 'cookie',
2863
+ name: 'p93_operator_access',
2864
+ type: 'apiKey'
2865
+ }],
2866
+ url: '/v1/control/applications/{application_id}/billing/provider-events',
2867
+ ...options
2868
+ });
2869
+ export const replayBillingProviderEvent = (options) => (options.client ?? client).post({
2870
+ security: [{
2871
+ key: 'operatorBearer',
2872
+ scheme: 'bearer',
2873
+ type: 'http'
2874
+ }, {
2875
+ in: 'cookie',
2876
+ name: 'p93_operator_access',
2877
+ type: 'apiKey'
2878
+ }],
2879
+ url: '/v1/control/applications/{application_id}/billing/provider-events/{event_id}/replay',
2880
+ ...options
2881
+ });
2882
+ export const createBillingReconciliationRun = (options) => (options.client ?? client).post({
2883
+ security: [{
2884
+ key: 'operatorBearer',
2885
+ scheme: 'bearer',
2886
+ type: 'http'
2887
+ }, {
2888
+ in: 'cookie',
2889
+ name: 'p93_operator_access',
2890
+ type: 'apiKey'
2891
+ }],
2892
+ url: '/v1/control/applications/{application_id}/billing/providers/{provider_id}/reconciliation-runs',
2893
+ ...options
2894
+ });
2895
+ export const listBillingReconciliationRuns = (options) => (options.client ?? client).get({
2896
+ security: [{
2897
+ key: 'operatorBearer',
2898
+ scheme: 'bearer',
2899
+ type: 'http'
2900
+ }, {
2901
+ in: 'cookie',
2902
+ name: 'p93_operator_access',
2903
+ type: 'apiKey'
2904
+ }],
2905
+ url: '/v1/control/applications/{application_id}/billing/reconciliation-runs',
2906
+ ...options
2907
+ });
2908
+ export const getBillingReconciliationRun = (options) => (options.client ?? client).get({
2909
+ security: [{
2910
+ key: 'operatorBearer',
2911
+ scheme: 'bearer',
2912
+ type: 'http'
2913
+ }, {
2914
+ in: 'cookie',
2915
+ name: 'p93_operator_access',
2916
+ type: 'apiKey'
2917
+ }],
2918
+ url: '/v1/control/applications/{application_id}/billing/reconciliation-runs/{run_id}',
2919
+ ...options
2920
+ });
2921
+ export const getMyBillingSummary = (options) => (options.client ?? client).get({
2922
+ security: [{
2923
+ key: 'bearerAuth',
2924
+ scheme: 'bearer',
2925
+ type: 'http'
2926
+ }],
2927
+ url: '/v1/applications/{application_id}/me/billing',
2928
+ ...options
2929
+ });
2930
+ export const listMySubscriptions = (options) => (options.client ?? client).get({
2931
+ security: [{
2932
+ key: 'bearerAuth',
2933
+ scheme: 'bearer',
2934
+ type: 'http'
2935
+ }],
2936
+ url: '/v1/applications/{application_id}/me/subscriptions',
2937
+ ...options
2938
+ });
2939
+ export const listMyInvoices = (options) => (options.client ?? client).get({
2940
+ security: [{
2941
+ key: 'bearerAuth',
2942
+ scheme: 'bearer',
2943
+ type: 'http'
2944
+ }],
2945
+ url: '/v1/applications/{application_id}/me/invoices',
2946
+ ...options
2947
+ });
2948
+ export const listMyPayments = (options) => (options.client ?? client).get({
2949
+ security: [{
2950
+ key: 'bearerAuth',
2951
+ scheme: 'bearer',
2952
+ type: 'http'
2953
+ }],
2954
+ url: '/v1/applications/{application_id}/me/payments',
2955
+ ...options
2956
+ });
2957
+ export const listMySessions = (options) => (options.client ?? client).get({
2958
+ security: [{
2959
+ key: 'bearerAuth',
2960
+ scheme: 'bearer',
2961
+ type: 'http'
2962
+ }],
2963
+ url: '/v1/applications/{application_id}/me/sessions',
2964
+ ...options
2965
+ });
2966
+ export const emailVerificationStart = (options) => (options.client ?? client).post({
2967
+ security: [{
2968
+ key: 'bearerAuth',
2969
+ scheme: 'bearer',
2970
+ type: 'http'
2971
+ }],
2972
+ url: '/v1/applications/{application_id}/me/email-verification/start',
2973
+ ...options
2974
+ });
2975
+ export const emailVerificationVerify = (options) => (options.client ?? client).post({
2976
+ security: [{
2977
+ key: 'bearerAuth',
2978
+ scheme: 'bearer',
2979
+ type: 'http'
2980
+ }],
2981
+ url: '/v1/applications/{application_id}/me/email-verification/verify',
2982
+ ...options,
2983
+ headers: {
2984
+ 'Content-Type': 'application/json',
2985
+ ...options.headers
2986
+ }
2987
+ });
2988
+ export const emailChangeStart = (options) => (options.client ?? client).post({
2989
+ security: [{
2990
+ key: 'bearerAuth',
2991
+ scheme: 'bearer',
2992
+ type: 'http'
2993
+ }],
2994
+ url: '/v1/applications/{application_id}/me/email-change/start',
2995
+ ...options,
2996
+ headers: {
2997
+ 'Content-Type': 'application/json',
2998
+ ...options.headers
2999
+ }
3000
+ });
3001
+ export const emailChangeVerify = (options) => (options.client ?? client).post({
3002
+ security: [{
3003
+ key: 'bearerAuth',
3004
+ scheme: 'bearer',
3005
+ type: 'http'
3006
+ }],
3007
+ url: '/v1/applications/{application_id}/me/email-change/verify',
3008
+ ...options,
3009
+ headers: {
3010
+ 'Content-Type': 'application/json',
3011
+ ...options.headers
3012
+ }
3013
+ });
3014
+ export const passwordChange = (options) => (options.client ?? client).post({
3015
+ security: [{
3016
+ key: 'bearerAuth',
3017
+ scheme: 'bearer',
3018
+ type: 'http'
3019
+ }],
3020
+ url: '/v1/applications/{application_id}/me/password/change',
3021
+ ...options,
3022
+ headers: {
3023
+ 'Content-Type': 'application/json',
3024
+ ...options.headers
3025
+ }
3026
+ });
3027
+ export const exportMyAccount = (options) => (options.client ?? client).get({
3028
+ security: [{
3029
+ key: 'bearerAuth',
3030
+ scheme: 'bearer',
3031
+ type: 'http'
3032
+ }],
3033
+ url: '/v1/applications/{application_id}/me/export',
3034
+ ...options
3035
+ });
3036
+ export const anonymizeMyAccount = (options) => (options.client ?? client).post({
3037
+ security: [{
3038
+ key: 'bearerAuth',
3039
+ scheme: 'bearer',
3040
+ type: 'http'
3041
+ }],
3042
+ url: '/v1/applications/{application_id}/me/anonymize',
3043
+ ...options
3044
+ });
3045
+ export const listMyMfaMethods = (options) => (options.client ?? client).get({
3046
+ security: [{
3047
+ key: 'bearerAuth',
3048
+ scheme: 'bearer',
3049
+ type: 'http'
3050
+ }],
3051
+ url: '/v1/applications/{application_id}/me/mfa/methods',
3052
+ ...options
3053
+ });
3054
+ export const startTotpEnrollment = (options) => (options.client ?? client).post({
3055
+ security: [{
3056
+ key: 'bearerAuth',
3057
+ scheme: 'bearer',
3058
+ type: 'http'
3059
+ }],
3060
+ url: '/v1/applications/{application_id}/me/mfa/totp',
3061
+ ...options,
3062
+ headers: {
3063
+ 'Content-Type': 'application/json',
3064
+ ...options.headers
3065
+ }
3066
+ });
3067
+ export const activateTotpEnrollment = (options) => (options.client ?? client).post({
3068
+ security: [{
3069
+ key: 'bearerAuth',
3070
+ scheme: 'bearer',
3071
+ type: 'http'
3072
+ }],
3073
+ url: '/v1/applications/{application_id}/me/mfa/totp/{method_id}/activate',
3074
+ ...options,
3075
+ headers: {
3076
+ 'Content-Type': 'application/json',
3077
+ ...options.headers
3078
+ }
3079
+ });
3080
+ export const beginWebAuthnRegistration = (options) => (options.client ?? client).post({
3081
+ security: [{
3082
+ key: 'bearerAuth',
3083
+ scheme: 'bearer',
3084
+ type: 'http'
3085
+ }],
3086
+ url: '/v1/applications/{application_id}/me/mfa/webauthn/options',
3087
+ ...options,
3088
+ headers: {
3089
+ 'Content-Type': 'application/json',
3090
+ ...options.headers
3091
+ }
3092
+ });
3093
+ export const finishWebAuthnRegistration = (options) => (options.client ?? client).post({
3094
+ security: [{
3095
+ key: 'bearerAuth',
3096
+ scheme: 'bearer',
3097
+ type: 'http'
3098
+ }],
3099
+ url: '/v1/applications/{application_id}/me/mfa/webauthn/verify',
3100
+ ...options,
3101
+ headers: {
3102
+ 'Content-Type': 'application/json',
3103
+ ...options.headers
3104
+ }
3105
+ });
3106
+ export const disableMfaMethod = (options) => (options.client ?? client).delete({
3107
+ security: [{
3108
+ key: 'bearerAuth',
3109
+ scheme: 'bearer',
3110
+ type: 'http'
3111
+ }],
3112
+ url: '/v1/applications/{application_id}/me/mfa/methods/{method_id}',
3113
+ ...options
3114
+ });
3115
+ export const regenerateRecoveryCodes = (options) => (options.client ?? client).post({
3116
+ security: [{
3117
+ key: 'bearerAuth',
3118
+ scheme: 'bearer',
3119
+ type: 'http'
3120
+ }],
3121
+ url: '/v1/applications/{application_id}/me/mfa/recovery-codes/regenerate',
3122
+ ...options
3123
+ });
3124
+ export const startGoogleLink = (options) => (options.client ?? client).post({
3125
+ security: [{
3126
+ key: 'bearerAuth',
3127
+ scheme: 'bearer',
3128
+ type: 'http'
3129
+ }],
3130
+ url: '/v1/applications/{application_id}/me/auth/providers/google/link',
3131
+ ...options,
3132
+ headers: {
3133
+ 'Content-Type': 'application/json',
3134
+ ...options.headers
3135
+ }
3136
+ });
3137
+ export const startAppleLink = (options) => (options.client ?? client).post({
3138
+ security: [{
3139
+ key: 'bearerAuth',
3140
+ scheme: 'bearer',
3141
+ type: 'http'
3142
+ }],
3143
+ url: '/v1/applications/{application_id}/me/auth/providers/apple/link',
3144
+ ...options,
3145
+ headers: {
3146
+ 'Content-Type': 'application/json',
3147
+ ...options.headers
3148
+ }
3149
+ });
3150
+ export const listMyIdentities = (options) => (options.client ?? client).get({
3151
+ security: [{
3152
+ key: 'bearerAuth',
3153
+ scheme: 'bearer',
3154
+ type: 'http'
3155
+ }],
3156
+ url: '/v1/applications/{application_id}/me/auth/identities',
3157
+ ...options
3158
+ });
3159
+ export const unlinkMyIdentity = (options) => (options.client ?? client).delete({
3160
+ security: [{
3161
+ key: 'bearerAuth',
3162
+ scheme: 'bearer',
3163
+ type: 'http'
3164
+ }],
3165
+ url: '/v1/applications/{application_id}/me/auth/identities/{identity_id}',
3166
+ ...options
3167
+ });
3168
+ export const revokeMySession = (options) => (options.client ?? client).delete({
3169
+ security: [{
3170
+ key: 'bearerAuth',
3171
+ scheme: 'bearer',
3172
+ type: 'http'
3173
+ }],
3174
+ url: '/v1/applications/{application_id}/me/sessions/{session_id}',
3175
+ ...options
3176
+ });
3177
+ export const logoutAll = (options) => (options.client ?? client).post({
3178
+ security: [{
3179
+ key: 'bearerAuth',
3180
+ scheme: 'bearer',
3181
+ type: 'http'
3182
+ }],
3183
+ url: '/v1/applications/{application_id}/me/logout-all',
3184
+ ...options
3185
+ });
3186
+ export const revokePersonalApiKey = (options) => (options.client ?? client).delete({
3187
+ security: [{
3188
+ key: 'bearerAuth',
3189
+ scheme: 'bearer',
3190
+ type: 'http'
3191
+ }],
3192
+ url: '/v1/applications/{application_id}/me/api-keys/{key_id}',
3193
+ ...options
3194
+ });
3195
+ export const listMyAddresses = (options) => (options.client ?? client).get({
3196
+ security: [{
3197
+ key: 'bearerAuth',
3198
+ scheme: 'bearer',
3199
+ type: 'http'
3200
+ }],
3201
+ url: '/v1/applications/{application_id}/me/addresses',
3202
+ ...options
3203
+ });
3204
+ export const createMyAddress = (options) => (options.client ?? client).post({
3205
+ security: [{
3206
+ key: 'bearerAuth',
3207
+ scheme: 'bearer',
3208
+ type: 'http'
3209
+ }],
3210
+ url: '/v1/applications/{application_id}/me/addresses',
3211
+ ...options,
3212
+ headers: {
3213
+ 'Content-Type': 'application/json',
3214
+ ...options.headers
3215
+ }
3216
+ });
3217
+ export const deleteMyAddress = (options) => (options.client ?? client).delete({
3218
+ security: [{
3219
+ key: 'bearerAuth',
3220
+ scheme: 'bearer',
3221
+ type: 'http'
3222
+ }],
3223
+ url: '/v1/applications/{application_id}/me/addresses/{address_id}',
3224
+ ...options
3225
+ });
3226
+ export const updateMyAddress = (options) => (options.client ?? client).patch({
3227
+ security: [{
3228
+ key: 'bearerAuth',
3229
+ scheme: 'bearer',
3230
+ type: 'http'
3231
+ }],
3232
+ url: '/v1/applications/{application_id}/me/addresses/{address_id}',
3233
+ ...options,
3234
+ headers: {
3235
+ 'Content-Type': 'application/json',
3236
+ ...options.headers
3237
+ }
3238
+ });
3239
+ export const activateMyAddress = (options) => (options.client ?? client).post({
3240
+ security: [{
3241
+ key: 'bearerAuth',
3242
+ scheme: 'bearer',
3243
+ type: 'http'
3244
+ }],
3245
+ url: '/v1/applications/{application_id}/me/addresses/{address_id}/activate',
3246
+ ...options
3247
+ });
3248
+ export const getMyBillingProfile = (options) => (options.client ?? client).get({
3249
+ security: [{
3250
+ key: 'bearerAuth',
3251
+ scheme: 'bearer',
3252
+ type: 'http'
3253
+ }],
3254
+ url: '/v1/applications/{application_id}/me/billing-profile',
3255
+ ...options
3256
+ });
3257
+ export const updateMyBillingProfile = (options) => (options.client ?? client).patch({
3258
+ security: [{
3259
+ key: 'bearerAuth',
3260
+ scheme: 'bearer',
3261
+ type: 'http'
3262
+ }],
3263
+ url: '/v1/applications/{application_id}/me/billing-profile',
3264
+ ...options,
3265
+ headers: {
3266
+ 'Content-Type': 'application/json',
3267
+ ...options.headers
3268
+ }
3269
+ });
3270
+ export const listMyWorkspaces = (options) => (options.client ?? client).get({
3271
+ security: [{
3272
+ key: 'bearerAuth',
3273
+ scheme: 'bearer',
3274
+ type: 'http'
3275
+ }],
3276
+ url: '/v1/applications/{application_id}/me/workspaces',
3277
+ ...options
3278
+ });
3279
+ export const createMyWorkspace = (options) => (options.client ?? client).post({
3280
+ security: [{
3281
+ key: 'bearerAuth',
3282
+ scheme: 'bearer',
3283
+ type: 'http'
3284
+ }],
3285
+ url: '/v1/applications/{application_id}/me/workspaces',
3286
+ ...options,
3287
+ headers: {
3288
+ 'Content-Type': 'application/json',
3289
+ ...options.headers
3290
+ }
3291
+ });
3292
+ export const archiveMyWorkspace = (options) => (options.client ?? client).delete({
3293
+ security: [{
3294
+ key: 'bearerAuth',
3295
+ scheme: 'bearer',
3296
+ type: 'http'
3297
+ }],
3298
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}',
3299
+ ...options
3300
+ });
3301
+ export const getMyWorkspace = (options) => (options.client ?? client).get({
3302
+ security: [{
3303
+ key: 'bearerAuth',
3304
+ scheme: 'bearer',
3305
+ type: 'http'
3306
+ }],
3307
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}',
3308
+ ...options
3309
+ });
3310
+ export const updateMyWorkspace = (options) => (options.client ?? client).patch({
3311
+ security: [{
3312
+ key: 'bearerAuth',
3313
+ scheme: 'bearer',
3314
+ type: 'http'
3315
+ }],
3316
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}',
3317
+ ...options,
3318
+ headers: {
3319
+ 'Content-Type': 'application/json',
3320
+ ...options.headers
3321
+ }
3322
+ });
3323
+ export const listMyWorkspaceMembers = (options) => (options.client ?? client).get({
3324
+ security: [{
3325
+ key: 'bearerAuth',
3326
+ scheme: 'bearer',
3327
+ type: 'http'
3328
+ }],
3329
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/members',
3330
+ ...options
3331
+ });
3332
+ export const removeMyWorkspaceMember = (options) => (options.client ?? client).delete({
3333
+ security: [{
3334
+ key: 'bearerAuth',
3335
+ scheme: 'bearer',
3336
+ type: 'http'
3337
+ }],
3338
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/members/{user_id}',
3339
+ ...options
3340
+ });
3341
+ export const replaceMyWorkspaceMemberRoles = (options) => (options.client ?? client).put({
3342
+ security: [{
3343
+ key: 'bearerAuth',
3344
+ scheme: 'bearer',
3345
+ type: 'http'
3346
+ }],
3347
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/members/{user_id}',
3348
+ ...options,
3349
+ headers: {
3350
+ 'Content-Type': 'application/json',
3351
+ ...options.headers
3352
+ }
3353
+ });
3354
+ export const transferMyWorkspaceOwnership = (options) => (options.client ?? client).post({
3355
+ security: [{
3356
+ key: 'bearerAuth',
3357
+ scheme: 'bearer',
3358
+ type: 'http'
3359
+ }],
3360
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/owner-transfer',
3361
+ ...options,
3362
+ headers: {
3363
+ 'Content-Type': 'application/json',
3364
+ ...options.headers
3365
+ }
3366
+ });
3367
+ export const leaveWorkspace = (options) => (options.client ?? client).delete({
3368
+ security: [{
3369
+ key: 'bearerAuth',
3370
+ scheme: 'bearer',
3371
+ type: 'http'
3372
+ }],
3373
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/membership',
3374
+ ...options
3375
+ });
3376
+ export const createMyWorkspaceInvitation = (options) => (options.client ?? client).post({
3377
+ security: [{
3378
+ key: 'bearerAuth',
3379
+ scheme: 'bearer',
3380
+ type: 'http'
3381
+ }],
3382
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/invitations',
3383
+ ...options,
3384
+ headers: {
3385
+ 'Content-Type': 'application/json',
3386
+ ...options.headers
3387
+ }
3388
+ });
3389
+ export const getWorkspaceBillingProfile = (options) => (options.client ?? client).get({
3390
+ security: [{
3391
+ key: 'bearerAuth',
3392
+ scheme: 'bearer',
3393
+ type: 'http'
3394
+ }],
3395
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/billing-profile',
3396
+ ...options
3397
+ });
3398
+ export const updateWorkspaceBillingProfile = (options) => (options.client ?? client).patch({
3399
+ security: [{
3400
+ key: 'bearerAuth',
3401
+ scheme: 'bearer',
3402
+ type: 'http'
3403
+ }],
3404
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/billing-profile',
3405
+ ...options,
3406
+ headers: {
3407
+ 'Content-Type': 'application/json',
3408
+ ...options.headers
3409
+ }
3410
+ });
3411
+ export const listWorkspaceAddresses = (options) => (options.client ?? client).get({
3412
+ security: [{
3413
+ key: 'bearerAuth',
3414
+ scheme: 'bearer',
3415
+ type: 'http'
3416
+ }],
3417
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/addresses',
3418
+ ...options
3419
+ });
3420
+ export const createWorkspaceAddress = (options) => (options.client ?? client).post({
3421
+ security: [{
3422
+ key: 'bearerAuth',
3423
+ scheme: 'bearer',
3424
+ type: 'http'
3425
+ }],
3426
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/addresses',
3427
+ ...options,
3428
+ headers: {
3429
+ 'Content-Type': 'application/json',
3430
+ ...options.headers
3431
+ }
3432
+ });
3433
+ export const deleteWorkspaceAddress = (options) => (options.client ?? client).delete({
3434
+ security: [{
3435
+ key: 'bearerAuth',
3436
+ scheme: 'bearer',
3437
+ type: 'http'
3438
+ }],
3439
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/addresses/{address_id}',
3440
+ ...options
3441
+ });
3442
+ export const updateWorkspaceAddress = (options) => (options.client ?? client).patch({
3443
+ security: [{
3444
+ key: 'bearerAuth',
3445
+ scheme: 'bearer',
3446
+ type: 'http'
3447
+ }],
3448
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/addresses/{address_id}',
3449
+ ...options,
3450
+ headers: {
3451
+ 'Content-Type': 'application/json',
3452
+ ...options.headers
3453
+ }
3454
+ });
3455
+ export const activateWorkspaceAddress = (options) => (options.client ?? client).post({
3456
+ security: [{
3457
+ key: 'bearerAuth',
3458
+ scheme: 'bearer',
3459
+ type: 'http'
3460
+ }],
3461
+ url: '/v1/applications/{application_id}/workspaces/{workspace_id}/addresses/{address_id}/activate',
3462
+ ...options
3463
+ });
3464
+ export const listMyWorkspaceInvitations = (options) => (options.client ?? client).get({
3465
+ security: [{
3466
+ key: 'bearerAuth',
3467
+ scheme: 'bearer',
3468
+ type: 'http'
3469
+ }],
3470
+ url: '/v1/applications/{application_id}/me/workspace-invitations',
3471
+ ...options
3472
+ });
3473
+ export const acceptMyWorkspaceInvitation = (options) => (options.client ?? client).post({
3474
+ security: [{
3475
+ key: 'bearerAuth',
3476
+ scheme: 'bearer',
3477
+ type: 'http'
3478
+ }],
3479
+ url: '/v1/applications/{application_id}/me/workspace-invitations/{invitation_id}/accept',
3480
+ ...options,
3481
+ headers: {
3482
+ 'Content-Type': 'application/json',
3483
+ ...options.headers
3484
+ }
3485
+ });
3486
+ export const checkMyPermissions = (options) => (options.client ?? client).post({
3487
+ security: [{
3488
+ key: 'bearerAuth',
3489
+ scheme: 'bearer',
3490
+ type: 'http'
3491
+ }],
3492
+ url: '/v1/applications/{application_id}/me/permissions/check',
3493
+ ...options,
3494
+ headers: {
3495
+ 'Content-Type': 'application/json',
3496
+ ...options.headers
3497
+ }
3498
+ });
3499
+ export const listMyOAuthConsents = (options) => (options.client ?? client).get({
3500
+ security: [{
3501
+ key: 'bearerAuth',
3502
+ scheme: 'bearer',
3503
+ type: 'http'
3504
+ }],
3505
+ url: '/v1/applications/{application_id}/me/oauth-consents',
3506
+ ...options
3507
+ });
3508
+ export const revokeMyOAuthConsent = (options) => (options.client ?? client).delete({
3509
+ security: [{
3510
+ key: 'bearerAuth',
3511
+ scheme: 'bearer',
3512
+ type: 'http'
3513
+ }],
3514
+ url: '/v1/applications/{application_id}/me/oauth-consents/{client_id}',
3515
+ ...options
3516
+ });
3517
+ export const publishCustomEvent = (options) => (options.client ?? client).post({
3518
+ security: [{
3519
+ key: 'bearerAuth',
3520
+ scheme: 'bearer',
3521
+ type: 'http'
3522
+ }],
3523
+ url: '/v1/applications/{application_id}/events',
3524
+ ...options,
3525
+ headers: {
3526
+ 'Content-Type': 'application/json',
3527
+ ...options.headers
3528
+ }
3529
+ });
3530
+ export const listEvents = (options) => (options.client ?? client).get({
3531
+ security: [{
3532
+ key: 'operatorBearer',
3533
+ scheme: 'bearer',
3534
+ type: 'http'
3535
+ }, {
3536
+ in: 'cookie',
3537
+ name: 'p93_operator_access',
3538
+ type: 'apiKey'
3539
+ }],
3540
+ url: '/v1/control/applications/{application_id}/events',
3541
+ ...options
3542
+ });
3543
+ export const getEvent = (options) => (options.client ?? client).get({
3544
+ security: [{
3545
+ key: 'operatorBearer',
3546
+ scheme: 'bearer',
3547
+ type: 'http'
3548
+ }, {
3549
+ in: 'cookie',
3550
+ name: 'p93_operator_access',
3551
+ type: 'apiKey'
3552
+ }],
3553
+ url: '/v1/control/applications/{application_id}/events/{event_id}',
3554
+ ...options
3555
+ });
3556
+ export const listEventTypes = (options) => (options.client ?? client).get({
3557
+ security: [{
3558
+ key: 'operatorBearer',
3559
+ scheme: 'bearer',
3560
+ type: 'http'
3561
+ }, {
3562
+ in: 'cookie',
3563
+ name: 'p93_operator_access',
3564
+ type: 'apiKey'
3565
+ }],
3566
+ url: '/v1/control/applications/{application_id}/event-types',
3567
+ ...options
3568
+ });
3569
+ export const createEventType = (options) => (options.client ?? client).post({
3570
+ security: [{
3571
+ key: 'operatorBearer',
3572
+ scheme: 'bearer',
3573
+ type: 'http'
3574
+ }, {
3575
+ in: 'cookie',
3576
+ name: 'p93_operator_access',
3577
+ type: 'apiKey'
3578
+ }],
3579
+ url: '/v1/control/applications/{application_id}/event-types',
3580
+ ...options,
3581
+ headers: {
3582
+ 'Content-Type': 'application/json',
3583
+ ...options.headers
3584
+ }
3585
+ });
3586
+ export const archiveEventType = (options) => (options.client ?? client).delete({
3587
+ security: [{
3588
+ key: 'operatorBearer',
3589
+ scheme: 'bearer',
3590
+ type: 'http'
3591
+ }, {
3592
+ in: 'cookie',
3593
+ name: 'p93_operator_access',
3594
+ type: 'apiKey'
3595
+ }],
3596
+ url: '/v1/control/applications/{application_id}/event-types/{event_type_id}',
3597
+ ...options
3598
+ });
3599
+ export const getEventType = (options) => (options.client ?? client).get({
3600
+ security: [{
3601
+ key: 'operatorBearer',
3602
+ scheme: 'bearer',
3603
+ type: 'http'
3604
+ }, {
3605
+ in: 'cookie',
3606
+ name: 'p93_operator_access',
3607
+ type: 'apiKey'
3608
+ }],
3609
+ url: '/v1/control/applications/{application_id}/event-types/{event_type_id}',
3610
+ ...options
3611
+ });
3612
+ export const updateEventType = (options) => (options.client ?? client).patch({
3613
+ security: [{
3614
+ key: 'operatorBearer',
3615
+ scheme: 'bearer',
3616
+ type: 'http'
3617
+ }, {
3618
+ in: 'cookie',
3619
+ name: 'p93_operator_access',
3620
+ type: 'apiKey'
3621
+ }],
3622
+ url: '/v1/control/applications/{application_id}/event-types/{event_type_id}',
3623
+ ...options,
3624
+ headers: {
3625
+ 'Content-Type': 'application/json',
3626
+ ...options.headers
3627
+ }
3628
+ });
3629
+ export const listAuditLogs = (options) => (options.client ?? client).get({
3630
+ security: [{
3631
+ key: 'operatorBearer',
3632
+ scheme: 'bearer',
3633
+ type: 'http'
3634
+ }, {
3635
+ in: 'cookie',
3636
+ name: 'p93_operator_access',
3637
+ type: 'apiKey'
3638
+ }],
3639
+ url: '/v1/control/applications/{application_id}/audit-logs',
3640
+ ...options
3641
+ });
3642
+ export const getAuditLog = (options) => (options.client ?? client).get({
3643
+ security: [{
3644
+ key: 'operatorBearer',
3645
+ scheme: 'bearer',
3646
+ type: 'http'
3647
+ }, {
3648
+ in: 'cookie',
3649
+ name: 'p93_operator_access',
3650
+ type: 'apiKey'
3651
+ }],
3652
+ url: '/v1/control/applications/{application_id}/audit-logs/{audit_id}',
3653
+ ...options
3654
+ });
3655
+ export const createAuditExport = (options) => (options.client ?? client).post({
3656
+ security: [{
3657
+ key: 'operatorBearer',
3658
+ scheme: 'bearer',
3659
+ type: 'http'
3660
+ }, {
3661
+ in: 'cookie',
3662
+ name: 'p93_operator_access',
3663
+ type: 'apiKey'
3664
+ }],
3665
+ url: '/v1/control/applications/{application_id}/audit-exports',
3666
+ ...options,
3667
+ headers: {
3668
+ 'Content-Type': 'application/json',
3669
+ ...options.headers
3670
+ }
3671
+ });
3672
+ export const getAuditExport = (options) => (options.client ?? client).get({
3673
+ security: [{
3674
+ key: 'operatorBearer',
3675
+ scheme: 'bearer',
3676
+ type: 'http'
3677
+ }, {
3678
+ in: 'cookie',
3679
+ name: 'p93_operator_access',
3680
+ type: 'apiKey'
3681
+ }],
3682
+ url: '/v1/control/applications/{application_id}/audit-exports/{export_id}',
3683
+ ...options
3684
+ });
3685
+ export const listWebhooks = (options) => (options.client ?? client).get({
3686
+ security: [{
3687
+ key: 'operatorBearer',
3688
+ scheme: 'bearer',
3689
+ type: 'http'
3690
+ }, {
3691
+ in: 'cookie',
3692
+ name: 'p93_operator_access',
3693
+ type: 'apiKey'
3694
+ }],
3695
+ url: '/v1/control/applications/{application_id}/webhooks',
3696
+ ...options
3697
+ });
3698
+ export const createWebhook = (options) => (options.client ?? client).post({
3699
+ security: [{
3700
+ key: 'operatorBearer',
3701
+ scheme: 'bearer',
3702
+ type: 'http'
3703
+ }, {
3704
+ in: 'cookie',
3705
+ name: 'p93_operator_access',
3706
+ type: 'apiKey'
3707
+ }],
3708
+ url: '/v1/control/applications/{application_id}/webhooks',
3709
+ ...options,
3710
+ headers: {
3711
+ 'Content-Type': 'application/json',
3712
+ ...options.headers
3713
+ }
3714
+ });
3715
+ export const disableWebhook = (options) => (options.client ?? client).delete({
3716
+ security: [{
3717
+ key: 'operatorBearer',
3718
+ scheme: 'bearer',
3719
+ type: 'http'
3720
+ }, {
3721
+ in: 'cookie',
3722
+ name: 'p93_operator_access',
3723
+ type: 'apiKey'
3724
+ }],
3725
+ url: '/v1/control/applications/{application_id}/webhooks/{webhook_id}',
3726
+ ...options
3727
+ });
3728
+ export const getWebhook = (options) => (options.client ?? client).get({
3729
+ security: [{
3730
+ key: 'operatorBearer',
3731
+ scheme: 'bearer',
3732
+ type: 'http'
3733
+ }, {
3734
+ in: 'cookie',
3735
+ name: 'p93_operator_access',
3736
+ type: 'apiKey'
3737
+ }],
3738
+ url: '/v1/control/applications/{application_id}/webhooks/{webhook_id}',
3739
+ ...options
3740
+ });
3741
+ export const updateWebhook = (options) => (options.client ?? client).patch({
3742
+ security: [{
3743
+ key: 'operatorBearer',
3744
+ scheme: 'bearer',
3745
+ type: 'http'
3746
+ }, {
3747
+ in: 'cookie',
3748
+ name: 'p93_operator_access',
3749
+ type: 'apiKey'
3750
+ }],
3751
+ url: '/v1/control/applications/{application_id}/webhooks/{webhook_id}',
3752
+ ...options,
3753
+ headers: {
3754
+ 'Content-Type': 'application/json',
3755
+ ...options.headers
3756
+ }
3757
+ });
3758
+ export const testWebhook = (options) => (options.client ?? client).post({
3759
+ security: [{
3760
+ key: 'operatorBearer',
3761
+ scheme: 'bearer',
3762
+ type: 'http'
3763
+ }, {
3764
+ in: 'cookie',
3765
+ name: 'p93_operator_access',
3766
+ type: 'apiKey'
3767
+ }],
3768
+ url: '/v1/control/applications/{application_id}/webhooks/{webhook_id}/test',
3769
+ ...options
3770
+ });
3771
+ export const rotateWebhookSecret = (options) => (options.client ?? client).post({
3772
+ security: [{
3773
+ key: 'operatorBearer',
3774
+ scheme: 'bearer',
3775
+ type: 'http'
3776
+ }, {
3777
+ in: 'cookie',
3778
+ name: 'p93_operator_access',
3779
+ type: 'apiKey'
3780
+ }],
3781
+ url: '/v1/control/applications/{application_id}/webhooks/{webhook_id}/rotate-secret',
3782
+ ...options
3783
+ });
3784
+ export const listWebhookDeliveries = (options) => (options.client ?? client).get({
3785
+ security: [{
3786
+ key: 'operatorBearer',
3787
+ scheme: 'bearer',
3788
+ type: 'http'
3789
+ }, {
3790
+ in: 'cookie',
3791
+ name: 'p93_operator_access',
3792
+ type: 'apiKey'
3793
+ }],
3794
+ url: '/v1/control/applications/{application_id}/webhook-deliveries',
3795
+ ...options
3796
+ });
3797
+ export const getWebhookDelivery = (options) => (options.client ?? client).get({
3798
+ security: [{
3799
+ key: 'operatorBearer',
3800
+ scheme: 'bearer',
3801
+ type: 'http'
3802
+ }, {
3803
+ in: 'cookie',
3804
+ name: 'p93_operator_access',
3805
+ type: 'apiKey'
3806
+ }],
3807
+ url: '/v1/control/applications/{application_id}/webhook-deliveries/{delivery_id}',
3808
+ ...options
3809
+ });
3810
+ export const replayWebhookDelivery = (options) => (options.client ?? client).post({
3811
+ security: [{
3812
+ key: 'operatorBearer',
3813
+ scheme: 'bearer',
3814
+ type: 'http'
3815
+ }, {
3816
+ in: 'cookie',
3817
+ name: 'p93_operator_access',
3818
+ type: 'apiKey'
3819
+ }],
3820
+ url: '/v1/control/applications/{application_id}/webhook-deliveries/{delivery_id}/replay',
3821
+ ...options
3822
+ });
3823
+ export const listNotificationProviders = (options) => (options.client ?? client).get({
3824
+ security: [{
3825
+ key: 'operatorBearer',
3826
+ scheme: 'bearer',
3827
+ type: 'http'
3828
+ }, {
3829
+ in: 'cookie',
3830
+ name: 'p93_operator_access',
3831
+ type: 'apiKey'
3832
+ }],
3833
+ url: '/v1/control/applications/{application_id}/notification-providers',
3834
+ ...options
3835
+ });
3836
+ export const createNotificationProvider = (options) => (options.client ?? client).post({
3837
+ security: [{
3838
+ key: 'operatorBearer',
3839
+ scheme: 'bearer',
3840
+ type: 'http'
3841
+ }, {
3842
+ in: 'cookie',
3843
+ name: 'p93_operator_access',
3844
+ type: 'apiKey'
3845
+ }],
3846
+ url: '/v1/control/applications/{application_id}/notification-providers',
3847
+ ...options,
3848
+ headers: {
3849
+ 'Content-Type': 'application/json',
3850
+ ...options.headers
3851
+ }
3852
+ });
3853
+ export const disableNotificationProvider = (options) => (options.client ?? client).delete({
3854
+ security: [{
3855
+ key: 'operatorBearer',
3856
+ scheme: 'bearer',
3857
+ type: 'http'
3858
+ }, {
3859
+ in: 'cookie',
3860
+ name: 'p93_operator_access',
3861
+ type: 'apiKey'
3862
+ }],
3863
+ url: '/v1/control/applications/{application_id}/notification-providers/{provider_id}',
3864
+ ...options
3865
+ });
3866
+ export const getNotificationProvider = (options) => (options.client ?? client).get({
3867
+ security: [{
3868
+ key: 'operatorBearer',
3869
+ scheme: 'bearer',
3870
+ type: 'http'
3871
+ }, {
3872
+ in: 'cookie',
3873
+ name: 'p93_operator_access',
3874
+ type: 'apiKey'
3875
+ }],
3876
+ url: '/v1/control/applications/{application_id}/notification-providers/{provider_id}',
3877
+ ...options
3878
+ });
3879
+ export const updateNotificationProvider = (options) => (options.client ?? client).patch({
3880
+ security: [{
3881
+ key: 'operatorBearer',
3882
+ scheme: 'bearer',
3883
+ type: 'http'
3884
+ }, {
3885
+ in: 'cookie',
3886
+ name: 'p93_operator_access',
3887
+ type: 'apiKey'
3888
+ }],
3889
+ url: '/v1/control/applications/{application_id}/notification-providers/{provider_id}',
3890
+ ...options,
3891
+ headers: {
3892
+ 'Content-Type': 'application/json',
3893
+ ...options.headers
3894
+ }
3895
+ });
3896
+ export const verifyNotificationProvider = (options) => (options.client ?? client).post({
3897
+ security: [{
3898
+ key: 'operatorBearer',
3899
+ scheme: 'bearer',
3900
+ type: 'http'
3901
+ }, {
3902
+ in: 'cookie',
3903
+ name: 'p93_operator_access',
3904
+ type: 'apiKey'
3905
+ }],
3906
+ url: '/v1/control/applications/{application_id}/notification-providers/{provider_id}/verify',
3907
+ ...options
3908
+ });
3909
+ export const testNotificationProvider = (options) => (options.client ?? client).post({
3910
+ security: [{
3911
+ key: 'operatorBearer',
3912
+ scheme: 'bearer',
3913
+ type: 'http'
3914
+ }, {
3915
+ in: 'cookie',
3916
+ name: 'p93_operator_access',
3917
+ type: 'apiKey'
3918
+ }],
3919
+ url: '/v1/control/applications/{application_id}/notification-providers/{provider_id}/test',
3920
+ ...options,
3921
+ headers: {
3922
+ 'Content-Type': 'application/json',
3923
+ ...options.headers
3924
+ }
3925
+ });
3926
+ export const listSenderIdentities = (options) => (options.client ?? client).get({
3927
+ security: [{
3928
+ key: 'operatorBearer',
3929
+ scheme: 'bearer',
3930
+ type: 'http'
3931
+ }, {
3932
+ in: 'cookie',
3933
+ name: 'p93_operator_access',
3934
+ type: 'apiKey'
3935
+ }],
3936
+ url: '/v1/control/applications/{application_id}/sender-identities',
3937
+ ...options
3938
+ });
3939
+ export const createSenderIdentity = (options) => (options.client ?? client).post({
3940
+ security: [{
3941
+ key: 'operatorBearer',
3942
+ scheme: 'bearer',
3943
+ type: 'http'
3944
+ }, {
3945
+ in: 'cookie',
3946
+ name: 'p93_operator_access',
3947
+ type: 'apiKey'
3948
+ }],
3949
+ url: '/v1/control/applications/{application_id}/sender-identities',
3950
+ ...options,
3951
+ headers: {
3952
+ 'Content-Type': 'application/json',
3953
+ ...options.headers
3954
+ }
3955
+ });
3956
+ export const setDefaultSenderIdentity = (options) => (options.client ?? client).post({
3957
+ security: [{
3958
+ key: 'operatorBearer',
3959
+ scheme: 'bearer',
3960
+ type: 'http'
3961
+ }, {
3962
+ in: 'cookie',
3963
+ name: 'p93_operator_access',
3964
+ type: 'apiKey'
3965
+ }],
3966
+ url: '/v1/control/applications/{application_id}/sender-identities/{sender_id}/default',
3967
+ ...options
3968
+ });
3969
+ export const listInstallationNotificationTemplates = (options) => (options?.client ?? client).get({
3970
+ security: [{
3971
+ key: 'operatorBearer',
3972
+ scheme: 'bearer',
3973
+ type: 'http'
3974
+ }, {
3975
+ in: 'cookie',
3976
+ name: 'p93_operator_access',
3977
+ type: 'apiKey'
3978
+ }],
3979
+ url: '/v1/control/installation/notification-templates',
3980
+ ...options
3981
+ });
3982
+ export const createInstallationNotificationTemplate = (options) => (options.client ?? client).post({
3983
+ security: [{
3984
+ key: 'operatorBearer',
3985
+ scheme: 'bearer',
3986
+ type: 'http'
3987
+ }, {
3988
+ in: 'cookie',
3989
+ name: 'p93_operator_access',
3990
+ type: 'apiKey'
3991
+ }],
3992
+ url: '/v1/control/installation/notification-templates',
3993
+ ...options,
3994
+ headers: {
3995
+ 'Content-Type': 'application/json',
3996
+ ...options.headers
3997
+ }
3998
+ });
3999
+ export const listInstallationNotificationTemplateVariables = (options) => (options?.client ?? client).get({
4000
+ security: [{
4001
+ key: 'operatorBearer',
4002
+ scheme: 'bearer',
4003
+ type: 'http'
4004
+ }, {
4005
+ in: 'cookie',
4006
+ name: 'p93_operator_access',
4007
+ type: 'apiKey'
4008
+ }],
4009
+ url: '/v1/control/installation/notification-template-variables',
4010
+ ...options
4011
+ });
4012
+ export const getInstallationNotificationTemplate = (options) => (options.client ?? client).get({
4013
+ security: [{
4014
+ key: 'operatorBearer',
4015
+ scheme: 'bearer',
4016
+ type: 'http'
4017
+ }, {
4018
+ in: 'cookie',
4019
+ name: 'p93_operator_access',
4020
+ type: 'apiKey'
4021
+ }],
4022
+ url: '/v1/control/installation/notification-templates/{template_id}',
4023
+ ...options
4024
+ });
4025
+ export const updateInstallationNotificationTemplate = (options) => (options.client ?? client).patch({
4026
+ security: [{
4027
+ key: 'operatorBearer',
4028
+ scheme: 'bearer',
4029
+ type: 'http'
4030
+ }, {
4031
+ in: 'cookie',
4032
+ name: 'p93_operator_access',
4033
+ type: 'apiKey'
4034
+ }],
4035
+ url: '/v1/control/installation/notification-templates/{template_id}',
4036
+ ...options,
4037
+ headers: {
4038
+ 'Content-Type': 'application/json',
4039
+ ...options.headers
4040
+ }
4041
+ });
4042
+ export const previewInstallationNotificationTemplate = (options) => (options.client ?? client).post({
4043
+ security: [{
4044
+ key: 'operatorBearer',
4045
+ scheme: 'bearer',
4046
+ type: 'http'
4047
+ }, {
4048
+ in: 'cookie',
4049
+ name: 'p93_operator_access',
4050
+ type: 'apiKey'
4051
+ }],
4052
+ url: '/v1/control/installation/notification-templates/{template_id}/preview',
4053
+ ...options,
4054
+ headers: {
4055
+ 'Content-Type': 'application/json',
4056
+ ...options.headers
4057
+ }
4058
+ });
4059
+ export const publishInstallationNotificationTemplate = (options) => (options.client ?? client).post({
4060
+ security: [{
4061
+ key: 'operatorBearer',
4062
+ scheme: 'bearer',
4063
+ type: 'http'
4064
+ }, {
4065
+ in: 'cookie',
4066
+ name: 'p93_operator_access',
4067
+ type: 'apiKey'
4068
+ }],
4069
+ url: '/v1/control/installation/notification-templates/{template_id}/publish',
4070
+ ...options
4071
+ });
4072
+ export const archiveInstallationNotificationTemplate = (options) => (options.client ?? client).post({
4073
+ security: [{
4074
+ key: 'operatorBearer',
4075
+ scheme: 'bearer',
4076
+ type: 'http'
4077
+ }, {
4078
+ in: 'cookie',
4079
+ name: 'p93_operator_access',
4080
+ type: 'apiKey'
4081
+ }],
4082
+ url: '/v1/control/installation/notification-templates/{template_id}/archive',
4083
+ ...options
4084
+ });
4085
+ export const listNotificationTemplates = (options) => (options.client ?? client).get({
4086
+ security: [{
4087
+ key: 'operatorBearer',
4088
+ scheme: 'bearer',
4089
+ type: 'http'
4090
+ }, {
4091
+ in: 'cookie',
4092
+ name: 'p93_operator_access',
4093
+ type: 'apiKey'
4094
+ }],
4095
+ url: '/v1/control/applications/{application_id}/notification-templates',
4096
+ ...options
4097
+ });
4098
+ export const createNotificationTemplate = (options) => (options.client ?? client).post({
4099
+ security: [{
4100
+ key: 'operatorBearer',
4101
+ scheme: 'bearer',
4102
+ type: 'http'
4103
+ }, {
4104
+ in: 'cookie',
4105
+ name: 'p93_operator_access',
4106
+ type: 'apiKey'
4107
+ }],
4108
+ url: '/v1/control/applications/{application_id}/notification-templates',
4109
+ ...options,
4110
+ headers: {
4111
+ 'Content-Type': 'application/json',
4112
+ ...options.headers
4113
+ }
4114
+ });
4115
+ export const listNotificationTemplateVariables = (options) => (options.client ?? client).get({
4116
+ security: [{
4117
+ key: 'operatorBearer',
4118
+ scheme: 'bearer',
4119
+ type: 'http'
4120
+ }, {
4121
+ in: 'cookie',
4122
+ name: 'p93_operator_access',
4123
+ type: 'apiKey'
4124
+ }],
4125
+ url: '/v1/control/applications/{application_id}/notification-template-variables',
4126
+ ...options
4127
+ });
4128
+ export const getNotificationTemplate = (options) => (options.client ?? client).get({
4129
+ security: [{
4130
+ key: 'operatorBearer',
4131
+ scheme: 'bearer',
4132
+ type: 'http'
4133
+ }, {
4134
+ in: 'cookie',
4135
+ name: 'p93_operator_access',
4136
+ type: 'apiKey'
4137
+ }],
4138
+ url: '/v1/control/applications/{application_id}/notification-templates/{template_id}',
4139
+ ...options
4140
+ });
4141
+ export const updateNotificationTemplate = (options) => (options.client ?? client).patch({
4142
+ security: [{
4143
+ key: 'operatorBearer',
4144
+ scheme: 'bearer',
4145
+ type: 'http'
4146
+ }, {
4147
+ in: 'cookie',
4148
+ name: 'p93_operator_access',
4149
+ type: 'apiKey'
4150
+ }],
4151
+ url: '/v1/control/applications/{application_id}/notification-templates/{template_id}',
4152
+ ...options,
4153
+ headers: {
4154
+ 'Content-Type': 'application/json',
4155
+ ...options.headers
4156
+ }
4157
+ });
4158
+ export const previewNotificationTemplate = (options) => (options.client ?? client).post({
4159
+ security: [{
4160
+ key: 'operatorBearer',
4161
+ scheme: 'bearer',
4162
+ type: 'http'
4163
+ }, {
4164
+ in: 'cookie',
4165
+ name: 'p93_operator_access',
4166
+ type: 'apiKey'
4167
+ }],
4168
+ url: '/v1/control/applications/{application_id}/notification-templates/{template_id}/preview',
4169
+ ...options,
4170
+ headers: {
4171
+ 'Content-Type': 'application/json',
4172
+ ...options.headers
4173
+ }
4174
+ });
4175
+ export const publishNotificationTemplate = (options) => (options.client ?? client).post({
4176
+ security: [{
4177
+ key: 'operatorBearer',
4178
+ scheme: 'bearer',
4179
+ type: 'http'
4180
+ }, {
4181
+ in: 'cookie',
4182
+ name: 'p93_operator_access',
4183
+ type: 'apiKey'
4184
+ }],
4185
+ url: '/v1/control/applications/{application_id}/notification-templates/{template_id}/publish',
4186
+ ...options
4187
+ });
4188
+ export const archiveNotificationTemplate = (options) => (options.client ?? client).post({
4189
+ security: [{
4190
+ key: 'operatorBearer',
4191
+ scheme: 'bearer',
4192
+ type: 'http'
4193
+ }, {
4194
+ in: 'cookie',
4195
+ name: 'p93_operator_access',
4196
+ type: 'apiKey'
4197
+ }],
4198
+ url: '/v1/control/applications/{application_id}/notification-templates/{template_id}/archive',
4199
+ ...options
4200
+ });
4201
+ export const listNotifications = (options) => (options.client ?? client).get({
4202
+ security: [{
4203
+ key: 'operatorBearer',
4204
+ scheme: 'bearer',
4205
+ type: 'http'
4206
+ }, {
4207
+ in: 'cookie',
4208
+ name: 'p93_operator_access',
4209
+ type: 'apiKey'
4210
+ }],
4211
+ url: '/v1/control/applications/{application_id}/notifications',
4212
+ ...options
4213
+ });
4214
+ export const queueNotification = (options) => (options.client ?? client).post({
4215
+ security: [{
4216
+ key: 'operatorBearer',
4217
+ scheme: 'bearer',
4218
+ type: 'http'
4219
+ }, {
4220
+ in: 'cookie',
4221
+ name: 'p93_operator_access',
4222
+ type: 'apiKey'
4223
+ }],
4224
+ url: '/v1/control/applications/{application_id}/notifications',
4225
+ ...options,
4226
+ headers: {
4227
+ 'Content-Type': 'application/json',
4228
+ ...options.headers
4229
+ }
4230
+ });
4231
+ export const getNotificationStatistics = (options) => (options.client ?? client).get({
4232
+ security: [{
4233
+ key: 'operatorBearer',
4234
+ scheme: 'bearer',
4235
+ type: 'http'
4236
+ }, {
4237
+ in: 'cookie',
4238
+ name: 'p93_operator_access',
4239
+ type: 'apiKey'
4240
+ }],
4241
+ url: '/v1/control/applications/{application_id}/notifications/statistics',
4242
+ ...options
4243
+ });
4244
+ export const getNotification = (options) => (options.client ?? client).get({
4245
+ security: [{
4246
+ key: 'operatorBearer',
4247
+ scheme: 'bearer',
4248
+ type: 'http'
4249
+ }, {
4250
+ in: 'cookie',
4251
+ name: 'p93_operator_access',
4252
+ type: 'apiKey'
4253
+ }],
4254
+ url: '/v1/control/applications/{application_id}/notifications/{notification_id}',
4255
+ ...options
4256
+ });
4257
+ export const retryNotification = (options) => (options.client ?? client).post({
4258
+ security: [{
4259
+ key: 'operatorBearer',
4260
+ scheme: 'bearer',
4261
+ type: 'http'
4262
+ }, {
4263
+ in: 'cookie',
4264
+ name: 'p93_operator_access',
4265
+ type: 'apiKey'
4266
+ }],
4267
+ url: '/v1/control/applications/{application_id}/notifications/{notification_id}/retry',
4268
+ ...options
4269
+ });
4270
+ export const listMyNotificationPreferences = (options) => (options.client ?? client).get({
4271
+ security: [{
4272
+ key: 'bearerAuth',
4273
+ scheme: 'bearer',
4274
+ type: 'http'
4275
+ }],
4276
+ url: '/v1/applications/{application_id}/me/notification-preferences',
4277
+ ...options
4278
+ });
4279
+ export const updateMyNotificationPreference = (options) => (options.client ?? client).put({
4280
+ security: [{
4281
+ key: 'bearerAuth',
4282
+ scheme: 'bearer',
4283
+ type: 'http'
4284
+ }],
4285
+ url: '/v1/applications/{application_id}/me/notification-preferences/{category}',
4286
+ ...options,
4287
+ headers: {
4288
+ 'Content-Type': 'application/json',
4289
+ ...options.headers
4290
+ }
4291
+ });
4292
+ export const oidcDiscovery = (options) => (options?.client ?? client).get({ url: '/oidc/.well-known/openid-configuration', ...options });
4293
+ export const oidcJwks = (options) => (options?.client ?? client).get({ url: '/oidc/jwks.json', ...options });
4294
+ export const beginOidcAuthorization = (options) => (options.client ?? client).get({ url: '/oidc/authorize', ...options });
4295
+ export const decideOidcAuthorization = (options) => (options.client ?? client).post({
4296
+ ...urlSearchParamsBodySerializer,
4297
+ security: [{
4298
+ key: 'bearerAuth',
4299
+ scheme: 'bearer',
4300
+ type: 'http'
4301
+ }],
4302
+ url: '/oidc/authorize',
4303
+ ...options,
4304
+ headers: {
4305
+ 'Content-Type': 'application/x-www-form-urlencoded',
4306
+ ...options.headers
4307
+ }
4308
+ });
4309
+ export const exchangeOidcToken = (options) => (options.client ?? client).post({
4310
+ ...urlSearchParamsBodySerializer,
4311
+ url: '/oidc/token',
4312
+ ...options,
4313
+ headers: {
4314
+ 'Content-Type': 'application/x-www-form-urlencoded',
4315
+ ...options.headers
4316
+ }
4317
+ });
4318
+ export const revokeOidcToken = (options) => (options.client ?? client).post({
4319
+ ...urlSearchParamsBodySerializer,
4320
+ url: '/oidc/revoke',
4321
+ ...options,
4322
+ headers: {
4323
+ 'Content-Type': 'application/x-www-form-urlencoded',
4324
+ ...options.headers
4325
+ }
4326
+ });
4327
+ export const introspectOidcToken = (options) => (options.client ?? client).post({
4328
+ ...urlSearchParamsBodySerializer,
4329
+ url: '/oidc/introspect',
4330
+ ...options,
4331
+ headers: {
4332
+ 'Content-Type': 'application/x-www-form-urlencoded',
4333
+ ...options.headers
4334
+ }
4335
+ });
4336
+ export const oidcUserinfo = (options) => (options?.client ?? client).get({
4337
+ security: [{
4338
+ key: 'bearerAuth',
4339
+ scheme: 'bearer',
4340
+ type: 'http'
4341
+ }],
4342
+ url: '/oidc/userinfo',
4343
+ ...options
4344
+ });
4345
+ export const stripeWebhook = (options) => (options.client ?? client).post({
4346
+ url: '/provider-webhooks/stripe/{connection_public_id}',
4347
+ ...options,
4348
+ headers: {
4349
+ 'Content-Type': 'application/json',
4350
+ ...options.headers
4351
+ }
4352
+ });
4353
+ export const managementListOrganizations = (options) => (options?.client ?? client).get({
4354
+ security: [{
4355
+ key: 'managementBearer',
4356
+ scheme: 'bearer',
4357
+ type: 'http'
4358
+ }],
4359
+ url: '/v1/management/organizations',
4360
+ ...options
4361
+ });
4362
+ export const managementCreateOrganization = (options) => (options.client ?? client).post({
4363
+ security: [{
4364
+ key: 'managementBearer',
4365
+ scheme: 'bearer',
4366
+ type: 'http'
4367
+ }],
4368
+ url: '/v1/management/organizations',
4369
+ ...options,
4370
+ headers: {
4371
+ 'Content-Type': 'application/json',
4372
+ ...options.headers
4373
+ }
4374
+ });
4375
+ export const managementRetireOrganization = (options) => (options.client ?? client).delete({
4376
+ security: [{
4377
+ key: 'managementBearer',
4378
+ scheme: 'bearer',
4379
+ type: 'http'
4380
+ }],
4381
+ url: '/v1/management/organizations/{organization_id}',
4382
+ ...options
4383
+ });
4384
+ export const managementGetOrganization = (options) => (options.client ?? client).get({
4385
+ security: [{
4386
+ key: 'managementBearer',
4387
+ scheme: 'bearer',
4388
+ type: 'http'
4389
+ }],
4390
+ url: '/v1/management/organizations/{organization_id}',
4391
+ ...options
4392
+ });
4393
+ export const managementUpdateOrganization = (options) => (options.client ?? client).patch({
4394
+ security: [{
4395
+ key: 'managementBearer',
4396
+ scheme: 'bearer',
4397
+ type: 'http'
4398
+ }],
4399
+ url: '/v1/management/organizations/{organization_id}',
4400
+ ...options,
4401
+ headers: {
4402
+ 'Content-Type': 'application/json',
4403
+ ...options.headers
4404
+ }
4405
+ });
4406
+ export const managementRestoreOrganization = (options) => (options.client ?? client).post({
4407
+ security: [{
4408
+ key: 'managementBearer',
4409
+ scheme: 'bearer',
4410
+ type: 'http'
4411
+ }],
4412
+ url: '/v1/management/organizations/{organization_id}/restore',
4413
+ ...options
4414
+ });
4415
+ export const managementGetOrganizationPolicy = (options) => (options.client ?? client).get({
4416
+ security: [{
4417
+ key: 'managementBearer',
4418
+ scheme: 'bearer',
4419
+ type: 'http'
4420
+ }],
4421
+ url: '/v1/management/organizations/{organization_id}/policy',
4422
+ ...options
4423
+ });
4424
+ export const managementUpdateOrganizationPolicy = (options) => (options.client ?? client).put({
4425
+ security: [{
4426
+ key: 'managementBearer',
4427
+ scheme: 'bearer',
4428
+ type: 'http'
4429
+ }],
4430
+ url: '/v1/management/organizations/{organization_id}/policy',
4431
+ ...options,
4432
+ headers: {
4433
+ 'Content-Type': 'application/json',
4434
+ ...options.headers
4435
+ }
4436
+ });
4437
+ export const managementListApplications = (options) => (options.client ?? client).get({
4438
+ security: [{
4439
+ key: 'managementBearer',
4440
+ scheme: 'bearer',
4441
+ type: 'http'
4442
+ }],
4443
+ url: '/v1/management/organizations/{organization_id}/applications',
4444
+ ...options
4445
+ });
4446
+ export const managementCreateApplication = (options) => (options.client ?? client).post({
4447
+ security: [{
4448
+ key: 'managementBearer',
4449
+ scheme: 'bearer',
4450
+ type: 'http'
4451
+ }],
4452
+ url: '/v1/management/organizations/{organization_id}/applications',
4453
+ ...options,
4454
+ headers: {
4455
+ 'Content-Type': 'application/json',
4456
+ ...options.headers
4457
+ }
4458
+ });
4459
+ export const managementRetireApplication = (options) => (options.client ?? client).delete({
4460
+ security: [{
4461
+ key: 'managementBearer',
4462
+ scheme: 'bearer',
4463
+ type: 'http'
4464
+ }],
4465
+ url: '/v1/management/organizations/{organization_id}/applications/{application_resource_id}',
4466
+ ...options
4467
+ });
4468
+ export const managementUpdateApplication = (options) => (options.client ?? client).patch({
4469
+ security: [{
4470
+ key: 'managementBearer',
4471
+ scheme: 'bearer',
4472
+ type: 'http'
4473
+ }],
4474
+ url: '/v1/management/organizations/{organization_id}/applications/{application_resource_id}',
4475
+ ...options,
4476
+ headers: {
4477
+ 'Content-Type': 'application/json',
4478
+ ...options.headers
4479
+ }
4480
+ });
4481
+ export const managementRestoreApplication = (options) => (options.client ?? client).post({
4482
+ security: [{
4483
+ key: 'managementBearer',
4484
+ scheme: 'bearer',
4485
+ type: 'http'
4486
+ }],
4487
+ url: '/v1/management/organizations/{organization_id}/applications/{application_resource_id}/restore',
4488
+ ...options
4489
+ });
4490
+ //# sourceMappingURL=sdk.gen.js.map