@epilot/sdk 2.1.1 → 2.1.2

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 (118) hide show
  1. package/definitions/partner-directory-runtime.json +1 -1
  2. package/definitions/partner-directory.json +795 -229
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/consent.cjs +6 -6
  22. package/dist/apis/consent.js +1 -1
  23. package/dist/apis/customer-portal.cjs +6 -6
  24. package/dist/apis/customer-portal.js +1 -1
  25. package/dist/apis/dashboard.cjs +6 -6
  26. package/dist/apis/dashboard.js +1 -1
  27. package/dist/apis/data-management.cjs +6 -6
  28. package/dist/apis/data-management.js +1 -1
  29. package/dist/apis/deduplication.cjs +6 -6
  30. package/dist/apis/deduplication.js +1 -1
  31. package/dist/apis/design.cjs +6 -6
  32. package/dist/apis/design.js +1 -1
  33. package/dist/apis/document.cjs +6 -6
  34. package/dist/apis/document.js +1 -1
  35. package/dist/apis/email-settings.cjs +6 -6
  36. package/dist/apis/email-settings.js +1 -1
  37. package/dist/apis/email-template.cjs +6 -6
  38. package/dist/apis/email-template.js +1 -1
  39. package/dist/apis/entity-mapping.cjs +6 -6
  40. package/dist/apis/entity-mapping.js +1 -1
  41. package/dist/apis/entity.cjs +6 -6
  42. package/dist/apis/entity.js +1 -1
  43. package/dist/apis/environments.cjs +6 -6
  44. package/dist/apis/environments.js +1 -1
  45. package/dist/apis/erp-integration.cjs +6 -6
  46. package/dist/apis/erp-integration.js +1 -1
  47. package/dist/apis/event-catalog.cjs +6 -6
  48. package/dist/apis/event-catalog.js +1 -1
  49. package/dist/apis/file.cjs +6 -6
  50. package/dist/apis/file.js +1 -1
  51. package/dist/apis/iban.cjs +6 -6
  52. package/dist/apis/iban.js +1 -1
  53. package/dist/apis/journey.cjs +6 -6
  54. package/dist/apis/journey.js +1 -1
  55. package/dist/apis/kanban.cjs +6 -6
  56. package/dist/apis/kanban.js +1 -1
  57. package/dist/apis/message.cjs +6 -6
  58. package/dist/apis/message.js +1 -1
  59. package/dist/apis/metering.cjs +6 -6
  60. package/dist/apis/metering.js +1 -1
  61. package/dist/apis/notes.cjs +6 -6
  62. package/dist/apis/notes.js +1 -1
  63. package/dist/apis/notification.cjs +6 -6
  64. package/dist/apis/notification.js +1 -1
  65. package/dist/apis/organization.cjs +6 -6
  66. package/dist/apis/organization.js +1 -1
  67. package/dist/apis/partner-directory.cjs +8 -8
  68. package/dist/apis/partner-directory.d.cts +2 -2
  69. package/dist/apis/partner-directory.d.ts +2 -2
  70. package/dist/apis/partner-directory.js +2 -2
  71. package/dist/apis/permissions.cjs +6 -6
  72. package/dist/apis/permissions.js +1 -1
  73. package/dist/apis/pricing-tier.cjs +6 -6
  74. package/dist/apis/pricing-tier.js +1 -1
  75. package/dist/apis/pricing.cjs +6 -6
  76. package/dist/apis/pricing.js +1 -1
  77. package/dist/apis/purpose.cjs +6 -6
  78. package/dist/apis/purpose.js +1 -1
  79. package/dist/apis/sandbox.cjs +6 -6
  80. package/dist/apis/sandbox.js +1 -1
  81. package/dist/apis/submission.cjs +6 -6
  82. package/dist/apis/submission.js +1 -1
  83. package/dist/apis/targeting.cjs +6 -6
  84. package/dist/apis/targeting.js +1 -1
  85. package/dist/apis/template-variables.cjs +6 -6
  86. package/dist/apis/template-variables.js +1 -1
  87. package/dist/apis/user.cjs +6 -6
  88. package/dist/apis/user.js +1 -1
  89. package/dist/apis/validation-rules.cjs +6 -6
  90. package/dist/apis/validation-rules.js +1 -1
  91. package/dist/apis/webhooks.cjs +6 -6
  92. package/dist/apis/webhooks.js +1 -1
  93. package/dist/apis/workflow-definition.cjs +6 -6
  94. package/dist/apis/workflow-definition.js +1 -1
  95. package/dist/apis/workflow.cjs +6 -6
  96. package/dist/apis/workflow.js +1 -1
  97. package/dist/bin/cli.js +1 -1
  98. package/dist/{chunk-F5JVW2D5.cjs → chunk-BFUNXZRX.cjs} +1 -1
  99. package/dist/{chunk-AUH6NP6Y.js → chunk-I2XRA5AM.js} +1 -1
  100. package/dist/{chunk-NBYH536J.js → chunk-QTU4H6NQ.js} +2 -2
  101. package/dist/{chunk-WSZWUQDD.cjs → chunk-T7LQKRUK.cjs} +2 -2
  102. package/dist/index.cjs +10 -10
  103. package/dist/index.d.cts +1 -1
  104. package/dist/index.d.ts +1 -1
  105. package/dist/index.js +2 -2
  106. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  107. package/dist/partner-directory-THI7JEXK.js +7 -0
  108. package/dist/partner-directory-ZQIBKD5Q.cjs +7 -0
  109. package/dist/{partner-directory-runtime-RSONSDNJ.cjs → partner-directory-runtime-AUHVA5Q3.cjs} +2 -2
  110. package/dist/{partner-directory-runtime-QURDOO4Z.js → partner-directory-runtime-GNVT7U7R.js} +1 -1
  111. package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
  112. package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
  113. package/docs/partner-directory.md +295 -127
  114. package/package.json +1 -1
  115. package/dist/partner-directory-2XMPQWWX.js +0 -7
  116. package/dist/partner-directory-WHNTKQ5E.cjs +0 -7
  117. package/dist/partner-directory.d-CRNkDF8q.d.cts +0 -1510
  118. package/dist/partner-directory.d-CRNkDF8q.d.ts +0 -1510
