@opusdns/api 0.75.0 → 0.76.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/keys.ts +26 -0
- package/src/openapi.yaml +8 -6
- package/src/schema.d.ts +5 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -19720,6 +19720,31 @@ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_AMOUNT = 'amount' as keyof
|
|
|
19720
19720
|
* @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
|
|
19721
19721
|
*/
|
|
19722
19722
|
export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_BALANCE = 'balance' as keyof WalletCreditResponseWithBalance;
|
|
19723
|
+
/**
|
|
19724
|
+
* Client Secret
|
|
19725
|
+
*
|
|
19726
|
+
* Client secret for 3DS authentication
|
|
19727
|
+
*
|
|
19728
|
+
*
|
|
19729
|
+
*
|
|
19730
|
+
* @remarks
|
|
19731
|
+
* This key constant provides type-safe access to the `client_secret` property of WalletCreditResponseWithBalance objects.
|
|
19732
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
19733
|
+
*
|
|
19734
|
+
* @example
|
|
19735
|
+
* ```typescript
|
|
19736
|
+
* // Direct property access
|
|
19737
|
+
* const value = walletcreditresponsewithbalance[KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CLIENT_SECRET];
|
|
19738
|
+
*
|
|
19739
|
+
* // Dynamic property access
|
|
19740
|
+
* const propertyName = KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CLIENT_SECRET;
|
|
19741
|
+
* const value = walletcreditresponsewithbalance[propertyName];
|
|
19742
|
+
* ```
|
|
19743
|
+
*
|
|
19744
|
+
* @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
|
|
19745
|
+
* @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
|
|
19746
|
+
*/
|
|
19747
|
+
export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CLIENT_SECRET = 'client_secret' as keyof WalletCreditResponseWithBalance;
|
|
19723
19748
|
/**
|
|
19724
19749
|
* Credit Id
|
|
19725
19750
|
*
|
|
@@ -19820,6 +19845,7 @@ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_STATUS = 'status' as keyof
|
|
|
19820
19845
|
export const KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE = [
|
|
19821
19846
|
KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_AMOUNT,
|
|
19822
19847
|
KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_BALANCE,
|
|
19848
|
+
KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CLIENT_SECRET,
|
|
19823
19849
|
KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CREDIT_ID,
|
|
19824
19850
|
KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_MESSAGE,
|
|
19825
19851
|
KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_STATUS,
|
package/src/openapi.yaml
CHANGED
|
@@ -5090,6 +5090,12 @@ components:
|
|
|
5090
5090
|
description: Updated wallet balance after the credit
|
|
5091
5091
|
title: Balance
|
|
5092
5092
|
type: string
|
|
5093
|
+
client_secret:
|
|
5094
|
+
anyOf:
|
|
5095
|
+
- type: string
|
|
5096
|
+
- type: 'null'
|
|
5097
|
+
description: Client secret for 3DS authentication
|
|
5098
|
+
title: Client Secret
|
|
5093
5099
|
credit_id:
|
|
5094
5100
|
description: Unique identifier of the wallet credit transaction
|
|
5095
5101
|
title: Credit Id
|
|
@@ -5107,6 +5113,7 @@ components:
|
|
|
5107
5113
|
- credit_id
|
|
5108
5114
|
- amount
|
|
5109
5115
|
- status
|
|
5116
|
+
- client_secret
|
|
5110
5117
|
- balance
|
|
5111
5118
|
title: WalletCreditResponseWithBalance
|
|
5112
5119
|
type: object
|
|
@@ -5214,7 +5221,7 @@ info:
|
|
|
5214
5221
|
'
|
|
5215
5222
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5216
5223
|
title: OpusDNS API
|
|
5217
|
-
version: 2025-09-30-
|
|
5224
|
+
version: 2025-09-30-110200
|
|
5218
5225
|
x-logo:
|
|
5219
5226
|
altText: OpusDNS API Reference
|
|
5220
5227
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -8875,7 +8882,6 @@ paths:
|
|
|
8875
8882
|
summary: Create checkout session
|
|
8876
8883
|
tags:
|
|
8877
8884
|
- organization
|
|
8878
|
-
- organization
|
|
8879
8885
|
/v1/organizations/{organization_id}/billing/payment-methods:
|
|
8880
8886
|
get:
|
|
8881
8887
|
description: List all available payment methods for the organization
|
|
@@ -8914,7 +8920,6 @@ paths:
|
|
|
8914
8920
|
summary: List all payment methods
|
|
8915
8921
|
tags:
|
|
8916
8922
|
- organization
|
|
8917
|
-
- organization
|
|
8918
8923
|
/v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}:
|
|
8919
8924
|
delete:
|
|
8920
8925
|
description: Delete a payment method for the organization
|
|
@@ -8951,7 +8956,6 @@ paths:
|
|
|
8951
8956
|
summary: Delete a payment method
|
|
8952
8957
|
tags:
|
|
8953
8958
|
- organization
|
|
8954
|
-
- organization
|
|
8955
8959
|
/v1/organizations/{organization_id}/billing/payment-methods/{payment_method_id}/default:
|
|
8956
8960
|
patch:
|
|
8957
8961
|
description: Set the provided payment method as default for the specified organization
|
|
@@ -8996,7 +9000,6 @@ paths:
|
|
|
8996
9000
|
summary: Set payment method as default
|
|
8997
9001
|
tags:
|
|
8998
9002
|
- organization
|
|
8999
|
-
- organization
|
|
9000
9003
|
/v1/organizations/{organization_id}/billing/wallet/credits:
|
|
9001
9004
|
post:
|
|
9002
9005
|
description: Credit the organization's wallet using the provided amount and
|
|
@@ -9038,7 +9041,6 @@ paths:
|
|
|
9038
9041
|
summary: Credit wallet
|
|
9039
9042
|
tags:
|
|
9040
9043
|
- organization
|
|
9041
|
-
- organization
|
|
9042
9044
|
/v1/organizations/{organization_id}/plan:
|
|
9043
9045
|
patch:
|
|
9044
9046
|
description: Changes the plan for an organization
|
package/src/schema.d.ts
CHANGED
|
@@ -4648,6 +4648,11 @@ export interface components {
|
|
|
4648
4648
|
* @description Updated wallet balance after the credit
|
|
4649
4649
|
*/
|
|
4650
4650
|
balance: string;
|
|
4651
|
+
/**
|
|
4652
|
+
* Client Secret
|
|
4653
|
+
* @description Client secret for 3DS authentication
|
|
4654
|
+
*/
|
|
4655
|
+
client_secret: string | null;
|
|
4651
4656
|
/**
|
|
4652
4657
|
* Credit Id
|
|
4653
4658
|
* @description Unique identifier of the wallet credit transaction
|