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