@opusdns/api 1.43.0 → 1.44.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.43.0",
6
+ "version": "1.44.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -4,6 +4,7 @@ import type {
4
4
  AttributeType,
5
5
  BatchSortField,
6
6
  BatchStatus,
7
+ BillingMode,
7
8
  BillingTransactionAction,
8
9
  BillingTransactionProductType,
9
10
  BillingTransactionSortField,
@@ -183,6 +184,16 @@ export const BATCH_STATUS_VALUES = [
183
184
  'complete',
184
185
  ] as const satisfies ReadonlyArray<BatchStatus>;
185
186
 
187
+ export const BILLING_MODE = {
188
+ CONSOLIDATED: "consolidated",
189
+ INDEPENDENT: "independent",
190
+ } as const satisfies Record<string, BillingMode>;
191
+
192
+ export const BILLING_MODE_VALUES = [
193
+ 'consolidated',
194
+ 'independent',
195
+ ] as const satisfies ReadonlyArray<BillingMode>;
196
+
186
197
  export const BILLING_TRANSACTION_ACTION = {
187
198
  CREATE: "create",
188
199
  TRANSFER: "transfer",
@@ -3797,6 +3797,7 @@ export const KEYS_OBJECT_TAG_CHANGES2 = [
3797
3797
  export const KEY_ORGANIZATION_ADDRESS_1 = 'address_1' satisfies keyof Organization;
3798
3798
  export const KEY_ORGANIZATION_ADDRESS_2 = 'address_2' satisfies keyof Organization;
3799
3799
  export const KEY_ORGANIZATION_ATTRIBUTES = 'attributes' satisfies keyof Organization;
3800
+ export const KEY_ORGANIZATION_BILLING_MODE = 'billing_mode' satisfies keyof Organization;
3800
3801
  export const KEY_ORGANIZATION_BUSINESS_NUMBER = 'business_number' satisfies keyof Organization;
3801
3802
  export const KEY_ORGANIZATION_CITY = 'city' satisfies keyof Organization;
3802
3803
  export const KEY_ORGANIZATION_COUNTRY_CODE = 'country_code' satisfies keyof Organization;
@@ -3820,6 +3821,7 @@ export const KEYS_ORGANIZATION = [
3820
3821
  KEY_ORGANIZATION_ADDRESS_1,
3821
3822
  KEY_ORGANIZATION_ADDRESS_2,
3822
3823
  KEY_ORGANIZATION_ATTRIBUTES,
3824
+ KEY_ORGANIZATION_BILLING_MODE,
3823
3825
  KEY_ORGANIZATION_BUSINESS_NUMBER,
3824
3826
  KEY_ORGANIZATION_CITY,
3825
3827
  KEY_ORGANIZATION_COUNTRY_CODE,
@@ -4002,6 +4004,7 @@ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1 = 'address_1' satisfie
4002
4004
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2 = 'address_2' satisfies keyof OrganizationWithBillingData;
4003
4005
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES = 'attributes' satisfies keyof OrganizationWithBillingData;
4004
4006
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_METADATA = 'billing_metadata' satisfies keyof OrganizationWithBillingData;
4007
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_MODE = 'billing_mode' satisfies keyof OrganizationWithBillingData;
4005
4008
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_BUSINESS_NUMBER = 'business_number' satisfies keyof OrganizationWithBillingData;
4006
4009
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_CITY = 'city' satisfies keyof OrganizationWithBillingData;
4007
4010
  export const KEY_ORGANIZATION_WITH_BILLING_DATA_COUNTRY_CODE = 'country_code' satisfies keyof OrganizationWithBillingData;
@@ -4028,6 +4031,7 @@ export const KEYS_ORGANIZATION_WITH_BILLING_DATA = [
4028
4031
  KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2,
4029
4032
  KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES,
4030
4033
  KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_METADATA,
4034
+ KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_MODE,
4031
4035
  KEY_ORGANIZATION_WITH_BILLING_DATA_BUSINESS_NUMBER,
4032
4036
  KEY_ORGANIZATION_WITH_BILLING_DATA_CITY,
4033
4037
  KEY_ORGANIZATION_WITH_BILLING_DATA_COUNTRY_CODE,
@@ -8,6 +8,7 @@ export type AttributeType = components['schemas']['AttributeType'];
8
8
  export type BatchSortField = components['schemas']['BatchSortField'];
9
9
  export type BatchStatus = components['schemas']['BatchStatus'];
10
10
  export type BillingMetadata = components['schemas']['BillingMetadata'];
11
+ export type BillingMode = components['schemas']['BillingMode'];
11
12
  export type BillingPlan = components['schemas']['BillingPlan'];
12
13
  export type BillingTransactionAction = components['schemas']['BillingTransactionAction'];
13
14
  export type BillingTransactionProductType = components['schemas']['BillingTransactionProductType'];
package/src/openapi.yaml CHANGED
@@ -100,6 +100,12 @@ components:
100
100
  title: Customer Number
101
101
  title: BillingMetadata
102
102
  type: object
103
+ BillingMode:
104
+ enum:
105
+ - consolidated
106
+ - independent
107
+ title: BillingMode
108
+ type: string
103
109
  BillingPlan:
104
110
  properties:
105
111
  amount:
@@ -8972,6 +8978,11 @@ components:
8972
8978
  $ref: '#/components/schemas/OrganizationAttribute'
8973
8979
  title: Attributes
8974
8980
  type: array
8981
+ billing_mode:
8982
+ $ref: '#/components/schemas/BillingMode'
8983
+ default: consolidated
8984
+ description: Whether the organization is billed on its own account (INDEPENDENT)
8985
+ or rolled up to its parent (CONSOLIDATED).
8975
8986
  business_number:
8976
8987
  anyOf:
8977
8988
  - maxLength: 100
@@ -9618,6 +9629,11 @@ components:
9618
9629
  type: array
9619
9630
  billing_metadata:
9620
9631
  $ref: '#/components/schemas/BillingMetadata'
9632
+ billing_mode:
9633
+ $ref: '#/components/schemas/BillingMode'
9634
+ default: consolidated
9635
+ description: Whether the organization is billed on its own account (INDEPENDENT)
9636
+ or rolled up to its parent (CONSOLIDATED).
9621
9637
  business_number:
9622
9638
  anyOf:
9623
9639
  - maxLength: 100
@@ -13806,7 +13822,7 @@ info:
13806
13822
  \n\n"
13807
13823
  summary: OpusDNS - your gateway to a seamless domain management experience.
13808
13824
  title: OpusDNS API
13809
- version: 2026-06-30-103725
13825
+ version: 2026-06-30-170126
13810
13826
  x-logo:
13811
13827
  altText: OpusDNS API Reference
13812
13828
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -2790,6 +2790,11 @@ export interface components {
2790
2790
  */
2791
2791
  customer_number?: number | null;
2792
2792
  };
2793
+ /**
2794
+ * BillingMode
2795
+ * @enum {string}
2796
+ */
2797
+ BillingMode: "consolidated" | "independent";
2793
2798
  /** BillingPlan */
2794
2799
  BillingPlan: {
2795
2800
  /**
@@ -8655,6 +8660,11 @@ export interface components {
8655
8660
  address_2?: string | null;
8656
8661
  /** Attributes */
8657
8662
  attributes?: components["schemas"]["OrganizationAttribute"][];
8663
+ /**
8664
+ * @description Whether the organization is billed on its own account (INDEPENDENT) or rolled up to its parent (CONSOLIDATED).
8665
+ * @default consolidated
8666
+ */
8667
+ billing_mode: components["schemas"]["BillingMode"];
8658
8668
  /**
8659
8669
  * Business Number
8660
8670
  * @description Government issued business identifier for the organization issued.
@@ -9097,6 +9107,11 @@ export interface components {
9097
9107
  /** Attributes */
9098
9108
  attributes?: components["schemas"]["OrganizationAttribute"][];
9099
9109
  billing_metadata?: components["schemas"]["BillingMetadata"];
9110
+ /**
9111
+ * @description Whether the organization is billed on its own account (INDEPENDENT) or rolled up to its parent (CONSOLIDATED).
9112
+ * @default consolidated
9113
+ */
9114
+ billing_mode: components["schemas"]["BillingMode"];
9100
9115
  /**
9101
9116
  * Business Number
9102
9117
  * @description Government issued business identifier for the organization issued.