@opusdns/api 0.33.0 → 0.35.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.
@@ -30,6 +30,8 @@
30
30
  */
31
31
 
32
32
  import { AllowedNumberOfNameserverBase } from './schemas';
33
+ import { BillingMetadata } from './schemas';
34
+ import { BillingPlan } from './schemas';
33
35
  import { Body_issue_organization_token_v1_auth_token_post } from './schemas';
34
36
  import { ContactConfigBase } from './schemas';
35
37
  import { ContactCreate } from './schemas';
@@ -110,13 +112,12 @@ import { OrganizationCredentialCreated } from './schemas';
110
112
  import { OrganizationCredentialExtra } from './schemas';
111
113
  import { OrganizationToken } from './schemas';
112
114
  import { OrganizationUpdate } from './schemas';
113
- import { OrganizationWithPlan } from './schemas';
115
+ import { OrganizationWithBillingData } from './schemas';
114
116
  import { PaginationMetadata } from './schemas';
115
117
  import { PasswordUpdate } from './schemas';
116
118
  import { Period } from './schemas';
117
119
  import { PermissionSet } from './schemas';
118
120
  import { PlanInfo } from './schemas';
119
- import { PlanUpdate } from './schemas';
120
121
  import { PremiumDomainsBase } from './schemas';
121
122
  import { PriceInfo } from './schemas';
122
123
  import { Problem } from './schemas';
@@ -231,6 +232,237 @@ export const KEYS_ALLOWED_NUMBER_OF_NAMESERVER_BASE = [
231
232
  KEY_ALLOWED_NUMBER_OF_NAMESERVER_BASE_MIN,
232
233
  ] as const satisfies (keyof AllowedNumberOfNameserverBase)[];
233
234
 
