@usethrottle/api-client 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/__tests__/api-error-throttle-error.test.d.ts +2 -0
- package/dist/__tests__/api-error-throttle-error.test.d.ts.map +1 -0
- package/dist/__tests__/api-error-throttle-error.test.js +34 -0
- package/dist/__tests__/api-error-throttle-error.test.js.map +1 -0
- package/dist/generated/core/ApiError.d.ts +2 -2
- package/dist/generated/core/ApiError.d.ts.map +1 -1
- package/dist/generated/core/ApiError.js +17 -4
- package/dist/generated/core/ApiError.js.map +1 -1
- package/dist/generated/core/OpenAPI.js +1 -1
- package/dist/generated/services/AuditService.d.ts +2 -1
- package/dist/generated/services/AuditService.d.ts.map +1 -1
- package/dist/generated/services/AuditService.js +3 -1
- package/dist/generated/services/AuditService.js.map +1 -1
- package/dist/generated/services/CartsService.d.ts +7 -0
- package/dist/generated/services/CartsService.d.ts.map +1 -1
- package/dist/generated/services/CartsService.js.map +1 -1
- package/dist/generated/services/ConnectorsService.d.ts +40 -0
- package/dist/generated/services/ConnectorsService.d.ts.map +1 -1
- package/dist/generated/services/ConnectorsService.js +69 -0
- package/dist/generated/services/ConnectorsService.js.map +1 -1
- package/dist/generated/services/DefaultService.d.ts +439 -33
- package/dist/generated/services/DefaultService.d.ts.map +1 -1
- package/dist/generated/services/DefaultService.js +1080 -60
- package/dist/generated/services/DefaultService.js.map +1 -1
- package/dist/generated/services/EmbedService.d.ts +5 -0
- package/dist/generated/services/EmbedService.d.ts.map +1 -1
- package/dist/generated/services/EmbedService.js.map +1 -1
- package/dist/generated/services/ExtensionsService.d.ts +358 -17
- package/dist/generated/services/ExtensionsService.d.ts.map +1 -1
- package/dist/generated/services/ExtensionsService.js +268 -1
- package/dist/generated/services/ExtensionsService.js.map +1 -1
- package/dist/generated/services/OrdersService.d.ts +3 -0
- package/dist/generated/services/OrdersService.d.ts.map +1 -1
- package/dist/generated/services/OrdersService.js.map +1 -1
- package/dist/generated/services/PaymentsService.d.ts +1 -0
- package/dist/generated/services/PaymentsService.d.ts.map +1 -1
- package/dist/generated/services/PaymentsService.js.map +1 -1
- package/dist/generated/services/TeamService.d.ts +6 -0
- package/dist/generated/services/TeamService.d.ts.map +1 -1
- package/dist/generated/services/TeamService.js +14 -0
- package/dist/generated/services/TeamService.js.map +1 -1
- package/dist/generated/services/WebhooksOutboundService.d.ts +11 -3
- package/dist/generated/services/WebhooksOutboundService.d.ts.map +1 -1
- package/dist/generated/services/WebhooksOutboundService.js +19 -0
- package/dist/generated/services/WebhooksOutboundService.js.map +1 -1
- package/dist/generated/services/WebhooksService.d.ts +6 -6
- package/dist/generated/services/WebhooksService.d.ts.map +1 -1
- package/package.json +4 -1
|
@@ -11,6 +11,16 @@ export class DefaultService {
|
|
|
11
11
|
url: '/health',
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @returns any Default Response
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static getReady() {
|
|
19
|
+
return __request(OpenAPI, {
|
|
20
|
+
method: 'GET',
|
|
21
|
+
url: '/ready',
|
|
22
|
+
});
|
|
23
|
+
}
|
|
14
24
|
/**
|
|
15
25
|
* @returns any Default Response
|
|
16
26
|
* @throws ApiError
|
|
@@ -386,47 +396,53 @@ export class DefaultService {
|
|
|
386
396
|
});
|
|
387
397
|
}
|
|
388
398
|
/**
|
|
399
|
+
* @param id
|
|
389
400
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
390
401
|
* @returns any Default Response
|
|
391
402
|
* @throws ApiError
|
|
392
403
|
*/
|
|
393
|
-
static
|
|
404
|
+
static getApiV1ExtensionsListing(id, xThrottleEnvironmentId) {
|
|
394
405
|
return __request(OpenAPI, {
|
|
395
406
|
method: 'GET',
|
|
396
|
-
url: '/api/v1/
|
|
407
|
+
url: '/api/v1/extensions/{id}/listing',
|
|
408
|
+
path: {
|
|
409
|
+
'id': id,
|
|
410
|
+
},
|
|
397
411
|
headers: {
|
|
398
412
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
399
413
|
},
|
|
400
414
|
});
|
|
401
415
|
}
|
|
402
416
|
/**
|
|
417
|
+
* @param id
|
|
403
418
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
404
419
|
* @returns any Default Response
|
|
405
420
|
* @throws ApiError
|
|
406
421
|
*/
|
|
407
|
-
static
|
|
422
|
+
static putApiV1ExtensionsListing(id, xThrottleEnvironmentId) {
|
|
408
423
|
return __request(OpenAPI, {
|
|
409
|
-
method: '
|
|
410
|
-
url: '/api/v1/
|
|
424
|
+
method: 'PUT',
|
|
425
|
+
url: '/api/v1/extensions/{id}/listing',
|
|
426
|
+
path: {
|
|
427
|
+
'id': id,
|
|
428
|
+
},
|
|
411
429
|
headers: {
|
|
412
430
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
413
431
|
},
|
|
414
432
|
});
|
|
415
433
|
}
|
|
416
434
|
/**
|
|
417
|
-
* @param
|
|
418
|
-
* @param connectionId
|
|
435
|
+
* @param id
|
|
419
436
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
420
437
|
* @returns any Default Response
|
|
421
438
|
* @throws ApiError
|
|
422
439
|
*/
|
|
423
|
-
static
|
|
440
|
+
static getApiV1ExtensionsReadiness(id, xThrottleEnvironmentId) {
|
|
424
441
|
return __request(OpenAPI, {
|
|
425
|
-
method: '
|
|
426
|
-
url: '/api/v1/
|
|
442
|
+
method: 'GET',
|
|
443
|
+
url: '/api/v1/extensions/{id}/readiness',
|
|
427
444
|
path: {
|
|
428
|
-
'
|
|
429
|
-
'connectionId': connectionId,
|
|
445
|
+
'id': id,
|
|
430
446
|
},
|
|
431
447
|
headers: {
|
|
432
448
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
@@ -434,17 +450,17 @@ export class DefaultService {
|
|
|
434
450
|
});
|
|
435
451
|
}
|
|
436
452
|
/**
|
|
437
|
-
* @param
|
|
453
|
+
* @param id
|
|
438
454
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
439
455
|
* @returns any Default Response
|
|
440
456
|
* @throws ApiError
|
|
441
457
|
*/
|
|
442
|
-
static
|
|
458
|
+
static postApiV1ExtensionsReviews(id, xThrottleEnvironmentId) {
|
|
443
459
|
return __request(OpenAPI, {
|
|
444
460
|
method: 'POST',
|
|
445
|
-
url: '/api/v1/
|
|
461
|
+
url: '/api/v1/extensions/{id}/reviews',
|
|
446
462
|
path: {
|
|
447
|
-
'
|
|
463
|
+
'id': id,
|
|
448
464
|
},
|
|
449
465
|
headers: {
|
|
450
466
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
@@ -452,19 +468,17 @@ export class DefaultService {
|
|
|
452
468
|
});
|
|
453
469
|
}
|
|
454
470
|
/**
|
|
455
|
-
* @param
|
|
456
|
-
* @param connectionId
|
|
471
|
+
* @param id
|
|
457
472
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
458
473
|
* @returns any Default Response
|
|
459
474
|
* @throws ApiError
|
|
460
475
|
*/
|
|
461
|
-
static
|
|
476
|
+
static getApiV1ExtensionsReviews(id, xThrottleEnvironmentId) {
|
|
462
477
|
return __request(OpenAPI, {
|
|
463
|
-
method: '
|
|
464
|
-
url: '/api/v1/
|
|
478
|
+
method: 'GET',
|
|
479
|
+
url: '/api/v1/extensions/{id}/reviews',
|
|
465
480
|
path: {
|
|
466
|
-
'
|
|
467
|
-
'connectionId': connectionId,
|
|
481
|
+
'id': id,
|
|
468
482
|
},
|
|
469
483
|
headers: {
|
|
470
484
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
@@ -473,16 +487,18 @@ export class DefaultService {
|
|
|
473
487
|
}
|
|
474
488
|
/**
|
|
475
489
|
* @param id
|
|
490
|
+
* @param sid
|
|
476
491
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
477
492
|
* @returns any Default Response
|
|
478
493
|
* @throws ApiError
|
|
479
494
|
*/
|
|
480
|
-
static
|
|
495
|
+
static getApiV1ExtensionsReviews1(id, sid, xThrottleEnvironmentId) {
|
|
481
496
|
return __request(OpenAPI, {
|
|
482
|
-
method: '
|
|
483
|
-
url: '/api/v1/
|
|
497
|
+
method: 'GET',
|
|
498
|
+
url: '/api/v1/extensions/{id}/reviews/{sid}',
|
|
484
499
|
path: {
|
|
485
500
|
'id': id,
|
|
501
|
+
'sid': sid,
|
|
486
502
|
},
|
|
487
503
|
headers: {
|
|
488
504
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
@@ -491,16 +507,18 @@ export class DefaultService {
|
|
|
491
507
|
}
|
|
492
508
|
/**
|
|
493
509
|
* @param id
|
|
510
|
+
* @param sid
|
|
494
511
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
495
512
|
* @returns any Default Response
|
|
496
513
|
* @throws ApiError
|
|
497
514
|
*/
|
|
498
|
-
static
|
|
515
|
+
static postApiV1ExtensionsReviewsComments(id, sid, xThrottleEnvironmentId) {
|
|
499
516
|
return __request(OpenAPI, {
|
|
500
|
-
method: '
|
|
501
|
-
url: '/api/v1/
|
|
517
|
+
method: 'POST',
|
|
518
|
+
url: '/api/v1/extensions/{id}/reviews/{sid}/comments',
|
|
502
519
|
path: {
|
|
503
520
|
'id': id,
|
|
521
|
+
'sid': sid,
|
|
504
522
|
},
|
|
505
523
|
headers: {
|
|
506
524
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
@@ -509,95 +527,246 @@ export class DefaultService {
|
|
|
509
527
|
}
|
|
510
528
|
/**
|
|
511
529
|
* @param id
|
|
530
|
+
* @param sid
|
|
512
531
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
513
532
|
* @returns any Default Response
|
|
514
533
|
* @throws ApiError
|
|
515
534
|
*/
|
|
516
|
-
static
|
|
535
|
+
static postApiV1ExtensionsReviewsWithdraw(id, sid, xThrottleEnvironmentId) {
|
|
517
536
|
return __request(OpenAPI, {
|
|
518
|
-
method: '
|
|
519
|
-
url: '/api/v1/
|
|
537
|
+
method: 'POST',
|
|
538
|
+
url: '/api/v1/extensions/{id}/reviews/{sid}/withdraw',
|
|
520
539
|
path: {
|
|
521
540
|
'id': id,
|
|
541
|
+
'sid': sid,
|
|
542
|
+
},
|
|
543
|
+
headers: {
|
|
544
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
545
|
+
},
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
550
|
+
* @returns any Default Response
|
|
551
|
+
* @throws ApiError
|
|
552
|
+
*/
|
|
553
|
+
static getApiV1PublisherTerms(xThrottleEnvironmentId) {
|
|
554
|
+
return __request(OpenAPI, {
|
|
555
|
+
method: 'GET',
|
|
556
|
+
url: '/api/v1/publisher/terms',
|
|
557
|
+
headers: {
|
|
558
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
522
559
|
},
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
564
|
+
* @returns any Default Response
|
|
565
|
+
* @throws ApiError
|
|
566
|
+
*/
|
|
567
|
+
static postApiV1PublisherAcceptTerms(xThrottleEnvironmentId) {
|
|
568
|
+
return __request(OpenAPI, {
|
|
569
|
+
method: 'POST',
|
|
570
|
+
url: '/api/v1/publisher/accept-terms',
|
|
523
571
|
headers: {
|
|
524
572
|
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
525
573
|
},
|
|
526
574
|
});
|
|
527
575
|
}
|
|
528
576
|
/**
|
|
529
|
-
* @param
|
|
530
|
-
* @
|
|
531
|
-
* @param operationName
|
|
532
|
-
* @param variables
|
|
533
|
-
* @param extensions
|
|
534
|
-
* @returns void
|
|
577
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
578
|
+
* @returns any Default Response
|
|
535
579
|
* @throws ApiError
|
|
536
580
|
*/
|
|
537
|
-
static
|
|
581
|
+
static getApiV1ExtensionsDomains(xThrottleEnvironmentId) {
|
|
538
582
|
return __request(OpenAPI, {
|
|
539
583
|
method: 'GET',
|
|
540
|
-
url: '/
|
|
541
|
-
|
|
542
|
-
'
|
|
543
|
-
'persisted': persisted,
|
|
544
|
-
'operationName': operationName,
|
|
545
|
-
'variables': variables,
|
|
546
|
-
'extensions': extensions,
|
|
584
|
+
url: '/api/v1/extensions/domains',
|
|
585
|
+
headers: {
|
|
586
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
547
587
|
},
|
|
548
588
|
});
|
|
549
589
|
}
|
|
550
590
|
/**
|
|
551
|
-
* @param
|
|
552
|
-
* @returns
|
|
591
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
592
|
+
* @returns any Default Response
|
|
553
593
|
* @throws ApiError
|
|
554
594
|
*/
|
|
555
|
-
static
|
|
595
|
+
static postApiV1ExtensionsDomains(xThrottleEnvironmentId) {
|
|
556
596
|
return __request(OpenAPI, {
|
|
557
597
|
method: 'POST',
|
|
558
|
-
url: '/
|
|
559
|
-
|
|
560
|
-
|
|
598
|
+
url: '/api/v1/extensions/domains',
|
|
599
|
+
headers: {
|
|
600
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
601
|
+
},
|
|
561
602
|
});
|
|
562
603
|
}
|
|
563
604
|
/**
|
|
605
|
+
* @param id
|
|
606
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
607
|
+
* @returns any Default Response
|
|
608
|
+
* @throws ApiError
|
|
609
|
+
*/
|
|
610
|
+
static postApiV1ExtensionsDomainsVerify(id, xThrottleEnvironmentId) {
|
|
611
|
+
return __request(OpenAPI, {
|
|
612
|
+
method: 'POST',
|
|
613
|
+
url: '/api/v1/extensions/domains/{id}/verify',
|
|
614
|
+
path: {
|
|
615
|
+
'id': id,
|
|
616
|
+
},
|
|
617
|
+
headers: {
|
|
618
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
619
|
+
},
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
624
|
+
* @returns any Default Response
|
|
625
|
+
* @throws ApiError
|
|
626
|
+
*/
|
|
627
|
+
static getApiV1Scopes(xThrottleEnvironmentId) {
|
|
628
|
+
return __request(OpenAPI, {
|
|
629
|
+
method: 'GET',
|
|
630
|
+
url: '/api/v1/scopes',
|
|
631
|
+
headers: {
|
|
632
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
633
|
+
},
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
564
638
|
* @returns any Default Response
|
|
565
639
|
* @throws ApiError
|
|
566
640
|
*/
|
|
567
|
-
static
|
|
641
|
+
static getApiV1EventTypes(xThrottleEnvironmentId) {
|
|
568
642
|
return __request(OpenAPI, {
|
|
569
643
|
method: 'GET',
|
|
570
|
-
url: '/
|
|
644
|
+
url: '/api/v1/event-types',
|
|
645
|
+
headers: {
|
|
646
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
647
|
+
},
|
|
571
648
|
});
|
|
572
649
|
}
|
|
573
650
|
/**
|
|
574
651
|
* @returns any Default Response
|
|
575
652
|
* @throws ApiError
|
|
576
653
|
*/
|
|
577
|
-
static
|
|
654
|
+
static getWellKnownExtensionJwksJson() {
|
|
578
655
|
return __request(OpenAPI, {
|
|
579
656
|
method: 'GET',
|
|
580
|
-
url: '/
|
|
657
|
+
url: '/.well-known/extension-jwks.json',
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* @param provider
|
|
662
|
+
* @param connectionId
|
|
663
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
664
|
+
* @returns any Default Response
|
|
665
|
+
* @throws ApiError
|
|
666
|
+
*/
|
|
667
|
+
static postApiV1ProvidersWebhooks(provider, connectionId, xThrottleEnvironmentId) {
|
|
668
|
+
return __request(OpenAPI, {
|
|
669
|
+
method: 'POST',
|
|
670
|
+
url: '/api/v1/providers/{provider}/webhooks/{connectionId}',
|
|
671
|
+
path: {
|
|
672
|
+
'provider': provider,
|
|
673
|
+
'connectionId': connectionId,
|
|
674
|
+
},
|
|
675
|
+
headers: {
|
|
676
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
677
|
+
},
|
|
678
|
+
});
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* @param provider
|
|
682
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
683
|
+
* @returns any Default Response
|
|
684
|
+
* @throws ApiError
|
|
685
|
+
*/
|
|
686
|
+
static postApiV1PaymentProvidersWebhooks(provider, xThrottleEnvironmentId) {
|
|
687
|
+
return __request(OpenAPI, {
|
|
688
|
+
method: 'POST',
|
|
689
|
+
url: '/api/v1/payment-providers/{provider}/webhooks',
|
|
690
|
+
path: {
|
|
691
|
+
'provider': provider,
|
|
692
|
+
},
|
|
693
|
+
headers: {
|
|
694
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
695
|
+
},
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @param provider
|
|
700
|
+
* @param connectionId
|
|
701
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
702
|
+
* @returns any Default Response
|
|
703
|
+
* @throws ApiError
|
|
704
|
+
*/
|
|
705
|
+
static postApiV1PaymentProvidersWebhooks1(provider, connectionId, xThrottleEnvironmentId) {
|
|
706
|
+
return __request(OpenAPI, {
|
|
707
|
+
method: 'POST',
|
|
708
|
+
url: '/api/v1/payment-providers/{provider}/webhooks/{connectionId}',
|
|
709
|
+
path: {
|
|
710
|
+
'provider': provider,
|
|
711
|
+
'connectionId': connectionId,
|
|
712
|
+
},
|
|
713
|
+
headers: {
|
|
714
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
715
|
+
},
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* @param id
|
|
720
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
721
|
+
* @returns any Default Response
|
|
722
|
+
* @throws ApiError
|
|
723
|
+
*/
|
|
724
|
+
static postApiV1FulfillmentsDigitalUpload(id, xThrottleEnvironmentId) {
|
|
725
|
+
return __request(OpenAPI, {
|
|
726
|
+
method: 'POST',
|
|
727
|
+
url: '/api/v1/fulfillments/{id}/digital/upload',
|
|
728
|
+
path: {
|
|
729
|
+
'id': id,
|
|
730
|
+
},
|
|
731
|
+
headers: {
|
|
732
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
733
|
+
},
|
|
581
734
|
});
|
|
582
735
|
}
|
|
583
736
|
/**
|
|
737
|
+
* @param id
|
|
738
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
584
739
|
* @returns any Default Response
|
|
585
740
|
* @throws ApiError
|
|
586
741
|
*/
|
|
587
|
-
static
|
|
742
|
+
static getApiV1FulfillmentsDigitalDownload(id, xThrottleEnvironmentId) {
|
|
588
743
|
return __request(OpenAPI, {
|
|
589
744
|
method: 'GET',
|
|
590
|
-
url: '/
|
|
745
|
+
url: '/api/v1/fulfillments/{id}/digital/download',
|
|
746
|
+
path: {
|
|
747
|
+
'id': id,
|
|
748
|
+
},
|
|
749
|
+
headers: {
|
|
750
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
751
|
+
},
|
|
591
752
|
});
|
|
592
753
|
}
|
|
593
754
|
/**
|
|
755
|
+
* @param id
|
|
756
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
594
757
|
* @returns any Default Response
|
|
595
758
|
* @throws ApiError
|
|
596
759
|
*/
|
|
597
|
-
static
|
|
760
|
+
static getApiV1PaymentsInvoiceDownload(id, xThrottleEnvironmentId) {
|
|
598
761
|
return __request(OpenAPI, {
|
|
599
762
|
method: 'GET',
|
|
600
|
-
url: '/
|
|
763
|
+
url: '/api/v1/payments/{id}/invoice/download',
|
|
764
|
+
path: {
|
|
765
|
+
'id': id,
|
|
766
|
+
},
|
|
767
|
+
headers: {
|
|
768
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
769
|
+
},
|
|
601
770
|
});
|
|
602
771
|
}
|
|
603
772
|
/**
|
|
@@ -904,6 +1073,857 @@ export class DefaultService {
|
|
|
904
1073
|
},
|
|
905
1074
|
});
|
|
906
1075
|
}
|
|
1076
|
+
/**
|
|
1077
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1078
|
+
* @returns any Default Response
|
|
1079
|
+
* @throws ApiError
|
|
1080
|
+
*/
|
|
1081
|
+
static getApiV1BillingState(xThrottleEnvironmentId) {
|
|
1082
|
+
return __request(OpenAPI, {
|
|
1083
|
+
method: 'GET',
|
|
1084
|
+
url: '/api/v1/billing/state',
|
|
1085
|
+
headers: {
|
|
1086
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1087
|
+
},
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* @param requestBody
|
|
1092
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1093
|
+
* @returns any Default Response
|
|
1094
|
+
* @throws ApiError
|
|
1095
|
+
*/
|
|
1096
|
+
static postApiV1BillingSubscribe(requestBody, xThrottleEnvironmentId) {
|
|
1097
|
+
return __request(OpenAPI, {
|
|
1098
|
+
method: 'POST',
|
|
1099
|
+
url: '/api/v1/billing/subscribe',
|
|
1100
|
+
headers: {
|
|
1101
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1102
|
+
},
|
|
1103
|
+
body: requestBody,
|
|
1104
|
+
mediaType: 'application/json',
|
|
1105
|
+
});
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1109
|
+
* @returns any Default Response
|
|
1110
|
+
* @throws ApiError
|
|
1111
|
+
*/
|
|
1112
|
+
static postApiV1BillingCancel(xThrottleEnvironmentId) {
|
|
1113
|
+
return __request(OpenAPI, {
|
|
1114
|
+
method: 'POST',
|
|
1115
|
+
url: '/api/v1/billing/cancel',
|
|
1116
|
+
headers: {
|
|
1117
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1118
|
+
},
|
|
1119
|
+
});
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1123
|
+
* @returns any Default Response
|
|
1124
|
+
* @throws ApiError
|
|
1125
|
+
*/
|
|
1126
|
+
static postApiV1BillingResume(xThrottleEnvironmentId) {
|
|
1127
|
+
return __request(OpenAPI, {
|
|
1128
|
+
method: 'POST',
|
|
1129
|
+
url: '/api/v1/billing/resume',
|
|
1130
|
+
headers: {
|
|
1131
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1132
|
+
},
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1135
|
+
/**
|
|
1136
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1137
|
+
* @returns any Default Response
|
|
1138
|
+
* @throws ApiError
|
|
1139
|
+
*/
|
|
1140
|
+
static getApiV1BillingPaymentMethods(xThrottleEnvironmentId) {
|
|
1141
|
+
return __request(OpenAPI, {
|
|
1142
|
+
method: 'GET',
|
|
1143
|
+
url: '/api/v1/billing/payment-methods',
|
|
1144
|
+
headers: {
|
|
1145
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1146
|
+
},
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* @param requestBody
|
|
1151
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1152
|
+
* @returns any Default Response
|
|
1153
|
+
* @throws ApiError
|
|
1154
|
+
*/
|
|
1155
|
+
static postApiV1BillingPaymentMethods(requestBody, xThrottleEnvironmentId) {
|
|
1156
|
+
return __request(OpenAPI, {
|
|
1157
|
+
method: 'POST',
|
|
1158
|
+
url: '/api/v1/billing/payment-methods',
|
|
1159
|
+
headers: {
|
|
1160
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1161
|
+
},
|
|
1162
|
+
body: requestBody,
|
|
1163
|
+
mediaType: 'application/json',
|
|
1164
|
+
});
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* @param id
|
|
1168
|
+
* @param requestBody
|
|
1169
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1170
|
+
* @returns any Default Response
|
|
1171
|
+
* @throws ApiError
|
|
1172
|
+
*/
|
|
1173
|
+
static patchApiV1BillingPaymentMethods(id, requestBody, xThrottleEnvironmentId) {
|
|
1174
|
+
return __request(OpenAPI, {
|
|
1175
|
+
method: 'PATCH',
|
|
1176
|
+
url: '/api/v1/billing/payment-methods/{id}',
|
|
1177
|
+
path: {
|
|
1178
|
+
'id': id,
|
|
1179
|
+
},
|
|
1180
|
+
headers: {
|
|
1181
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1182
|
+
},
|
|
1183
|
+
body: requestBody,
|
|
1184
|
+
mediaType: 'application/json',
|
|
1185
|
+
});
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* @param id
|
|
1189
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1190
|
+
* @returns any Default Response
|
|
1191
|
+
* @throws ApiError
|
|
1192
|
+
*/
|
|
1193
|
+
static deleteApiV1BillingPaymentMethods(id, xThrottleEnvironmentId) {
|
|
1194
|
+
return __request(OpenAPI, {
|
|
1195
|
+
method: 'DELETE',
|
|
1196
|
+
url: '/api/v1/billing/payment-methods/{id}',
|
|
1197
|
+
path: {
|
|
1198
|
+
'id': id,
|
|
1199
|
+
},
|
|
1200
|
+
headers: {
|
|
1201
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1202
|
+
},
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1207
|
+
* @returns any Default Response
|
|
1208
|
+
* @throws ApiError
|
|
1209
|
+
*/
|
|
1210
|
+
static postApiV1BillingGr4VyEmbedToken(xThrottleEnvironmentId) {
|
|
1211
|
+
return __request(OpenAPI, {
|
|
1212
|
+
method: 'POST',
|
|
1213
|
+
url: '/api/v1/billing/gr4vy-embed-token',
|
|
1214
|
+
headers: {
|
|
1215
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1216
|
+
},
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1221
|
+
* @returns any Default Response
|
|
1222
|
+
* @throws ApiError
|
|
1223
|
+
*/
|
|
1224
|
+
static getApiV1BillingProviderStatus(xThrottleEnvironmentId) {
|
|
1225
|
+
return __request(OpenAPI, {
|
|
1226
|
+
method: 'GET',
|
|
1227
|
+
url: '/api/v1/billing/provider-status',
|
|
1228
|
+
headers: {
|
|
1229
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1230
|
+
},
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1235
|
+
* @returns any Default Response
|
|
1236
|
+
* @throws ApiError
|
|
1237
|
+
*/
|
|
1238
|
+
static getApiV1BillingInvoices(xThrottleEnvironmentId) {
|
|
1239
|
+
return __request(OpenAPI, {
|
|
1240
|
+
method: 'GET',
|
|
1241
|
+
url: '/api/v1/billing/invoices',
|
|
1242
|
+
headers: {
|
|
1243
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1244
|
+
},
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
/**
|
|
1248
|
+
* @param id
|
|
1249
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1250
|
+
* @returns any Default Response
|
|
1251
|
+
* @throws ApiError
|
|
1252
|
+
*/
|
|
1253
|
+
static getApiV1BillingInvoices1(id, xThrottleEnvironmentId) {
|
|
1254
|
+
return __request(OpenAPI, {
|
|
1255
|
+
method: 'GET',
|
|
1256
|
+
url: '/api/v1/billing/invoices/{id}',
|
|
1257
|
+
path: {
|
|
1258
|
+
'id': id,
|
|
1259
|
+
},
|
|
1260
|
+
headers: {
|
|
1261
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1262
|
+
},
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* @param id
|
|
1267
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1268
|
+
* @returns any Default Response
|
|
1269
|
+
* @throws ApiError
|
|
1270
|
+
*/
|
|
1271
|
+
static getApiV1BillingInvoicesReceiptPdf(id, xThrottleEnvironmentId) {
|
|
1272
|
+
return __request(OpenAPI, {
|
|
1273
|
+
method: 'GET',
|
|
1274
|
+
url: '/api/v1/billing/invoices/{id}/receipt.pdf',
|
|
1275
|
+
path: {
|
|
1276
|
+
'id': id,
|
|
1277
|
+
},
|
|
1278
|
+
headers: {
|
|
1279
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1280
|
+
},
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1285
|
+
* @returns any Default Response
|
|
1286
|
+
* @throws ApiError
|
|
1287
|
+
*/
|
|
1288
|
+
static getApiV1BillingPlanHistory(xThrottleEnvironmentId) {
|
|
1289
|
+
return __request(OpenAPI, {
|
|
1290
|
+
method: 'GET',
|
|
1291
|
+
url: '/api/v1/billing/plan-history',
|
|
1292
|
+
headers: {
|
|
1293
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1294
|
+
},
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1299
|
+
* @returns any Default Response
|
|
1300
|
+
* @throws ApiError
|
|
1301
|
+
*/
|
|
1302
|
+
static getApiV1BillingOverview(xThrottleEnvironmentId) {
|
|
1303
|
+
return __request(OpenAPI, {
|
|
1304
|
+
method: 'GET',
|
|
1305
|
+
url: '/api/v1/billing/overview',
|
|
1306
|
+
headers: {
|
|
1307
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1308
|
+
},
|
|
1309
|
+
});
|
|
1310
|
+
}
|
|
1311
|
+
/**
|
|
1312
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1313
|
+
* @returns any Default Response
|
|
1314
|
+
* @throws ApiError
|
|
1315
|
+
*/
|
|
1316
|
+
static getApiV1BillingPlatformRevenue(xThrottleEnvironmentId) {
|
|
1317
|
+
return __request(OpenAPI, {
|
|
1318
|
+
method: 'GET',
|
|
1319
|
+
url: '/api/v1/billing/platform-revenue',
|
|
1320
|
+
headers: {
|
|
1321
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1322
|
+
},
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1327
|
+
* @returns any Default Response
|
|
1328
|
+
* @throws ApiError
|
|
1329
|
+
*/
|
|
1330
|
+
static postApiV1AdminPlatformBillingRunRenewal(xThrottleEnvironmentId) {
|
|
1331
|
+
return __request(OpenAPI, {
|
|
1332
|
+
method: 'POST',
|
|
1333
|
+
url: '/api/v1/admin/platform-billing/run-renewal',
|
|
1334
|
+
headers: {
|
|
1335
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1336
|
+
},
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
/**
|
|
1340
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1341
|
+
* @returns any Default Response
|
|
1342
|
+
* @throws ApiError
|
|
1343
|
+
*/
|
|
1344
|
+
static postApiV1AdminPlatformBillingRunDunning(xThrottleEnvironmentId) {
|
|
1345
|
+
return __request(OpenAPI, {
|
|
1346
|
+
method: 'POST',
|
|
1347
|
+
url: '/api/v1/admin/platform-billing/run-dunning',
|
|
1348
|
+
headers: {
|
|
1349
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1350
|
+
},
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
/**
|
|
1354
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1355
|
+
* @returns any Default Response
|
|
1356
|
+
* @throws ApiError
|
|
1357
|
+
*/
|
|
1358
|
+
static getApiV1AdminWorkspaces(xThrottleEnvironmentId) {
|
|
1359
|
+
return __request(OpenAPI, {
|
|
1360
|
+
method: 'GET',
|
|
1361
|
+
url: '/api/v1/admin/workspaces',
|
|
1362
|
+
headers: {
|
|
1363
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1364
|
+
},
|
|
1365
|
+
});
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* @param id
|
|
1369
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1370
|
+
* @returns any Default Response
|
|
1371
|
+
* @throws ApiError
|
|
1372
|
+
*/
|
|
1373
|
+
static getApiV1AdminWorkspaces1(id, xThrottleEnvironmentId) {
|
|
1374
|
+
return __request(OpenAPI, {
|
|
1375
|
+
method: 'GET',
|
|
1376
|
+
url: '/api/v1/admin/workspaces/{id}',
|
|
1377
|
+
path: {
|
|
1378
|
+
'id': id,
|
|
1379
|
+
},
|
|
1380
|
+
headers: {
|
|
1381
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1382
|
+
},
|
|
1383
|
+
});
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* @param id
|
|
1387
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1388
|
+
* @returns any Default Response
|
|
1389
|
+
* @throws ApiError
|
|
1390
|
+
*/
|
|
1391
|
+
static postApiV1AdminWorkspacesExtendTrial(id, xThrottleEnvironmentId) {
|
|
1392
|
+
return __request(OpenAPI, {
|
|
1393
|
+
method: 'POST',
|
|
1394
|
+
url: '/api/v1/admin/workspaces/{id}/extend-trial',
|
|
1395
|
+
path: {
|
|
1396
|
+
'id': id,
|
|
1397
|
+
},
|
|
1398
|
+
headers: {
|
|
1399
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1400
|
+
},
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* @param id
|
|
1405
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1406
|
+
* @returns any Default Response
|
|
1407
|
+
* @throws ApiError
|
|
1408
|
+
*/
|
|
1409
|
+
static postApiV1AdminWorkspacesPromotePartner(id, xThrottleEnvironmentId) {
|
|
1410
|
+
return __request(OpenAPI, {
|
|
1411
|
+
method: 'POST',
|
|
1412
|
+
url: '/api/v1/admin/workspaces/{id}/promote-partner',
|
|
1413
|
+
path: {
|
|
1414
|
+
'id': id,
|
|
1415
|
+
},
|
|
1416
|
+
headers: {
|
|
1417
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1418
|
+
},
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* @param id
|
|
1423
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1424
|
+
* @returns any Default Response
|
|
1425
|
+
* @throws ApiError
|
|
1426
|
+
*/
|
|
1427
|
+
static postApiV1AdminWorkspacesDemotePartner(id, xThrottleEnvironmentId) {
|
|
1428
|
+
return __request(OpenAPI, {
|
|
1429
|
+
method: 'POST',
|
|
1430
|
+
url: '/api/v1/admin/workspaces/{id}/demote-partner',
|
|
1431
|
+
path: {
|
|
1432
|
+
'id': id,
|
|
1433
|
+
},
|
|
1434
|
+
headers: {
|
|
1435
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1436
|
+
},
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* @param id
|
|
1441
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1442
|
+
* @returns any Default Response
|
|
1443
|
+
* @throws ApiError
|
|
1444
|
+
*/
|
|
1445
|
+
static postApiV1AdminWorkspacesForceTierOverride(id, xThrottleEnvironmentId) {
|
|
1446
|
+
return __request(OpenAPI, {
|
|
1447
|
+
method: 'POST',
|
|
1448
|
+
url: '/api/v1/admin/workspaces/{id}/force-tier-override',
|
|
1449
|
+
path: {
|
|
1450
|
+
'id': id,
|
|
1451
|
+
},
|
|
1452
|
+
headers: {
|
|
1453
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1454
|
+
},
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* @param id
|
|
1459
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1460
|
+
* @returns any Default Response
|
|
1461
|
+
* @throws ApiError
|
|
1462
|
+
*/
|
|
1463
|
+
static postApiV1AdminWorkspacesRefundCharge(id, xThrottleEnvironmentId) {
|
|
1464
|
+
return __request(OpenAPI, {
|
|
1465
|
+
method: 'POST',
|
|
1466
|
+
url: '/api/v1/admin/workspaces/{id}/refund-charge',
|
|
1467
|
+
path: {
|
|
1468
|
+
'id': id,
|
|
1469
|
+
},
|
|
1470
|
+
headers: {
|
|
1471
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1472
|
+
},
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* @param id
|
|
1477
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1478
|
+
* @returns any Default Response
|
|
1479
|
+
* @throws ApiError
|
|
1480
|
+
*/
|
|
1481
|
+
static postApiV1AdminWorkspacesCancelImmediately(id, xThrottleEnvironmentId) {
|
|
1482
|
+
return __request(OpenAPI, {
|
|
1483
|
+
method: 'POST',
|
|
1484
|
+
url: '/api/v1/admin/workspaces/{id}/cancel-immediately',
|
|
1485
|
+
path: {
|
|
1486
|
+
'id': id,
|
|
1487
|
+
},
|
|
1488
|
+
headers: {
|
|
1489
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1490
|
+
},
|
|
1491
|
+
});
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* @param id
|
|
1495
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1496
|
+
* @returns any Default Response
|
|
1497
|
+
* @throws ApiError
|
|
1498
|
+
*/
|
|
1499
|
+
static postApiV1AdminWorkspacesBringLegacyIntoBilling(id, xThrottleEnvironmentId) {
|
|
1500
|
+
return __request(OpenAPI, {
|
|
1501
|
+
method: 'POST',
|
|
1502
|
+
url: '/api/v1/admin/workspaces/{id}/bring-legacy-into-billing',
|
|
1503
|
+
path: {
|
|
1504
|
+
'id': id,
|
|
1505
|
+
},
|
|
1506
|
+
headers: {
|
|
1507
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1508
|
+
},
|
|
1509
|
+
});
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* @param id
|
|
1513
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1514
|
+
* @returns any Default Response
|
|
1515
|
+
* @throws ApiError
|
|
1516
|
+
*/
|
|
1517
|
+
static postApiV1AdminWorkspacesSuspend(id, xThrottleEnvironmentId) {
|
|
1518
|
+
return __request(OpenAPI, {
|
|
1519
|
+
method: 'POST',
|
|
1520
|
+
url: '/api/v1/admin/workspaces/{id}/suspend',
|
|
1521
|
+
path: {
|
|
1522
|
+
'id': id,
|
|
1523
|
+
},
|
|
1524
|
+
headers: {
|
|
1525
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1526
|
+
},
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
* @param id
|
|
1531
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1532
|
+
* @returns any Default Response
|
|
1533
|
+
* @throws ApiError
|
|
1534
|
+
*/
|
|
1535
|
+
static postApiV1AdminWorkspacesReactivate(id, xThrottleEnvironmentId) {
|
|
1536
|
+
return __request(OpenAPI, {
|
|
1537
|
+
method: 'POST',
|
|
1538
|
+
url: '/api/v1/admin/workspaces/{id}/reactivate',
|
|
1539
|
+
path: {
|
|
1540
|
+
'id': id,
|
|
1541
|
+
},
|
|
1542
|
+
headers: {
|
|
1543
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1544
|
+
},
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1549
|
+
* @returns any Default Response
|
|
1550
|
+
* @throws ApiError
|
|
1551
|
+
*/
|
|
1552
|
+
static getApiV1AdminAuditLog(xThrottleEnvironmentId) {
|
|
1553
|
+
return __request(OpenAPI, {
|
|
1554
|
+
method: 'GET',
|
|
1555
|
+
url: '/api/v1/admin/audit-log',
|
|
1556
|
+
headers: {
|
|
1557
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1558
|
+
},
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1563
|
+
* @returns any Default Response
|
|
1564
|
+
* @throws ApiError
|
|
1565
|
+
*/
|
|
1566
|
+
static getApiV1MeStaffStatus(xThrottleEnvironmentId) {
|
|
1567
|
+
return __request(OpenAPI, {
|
|
1568
|
+
method: 'GET',
|
|
1569
|
+
url: '/api/v1/me/staff-status',
|
|
1570
|
+
headers: {
|
|
1571
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1572
|
+
},
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1577
|
+
* @returns any Default Response
|
|
1578
|
+
* @throws ApiError
|
|
1579
|
+
*/
|
|
1580
|
+
static getApiV1AdminStaff(xThrottleEnvironmentId) {
|
|
1581
|
+
return __request(OpenAPI, {
|
|
1582
|
+
method: 'GET',
|
|
1583
|
+
url: '/api/v1/admin/staff',
|
|
1584
|
+
headers: {
|
|
1585
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1586
|
+
},
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1589
|
+
/**
|
|
1590
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1591
|
+
* @returns any Default Response
|
|
1592
|
+
* @throws ApiError
|
|
1593
|
+
*/
|
|
1594
|
+
static postApiV1AdminStaff(xThrottleEnvironmentId) {
|
|
1595
|
+
return __request(OpenAPI, {
|
|
1596
|
+
method: 'POST',
|
|
1597
|
+
url: '/api/v1/admin/staff',
|
|
1598
|
+
headers: {
|
|
1599
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1600
|
+
},
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* @param email
|
|
1605
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1606
|
+
* @returns any Default Response
|
|
1607
|
+
* @throws ApiError
|
|
1608
|
+
*/
|
|
1609
|
+
static deleteApiV1AdminStaff(email, xThrottleEnvironmentId) {
|
|
1610
|
+
return __request(OpenAPI, {
|
|
1611
|
+
method: 'DELETE',
|
|
1612
|
+
url: '/api/v1/admin/staff/{email}',
|
|
1613
|
+
path: {
|
|
1614
|
+
'email': email,
|
|
1615
|
+
},
|
|
1616
|
+
headers: {
|
|
1617
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1618
|
+
},
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
/**
|
|
1622
|
+
* @param id
|
|
1623
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1624
|
+
* @returns any Default Response
|
|
1625
|
+
* @throws ApiError
|
|
1626
|
+
*/
|
|
1627
|
+
static getApiV1AdminWorkspacesPaymentMethods(id, xThrottleEnvironmentId) {
|
|
1628
|
+
return __request(OpenAPI, {
|
|
1629
|
+
method: 'GET',
|
|
1630
|
+
url: '/api/v1/admin/workspaces/{id}/payment-methods',
|
|
1631
|
+
path: {
|
|
1632
|
+
'id': id,
|
|
1633
|
+
},
|
|
1634
|
+
headers: {
|
|
1635
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1636
|
+
},
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* @param id
|
|
1641
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1642
|
+
* @returns any Default Response
|
|
1643
|
+
* @throws ApiError
|
|
1644
|
+
*/
|
|
1645
|
+
static getApiV1AdminWorkspacesInvoices(id, xThrottleEnvironmentId) {
|
|
1646
|
+
return __request(OpenAPI, {
|
|
1647
|
+
method: 'GET',
|
|
1648
|
+
url: '/api/v1/admin/workspaces/{id}/invoices',
|
|
1649
|
+
path: {
|
|
1650
|
+
'id': id,
|
|
1651
|
+
},
|
|
1652
|
+
headers: {
|
|
1653
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1654
|
+
},
|
|
1655
|
+
});
|
|
1656
|
+
}
|
|
1657
|
+
/**
|
|
1658
|
+
* @param id
|
|
1659
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1660
|
+
* @returns any Default Response
|
|
1661
|
+
* @throws ApiError
|
|
1662
|
+
*/
|
|
1663
|
+
static getApiV1AdminWorkspacesUsage(id, xThrottleEnvironmentId) {
|
|
1664
|
+
return __request(OpenAPI, {
|
|
1665
|
+
method: 'GET',
|
|
1666
|
+
url: '/api/v1/admin/workspaces/{id}/usage',
|
|
1667
|
+
path: {
|
|
1668
|
+
'id': id,
|
|
1669
|
+
},
|
|
1670
|
+
headers: {
|
|
1671
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1672
|
+
},
|
|
1673
|
+
});
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* @param id
|
|
1677
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1678
|
+
* @returns any Default Response
|
|
1679
|
+
* @throws ApiError
|
|
1680
|
+
*/
|
|
1681
|
+
static getApiV1AdminWorkspacesSubscriptionTimeline(id, xThrottleEnvironmentId) {
|
|
1682
|
+
return __request(OpenAPI, {
|
|
1683
|
+
method: 'GET',
|
|
1684
|
+
url: '/api/v1/admin/workspaces/{id}/subscription-timeline',
|
|
1685
|
+
path: {
|
|
1686
|
+
'id': id,
|
|
1687
|
+
},
|
|
1688
|
+
headers: {
|
|
1689
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1690
|
+
},
|
|
1691
|
+
});
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* @param id
|
|
1695
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1696
|
+
* @returns any Default Response
|
|
1697
|
+
* @throws ApiError
|
|
1698
|
+
*/
|
|
1699
|
+
static getApiV1AdminWorkspacesMembers(id, xThrottleEnvironmentId) {
|
|
1700
|
+
return __request(OpenAPI, {
|
|
1701
|
+
method: 'GET',
|
|
1702
|
+
url: '/api/v1/admin/workspaces/{id}/members',
|
|
1703
|
+
path: {
|
|
1704
|
+
'id': id,
|
|
1705
|
+
},
|
|
1706
|
+
headers: {
|
|
1707
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1708
|
+
},
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* @param id
|
|
1713
|
+
* @param memberId
|
|
1714
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1715
|
+
* @returns any Default Response
|
|
1716
|
+
* @throws ApiError
|
|
1717
|
+
*/
|
|
1718
|
+
static patchApiV1AdminWorkspacesMembers(id, memberId, xThrottleEnvironmentId) {
|
|
1719
|
+
return __request(OpenAPI, {
|
|
1720
|
+
method: 'PATCH',
|
|
1721
|
+
url: '/api/v1/admin/workspaces/{id}/members/{memberId}',
|
|
1722
|
+
path: {
|
|
1723
|
+
'id': id,
|
|
1724
|
+
'memberId': memberId,
|
|
1725
|
+
},
|
|
1726
|
+
headers: {
|
|
1727
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1728
|
+
},
|
|
1729
|
+
});
|
|
1730
|
+
}
|
|
1731
|
+
/**
|
|
1732
|
+
* @param id
|
|
1733
|
+
* @param memberId
|
|
1734
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1735
|
+
* @returns any Default Response
|
|
1736
|
+
* @throws ApiError
|
|
1737
|
+
*/
|
|
1738
|
+
static deleteApiV1AdminWorkspacesMembers(id, memberId, xThrottleEnvironmentId) {
|
|
1739
|
+
return __request(OpenAPI, {
|
|
1740
|
+
method: 'DELETE',
|
|
1741
|
+
url: '/api/v1/admin/workspaces/{id}/members/{memberId}',
|
|
1742
|
+
path: {
|
|
1743
|
+
'id': id,
|
|
1744
|
+
'memberId': memberId,
|
|
1745
|
+
},
|
|
1746
|
+
headers: {
|
|
1747
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1748
|
+
},
|
|
1749
|
+
});
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1753
|
+
* @returns any Default Response
|
|
1754
|
+
* @throws ApiError
|
|
1755
|
+
*/
|
|
1756
|
+
static getApiV1AdminExtensionsReviews(xThrottleEnvironmentId) {
|
|
1757
|
+
return __request(OpenAPI, {
|
|
1758
|
+
method: 'GET',
|
|
1759
|
+
url: '/api/v1/admin/extensions/reviews',
|
|
1760
|
+
headers: {
|
|
1761
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1762
|
+
},
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1765
|
+
/**
|
|
1766
|
+
* @param sid
|
|
1767
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1768
|
+
* @returns any Default Response
|
|
1769
|
+
* @throws ApiError
|
|
1770
|
+
*/
|
|
1771
|
+
static getApiV1AdminExtensionsReviews1(sid, xThrottleEnvironmentId) {
|
|
1772
|
+
return __request(OpenAPI, {
|
|
1773
|
+
method: 'GET',
|
|
1774
|
+
url: '/api/v1/admin/extensions/reviews/{sid}',
|
|
1775
|
+
path: {
|
|
1776
|
+
'sid': sid,
|
|
1777
|
+
},
|
|
1778
|
+
headers: {
|
|
1779
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1780
|
+
},
|
|
1781
|
+
});
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* @param sid
|
|
1785
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1786
|
+
* @returns any Default Response
|
|
1787
|
+
* @throws ApiError
|
|
1788
|
+
*/
|
|
1789
|
+
static postApiV1AdminExtensionsReviewsClaim(sid, xThrottleEnvironmentId) {
|
|
1790
|
+
return __request(OpenAPI, {
|
|
1791
|
+
method: 'POST',
|
|
1792
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/claim',
|
|
1793
|
+
path: {
|
|
1794
|
+
'sid': sid,
|
|
1795
|
+
},
|
|
1796
|
+
headers: {
|
|
1797
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1798
|
+
},
|
|
1799
|
+
});
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* @param sid
|
|
1803
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1804
|
+
* @returns any Default Response
|
|
1805
|
+
* @throws ApiError
|
|
1806
|
+
*/
|
|
1807
|
+
static postApiV1AdminExtensionsReviewsComments(sid, xThrottleEnvironmentId) {
|
|
1808
|
+
return __request(OpenAPI, {
|
|
1809
|
+
method: 'POST',
|
|
1810
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/comments',
|
|
1811
|
+
path: {
|
|
1812
|
+
'sid': sid,
|
|
1813
|
+
},
|
|
1814
|
+
headers: {
|
|
1815
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1816
|
+
},
|
|
1817
|
+
});
|
|
1818
|
+
}
|
|
1819
|
+
/**
|
|
1820
|
+
* @param sid
|
|
1821
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1822
|
+
* @returns any Default Response
|
|
1823
|
+
* @throws ApiError
|
|
1824
|
+
*/
|
|
1825
|
+
static postApiV1AdminExtensionsReviewsInstallCandidate(sid, xThrottleEnvironmentId) {
|
|
1826
|
+
return __request(OpenAPI, {
|
|
1827
|
+
method: 'POST',
|
|
1828
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/install-candidate',
|
|
1829
|
+
path: {
|
|
1830
|
+
'sid': sid,
|
|
1831
|
+
},
|
|
1832
|
+
headers: {
|
|
1833
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1834
|
+
},
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* @param sid
|
|
1839
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1840
|
+
* @returns any Default Response
|
|
1841
|
+
* @throws ApiError
|
|
1842
|
+
*/
|
|
1843
|
+
static postApiV1AdminExtensionsReviewsUninstallCandidate(sid, xThrottleEnvironmentId) {
|
|
1844
|
+
return __request(OpenAPI, {
|
|
1845
|
+
method: 'POST',
|
|
1846
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/uninstall-candidate',
|
|
1847
|
+
path: {
|
|
1848
|
+
'sid': sid,
|
|
1849
|
+
},
|
|
1850
|
+
headers: {
|
|
1851
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1852
|
+
},
|
|
1853
|
+
});
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
* @param sid
|
|
1857
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1858
|
+
* @returns any Default Response
|
|
1859
|
+
* @throws ApiError
|
|
1860
|
+
*/
|
|
1861
|
+
static postApiV1AdminExtensionsReviewsApprove(sid, xThrottleEnvironmentId) {
|
|
1862
|
+
return __request(OpenAPI, {
|
|
1863
|
+
method: 'POST',
|
|
1864
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/approve',
|
|
1865
|
+
path: {
|
|
1866
|
+
'sid': sid,
|
|
1867
|
+
},
|
|
1868
|
+
headers: {
|
|
1869
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1870
|
+
},
|
|
1871
|
+
});
|
|
1872
|
+
}
|
|
1873
|
+
/**
|
|
1874
|
+
* @param sid
|
|
1875
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1876
|
+
* @returns any Default Response
|
|
1877
|
+
* @throws ApiError
|
|
1878
|
+
*/
|
|
1879
|
+
static postApiV1AdminExtensionsReviewsRequestChanges(sid, xThrottleEnvironmentId) {
|
|
1880
|
+
return __request(OpenAPI, {
|
|
1881
|
+
method: 'POST',
|
|
1882
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/request-changes',
|
|
1883
|
+
path: {
|
|
1884
|
+
'sid': sid,
|
|
1885
|
+
},
|
|
1886
|
+
headers: {
|
|
1887
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1888
|
+
},
|
|
1889
|
+
});
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* @param sid
|
|
1893
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1894
|
+
* @returns any Default Response
|
|
1895
|
+
* @throws ApiError
|
|
1896
|
+
*/
|
|
1897
|
+
static postApiV1AdminExtensionsReviewsReject(sid, xThrottleEnvironmentId) {
|
|
1898
|
+
return __request(OpenAPI, {
|
|
1899
|
+
method: 'POST',
|
|
1900
|
+
url: '/api/v1/admin/extensions/reviews/{sid}/reject',
|
|
1901
|
+
path: {
|
|
1902
|
+
'sid': sid,
|
|
1903
|
+
},
|
|
1904
|
+
headers: {
|
|
1905
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1906
|
+
},
|
|
1907
|
+
});
|
|
1908
|
+
}
|
|
1909
|
+
/**
|
|
1910
|
+
* @param id
|
|
1911
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
1912
|
+
* @returns any Default Response
|
|
1913
|
+
* @throws ApiError
|
|
1914
|
+
*/
|
|
1915
|
+
static postApiV1AdminExtensionsUnpublish(id, xThrottleEnvironmentId) {
|
|
1916
|
+
return __request(OpenAPI, {
|
|
1917
|
+
method: 'POST',
|
|
1918
|
+
url: '/api/v1/admin/extensions/{id}/unpublish',
|
|
1919
|
+
path: {
|
|
1920
|
+
'id': id,
|
|
1921
|
+
},
|
|
1922
|
+
headers: {
|
|
1923
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
1924
|
+
},
|
|
1925
|
+
});
|
|
1926
|
+
}
|
|
907
1927
|
/**
|
|
908
1928
|
* @param wildcard
|
|
909
1929
|
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|