@opusdns/api 0.79.0 → 0.81.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.
@@ -34,7 +34,7 @@ import { operations } from '../schema';
34
34
 
35
35
  import { DomainDnssecDataCreateArray, OrganizationAttributeUpdateArray } from './schemas-arrays.d';
36
36
 
37
- import { ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainTransferIn, EmailForwardAlias, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, CheckoutSessionRequest, WalletCreditRequest, PlanIdRequest, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
37
+ import { ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainTransferIn, EmailForwardAlias, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
38
38
 
39
39
  /**
40
40
  * Request type for POST AuthToken endpoint
@@ -2715,7 +2715,7 @@ export type PATCH_OrganizationsIpRestrictionsIpRestrictionId_Request_Body = PATC
2715
2715
  */
2716
2716
  export type DELETE_OrganizationsOrganizationId_Request = {
2717
2717
  parameters: {
2718
- path: operations['delete_user_v1_organizations__organization_id__delete']['parameters']['path'];
2718
+ path: operations['delete_organization_v1_organizations__organization_id__delete']['parameters']['path'];
2719
2719
  };
2720
2720
  }
2721
2721
  /**
@@ -2824,321 +2824,6 @@ export type PATCH_OrganizationsOrganizationId_Request_Path = PATCH_Organizations
2824
2824
  */
2825
2825
  export type PATCH_OrganizationsOrganizationId_Request_Body = PATCH_OrganizationsOrganizationId_Request['requestBody'];
2826
2826
 
2827
- /**
2828
- * Request type for POST OrganizationsOrganizationIdBillingCheckoutSessions endpoint
2829
- *
2830
- * Create checkout session
2831
- * Create a checkout session for the organization
2832
- *
2833
- * @remarks
2834
- * This type defines the complete request structure for the POST OrganizationsOrganizationIdBillingCheckoutSessions endpoint.
2835
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
2836
- * Use this type to ensure type safety when making API requests to this endpoint.
2837
- *
2838
- * @example
2839
- * Use this type to ensure type safety when making API requests to this endpoint.
2840
- *
2841
- * @path /v1/organizations/{organization_id}/billing/checkout-sessions
2842
- *
2843
- * @see {@link POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request_Query} - Query parameters type
2844
- * @see {@link POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request_Path} - Path parameters type
2845
- * @see {@link POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request_Body} - Request body type
2846
- */
2847
- export type POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request = {
2848
- parameters: {
2849
- path: operations['get_checkout_session_v1_organizations__organization_id__billing_checkout_sessions_post']['parameters']['path'];
2850
- };
2851
- requestBody: CheckoutSessionRequest;
2852
- }
2853
- /**
2854
- * Path parameters for POST /v1/organizations/{organization_id}/billing/checkout-sessions
2855
- *
2856
- * @remarks
2857
- * This type defines the path parameters for the POST /v1/organizations/{organization_id}/billing/checkout-sessions endpoint.
2858
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
2859
- *
2860
- * @example
2861
- * Use this type to ensure type safety for path parameters.
2862
- *
2863
- * @path /v1/organizations/{organization_id}/billing/checkout-sessions
2864
- */
2865
- export type POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request_Path = POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request['parameters']['path'];
2866
- /**
2867
- * Request body for POST /v1/organizations/{organization_id}/billing/checkout-sessions
2868
- *
2869
- * @remarks
2870
- * This type defines the request body structure for the POST /v1/organizations/{organization_id}/billing/checkout-sessions endpoint.
2871
- * It provides type safety for the request body as defined in the OpenAPI specification.
2872
- *
2873
- * @example
2874
- * Use this type to ensure type safety for request body structure.
2875
- *
2876
- * @path /v1/organizations/{organization_id}/billing/checkout-sessions
2877
- */
2878
- export type POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request_Body = POST_OrganizationsOrganizationIdBillingCheckoutSessions_Request['requestBody'];
2879
-
2880
- /**
2881
- * Request type for GET OrganizationsOrganizationIdBillingPaymentMethods endpoint
2882
- *
2883
- * List all payment methods
2884
- * List all available payment methods for the organization
2885
- *
2886
- * @remarks
2887
- * This type defines the complete request structure for the GET OrganizationsOrganizationIdBillingPaymentMethods endpoint.
2888
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
2889
- * Use this type to ensure type safety when making API requests to this endpoint.
2890
- *
2891
- * @example
2892
- * Use this type to ensure type safety when making API requests to this endpoint.
2893
- *
2894
- * @path /v1/organizations/{organization_id}/billing/payment-methods
2895
- *
2896
- * @see {@link GET_OrganizationsOrganizationIdBillingPaymentMethods_Request_Query} - Query parameters type
2897
- * @see {@link GET_OrganizationsOrganizationIdBillingPaymentMethods_Request_Path} - Path parameters type
2898
- * @see {@link GET_OrganizationsOrganizationIdBillingPaymentMethods_Request_Body} - Request body type
2899
- */
2900
- export type GET_OrganizationsOrganizationIdBillingPaymentMethods_Request = {
2901
- parameters: {
2902
- path: operations['list_payment_methods_v1_organizations__organization_id__billing_payment_methods_get']['parameters']['path'];
2903
- };
2904
- }
2905
- /**
2906
- * Path parameters for GET /v1/organizations/{organization_id}/billing/payment-methods
2907
- *
2908
- * @remarks
2909
- * This type defines the path parameters for the GET /v1/organizations/{organization_id}/billing/payment-methods endpoint.
2910
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
2911
- *
2912
- * @example
2913
- * Use this type to ensure type safety for path parameters.
2914
- *
2915
- * @path /v1/organizations/{organization_id}/billing/payment-methods
2916
- */
2917
- export type GET_OrganizationsOrganizationIdBillingPaymentMethods_Request_Path = GET_OrganizationsOrganizationIdBillingPaymentMethods_Request['parameters']['path'];
2918
-
2919
- /**
2920
- * Request type for DELETE OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId endpoint
2921
- *
2922
- * Delete a payment method
2923
- * Delete a payment method for the organization
2924
- *
2925
- * @remarks
2926
- * This type defines the complete request structure for the DELETE OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId endpoint.
2927
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
2928
- * Use this type to ensure type safety when making API requests to this endpoint.
2929
- *
2930
- * @example
2931
- * Use this type to ensure type safety when making API requests to this endpoint.
2932
- *
2933
- * @path /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}
2934
- *
2935
- * @see {@link DELETE_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId_Request_Query} - Query parameters type
2936
- * @see {@link DELETE_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId_Request_Path} - Path parameters type
2937
- * @see {@link DELETE_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId_Request_Body} - Request body type
2938
- */
2939
- export type DELETE_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId_Request = {
2940
- parameters: {
2941
- path: operations['delete_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__delete']['parameters']['path'];
2942
- };
2943
- }
2944
- /**
2945
- * Path parameters for DELETE /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}
2946
- *
2947
- * @remarks
2948
- * This type defines the path parameters for the DELETE /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id} endpoint.
2949
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
2950
- *
2951
- * @example
2952
- * Use this type to ensure type safety for path parameters.
2953
- *
2954
- * @path /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}
2955
- */
2956
- export type DELETE_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId_Request_Path = DELETE_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodId_Request['parameters']['path'];
2957
-
2958
- /**
2959
- * Request type for PATCH OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault endpoint
2960
- *
2961
- * Set payment method as default
2962
- * Set the provided payment method as default for the specified organization
2963
- *
2964
- * @remarks
2965
- * This type defines the complete request structure for the PATCH OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault endpoint.
2966
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
2967
- * Use this type to ensure type safety when making API requests to this endpoint.
2968
- *
2969
- * @example
2970
- * Use this type to ensure type safety when making API requests to this endpoint.
2971
- *
2972
- * @path /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default
2973
- *
2974
- * @see {@link PATCH_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault_Request_Query} - Query parameters type
2975
- * @see {@link PATCH_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault_Request_Path} - Path parameters type
2976
- * @see {@link PATCH_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault_Request_Body} - Request body type
2977
- */
2978
- export type PATCH_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault_Request = {
2979
- parameters: {
2980
- path: operations['update_default_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__default_patch']['parameters']['path'];
2981
- };
2982
- }
2983
- /**
2984
- * Path parameters for PATCH /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default
2985
- *
2986
- * @remarks
2987
- * This type defines the path parameters for the PATCH /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default endpoint.
2988
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
2989
- *
2990
- * @example
2991
- * Use this type to ensure type safety for path parameters.
2992
- *
2993
- * @path /v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default
2994
- */
2995
- export type PATCH_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault_Request_Path = PATCH_OrganizationsOrganizationIdBillingPaymentMethodsPaymentMethodIdDefault_Request['parameters']['path'];
2996
-
2997
- /**
2998
- * Request type for POST OrganizationsOrganizationIdBillingWalletCredits endpoint
2999
- *
3000
- * Credit wallet
3001
- * Credit the organization's wallet using the provided amount and payment method
3002
- *
3003
- * @remarks
3004
- * This type defines the complete request structure for the POST OrganizationsOrganizationIdBillingWalletCredits endpoint.
3005
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
3006
- * Use this type to ensure type safety when making API requests to this endpoint.
3007
- *
3008
- * @example
3009
- * Use this type to ensure type safety when making API requests to this endpoint.
3010
- *
3011
- * @path /v1/organizations/{organization_id}/billing/wallet/credits
3012
- *
3013
- * @see {@link POST_OrganizationsOrganizationIdBillingWalletCredits_Request_Query} - Query parameters type
3014
- * @see {@link POST_OrganizationsOrganizationIdBillingWalletCredits_Request_Path} - Path parameters type
3015
- * @see {@link POST_OrganizationsOrganizationIdBillingWalletCredits_Request_Body} - Request body type
3016
- */
3017
- export type POST_OrganizationsOrganizationIdBillingWalletCredits_Request = {
3018
- parameters: {
3019
- path: operations['credit_wallet_v1_organizations__organization_id__billing_wallet_credits_post']['parameters']['path'];
3020
- };
3021
- requestBody: WalletCreditRequest;
3022
- }
3023
- /**
3024
- * Path parameters for POST /v1/organizations/{organization_id}/billing/wallet/credits
3025
- *
3026
- * @remarks
3027
- * This type defines the path parameters for the POST /v1/organizations/{organization_id}/billing/wallet/credits endpoint.
3028
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
3029
- *
3030
- * @example
3031
- * Use this type to ensure type safety for path parameters.
3032
- *
3033
- * @path /v1/organizations/{organization_id}/billing/wallet/credits
3034
- */
3035
- export type POST_OrganizationsOrganizationIdBillingWalletCredits_Request_Path = POST_OrganizationsOrganizationIdBillingWalletCredits_Request['parameters']['path'];
3036
- /**
3037
- * Request body for POST /v1/organizations/{organization_id}/billing/wallet/credits
3038
- *
3039
- * @remarks
3040
- * This type defines the request body structure for the POST /v1/organizations/{organization_id}/billing/wallet/credits endpoint.
3041
- * It provides type safety for the request body as defined in the OpenAPI specification.
3042
- *
3043
- * @example
3044
- * Use this type to ensure type safety for request body structure.
3045
- *
3046
- * @path /v1/organizations/{organization_id}/billing/wallet/credits
3047
- */
3048
- export type POST_OrganizationsOrganizationIdBillingWalletCredits_Request_Body = POST_OrganizationsOrganizationIdBillingWalletCredits_Request['requestBody'];
3049
-
3050
- /**
3051
- * Request type for PATCH OrganizationsOrganizationIdPlan endpoint
3052
- *
3053
- * Update organization plan
3054
- * Changes the plan for an organization
3055
- *
3056
- * @remarks
3057
- * This type defines the complete request structure for the PATCH OrganizationsOrganizationIdPlan endpoint.
3058
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
3059
- * Use this type to ensure type safety when making API requests to this endpoint.
3060
- *
3061
- * @example
3062
- * Use this type to ensure type safety when making API requests to this endpoint.
3063
- *
3064
- * @path /v1/organizations/{organization_id}/plan
3065
- *
3066
- * @see {@link PATCH_OrganizationsOrganizationIdPlan_Request_Query} - Query parameters type
3067
- * @see {@link PATCH_OrganizationsOrganizationIdPlan_Request_Path} - Path parameters type
3068
- * @see {@link PATCH_OrganizationsOrganizationIdPlan_Request_Body} - Request body type
3069
- */
3070
- export type PATCH_OrganizationsOrganizationIdPlan_Request = {
3071
- parameters: {
3072
- path: operations['change_plan_v1_organizations__organization_id__plan_patch']['parameters']['path'];
3073
- };
3074
- requestBody: PlanIdRequest;
3075
- }
3076
- /**
3077
- * Path parameters for PATCH /v1/organizations/{organization_id}/plan
3078
- *
3079
- * @remarks
3080
- * This type defines the path parameters for the PATCH /v1/organizations/{organization_id}/plan endpoint.
3081
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
3082
- *
3083
- * @example
3084
- * Use this type to ensure type safety for path parameters.
3085
- *
3086
- * @path /v1/organizations/{organization_id}/plan
3087
- */
3088
- export type PATCH_OrganizationsOrganizationIdPlan_Request_Path = PATCH_OrganizationsOrganizationIdPlan_Request['parameters']['path'];
3089
- /**
3090
- * Request body for PATCH /v1/organizations/{organization_id}/plan
3091
- *
3092
- * @remarks
3093
- * This type defines the request body structure for the PATCH /v1/organizations/{organization_id}/plan endpoint.
3094
- * It provides type safety for the request body as defined in the OpenAPI specification.
3095
- *
3096
- * @example
3097
- * Use this type to ensure type safety for request body structure.
3098
- *
3099
- * @path /v1/organizations/{organization_id}/plan
3100
- */
3101
- export type PATCH_OrganizationsOrganizationIdPlan_Request_Body = PATCH_OrganizationsOrganizationIdPlan_Request['requestBody'];
3102
-
3103
- /**
3104
- * Request type for GET OrganizationsOrganizationIdPlans endpoint
3105
- *
3106
- * Get plans for an organization
3107
- * Retrieves a list of plans for an organization
3108
- *
3109
- * @remarks
3110
- * This type defines the complete request structure for the GET OrganizationsOrganizationIdPlans endpoint.
3111
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
3112
- * Use this type to ensure type safety when making API requests to this endpoint.
3113
- *
3114
- * @example
3115
- * Use this type to ensure type safety when making API requests to this endpoint.
3116
- *
3117
- * @path /v1/organizations/{organization_id}/plans
3118
- *
3119
- * @see {@link GET_OrganizationsOrganizationIdPlans_Request_Query} - Query parameters type
3120
- * @see {@link GET_OrganizationsOrganizationIdPlans_Request_Path} - Path parameters type
3121
- * @see {@link GET_OrganizationsOrganizationIdPlans_Request_Body} - Request body type
3122
- */
3123
- export type GET_OrganizationsOrganizationIdPlans_Request = {
3124
- parameters: {
3125
- path: operations['get_current_available_plans_v1_organizations__organization_id__plans_get']['parameters']['path'];
3126
- };
3127
- }
3128
- /**
3129
- * Path parameters for GET /v1/organizations/{organization_id}/plans
3130
- *
3131
- * @remarks
3132
- * This type defines the path parameters for the GET /v1/organizations/{organization_id}/plans endpoint.
3133
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
3134
- *
3135
- * @example
3136
- * Use this type to ensure type safety for path parameters.
3137
- *
3138
- * @path /v1/organizations/{organization_id}/plans
3139
- */
3140
- export type GET_OrganizationsOrganizationIdPlans_Request_Path = GET_OrganizationsOrganizationIdPlans_Request['parameters']['path'];
3141
-
3142
2827
  /**
3143
2828
  * Request type for GET OrganizationsOrganizationIdPricingProductTypeProductType endpoint
3144
2829
  *