235
+ /**
236
+ * Billing Model
237
+ *
238
+ * Payment terms for the organization.
239
+ *
240
+ *
241
+ *
242
+ * @remarks
243
+ * This key constant provides type-safe access to the `billing_model` property of BillingMetadata objects.
244
+ * Use this constant when you need to access properties dynamically or ensure type safety.
245
+ *
246
+ * @example
247
+ * ```typescript
248
+ * // Direct property access
249
+ * const value = billingmetadata[KEY_BILLING_METADATA_BILLING_MODEL];
250
+ *
251
+ * // Dynamic property access
252
+ * const propertyName = KEY_BILLING_METADATA_BILLING_MODEL;
253
+ * const value = billingmetadata[propertyName];
254
+ * ```
255
+ *
256
+ * @see {@link BillingMetadata} - The TypeScript type definition
257
+ * @see {@link KEYS_BILLING_METADATA} - Array of all keys for this type
258
+ */
259
+ export const KEY_BILLING_METADATA_BILLING_MODEL = 'billing_model' as keyof BillingMetadata;
260
+ /**
261
+ * Customer Number
262
+ *
263
+ * Customer account number for the organization.
264
+ *
265
+ *
266
+ *
267
+ * @remarks
268
+ * This key constant provides type-safe access to the `customer_number` property of BillingMetadata objects.
269
+ * Use this constant when you need to access properties dynamically or ensure type safety.
270
+ *
271
+ * @example
272
+ * ```typescript
273
+ * // Direct property access
274
+ * const value = billingmetadata[KEY_BILLING_METADATA_CUSTOMER_NUMBER];
275
+ *
276
+ * // Dynamic property access
277
+ * const propertyName = KEY_BILLING_METADATA_CUSTOMER_NUMBER;
278
+ * const value = billingmetadata[propertyName];
279
+ * ```
280
+ *
281
+ * @see {@link BillingMetadata} - The TypeScript type definition
282
+ * @see {@link KEYS_BILLING_METADATA} - Array of all keys for this type
283
+ */
284
+ export const KEY_BILLING_METADATA_CUSTOMER_NUMBER = 'customer_number' as keyof BillingMetadata;
285
+
286
+ /**
287
+ * Array of all BillingMetadata property keys
288
+ *
289
+ * @remarks
290
+ * This constant provides a readonly array containing all valid property keys for BillingMetadata objects.
291
+ * Useful for iteration, validation, and generating dynamic UI components.
292
+ *
293
+ * @example
294
+ * ```typescript
295
+ * // Iterating through all keys
296
+ * for (const key of KEYS_BILLING_METADATA) {
297
+ * console.log(`Property: ${key}, Value: ${billingmetadata[key]}`);
298
+ * }
299
+ *
300
+ * // Validation
301
+ * const isValidKey = KEYS_BILLING_METADATA.includes(someKey);
302
+ * ```
303
+ *
304
+ * @see {@link BillingMetadata} - The TypeScript type definition
305
+ */
306
+ export const KEYS_BILLING_METADATA = [
307
+ KEY_BILLING_METADATA_BILLING_MODEL,
308
+ KEY_BILLING_METADATA_CUSTOMER_NUMBER,
309
+ ] as const satisfies (keyof BillingMetadata)[];
310
+
311
+ /**
312
+ * Amount
313
+ *
314
+ * Price of the billing plan.
315
+ *
316
+ * @type {string}
317
+ *
318
+ *
319
+ * @remarks
320
+ * This key constant provides type-safe access to the `amount` property of BillingPlan objects.
321
+ * Use this constant when you need to access properties dynamically or ensure type safety.
322
+ *
323
+ * @example
324
+ * ```typescript
325
+ * // Direct property access
326
+ * const value = billingplan[KEY_BILLING_PLAN_AMOUNT];
327
+ *
328
+ * // Dynamic property access
329
+ * const propertyName = KEY_BILLING_PLAN_AMOUNT;
330
+ * const value = billingplan[propertyName];
331
+ * ```
332
+ *
333
+ * @see {@link BillingPlan} - The TypeScript type definition
334
+ * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
335
+ */
336
+ export const KEY_BILLING_PLAN_AMOUNT = 'amount' as keyof BillingPlan;
337
+ /**
338
+ * currency property
339
+ *
340
+ * Currency of the billing plan.
341
+ *
342
+ *
343
+ *
344
+ * @remarks
345
+ * This key constant provides type-safe access to the `currency` property of BillingPlan objects.
346
+ * Use this constant when you need to access properties dynamically or ensure type safety.
347
+ *
348
+ * @example
349
+ * ```typescript
350
+ * // Direct property access
351
+ * const value = billingplan[KEY_BILLING_PLAN_CURRENCY];
352
+ *
353
+ * // Dynamic property access
354
+ * const propertyName = KEY_BILLING_PLAN_CURRENCY;
355
+ * const value = billingplan[propertyName];
356
+ * ```
357
+ *
358
+ * @see {@link BillingPlan} - The TypeScript type definition
359
+ * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
360
+ */
361
+ export const KEY_BILLING_PLAN_CURRENCY = 'currency' as keyof BillingPlan;
362
+ /**
363
+ * Name
364
+ *
365
+ * Name of the billing plan.
366
+ *
367
+ *
368
+ *
369
+ * @remarks
370
+ * This key constant provides type-safe access to the `name` property of BillingPlan objects.
371
+ * Use this constant when you need to access properties dynamically or ensure type safety.
372
+ *
373
+ * @example
374
+ * ```typescript
375
+ * // Direct property access
376
+ * const value = billingplan[KEY_BILLING_PLAN_NAME];
377
+ *
378
+ * // Dynamic property access
379
+ * const propertyName = KEY_BILLING_PLAN_NAME;
380
+ * const value = billingplan[propertyName];
381
+ * ```
382
+ *
383
+ * @see {@link BillingPlan} - The TypeScript type definition
384
+ * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
385
+ */
386
+ export const KEY_BILLING_PLAN_NAME = 'name' as keyof BillingPlan;
387
+ /**
388
+ * Plan Id
389
+ *
390
+ * Billing plan ID for the organization.
391
+ *
392
+ *
393
+ *
394
+ * @remarks
395
+ * This key constant provides type-safe access to the `plan_id` property of BillingPlan objects.
396
+ * Use this constant when you need to access properties dynamically or ensure type safety.
397
+ *
398
+ * @example
399
+ * ```typescript
400
+ * // Direct property access
401
+ * const value = billingplan[KEY_BILLING_PLAN_PLAN_ID];
402
+ *
403
+ * // Dynamic property access
404
+ * const propertyName = KEY_BILLING_PLAN_PLAN_ID;
405
+ * const value = billingplan[propertyName];
406
+ * ```
407
+ *
408
+ * @see {@link BillingPlan} - The TypeScript type definition
409
+ * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
410
+ */
411
+ export const KEY_BILLING_PLAN_PLAN_ID = 'plan_id' as keyof BillingPlan;
412
+ /**
413
+ * Type
414
+ *
415
+ * Plan type or billing interval.
416
+ *
417
+ *
418
+ *
419
+ * @remarks
420
+ * This key constant provides type-safe access to the `type` property of BillingPlan objects.
421
+ * Use this constant when you need to access properties dynamically or ensure type safety.
422
+ *
423
+ * @example
424
+ * ```typescript
425
+ * // Direct property access
426
+ * const value = billingplan[KEY_BILLING_PLAN_TYPE];
427
+ *
428
+ * // Dynamic property access
429
+ * const propertyName = KEY_BILLING_PLAN_TYPE;
430
+ * const value = billingplan[propertyName];
431
+ * ```
432
+ *
433
+ * @see {@link BillingPlan} - The TypeScript type definition
434
+ * @see {@link KEYS_BILLING_PLAN} - Array of all keys for this type
435
+ */
436
+ export const KEY_BILLING_PLAN_TYPE = 'type' as keyof BillingPlan;
437
+
438
+ /**
439
+ * Array of all BillingPlan property keys
440
+ *
441
+ * @remarks
442
+ * This constant provides a readonly array containing all valid property keys for BillingPlan objects.
443
+ * Useful for iteration, validation, and generating dynamic UI components.
444
+ *
445
+ * @example
446
+ * ```typescript
447
+ * // Iterating through all keys
448
+ * for (const key of KEYS_BILLING_PLAN) {
449
+ * console.log(`Property: ${key}, Value: ${billingplan[key]}`);
450
+ * }
451
+ *
452
+ * // Validation
453
+ * const isValidKey = KEYS_BILLING_PLAN.includes(someKey);
454
+ * ```
455
+ *
456
+ * @see {@link BillingPlan} - The TypeScript type definition
457
+ */
458
+ export const KEYS_BILLING_PLAN = [
459
+ KEY_BILLING_PLAN_AMOUNT,
460
+ KEY_BILLING_PLAN_CURRENCY,
461
+ KEY_BILLING_PLAN_NAME,
462
+ KEY_BILLING_PLAN_PLAN_ID,
463
+ KEY_BILLING_PLAN_TYPE,
464
+ ] as const satisfies (keyof BillingPlan)[];
465
+
234
466
  /**
235
467
  * Client Id
236
468
  *
@@ -13316,6 +13548,54 @@ export const KEYS_ORGANIZATION_UPDATE = [
13316
13548
  KEY_ORGANIZATION_UPDATE_TAX_RATE,
13317
13549
  ] as const satisfies (keyof OrganizationUpdate)[];
13318
13550
 
13551
+ /**
13552
+ * Account Balance
13553
+ *
13554
+ *
13555
+ *
13556
+ *
13557
+ * @remarks
13558
+ * This key constant provides type-safe access to the `account_balance` property of OrganizationWithBillingData objects.
13559
+ * Use this constant when you need to access properties dynamically or ensure type safety.
13560
+ *
13561
+ * @example
13562
+ * ```typescript
13563
+ * // Direct property access
13564
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE];
13565
+ *
13566
+ * // Dynamic property access
13567
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE;
13568
+ * const value = organizationwithbillingdata[propertyName];
13569
+ * ```
13570
+ *
13571
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13572
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13573
+ */
13574
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE = 'account_balance' as keyof OrganizationWithBillingData;
13575
+ /**
13576
+ * active_plan property
13577
+ *
13578
+ *
13579
+ *
13580
+ *
13581
+ * @remarks
13582
+ * This key constant provides type-safe access to the `active_plan` property of OrganizationWithBillingData objects.
13583
+ * Use this constant when you need to access properties dynamically or ensure type safety.
13584
+ *
13585
+ * @example
13586
+ * ```typescript
13587
+ * // Direct property access
13588
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN];
13589
+ *
13590
+ * // Dynamic property access
13591
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN;
13592
+ * const value = organizationwithbillingdata[propertyName];
13593
+ * ```
13594
+ *
13595
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13596
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13597
+ */
13598
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN = 'active_plan' as keyof OrganizationWithBillingData;
13319
13599
  /**
13320
13600
  * Address 1
13321
13601
  *
@@ -13324,23 +13604,23 @@ export const KEYS_ORGANIZATION_UPDATE = [
13324
13604
  *
13325
13605
  *
13326
13606
  * @remarks
13327
- * This key constant provides type-safe access to the `address_1` property of OrganizationWithPlan objects.
13607
+ * This key constant provides type-safe access to the `address_1` property of OrganizationWithBillingData objects.
13328
13608
  * Use this constant when you need to access properties dynamically or ensure type safety.
13329
13609
  *
13330
13610
  * @example
13331
13611
  * ```typescript
13332
13612
  * // Direct property access
13333
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_ADDRESS_1];
13613
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1];
13334
13614
  *
13335
13615
  * // Dynamic property access
13336
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_ADDRESS_1;
13337
- * const value = organizationwithplan[propertyName];
13616
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1;
13617
+ * const value = organizationwithbillingdata[propertyName];
13338
13618
  * ```
13339
13619
  *
13340
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13341
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13620
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13621
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13342
13622
  */