@@ -1,1510 +0,0 @@
1
- import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
-
3
- /* Auto-copied from partner-directory-client */
4
- /* eslint-disable */
5
-
6
-
7
-
8
- declare namespace Components {
9
- namespace Schemas {
10
- export interface ActivatePartnerPayload {
11
- /**
12
- * Company name
13
- * example:
14
- * Company name
15
- */
16
- company_name?: string;
17
- /**
18
- * Email using to sign up
19
- */
20
- signed_up_email: string; // email
21
- /**
22
- * organization id
23
- */
24
- organization_id: string;
25
- }
26
- export interface Address {
27
- /**
28
- * Street
29
- * example:
30
- * Auweg
31
- */
32
- street?: string;
33
- /**
34
- * Street
35
- * example:
36
- * 10
37
- */
38
- street_number?: string;
39
- /**
40
- * City
41
- * example:
42
- * Regensburg
43
- */
44
- city?: string;
45
- /**
46
- * Postal code
47
- * example:
48
- * 93055
49
- */
50
- postal_code?: string;
51
- /**
52
- * Country
53
- * example:
54
- * DE
55
- */
56
- country?: string;
57
- }
58
- export interface AddressGeolocation {
59
- address: Address;
60
- /**
61
- * Latitude
62
- * example:
63
- * 49.013
64
- */
65
- lat: number;
66
- /**
67
- * Longitude
68
- * example:
69
- * 12.101
70
- */
71
- lng: number;
72
- /**
73
- * Full address label as returned by the location service
74
- */
75
- addressLabel?: string;
76
- /**
77
- * Relevance of the result. A number between 0 and 1. Closer to 1 means more relevant
78
- */
79
- relevance?: number;
80
- }
81
- export interface AssignRolesPayload {
82
- /**
83
- * Array of role IDs to assign/unassign
84
- * example:
85
- * [
86
- * "role-123",
87
- * "role-456"
88
- * ]
89
- */
90
- roleIds: string[];
91
- }
92
- export type Assignable = AssignableUser | AssignablePartnerUser | AssignableOrganization | AssignableEcpPlaceholder | AssignableGroup;
93
- export interface AssignableEcpPlaceholder {
94
- /**
95
- * example:
96
- * ecp
97
- */
98
- type: "ecp";
99
- /**
100
- * example:
101
- * Example Ecp Placeholder
102
- */
103
- display_name: string;
104
- image_uri?: {
105
- /**
106
- * example:
107
- * https://epilot-staging-user-content.s3.eu-central-1.amazonaws.com/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
108
- */
109
- original: string; // uri
110
- /**
111
- * example:
112
- * https://file.sls.epilot.io/v1/files/public/preview?w=32&h=32&key=/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
113
- */
114
- thumbnail_32?: string; // uri
115
- };
116
- org_id: /**
117
- * example:
118
- * 123
119
- */
120
- OrganizationId;
121
- /**
122
- * example:
123
- * 2022-02-08T04:44:32.246Z
124
- */
125
- created_at?: string;
126
- /**
127
- * example:
128
- * 2022-02-08T04:44:32.246Z
129
- */
130
- activated_at?: string;
131
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
132
- /**
133
- * example:
134
- * 456
135
- */
136
- user_id: string;
137
- /**
138
- * example:
139
- * Email of ECP Placeholder
140
- */
141
- email?: string;
142
- }
143
- export interface AssignableGroup {
144
- /**
145
- * example:
146
- * user
147
- */
148
- type: string;
149
- /**
150
- * example:
151
- * Example User
152
- */
153
- display_name: string;
154
- image_uri?: {
155
- /**
156
- * example:
157
- * https://epilot-staging-user-content.s3.eu-central-1.amazonaws.com/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
158
- */
159
- original: string; // uri
160
- /**
161
- * example:
162
- * https://file.sls.epilot.io/v1/files/public/preview?w=32&h=32&key=/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
163
- */
164
- thumbnail_32?: string; // uri
165
- };
166
- org_id: /**
167
- * example:
168
- * 123
169
- */
170
- OrganizationId;
171
- /**
172
- * example:
173
- * 2022-02-08T04:44:32.246Z
174
- */
175
- created_at?: string;
176
- /**
177
- * example:
178
- * 2022-02-08T04:44:32.246Z
179
- */
180
- activated_at?: string;
181
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
182
- /**
183
- * example:
184
- * 456
185
- */
186
- group_id?: string;
187
- }
188
- export interface AssignableOrganization {
189
- /**
190
- * example:
191
- * partner_organization
192
- */
193
- type: "partner_organization";
194
- /**
195
- * example:
196
- * Example Partner Organization
197
- */
198
- display_name: string;
199
- image_uri?: {
200
- /**
201
- * example:
202
- * https://epilot-staging-user-content.s3.eu-central-1.amazonaws.com/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
203
- */
204
- original: string; // uri
205
- /**
206
- * example:
207
- * https://file.sls.epilot.io/v1/files/public/preview?w=32&h=32&key=/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
208
- */
209
- thumbnail_32?: string; // uri
210
- };
211
- org_id: /**
212
- * example:
213
- * 123
214
- */
215
- OrganizationId;
216
- /**
217
- * example:
218
- * 2022-02-08T04:44:32.246Z
219
- */
220
- created_at?: string;
221
- /**
222
- * example:
223
- * 2022-02-08T04:44:32.246Z
224
- */
225
- activated_at?: string;
226
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
227
- partner_id: /**
228
- * example:
229
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
230
- */
231
- PartnerId;
232
- /**
233
- * example:
234
- * Email of Partner Organization
235
- */
236
- email?: string;
237
- geolocations?: AddressGeolocation[];
238
- /**
239
- * example:
240
- * Phone number of Partner
241
- */
242
- phone?: string;
243
- /**
244
- * Activity radius, in km, the partner is operating in
245
- * example:
246
- * 50
247
- */
248
- activity_radius?: number;
249
- }
250
- export interface AssignablePartnerUser {
251
- /**
252
- * example:
253
- * partner_user
254
- */
255
- type: "partner_user";
256
- /**
257
- * example:
258
- * Example Partner User
259
- */
260
- display_name: string;
261
- image_uri?: {
262
- /**
263
- * example:
264
- * https://epilot-staging-user-content.s3.eu-central-1.amazonaws.com/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
265
- */
266
- original: string; // uri
267
- /**
268
- * example:
269
- * https://file.sls.epilot.io/v1/files/public/preview?w=32&h=32&key=/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
270
- */
271
- thumbnail_32?: string; // uri
272
- };
273
- org_id: /**
274
- * example:
275
- * 123
276
- */
277
- OrganizationId;
278
- /**
279
- * example:
280
- * 2022-02-08T04:44:32.246Z
281
- */
282
- created_at?: string;
283
- /**
284
- * example:
285
- * 2022-02-08T04:44:32.246Z
286
- */
287
- activated_at?: string;
288
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
289
- partner_id?: /**
290
- * example:
291
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
292
- */
293
- PartnerId;
294
- /**
295
- * example:
296
- * 456
297
- */
298
- user_id?: string;
299
- /**
300
- * example:
301
- * example@example.com
302
- */
303
- email?: string;
304
- }
305
- export interface AssignableUser {
306
- /**
307
- * example:
308
- * user
309
- */
310
- type: "user";
311
- /**
312
- * example:
313
- * Example User
314
- */
315
- display_name: string;
316
- image_uri?: {
317
- /**
318
- * example:
319
- * https://epilot-staging-user-content.s3.eu-central-1.amazonaws.com/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
320
- */
321
- original: string; // uri
322
- /**
323
- * example:
324
- * https://file.sls.epilot.io/v1/files/public/preview?w=32&h=32&key=/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
325
- */
326
- thumbnail_32?: string; // uri
327
- };
328
- org_id: /**
329
- * example:
330
- * 123
331
- */
332
- OrganizationId;
333
- /**
334
- * example:
335
- * 2022-02-08T04:44:32.246Z
336
- */
337
- created_at?: string;
338
- /**
339
- * example:
340
- * 2022-02-08T04:44:32.246Z
341
- */
342
- activated_at?: string;
343
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
344
- /**
345
- * example:
346
- * 456
347
- */
348
- user_id?: string;
349
- /**
350
- * example:
351
- * example@example.com
352
- */
353
- email?: string;
354
- }
355
- export interface BaseAssignable {
356
- /**
357
- * example:
358
- * user
359
- */
360
- type: string;
361
- /**
362
- * example:
363
- * Example User
364
- */
365
- display_name: string;
366
- image_uri?: {
367
- /**
368
- * example:
369
- * https://epilot-staging-user-content.s3.eu-central-1.amazonaws.com/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
370
- */
371
- original: string; // uri
372
- /**
373
- * example:
374
- * https://file.sls.epilot.io/v1/files/public/preview?w=32&h=32&key=/728/8043d909-71fc-4838-a363-1b15dc1d585c/epilot.png
375
- */
376
- thumbnail_32?: string; // uri
377
- };
378
- org_id: /**
379
- * example:
380
- * 123
381
- */
382
- OrganizationId;
383
- /**
384
- * example:
385
- * 2022-02-08T04:44:32.246Z
386
- */
387
- created_at?: string;
388
- /**
389
- * example:
390
- * 2022-02-08T04:44:32.246Z
391
- */
392
- activated_at?: string;
393
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
394
- }
395
- export interface BaseRoleForCreate {
396
- id?: /**
397
- * Format: <organization_id>:<slug>
398
- * example:
399
- * 123:owner
400
- */
401
- RoleId;
402
- /**
403
- * Human-friendly name for the role
404
- * example:
405
- * Owner
406
- */
407
- name: string;
408
- /**
409
- * URL-friendly name for the role
410
- * example:
411
- * owner
412
- */
413
- slug: string;
414
- /**
415
- * List of grants (permissions) applied to the role
416
- */
417
- grants: Grant[];
418
- }
419
- export interface CreatePartnerRolePayload {
420
- /**
421
- * Role name
422
- * example:
423
- * Partner Admin
424
- */
425
- name: string;
426
- /**
427
- * Role slug
428
- * example:
429
- * partner_admin
430
- */
431
- slug: string;
432
- /**
433
- * Permission grants for the role
434
- */
435
- grants: GrantWithDependencies[];
436
- }
437
- export interface CreatePartnerUserPayload {
438
- /**
439
- * User email address
440
- * example:
441
- * user@example.com
442
- */
443
- email: string; // email
444
- /**
445
- * User language
446
- * example:
447
- * en
448
- */
449
- language?: "en" | "de";
450
- /**
451
- * Role IDs that should be automatically assigned to this user upon creation
452
- * example:
453
- * [
454
- * "role-123",
455
- * "role-456"
456
- * ]
457
- */
458
- roles?: string[];
459
- }
460
- /**
461
- * Check if attribute equals to any of the values
462
- */
463
- export interface EqualsCondition {
464
- /**
465
- * example:
466
- * workflows.primary.task_name
467
- */
468
- attribute: string;
469
- operation: "equals";
470
- values: any[];
471
- }
472
- export interface Geolocation {
473
- /**
474
- * Latitude
475
- * example:
476
- * 49.013
477
- */
478
- lat: number;
479
- /**
480
- * Longitude
481
- * example:
482
- * 12.101
483
- */
484
- lng: number;
485
- /**
486
- * Full address label as returned by the location service
487
- */
488
- addressLabel?: string;
489
- /**
490
- * Relevance of the result. A number between 0 and 1. Closer to 1 means more relevant
491
- */
492
- relevance?: number;
493
- }
494
- export interface Grant {
495
- /**
496
- * example:
497
- * entity-read
498
- */
499
- action: string;
500
- /**
501
- * example:
502
- * entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947
503
- */
504
- resource?: string;
505
- effect?: "allow" | "deny";
506
- conditions?: /* An additional condition that must be met for the grant */ GrantCondition[];
507
- }
508
- /**
509
- * An additional condition that must be met for the grant
510
- */
511
- export type GrantCondition = /* An additional condition that must be met for the grant */ /* Check if attribute equals to any of the values */ EqualsCondition;
512
- export interface GrantWithDependencies {
513
- /**
514
- * example:
515
- * entity-read
516
- */
517
- action: string;
518
- /**
519
- * example:
520
- * entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947
521
- */
522
- resource?: string;
523
- effect?: "allow" | "deny";
524
- conditions?: /* An additional condition that must be met for the grant */ GrantCondition[];
525
- /**
526
- * Provided additional dependencies, exploded when storing the role
527
- */
528
- dependencies?: Grant[];
529
- }
530
- export type InviteToken = string;
531
- /**
532
- * example:
533
- * 123
534
- */
535
- export type OrganizationId = string;
536
- export interface Partner {
537
- id?: /**
538
- * example:
539
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
540
- */
541
- PartnerId;
542
- organization_id?: /**
543
- * example:
544
- * 123
545
- */
546
- OrganizationId;
547
- /**
548
- * example:
549
- * 2022-02-08T04:44:32.246Z
550
- */
551
- created_at?: string;
552
- /**
553
- * Description
554
- * example:
555
- * Description
556
- */
557
- description?: string;
558
- /**
559
- * Company name
560
- * example:
561
- * Company name
562
- */
563
- company_name?: string;
564
- /**
565
- * Invitation token
566
- */
567
- invitation_token?: string;
568
- /**
569
- * Email using to receive invitation
570
- */
571
- invitation_email?: string; // email
572
- /**
573
- * Email using to receive invitation
574
- */
575
- email?: string; // email
576
- /**
577
- * A separate email where the invitation should be sent
578
- */
579
- owner_email?: string; // email
580
- /**
581
- * Email using to sign up
582
- */
583
- signed_up_email?: string; // email
584
- /**
585
- * Target Organization
586
- * example:
587
- * 123456
588
- */
589
- partner_org_id?: string;
590
- status?: "Pending" | "Request" | "Deleted" | "Invited" | "Rejected";
591
- }
592
- /**
593
- * example:
594
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
595
- */
596
- export type PartnerId = string;
597
- export interface PartnerInvitationPayload {
598
- /**
599
- * Language for partner invitation email
600
- */
601
- language?: "en" | "de";
602
- }
603
- export interface PartnerRole {
604
- /**
605
- * Role ID
606
- * example:
607
- * role-123
608
- */
609
- id: string;
610
- /**
611
- * Role slug
612
- * example:
613
- * admin
614
- */
615
- slug: string;
616
- /**
617
- * Role name
618
- * example:
619
- * Administrator
620
- */
621
- name: string;
622
- /**
623
- * Role type
624
- * example:
625
- * share_role
626
- */
627
- type?: string;
628
- }
629
- export interface PartnerUser {
630
- /**
631
- * User ID
632
- * example:
633
- * 456
634
- */
635
- id: string;
636
- /**
637
- * User name
638
- * example:
639
- * John Doe
640
- */
641
- name?: string;
642
- /**
643
- * User email
644
- * example:
645
- * user@example.com
646
- */
647
- email: string; // email
648
- /**
649
- * User status
650
- * example:
651
- * Active
652
- */
653
- status: string;
654
- image?: {
655
- /**
656
- * Original image URI
657
- */
658
- original?: string; // uri
659
- /**
660
- * Thumbnail image URI (32x32)
661
- */
662
- thumbnail_32?: string; // uri
663
- };
664
- /**
665
- * List of roles assigned to the user
666
- */
667
- roles: {
668
- /**
669
- * Role ID
670
- * example:
671
- * role-123
672
- */
673
- id: string;
674
- /**
675
- * Role slug
676
- * example:
677
- * admin
678
- */
679
- slug: string;
680
- /**
681
- * Role name
682
- * example:
683
- * Administrator
684
- */
685
- name: string;
686
- }[];
687
- }
688
- /**
689
- * Format: <organization_id>:<slug>
690
- * example:
691
- * 123:owner
692
- */
693
- export type RoleId = string;
694
- export interface SearchGeolocation {
695
- /**
696
- * Address text to convert into geolocation coordinates
697
- * example:
698
- * Auweg 1, 93055 Regensburg, DE
699
- */
700
- address: string;
701
- }
702
- export interface UpdatePartnerRolePayload {
703
- /**
704
- * List of grants (permissions) applied to the role
705
- */
706
- grants: Grant[];
707
- id?: /**
708
- * Format: <organization_id>:<slug>
709
- * example:
710
- * 123:owner
711
- */
712
- RoleId;
713
- /**
714
- * Human-friendly name for the role
715
- * example:
716
- * Owner
717
- */
718
- name: string;
719
- /**
720
- * URL-friendly name for the role
721
- * example:
722
- * owner
723
- */
724
- slug: string;
725
- }
726
- export interface User {
727
- /**
728
- * User ID
729
- * example:
730
- * 456
731
- */
732
- id?: string;
733
- /**
734
- * User email
735
- * example:
736
- * user@example.com
737
- */
738
- email?: string; // email
739
- /**
740
- * User display name
741
- * example:
742
- * John Doe
743
- */
744
- display_name?: string;
745
- /**
746
- * User status
747
- * example:
748
- * Active
749
- */
750
- status?: string;
751
- }
752
- }
753
- }
754
- declare namespace Paths {
755
- namespace ActivatePartner {
756
- namespace Parameters {
757
- export type Token = Components.Schemas.InviteToken;
758
- }
759
- export interface QueryParameters {
760
- token: Parameters.Token;
761
- }
762
- export type RequestBody = Components.Schemas.ActivatePartnerPayload;
763
- namespace Responses {
764
- export interface $200 {
765
- }
766
- export interface $404 {
767
- }
768
- }
769
- }
770
- namespace ApprovePartner {
771
- namespace Parameters {
772
- export type Id = /**
773
- * example:
774
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
775
- */
776
- Components.Schemas.PartnerId;
777
- }
778
- export interface PathParameters {
779
- id: Parameters.Id;
780
- }
781
- namespace Responses {
782
- export type $201 = Components.Schemas.Partner;
783
- export interface $400 {
784
- }
785
- }
786
- }
787
- namespace AssignPartnerUserRoles {
788
- namespace Parameters {
789
- export type OrgId = /**
790
- * example:
791
- * 123
792
- */
793
- Components.Schemas.OrganizationId;
794
- export type UserId = string;
795
- }
796
- export interface PathParameters {
797
- orgId: Parameters.OrgId;
798
- userId: Parameters.UserId;
799
- }
800
- export type RequestBody = Components.Schemas.AssignRolesPayload;
801
- namespace Responses {
802
- export interface $200 {
803
- results?: {
804
- roleId?: string;
805
- success?: boolean;
806
- data?: {
807
- [key: string]: any;
808
- };
809
- error?: {
810
- [key: string]: any;
811
- };
812
- }[];
813
- }
814
- export interface $400 {
815
- }
816
- export interface $500 {
817
- }
818
- }
819
- }
820
- namespace BatchGetAssignable {
821
- export type RequestBody = {
822
- /**
823
- * user id of assignable
824
- */
825
- user_id?: string;
826
- /**
827
- * organization id of assignable (optional, defaults to caller org)
828
- */
829
- org_id?: string;
830
- /**
831
- * group id of assignable (optional)
832
- */
833
- group_id?: string;
834
- }[];
835
- namespace Responses {
836
- export interface $200 {
837
- /**
838
- * total number of search results
839
- * example:
840
- * 25
841
- */
842
- hits?: number;
843
- results?: Components.Schemas.Assignable[];
844
- }
845
- }
846
- }
847
- namespace CreatePartnerRole {
848
- namespace Parameters {
849
- export type OrgId = /**
850
- * example:
851
- * 123
852
- */
853
- Components.Schemas.OrganizationId;
854
- }
855
- export interface PathParameters {
856
- orgId: Parameters.OrgId;
857
- }
858
- export type RequestBody = Components.Schemas.CreatePartnerRolePayload;
859
- namespace Responses {
860
- export type $201 = Components.Schemas.PartnerRole;
861
- export interface $400 {
862
- }
863
- export interface $500 {
864
- }
865
- }
866
- }
867
- namespace CreatePartnerUser {
868
- namespace Parameters {
869
- export type OrgId = /**
870
- * example:
871
- * 123
872
- */
873
- Components.Schemas.OrganizationId;
874
- }
875
- export interface PathParameters {
876
- orgId: Parameters.OrgId;
877
- }
878
- export type RequestBody = Components.Schemas.CreatePartnerUserPayload;
879
- namespace Responses {
880
- export type $201 = Components.Schemas.User;
881
- export interface $400 {
882
- }
883
- export interface $500 {
884
- }
885
- }
886
- }
887
- namespace DeletePartnerUser {
888
- namespace Parameters {
889
- export type OrgId = /**
890
- * example:
891
- * 123
892
- */
893
- Components.Schemas.OrganizationId;
894
- export type UserId = string;
895
- }
896
- export interface PathParameters {
897
- orgId: Parameters.OrgId;
898
- userId: Parameters.UserId;
899
- }
900
- namespace Responses {
901
- export interface $200 {
902
- }
903
- export interface $400 {
904
- }
905
- export interface $404 {
906
- }
907
- export interface $500 {
908
- }
909
- }
910
- }
911
- namespace GetPartnerByToken {
912
- namespace Parameters {
913
- export type Token = Components.Schemas.InviteToken;
914
- }
915
- export interface QueryParameters {
916
- token: Parameters.Token;
917
- }
918
- namespace Responses {
919
- export type $200 = Components.Schemas.Partner;
920
- export interface $404 {
921
- }
922
- }
923
- }
924
- namespace GetPartnerRoles {
925
- namespace Parameters {
926
- export type OrgId = /**
927
- * example:
928
- * 123
929
- */
930
- Components.Schemas.OrganizationId;
931
- }
932
- export interface PathParameters {
933
- orgId: Parameters.OrgId;
934
- }
935
- namespace Responses {
936
- export interface $200 {
937
- results?: Components.Schemas.PartnerRole[];
938
- }
939
- export interface $400 {
940
- }
941
- export interface $500 {
942
- }
943
- }
944
- }
945
- namespace GetPartnerUsers {
946
- namespace Parameters {
947
- export type OrgId = /**
948
- * example:
949
- * 123
950
- */
951
- Components.Schemas.OrganizationId;
952
- }
953
- export interface PathParameters {
954
- orgId: Parameters.OrgId;
955
- }
956
- namespace Responses {
957
- export interface $200 {
958
- results?: Components.Schemas.PartnerUser[];
959
- }
960
- export interface $400 {
961
- }
962
- export interface $500 {
963
- }
964
- }
965
- }
966
- namespace InvitePartnerV2 {
967
- namespace Parameters {
968
- export type Id = /**
969
- * example:
970
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
971
- */
972
- Components.Schemas.PartnerId;
973
- }
974
- export interface PathParameters {
975
- id: Parameters.Id;
976
- }
977
- export type RequestBody = Components.Schemas.PartnerInvitationPayload;
978
- namespace Responses {
979
- export type $200 = Components.Schemas.Partner;
980
- export interface $400 {
981
- }
982
- }
983
- }
984
- namespace RejectPartner {
985
- namespace Parameters {
986
- export type Id = /**
987
- * example:
988
- * e45a6dc2-3795-43a3-ae0f-6b6760f310fc
989
- */
990
- Components.Schemas.PartnerId;
991
- }
992
- export interface PathParameters {
993
- id: Parameters.Id;
994
- }
995
- namespace Responses {
996
- export type $200 = Components.Schemas.Partner;
997
- export interface $400 {
998
- }
999
- }
1000
- }
1001
- namespace SearchAssignable {
1002
- export interface RequestBody {
1003
- /**
1004
- * search query to filter results
1005
- */
1006
- q: string;
1007
- /**
1008
- * start results from an offset for pagination
1009
- */
1010
- from?: number;
1011
- /**
1012
- * limit number of results to return
1013
- */
1014
- size?: number;
1015
- /**
1016
- * filter results to specific organizations. defaults to all orgs
1017
- */
1018
- org_ids?: /**
1019
- * example:
1020
- * 123
1021
- */
1022
- Components.Schemas.OrganizationId[];
1023
- /**
1024
- * Optional parameter if 'types' contains 'ecp' type user. Portal Users will only be fetched in the context of an entity, fetching the related ones through relations and not returning placeholders anymore.
1025
- */
1026
- portalUsersEntityIdScope?: string;
1027
- /**
1028
- * filter results to specific types of assignables. defaults to all types
1029
- */
1030
- types?: ("user" | "partner_user" | "partner_organization" | "ecp" | "group" | "parent_organization_user")[];
1031
- }
1032
- namespace Responses {
1033
- export interface $200 {
1034
- /**
1035
- * total number of search results
1036
- * example:
1037
- * 25
1038
- */
1039
- hits?: number;
1040
- results?: Components.Schemas.Assignable[];
1041
- }
1042
- }
1043
- }
1044
- namespace SearchGeolocationForText {
1045
- export type RequestBody = Components.Schemas.SearchGeolocation;
1046
- namespace Responses {
1047
- export type $200 = Components.Schemas.Geolocation;
1048
- export interface $400 {
1049
- }
1050
- export interface $404 {
1051
- }
1052
- }
1053
- }
1054
- namespace UnassignPartnerUserRoles {
1055
- namespace Parameters {
1056
- export type OrgId = /**
1057
- * example:
1058
- * 123
1059
- */
1060
- Components.Schemas.OrganizationId;
1061
- export type UserId = string;
1062
- }
1063
- export interface PathParameters {
1064
- orgId: Parameters.OrgId;
1065
- userId: Parameters.UserId;
1066
- }
1067
- export type RequestBody = Components.Schemas.AssignRolesPayload;
1068
- namespace Responses {
1069
- export interface $200 {
1070
- results?: {
1071
- roleId?: string;
1072
- success?: boolean;
1073
- data?: {
1074
- [key: string]: any;
1075
- };
1076
- error?: {
1077
- [key: string]: any;
1078
- };
1079
- }[];
1080
- }
1081
- export interface $400 {
1082
- }
1083
- export interface $500 {
1084
- }
1085
- }
1086
- }
1087
- namespace UpdatePartnerRole {
1088
- namespace Parameters {
1089
- export type OrgId = /**
1090
- * example:
1091
- * 123
1092
- */
1093
- Components.Schemas.OrganizationId;
1094
- export type RoleId = string;
1095
- }
1096
- export interface PathParameters {
1097
- orgId: Parameters.OrgId;
1098
- roleId: Parameters.RoleId;
1099
- }
1100
- export type RequestBody = Components.Schemas.UpdatePartnerRolePayload;
1101
- namespace Responses {
1102
- export type $200 = Components.Schemas.PartnerRole;
1103
- export interface $400 {
1104
- }
1105
- export interface $500 {
1106
- }
1107
- }
1108
- }
1109
- }
1110
-
1111
- interface OperationMethods {
1112
- /**
1113
- * approvePartner - approvePartner
1114
- *
1115
- * Approve partner request
1116
- */
1117
- 'approvePartner'(
1118
- parameters?: Parameters<Paths.ApprovePartner.PathParameters> | null,
1119
- data?: any,
1120
- config?: AxiosRequestConfig
1121
- ): OperationResponse<Paths.ApprovePartner.Responses.$201>
1122
- /**
1123
- * rejectPartner - rejectPartner
1124
- *
1125
- * Reject partner request
1126
- */
1127
- 'rejectPartner'(
1128
- parameters?: Parameters<Paths.RejectPartner.PathParameters> | null,
1129
- data?: any,
1130
- config?: AxiosRequestConfig
1131
- ): OperationResponse<Paths.RejectPartner.Responses.$200>
1132
- /**
1133
- * searchAssignable - searchAssignables
1134
- *
1135
- * Search for assignable users/organizations from this organization and Partners
1136
- *
1137
- * Results can include:
1138
- * - Users in your organization
1139
- * - Users in partner organizations
1140
- * - Partner organizations
1141
- *
1142
- */
1143
- 'searchAssignable'(
1144
- parameters?: Parameters<UnknownParamsObject> | null,
1145
- data?: Paths.SearchAssignable.RequestBody,
1146
- config?: AxiosRequestConfig
1147
- ): OperationResponse<Paths.SearchAssignable.Responses.$200>
1148
- /**
1149
- * batchGetAssignable - batchGet
1150
- *
1151
- * Search for assignable users from this organization by its ids
1152
- *
1153
- */
1154
- 'batchGetAssignable'(
1155
- parameters?: Parameters<UnknownParamsObject> | null,
1156
- data?: Paths.BatchGetAssignable.RequestBody,
1157
- config?: AxiosRequestConfig
1158
- ): OperationResponse<Paths.BatchGetAssignable.Responses.$200>
1159
- /**
1160
- * getPartnerByToken - getPartnerByToken
1161
- *
1162
- * Get partner by token
1163
- */
1164
- 'getPartnerByToken'(
1165
- parameters?: Parameters<Paths.GetPartnerByToken.QueryParameters> | null,
1166
- data?: any,
1167
- config?: AxiosRequestConfig
1168
- ): OperationResponse<Paths.GetPartnerByToken.Responses.$200>
1169
- /**
1170
- * activatePartner - activatePartner
1171
- *
1172
- * Activate partner using an invite token
1173
- */
1174
- 'activatePartner'(
1175
- parameters?: Parameters<Paths.ActivatePartner.QueryParameters> | null,
1176
- data?: Paths.ActivatePartner.RequestBody,
1177
- config?: AxiosRequestConfig
1178
- ): OperationResponse<Paths.ActivatePartner.Responses.$200>
1179
- /**
1180
- * searchGeolocationForText - searchGeolocationForText
1181
- *
1182
- * Converts a given string, in the format of an address, to geo-location latitude and longitude
1183
- */
1184
- 'searchGeolocationForText'(
1185
- parameters?: Parameters<UnknownParamsObject> | null,
1186
- data?: Paths.SearchGeolocationForText.RequestBody,
1187
- config?: AxiosRequestConfig
1188
- ): OperationResponse<Paths.SearchGeolocationForText.Responses.$200>
1189
- /**
1190
- * invitePartnerV2 - invitePartnerV2
1191
- *
1192
- * Invite a partner into collaboration. It will send an email to partner and ask to join into collaboration
1193
- */
1194
- 'invitePartnerV2'(
1195
- parameters?: Parameters<Paths.InvitePartnerV2.PathParameters> | null,
1196
- data?: Paths.InvitePartnerV2.RequestBody,
1197
- config?: AxiosRequestConfig
1198
- ): OperationResponse<Paths.InvitePartnerV2.Responses.$200>
1199
- /**
1200
- * getPartnerUsers - getPartnerUsers
1201
- *
1202
- * Get all users for a partner organization with their roles
1203
- */
1204
- 'getPartnerUsers'(
1205
- parameters?: Parameters<Paths.GetPartnerUsers.PathParameters> | null,
1206
- data?: any,
1207
- config?: AxiosRequestConfig
1208
- ): OperationResponse<Paths.GetPartnerUsers.Responses.$200>
1209
- /**
1210
- * createPartnerUser - createPartnerUser
1211
- *
1212
- * Create a new user in a partner organization
1213
- */
1214
- 'createPartnerUser'(
1215
- parameters?: Parameters<Paths.CreatePartnerUser.PathParameters> | null,
1216
- data?: Paths.CreatePartnerUser.RequestBody,
1217
- config?: AxiosRequestConfig
1218
- ): OperationResponse<Paths.CreatePartnerUser.Responses.$201>
1219
- /**
1220
- * deletePartnerUser - deletePartnerUser
1221
- *
1222
- * Delete a user from a partner organization
1223
- */
1224
- 'deletePartnerUser'(
1225
- parameters?: Parameters<Paths.DeletePartnerUser.PathParameters> | null,
1226
- data?: any,
1227
- config?: AxiosRequestConfig
1228
- ): OperationResponse<Paths.DeletePartnerUser.Responses.$200>
1229
- /**
1230
- * getPartnerRoles - getPartnerRoles
1231
- *
1232
- * Get all roles for a partner organization
1233
- */
1234
- 'getPartnerRoles'(
1235
- parameters?: Parameters<Paths.GetPartnerRoles.PathParameters> | null,
1236
- data?: any,
1237
- config?: AxiosRequestConfig
1238
- ): OperationResponse<Paths.GetPartnerRoles.Responses.$200>
1239
- /**
1240
- * createPartnerRole - createPartnerRole
1241
- *
1242
- * Create a role for a partner organization
1243
- */
1244
- 'createPartnerRole'(
1245
- parameters?: Parameters<Paths.CreatePartnerRole.PathParameters> | null,
1246
- data?: Paths.CreatePartnerRole.RequestBody,
1247
- config?: AxiosRequestConfig
1248
- ): OperationResponse<Paths.CreatePartnerRole.Responses.$201>
1249
- /**
1250
- * updatePartnerRole - updatePartnerRole
1251
- *
1252
- * Update a role for a partner organization
1253
- */
1254
- 'updatePartnerRole'(
1255
- parameters?: Parameters<Paths.UpdatePartnerRole.PathParameters> | null,
1256
- data?: Paths.UpdatePartnerRole.RequestBody,
1257
- config?: AxiosRequestConfig
1258
- ): OperationResponse<Paths.UpdatePartnerRole.Responses.$200>
1259
- /**
1260
- * assignPartnerUserRoles - assignPartnerUserRoles
1261
- *
1262
- * Assign roles to a user in a partner organization
1263
- */
1264
- 'assignPartnerUserRoles'(
1265
- parameters?: Parameters<Paths.AssignPartnerUserRoles.PathParameters> | null,
1266
- data?: Paths.AssignPartnerUserRoles.RequestBody,
1267
- config?: AxiosRequestConfig
1268
- ): OperationResponse<Paths.AssignPartnerUserRoles.Responses.$200>
1269
- /**
1270
- * unassignPartnerUserRoles - unassignPartnerUserRoles
1271
- *
1272
- * Unassign roles from a user in a partner organization
1273
- */
1274
- 'unassignPartnerUserRoles'(
1275
- parameters?: Parameters<Paths.UnassignPartnerUserRoles.PathParameters> | null,
1276
- data?: Paths.UnassignPartnerUserRoles.RequestBody,
1277
- config?: AxiosRequestConfig
1278
- ): OperationResponse<Paths.UnassignPartnerUserRoles.Responses.$200>
1279
- }
1280
-
1281
- interface PathsDictionary {
1282
- ['/v1/partners/{id}/approve']: {
1283
- /**
1284
- * approvePartner - approvePartner
1285
- *
1286
- * Approve partner request
1287
- */
1288
- 'post'(
1289
- parameters?: Parameters<Paths.ApprovePartner.PathParameters> | null,
1290
- data?: any,
1291
- config?: AxiosRequestConfig
1292
- ): OperationResponse<Paths.ApprovePartner.Responses.$201>
1293
- }
1294
- ['/v1/partners/{id}/reject']: {
1295
- /**
1296
- * rejectPartner - rejectPartner
1297
- *
1298
- * Reject partner request
1299
- */
1300
- 'post'(
1301
- parameters?: Parameters<Paths.RejectPartner.PathParameters> | null,
1302
- data?: any,
1303
- config?: AxiosRequestConfig
1304
- ): OperationResponse<Paths.RejectPartner.Responses.$200>
1305
- }
1306
- ['/v1/partners/assignables:search']: {
1307
- /**
1308
- * searchAssignable - searchAssignables
1309
- *
1310
- * Search for assignable users/organizations from this organization and Partners
1311
- *
1312
- * Results can include:
1313
- * - Users in your organization
1314
- * - Users in partner organizations
1315
- * - Partner organizations
1316
- *
1317
- */
1318
- 'post'(
1319
- parameters?: Parameters<UnknownParamsObject> | null,
1320
- data?: Paths.SearchAssignable.RequestBody,
1321
- config?: AxiosRequestConfig
1322
- ): OperationResponse<Paths.SearchAssignable.Responses.$200>
1323
- }
1324
- ['/v1/partners/assignables:batchGet']: {
1325
- /**
1326
- * batchGetAssignable - batchGet
1327
- *
1328
- * Search for assignable users from this organization by its ids
1329
- *
1330
- */
1331
- 'post'(
1332
- parameters?: Parameters<UnknownParamsObject> | null,
1333
- data?: Paths.BatchGetAssignable.RequestBody,
1334
- config?: AxiosRequestConfig
1335
- ): OperationResponse<Paths.BatchGetAssignable.Responses.$200>
1336
- }
1337
- ['/v1/partner-directory/public/getPartnerByToken']: {
1338
- /**
1339
- * getPartnerByToken - getPartnerByToken
1340
- *
1341
- * Get partner by token
1342
- */
1343
- 'get'(
1344
- parameters?: Parameters<Paths.GetPartnerByToken.QueryParameters> | null,
1345
- data?: any,
1346
- config?: AxiosRequestConfig
1347
- ): OperationResponse<Paths.GetPartnerByToken.Responses.$200>
1348
- }
1349
- ['/v1/partner-directory/public/activate']: {
1350
- /**
1351
- * activatePartner - activatePartner
1352
- *
1353
- * Activate partner using an invite token
1354
- */
1355
- 'post'(
1356
- parameters?: Parameters<Paths.ActivatePartner.QueryParameters> | null,
1357
- data?: Paths.ActivatePartner.RequestBody,
1358
- config?: AxiosRequestConfig
1359
- ): OperationResponse<Paths.ActivatePartner.Responses.$200>
1360
- }
1361
- ['/v1/geolocation/text:search']: {
1362
- /**
1363
- * searchGeolocationForText - searchGeolocationForText
1364
- *
1365
- * Converts a given string, in the format of an address, to geo-location latitude and longitude
1366
- */
1367
- 'post'(
1368
- parameters?: Parameters<UnknownParamsObject> | null,
1369
- data?: Paths.SearchGeolocationForText.RequestBody,
1370
- config?: AxiosRequestConfig
1371
- ): OperationResponse<Paths.SearchGeolocationForText.Responses.$200>
1372
- }
1373
- ['/v2/partners/{id}/invite']: {
1374
- /**
1375
- * invitePartnerV2 - invitePartnerV2
1376
- *
1377
- * Invite a partner into collaboration. It will send an email to partner and ask to join into collaboration
1378
- */
1379
- 'post'(
1380
- parameters?: Parameters<Paths.InvitePartnerV2.PathParameters> | null,
1381
- data?: Paths.InvitePartnerV2.RequestBody,
1382
- config?: AxiosRequestConfig
1383
- ): OperationResponse<Paths.InvitePartnerV2.Responses.$200>
1384
- }
1385
- ['/v2/partners/{orgId}/users']: {
1386
- /**
1387
- * getPartnerUsers - getPartnerUsers
1388
- *
1389
- * Get all users for a partner organization with their roles
1390
- */
1391
- 'get'(
1392
- parameters?: Parameters<Paths.GetPartnerUsers.PathParameters> | null,
1393
- data?: any,
1394
- config?: AxiosRequestConfig
1395
- ): OperationResponse<Paths.GetPartnerUsers.Responses.$200>
1396
- /**
1397
- * createPartnerUser - createPartnerUser
1398
- *
1399
- * Create a new user in a partner organization
1400
- */
1401
- 'post'(
1402
- parameters?: Parameters<Paths.CreatePartnerUser.PathParameters> | null,
1403
- data?: Paths.CreatePartnerUser.RequestBody,
1404
- config?: AxiosRequestConfig
1405
- ): OperationResponse<Paths.CreatePartnerUser.Responses.$201>
1406
- }
1407
- ['/v2/partners/{orgId}/users/{userId}']: {
1408
- /**
1409
- * deletePartnerUser - deletePartnerUser
1410
- *
1411
- * Delete a user from a partner organization
1412
- */
1413
- 'delete'(
1414
- parameters?: Parameters<Paths.DeletePartnerUser.PathParameters> | null,
1415
- data?: any,
1416
- config?: AxiosRequestConfig
1417
- ): OperationResponse<Paths.DeletePartnerUser.Responses.$200>
1418
- }
1419
- ['/v2/partners/{orgId}/roles']: {
1420
- /**
1421
- * getPartnerRoles - getPartnerRoles
1422
- *
1423
- * Get all roles for a partner organization
1424
- */
1425
- 'get'(
1426
- parameters?: Parameters<Paths.GetPartnerRoles.PathParameters> | null,
1427
- data?: any,
1428
- config?: AxiosRequestConfig
1429
- ): OperationResponse<Paths.GetPartnerRoles.Responses.$200>
1430
- /**
1431
- * createPartnerRole - createPartnerRole
1432
- *
1433
- * Create a role for a partner organization
1434
- */
1435
- 'post'(
1436
- parameters?: Parameters<Paths.CreatePartnerRole.PathParameters> | null,
1437
- data?: Paths.CreatePartnerRole.RequestBody,
1438
- config?: AxiosRequestConfig
1439
- ): OperationResponse<Paths.CreatePartnerRole.Responses.$201>
1440
- }
1441
- ['/v2/partners/{orgId}/roles/{roleId}']: {
1442
- /**
1443
- * updatePartnerRole - updatePartnerRole
1444
- *
1445
- * Update a role for a partner organization
1446
- */
1447
- 'put'(
1448
- parameters?: Parameters<Paths.UpdatePartnerRole.PathParameters> | null,
1449
- data?: Paths.UpdatePartnerRole.RequestBody,
1450
- config?: AxiosRequestConfig
1451
- ): OperationResponse<Paths.UpdatePartnerRole.Responses.$200>
1452
- }
1453
- ['/v2/partners/{orgId}/users/{userId}/roles']: {
1454
- /**
1455
- * assignPartnerUserRoles - assignPartnerUserRoles
1456
- *
1457
- * Assign roles to a user in a partner organization
1458
- */
1459
- 'post'(
1460
- parameters?: Parameters<Paths.AssignPartnerUserRoles.PathParameters> | null,
1461
- data?: Paths.AssignPartnerUserRoles.RequestBody,
1462
- config?: AxiosRequestConfig
1463
- ): OperationResponse<Paths.AssignPartnerUserRoles.Responses.$200>
1464
- /**
1465
- * unassignPartnerUserRoles - unassignPartnerUserRoles
1466
- *
1467
- * Unassign roles from a user in a partner organization
1468
- */
1469
- 'delete'(
1470
- parameters?: Parameters<Paths.UnassignPartnerUserRoles.PathParameters> | null,
1471
- data?: Paths.UnassignPartnerUserRoles.RequestBody,
1472
- config?: AxiosRequestConfig
1473
- ): OperationResponse<Paths.UnassignPartnerUserRoles.Responses.$200>
1474
- }
1475
- }
1476
-
1477
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1478
-
1479
- type ActivatePartnerPayload = Components.Schemas.ActivatePartnerPayload;
1480
- type Address = Components.Schemas.Address;
1481
- type AddressGeolocation = Components.Schemas.AddressGeolocation;
1482
- type AssignRolesPayload = Components.Schemas.AssignRolesPayload;
1483
- type Assignable = Components.Schemas.Assignable;
1484
- type AssignableEcpPlaceholder = Components.Schemas.AssignableEcpPlaceholder;
1485
- type AssignableGroup = Components.Schemas.AssignableGroup;
1486
- type AssignableOrganization = Components.Schemas.AssignableOrganization;
1487
- type AssignablePartnerUser = Components.Schemas.AssignablePartnerUser;
1488
- type AssignableUser = Components.Schemas.AssignableUser;
1489
- type BaseAssignable = Components.Schemas.BaseAssignable;
1490
- type BaseRoleForCreate = Components.Schemas.BaseRoleForCreate;
1491
- type CreatePartnerRolePayload = Components.Schemas.CreatePartnerRolePayload;
1492
- type CreatePartnerUserPayload = Components.Schemas.CreatePartnerUserPayload;
1493
- type EqualsCondition = Components.Schemas.EqualsCondition;
1494
- type Geolocation = Components.Schemas.Geolocation;
1495
- type Grant = Components.Schemas.Grant;
1496
- type GrantCondition = Components.Schemas.GrantCondition;
1497
- type GrantWithDependencies = Components.Schemas.GrantWithDependencies;
1498
- type InviteToken = Components.Schemas.InviteToken;
1499
- type OrganizationId = Components.Schemas.OrganizationId;
1500
- type Partner = Components.Schemas.Partner;
1501
- type PartnerId = Components.Schemas.PartnerId;
1502
- type PartnerInvitationPayload = Components.Schemas.PartnerInvitationPayload;
1503
- type PartnerRole = Components.Schemas.PartnerRole;
1504
- type PartnerUser = Components.Schemas.PartnerUser;
1505
- type RoleId = Components.Schemas.RoleId;
1506
- type SearchGeolocation = Components.Schemas.SearchGeolocation;
1507
- type UpdatePartnerRolePayload = Components.Schemas.UpdatePartnerRolePayload;
1508
- type User = Components.Schemas.User;
1509
-
1510
- export { type ActivatePartnerPayload as A, type BaseAssignable as B, type Client as C, type EqualsCondition as E, type Geolocation as G, type InviteToken as I, type OperationMethods as O, Paths as P, type RoleId as R, type SearchGeolocation as S, type UpdatePartnerRolePayload as U, Components as a, type PathsDictionary as b, type Address as c, type AddressGeolocation as d, type AssignRolesPayload as e, type Assignable as f, type AssignableEcpPlaceholder as g, type AssignableGroup as h, type AssignableOrganization as i, type AssignablePartnerUser as j, type AssignableUser as k, type BaseRoleForCreate as l, type CreatePartnerRolePayload as m, type CreatePartnerUserPayload as n, type Grant as o, type GrantCondition as p, type GrantWithDependencies as q, type OrganizationId as r, type Partner as s, type PartnerId as t, type PartnerInvitationPayload as u, type PartnerRole as v, type PartnerUser as w, type User as x };