@opusdns/api 0.80.0 → 0.82.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/package.json +1 -1
- package/src/helpers/constants.ts +1 -53
- package/src/helpers/keys.ts +29 -870
- package/src/helpers/requests.d.ts +2 -317
- package/src/helpers/responses.d.ts +668 -355
- package/src/helpers/schemas-arrays.d.ts +1 -29
- package/src/helpers/schemas.d.ts +0 -144
- package/src/openapi.yaml +474 -465
- package/src/schema.d.ts +566 -474
package/src/schema.d.ts
CHANGED
|
@@ -848,7 +848,7 @@ export interface paths {
|
|
|
848
848
|
* Delete an organization
|
|
849
849
|
* @description Permanently deletes an organization
|
|
850
850
|
*/
|
|
851
|
-
delete: operations["
|
|
851
|
+
delete: operations["delete_organization_v1_organizations__organization_id__delete"];
|
|
852
852
|
options?: never;
|
|
853
853
|
head?: never;
|
|
854
854
|
/**
|
|
@@ -858,146 +858,6 @@ export interface paths {
|
|
|
858
858
|
patch: operations["update_organization_v1_organizations__organization_id__patch"];
|
|
859
859
|
trace?: never;
|
|
860
860
|
};
|
|
861
|
-
"/v1/organizations/{organization_id}/billing/checkout-sessions": {
|
|
862
|
-
parameters: {
|
|
863
|
-
query?: never;
|
|
864
|
-
header?: never;
|
|
865
|
-
path?: never;
|
|
866
|
-
cookie?: never;
|
|
867
|
-
};
|
|
868
|
-
get?: never;
|
|
869
|
-
put?: never;
|
|
870
|
-
/**
|
|
871
|
-
* Create checkout session
|
|
872
|
-
* @description Create a checkout session for the organization
|
|
873
|
-
*/
|
|
874
|
-
post: operations["get_checkout_session_v1_organizations__organization_id__billing_checkout_sessions_post"];
|
|
875
|
-
delete?: never;
|
|
876
|
-
options?: never;
|
|
877
|
-
head?: never;
|
|
878
|
-
patch?: never;
|
|
879
|
-
trace?: never;
|
|
880
|
-
};
|
|
881
|
-
"/v1/organizations/{organization_id}/billing/payment-methods": {
|
|
882
|
-
parameters: {
|
|
883
|
-
query?: never;
|
|
884
|
-
header?: never;
|
|
885
|
-
path?: never;
|
|
886
|
-
cookie?: never;
|
|
887
|
-
};
|
|
888
|
-
/**
|
|
889
|
-
* List all payment methods
|
|
890
|
-
* @description List all available payment methods for the organization
|
|
891
|
-
*/
|
|
892
|
-
get: operations["list_payment_methods_v1_organizations__organization_id__billing_payment_methods_get"];
|
|
893
|
-
put?: never;
|
|
894
|
-
post?: never;
|
|
895
|
-
delete?: never;
|
|
896
|
-
options?: never;
|
|
897
|
-
head?: never;
|
|
898
|
-
patch?: never;
|
|
899
|
-
trace?: never;
|
|
900
|
-
};
|
|
901
|
-
"/v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}": {
|
|
902
|
-
parameters: {
|
|
903
|
-
query?: never;
|
|
904
|
-
header?: never;
|
|
905
|
-
path?: never;
|
|
906
|
-
cookie?: never;
|
|
907
|
-
};
|
|
908
|
-
get?: never;
|
|
909
|
-
put?: never;
|
|
910
|
-
post?: never;
|
|
911
|
-
/**
|
|
912
|
-
* Delete a payment method
|
|
913
|
-
* @description Delete a payment method for the organization
|
|
914
|
-
*/
|
|
915
|
-
delete: operations["delete_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__delete"];
|
|
916
|
-
options?: never;
|
|
917
|
-
head?: never;
|
|
918
|
-
patch?: never;
|
|
919
|
-
trace?: never;
|
|
920
|
-
};
|
|
921
|
-
"/v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default": {
|
|
922
|
-
parameters: {
|
|
923
|
-
query?: never;
|
|
924
|
-
header?: never;
|
|
925
|
-
path?: never;
|
|
926
|
-
cookie?: never;
|
|
927
|
-
};
|
|
928
|
-
get?: never;
|
|
929
|
-
put?: never;
|
|
930
|
-
post?: never;
|
|
931
|
-
delete?: never;
|
|
932
|
-
options?: never;
|
|
933
|
-
head?: never;
|
|
934
|
-
/**
|
|
935
|
-
* Set payment method as default
|
|
936
|
-
* @description Set the provided payment method as default for the specified organization
|
|
937
|
-
*/
|
|
938
|
-
patch: operations["update_default_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__default_patch"];
|
|
939
|
-
trace?: never;
|
|
940
|
-
};
|
|
941
|
-
"/v1/organizations/{organization_id}/billing/wallet/credits": {
|
|
942
|
-
parameters: {
|
|
943
|
-
query?: never;
|
|
944
|
-
header?: never;
|
|
945
|
-
path?: never;
|
|
946
|
-
cookie?: never;
|
|
947
|
-
};
|
|
948
|
-
get?: never;
|
|
949
|
-
put?: never;
|
|
950
|
-
/**
|
|
951
|
-
* Credit wallet
|
|
952
|
-
* @description Credit the organization's wallet using the provided amount and payment method
|
|
953
|
-
*/
|
|
954
|
-
post: operations["credit_wallet_v1_organizations__organization_id__billing_wallet_credits_post"];
|
|
955
|
-
delete?: never;
|
|
956
|
-
options?: never;
|
|
957
|
-
head?: never;
|
|
958
|
-
patch?: never;
|
|
959
|
-
trace?: never;
|
|
960
|
-
};
|
|
961
|
-
"/v1/organizations/{organization_id}/plan": {
|
|
962
|
-
parameters: {
|
|
963
|
-
query?: never;
|
|
964
|
-
header?: never;
|
|
965
|
-
path?: never;
|
|
966
|
-
cookie?: never;
|
|
967
|
-
};
|
|
968
|
-
get?: never;
|
|
969
|
-
put?: never;
|
|
970
|
-
post?: never;
|
|
971
|
-
delete?: never;
|
|
972
|
-
options?: never;
|
|
973
|
-
head?: never;
|
|
974
|
-
/**
|
|
975
|
-
* Update organization plan
|
|
976
|
-
* @description Changes the plan for an organization
|
|
977
|
-
*/
|
|
978
|
-
patch: operations["change_plan_v1_organizations__organization_id__plan_patch"];
|
|
979
|
-
trace?: never;
|
|
980
|
-
};
|
|
981
|
-
"/v1/organizations/{organization_id}/plans": {
|
|
982
|
-
parameters: {
|
|
983
|
-
query?: never;
|
|
984
|
-
header?: never;
|
|
985
|
-
path?: never;
|
|
986
|
-
cookie?: never;
|
|
987
|
-
};
|
|
988
|
-
/**
|
|
989
|
-
* Get plans for an organization
|
|
990
|
-
* @description Retrieves a list of plans for an organization
|
|
991
|
-
*/
|
|
992
|
-
get: operations["get_current_available_plans_v1_organizations__organization_id__plans_get"];
|
|
993
|
-
put?: never;
|
|
994
|
-
post?: never;
|
|
995
|
-
delete?: never;
|
|
996
|
-
options?: never;
|
|
997
|
-
head?: never;
|
|
998
|
-
patch?: never;
|
|
999
|
-
trace?: never;
|
|
1000
|
-
};
|
|
1001
861
|
"/v1/organizations/{organization_id}/pricing/product-type/{product_type}": {
|
|
1002
862
|
parameters: {
|
|
1003
863
|
query?: never;
|
|
@@ -1379,16 +1239,6 @@ export interface components {
|
|
|
1379
1239
|
* @enum {string}
|
|
1380
1240
|
*/
|
|
1381
1241
|
BillingTransactionStatus: "pending" | "succeeded" | "failed" | "canceled";
|
|
1382
|
-
/** CheckoutSessionRequest */
|
|
1383
|
-
CheckoutSessionRequest: Record<string, never>;
|
|
1384
|
-
/** CheckoutSessionResponse */
|
|
1385
|
-
CheckoutSessionResponse: {
|
|
1386
|
-
/**
|
|
1387
|
-
* Session Client Secret
|
|
1388
|
-
* @description Checkout session client secret - meant to be used in the embedded checkout
|
|
1389
|
-
*/
|
|
1390
|
-
session_client_secret: string;
|
|
1391
|
-
};
|
|
1392
1242
|
/**
|
|
1393
1243
|
* ContactAttributeDefinition
|
|
1394
1244
|
* @description Definition of a possible attribute for a TLD.
|
|
@@ -1903,44 +1753,6 @@ export interface components {
|
|
|
1903
1753
|
* @enum {string}
|
|
1904
1754
|
*/
|
|
1905
1755
|
Currency: "USD" | "EUR";
|
|
1906
|
-
/** CustomerCreditCardPaymentMethod */
|
|
1907
|
-
CustomerCreditCardPaymentMethod: {
|
|
1908
|
-
/**
|
|
1909
|
-
* Brand
|
|
1910
|
-
* @description Card brand
|
|
1911
|
-
*/
|
|
1912
|
-
brand: string;
|
|
1913
|
-
/**
|
|
1914
|
-
* Country
|
|
1915
|
-
* @description Country code
|
|
1916
|
-
*/
|
|
1917
|
-
country?: string | null;
|
|
1918
|
-
/**
|
|
1919
|
-
* Exp Month
|
|
1920
|
-
* @description Expiration month
|
|
1921
|
-
*/
|
|
1922
|
-
exp_month: number;
|
|
1923
|
-
/**
|
|
1924
|
-
* Exp Year
|
|
1925
|
-
* @description Expiration year
|
|
1926
|
-
*/
|
|
1927
|
-
exp_year: number;
|
|
1928
|
-
/**
|
|
1929
|
-
* Id
|
|
1930
|
-
* @description Payment method ID
|
|
1931
|
-
*/
|
|
1932
|
-
id: string;
|
|
1933
|
-
/**
|
|
1934
|
-
* Is Default
|
|
1935
|
-
* @description Whether this is the default payment method
|
|
1936
|
-
*/
|
|
1937
|
-
is_default: boolean;
|
|
1938
|
-
/**
|
|
1939
|
-
* Last4
|
|
1940
|
-
* @description Last four digits of the card
|
|
1941
|
-
*/
|
|
1942
|
-
last4: string;
|
|
1943
|
-
};
|
|
1944
1756
|
/**
|
|
1945
1757
|
* DeletePolicyType
|
|
1946
1758
|
* @enum {string}
|
|
@@ -2933,16 +2745,6 @@ export interface components {
|
|
|
2933
2745
|
*/
|
|
2934
2746
|
start_date: Date;
|
|
2935
2747
|
};
|
|
2936
|
-
/** GetCurrentAvailablePlansResponse */
|
|
2937
|
-
GetCurrentAvailablePlansResponse: {
|
|
2938
|
-
/** @description Current active plan for the customer */
|
|
2939
|
-
current_plan?: components["schemas"]["PlanInfo"] | null;
|
|
2940
|
-
/**
|
|
2941
|
-
* Plans
|
|
2942
|
-
* @description List of available plans
|
|
2943
|
-
*/
|
|
2944
|
-
plans: components["schemas"]["PlanInfo"][];
|
|
2945
|
-
};
|
|
2946
2748
|
/** GetPricesResponse */
|
|
2947
2749
|
GetPricesResponse: {
|
|
2948
2750
|
/**
|
|
@@ -3714,47 +3516,6 @@ export interface components {
|
|
|
3714
3516
|
/** Permissions */
|
|
3715
3517
|
permissions?: components["schemas"]["Permission"][];
|
|
3716
3518
|
};
|
|
3717
|
-
/** PlanIdRequest */
|
|
3718
|
-
PlanIdRequest: {
|
|
3719
|
-
/**
|
|
3720
|
-
* Plan Id
|
|
3721
|
-
* @description Plan ID from available plans
|
|
3722
|
-
*/
|
|
3723
|
-
plan_id: string;
|
|
3724
|
-
};
|
|
3725
|
-
/** PlanInfo */
|
|
3726
|
-
PlanInfo: {
|
|
3727
|
-
/**
|
|
3728
|
-
* Amount
|
|
3729
|
-
* @description Base price
|
|
3730
|
-
*/
|
|
3731
|
-
amount: string;
|
|
3732
|
-
/**
|
|
3733
|
-
* Currency
|
|
3734
|
-
* @description Currency code
|
|
3735
|
-
*/
|
|
3736
|
-
currency: string;
|
|
3737
|
-
/**
|
|
3738
|
-
* Name
|
|
3739
|
-
* @description Plan display name
|
|
3740
|
-
*/
|
|
3741
|
-
name?: string | null;
|
|
3742
|
-
/**
|
|
3743
|
-
* Plan Id
|
|
3744
|
-
* @description Unique plan identifier
|
|
3745
|
-
*/
|
|
3746
|
-
plan_id: string;
|
|
3747
|
-
/**
|
|
3748
|
-
* Plan Level
|
|
3749
|
-
* @description Plan level such as 'premium' or 'starter'
|
|
3750
|
-
*/
|
|
3751
|
-
plan_level?: string | null;
|
|
3752
|
-
/**
|
|
3753
|
-
* Plan Type
|
|
3754
|
-
* @description Plan type or billing interval
|
|
3755
|
-
*/
|
|
3756
|
-
plan_type?: string | null;
|
|
3757
|
-
};
|
|
3758
3519
|
/**
|
|
3759
3520
|
* PostTransferRequirements
|
|
3760
3521
|
* @enum {string}
|
|
@@ -4508,54 +4269,6 @@ export interface components {
|
|
|
4508
4269
|
* @enum {string}
|
|
4509
4270
|
*/
|
|
4510
4271
|
VerificationType: "api" | "email";
|
|
4511
|
-
/** WalletCreditRequest */
|
|
4512
|
-
WalletCreditRequest: {
|
|
4513
|
-
/**
|
|
4514
|
-
* Amount
|
|
4515
|
-
* @description Amount to credit the customer wallet
|
|
4516
|
-
*/
|
|
4517
|
-
amount: number | string;
|
|
4518
|
-
/**
|
|
4519
|
-
* Payment Method Id
|
|
4520
|
-
* @description Payment method ID that should be used
|
|
4521
|
-
*/
|
|
4522
|
-
payment_method_id: string;
|
|
4523
|
-
};
|
|
4524
|
-
/**
|
|
4525
|
-
* WalletCreditResponseStatus
|
|
4526
|
-
* @enum {string}
|
|
4527
|
-
*/
|
|
4528
|
-
WalletCreditResponseStatus: "success" | "failed" | "pending";
|
|
4529
|
-
/** WalletCreditResponseWithBalance */
|
|
4530
|
-
WalletCreditResponseWithBalance: {
|
|
4531
|
-
/**
|
|
4532
|
-
* Amount
|
|
4533
|
-
* @description Amount credited to the customer wallet
|
|
4534
|
-
*/
|
|
4535
|
-
amount: string;
|
|
4536
|
-
/**
|
|
4537
|
-
* Balance
|
|
4538
|
-
* @description Updated wallet balance after the credit
|
|
4539
|
-
*/
|
|
4540
|
-
balance: string;
|
|
4541
|
-
/**
|
|
4542
|
-
* Client Secret
|
|
4543
|
-
* @description Client secret for 3DS authentication
|
|
4544
|
-
*/
|
|
4545
|
-
client_secret: string | null;
|
|
4546
|
-
/**
|
|
4547
|
-
* Credit Id
|
|
4548
|
-
* @description Unique identifier of the wallet credit transaction
|
|
4549
|
-
*/
|
|
4550
|
-
credit_id: string;
|
|
4551
|
-
/**
|
|
4552
|
-
* Message
|
|
4553
|
-
* @description Optional human-readable message describing the result
|
|
4554
|
-
*/
|
|
4555
|
-
message?: string | null;
|
|
4556
|
-
/** @description Status of the credit operation */
|
|
4557
|
-
status: components["schemas"]["WalletCreditResponseStatus"];
|
|
4558
|
-
};
|
|
4559
4272
|
/** WhoisBase */
|
|
4560
4273
|
WhoisBase: {
|
|
4561
4274
|
/**
|
|
@@ -7170,6 +6883,38 @@ export interface operations {
|
|
|
7170
6883
|
"application/json": components["schemas"]["Pagination_Organization_"];
|
|
7171
6884
|
};
|
|
7172
6885
|
};
|
|
6886
|
+
/** @description Unauthorized */
|
|
6887
|
+
401: {
|
|
6888
|
+
headers: {
|
|
6889
|
+
[name: string]: unknown;
|
|
6890
|
+
};
|
|
6891
|
+
content: {
|
|
6892
|
+
/** @example {
|
|
6893
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6894
|
+
* "detail": "Additional error context.",
|
|
6895
|
+
* "status": 401,
|
|
6896
|
+
* "title": "Authentication Error",
|
|
6897
|
+
* "type": "authentication"
|
|
6898
|
+
* } */
|
|
6899
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
6900
|
+
};
|
|
6901
|
+
};
|
|
6902
|
+
/** @description Forbidden */
|
|
6903
|
+
403: {
|
|
6904
|
+
headers: {
|
|
6905
|
+
[name: string]: unknown;
|
|
6906
|
+
};
|
|
6907
|
+
content: {
|
|
6908
|
+
/** @example {
|
|
6909
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
6910
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
6911
|
+
* "status": 403,
|
|
6912
|
+
* "title": "Permission Denied",
|
|
6913
|
+
* "type": "permission-denied"
|
|
6914
|
+
* } */
|
|
6915
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
6916
|
+
};
|
|
6917
|
+
};
|
|
7173
6918
|
/** @description Validation Error */
|
|
7174
6919
|
422: {
|
|
7175
6920
|
headers: {
|
|
@@ -7203,6 +6948,38 @@ export interface operations {
|
|
|
7203
6948
|
"application/json": components["schemas"]["Organization"];
|
|
7204
6949
|
};
|
|
7205
6950
|
};
|
|
6951
|
+
/** @description Unauthorized */
|
|
6952
|
+
401: {
|
|
6953
|
+
headers: {
|
|
6954
|
+
[name: string]: unknown;
|
|
6955
|
+
};
|
|
6956
|
+
content: {
|
|
6957
|
+
/** @example {
|
|
6958
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6959
|
+
* "detail": "Additional error context.",
|
|
6960
|
+
* "status": 401,
|
|
6961
|
+
* "title": "Authentication Error",
|
|
6962
|
+
* "type": "authentication"
|
|
6963
|
+
* } */
|
|
6964
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
6965
|
+
};
|
|
6966
|
+
};
|
|
6967
|
+
/** @description Forbidden */
|
|
6968
|
+
403: {
|
|
6969
|
+
headers: {
|
|
6970
|
+
[name: string]: unknown;
|
|
6971
|
+
};
|
|
6972
|
+
content: {
|
|
6973
|
+
/** @example {
|
|
6974
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
6975
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
6976
|
+
* "status": 403,
|
|
6977
|
+
* "title": "Permission Denied",
|
|
6978
|
+
* "type": "permission-denied"
|
|
6979
|
+
* } */
|
|
6980
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
6981
|
+
};
|
|
6982
|
+
};
|
|
7206
6983
|
/** @description Validation Error */
|
|
7207
6984
|
422: {
|
|
7208
6985
|
headers: {
|
|
@@ -7236,20 +7013,52 @@ export interface operations {
|
|
|
7236
7013
|
"application/json": components["schemas"]["OrganizationAttributeResponse"][];
|
|
7237
7014
|
};
|
|
7238
7015
|
};
|
|
7239
|
-
/** @description
|
|
7240
|
-
|
|
7016
|
+
/** @description Unauthorized */
|
|
7017
|
+
401: {
|
|
7241
7018
|
headers: {
|
|
7242
7019
|
[name: string]: unknown;
|
|
7243
7020
|
};
|
|
7244
7021
|
content: {
|
|
7245
|
-
|
|
7022
|
+
/** @example {
|
|
7023
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7024
|
+
* "detail": "Additional error context.",
|
|
7025
|
+
* "status": 401,
|
|
7026
|
+
* "title": "Authentication Error",
|
|
7027
|
+
* "type": "authentication"
|
|
7028
|
+
* } */
|
|
7029
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7246
7030
|
};
|
|
7247
7031
|
};
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7032
|
+
/** @description Forbidden */
|
|
7033
|
+
403: {
|
|
7034
|
+
headers: {
|
|
7035
|
+
[name: string]: unknown;
|
|
7036
|
+
};
|
|
7037
|
+
content: {
|
|
7038
|
+
/** @example {
|
|
7039
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7040
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7041
|
+
* "status": 403,
|
|
7042
|
+
* "title": "Permission Denied",
|
|
7043
|
+
* "type": "permission-denied"
|
|
7044
|
+
* } */
|
|
7045
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7046
|
+
};
|
|
7047
|
+
};
|
|
7048
|
+
/** @description Validation Error */
|
|
7049
|
+
422: {
|
|
7050
|
+
headers: {
|
|
7051
|
+
[name: string]: unknown;
|
|
7052
|
+
};
|
|
7053
|
+
content: {
|
|
7054
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7055
|
+
};
|
|
7056
|
+
};
|
|
7057
|
+
};
|
|
7058
|
+
};
|
|
7059
|
+
update_attributes_v1_organizations_attributes_patch: {
|
|
7060
|
+
parameters: {
|
|
7061
|
+
query?: {
|
|
7253
7062
|
organization_id?: TypeId<"organization"> | null;
|
|
7254
7063
|
};
|
|
7255
7064
|
header?: never;
|
|
@@ -7271,6 +7080,38 @@ export interface operations {
|
|
|
7271
7080
|
"application/json": components["schemas"]["OrganizationAttributeResponse"][];
|
|
7272
7081
|
};
|
|
7273
7082
|
};
|
|
7083
|
+
/** @description Unauthorized */
|
|
7084
|
+
401: {
|
|
7085
|
+
headers: {
|
|
7086
|
+
[name: string]: unknown;
|
|
7087
|
+
};
|
|
7088
|
+
content: {
|
|
7089
|
+
/** @example {
|
|
7090
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7091
|
+
* "detail": "Additional error context.",
|
|
7092
|
+
* "status": 401,
|
|
7093
|
+
* "title": "Authentication Error",
|
|
7094
|
+
* "type": "authentication"
|
|
7095
|
+
* } */
|
|
7096
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7097
|
+
};
|
|
7098
|
+
};
|
|
7099
|
+
/** @description Forbidden */
|
|
7100
|
+
403: {
|
|
7101
|
+
headers: {
|
|
7102
|
+
[name: string]: unknown;
|
|
7103
|
+
};
|
|
7104
|
+
content: {
|
|
7105
|
+
/** @example {
|
|
7106
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7107
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7108
|
+
* "status": 403,
|
|
7109
|
+
* "title": "Permission Denied",
|
|
7110
|
+
* "type": "permission-denied"
|
|
7111
|
+
* } */
|
|
7112
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7113
|
+
};
|
|
7114
|
+
};
|
|
7274
7115
|
/** @description Validation Error */
|
|
7275
7116
|
422: {
|
|
7276
7117
|
headers: {
|
|
@@ -7305,6 +7146,38 @@ export interface operations {
|
|
|
7305
7146
|
"application/json": components["schemas"]["OrganizationAttributeResponse"][];
|
|
7306
7147
|
};
|
|
7307
7148
|
};
|
|
7149
|
+
/** @description Unauthorized */
|
|
7150
|
+
401: {
|
|
7151
|
+
headers: {
|
|
7152
|
+
[name: string]: unknown;
|
|
7153
|
+
};
|
|
7154
|
+
content: {
|
|
7155
|
+
/** @example {
|
|
7156
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7157
|
+
* "detail": "Additional error context.",
|
|
7158
|
+
* "status": 401,
|
|
7159
|
+
* "title": "Authentication Error",
|
|
7160
|
+
* "type": "authentication"
|
|
7161
|
+
* } */
|
|
7162
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7163
|
+
};
|
|
7164
|
+
};
|
|
7165
|
+
/** @description Forbidden */
|
|
7166
|
+
403: {
|
|
7167
|
+
headers: {
|
|
7168
|
+
[name: string]: unknown;
|
|
7169
|
+
};
|
|
7170
|
+
content: {
|
|
7171
|
+
/** @example {
|
|
7172
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7173
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7174
|
+
* "status": 403,
|
|
7175
|
+
* "title": "Permission Denied",
|
|
7176
|
+
* "type": "permission-denied"
|
|
7177
|
+
* } */
|
|
7178
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7179
|
+
};
|
|
7180
|
+
};
|
|
7308
7181
|
/** @description Validation Error */
|
|
7309
7182
|
422: {
|
|
7310
7183
|
headers: {
|
|
@@ -7340,6 +7213,38 @@ export interface operations {
|
|
|
7340
7213
|
"application/json": components["schemas"]["OrganizationAttributeResponse"][];
|
|
7341
7214
|
};
|
|
7342
7215
|
};
|
|
7216
|
+
/** @description Unauthorized */
|
|
7217
|
+
401: {
|
|
7218
|
+
headers: {
|
|
7219
|
+
[name: string]: unknown;
|
|
7220
|
+
};
|
|
7221
|
+
content: {
|
|
7222
|
+
/** @example {
|
|
7223
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7224
|
+
* "detail": "Additional error context.",
|
|
7225
|
+
* "status": 401,
|
|
7226
|
+
* "title": "Authentication Error",
|
|
7227
|
+
* "type": "authentication"
|
|
7228
|
+
* } */
|
|
7229
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7230
|
+
};
|
|
7231
|
+
};
|
|
7232
|
+
/** @description Forbidden */
|
|
7233
|
+
403: {
|
|
7234
|
+
headers: {
|
|
7235
|
+
[name: string]: unknown;
|
|
7236
|
+
};
|
|
7237
|
+
content: {
|
|
7238
|
+
/** @example {
|
|
7239
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7240
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7241
|
+
* "status": 403,
|
|
7242
|
+
* "title": "Permission Denied",
|
|
7243
|
+
* "type": "permission-denied"
|
|
7244
|
+
* } */
|
|
7245
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7246
|
+
};
|
|
7247
|
+
};
|
|
7343
7248
|
/** @description Validation Error */
|
|
7344
7249
|
422: {
|
|
7345
7250
|
headers: {
|
|
@@ -7369,6 +7274,38 @@ export interface operations {
|
|
|
7369
7274
|
"application/json": components["schemas"]["IpRestrictionResponse"][];
|
|
7370
7275
|
};
|
|
7371
7276
|
};
|
|
7277
|
+
/** @description Unauthorized */
|
|
7278
|
+
401: {
|
|
7279
|
+
headers: {
|
|
7280
|
+
[name: string]: unknown;
|
|
7281
|
+
};
|
|
7282
|
+
content: {
|
|
7283
|
+
/** @example {
|
|
7284
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7285
|
+
* "detail": "Additional error context.",
|
|
7286
|
+
* "status": 401,
|
|
7287
|
+
* "title": "Authentication Error",
|
|
7288
|
+
* "type": "authentication"
|
|
7289
|
+
* } */
|
|
7290
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7291
|
+
};
|
|
7292
|
+
};
|
|
7293
|
+
/** @description Forbidden */
|
|
7294
|
+
403: {
|
|
7295
|
+
headers: {
|
|
7296
|
+
[name: string]: unknown;
|
|
7297
|
+
};
|
|
7298
|
+
content: {
|
|
7299
|
+
/** @example {
|
|
7300
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7301
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7302
|
+
* "status": 403,
|
|
7303
|
+
* "title": "Permission Denied",
|
|
7304
|
+
* "type": "permission-denied"
|
|
7305
|
+
* } */
|
|
7306
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7307
|
+
};
|
|
7308
|
+
};
|
|
7372
7309
|
};
|
|
7373
7310
|
};
|
|
7374
7311
|
create_ip_restriction_v1_organizations_ip_restrictions_post: {
|
|
@@ -7393,6 +7330,38 @@ export interface operations {
|
|
|
7393
7330
|
"application/json": components["schemas"]["IpRestrictionResponse"];
|
|
7394
7331
|
};
|
|
7395
7332
|
};
|
|
7333
|
+
/** @description Unauthorized */
|
|
7334
|
+
401: {
|
|
7335
|
+
headers: {
|
|
7336
|
+
[name: string]: unknown;
|
|
7337
|
+
};
|
|
7338
|
+
content: {
|
|
7339
|
+
/** @example {
|
|
7340
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7341
|
+
* "detail": "Additional error context.",
|
|
7342
|
+
* "status": 401,
|
|
7343
|
+
* "title": "Authentication Error",
|
|
7344
|
+
* "type": "authentication"
|
|
7345
|
+
* } */
|
|
7346
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7347
|
+
};
|
|
7348
|
+
};
|
|
7349
|
+
/** @description Forbidden */
|
|
7350
|
+
403: {
|
|
7351
|
+
headers: {
|
|
7352
|
+
[name: string]: unknown;
|
|
7353
|
+
};
|
|
7354
|
+
content: {
|
|
7355
|
+
/** @example {
|
|
7356
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7357
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7358
|
+
* "status": 403,
|
|
7359
|
+
* "title": "Permission Denied",
|
|
7360
|
+
* "type": "permission-denied"
|
|
7361
|
+
* } */
|
|
7362
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
7396
7365
|
/** @description Validation Error */
|
|
7397
7366
|
422: {
|
|
7398
7367
|
headers: {
|
|
@@ -7424,6 +7393,38 @@ export interface operations {
|
|
|
7424
7393
|
"application/json": components["schemas"]["IpRestrictionResponse"];
|
|
7425
7394
|
};
|
|
7426
7395
|
};
|
|
7396
|
+
/** @description Unauthorized */
|
|
7397
|
+
401: {
|
|
7398
|
+
headers: {
|
|
7399
|
+
[name: string]: unknown;
|
|
7400
|
+
};
|
|
7401
|
+
content: {
|
|
7402
|
+
/** @example {
|
|
7403
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7404
|
+
* "detail": "Additional error context.",
|
|
7405
|
+
* "status": 401,
|
|
7406
|
+
* "title": "Authentication Error",
|
|
7407
|
+
* "type": "authentication"
|
|
7408
|
+
* } */
|
|
7409
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7410
|
+
};
|
|
7411
|
+
};
|
|
7412
|
+
/** @description Forbidden */
|
|
7413
|
+
403: {
|
|
7414
|
+
headers: {
|
|
7415
|
+
[name: string]: unknown;
|
|
7416
|
+
};
|
|
7417
|
+
content: {
|
|
7418
|
+
/** @example {
|
|
7419
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7420
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7421
|
+
* "status": 403,
|
|
7422
|
+
* "title": "Permission Denied",
|
|
7423
|
+
* "type": "permission-denied"
|
|
7424
|
+
* } */
|
|
7425
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7426
|
+
};
|
|
7427
|
+
};
|
|
7427
7428
|
/** @description Validation Error */
|
|
7428
7429
|
422: {
|
|
7429
7430
|
headers: {
|
|
@@ -7453,6 +7454,38 @@ export interface operations {
|
|
|
7453
7454
|
};
|
|
7454
7455
|
content?: never;
|
|
7455
7456
|
};
|
|
7457
|
+
/** @description Unauthorized */
|
|
7458
|
+
401: {
|
|
7459
|
+
headers: {
|
|
7460
|
+
[name: string]: unknown;
|
|
7461
|
+
};
|
|
7462
|
+
content: {
|
|
7463
|
+
/** @example {
|
|
7464
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7465
|
+
* "detail": "Additional error context.",
|
|
7466
|
+
* "status": 401,
|
|
7467
|
+
* "title": "Authentication Error",
|
|
7468
|
+
* "type": "authentication"
|
|
7469
|
+
* } */
|
|
7470
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7471
|
+
};
|
|
7472
|
+
};
|
|
7473
|
+
/** @description Forbidden */
|
|
7474
|
+
403: {
|
|
7475
|
+
headers: {
|
|
7476
|
+
[name: string]: unknown;
|
|
7477
|
+
};
|
|
7478
|
+
content: {
|
|
7479
|
+
/** @example {
|
|
7480
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7481
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7482
|
+
* "status": 403,
|
|
7483
|
+
* "title": "Permission Denied",
|
|
7484
|
+
* "type": "permission-denied"
|
|
7485
|
+
* } */
|
|
7486
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7487
|
+
};
|
|
7488
|
+
};
|
|
7456
7489
|
/** @description Validation Error */
|
|
7457
7490
|
422: {
|
|
7458
7491
|
headers: {
|
|
@@ -7488,6 +7521,38 @@ export interface operations {
|
|
|
7488
7521
|
"application/json": components["schemas"]["IpRestrictionResponse"];
|
|
7489
7522
|
};
|
|
7490
7523
|
};
|
|
7524
|
+
/** @description Unauthorized */
|
|
7525
|
+
401: {
|
|
7526
|
+
headers: {
|
|
7527
|
+
[name: string]: unknown;
|
|
7528
|
+
};
|
|
7529
|
+
content: {
|
|
7530
|
+
/** @example {
|
|
7531
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7532
|
+
* "detail": "Additional error context.",
|
|
7533
|
+
* "status": 401,
|
|
7534
|
+
* "title": "Authentication Error",
|
|
7535
|
+
* "type": "authentication"
|
|
7536
|
+
* } */
|
|
7537
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7538
|
+
};
|
|
7539
|
+
};
|
|
7540
|
+
/** @description Forbidden */
|
|
7541
|
+
403: {
|
|
7542
|
+
headers: {
|
|
7543
|
+
[name: string]: unknown;
|
|
7544
|
+
};
|
|
7545
|
+
content: {
|
|
7546
|
+
/** @example {
|
|
7547
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7548
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7549
|
+
* "status": 403,
|
|
7550
|
+
* "title": "Permission Denied",
|
|
7551
|
+
* "type": "permission-denied"
|
|
7552
|
+
* } */
|
|
7553
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7554
|
+
};
|
|
7555
|
+
};
|
|
7491
7556
|
/** @description Validation Error */
|
|
7492
7557
|
422: {
|
|
7493
7558
|
headers: {
|
|
@@ -7517,47 +7582,48 @@ export interface operations {
|
|
|
7517
7582
|
"application/json": unknown;
|
|
7518
7583
|
};
|
|
7519
7584
|
};
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
list_users_v1_organizations_users_get: {
|
|
7523
|
-
parameters: {
|
|
7524
|
-
query?: {
|
|
7525
|
-
page?: number;
|
|
7526
|
-
page_size?: number;
|
|
7527
|
-
};
|
|
7528
|
-
header?: never;
|
|
7529
|
-
path?: never;
|
|
7530
|
-
cookie?: never;
|
|
7531
|
-
};
|
|
7532
|
-
requestBody?: never;
|
|
7533
|
-
responses: {
|
|
7534
|
-
/** @description Successful Response */
|
|
7535
|
-
200: {
|
|
7585
|
+
/** @description Unauthorized */
|
|
7586
|
+
401: {
|
|
7536
7587
|
headers: {
|
|
7537
7588
|
[name: string]: unknown;
|
|
7538
7589
|
};
|
|
7539
7590
|
content: {
|
|
7540
|
-
|
|
7591
|
+
/** @example {
|
|
7592
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7593
|
+
* "detail": "Additional error context.",
|
|
7594
|
+
* "status": 401,
|
|
7595
|
+
* "title": "Authentication Error",
|
|
7596
|
+
* "type": "authentication"
|
|
7597
|
+
* } */
|
|
7598
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7541
7599
|
};
|
|
7542
7600
|
};
|
|
7543
|
-
/** @description
|
|
7544
|
-
|
|
7601
|
+
/** @description Forbidden */
|
|
7602
|
+
403: {
|
|
7545
7603
|
headers: {
|
|
7546
7604
|
[name: string]: unknown;
|
|
7547
7605
|
};
|
|
7548
7606
|
content: {
|
|
7549
|
-
|
|
7607
|
+
/** @example {
|
|
7608
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7609
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7610
|
+
* "status": 403,
|
|
7611
|
+
* "title": "Permission Denied",
|
|
7612
|
+
* "type": "permission-denied"
|
|
7613
|
+
* } */
|
|
7614
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7550
7615
|
};
|
|
7551
7616
|
};
|
|
7552
7617
|
};
|
|
7553
7618
|
};
|
|
7554
|
-
|
|
7619
|
+
list_users_v1_organizations_users_get: {
|
|
7555
7620
|
parameters: {
|
|
7556
|
-
query?:
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
organization_id: TypeId<"organization">;
|
|
7621
|
+
query?: {
|
|
7622
|
+
page?: number;
|
|
7623
|
+
page_size?: number;
|
|
7560
7624
|
};
|
|
7625
|
+
header?: never;
|
|
7626
|
+
path?: never;
|
|
7561
7627
|
cookie?: never;
|
|
7562
7628
|
};
|
|
7563
7629
|
requestBody?: never;
|
|
@@ -7568,71 +7634,39 @@ export interface operations {
|
|
|
7568
7634
|
[name: string]: unknown;
|
|
7569
7635
|
};
|
|
7570
7636
|
content: {
|
|
7571
|
-
"application/json": components["schemas"]["
|
|
7572
|
-
};
|
|
7573
|
-
};
|
|
7574
|
-
/** @description Validation Error */
|
|
7575
|
-
422: {
|
|
7576
|
-
headers: {
|
|
7577
|
-
[name: string]: unknown;
|
|
7578
|
-
};
|
|
7579
|
-
content: {
|
|
7580
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7581
|
-
};
|
|
7582
|
-
};
|
|
7583
|
-
};
|
|
7584
|
-
};
|
|
7585
|
-
delete_user_v1_organizations__organization_id__delete: {
|
|
7586
|
-
parameters: {
|
|
7587
|
-
query?: never;
|
|
7588
|
-
header?: never;
|
|
7589
|
-
path: {
|
|
7590
|
-
organization_id: TypeId<"organization">;
|
|
7591
|
-
};
|
|
7592
|
-
cookie?: never;
|
|
7593
|
-
};
|
|
7594
|
-
requestBody?: never;
|
|
7595
|
-
responses: {
|
|
7596
|
-
/** @description Successful Response */
|
|
7597
|
-
204: {
|
|
7598
|
-
headers: {
|
|
7599
|
-
[name: string]: unknown;
|
|
7637
|
+
"application/json": components["schemas"]["Pagination_User_"];
|
|
7600
7638
|
};
|
|
7601
|
-
content?: never;
|
|
7602
7639
|
};
|
|
7603
|
-
/** @description
|
|
7604
|
-
|
|
7640
|
+
/** @description Unauthorized */
|
|
7641
|
+
401: {
|
|
7605
7642
|
headers: {
|
|
7606
7643
|
[name: string]: unknown;
|
|
7607
7644
|
};
|
|
7608
7645
|
content: {
|
|
7609
|
-
|
|
7646
|
+
/** @example {
|
|
7647
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7648
|
+
* "detail": "Additional error context.",
|
|
7649
|
+
* "status": 401,
|
|
7650
|
+
* "title": "Authentication Error",
|
|
7651
|
+
* "type": "authentication"
|
|
7652
|
+
* } */
|
|
7653
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7610
7654
|
};
|
|
7611
7655
|
};
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
update_organization_v1_organizations__organization_id__patch: {
|
|
7615
|
-
parameters: {
|
|
7616
|
-
query?: never;
|
|
7617
|
-
header?: never;
|
|
7618
|
-
path: {
|
|
7619
|
-
organization_id: TypeId<"organization">;
|
|
7620
|
-
};
|
|
7621
|
-
cookie?: never;
|
|
7622
|
-
};
|
|
7623
|
-
requestBody: {
|
|
7624
|
-
content: {
|
|
7625
|
-
"application/json": components["schemas"]["OrganizationUpdate"];
|
|
7626
|
-
};
|
|
7627
|
-
};
|
|
7628
|
-
responses: {
|
|
7629
|
-
/** @description Successful Response */
|
|
7630
|
-
200: {
|
|
7656
|
+
/** @description Forbidden */
|
|
7657
|
+
403: {
|
|
7631
7658
|
headers: {
|
|
7632
7659
|
[name: string]: unknown;
|
|
7633
7660
|
};
|
|
7634
7661
|
content: {
|
|
7635
|
-
|
|
7662
|
+
/** @example {
|
|
7663
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7664
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7665
|
+
* "status": 403,
|
|
7666
|
+
* "title": "Permission Denied",
|
|
7667
|
+
* "type": "permission-denied"
|
|
7668
|
+
* } */
|
|
7669
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7636
7670
|
};
|
|
7637
7671
|
};
|
|
7638
7672
|
/** @description Validation Error */
|
|
@@ -7646,7 +7680,7 @@ export interface operations {
|
|
|
7646
7680
|
};
|
|
7647
7681
|
};
|
|
7648
7682
|
};
|
|
7649
|
-
|
|
7683
|
+
get_organization_v1_organizations__organization_id__get: {
|
|
7650
7684
|
parameters: {
|
|
7651
7685
|
query?: never;
|
|
7652
7686
|
header?: never;
|
|
@@ -7655,11 +7689,7 @@ export interface operations {
|
|
|
7655
7689
|
};
|
|
7656
7690
|
cookie?: never;
|
|
7657
7691
|
};
|
|
7658
|
-
requestBody
|
|
7659
|
-
content: {
|
|
7660
|
-
"application/json": components["schemas"]["CheckoutSessionRequest"];
|
|
7661
|
-
};
|
|
7662
|
-
};
|
|
7692
|
+
requestBody?: never;
|
|
7663
7693
|
responses: {
|
|
7664
7694
|
/** @description Successful Response */
|
|
7665
7695
|
200: {
|
|
@@ -7667,38 +7697,39 @@ export interface operations {
|
|
|
7667
7697
|
[name: string]: unknown;
|
|
7668
7698
|
};
|
|
7669
7699
|
content: {
|
|
7670
|
-
"application/json": components["schemas"]["
|
|
7700
|
+
"application/json": components["schemas"]["OrganizationWithBillingData"];
|
|
7671
7701
|
};
|
|
7672
7702
|
};
|
|
7673
|
-
/** @description
|
|
7674
|
-
|
|
7703
|
+
/** @description Unauthorized */
|
|
7704
|
+
401: {
|
|
7675
7705
|
headers: {
|
|
7676
7706
|
[name: string]: unknown;
|
|
7677
7707
|
};
|
|
7678
7708
|
content: {
|
|
7679
|
-
|
|
7709
|
+
/** @example {
|
|
7710
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7711
|
+
* "detail": "Additional error context.",
|
|
7712
|
+
* "status": 401,
|
|
7713
|
+
* "title": "Authentication Error",
|
|
7714
|
+
* "type": "authentication"
|
|
7715
|
+
* } */
|
|
7716
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7680
7717
|
};
|
|
7681
7718
|
};
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
list_payment_methods_v1_organizations__organization_id__billing_payment_methods_get: {
|
|
7685
|
-
parameters: {
|
|
7686
|
-
query?: never;
|
|
7687
|
-
header?: never;
|
|
7688
|
-
path: {
|
|
7689
|
-
organization_id: TypeId<"organization">;
|
|
7690
|
-
};
|
|
7691
|
-
cookie?: never;
|
|
7692
|
-
};
|
|
7693
|
-
requestBody?: never;
|
|
7694
|
-
responses: {
|
|
7695
|
-
/** @description Successful Response */
|
|
7696
|
-
200: {
|
|
7719
|
+
/** @description Forbidden */
|
|
7720
|
+
403: {
|
|
7697
7721
|
headers: {
|
|
7698
7722
|
[name: string]: unknown;
|
|
7699
7723
|
};
|
|
7700
7724
|
content: {
|
|
7701
|
-
|
|
7725
|
+
/** @example {
|
|
7726
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7727
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7728
|
+
* "status": 403,
|
|
7729
|
+
* "title": "Permission Denied",
|
|
7730
|
+
* "type": "permission-denied"
|
|
7731
|
+
* } */
|
|
7732
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7702
7733
|
};
|
|
7703
7734
|
};
|
|
7704
7735
|
/** @description Validation Error */
|
|
@@ -7712,12 +7743,11 @@ export interface operations {
|
|
|
7712
7743
|
};
|
|
7713
7744
|
};
|
|
7714
7745
|
};
|
|
7715
|
-
|
|
7746
|
+
delete_organization_v1_organizations__organization_id__delete: {
|
|
7716
7747
|
parameters: {
|
|
7717
7748
|
query?: never;
|
|
7718
7749
|
header?: never;
|
|
7719
7750
|
path: {
|
|
7720
|
-
payment_method_id: string;
|
|
7721
7751
|
organization_id: TypeId<"organization">;
|
|
7722
7752
|
};
|
|
7723
7753
|
cookie?: never;
|
|
@@ -7731,36 +7761,36 @@ export interface operations {
|
|
|
7731
7761
|
};
|
|
7732
7762
|
content?: never;
|
|
7733
7763
|
};
|
|
7734
|
-
/** @description
|
|
7735
|
-
|
|
7764
|
+
/** @description Unauthorized */
|
|
7765
|
+
401: {
|
|
7736
7766
|
headers: {
|
|
7737
7767
|
[name: string]: unknown;
|
|
7738
7768
|
};
|
|
7739
7769
|
content: {
|
|
7740
|
-
|
|
7770
|
+
/** @example {
|
|
7771
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7772
|
+
* "detail": "Additional error context.",
|
|
7773
|
+
* "status": 401,
|
|
7774
|
+
* "title": "Authentication Error",
|
|
7775
|
+
* "type": "authentication"
|
|
7776
|
+
* } */
|
|
7777
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7741
7778
|
};
|
|
7742
7779
|
};
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
update_default_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__default_patch: {
|
|
7746
|
-
parameters: {
|
|
7747
|
-
query?: never;
|
|
7748
|
-
header?: never;
|
|
7749
|
-
path: {
|
|
7750
|
-
payment_method_id: string;
|
|
7751
|
-
organization_id: TypeId<"organization">;
|
|
7752
|
-
};
|
|
7753
|
-
cookie?: never;
|
|
7754
|
-
};
|
|
7755
|
-
requestBody?: never;
|
|
7756
|
-
responses: {
|
|
7757
|
-
/** @description Successful Response */
|
|
7758
|
-
200: {
|
|
7780
|
+
/** @description Forbidden */
|
|
7781
|
+
403: {
|
|
7759
7782
|
headers: {
|
|
7760
7783
|
[name: string]: unknown;
|
|
7761
7784
|
};
|
|
7762
7785
|
content: {
|
|
7763
|
-
|
|
7786
|
+
/** @example {
|
|
7787
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7788
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7789
|
+
* "status": 403,
|
|
7790
|
+
* "title": "Permission Denied",
|
|
7791
|
+
* "type": "permission-denied"
|
|
7792
|
+
* } */
|
|
7793
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7764
7794
|
};
|
|
7765
7795
|
};
|
|
7766
7796
|
/** @description Validation Error */
|
|
@@ -7774,7 +7804,7 @@ export interface operations {
|
|
|
7774
7804
|
};
|
|
7775
7805
|
};
|
|
7776
7806
|
};
|
|
7777
|
-
|
|
7807
|
+
update_organization_v1_organizations__organization_id__patch: {
|
|
7778
7808
|
parameters: {
|
|
7779
7809
|
query?: never;
|
|
7780
7810
|
header?: never;
|
|
@@ -7785,7 +7815,7 @@ export interface operations {
|
|
|
7785
7815
|
};
|
|
7786
7816
|
requestBody: {
|
|
7787
7817
|
content: {
|
|
7788
|
-
"application/json": components["schemas"]["
|
|
7818
|
+
"application/json": components["schemas"]["OrganizationUpdate"];
|
|
7789
7819
|
};
|
|
7790
7820
|
};
|
|
7791
7821
|
responses: {
|
|
@@ -7795,42 +7825,39 @@ export interface operations {
|
|
|
7795
7825
|
[name: string]: unknown;
|
|
7796
7826
|
};
|
|
7797
7827
|
content: {
|
|
7798
|
-
"application/json": components["schemas"]["
|
|
7828
|
+
"application/json": components["schemas"]["Organization"];
|
|
7799
7829
|
};
|
|
7800
7830
|
};
|
|
7801
|
-
/** @description
|
|
7802
|
-
|
|
7831
|
+
/** @description Unauthorized */
|
|
7832
|
+
401: {
|
|
7803
7833
|
headers: {
|
|
7804
7834
|
[name: string]: unknown;
|
|
7805
7835
|
};
|
|
7806
7836
|
content: {
|
|
7807
|
-
|
|
7837
|
+
/** @example {
|
|
7838
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7839
|
+
* "detail": "Additional error context.",
|
|
7840
|
+
* "status": 401,
|
|
7841
|
+
* "title": "Authentication Error",
|
|
7842
|
+
* "type": "authentication"
|
|
7843
|
+
* } */
|
|
7844
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7808
7845
|
};
|
|
7809
7846
|
};
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
change_plan_v1_organizations__organization_id__plan_patch: {
|
|
7813
|
-
parameters: {
|
|
7814
|
-
query?: never;
|
|
7815
|
-
header?: never;
|
|
7816
|
-
path: {
|
|
7817
|
-
organization_id: TypeId<"organization">;
|
|
7818
|
-
};
|
|
7819
|
-
cookie?: never;
|
|
7820
|
-
};
|
|
7821
|
-
requestBody: {
|
|
7822
|
-
content: {
|
|
7823
|
-
"application/json": components["schemas"]["PlanIdRequest"];
|
|
7824
|
-
};
|
|
7825
|
-
};
|
|
7826
|
-
responses: {
|
|
7827
|
-
/** @description Successful Response */
|
|
7828
|
-
200: {
|
|
7847
|
+
/** @description Forbidden */
|
|
7848
|
+
403: {
|
|
7829
7849
|
headers: {
|
|
7830
7850
|
[name: string]: unknown;
|
|
7831
7851
|
};
|
|
7832
7852
|
content: {
|
|
7833
|
-
|
|
7853
|
+
/** @example {
|
|
7854
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7855
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7856
|
+
* "status": 403,
|
|
7857
|
+
* "title": "Permission Denied",
|
|
7858
|
+
* "type": "permission-denied"
|
|
7859
|
+
* } */
|
|
7860
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7834
7861
|
};
|
|
7835
7862
|
};
|
|
7836
7863
|
/** @description Validation Error */
|
|
@@ -7844,12 +7871,16 @@ export interface operations {
|
|
|
7844
7871
|
};
|
|
7845
7872
|
};
|
|
7846
7873
|
};
|
|
7847
|
-
|
|
7874
|
+
get_pricing_plans_v1_organizations__organization_id__pricing_product_type__product_type__get: {
|
|
7848
7875
|
parameters: {
|
|
7849
|
-
query?:
|
|
7876
|
+
query?: {
|
|
7877
|
+
product_action?: components["schemas"]["BillingTransactionAction"] | null;
|
|
7878
|
+
product_class?: string | null;
|
|
7879
|
+
};
|
|
7850
7880
|
header?: never;
|
|
7851
7881
|
path: {
|
|
7852
7882
|
organization_id: TypeId<"organization">;
|
|
7883
|
+
product_type: components["schemas"]["BillingTransactionProductType"];
|
|
7853
7884
|
};
|
|
7854
7885
|
cookie?: never;
|
|
7855
7886
|
};
|
|
@@ -7861,42 +7892,39 @@ export interface operations {
|
|
|
7861
7892
|
[name: string]: unknown;
|
|
7862
7893
|
};
|
|
7863
7894
|
content: {
|
|
7864
|
-
"application/json": components["schemas"]["
|
|
7895
|
+
"application/json": components["schemas"]["GetPricesResponse"];
|
|
7865
7896
|
};
|
|
7866
7897
|
};
|
|
7867
|
-
/** @description
|
|
7868
|
-
|
|
7898
|
+
/** @description Unauthorized */
|
|
7899
|
+
401: {
|
|
7869
7900
|
headers: {
|
|
7870
7901
|
[name: string]: unknown;
|
|
7871
7902
|
};
|
|
7872
7903
|
content: {
|
|
7873
|
-
|
|
7904
|
+
/** @example {
|
|
7905
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7906
|
+
* "detail": "Additional error context.",
|
|
7907
|
+
* "status": 401,
|
|
7908
|
+
* "title": "Authentication Error",
|
|
7909
|
+
* "type": "authentication"
|
|
7910
|
+
* } */
|
|
7911
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7874
7912
|
};
|
|
7875
7913
|
};
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
get_pricing_plans_v1_organizations__organization_id__pricing_product_type__product_type__get: {
|
|
7879
|
-
parameters: {
|
|
7880
|
-
query?: {
|
|
7881
|
-
product_action?: components["schemas"]["BillingTransactionAction"] | null;
|
|
7882
|
-
product_class?: string | null;
|
|
7883
|
-
};
|
|
7884
|
-
header?: never;
|
|
7885
|
-
path: {
|
|
7886
|
-
organization_id: TypeId<"organization">;
|
|
7887
|
-
product_type: components["schemas"]["BillingTransactionProductType"];
|
|
7888
|
-
};
|
|
7889
|
-
cookie?: never;
|
|
7890
|
-
};
|
|
7891
|
-
requestBody?: never;
|
|
7892
|
-
responses: {
|
|
7893
|
-
/** @description Successful Response */
|
|
7894
|
-
200: {
|
|
7914
|
+
/** @description Forbidden */
|
|
7915
|
+
403: {
|
|
7895
7916
|
headers: {
|
|
7896
7917
|
[name: string]: unknown;
|
|
7897
7918
|
};
|
|
7898
7919
|
content: {
|
|
7899
|
-
|
|
7920
|
+
/** @example {
|
|
7921
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7922
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7923
|
+
* "status": 403,
|
|
7924
|
+
* "title": "Permission Denied",
|
|
7925
|
+
* "type": "permission-denied"
|
|
7926
|
+
* } */
|
|
7927
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7900
7928
|
};
|
|
7901
7929
|
};
|
|
7902
7930
|
/** @description Validation Error */
|
|
@@ -7943,6 +7971,38 @@ export interface operations {
|
|
|
7943
7971
|
"application/json": components["schemas"]["Pagination_BillingTransactionResponse_"];
|
|
7944
7972
|
};
|
|
7945
7973
|
};
|
|
7974
|
+
/** @description Unauthorized */
|
|
7975
|
+
401: {
|
|
7976
|
+
headers: {
|
|
7977
|
+
[name: string]: unknown;
|
|
7978
|
+
};
|
|
7979
|
+
content: {
|
|
7980
|
+
/** @example {
|
|
7981
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7982
|
+
* "detail": "Additional error context.",
|
|
7983
|
+
* "status": 401,
|
|
7984
|
+
* "title": "Authentication Error",
|
|
7985
|
+
* "type": "authentication"
|
|
7986
|
+
* } */
|
|
7987
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7988
|
+
};
|
|
7989
|
+
};
|
|
7990
|
+
/** @description Forbidden */
|
|
7991
|
+
403: {
|
|
7992
|
+
headers: {
|
|
7993
|
+
[name: string]: unknown;
|
|
7994
|
+
};
|
|
7995
|
+
content: {
|
|
7996
|
+
/** @example {
|
|
7997
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
7998
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
7999
|
+
* "status": 403,
|
|
8000
|
+
* "title": "Permission Denied",
|
|
8001
|
+
* "type": "permission-denied"
|
|
8002
|
+
* } */
|
|
8003
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
8004
|
+
};
|
|
8005
|
+
};
|
|
7946
8006
|
/** @description Validation Error */
|
|
7947
8007
|
422: {
|
|
7948
8008
|
headers: {
|
|
@@ -7975,6 +8035,38 @@ export interface operations {
|
|
|
7975
8035
|
"application/json": components["schemas"]["BillingTransactionResponse"];
|
|
7976
8036
|
};
|
|
7977
8037
|
};
|
|
8038
|
+
/** @description Unauthorized */
|
|
8039
|
+
401: {
|
|
8040
|
+
headers: {
|
|
8041
|
+
[name: string]: unknown;
|
|
8042
|
+
};
|
|
8043
|
+
content: {
|
|
8044
|
+
/** @example {
|
|
8045
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
8046
|
+
* "detail": "Additional error context.",
|
|
8047
|
+
* "status": 401,
|
|
8048
|
+
* "title": "Authentication Error",
|
|
8049
|
+
* "type": "authentication"
|
|
8050
|
+
* } */
|
|
8051
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
8052
|
+
};
|
|
8053
|
+
};
|
|
8054
|
+
/** @description Forbidden */
|
|
8055
|
+
403: {
|
|
8056
|
+
headers: {
|
|
8057
|
+
[name: string]: unknown;
|
|
8058
|
+
};
|
|
8059
|
+
content: {
|
|
8060
|
+
/** @example {
|
|
8061
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
8062
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
8063
|
+
* "status": 403,
|
|
8064
|
+
* "title": "Permission Denied",
|
|
8065
|
+
* "type": "permission-denied"
|
|
8066
|
+
* } */
|
|
8067
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
8068
|
+
};
|
|
8069
|
+
};
|
|
7978
8070
|
/** @description Validation Error */
|
|
7979
8071
|
422: {
|
|
7980
8072
|
headers: {
|