13343
- export const KEY_ORGANIZATION_WITH_PLAN_ADDRESS_1 = 'address_1' as keyof OrganizationWithPlan;
13623
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1 = 'address_1' as keyof OrganizationWithBillingData;
13344
13624
  /**
13345
13625
  * Address 2
13346
13626
  *
@@ -13349,23 +13629,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_ADDRESS_1 = 'address_1' as keyof Organiz
13349
13629
  *
13350
13630
  *
13351
13631
  * @remarks
13352
- * This key constant provides type-safe access to the `address_2` property of OrganizationWithPlan objects.
13632
+ * This key constant provides type-safe access to the `address_2` property of OrganizationWithBillingData objects.
13353
13633
  * Use this constant when you need to access properties dynamically or ensure type safety.
13354
13634
  *
13355
13635
  * @example
13356
13636
  * ```typescript
13357
13637
  * // Direct property access
13358
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_ADDRESS_2];
13638
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2];
13359
13639
  *
13360
13640
  * // Dynamic property access
13361
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_ADDRESS_2;
13362
- * const value = organizationwithplan[propertyName];
13641
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2;
13642
+ * const value = organizationwithbillingdata[propertyName];
13363
13643
  * ```
13364
13644
  *
13365
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13366
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13645
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13646
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13367
13647
  */
13368
- export const KEY_ORGANIZATION_WITH_PLAN_ADDRESS_2 = 'address_2' as keyof OrganizationWithPlan;
13648
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2 = 'address_2' as keyof OrganizationWithBillingData;
13369
13649
  /**
13370
13650
  * Attributes
13371
13651
  *
@@ -13374,23 +13654,47 @@ export const KEY_ORGANIZATION_WITH_PLAN_ADDRESS_2 = 'address_2' as keyof Organiz
13374
13654
  *
13375
13655
  *
13376
13656
  * @remarks
13377
- * This key constant provides type-safe access to the `attributes` property of OrganizationWithPlan objects.
13657
+ * This key constant provides type-safe access to the `attributes` property of OrganizationWithBillingData objects.
13378
13658
  * Use this constant when you need to access properties dynamically or ensure type safety.
13379
13659
  *
13380
13660
  * @example
13381
13661
  * ```typescript
13382
13662
  * // Direct property access
13383
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_ATTRIBUTES];
13663
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES];
13384
13664
  *
13385
13665
  * // Dynamic property access
13386
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_ATTRIBUTES;
13387
- * const value = organizationwithplan[propertyName];
13666
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES;
13667
+ * const value = organizationwithbillingdata[propertyName];
13388
13668
  * ```
13389
13669
  *
13390
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13391
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13670
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13671
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13392
13672
  */
13393
- export const KEY_ORGANIZATION_WITH_PLAN_ATTRIBUTES = 'attributes' as keyof OrganizationWithPlan;
13673
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES = 'attributes' as keyof OrganizationWithBillingData;
13674
+ /**
13675
+ * billing_metadata property
13676
+ *
13677
+ *
13678
+ *
13679
+ *
13680
+ * @remarks
13681
+ * This key constant provides type-safe access to the `billing_metadata` property of OrganizationWithBillingData objects.
13682
+ * Use this constant when you need to access properties dynamically or ensure type safety.
13683
+ *
13684
+ * @example
13685
+ * ```typescript
13686
+ * // Direct property access
13687
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_METADATA];
13688
+ *
13689
+ * // Dynamic property access
13690
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_METADATA;
13691
+ * const value = organizationwithbillingdata[propertyName];
13692
+ * ```
13693
+ *
13694
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13695
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13696
+ */
13697
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_METADATA = 'billing_metadata' as keyof OrganizationWithBillingData;
13394
13698
  /**
13395
13699
  * Business Number
13396
13700
  *
@@ -13399,23 +13703,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_ATTRIBUTES = 'attributes' as keyof Organ
13399
13703
  *
13400
13704
  *
13401
13705
  * @remarks
13402
- * This key constant provides type-safe access to the `business_number` property of OrganizationWithPlan objects.
13706
+ * This key constant provides type-safe access to the `business_number` property of OrganizationWithBillingData objects.
13403
13707
  * Use this constant when you need to access properties dynamically or ensure type safety.
13404
13708
  *
13405
13709
  * @example
13406
13710
  * ```typescript
13407
13711
  * // Direct property access
13408
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_BUSINESS_NUMBER];
13712
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_BUSINESS_NUMBER];
13409
13713
  *
13410
13714
  * // Dynamic property access
13411
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_BUSINESS_NUMBER;
13412
- * const value = organizationwithplan[propertyName];
13715
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_BUSINESS_NUMBER;
13716
+ * const value = organizationwithbillingdata[propertyName];
13413
13717
  * ```
13414
13718
  *
13415
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13416
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13719
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13720
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13417
13721
  */
