@opusdns/api 0.86.0 → 0.88.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/constants.ts +74 -1
- package/src/helpers/keys.ts +527 -865
- package/src/helpers/requests.d.ts +147 -158
- package/src/helpers/responses.d.ts +139 -100
- package/src/helpers/schemas-arrays.d.ts +15 -43
- package/src/helpers/schemas.d.ts +70 -102
- package/src/openapi.yaml +224 -247
- package/src/schema.d.ts +171 -181
package/src/helpers/keys.ts
CHANGED
|
@@ -68,6 +68,8 @@ import { DomainContact } from './schemas';
|
|
|
68
68
|
import { DomainCreate } from './schemas';
|
|
69
69
|
import { DomainDnssecDataCreate } from './schemas';
|
|
70
70
|
import { DomainDnssecData } from './schemas';
|
|
71
|
+
import { DomainForward } from './schemas';
|
|
72
|
+
import { DomainForwardRequest } from './schemas';
|
|
71
73
|
import { DomainLifecycleBase } from './schemas';
|
|
72
74
|
import { DomainNameParts } from './schemas';
|
|
73
75
|
import { DomainPeriod } from './schemas';
|
|
@@ -93,6 +95,7 @@ import { EventSchema } from './schemas';
|
|
|
93
95
|
import { GeneralAvailabilityBase } from './schemas';
|
|
94
96
|
import { GetPrices } from './schemas';
|
|
95
97
|
import { HTTPValidationError } from './schemas';
|
|
98
|
+
import { HttpRedirect } from './schemas';
|
|
96
99
|
import { IdnBase } from './schemas';
|
|
97
100
|
import { IpRestrictionCreate } from './schemas';
|
|
98
101
|
import { IpRestriction } from './schemas';
|
|
@@ -120,12 +123,6 @@ import { PricingPeriod } from './schemas';
|
|
|
120
123
|
import { Problem } from './schemas';
|
|
121
124
|
import { PublicAuthRequestForm } from './schemas';
|
|
122
125
|
import { RdapBase } from './schemas';
|
|
123
|
-
import { Redirect } from './schemas';
|
|
124
|
-
import { RedirectPatchOp } from './schemas';
|
|
125
|
-
import { RedirectPatchOps } from './schemas';
|
|
126
|
-
import { RedirectRemove } from './schemas';
|
|
127
|
-
import { RedirectSet } from './schemas';
|
|
128
|
-
import { RedirectUpdate } from './schemas';
|
|
129
126
|
import { RegistryLockBase } from './schemas';
|
|
130
127
|
import { RelationSet } from './schemas';
|
|
131
128
|
import { ReservedDomainsBase } from './schemas';
|
|
@@ -6334,6 +6331,261 @@ export const KEYS_DOMAIN_DNSSEC_DATA = [
|
|
|
6334
6331
|
KEY_DOMAIN_DNSSEC_DATA_UPDATED_ON,
|
|
6335
6332
|
] as const satisfies (keyof DomainDnssecData)[];
|
|
6336
6333
|
|
|
6334
|
+
/**
|
|
6335
|
+
* Created On
|
|
6336
|
+
*
|
|
6337
|
+
*
|
|
6338
|
+
* @type {string}
|
|
6339
|
+
*
|
|
6340
|
+
*
|
|
6341
|
+
* @remarks
|
|
6342
|
+
* This key constant provides type-safe access to the `created_on` property of DomainForward objects.
|
|
6343
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6344
|
+
*
|
|
6345
|
+
* @example
|
|
6346
|
+
* ```typescript
|
|
6347
|
+
* // Direct property access
|
|
6348
|
+
* const value = domainforward[KEY_DOMAIN_FORWARD_CREATED_ON];
|
|
6349
|
+
*
|
|
6350
|
+
* // Dynamic property access
|
|
6351
|
+
* const propertyName = KEY_DOMAIN_FORWARD_CREATED_ON;
|
|
6352
|
+
* const value = domainforward[propertyName];
|
|
6353
|
+
* ```
|
|
6354
|
+
*
|
|
6355
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6356
|
+
* @see {@link KEYS_DOMAIN_FORWARD} - Array of all keys for this type
|
|
6357
|
+
*/
|
|
6358
|
+
export const KEY_DOMAIN_FORWARD_CREATED_ON = 'created_on' as keyof DomainForward;
|
|
6359
|
+
/**
|
|
6360
|
+
* Redirects
|
|
6361
|
+
*
|
|
6362
|
+
*
|
|
6363
|
+
* @type {array}
|
|
6364
|
+
*
|
|
6365
|
+
*
|
|
6366
|
+
* @remarks
|
|
6367
|
+
* This key constant provides type-safe access to the `redirects` property of DomainForward objects.
|
|
6368
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6369
|
+
*
|
|
6370
|
+
* @example
|
|
6371
|
+
* ```typescript
|
|
6372
|
+
* // Direct property access
|
|
6373
|
+
* const value = domainforward[KEY_DOMAIN_FORWARD_REDIRECTS];
|
|
6374
|
+
*
|
|
6375
|
+
* // Dynamic property access
|
|
6376
|
+
* const propertyName = KEY_DOMAIN_FORWARD_REDIRECTS;
|
|
6377
|
+
* const value = domainforward[propertyName];
|
|
6378
|
+
* ```
|
|
6379
|
+
*
|
|
6380
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6381
|
+
* @see {@link KEYS_DOMAIN_FORWARD} - Array of all keys for this type
|
|
6382
|
+
*/
|
|
6383
|
+
export const KEY_DOMAIN_FORWARD_REDIRECTS = 'redirects' as keyof DomainForward;
|
|
6384
|
+
/**
|
|
6385
|
+
* request_protocol property
|
|
6386
|
+
*
|
|
6387
|
+
*
|
|
6388
|
+
*
|
|
6389
|
+
*
|
|
6390
|
+
* @remarks
|
|
6391
|
+
* This key constant provides type-safe access to the `request_protocol` property of DomainForward objects.
|
|
6392
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6393
|
+
*
|
|
6394
|
+
* @example
|
|
6395
|
+
* ```typescript
|
|
6396
|
+
* // Direct property access
|
|
6397
|
+
* const value = domainforward[KEY_DOMAIN_FORWARD_REQUEST_PROTOCOL];
|
|
6398
|
+
*
|
|
6399
|
+
* // Dynamic property access
|
|
6400
|
+
* const propertyName = KEY_DOMAIN_FORWARD_REQUEST_PROTOCOL;
|
|
6401
|
+
* const value = domainforward[propertyName];
|
|
6402
|
+
* ```
|
|
6403
|
+
*
|
|
6404
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6405
|
+
* @see {@link KEYS_DOMAIN_FORWARD} - Array of all keys for this type
|
|
6406
|
+
*/
|
|
6407
|
+
export const KEY_DOMAIN_FORWARD_REQUEST_PROTOCOL = 'request_protocol' as keyof DomainForward;
|
|
6408
|
+
/**
|
|
6409
|
+
* Updated On
|
|
6410
|
+
*
|
|
6411
|
+
*
|
|
6412
|
+
* @type {string}
|
|
6413
|
+
*
|
|
6414
|
+
*
|
|
6415
|
+
* @remarks
|
|
6416
|
+
* This key constant provides type-safe access to the `updated_on` property of DomainForward objects.
|
|
6417
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6418
|
+
*
|
|
6419
|
+
* @example
|
|
6420
|
+
* ```typescript
|
|
6421
|
+
* // Direct property access
|
|
6422
|
+
* const value = domainforward[KEY_DOMAIN_FORWARD_UPDATED_ON];
|
|
6423
|
+
*
|
|
6424
|
+
* // Dynamic property access
|
|
6425
|
+
* const propertyName = KEY_DOMAIN_FORWARD_UPDATED_ON;
|
|
6426
|
+
* const value = domainforward[propertyName];
|
|
6427
|
+
* ```
|
|
6428
|
+
*
|
|
6429
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6430
|
+
* @see {@link KEYS_DOMAIN_FORWARD} - Array of all keys for this type
|
|
6431
|
+
*/
|
|
6432
|
+
export const KEY_DOMAIN_FORWARD_UPDATED_ON = 'updated_on' as keyof DomainForward;
|
|
6433
|
+
/**
|
|
6434
|
+
* Wildcard
|
|
6435
|
+
*
|
|
6436
|
+
*
|
|
6437
|
+
* @type {boolean}
|
|
6438
|
+
*
|
|
6439
|
+
*
|
|
6440
|
+
* @remarks
|
|
6441
|
+
* This key constant provides type-safe access to the `wildcard` property of DomainForward objects.
|
|
6442
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6443
|
+
*
|
|
6444
|
+
* @example
|
|
6445
|
+
* ```typescript
|
|
6446
|
+
* // Direct property access
|
|
6447
|
+
* const value = domainforward[KEY_DOMAIN_FORWARD_WILDCARD];
|
|
6448
|
+
*
|
|
6449
|
+
* // Dynamic property access
|
|
6450
|
+
* const propertyName = KEY_DOMAIN_FORWARD_WILDCARD;
|
|
6451
|
+
* const value = domainforward[propertyName];
|
|
6452
|
+
* ```
|
|
6453
|
+
*
|
|
6454
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6455
|
+
* @see {@link KEYS_DOMAIN_FORWARD} - Array of all keys for this type
|
|
6456
|
+
*/
|
|
6457
|
+
export const KEY_DOMAIN_FORWARD_WILDCARD = 'wildcard' as keyof DomainForward;
|
|
6458
|
+
/**
|
|
6459
|
+
* Zone Name
|
|
6460
|
+
*
|
|
6461
|
+
*
|
|
6462
|
+
* @type {string}
|
|
6463
|
+
*
|
|
6464
|
+
*
|
|
6465
|
+
* @remarks
|
|
6466
|
+
* This key constant provides type-safe access to the `zone_name` property of DomainForward objects.
|
|
6467
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6468
|
+
*
|
|
6469
|
+
* @example
|
|
6470
|
+
* ```typescript
|
|
6471
|
+
* // Direct property access
|
|
6472
|
+
* const value = domainforward[KEY_DOMAIN_FORWARD_ZONE_NAME];
|
|
6473
|
+
*
|
|
6474
|
+
* // Dynamic property access
|
|
6475
|
+
* const propertyName = KEY_DOMAIN_FORWARD_ZONE_NAME;
|
|
6476
|
+
* const value = domainforward[propertyName];
|
|
6477
|
+
* ```
|
|
6478
|
+
*
|
|
6479
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6480
|
+
* @see {@link KEYS_DOMAIN_FORWARD} - Array of all keys for this type
|
|
6481
|
+
*/
|
|
6482
|
+
export const KEY_DOMAIN_FORWARD_ZONE_NAME = 'zone_name' as keyof DomainForward;
|
|
6483
|
+
|
|
6484
|
+
/**
|
|
6485
|
+
* Array of all DomainForward property keys
|
|
6486
|
+
*
|
|
6487
|
+
* @remarks
|
|
6488
|
+
* This constant provides a readonly array containing all valid property keys for DomainForward objects.
|
|
6489
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
6490
|
+
*
|
|
6491
|
+
* @example
|
|
6492
|
+
* ```typescript
|
|
6493
|
+
* // Iterating through all keys
|
|
6494
|
+
* for (const key of KEYS_DOMAIN_FORWARD) {
|
|
6495
|
+
* console.log(`Property: ${key}, Value: ${domainforward[key]}`);
|
|
6496
|
+
* }
|
|
6497
|
+
*
|
|
6498
|
+
* // Validation
|
|
6499
|
+
* const isValidKey = KEYS_DOMAIN_FORWARD.includes(someKey);
|
|
6500
|
+
* ```
|
|
6501
|
+
*
|
|
6502
|
+
* @see {@link DomainForward} - The TypeScript type definition
|
|
6503
|
+
*/
|
|
6504
|
+
export const KEYS_DOMAIN_FORWARD = [
|
|
6505
|
+
KEY_DOMAIN_FORWARD_CREATED_ON,
|
|
6506
|
+
KEY_DOMAIN_FORWARD_REDIRECTS,
|
|
6507
|
+
KEY_DOMAIN_FORWARD_REQUEST_PROTOCOL,
|
|
6508
|
+
KEY_DOMAIN_FORWARD_UPDATED_ON,
|
|
6509
|
+
KEY_DOMAIN_FORWARD_WILDCARD,
|
|
6510
|
+
KEY_DOMAIN_FORWARD_ZONE_NAME,
|
|
6511
|
+
] as const satisfies (keyof DomainForward)[];
|
|
6512
|
+
|
|
6513
|
+
/**
|
|
6514
|
+
* Redirects
|
|
6515
|
+
*
|
|
6516
|
+
*
|
|
6517
|
+
* @type {array}
|
|
6518
|
+
*
|
|
6519
|
+
*
|
|
6520
|
+
* @remarks
|
|
6521
|
+
* This key constant provides type-safe access to the `redirects` property of DomainForwardRequest objects.
|
|
6522
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6523
|
+
*
|
|
6524
|
+
* @example
|
|
6525
|
+
* ```typescript
|
|
6526
|
+
* // Direct property access
|
|
6527
|
+
* const value = domainforwardrequest[KEY_DOMAIN_FORWARD_REQUEST_REDIRECTS];
|
|
6528
|
+
*
|
|
6529
|
+
* // Dynamic property access
|
|
6530
|
+
* const propertyName = KEY_DOMAIN_FORWARD_REQUEST_REDIRECTS;
|
|
6531
|
+
* const value = domainforwardrequest[propertyName];
|
|
6532
|
+
* ```
|
|
6533
|
+
*
|
|
6534
|
+
* @see {@link DomainForwardRequest} - The TypeScript type definition
|
|
6535
|
+
* @see {@link KEYS_DOMAIN_FORWARD_REQUEST} - Array of all keys for this type
|
|
6536
|
+
*/
|
|
6537
|
+
export const KEY_DOMAIN_FORWARD_REQUEST_REDIRECTS = 'redirects' as keyof DomainForwardRequest;
|
|
6538
|
+
/**
|
|
6539
|
+
* Wildcard
|
|
6540
|
+
*
|
|
6541
|
+
*
|
|
6542
|
+
* @type {boolean}
|
|
6543
|
+
*
|
|
6544
|
+
*
|
|
6545
|
+
* @remarks
|
|
6546
|
+
* This key constant provides type-safe access to the `wildcard` property of DomainForwardRequest objects.
|
|
6547
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
6548
|
+
*
|
|
6549
|
+
* @example
|
|
6550
|
+
* ```typescript
|
|
6551
|
+
* // Direct property access
|
|
6552
|
+
* const value = domainforwardrequest[KEY_DOMAIN_FORWARD_REQUEST_WILDCARD];
|
|
6553
|
+
*
|
|
6554
|
+
* // Dynamic property access
|
|
6555
|
+
* const propertyName = KEY_DOMAIN_FORWARD_REQUEST_WILDCARD;
|
|
6556
|
+
* const value = domainforwardrequest[propertyName];
|
|
6557
|
+
* ```
|
|
6558
|
+
*
|
|
6559
|
+
* @see {@link DomainForwardRequest} - The TypeScript type definition
|
|
6560
|
+
* @see {@link KEYS_DOMAIN_FORWARD_REQUEST} - Array of all keys for this type
|
|
6561
|
+
*/
|
|
6562
|
+
export const KEY_DOMAIN_FORWARD_REQUEST_WILDCARD = 'wildcard' as keyof DomainForwardRequest;
|
|
6563
|
+
|
|
6564
|
+
/**
|
|
6565
|
+
* Array of all DomainForwardRequest property keys
|
|
6566
|
+
*
|
|
6567
|
+
* @remarks
|
|
6568
|
+
* This constant provides a readonly array containing all valid property keys for DomainForwardRequest objects.
|
|
6569
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
6570
|
+
*
|
|
6571
|
+
* @example
|
|
6572
|
+
* ```typescript
|
|
6573
|
+
* // Iterating through all keys
|
|
6574
|
+
* for (const key of KEYS_DOMAIN_FORWARD_REQUEST) {
|
|
6575
|
+
* console.log(`Property: ${key}, Value: ${domainforwardrequest[key]}`);
|
|
6576
|
+
* }
|
|
6577
|
+
*
|
|
6578
|
+
* // Validation
|
|
6579
|
+
* const isValidKey = KEYS_DOMAIN_FORWARD_REQUEST.includes(someKey);
|
|
6580
|
+
* ```
|
|
6581
|
+
*
|
|
6582
|
+
* @see {@link DomainForwardRequest} - The TypeScript type definition
|
|
6583
|
+
*/
|
|
6584
|
+
export const KEYS_DOMAIN_FORWARD_REQUEST = [
|
|
6585
|
+
KEY_DOMAIN_FORWARD_REQUEST_REDIRECTS,
|
|
6586
|
+
KEY_DOMAIN_FORWARD_REQUEST_WILDCARD,
|
|
6587
|
+
] as const satisfies (keyof DomainForwardRequest)[];
|
|
6588
|
+
|
|
6337
6589
|
/**
|
|
6338
6590
|
* Add Grace Period
|
|
6339
6591
|
*
|
|
@@ -9877,158 +10129,360 @@ export const KEYS_H_T_T_P_VALIDATION_ERROR = [
|
|
|
9877
10129
|
] as const satisfies (keyof HTTPValidationError)[];
|
|
9878
10130
|
|
|
9879
10131
|
/**
|
|
9880
|
-
*
|
|
10132
|
+
* redirect_code property
|
|
9881
10133
|
*
|
|
9882
|
-
* IDN allowed
|
|
9883
10134
|
*
|
|
9884
|
-
* @type {boolean}
|
|
9885
10135
|
*
|
|
9886
10136
|
*
|
|
9887
10137
|
* @remarks
|
|
9888
|
-
* This key constant provides type-safe access to the `
|
|
10138
|
+
* This key constant provides type-safe access to the `redirect_code` property of HttpRedirect objects.
|
|
9889
10139
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9890
10140
|
*
|
|
9891
10141
|
* @example
|
|
9892
10142
|
* ```typescript
|
|
9893
10143
|
* // Direct property access
|
|
9894
|
-
* const value =
|
|
10144
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_REDIRECT_CODE];
|
|
9895
10145
|
*
|
|
9896
10146
|
* // Dynamic property access
|
|
9897
|
-
* const propertyName =
|
|
9898
|
-
* const value =
|
|
10147
|
+
* const propertyName = KEY_HTTP_REDIRECT_REDIRECT_CODE;
|
|
10148
|
+
* const value = httpredirect[propertyName];
|
|
9899
10149
|
* ```
|
|
9900
10150
|
*
|
|
9901
|
-
* @see {@link
|
|
9902
|
-
* @see {@link
|
|
10151
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10152
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
9903
10153
|
*/
|
|
9904
|
-
export const
|
|
10154
|
+
export const KEY_HTTP_REDIRECT_REDIRECT_CODE = 'redirect_code' as keyof HttpRedirect;
|
|
9905
10155
|
/**
|
|
9906
|
-
*
|
|
10156
|
+
* Request Path
|
|
9907
10157
|
*
|
|
9908
|
-
* Allowed IDN characters, file with the IDN codes
|
|
9909
10158
|
*
|
|
10159
|
+
* @type {string}
|
|
9910
10160
|
*
|
|
9911
10161
|
*
|
|
9912
10162
|
* @remarks
|
|
9913
|
-
* This key constant provides type-safe access to the `
|
|
10163
|
+
* This key constant provides type-safe access to the `request_path` property of HttpRedirect objects.
|
|
9914
10164
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9915
10165
|
*
|
|
9916
10166
|
* @example
|
|
9917
10167
|
* ```typescript
|
|
9918
10168
|
* // Direct property access
|
|
9919
|
-
* const value =
|
|
10169
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_REQUEST_PATH];
|
|
9920
10170
|
*
|
|
9921
10171
|
* // Dynamic property access
|
|
9922
|
-
* const propertyName =
|
|
9923
|
-
* const value =
|
|
10172
|
+
* const propertyName = KEY_HTTP_REDIRECT_REQUEST_PATH;
|
|
10173
|
+
* const value = httpredirect[propertyName];
|
|
9924
10174
|
* ```
|
|
9925
10175
|
*
|
|
9926
|
-
* @see {@link
|
|
9927
|
-
* @see {@link
|
|
10176
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10177
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
9928
10178
|
*/
|
|
9929
|
-
export const
|
|
9930
|
-
|
|
10179
|
+
export const KEY_HTTP_REDIRECT_REQUEST_PATH = 'request_path' as keyof HttpRedirect;
|
|
9931
10180
|
/**
|
|
9932
|
-
*
|
|
10181
|
+
* Request Subdomain
|
|
10182
|
+
*
|
|
10183
|
+
*
|
|
10184
|
+
*
|
|
9933
10185
|
*
|
|
9934
10186
|
* @remarks
|
|
9935
|
-
* This constant provides
|
|
9936
|
-
*
|
|
10187
|
+
* This key constant provides type-safe access to the `request_subdomain` property of HttpRedirect objects.
|
|
10188
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9937
10189
|
*
|
|
9938
10190
|
* @example
|
|
9939
10191
|
* ```typescript
|
|
9940
|
-
* //
|
|
9941
|
-
*
|
|
9942
|
-
* console.log(`Property: ${key}, Value: ${idnbase[key]}`);
|
|
9943
|
-
* }
|
|
10192
|
+
* // Direct property access
|
|
10193
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_REQUEST_SUBDOMAIN];
|
|
9944
10194
|
*
|
|
9945
|
-
* //
|
|
9946
|
-
* const
|
|
10195
|
+
* // Dynamic property access
|
|
10196
|
+
* const propertyName = KEY_HTTP_REDIRECT_REQUEST_SUBDOMAIN;
|
|
10197
|
+
* const value = httpredirect[propertyName];
|
|
9947
10198
|
* ```
|
|
9948
10199
|
*
|
|
9949
|
-
* @see {@link
|
|
10200
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10201
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
9950
10202
|
*/
|
|
9951
|
-
export const
|
|
9952
|
-
KEY_IDN_BASE_IDN_CAPABLE,
|
|
9953
|
-
KEY_IDN_BASE_IDN_TABLES,
|
|
9954
|
-
] as const satisfies (keyof IdnBase)[];
|
|
9955
|
-
|
|
10203
|
+
export const KEY_HTTP_REDIRECT_REQUEST_SUBDOMAIN = 'request_subdomain' as keyof HttpRedirect;
|
|
9956
10204
|
/**
|
|
9957
|
-
*
|
|
10205
|
+
* Target Domain
|
|
9958
10206
|
*
|
|
9959
|
-
* IP address or CIDR network range. Individual IPs can be specified without CIDR notation.
|
|
9960
10207
|
*
|
|
9961
10208
|
* @type {string}
|
|
9962
10209
|
*
|
|
9963
10210
|
*
|
|
9964
10211
|
* @remarks
|
|
9965
|
-
* This key constant provides type-safe access to the `
|
|
10212
|
+
* This key constant provides type-safe access to the `target_domain` property of HttpRedirect objects.
|
|
9966
10213
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9967
10214
|
*
|
|
9968
10215
|
* @example
|
|
9969
10216
|
* ```typescript
|
|
9970
10217
|
* // Direct property access
|
|
9971
|
-
* const value =
|
|
10218
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_TARGET_DOMAIN];
|
|
9972
10219
|
*
|
|
9973
10220
|
* // Dynamic property access
|
|
9974
|
-
* const propertyName =
|
|
9975
|
-
* const value =
|
|
10221
|
+
* const propertyName = KEY_HTTP_REDIRECT_TARGET_DOMAIN;
|
|
10222
|
+
* const value = httpredirect[propertyName];
|
|
9976
10223
|
* ```
|
|
9977
10224
|
*
|
|
9978
|
-
* @see {@link
|
|
9979
|
-
* @see {@link
|
|
10225
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10226
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
9980
10227
|
*/
|
|
9981
|
-
export const
|
|
10228
|
+
export const KEY_HTTP_REDIRECT_TARGET_DOMAIN = 'target_domain' as keyof HttpRedirect;
|
|
9982
10229
|
/**
|
|
9983
|
-
*
|
|
10230
|
+
* Target Path
|
|
9984
10231
|
*
|
|
9985
10232
|
*
|
|
9986
10233
|
* @type {string}
|
|
9987
10234
|
*
|
|
9988
10235
|
*
|
|
9989
10236
|
* @remarks
|
|
9990
|
-
* This key constant provides type-safe access to the `
|
|
10237
|
+
* This key constant provides type-safe access to the `target_path` property of HttpRedirect objects.
|
|
9991
10238
|
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
9992
10239
|
*
|
|
9993
10240
|
* @example
|
|
9994
10241
|
* ```typescript
|
|
9995
10242
|
* // Direct property access
|
|
9996
|
-
* const value =
|
|
10243
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_TARGET_PATH];
|
|
9997
10244
|
*
|
|
9998
10245
|
* // Dynamic property access
|
|
9999
|
-
* const propertyName =
|
|
10000
|
-
* const value =
|
|
10246
|
+
* const propertyName = KEY_HTTP_REDIRECT_TARGET_PATH;
|
|
10247
|
+
* const value = httpredirect[propertyName];
|
|
10001
10248
|
* ```
|
|
10002
10249
|
*
|
|
10003
|
-
* @see {@link
|
|
10004
|
-
* @see {@link
|
|
10250
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10251
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
10005
10252
|
*/
|
|
10006
|
-
export const
|
|
10007
|
-
|
|
10253
|
+
export const KEY_HTTP_REDIRECT_TARGET_PATH = 'target_path' as keyof HttpRedirect;
|
|
10008
10254
|
/**
|
|
10009
|
-
*
|
|
10255
|
+
* target_protocol property
|
|
10256
|
+
*
|
|
10257
|
+
*
|
|
10258
|
+
*
|
|
10010
10259
|
*
|
|
10011
10260
|
* @remarks
|
|
10012
|
-
* This constant provides
|
|
10013
|
-
*
|
|
10261
|
+
* This key constant provides type-safe access to the `target_protocol` property of HttpRedirect objects.
|
|
10262
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10014
10263
|
*
|
|
10015
10264
|
* @example
|
|
10016
10265
|
* ```typescript
|
|
10017
|
-
* //
|
|
10018
|
-
*
|
|
10019
|
-
* console.log(`Property: ${key}, Value: ${iprestrictioncreate[key]}`);
|
|
10020
|
-
* }
|
|
10266
|
+
* // Direct property access
|
|
10267
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_TARGET_PROTOCOL];
|
|
10021
10268
|
*
|
|
10022
|
-
* //
|
|
10023
|
-
* const
|
|
10269
|
+
* // Dynamic property access
|
|
10270
|
+
* const propertyName = KEY_HTTP_REDIRECT_TARGET_PROTOCOL;
|
|
10271
|
+
* const value = httpredirect[propertyName];
|
|
10024
10272
|
* ```
|
|
10025
10273
|
*
|
|
10026
|
-
* @see {@link
|
|
10274
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10275
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
10027
10276
|
*/
|
|
10028
|
-
export const
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10277
|
+
export const KEY_HTTP_REDIRECT_TARGET_PROTOCOL = 'target_protocol' as keyof HttpRedirect;
|
|
10278
|
+
/**
|
|
10279
|
+
* Target Subdomain
|
|
10280
|
+
*
|
|
10281
|
+
*
|
|
10282
|
+
*
|
|
10283
|
+
*
|
|
10284
|
+
* @remarks
|
|
10285
|
+
* This key constant provides type-safe access to the `target_subdomain` property of HttpRedirect objects.
|
|
10286
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10287
|
+
*
|
|
10288
|
+
* @example
|
|
10289
|
+
* ```typescript
|
|
10290
|
+
* // Direct property access
|
|
10291
|
+
* const value = httpredirect[KEY_HTTP_REDIRECT_TARGET_SUBDOMAIN];
|
|
10292
|
+
*
|
|
10293
|
+
* // Dynamic property access
|
|
10294
|
+
* const propertyName = KEY_HTTP_REDIRECT_TARGET_SUBDOMAIN;
|
|
10295
|
+
* const value = httpredirect[propertyName];
|
|
10296
|
+
* ```
|
|
10297
|
+
*
|
|
10298
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10299
|
+
* @see {@link KEYS_HTTP_REDIRECT} - Array of all keys for this type
|
|
10300
|
+
*/
|
|
10301
|
+
export const KEY_HTTP_REDIRECT_TARGET_SUBDOMAIN = 'target_subdomain' as keyof HttpRedirect;
|
|
10302
|
+
|
|
10303
|
+
/**
|
|
10304
|
+
* Array of all HttpRedirect property keys
|
|
10305
|
+
*
|
|
10306
|
+
* @remarks
|
|
10307
|
+
* This constant provides a readonly array containing all valid property keys for HttpRedirect objects.
|
|
10308
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
10309
|
+
*
|
|
10310
|
+
* @example
|
|
10311
|
+
* ```typescript
|
|
10312
|
+
* // Iterating through all keys
|
|
10313
|
+
* for (const key of KEYS_HTTP_REDIRECT) {
|
|
10314
|
+
* console.log(`Property: ${key}, Value: ${httpredirect[key]}`);
|
|
10315
|
+
* }
|
|
10316
|
+
*
|
|
10317
|
+
* // Validation
|
|
10318
|
+
* const isValidKey = KEYS_HTTP_REDIRECT.includes(someKey);
|
|
10319
|
+
* ```
|
|
10320
|
+
*
|
|
10321
|
+
* @see {@link HttpRedirect} - The TypeScript type definition
|
|
10322
|
+
*/
|
|
10323
|
+
export const KEYS_HTTP_REDIRECT = [
|
|
10324
|
+
KEY_HTTP_REDIRECT_REDIRECT_CODE,
|
|
10325
|
+
KEY_HTTP_REDIRECT_REQUEST_PATH,
|
|
10326
|
+
KEY_HTTP_REDIRECT_REQUEST_SUBDOMAIN,
|
|
10327
|
+
KEY_HTTP_REDIRECT_TARGET_DOMAIN,
|
|
10328
|
+
KEY_HTTP_REDIRECT_TARGET_PATH,
|
|
10329
|
+
KEY_HTTP_REDIRECT_TARGET_PROTOCOL,
|
|
10330
|
+
KEY_HTTP_REDIRECT_TARGET_SUBDOMAIN,
|
|
10331
|
+
] as const satisfies (keyof HttpRedirect)[];
|
|
10332
|
+
|
|
10333
|
+
/**
|
|
10334
|
+
* Idn Capable
|
|
10335
|
+
*
|
|
10336
|
+
* IDN allowed
|
|
10337
|
+
*
|
|
10338
|
+
* @type {boolean}
|
|
10339
|
+
*
|
|
10340
|
+
*
|
|
10341
|
+
* @remarks
|
|
10342
|
+
* This key constant provides type-safe access to the `idn_capable` property of IdnBase objects.
|
|
10343
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10344
|
+
*
|
|
10345
|
+
* @example
|
|
10346
|
+
* ```typescript
|
|
10347
|
+
* // Direct property access
|
|
10348
|
+
* const value = idnbase[KEY_IDN_BASE_IDN_CAPABLE];
|
|
10349
|
+
*
|
|
10350
|
+
* // Dynamic property access
|
|
10351
|
+
* const propertyName = KEY_IDN_BASE_IDN_CAPABLE;
|
|
10352
|
+
* const value = idnbase[propertyName];
|
|
10353
|
+
* ```
|
|
10354
|
+
*
|
|
10355
|
+
* @see {@link IdnBase} - The TypeScript type definition
|
|
10356
|
+
* @see {@link KEYS_IDN_BASE} - Array of all keys for this type
|
|
10357
|
+
*/
|
|
10358
|
+
export const KEY_IDN_BASE_IDN_CAPABLE = 'idn_capable' as keyof IdnBase;
|
|
10359
|
+
/**
|
|
10360
|
+
* Idn Tables
|
|
10361
|
+
*
|
|
10362
|
+
* Allowed IDN characters, file with the IDN codes
|
|
10363
|
+
*
|
|
10364
|
+
*
|
|
10365
|
+
*
|
|
10366
|
+
* @remarks
|
|
10367
|
+
* This key constant provides type-safe access to the `idn_tables` property of IdnBase objects.
|
|
10368
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10369
|
+
*
|
|
10370
|
+
* @example
|
|
10371
|
+
* ```typescript
|
|
10372
|
+
* // Direct property access
|
|
10373
|
+
* const value = idnbase[KEY_IDN_BASE_IDN_TABLES];
|
|
10374
|
+
*
|
|
10375
|
+
* // Dynamic property access
|
|
10376
|
+
* const propertyName = KEY_IDN_BASE_IDN_TABLES;
|
|
10377
|
+
* const value = idnbase[propertyName];
|
|
10378
|
+
* ```
|
|
10379
|
+
*
|
|
10380
|
+
* @see {@link IdnBase} - The TypeScript type definition
|
|
10381
|
+
* @see {@link KEYS_IDN_BASE} - Array of all keys for this type
|
|
10382
|
+
*/
|
|
10383
|
+
export const KEY_IDN_BASE_IDN_TABLES = 'idn_tables' as keyof IdnBase;
|
|
10384
|
+
|
|
10385
|
+
/**
|
|
10386
|
+
* Array of all IdnBase property keys
|
|
10387
|
+
*
|
|
10388
|
+
* @remarks
|
|
10389
|
+
* This constant provides a readonly array containing all valid property keys for IdnBase objects.
|
|
10390
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
10391
|
+
*
|
|
10392
|
+
* @example
|
|
10393
|
+
* ```typescript
|
|
10394
|
+
* // Iterating through all keys
|
|
10395
|
+
* for (const key of KEYS_IDN_BASE) {
|
|
10396
|
+
* console.log(`Property: ${key}, Value: ${idnbase[key]}`);
|
|
10397
|
+
* }
|
|
10398
|
+
*
|
|
10399
|
+
* // Validation
|
|
10400
|
+
* const isValidKey = KEYS_IDN_BASE.includes(someKey);
|
|
10401
|
+
* ```
|
|
10402
|
+
*
|
|
10403
|
+
* @see {@link IdnBase} - The TypeScript type definition
|
|
10404
|
+
*/
|
|
10405
|
+
export const KEYS_IDN_BASE = [
|
|
10406
|
+
KEY_IDN_BASE_IDN_CAPABLE,
|
|
10407
|
+
KEY_IDN_BASE_IDN_TABLES,
|
|
10408
|
+
] as const satisfies (keyof IdnBase)[];
|
|
10409
|
+
|
|
10410
|
+
/**
|
|
10411
|
+
* Ip Network
|
|
10412
|
+
*
|
|
10413
|
+
* IP address or CIDR network range. Individual IPs can be specified without CIDR notation.
|
|
10414
|
+
*
|
|
10415
|
+
* @type {string}
|
|
10416
|
+
*
|
|
10417
|
+
*
|
|
10418
|
+
* @remarks
|
|
10419
|
+
* This key constant provides type-safe access to the `ip_network` property of IpRestrictionCreate objects.
|
|
10420
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10421
|
+
*
|
|
10422
|
+
* @example
|
|
10423
|
+
* ```typescript
|
|
10424
|
+
* // Direct property access
|
|
10425
|
+
* const value = iprestrictioncreate[KEY_IP_RESTRICTION_CREATE_IP_NETWORK];
|
|
10426
|
+
*
|
|
10427
|
+
* // Dynamic property access
|
|
10428
|
+
* const propertyName = KEY_IP_RESTRICTION_CREATE_IP_NETWORK;
|
|
10429
|
+
* const value = iprestrictioncreate[propertyName];
|
|
10430
|
+
* ```
|
|
10431
|
+
*
|
|
10432
|
+
* @see {@link IpRestrictionCreate} - The TypeScript type definition
|
|
10433
|
+
* @see {@link KEYS_IP_RESTRICTION_CREATE} - Array of all keys for this type
|
|
10434
|
+
*/
|
|
10435
|
+
export const KEY_IP_RESTRICTION_CREATE_IP_NETWORK = 'ip_network' as keyof IpRestrictionCreate;
|
|
10436
|
+
/**
|
|
10437
|
+
* Organization Id
|
|
10438
|
+
*
|
|
10439
|
+
*
|
|
10440
|
+
* @type {string}
|
|
10441
|
+
*
|
|
10442
|
+
*
|
|
10443
|
+
* @remarks
|
|
10444
|
+
* This key constant provides type-safe access to the `organization_id` property of IpRestrictionCreate objects.
|
|
10445
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
10446
|
+
*
|
|
10447
|
+
* @example
|
|
10448
|
+
* ```typescript
|
|
10449
|
+
* // Direct property access
|
|
10450
|
+
* const value = iprestrictioncreate[KEY_IP_RESTRICTION_CREATE_ORGANIZATION_ID];
|
|
10451
|
+
*
|
|
10452
|
+
* // Dynamic property access
|
|
10453
|
+
* const propertyName = KEY_IP_RESTRICTION_CREATE_ORGANIZATION_ID;
|
|
10454
|
+
* const value = iprestrictioncreate[propertyName];
|
|
10455
|
+
* ```
|
|
10456
|
+
*
|
|
10457
|
+
* @see {@link IpRestrictionCreate} - The TypeScript type definition
|
|
10458
|
+
* @see {@link KEYS_IP_RESTRICTION_CREATE} - Array of all keys for this type
|
|
10459
|
+
*/
|
|
10460
|
+
export const KEY_IP_RESTRICTION_CREATE_ORGANIZATION_ID = 'organization_id' as keyof IpRestrictionCreate;
|
|
10461
|
+
|
|
10462
|
+
/**
|
|
10463
|
+
* Array of all IpRestrictionCreate property keys
|
|
10464
|
+
*
|
|
10465
|
+
* @remarks
|
|
10466
|
+
* This constant provides a readonly array containing all valid property keys for IpRestrictionCreate objects.
|
|
10467
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
10468
|
+
*
|
|
10469
|
+
* @example
|
|
10470
|
+
* ```typescript
|
|
10471
|
+
* // Iterating through all keys
|
|
10472
|
+
* for (const key of KEYS_IP_RESTRICTION_CREATE) {
|
|
10473
|
+
* console.log(`Property: ${key}, Value: ${iprestrictioncreate[key]}`);
|
|
10474
|
+
* }
|
|
10475
|
+
*
|
|
10476
|
+
* // Validation
|
|
10477
|
+
* const isValidKey = KEYS_IP_RESTRICTION_CREATE.includes(someKey);
|
|
10478
|
+
* ```
|
|
10479
|
+
*
|
|
10480
|
+
* @see {@link IpRestrictionCreate} - The TypeScript type definition
|
|
10481
|
+
*/
|
|
10482
|
+
export const KEYS_IP_RESTRICTION_CREATE = [
|
|
10483
|
+
KEY_IP_RESTRICTION_CREATE_IP_NETWORK,
|
|
10484
|
+
KEY_IP_RESTRICTION_CREATE_ORGANIZATION_ID,
|
|
10485
|
+
] as const satisfies (keyof IpRestrictionCreate)[];
|
|
10032
10486
|
|
|
10033
10487
|
/**
|
|
10034
10488
|
* Created On
|
|
@@ -14451,798 +14905,6 @@ export const KEYS_RDAP_BASE = [
|
|
|
14451
14905
|
KEY_RDAP_BASE_RDAP_SERVER,
|
|
14452
14906
|
] as const satisfies (keyof RdapBase)[];
|
|
14453
14907
|
|
|
14454
|
-
/**
|
|
14455
|
-
* Redirect Code
|
|
14456
|
-
*
|
|
14457
|
-
*
|
|
14458
|
-
* @type {integer}
|
|
14459
|
-
*
|
|
14460
|
-
*
|
|
14461
|
-
* @remarks
|
|
14462
|
-
* This key constant provides type-safe access to the `redirect_code` property of Redirect objects.
|
|
14463
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14464
|
-
*
|
|
14465
|
-
* @example
|
|
14466
|
-
* ```typescript
|
|
14467
|
-
* // Direct property access
|
|
14468
|
-
* const value = redirect[KEY_REDIRECT_REDIRECT_CODE];
|
|
14469
|
-
*
|
|
14470
|
-
* // Dynamic property access
|
|
14471
|
-
* const propertyName = KEY_REDIRECT_REDIRECT_CODE;
|
|
14472
|
-
* const value = redirect[propertyName];
|
|
14473
|
-
* ```
|
|
14474
|
-
*
|
|
14475
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14476
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14477
|
-
*/
|
|
14478
|
-
export const KEY_REDIRECT_REDIRECT_CODE = 'redirect_code' as keyof Redirect;
|
|
14479
|
-
/**
|
|
14480
|
-
* Request Domain
|
|
14481
|
-
*
|
|
14482
|
-
*
|
|
14483
|
-
* @type {string}
|
|
14484
|
-
*
|
|
14485
|
-
*
|
|
14486
|
-
* @remarks
|
|
14487
|
-
* This key constant provides type-safe access to the `request_domain` property of Redirect objects.
|
|
14488
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14489
|
-
*
|
|
14490
|
-
* @example
|
|
14491
|
-
* ```typescript
|
|
14492
|
-
* // Direct property access
|
|
14493
|
-
* const value = redirect[KEY_REDIRECT_REQUEST_DOMAIN];
|
|
14494
|
-
*
|
|
14495
|
-
* // Dynamic property access
|
|
14496
|
-
* const propertyName = KEY_REDIRECT_REQUEST_DOMAIN;
|
|
14497
|
-
* const value = redirect[propertyName];
|
|
14498
|
-
* ```
|
|
14499
|
-
*
|
|
14500
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14501
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14502
|
-
*/
|
|
14503
|
-
export const KEY_REDIRECT_REQUEST_DOMAIN = 'request_domain' as keyof Redirect;
|
|
14504
|
-
/**
|
|
14505
|
-
* Request Path
|
|
14506
|
-
*
|
|
14507
|
-
*
|
|
14508
|
-
* @type {string}
|
|
14509
|
-
*
|
|
14510
|
-
*
|
|
14511
|
-
* @remarks
|
|
14512
|
-
* This key constant provides type-safe access to the `request_path` property of Redirect objects.
|
|
14513
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14514
|
-
*
|
|
14515
|
-
* @example
|
|
14516
|
-
* ```typescript
|
|
14517
|
-
* // Direct property access
|
|
14518
|
-
* const value = redirect[KEY_REDIRECT_REQUEST_PATH];
|
|
14519
|
-
*
|
|
14520
|
-
* // Dynamic property access
|
|
14521
|
-
* const propertyName = KEY_REDIRECT_REQUEST_PATH;
|
|
14522
|
-
* const value = redirect[propertyName];
|
|
14523
|
-
* ```
|
|
14524
|
-
*
|
|
14525
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14526
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14527
|
-
*/
|
|
14528
|
-
export const KEY_REDIRECT_REQUEST_PATH = 'request_path' as keyof Redirect;
|
|
14529
|
-
/**
|
|
14530
|
-
* Request Protocol
|
|
14531
|
-
*
|
|
14532
|
-
*
|
|
14533
|
-
* @type {string}
|
|
14534
|
-
*
|
|
14535
|
-
*
|
|
14536
|
-
* @remarks
|
|
14537
|
-
* This key constant provides type-safe access to the `request_protocol` property of Redirect objects.
|
|
14538
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14539
|
-
*
|
|
14540
|
-
* @example
|
|
14541
|
-
* ```typescript
|
|
14542
|
-
* // Direct property access
|
|
14543
|
-
* const value = redirect[KEY_REDIRECT_REQUEST_PROTOCOL];
|
|
14544
|
-
*
|
|
14545
|
-
* // Dynamic property access
|
|
14546
|
-
* const propertyName = KEY_REDIRECT_REQUEST_PROTOCOL;
|
|
14547
|
-
* const value = redirect[propertyName];
|
|
14548
|
-
* ```
|
|
14549
|
-
*
|
|
14550
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14551
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14552
|
-
*/
|
|
14553
|
-
export const KEY_REDIRECT_REQUEST_PROTOCOL = 'request_protocol' as keyof Redirect;
|
|
14554
|
-
/**
|
|
14555
|
-
* Request Subdomain
|
|
14556
|
-
*
|
|
14557
|
-
*
|
|
14558
|
-
* @type {string}
|
|
14559
|
-
*
|
|
14560
|
-
*
|
|
14561
|
-
* @remarks
|
|
14562
|
-
* This key constant provides type-safe access to the `request_subdomain` property of Redirect objects.
|
|
14563
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14564
|
-
*
|
|
14565
|
-
* @example
|
|
14566
|
-
* ```typescript
|
|
14567
|
-
* // Direct property access
|
|
14568
|
-
* const value = redirect[KEY_REDIRECT_REQUEST_SUBDOMAIN];
|
|
14569
|
-
*
|
|
14570
|
-
* // Dynamic property access
|
|
14571
|
-
* const propertyName = KEY_REDIRECT_REQUEST_SUBDOMAIN;
|
|
14572
|
-
* const value = redirect[propertyName];
|
|
14573
|
-
* ```
|
|
14574
|
-
*
|
|
14575
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14576
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14577
|
-
*/
|
|
14578
|
-
export const KEY_REDIRECT_REQUEST_SUBDOMAIN = 'request_subdomain' as keyof Redirect;
|
|
14579
|
-
/**
|
|
14580
|
-
* Target Domain
|
|
14581
|
-
*
|
|
14582
|
-
*
|
|
14583
|
-
* @type {string}
|
|
14584
|
-
*
|
|
14585
|
-
*
|
|
14586
|
-
* @remarks
|
|
14587
|
-
* This key constant provides type-safe access to the `target_domain` property of Redirect objects.
|
|
14588
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14589
|
-
*
|
|
14590
|
-
* @example
|
|
14591
|
-
* ```typescript
|
|
14592
|
-
* // Direct property access
|
|
14593
|
-
* const value = redirect[KEY_REDIRECT_TARGET_DOMAIN];
|
|
14594
|
-
*
|
|
14595
|
-
* // Dynamic property access
|
|
14596
|
-
* const propertyName = KEY_REDIRECT_TARGET_DOMAIN;
|
|
14597
|
-
* const value = redirect[propertyName];
|
|
14598
|
-
* ```
|
|
14599
|
-
*
|
|
14600
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14601
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14602
|
-
*/
|
|
14603
|
-
export const KEY_REDIRECT_TARGET_DOMAIN = 'target_domain' as keyof Redirect;
|
|
14604
|
-
/**
|
|
14605
|
-
* Target Path
|
|
14606
|
-
*
|
|
14607
|
-
*
|
|
14608
|
-
* @type {string}
|
|
14609
|
-
*
|
|
14610
|
-
*
|
|
14611
|
-
* @remarks
|
|
14612
|
-
* This key constant provides type-safe access to the `target_path` property of Redirect objects.
|
|
14613
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14614
|
-
*
|
|
14615
|
-
* @example
|
|
14616
|
-
* ```typescript
|
|
14617
|
-
* // Direct property access
|
|
14618
|
-
* const value = redirect[KEY_REDIRECT_TARGET_PATH];
|
|
14619
|
-
*
|
|
14620
|
-
* // Dynamic property access
|
|
14621
|
-
* const propertyName = KEY_REDIRECT_TARGET_PATH;
|
|
14622
|
-
* const value = redirect[propertyName];
|
|
14623
|
-
* ```
|
|
14624
|
-
*
|
|
14625
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14626
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14627
|
-
*/
|
|
14628
|
-
export const KEY_REDIRECT_TARGET_PATH = 'target_path' as keyof Redirect;
|
|
14629
|
-
/**
|
|
14630
|
-
* Target Protocol
|
|
14631
|
-
*
|
|
14632
|
-
*
|
|
14633
|
-
* @type {string}
|
|
14634
|
-
*
|
|
14635
|
-
*
|
|
14636
|
-
* @remarks
|
|
14637
|
-
* This key constant provides type-safe access to the `target_protocol` property of Redirect objects.
|
|
14638
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14639
|
-
*
|
|
14640
|
-
* @example
|
|
14641
|
-
* ```typescript
|
|
14642
|
-
* // Direct property access
|
|
14643
|
-
* const value = redirect[KEY_REDIRECT_TARGET_PROTOCOL];
|
|
14644
|
-
*
|
|
14645
|
-
* // Dynamic property access
|
|
14646
|
-
* const propertyName = KEY_REDIRECT_TARGET_PROTOCOL;
|
|
14647
|
-
* const value = redirect[propertyName];
|
|
14648
|
-
* ```
|
|
14649
|
-
*
|
|
14650
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14651
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14652
|
-
*/
|
|
14653
|
-
export const KEY_REDIRECT_TARGET_PROTOCOL = 'target_protocol' as keyof Redirect;
|
|
14654
|
-
/**
|
|
14655
|
-
* Target Subdomain
|
|
14656
|
-
*
|
|
14657
|
-
*
|
|
14658
|
-
* @type {string}
|
|
14659
|
-
*
|
|
14660
|
-
*
|
|
14661
|
-
* @remarks
|
|
14662
|
-
* This key constant provides type-safe access to the `target_subdomain` property of Redirect objects.
|
|
14663
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14664
|
-
*
|
|
14665
|
-
* @example
|
|
14666
|
-
* ```typescript
|
|
14667
|
-
* // Direct property access
|
|
14668
|
-
* const value = redirect[KEY_REDIRECT_TARGET_SUBDOMAIN];
|
|
14669
|
-
*
|
|
14670
|
-
* // Dynamic property access
|
|
14671
|
-
* const propertyName = KEY_REDIRECT_TARGET_SUBDOMAIN;
|
|
14672
|
-
* const value = redirect[propertyName];
|
|
14673
|
-
* ```
|
|
14674
|
-
*
|
|
14675
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14676
|
-
* @see {@link KEYS_REDIRECT} - Array of all keys for this type
|
|
14677
|
-
*/
|
|
14678
|
-
export const KEY_REDIRECT_TARGET_SUBDOMAIN = 'target_subdomain' as keyof Redirect;
|
|
14679
|
-
|
|
14680
|
-
/**
|
|
14681
|
-
* Array of all Redirect property keys
|
|
14682
|
-
*
|
|
14683
|
-
* @remarks
|
|
14684
|
-
* This constant provides a readonly array containing all valid property keys for Redirect objects.
|
|
14685
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
14686
|
-
*
|
|
14687
|
-
* @example
|
|
14688
|
-
* ```typescript
|
|
14689
|
-
* // Iterating through all keys
|
|
14690
|
-
* for (const key of KEYS_REDIRECT) {
|
|
14691
|
-
* console.log(`Property: ${key}, Value: ${redirect[key]}`);
|
|
14692
|
-
* }
|
|
14693
|
-
*
|
|
14694
|
-
* // Validation
|
|
14695
|
-
* const isValidKey = KEYS_REDIRECT.includes(someKey);
|
|
14696
|
-
* ```
|
|
14697
|
-
*
|
|
14698
|
-
* @see {@link Redirect} - The TypeScript type definition
|
|
14699
|
-
*/
|
|
14700
|
-
export const KEYS_REDIRECT = [
|
|
14701
|
-
KEY_REDIRECT_REDIRECT_CODE,
|
|
14702
|
-
KEY_REDIRECT_REQUEST_DOMAIN,
|
|
14703
|
-
KEY_REDIRECT_REQUEST_PATH,
|
|
14704
|
-
KEY_REDIRECT_REQUEST_PROTOCOL,
|
|
14705
|
-
KEY_REDIRECT_REQUEST_SUBDOMAIN,
|
|
14706
|
-
KEY_REDIRECT_TARGET_DOMAIN,
|
|
14707
|
-
KEY_REDIRECT_TARGET_PATH,
|
|
14708
|
-
KEY_REDIRECT_TARGET_PROTOCOL,
|
|
14709
|
-
KEY_REDIRECT_TARGET_SUBDOMAIN,
|
|
14710
|
-
] as const satisfies (keyof Redirect)[];
|
|
14711
|
-
|
|
14712
|
-
/**
|
|
14713
|
-
* op property
|
|
14714
|
-
*
|
|
14715
|
-
*
|
|
14716
|
-
*
|
|
14717
|
-
*
|
|
14718
|
-
* @remarks
|
|
14719
|
-
* This key constant provides type-safe access to the `op` property of RedirectPatchOp objects.
|
|
14720
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14721
|
-
*
|
|
14722
|
-
* @example
|
|
14723
|
-
* ```typescript
|
|
14724
|
-
* // Direct property access
|
|
14725
|
-
* const value = redirectpatchop[KEY_REDIRECT_PATCH_OP_OP];
|
|
14726
|
-
*
|
|
14727
|
-
* // Dynamic property access
|
|
14728
|
-
* const propertyName = KEY_REDIRECT_PATCH_OP_OP;
|
|
14729
|
-
* const value = redirectpatchop[propertyName];
|
|
14730
|
-
* ```
|
|
14731
|
-
*
|
|
14732
|
-
* @see {@link RedirectPatchOp} - The TypeScript type definition
|
|
14733
|
-
* @see {@link KEYS_REDIRECT_PATCH_OP} - Array of all keys for this type
|
|
14734
|
-
*/
|
|
14735
|
-
export const KEY_REDIRECT_PATCH_OP_OP = 'op' as keyof RedirectPatchOp;
|
|
14736
|
-
/**
|
|
14737
|
-
* Redirect
|
|
14738
|
-
*
|
|
14739
|
-
*
|
|
14740
|
-
*
|
|
14741
|
-
*
|
|
14742
|
-
* @remarks
|
|
14743
|
-
* This key constant provides type-safe access to the `redirect` property of RedirectPatchOp objects.
|
|
14744
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14745
|
-
*
|
|
14746
|
-
* @example
|
|
14747
|
-
* ```typescript
|
|
14748
|
-
* // Direct property access
|
|
14749
|
-
* const value = redirectpatchop[KEY_REDIRECT_PATCH_OP_REDIRECT];
|
|
14750
|
-
*
|
|
14751
|
-
* // Dynamic property access
|
|
14752
|
-
* const propertyName = KEY_REDIRECT_PATCH_OP_REDIRECT;
|
|
14753
|
-
* const value = redirectpatchop[propertyName];
|
|
14754
|
-
* ```
|
|
14755
|
-
*
|
|
14756
|
-
* @see {@link RedirectPatchOp} - The TypeScript type definition
|
|
14757
|
-
* @see {@link KEYS_REDIRECT_PATCH_OP} - Array of all keys for this type
|
|
14758
|
-
*/
|
|
14759
|
-
export const KEY_REDIRECT_PATCH_OP_REDIRECT = 'redirect' as keyof RedirectPatchOp;
|
|
14760
|
-
|
|
14761
|
-
/**
|
|
14762
|
-
* Array of all RedirectPatchOp property keys
|
|
14763
|
-
*
|
|
14764
|
-
* @remarks
|
|
14765
|
-
* This constant provides a readonly array containing all valid property keys for RedirectPatchOp objects.
|
|
14766
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
14767
|
-
*
|
|
14768
|
-
* @example
|
|
14769
|
-
* ```typescript
|
|
14770
|
-
* // Iterating through all keys
|
|
14771
|
-
* for (const key of KEYS_REDIRECT_PATCH_OP) {
|
|
14772
|
-
* console.log(`Property: ${key}, Value: ${redirectpatchop[key]}`);
|
|
14773
|
-
* }
|
|
14774
|
-
*
|
|
14775
|
-
* // Validation
|
|
14776
|
-
* const isValidKey = KEYS_REDIRECT_PATCH_OP.includes(someKey);
|
|
14777
|
-
* ```
|
|
14778
|
-
*
|
|
14779
|
-
* @see {@link RedirectPatchOp} - The TypeScript type definition
|
|
14780
|
-
*/
|
|
14781
|
-
export const KEYS_REDIRECT_PATCH_OP = [
|
|
14782
|
-
KEY_REDIRECT_PATCH_OP_OP,
|
|
14783
|
-
KEY_REDIRECT_PATCH_OP_REDIRECT,
|
|
14784
|
-
] as const satisfies (keyof RedirectPatchOp)[];
|
|
14785
|
-
|
|
14786
|
-
/**
|
|
14787
|
-
* Ops
|
|
14788
|
-
*
|
|
14789
|
-
*
|
|
14790
|
-
* @type {array}
|
|
14791
|
-
*
|
|
14792
|
-
*
|
|
14793
|
-
* @remarks
|
|
14794
|
-
* This key constant provides type-safe access to the `ops` property of RedirectPatchOps objects.
|
|
14795
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14796
|
-
*
|
|
14797
|
-
* @example
|
|
14798
|
-
* ```typescript
|
|
14799
|
-
* // Direct property access
|
|
14800
|
-
* const value = redirectpatchops[KEY_REDIRECT_PATCH_OPS_OPS];
|
|
14801
|
-
*
|
|
14802
|
-
* // Dynamic property access
|
|
14803
|
-
* const propertyName = KEY_REDIRECT_PATCH_OPS_OPS;
|
|
14804
|
-
* const value = redirectpatchops[propertyName];
|
|
14805
|
-
* ```
|
|
14806
|
-
*
|
|
14807
|
-
* @see {@link RedirectPatchOps} - The TypeScript type definition
|
|
14808
|
-
* @see {@link KEYS_REDIRECT_PATCH_OPS} - Array of all keys for this type
|
|
14809
|
-
*/
|
|
14810
|
-
export const KEY_REDIRECT_PATCH_OPS_OPS = 'ops' as keyof RedirectPatchOps;
|
|
14811
|
-
|
|
14812
|
-
/**
|
|
14813
|
-
* Array of all RedirectPatchOps property keys
|
|
14814
|
-
*
|
|
14815
|
-
* @remarks
|
|
14816
|
-
* This constant provides a readonly array containing all valid property keys for RedirectPatchOps objects.
|
|
14817
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
14818
|
-
*
|
|
14819
|
-
* @example
|
|
14820
|
-
* ```typescript
|
|
14821
|
-
* // Iterating through all keys
|
|
14822
|
-
* for (const key of KEYS_REDIRECT_PATCH_OPS) {
|
|
14823
|
-
* console.log(`Property: ${key}, Value: ${redirectpatchops[key]}`);
|
|
14824
|
-
* }
|
|
14825
|
-
*
|
|
14826
|
-
* // Validation
|
|
14827
|
-
* const isValidKey = KEYS_REDIRECT_PATCH_OPS.includes(someKey);
|
|
14828
|
-
* ```
|
|
14829
|
-
*
|
|
14830
|
-
* @see {@link RedirectPatchOps} - The TypeScript type definition
|
|
14831
|
-
*/
|
|
14832
|
-
export const KEYS_REDIRECT_PATCH_OPS = [
|
|
14833
|
-
KEY_REDIRECT_PATCH_OPS_OPS,
|
|
14834
|
-
] as const satisfies (keyof RedirectPatchOps)[];
|
|
14835
|
-
|
|
14836
|
-
/**
|
|
14837
|
-
* Request Domain
|
|
14838
|
-
*
|
|
14839
|
-
*
|
|
14840
|
-
* @type {string}
|
|
14841
|
-
*
|
|
14842
|
-
*
|
|
14843
|
-
* @remarks
|
|
14844
|
-
* This key constant provides type-safe access to the `request_domain` property of RedirectRemove objects.
|
|
14845
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14846
|
-
*
|
|
14847
|
-
* @example
|
|
14848
|
-
* ```typescript
|
|
14849
|
-
* // Direct property access
|
|
14850
|
-
* const value = redirectremove[KEY_REDIRECT_REMOVE_REQUEST_DOMAIN];
|
|
14851
|
-
*
|
|
14852
|
-
* // Dynamic property access
|
|
14853
|
-
* const propertyName = KEY_REDIRECT_REMOVE_REQUEST_DOMAIN;
|
|
14854
|
-
* const value = redirectremove[propertyName];
|
|
14855
|
-
* ```
|
|
14856
|
-
*
|
|
14857
|
-
* @see {@link RedirectRemove} - The TypeScript type definition
|
|
14858
|
-
* @see {@link KEYS_REDIRECT_REMOVE} - Array of all keys for this type
|
|
14859
|
-
*/
|
|
14860
|
-
export const KEY_REDIRECT_REMOVE_REQUEST_DOMAIN = 'request_domain' as keyof RedirectRemove;
|
|
14861
|
-
/**
|
|
14862
|
-
* Request Path
|
|
14863
|
-
*
|
|
14864
|
-
*
|
|
14865
|
-
* @type {string}
|
|
14866
|
-
*
|
|
14867
|
-
*
|
|
14868
|
-
* @remarks
|
|
14869
|
-
* This key constant provides type-safe access to the `request_path` property of RedirectRemove objects.
|
|
14870
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14871
|
-
*
|
|
14872
|
-
* @example
|
|
14873
|
-
* ```typescript
|
|
14874
|
-
* // Direct property access
|
|
14875
|
-
* const value = redirectremove[KEY_REDIRECT_REMOVE_REQUEST_PATH];
|
|
14876
|
-
*
|
|
14877
|
-
* // Dynamic property access
|
|
14878
|
-
* const propertyName = KEY_REDIRECT_REMOVE_REQUEST_PATH;
|
|
14879
|
-
* const value = redirectremove[propertyName];
|
|
14880
|
-
* ```
|
|
14881
|
-
*
|
|
14882
|
-
* @see {@link RedirectRemove} - The TypeScript type definition
|
|
14883
|
-
* @see {@link KEYS_REDIRECT_REMOVE} - Array of all keys for this type
|
|
14884
|
-
*/
|
|
14885
|
-
export const KEY_REDIRECT_REMOVE_REQUEST_PATH = 'request_path' as keyof RedirectRemove;
|
|
14886
|
-
/**
|
|
14887
|
-
* Request Protocol
|
|
14888
|
-
*
|
|
14889
|
-
*
|
|
14890
|
-
* @type {string}
|
|
14891
|
-
*
|
|
14892
|
-
*
|
|
14893
|
-
* @remarks
|
|
14894
|
-
* This key constant provides type-safe access to the `request_protocol` property of RedirectRemove objects.
|
|
14895
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14896
|
-
*
|
|
14897
|
-
* @example
|
|
14898
|
-
* ```typescript
|
|
14899
|
-
* // Direct property access
|
|
14900
|
-
* const value = redirectremove[KEY_REDIRECT_REMOVE_REQUEST_PROTOCOL];
|
|
14901
|
-
*
|
|
14902
|
-
* // Dynamic property access
|
|
14903
|
-
* const propertyName = KEY_REDIRECT_REMOVE_REQUEST_PROTOCOL;
|
|
14904
|
-
* const value = redirectremove[propertyName];
|
|
14905
|
-
* ```
|
|
14906
|
-
*
|
|
14907
|
-
* @see {@link RedirectRemove} - The TypeScript type definition
|
|
14908
|
-
* @see {@link KEYS_REDIRECT_REMOVE} - Array of all keys for this type
|
|
14909
|
-
*/
|
|
14910
|
-
export const KEY_REDIRECT_REMOVE_REQUEST_PROTOCOL = 'request_protocol' as keyof RedirectRemove;
|
|
14911
|
-
/**
|
|
14912
|
-
* Request Subdomain
|
|
14913
|
-
*
|
|
14914
|
-
*
|
|
14915
|
-
* @type {string}
|
|
14916
|
-
*
|
|
14917
|
-
*
|
|
14918
|
-
* @remarks
|
|
14919
|
-
* This key constant provides type-safe access to the `request_subdomain` property of RedirectRemove objects.
|
|
14920
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14921
|
-
*
|
|
14922
|
-
* @example
|
|
14923
|
-
* ```typescript
|
|
14924
|
-
* // Direct property access
|
|
14925
|
-
* const value = redirectremove[KEY_REDIRECT_REMOVE_REQUEST_SUBDOMAIN];
|
|
14926
|
-
*
|
|
14927
|
-
* // Dynamic property access
|
|
14928
|
-
* const propertyName = KEY_REDIRECT_REMOVE_REQUEST_SUBDOMAIN;
|
|
14929
|
-
* const value = redirectremove[propertyName];
|
|
14930
|
-
* ```
|
|
14931
|
-
*
|
|
14932
|
-
* @see {@link RedirectRemove} - The TypeScript type definition
|
|
14933
|
-
* @see {@link KEYS_REDIRECT_REMOVE} - Array of all keys for this type
|
|
14934
|
-
*/
|
|
14935
|
-
export const KEY_REDIRECT_REMOVE_REQUEST_SUBDOMAIN = 'request_subdomain' as keyof RedirectRemove;
|
|
14936
|
-
|
|
14937
|
-
/**
|
|
14938
|
-
* Array of all RedirectRemove property keys
|
|
14939
|
-
*
|
|
14940
|
-
* @remarks
|
|
14941
|
-
* This constant provides a readonly array containing all valid property keys for RedirectRemove objects.
|
|
14942
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
14943
|
-
*
|
|
14944
|
-
* @example
|
|
14945
|
-
* ```typescript
|
|
14946
|
-
* // Iterating through all keys
|
|
14947
|
-
* for (const key of KEYS_REDIRECT_REMOVE) {
|
|
14948
|
-
* console.log(`Property: ${key}, Value: ${redirectremove[key]}`);
|
|
14949
|
-
* }
|
|
14950
|
-
*
|
|
14951
|
-
* // Validation
|
|
14952
|
-
* const isValidKey = KEYS_REDIRECT_REMOVE.includes(someKey);
|
|
14953
|
-
* ```
|
|
14954
|
-
*
|
|
14955
|
-
* @see {@link RedirectRemove} - The TypeScript type definition
|
|
14956
|
-
*/
|
|
14957
|
-
export const KEYS_REDIRECT_REMOVE = [
|
|
14958
|
-
KEY_REDIRECT_REMOVE_REQUEST_DOMAIN,
|
|
14959
|
-
KEY_REDIRECT_REMOVE_REQUEST_PATH,
|
|
14960
|
-
KEY_REDIRECT_REMOVE_REQUEST_PROTOCOL,
|
|
14961
|
-
KEY_REDIRECT_REMOVE_REQUEST_SUBDOMAIN,
|
|
14962
|
-
] as const satisfies (keyof RedirectRemove)[];
|
|
14963
|
-
|
|
14964
|
-
/**
|
|
14965
|
-
* Redirects
|
|
14966
|
-
*
|
|
14967
|
-
*
|
|
14968
|
-
* @type {array}
|
|
14969
|
-
*
|
|
14970
|
-
*
|
|
14971
|
-
* @remarks
|
|
14972
|
-
* This key constant provides type-safe access to the `redirects` property of RedirectSet objects.
|
|
14973
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
14974
|
-
*
|
|
14975
|
-
* @example
|
|
14976
|
-
* ```typescript
|
|
14977
|
-
* // Direct property access
|
|
14978
|
-
* const value = redirectset[KEY_REDIRECT_SET_REDIRECTS];
|
|
14979
|
-
*
|
|
14980
|
-
* // Dynamic property access
|
|
14981
|
-
* const propertyName = KEY_REDIRECT_SET_REDIRECTS;
|
|
14982
|
-
* const value = redirectset[propertyName];
|
|
14983
|
-
* ```
|
|
14984
|
-
*
|
|
14985
|
-
* @see {@link RedirectSet} - The TypeScript type definition
|
|
14986
|
-
* @see {@link KEYS_REDIRECT_SET} - Array of all keys for this type
|
|
14987
|
-
*/
|
|
14988
|
-
export const KEY_REDIRECT_SET_REDIRECTS = 'redirects' as keyof RedirectSet;
|
|
14989
|
-
|
|
14990
|
-
/**
|
|
14991
|
-
* Array of all RedirectSet property keys
|
|
14992
|
-
*
|
|
14993
|
-
* @remarks
|
|
14994
|
-
* This constant provides a readonly array containing all valid property keys for RedirectSet objects.
|
|
14995
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
14996
|
-
*
|
|
14997
|
-
* @example
|
|
14998
|
-
* ```typescript
|
|
14999
|
-
* // Iterating through all keys
|
|
15000
|
-
* for (const key of KEYS_REDIRECT_SET) {
|
|
15001
|
-
* console.log(`Property: ${key}, Value: ${redirectset[key]}`);
|
|
15002
|
-
* }
|
|
15003
|
-
*
|
|
15004
|
-
* // Validation
|
|
15005
|
-
* const isValidKey = KEYS_REDIRECT_SET.includes(someKey);
|
|
15006
|
-
* ```
|
|
15007
|
-
*
|
|
15008
|
-
* @see {@link RedirectSet} - The TypeScript type definition
|
|
15009
|
-
*/
|
|
15010
|
-
export const KEYS_REDIRECT_SET = [
|
|
15011
|
-
KEY_REDIRECT_SET_REDIRECTS,
|
|
15012
|
-
] as const satisfies (keyof RedirectSet)[];
|
|
15013
|
-
|
|
15014
|
-
/**
|
|
15015
|
-
* Redirect Code
|
|
15016
|
-
*
|
|
15017
|
-
*
|
|
15018
|
-
* @type {integer}
|
|
15019
|
-
*
|
|
15020
|
-
*
|
|
15021
|
-
* @remarks
|
|
15022
|
-
* This key constant provides type-safe access to the `redirect_code` property of RedirectUpdate objects.
|
|
15023
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15024
|
-
*
|
|
15025
|
-
* @example
|
|
15026
|
-
* ```typescript
|
|
15027
|
-
* // Direct property access
|
|
15028
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_REDIRECT_CODE];
|
|
15029
|
-
*
|
|
15030
|
-
* // Dynamic property access
|
|
15031
|
-
* const propertyName = KEY_REDIRECT_UPDATE_REDIRECT_CODE;
|
|
15032
|
-
* const value = redirectupdate[propertyName];
|
|
15033
|
-
* ```
|
|
15034
|
-
*
|
|
15035
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15036
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15037
|
-
*/
|
|
15038
|
-
export const KEY_REDIRECT_UPDATE_REDIRECT_CODE = 'redirect_code' as keyof RedirectUpdate;
|
|
15039
|
-
/**
|
|
15040
|
-
* Request Path
|
|
15041
|
-
*
|
|
15042
|
-
*
|
|
15043
|
-
* @type {string}
|
|
15044
|
-
*
|
|
15045
|
-
*
|
|
15046
|
-
* @remarks
|
|
15047
|
-
* This key constant provides type-safe access to the `request_path` property of RedirectUpdate objects.
|
|
15048
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15049
|
-
*
|
|
15050
|
-
* @example
|
|
15051
|
-
* ```typescript
|
|
15052
|
-
* // Direct property access
|
|
15053
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_REQUEST_PATH];
|
|
15054
|
-
*
|
|
15055
|
-
* // Dynamic property access
|
|
15056
|
-
* const propertyName = KEY_REDIRECT_UPDATE_REQUEST_PATH;
|
|
15057
|
-
* const value = redirectupdate[propertyName];
|
|
15058
|
-
* ```
|
|
15059
|
-
*
|
|
15060
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15061
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15062
|
-
*/
|
|
15063
|
-
export const KEY_REDIRECT_UPDATE_REQUEST_PATH = 'request_path' as keyof RedirectUpdate;
|
|
15064
|
-
/**
|
|
15065
|
-
* Request Protocol
|
|
15066
|
-
*
|
|
15067
|
-
*
|
|
15068
|
-
* @type {string}
|
|
15069
|
-
*
|
|
15070
|
-
*
|
|
15071
|
-
* @remarks
|
|
15072
|
-
* This key constant provides type-safe access to the `request_protocol` property of RedirectUpdate objects.
|
|
15073
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15074
|
-
*
|
|
15075
|
-
* @example
|
|
15076
|
-
* ```typescript
|
|
15077
|
-
* // Direct property access
|
|
15078
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_REQUEST_PROTOCOL];
|
|
15079
|
-
*
|
|
15080
|
-
* // Dynamic property access
|
|
15081
|
-
* const propertyName = KEY_REDIRECT_UPDATE_REQUEST_PROTOCOL;
|
|
15082
|
-
* const value = redirectupdate[propertyName];
|
|
15083
|
-
* ```
|
|
15084
|
-
*
|
|
15085
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15086
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15087
|
-
*/
|
|
15088
|
-
export const KEY_REDIRECT_UPDATE_REQUEST_PROTOCOL = 'request_protocol' as keyof RedirectUpdate;
|
|
15089
|
-
/**
|
|
15090
|
-
* Request Subdomain
|
|
15091
|
-
*
|
|
15092
|
-
*
|
|
15093
|
-
* @type {string}
|
|
15094
|
-
*
|
|
15095
|
-
*
|
|
15096
|
-
* @remarks
|
|
15097
|
-
* This key constant provides type-safe access to the `request_subdomain` property of RedirectUpdate objects.
|
|
15098
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15099
|
-
*
|
|
15100
|
-
* @example
|
|
15101
|
-
* ```typescript
|
|
15102
|
-
* // Direct property access
|
|
15103
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_REQUEST_SUBDOMAIN];
|
|
15104
|
-
*
|
|
15105
|
-
* // Dynamic property access
|
|
15106
|
-
* const propertyName = KEY_REDIRECT_UPDATE_REQUEST_SUBDOMAIN;
|
|
15107
|
-
* const value = redirectupdate[propertyName];
|
|
15108
|
-
* ```
|
|
15109
|
-
*
|
|
15110
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15111
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15112
|
-
*/
|
|
15113
|
-
export const KEY_REDIRECT_UPDATE_REQUEST_SUBDOMAIN = 'request_subdomain' as keyof RedirectUpdate;
|
|
15114
|
-
/**
|
|
15115
|
-
* Target Domain
|
|
15116
|
-
*
|
|
15117
|
-
*
|
|
15118
|
-
* @type {string}
|
|
15119
|
-
*
|
|
15120
|
-
*
|
|
15121
|
-
* @remarks
|
|
15122
|
-
* This key constant provides type-safe access to the `target_domain` property of RedirectUpdate objects.
|
|
15123
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15124
|
-
*
|
|
15125
|
-
* @example
|
|
15126
|
-
* ```typescript
|
|
15127
|
-
* // Direct property access
|
|
15128
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_TARGET_DOMAIN];
|
|
15129
|
-
*
|
|
15130
|
-
* // Dynamic property access
|
|
15131
|
-
* const propertyName = KEY_REDIRECT_UPDATE_TARGET_DOMAIN;
|
|
15132
|
-
* const value = redirectupdate[propertyName];
|
|
15133
|
-
* ```
|
|
15134
|
-
*
|
|
15135
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15136
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15137
|
-
*/
|
|
15138
|
-
export const KEY_REDIRECT_UPDATE_TARGET_DOMAIN = 'target_domain' as keyof RedirectUpdate;
|
|
15139
|
-
/**
|
|
15140
|
-
* Target Path
|
|
15141
|
-
*
|
|
15142
|
-
*
|
|
15143
|
-
* @type {string}
|
|
15144
|
-
*
|
|
15145
|
-
*
|
|
15146
|
-
* @remarks
|
|
15147
|
-
* This key constant provides type-safe access to the `target_path` property of RedirectUpdate objects.
|
|
15148
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15149
|
-
*
|
|
15150
|
-
* @example
|
|
15151
|
-
* ```typescript
|
|
15152
|
-
* // Direct property access
|
|
15153
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_TARGET_PATH];
|
|
15154
|
-
*
|
|
15155
|
-
* // Dynamic property access
|
|
15156
|
-
* const propertyName = KEY_REDIRECT_UPDATE_TARGET_PATH;
|
|
15157
|
-
* const value = redirectupdate[propertyName];
|
|
15158
|
-
* ```
|
|
15159
|
-
*
|
|
15160
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15161
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15162
|
-
*/
|
|
15163
|
-
export const KEY_REDIRECT_UPDATE_TARGET_PATH = 'target_path' as keyof RedirectUpdate;
|
|
15164
|
-
/**
|
|
15165
|
-
* Target Protocol
|
|
15166
|
-
*
|
|
15167
|
-
*
|
|
15168
|
-
* @type {string}
|
|
15169
|
-
*
|
|
15170
|
-
*
|
|
15171
|
-
* @remarks
|
|
15172
|
-
* This key constant provides type-safe access to the `target_protocol` property of RedirectUpdate objects.
|
|
15173
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15174
|
-
*
|
|
15175
|
-
* @example
|
|
15176
|
-
* ```typescript
|
|
15177
|
-
* // Direct property access
|
|
15178
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_TARGET_PROTOCOL];
|
|
15179
|
-
*
|
|
15180
|
-
* // Dynamic property access
|
|
15181
|
-
* const propertyName = KEY_REDIRECT_UPDATE_TARGET_PROTOCOL;
|
|
15182
|
-
* const value = redirectupdate[propertyName];
|
|
15183
|
-
* ```
|
|
15184
|
-
*
|
|
15185
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15186
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15187
|
-
*/
|
|
15188
|
-
export const KEY_REDIRECT_UPDATE_TARGET_PROTOCOL = 'target_protocol' as keyof RedirectUpdate;
|
|
15189
|
-
/**
|
|
15190
|
-
* Target Subdomain
|
|
15191
|
-
*
|
|
15192
|
-
*
|
|
15193
|
-
* @type {string}
|
|
15194
|
-
*
|
|
15195
|
-
*
|
|
15196
|
-
* @remarks
|
|
15197
|
-
* This key constant provides type-safe access to the `target_subdomain` property of RedirectUpdate objects.
|
|
15198
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
15199
|
-
*
|
|
15200
|
-
* @example
|
|
15201
|
-
* ```typescript
|
|
15202
|
-
* // Direct property access
|
|
15203
|
-
* const value = redirectupdate[KEY_REDIRECT_UPDATE_TARGET_SUBDOMAIN];
|
|
15204
|
-
*
|
|
15205
|
-
* // Dynamic property access
|
|
15206
|
-
* const propertyName = KEY_REDIRECT_UPDATE_TARGET_SUBDOMAIN;
|
|
15207
|
-
* const value = redirectupdate[propertyName];
|
|
15208
|
-
* ```
|
|
15209
|
-
*
|
|
15210
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15211
|
-
* @see {@link KEYS_REDIRECT_UPDATE} - Array of all keys for this type
|
|
15212
|
-
*/
|
|
15213
|
-
export const KEY_REDIRECT_UPDATE_TARGET_SUBDOMAIN = 'target_subdomain' as keyof RedirectUpdate;
|
|
15214
|
-
|
|
15215
|
-
/**
|
|
15216
|
-
* Array of all RedirectUpdate property keys
|
|
15217
|
-
*
|
|
15218
|
-
* @remarks
|
|
15219
|
-
* This constant provides a readonly array containing all valid property keys for RedirectUpdate objects.
|
|
15220
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
15221
|
-
*
|
|
15222
|
-
* @example
|
|
15223
|
-
* ```typescript
|
|
15224
|
-
* // Iterating through all keys
|
|
15225
|
-
* for (const key of KEYS_REDIRECT_UPDATE) {
|
|
15226
|
-
* console.log(`Property: ${key}, Value: ${redirectupdate[key]}`);
|
|
15227
|
-
* }
|
|
15228
|
-
*
|
|
15229
|
-
* // Validation
|
|
15230
|
-
* const isValidKey = KEYS_REDIRECT_UPDATE.includes(someKey);
|
|
15231
|
-
* ```
|
|
15232
|
-
*
|
|
15233
|
-
* @see {@link RedirectUpdate} - The TypeScript type definition
|
|
15234
|
-
*/
|
|
15235
|
-
export const KEYS_REDIRECT_UPDATE = [
|
|
15236
|
-
KEY_REDIRECT_UPDATE_REDIRECT_CODE,
|
|
15237
|
-
KEY_REDIRECT_UPDATE_REQUEST_PATH,
|
|
15238
|
-
KEY_REDIRECT_UPDATE_REQUEST_PROTOCOL,
|
|
15239
|
-
KEY_REDIRECT_UPDATE_REQUEST_SUBDOMAIN,
|
|
15240
|
-
KEY_REDIRECT_UPDATE_TARGET_DOMAIN,
|
|
15241
|
-
KEY_REDIRECT_UPDATE_TARGET_PATH,
|
|
15242
|
-
KEY_REDIRECT_UPDATE_TARGET_PROTOCOL,
|
|
15243
|
-
KEY_REDIRECT_UPDATE_TARGET_SUBDOMAIN,
|
|
15244
|
-
] as const satisfies (keyof RedirectUpdate)[];
|
|
15245
|
-
|
|
15246
14908
|
/**
|
|
15247
14909
|
* Prevents
|
|
15248
14910
|
*
|