@opusdns/api 0.72.0 → 0.73.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 +0 -52
- package/src/openapi.yaml +2 -8
- package/src/schema.d.ts +1 -7
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -34,7 +34,6 @@ import { BillingMetadata } from './schemas';
|
|
|
34
34
|
import { BillingPlan } from './schemas';
|
|
35
35
|
import { BillingTransaction } from './schemas';
|
|
36
36
|
import { Body_issue_organization_token_v1_auth_token_post } from './schemas';
|
|
37
|
-
import { CheckoutSessionRequest } from './schemas';
|
|
38
37
|
import { CheckoutSession } from './schemas';
|
|
39
38
|
import { ContactAttributeDefinition } from './schemas';
|
|
40
39
|
import { ContactConfigBase } from './schemas';
|
|
@@ -989,57 +988,6 @@ export const KEYS_BODY_ISSUE_ORGANIZATION_TOKEN_V1_AUTH_TOKEN_POST = [
|
|
|
989
988
|
KEY_BODY_ISSUE_ORGANIZATION_TOKEN_V1_AUTH_TOKEN_POST_USERNAME,
|
|
990
989
|
] as const satisfies (keyof Body_issue_organization_token_v1_auth_token_post)[];
|
|
991
990
|
|
|
992
|
-
/**
|
|
993
|
-
* Return Url
|
|
994
|
-
*
|
|
995
|
-
* Return URL that will be used
|
|
996
|
-
*
|
|
997
|
-
* @type {string}
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1000
|
-
* @remarks
|
|
1001
|
-
* This key constant provides type-safe access to the `return_url` property of CheckoutSessionRequest objects.
|
|
1002
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1003
|
-
*
|
|
1004
|
-
* @example
|
|
1005
|
-
* ```typescript
|
|
1006
|
-
* // Direct property access
|
|
1007
|
-
* const value = checkoutsessionrequest[KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL];
|
|
1008
|
-
*
|
|
1009
|
-
* // Dynamic property access
|
|
1010
|
-
* const propertyName = KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL;
|
|
1011
|
-
* const value = checkoutsessionrequest[propertyName];
|
|
1012
|
-
* ```
|
|
1013
|
-
*
|
|
1014
|
-
* @see {@link CheckoutSessionRequest} - The TypeScript type definition
|
|
1015
|
-
* @see {@link KEYS_CHECKOUT_SESSION_REQUEST} - Array of all keys for this type
|
|
1016
|
-
*/
|
|
1017
|
-
export const KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL = 'return_url' as keyof CheckoutSessionRequest;
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* Array of all CheckoutSessionRequest property keys
|
|
1021
|
-
*
|
|
1022
|
-
* @remarks
|
|
1023
|
-
* This constant provides a readonly array containing all valid property keys for CheckoutSessionRequest objects.
|
|
1024
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1025
|
-
*
|
|
1026
|
-
* @example
|
|
1027
|
-
* ```typescript
|
|
1028
|
-
* // Iterating through all keys
|
|
1029
|
-
* for (const key of KEYS_CHECKOUT_SESSION_REQUEST) {
|
|
1030
|
-
* console.log(`Property: ${key}, Value: ${checkoutsessionrequest[key]}`);
|
|
1031
|
-
* }
|
|
1032
|
-
*
|
|
1033
|
-
* // Validation
|
|
1034
|
-
* const isValidKey = KEYS_CHECKOUT_SESSION_REQUEST.includes(someKey);
|
|
1035
|
-
* ```
|
|
1036
|
-
*
|
|
1037
|
-
* @see {@link CheckoutSessionRequest} - The TypeScript type definition
|
|
1038
|
-
*/
|
|
1039
|
-
export const KEYS_CHECKOUT_SESSION_REQUEST = [
|
|
1040
|
-
KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL,
|
|
1041
|
-
] as const satisfies (keyof CheckoutSessionRequest)[];
|
|
1042
|
-
|
|
1043
991
|
/**
|
|
1044
992
|
* Session Client Secret
|
|
1045
993
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -233,13 +233,7 @@ components:
|
|
|
233
233
|
title: Body_issue_organization_token_v1_auth_token_post
|
|
234
234
|
type: object
|
|
235
235
|
CheckoutSessionRequest:
|
|
236
|
-
properties:
|
|
237
|
-
return_url:
|
|
238
|
-
description: Return URL that will be used
|
|
239
|
-
title: Return Url
|
|
240
|
-
type: string
|
|
241
|
-
required:
|
|
242
|
-
- return_url
|
|
236
|
+
properties: {}
|
|
243
237
|
title: CheckoutSessionRequest
|
|
244
238
|
type: object
|
|
245
239
|
CheckoutSessionResponse:
|
|
@@ -5216,7 +5210,7 @@ info:
|
|
|
5216
5210
|
'
|
|
5217
5211
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5218
5212
|
title: OpusDNS API
|
|
5219
|
-
version: 2025-09-29-
|
|
5213
|
+
version: 2025-09-29-110334
|
|
5220
5214
|
x-logo:
|
|
5221
5215
|
altText: OpusDNS API Reference
|
|
5222
5216
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -1476,13 +1476,7 @@ export interface components {
|
|
|
1476
1476
|
username?: string | null;
|
|
1477
1477
|
};
|
|
1478
1478
|
/** CheckoutSessionRequest */
|
|
1479
|
-
CheckoutSessionRequest:
|
|
1480
|
-
/**
|
|
1481
|
-
* Return Url
|
|
1482
|
-
* @description Return URL that will be used
|
|
1483
|
-
*/
|
|
1484
|
-
return_url: string;
|
|
1485
|
-
};
|
|
1479
|
+
CheckoutSessionRequest: Record<string, never>;
|
|
1486
1480
|
/** CheckoutSessionResponse */
|
|
1487
1481
|
CheckoutSessionResponse: {
|
|
1488
1482
|
/**
|