13418
- export const KEY_ORGANIZATION_WITH_PLAN_BUSINESS_NUMBER = 'business_number' as keyof OrganizationWithPlan;
13722
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_BUSINESS_NUMBER = 'business_number' as keyof OrganizationWithBillingData;
13419
13723
  /**
13420
13724
  * City
13421
13725
  *
@@ -13424,23 +13728,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_BUSINESS_NUMBER = 'business_number' as k
13424
13728
  *
13425
13729
  *
13426
13730
  * @remarks
13427
- * This key constant provides type-safe access to the `city` property of OrganizationWithPlan objects.
13731
+ * This key constant provides type-safe access to the `city` property of OrganizationWithBillingData objects.
13428
13732
  * Use this constant when you need to access properties dynamically or ensure type safety.
13429
13733
  *
13430
13734
  * @example
13431
13735
  * ```typescript
13432
13736
  * // Direct property access
13433
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_CITY];
13737
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_CITY];
13434
13738
  *
13435
13739
  * // Dynamic property access
13436
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_CITY;
13437
- * const value = organizationwithplan[propertyName];
13740
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_CITY;
13741
+ * const value = organizationwithbillingdata[propertyName];
13438
13742
  * ```
13439
13743
  *
13440
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13441
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13744
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13745
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13442
13746
  */
13443
- export const KEY_ORGANIZATION_WITH_PLAN_CITY = 'city' as keyof OrganizationWithPlan;
13747
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_CITY = 'city' as keyof OrganizationWithBillingData;
13444
13748
  /**
13445
13749
  * Country Code
13446
13750
  *
@@ -13449,23 +13753,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_CITY = 'city' as keyof OrganizationWithP
13449
13753
  *
13450
13754
  *
13451
13755
  * @remarks
13452
- * This key constant provides type-safe access to the `country_code` property of OrganizationWithPlan objects.
13756
+ * This key constant provides type-safe access to the `country_code` property of OrganizationWithBillingData objects.
13453
13757
  * Use this constant when you need to access properties dynamically or ensure type safety.
13454
13758
  *
13455
13759
  * @example
13456
13760
  * ```typescript
13457
13761
  * // Direct property access
13458
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_COUNTRY_CODE];
13762
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_COUNTRY_CODE];
13459
13763
  *
13460
13764
  * // Dynamic property access
13461
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_COUNTRY_CODE;
13462
- * const value = organizationwithplan[propertyName];
13765
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_COUNTRY_CODE;
13766
+ * const value = organizationwithbillingdata[propertyName];
13463
13767
  * ```
13464
13768
  *
13465
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13466
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13769
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13770
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13467
13771
  */
13468
- export const KEY_ORGANIZATION_WITH_PLAN_COUNTRY_CODE = 'country_code' as keyof OrganizationWithPlan;
13772
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_COUNTRY_CODE = 'country_code' as keyof OrganizationWithBillingData;
13469
13773
  /**
13470
13774
  * Created On
13471
13775
  *
@@ -13475,23 +13779,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_COUNTRY_CODE = 'country_code' as keyof O
13475
13779
  *
13476
13780
  *
13477
13781
  * @remarks
13478
- * This key constant provides type-safe access to the `created_on` property of OrganizationWithPlan objects.
13782
+ * This key constant provides type-safe access to the `created_on` property of OrganizationWithBillingData objects.
13479
13783
  * Use this constant when you need to access properties dynamically or ensure type safety.
13480
13784
  *
13481
13785
  * @example
13482
13786
  * ```typescript
13483
13787
  * // Direct property access
13484
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_CREATED_ON];
13788
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_CREATED_ON];
13485
13789
  *
13486
13790
  * // Dynamic property access
13487
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_CREATED_ON;
13488
- * const value = organizationwithplan[propertyName];
13791
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_CREATED_ON;
13792
+ * const value = organizationwithbillingdata[propertyName];
13489
13793
  * ```
13490
13794
  *
13491
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13492
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13795
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13796
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13493
13797
  */
13494
- export const KEY_ORGANIZATION_WITH_PLAN_CREATED_ON = 'created_on' as keyof OrganizationWithPlan;
13798
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_CREATED_ON = 'created_on' as keyof OrganizationWithBillingData;
13495
13799
  /**
13496
13800
  * currency property
13497
13801
  *
@@ -13500,23 +13804,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_CREATED_ON = 'created_on' as keyof Organ
13500
13804
  *
13501
13805
  *
13502
13806
  * @remarks
13503
- * This key constant provides type-safe access to the `currency` property of OrganizationWithPlan objects.
13807
+ * This key constant provides type-safe access to the `currency` property of OrganizationWithBillingData objects.
13504
13808
  * Use this constant when you need to access properties dynamically or ensure type safety.
13505
13809
  *
13506
13810
  * @example
13507
13811
  * ```typescript
13508
13812
  * // Direct property access
13509
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_CURRENCY];
13813
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_CURRENCY];
13510
13814
  *
13511
13815
  * // Dynamic property access
13512
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_CURRENCY;
13513
- * const value = organizationwithplan[propertyName];
13816
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_CURRENCY;
13817
+ * const value = organizationwithbillingdata[propertyName];
13514
13818
  * ```
13515
13819
  *
13516
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13517
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13820
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13821
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13518
13822
  */
13519
- export const KEY_ORGANIZATION_WITH_PLAN_CURRENCY = 'currency' as keyof OrganizationWithPlan;
13823
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_CURRENCY = 'currency' as keyof OrganizationWithBillingData;
13520
13824
  /**
13521
13825
  * Default Locale
13522
13826
  *
@@ -13525,23 +13829,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_CURRENCY = 'currency' as keyof Organizat
13525
13829
  *
13526
13830
  *
13527
13831
  * @remarks
13528
- * This key constant provides type-safe access to the `default_locale` property of OrganizationWithPlan objects.
13832
+ * This key constant provides type-safe access to the `default_locale` property of OrganizationWithBillingData objects.
13529
13833
  * Use this constant when you need to access properties dynamically or ensure type safety.
13530
13834
  *
13531
13835
  * @example
13532
13836
  * ```typescript
13533
13837
  * // Direct property access
13534
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_DEFAULT_LOCALE];
13838
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_DEFAULT_LOCALE];
13535
13839
  *
13536
13840
  * // Dynamic property access
13537
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_DEFAULT_LOCALE;
13538
- * const value = organizationwithplan[propertyName];
13841
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_DEFAULT_LOCALE;
13842
+ * const value = organizationwithbillingdata[propertyName];
13539
13843
  * ```
13540
13844
  *
13541
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13542
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13845
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13846
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13543
13847
  */
13544
- export const KEY_ORGANIZATION_WITH_PLAN_DEFAULT_LOCALE = 'default_locale' as keyof OrganizationWithPlan;
13848
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_DEFAULT_LOCALE = 'default_locale' as keyof OrganizationWithBillingData;
13545
13849
  /**
13546
13850
  * Deleted On
13547
13851
  *
@@ -13550,23 +13854,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_DEFAULT_LOCALE = 'default_locale' as key
13550
13854
  *
13551
13855
  *
13552
13856
  * @remarks
13553
- * This key constant provides type-safe access to the `deleted_on` property of OrganizationWithPlan objects.
13857
+ * This key constant provides type-safe access to the `deleted_on` property of OrganizationWithBillingData objects.
13554
13858
  * Use this constant when you need to access properties dynamically or ensure type safety.
13555
13859
  *
13556
13860
  * @example
13557
13861
  * ```typescript
13558
13862
  * // Direct property access
13559
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_DELETED_ON];
13863
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_DELETED_ON];
13560
13864
  *
13561
13865
  * // Dynamic property access
13562
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_DELETED_ON;
13563
- * const value = organizationwithplan[propertyName];
13866
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_DELETED_ON;
13867
+ * const value = organizationwithbillingdata[propertyName];
13564
13868
  * ```
13565
13869
  *
13566
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13567
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13870
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13871
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13568
13872
  */
13569
- export const KEY_ORGANIZATION_WITH_PLAN_DELETED_ON = 'deleted_on' as keyof OrganizationWithPlan;
13873
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_DELETED_ON = 'deleted_on' as keyof OrganizationWithBillingData;
13570
13874
  /**
13571
13875
  * Name
13572
13876
  *
@@ -13576,23 +13880,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_DELETED_ON = 'deleted_on' as keyof Organ
13576
13880
  *
13577
13881
  *
13578
13882
  * @remarks
13579
- * This key constant provides type-safe access to the `name` property of OrganizationWithPlan objects.
13883
+ * This key constant provides type-safe access to the `name` property of OrganizationWithBillingData objects.
13580
13884
  * Use this constant when you need to access properties dynamically or ensure type safety.
13581
13885
  *
13582
13886
  * @example
13583
13887
  * ```typescript
13584
13888
  * // Direct property access
13585
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_NAME];
13889
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_NAME];
13586
13890
  *
13587
13891
  * // Dynamic property access
13588
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_NAME;
13589
- * const value = organizationwithplan[propertyName];
13892
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_NAME;
13893
+ * const value = organizationwithbillingdata[propertyName];
13590
13894
  * ```
13591
13895
  *
13592
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13593
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13896
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13897
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13594
13898
  */
13595
- export const KEY_ORGANIZATION_WITH_PLAN_NAME = 'name' as keyof OrganizationWithPlan;
13899
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_NAME = 'name' as keyof OrganizationWithBillingData;
13596
13900
  /**
13597
13901
  * Organization Id
13598
13902
  *
@@ -13602,23 +13906,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_NAME = 'name' as keyof OrganizationWithP
13602
13906
  *
13603
13907
  *
13604
13908
  * @remarks
13605
- * This key constant provides type-safe access to the `organization_id` property of OrganizationWithPlan objects.
13909
+ * This key constant provides type-safe access to the `organization_id` property of OrganizationWithBillingData objects.
13606
13910
  * Use this constant when you need to access properties dynamically or ensure type safety.
13607
13911
  *
13608
13912
  * @example
13609
13913
  * ```typescript
13610
13914
  * // Direct property access
13611
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_ORGANIZATION_ID];
13915
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_ORGANIZATION_ID];
13612
13916
  *
13613
13917
  * // Dynamic property access
13614
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_ORGANIZATION_ID;
13615
- * const value = organizationwithplan[propertyName];
13918
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_ORGANIZATION_ID;
13919
+ * const value = organizationwithbillingdata[propertyName];
13616
13920
  * ```
13617
13921
  *
13618
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13619
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13922
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13923
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13620
13924
  */
13621
- export const KEY_ORGANIZATION_WITH_PLAN_ORGANIZATION_ID = 'organization_id' as keyof OrganizationWithPlan;
13925
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_ORGANIZATION_ID = 'organization_id' as keyof OrganizationWithBillingData;
13622
13926
  /**
13623
13927
  * Parent Organization Id
13624
13928
  *
@@ -13627,47 +13931,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_ORGANIZATION_ID = 'organization_id' as k
13627
13931
  *
13628
13932
  *
13629
13933
  * @remarks
13630
- * This key constant provides type-safe access to the `parent_organization_id` property of OrganizationWithPlan objects.
13934
+ * This key constant provides type-safe access to the `parent_organization_id` property of OrganizationWithBillingData objects.
13631
13935
  * Use this constant when you need to access properties dynamically or ensure type safety.
13632
13936
  *
13633
13937
  * @example
13634
13938
  * ```typescript
13635
13939
  * // Direct property access
13636
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_PARENT_ORGANIZATION_ID];
13940
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_PARENT_ORGANIZATION_ID];
13637
13941
  *
13638
13942
  * // Dynamic property access
13639
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_PARENT_ORGANIZATION_ID;
13640
- * const value = organizationwithplan[propertyName];
13943
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_PARENT_ORGANIZATION_ID;
13944
+ * const value = organizationwithbillingdata[propertyName];
13641
13945
  * ```
13642
13946
  *
13643
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13644
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13947
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13948
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13645
13949
  */
13646
- export const KEY_ORGANIZATION_WITH_PLAN_PARENT_ORGANIZATION_ID = 'parent_organization_id' as keyof OrganizationWithPlan;
13647
- /**
13648
- * plan property
13649
- *
13650
- *
13651
- *
13652
- *
13653
- * @remarks
13654
- * This key constant provides type-safe access to the `plan` property of OrganizationWithPlan objects.
13655
- * Use this constant when you need to access properties dynamically or ensure type safety.
13656
- *
13657
- * @example
13658
- * ```typescript
13659
- * // Direct property access
13660
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_PLAN];
13661
- *
13662
- * // Dynamic property access
13663
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_PLAN;
13664
- * const value = organizationwithplan[propertyName];
13665
- * ```
13666
- *
13667
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13668
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13669
- */
13670
- export const KEY_ORGANIZATION_WITH_PLAN_PLAN = 'plan' as keyof OrganizationWithPlan;
13950
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_PARENT_ORGANIZATION_ID = 'parent_organization_id' as keyof OrganizationWithBillingData;
13671
13951
  /**
13672
13952
  * Postal Code
13673
13953
  *
@@ -13676,23 +13956,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_PLAN = 'plan' as keyof OrganizationWithP
13676
13956
  *
13677
13957
  *
13678
13958
  * @remarks
13679
- * This key constant provides type-safe access to the `postal_code` property of OrganizationWithPlan objects.
13959
+ * This key constant provides type-safe access to the `postal_code` property of OrganizationWithBillingData objects.
13680
13960
  * Use this constant when you need to access properties dynamically or ensure type safety.
13681
13961
  *
13682
13962
  * @example
13683
13963
  * ```typescript
13684
13964
  * // Direct property access
13685
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_POSTAL_CODE];
13965
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_POSTAL_CODE];
13686
13966
  *
13687
13967
  * // Dynamic property access
13688
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_POSTAL_CODE;
13689
- * const value = organizationwithplan[propertyName];
13968
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_POSTAL_CODE;
13969
+ * const value = organizationwithbillingdata[propertyName];
13690
13970
  * ```
13691
13971
  *
13692
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13693
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13972
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13973
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13694
13974
  */
13695
- export const KEY_ORGANIZATION_WITH_PLAN_POSTAL_CODE = 'postal_code' as keyof OrganizationWithPlan;
13975
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_POSTAL_CODE = 'postal_code' as keyof OrganizationWithBillingData;
13696
13976
  /**
13697
13977
  * State
13698
13978
  *
@@ -13701,23 +13981,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_POSTAL_CODE = 'postal_code' as keyof Org
13701
13981
  *
13702
13982
  *
13703
13983
  * @remarks
13704
- * This key constant provides type-safe access to the `state` property of OrganizationWithPlan objects.
13984
+ * This key constant provides type-safe access to the `state` property of OrganizationWithBillingData objects.
13705
13985
  * Use this constant when you need to access properties dynamically or ensure type safety.
13706
13986
  *
13707
13987
  * @example
13708
13988
  * ```typescript
13709
13989
  * // Direct property access
13710
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_STATE];
13990
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_STATE];
13711
13991
  *
13712
13992
  * // Dynamic property access
13713
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_STATE;
13714
- * const value = organizationwithplan[propertyName];
13993
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_STATE;
13994
+ * const value = organizationwithbillingdata[propertyName];
13715
13995
  * ```
13716
13996
  *
13717
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13718
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
13997
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
13998
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13719
13999
  */
13720
- export const KEY_ORGANIZATION_WITH_PLAN_STATE = 'state' as keyof OrganizationWithPlan;
14000
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_STATE = 'state' as keyof OrganizationWithBillingData;
13721
14001
  /**
13722
14002
  * status property
13723
14003
  *
@@ -13726,23 +14006,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_STATE = 'state' as keyof OrganizationWit
13726
14006
  *
13727
14007
  *
13728
14008
  * @remarks
13729
- * This key constant provides type-safe access to the `status` property of OrganizationWithPlan objects.
14009
+ * This key constant provides type-safe access to the `status` property of OrganizationWithBillingData objects.
13730
14010
  * Use this constant when you need to access properties dynamically or ensure type safety.
13731
14011
  *
13732
14012
  * @example
13733
14013
  * ```typescript
13734
14014
  * // Direct property access
13735
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_STATUS];
14015
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_STATUS];
13736
14016
  *
13737
14017
  * // Dynamic property access
13738
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_STATUS;
13739
- * const value = organizationwithplan[propertyName];
14018
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_STATUS;
14019
+ * const value = organizationwithbillingdata[propertyName];
13740
14020
  * ```
13741
14021
  *
13742
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13743
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
14022
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
14023
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13744
14024
  */
13745
- export const KEY_ORGANIZATION_WITH_PLAN_STATUS = 'status' as keyof OrganizationWithPlan;
14025
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_STATUS = 'status' as keyof OrganizationWithBillingData;
13746
14026
  /**
13747
14027
  * Tax Id
13748
14028
  *
@@ -13751,23 +14031,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_STATUS = 'status' as keyof OrganizationW
13751
14031
  *
13752
14032
  *
13753
14033
  * @remarks
13754
- * This key constant provides type-safe access to the `tax_id` property of OrganizationWithPlan objects.
14034
+ * This key constant provides type-safe access to the `tax_id` property of OrganizationWithBillingData objects.
13755
14035
  * Use this constant when you need to access properties dynamically or ensure type safety.
13756
14036
  *
13757
14037
  * @example
13758
14038
  * ```typescript
13759
14039
  * // Direct property access
13760
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_TAX_ID];
14040
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID];
13761
14041
  *
13762
14042
  * // Dynamic property access
13763
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_TAX_ID;
13764
- * const value = organizationwithplan[propertyName];
14043
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID;
14044
+ * const value = organizationwithbillingdata[propertyName];
13765
14045
  * ```
13766
14046
  *
13767
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13768
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
14047
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
14048
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13769
14049
  */
13770
- export const KEY_ORGANIZATION_WITH_PLAN_TAX_ID = 'tax_id' as keyof OrganizationWithPlan;
14050
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID = 'tax_id' as keyof OrganizationWithBillingData;
13771
14051
  /**
13772
14052
  * Tax Id Type
13773
14053
  *
@@ -13776,23 +14056,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_TAX_ID = 'tax_id' as keyof OrganizationW
13776
14056
  *
13777
14057
  *
13778
14058
  * @remarks
13779
- * This key constant provides type-safe access to the `tax_id_type` property of OrganizationWithPlan objects.
14059
+ * This key constant provides type-safe access to the `tax_id_type` property of OrganizationWithBillingData objects.
13780
14060
  * Use this constant when you need to access properties dynamically or ensure type safety.
13781
14061
  *
13782
14062
  * @example
13783
14063
  * ```typescript
13784
14064
  * // Direct property access
13785
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_TAX_ID_TYPE];
14065
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID_TYPE];
13786
14066
  *
13787
14067
  * // Dynamic property access
13788
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_TAX_ID_TYPE;
13789
- * const value = organizationwithplan[propertyName];
14068
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID_TYPE;
14069
+ * const value = organizationwithbillingdata[propertyName];
13790
14070
  * ```
13791
14071
  *
13792
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13793
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
14072
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
14073
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13794
14074
  */
13795
- export const KEY_ORGANIZATION_WITH_PLAN_TAX_ID_TYPE = 'tax_id_type' as keyof OrganizationWithPlan;
14075
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID_TYPE = 'tax_id_type' as keyof OrganizationWithBillingData;
13796
14076
  /**
13797
14077
  * Tax Rate
13798
14078
  *
@@ -13801,23 +14081,23 @@ export const KEY_ORGANIZATION_WITH_PLAN_TAX_ID_TYPE = 'tax_id_type' as keyof Org
13801
14081
  *
13802
14082
  *
13803
14083
  * @remarks
13804
- * This key constant provides type-safe access to the `tax_rate` property of OrganizationWithPlan objects.
14084
+ * This key constant provides type-safe access to the `tax_rate` property of OrganizationWithBillingData objects.
13805
14085
  * Use this constant when you need to access properties dynamically or ensure type safety.
13806
14086
  *
13807
14087
  * @example
13808
14088
  * ```typescript
13809
14089
  * // Direct property access
13810
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_TAX_RATE];
14090
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_RATE];
13811
14091
  *
13812
14092
  * // Dynamic property access
13813
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_TAX_RATE;
13814
- * const value = organizationwithplan[propertyName];
14093
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_RATE;
14094
+ * const value = organizationwithbillingdata[propertyName];
13815
14095
  * ```
13816
14096
  *
13817
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13818
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
14097
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
14098
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13819
14099
  */
13820
- export const KEY_ORGANIZATION_WITH_PLAN_TAX_RATE = 'tax_rate' as keyof OrganizationWithPlan;
14100
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_RATE = 'tax_rate' as keyof OrganizationWithBillingData;
13821
14101
  /**
13822
14102
  * Users
13823
14103
  *
@@ -13826,67 +14106,69 @@ export const KEY_ORGANIZATION_WITH_PLAN_TAX_RATE = 'tax_rate' as keyof Organizat
13826
14106
  *
13827
14107
  *
13828
14108
  * @remarks
13829
- * This key constant provides type-safe access to the `users` property of OrganizationWithPlan objects.
14109
+ * This key constant provides type-safe access to the `users` property of OrganizationWithBillingData objects.
13830
14110
  * Use this constant when you need to access properties dynamically or ensure type safety.
13831
14111
  *
13832
14112
  * @example
13833
14113
  * ```typescript
13834
14114
  * // Direct property access
13835
- * const value = organizationwithplan[KEY_ORGANIZATION_WITH_PLAN_USERS];
14115
+ * const value = organizationwithbillingdata[KEY_ORGANIZATION_WITH_BILLING_DATA_USERS];
13836
14116
  *
13837
14117
  * // Dynamic property access
13838
- * const propertyName = KEY_ORGANIZATION_WITH_PLAN_USERS;
13839
- * const value = organizationwithplan[propertyName];
14118
+ * const propertyName = KEY_ORGANIZATION_WITH_BILLING_DATA_USERS;
14119
+ * const value = organizationwithbillingdata[propertyName];
13840
14120
  * ```
13841
14121
  *
13842
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13843
- * @see {@link KEYS_ORGANIZATION_WITH_PLAN} - Array of all keys for this type
14122
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
14123
+ * @see {@link KEYS_ORGANIZATION_WITH_BILLING_DATA} - Array of all keys for this type
13844
14124
  */
13845
- export const KEY_ORGANIZATION_WITH_PLAN_USERS = 'users' as keyof OrganizationWithPlan;
14125
+ export const KEY_ORGANIZATION_WITH_BILLING_DATA_USERS = 'users' as keyof OrganizationWithBillingData;
13846
14126
 
13847
14127
  /**
13848
- * Array of all OrganizationWithPlan property keys
14128
+ * Array of all OrganizationWithBillingData property keys
13849
14129
  *
13850
14130
  * @remarks
13851
- * This constant provides a readonly array containing all valid property keys for OrganizationWithPlan objects.
14131
+ * This constant provides a readonly array containing all valid property keys for OrganizationWithBillingData objects.
13852
14132
  * Useful for iteration, validation, and generating dynamic UI components.
13853
14133
  *
13854
14134
  * @example
13855
14135
  * ```typescript
13856
14136
  * // Iterating through all keys
13857
- * for (const key of KEYS_ORGANIZATION_WITH_PLAN) {
13858
- * console.log(`Property: ${key}, Value: ${organizationwithplan[key]}`);
14137
+ * for (const key of KEYS_ORGANIZATION_WITH_BILLING_DATA) {
14138
+ * console.log(`Property: ${key}, Value: ${organizationwithbillingdata[key]}`);
13859
14139
  * }
13860
14140
  *
13861
14141
  * // Validation
13862
- * const isValidKey = KEYS_ORGANIZATION_WITH_PLAN.includes(someKey);
13863
- * ```
13864
- *
13865
- * @see {@link OrganizationWithPlan} - The TypeScript type definition
13866
- */
13867
- export const KEYS_ORGANIZATION_WITH_PLAN = [
13868
- KEY_ORGANIZATION_WITH_PLAN_ADDRESS_1,
13869
- KEY_ORGANIZATION_WITH_PLAN_ADDRESS_2,
13870
- KEY_ORGANIZATION_WITH_PLAN_ATTRIBUTES,
13871
- KEY_ORGANIZATION_WITH_PLAN_BUSINESS_NUMBER,
13872
- KEY_ORGANIZATION_WITH_PLAN_CITY,
13873
- KEY_ORGANIZATION_WITH_PLAN_COUNTRY_CODE,
13874
- KEY_ORGANIZATION_WITH_PLAN_CREATED_ON,
13875
- KEY_ORGANIZATION_WITH_PLAN_CURRENCY,
13876
- KEY_ORGANIZATION_WITH_PLAN_DEFAULT_LOCALE,
13877
- KEY_ORGANIZATION_WITH_PLAN_DELETED_ON,
13878
- KEY_ORGANIZATION_WITH_PLAN_NAME,
13879
- KEY_ORGANIZATION_WITH_PLAN_ORGANIZATION_ID,
13880
- KEY_ORGANIZATION_WITH_PLAN_PARENT_ORGANIZATION_ID,
13881
- KEY_ORGANIZATION_WITH_PLAN_PLAN,
13882
- KEY_ORGANIZATION_WITH_PLAN_POSTAL_CODE,
13883
- KEY_ORGANIZATION_WITH_PLAN_STATE,
13884
- KEY_ORGANIZATION_WITH_PLAN_STATUS,
13885
- KEY_ORGANIZATION_WITH_PLAN_TAX_ID,
13886
- KEY_ORGANIZATION_WITH_PLAN_TAX_ID_TYPE,
13887
- KEY_ORGANIZATION_WITH_PLAN_TAX_RATE,
13888
- KEY_ORGANIZATION_WITH_PLAN_USERS,
13889
- ] as const satisfies (keyof OrganizationWithPlan)[];
14142
+ * const isValidKey = KEYS_ORGANIZATION_WITH_BILLING_DATA.includes(someKey);
14143
+ * ```
14144
+ *
14145
+ * @see {@link OrganizationWithBillingData} - The TypeScript type definition
14146
+ */
14147
+ export const KEYS_ORGANIZATION_WITH_BILLING_DATA = [
14148
+ KEY_ORGANIZATION_WITH_BILLING_DATA_ACCOUNT_BALANCE,
14149
+ KEY_ORGANIZATION_WITH_BILLING_DATA_ACTIVE_PLAN,
14150
+ KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_1,
14151
+ KEY_ORGANIZATION_WITH_BILLING_DATA_ADDRESS_2,
14152
+ KEY_ORGANIZATION_WITH_BILLING_DATA_ATTRIBUTES,
14153
+ KEY_ORGANIZATION_WITH_BILLING_DATA_BILLING_METADATA,
14154
+ KEY_ORGANIZATION_WITH_BILLING_DATA_BUSINESS_NUMBER,
14155
+ KEY_ORGANIZATION_WITH_BILLING_DATA_CITY,
14156
+ KEY_ORGANIZATION_WITH_BILLING_DATA_COUNTRY_CODE,
14157
+ KEY_ORGANIZATION_WITH_BILLING_DATA_CREATED_ON,
14158
+ KEY_ORGANIZATION_WITH_BILLING_DATA_CURRENCY,
14159
+ KEY_ORGANIZATION_WITH_BILLING_DATA_DEFAULT_LOCALE,
14160
+ KEY_ORGANIZATION_WITH_BILLING_DATA_DELETED_ON,
14161
+ KEY_ORGANIZATION_WITH_BILLING_DATA_NAME,
14162
+ KEY_ORGANIZATION_WITH_BILLING_DATA_ORGANIZATION_ID,
14163
+ KEY_ORGANIZATION_WITH_BILLING_DATA_PARENT_ORGANIZATION_ID,
14164
+ KEY_ORGANIZATION_WITH_BILLING_DATA_POSTAL_CODE,
14165
+ KEY_ORGANIZATION_WITH_BILLING_DATA_STATE,
14166
+ KEY_ORGANIZATION_WITH_BILLING_DATA_STATUS,
14167
+ KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID,
14168
+ KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_ID_TYPE,
14169
+ KEY_ORGANIZATION_WITH_BILLING_DATA_TAX_RATE,
14170
+ KEY_ORGANIZATION_WITH_BILLING_DATA_USERS,
14171
+ ] as const satisfies (keyof OrganizationWithBillingData)[];
13890
14172
 
13891
14173
  /**
13892
14174
  * Current Page
@@ -14428,55 +14710,6 @@ export const KEYS_PLAN_INFO = [
14428
14710
  KEY_PLAN_INFO_PLAN_TYPE,
14429
14711
  ] as const satisfies (keyof PlanInfo)[];
14430
14712
 
14431
- /**
14432
- * plan property
14433
- *
14434
- *
14435
- *
14436
- *
14437
- * @remarks
14438
- * This key constant provides type-safe access to the `plan` property of PlanUpdate objects.
14439
- * Use this constant when you need to access properties dynamically or ensure type safety.
14440
- *
14441
- * @example
14442
- * ```typescript
14443
- * // Direct property access
14444
- * const value = planupdate[KEY_PLAN_UPDATE_PLAN];
14445
- *
14446
- * // Dynamic property access
14447
- * const propertyName = KEY_PLAN_UPDATE_PLAN;
14448
- * const value = planupdate[propertyName];
14449
- * ```
14450
- *
14451
- * @see {@link PlanUpdate} - The TypeScript type definition
14452
- * @see {@link KEYS_PLAN_UPDATE} - Array of all keys for this type
14453
- */
14454
- export const KEY_PLAN_UPDATE_PLAN = 'plan' as keyof PlanUpdate;
14455
-
14456
- /**
14457
- * Array of all PlanUpdate property keys
14458
- *
14459
- * @remarks
14460
- * This constant provides a readonly array containing all valid property keys for PlanUpdate objects.
14461
- * Useful for iteration, validation, and generating dynamic UI components.
14462
- *
14463
- * @example
14464
- * ```typescript
14465
- * // Iterating through all keys
14466
- * for (const key of KEYS_PLAN_UPDATE) {
14467
- * console.log(`Property: ${key}, Value: ${planupdate[key]}`);
14468
- * }
14469
- *
14470
- * // Validation
14471
- * const isValidKey = KEYS_PLAN_UPDATE.includes(someKey);
14472
- * ```
14473
- *
14474
- * @see {@link PlanUpdate} - The TypeScript type definition
14475
- */
14476
- export const KEYS_PLAN_UPDATE = [
14477
- KEY_PLAN_UPDATE_PLAN,
14478
- ] as const satisfies (keyof PlanUpdate)[];
14479
-
14480
14713
  /**
14481
14714
  * Affects
14482
14715
  *