@opusdns/api 1.118.0 → 1.120.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/requests.d.ts +3 -0
- package/src/helpers/responses.d.ts +5 -0
- package/src/openapi.yaml +40 -9
- package/src/schema.d.ts +59 -7
package/package.json
CHANGED
|
@@ -1179,6 +1179,9 @@ export type GET_WhitelabelBrandingEmailTemplates_Request = {
|
|
|
1179
1179
|
export type POST_WhitelabelBrandingRecheck_Request = {
|
|
1180
1180
|
};
|
|
1181
1181
|
|
|
1182
|
+
export type POST_WhitelabelBrandingRestore_Request = {
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1182
1185
|
export type POST_WhitelabelBrandingTier_Request = {
|
|
1183
1186
|
requestBody: WhitelabelUpgradeToPlus;
|
|
1184
1187
|
};
|
|
@@ -1423,6 +1423,11 @@ export type POST_WhitelabelBrandingRecheck_Response = POST_WhitelabelBrandingRec
|
|
|
1423
1423
|
export type POST_WhitelabelBrandingRecheck_Response_202 = WhitelabelBranding;
|
|
1424
1424
|
export type POST_WhitelabelBrandingRecheck_Response_422 = HTTPValidationError;
|
|
1425
1425
|
|
|
1426
|
+
export type POST_WhitelabelBrandingRestore_Response = POST_WhitelabelBrandingRestore_Response_200 | POST_WhitelabelBrandingRestore_Response_422;
|
|
1427
|
+
|
|
1428
|
+
export type POST_WhitelabelBrandingRestore_Response_200 = WhitelabelBranding;
|
|
1429
|
+
export type POST_WhitelabelBrandingRestore_Response_422 = HTTPValidationError;
|
|
1430
|
+
|
|
1426
1431
|
export type POST_WhitelabelBrandingTier_Response = POST_WhitelabelBrandingTier_Response_202 | POST_WhitelabelBrandingTier_Response_422;
|
|
1427
1432
|
|
|
1428
1433
|
export type POST_WhitelabelBrandingTier_Response_202 = ProductCreateRes;
|
package/src/openapi.yaml
CHANGED
|
@@ -1113,7 +1113,8 @@ components:
|
|
|
1113
1113
|
title: City
|
|
1114
1114
|
type: string
|
|
1115
1115
|
country:
|
|
1116
|
-
description: The country of the contact
|
|
1116
|
+
description: The country of the contact (ISO 3166-1 alpha-2, plus XK for
|
|
1117
|
+
Kosovo)
|
|
1117
1118
|
pattern: ^\w{2}$
|
|
1118
1119
|
title: Country
|
|
1119
1120
|
type: string
|
|
@@ -1344,7 +1345,8 @@ components:
|
|
|
1344
1345
|
ContactCreateBulkTemplate:
|
|
1345
1346
|
properties:
|
|
1346
1347
|
country:
|
|
1347
|
-
description: The country of the contacts
|
|
1348
|
+
description: The country of the contacts (ISO 3166-1 alpha-2, plus XK for
|
|
1349
|
+
Kosovo)
|
|
1348
1350
|
pattern: ^\w{2}$
|
|
1349
1351
|
title: Country
|
|
1350
1352
|
type: string
|
|
@@ -1415,7 +1417,8 @@ components:
|
|
|
1415
1417
|
title: City
|
|
1416
1418
|
type: string
|
|
1417
1419
|
country:
|
|
1418
|
-
description: The country of the contact
|
|
1420
|
+
description: The country of the contact (ISO 3166-1 alpha-2, plus XK for
|
|
1421
|
+
Kosovo)
|
|
1419
1422
|
pattern: ^\w{2}$
|
|
1420
1423
|
title: Country
|
|
1421
1424
|
type: string
|
|
@@ -1604,7 +1607,8 @@ components:
|
|
|
1604
1607
|
type: string
|
|
1605
1608
|
x-typeid-prefix: contact
|
|
1606
1609
|
country:
|
|
1607
|
-
description: The country of the contact
|
|
1610
|
+
description: The country of the contact (ISO 3166-1 alpha-2, plus XK for
|
|
1611
|
+
Kosovo)
|
|
1608
1612
|
pattern: ^\w{2}$
|
|
1609
1613
|
title: Country
|
|
1610
1614
|
type: string
|
|
@@ -9753,7 +9757,7 @@ components:
|
|
|
9753
9757
|
pattern: ^\w{2}$
|
|
9754
9758
|
type: string
|
|
9755
9759
|
- type: 'null'
|
|
9756
|
-
description: ISO 3166-1 alpha-2 country code.
|
|
9760
|
+
description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
9757
9761
|
title: Country Code
|
|
9758
9762
|
created_on:
|
|
9759
9763
|
description: The date/time the entry was created on
|
|
@@ -10048,7 +10052,7 @@ components:
|
|
|
10048
10052
|
pattern: ^\w{2}$
|
|
10049
10053
|
type: string
|
|
10050
10054
|
- type: 'null'
|
|
10051
|
-
description: ISO 3166-1 alpha-2 country code.
|
|
10055
|
+
description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
10052
10056
|
title: Country Code
|
|
10053
10057
|
currency:
|
|
10054
10058
|
anyOf:
|
|
@@ -10284,7 +10288,7 @@ components:
|
|
|
10284
10288
|
title: City
|
|
10285
10289
|
country_code:
|
|
10286
10290
|
anyOf:
|
|
10287
|
-
- description: ISO 3166-1 alpha-2 country code.
|
|
10291
|
+
- description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
10288
10292
|
maxLength: 2
|
|
10289
10293
|
minLength: 2
|
|
10290
10294
|
pattern: ^\w{2}$
|
|
@@ -10408,7 +10412,7 @@ components:
|
|
|
10408
10412
|
pattern: ^\w{2}$
|
|
10409
10413
|
type: string
|
|
10410
10414
|
- type: 'null'
|
|
10411
|
-
description: ISO 3166-1 alpha-2 country code.
|
|
10415
|
+
description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
10412
10416
|
title: Country Code
|
|
10413
10417
|
created_on:
|
|
10414
10418
|
description: The date/time the entry was created on
|
|
@@ -15534,7 +15538,7 @@ info:
|
|
|
15534
15538
|
\n\n"
|
|
15535
15539
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
15536
15540
|
title: OpusDNS API
|
|
15537
|
-
version: 2026-08-18-
|
|
15541
|
+
version: 2026-08-18-144629
|
|
15538
15542
|
x-logo:
|
|
15539
15543
|
altText: OpusDNS API Reference
|
|
15540
15544
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -32774,6 +32778,33 @@ paths:
|
|
|
32774
32778
|
- whitelabel
|
|
32775
32779
|
x-required-permissions:
|
|
32776
32780
|
- whitelabel_branding:manage
|
|
32781
|
+
/v1/whitelabel-branding/restore:
|
|
32782
|
+
post:
|
|
32783
|
+
operationId: restore_whitelabel_branding_v1_whitelabel_branding_restore_post
|
|
32784
|
+
parameters:
|
|
32785
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
32786
|
+
responses:
|
|
32787
|
+
'200':
|
|
32788
|
+
content:
|
|
32789
|
+
application/json:
|
|
32790
|
+
schema:
|
|
32791
|
+
$ref: '#/components/schemas/WhitelabelBrandingResponse'
|
|
32792
|
+
description: Successful Response
|
|
32793
|
+
'422':
|
|
32794
|
+
content:
|
|
32795
|
+
application/problem+json:
|
|
32796
|
+
schema:
|
|
32797
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
32798
|
+
description: Validation Error
|
|
32799
|
+
security:
|
|
32800
|
+
- OAuth2PasswordBearer: []
|
|
32801
|
+
- APIKeyHeader: []
|
|
32802
|
+
summary: Restore a terminated whitelabel (re-enable and reprovision from the
|
|
32803
|
+
preserved state)
|
|
32804
|
+
tags:
|
|
32805
|
+
- whitelabel
|
|
32806
|
+
x-required-permissions:
|
|
32807
|
+
- whitelabel_branding:manage
|
|
32777
32808
|
/v1/whitelabel-branding/tier:
|
|
32778
32809
|
post:
|
|
32779
32810
|
operationId: upgrade_whitelabel_to_plus_v1_whitelabel_branding_tier_post
|
package/src/schema.d.ts
CHANGED
|
@@ -2998,6 +2998,23 @@ export interface paths {
|
|
|
2998
2998
|
patch?: never;
|
|
2999
2999
|
trace?: never;
|
|
3000
3000
|
};
|
|
3001
|
+
"/v1/whitelabel-branding/restore": {
|
|
3002
|
+
parameters: {
|
|
3003
|
+
query?: never;
|
|
3004
|
+
header?: never;
|
|
3005
|
+
path?: never;
|
|
3006
|
+
cookie?: never;
|
|
3007
|
+
};
|
|
3008
|
+
get?: never;
|
|
3009
|
+
put?: never;
|
|
3010
|
+
/** Restore a terminated whitelabel (re-enable and reprovision from the preserved state) */
|
|
3011
|
+
post: operations["restore_whitelabel_branding_v1_whitelabel_branding_restore_post"];
|
|
3012
|
+
delete?: never;
|
|
3013
|
+
options?: never;
|
|
3014
|
+
head?: never;
|
|
3015
|
+
patch?: never;
|
|
3016
|
+
trace?: never;
|
|
3017
|
+
};
|
|
3001
3018
|
"/v1/whitelabel-branding/tier": {
|
|
3002
3019
|
parameters: {
|
|
3003
3020
|
query?: never;
|
|
@@ -3744,7 +3761,7 @@ export interface components {
|
|
|
3744
3761
|
city: string;
|
|
3745
3762
|
/**
|
|
3746
3763
|
* Country
|
|
3747
|
-
* @description The country of the contact
|
|
3764
|
+
* @description The country of the contact (ISO 3166-1 alpha-2, plus XK for Kosovo)
|
|
3748
3765
|
*/
|
|
3749
3766
|
country: string;
|
|
3750
3767
|
/**
|
|
@@ -3911,7 +3928,7 @@ export interface components {
|
|
|
3911
3928
|
ContactCreateBulkTemplate: {
|
|
3912
3929
|
/**
|
|
3913
3930
|
* Country
|
|
3914
|
-
* @description The country of the contacts
|
|
3931
|
+
* @description The country of the contacts (ISO 3166-1 alpha-2, plus XK for Kosovo)
|
|
3915
3932
|
*/
|
|
3916
3933
|
country: string;
|
|
3917
3934
|
/**
|
|
@@ -3965,7 +3982,7 @@ export interface components {
|
|
|
3965
3982
|
city: string;
|
|
3966
3983
|
/**
|
|
3967
3984
|
* Country
|
|
3968
|
-
* @description The country of the contact
|
|
3985
|
+
* @description The country of the contact (ISO 3166-1 alpha-2, plus XK for Kosovo)
|
|
3969
3986
|
*/
|
|
3970
3987
|
country: string;
|
|
3971
3988
|
/**
|
|
@@ -4094,7 +4111,7 @@ export interface components {
|
|
|
4094
4111
|
contact_id?: TypeId<"contact">;
|
|
4095
4112
|
/**
|
|
4096
4113
|
* Country
|
|
4097
|
-
* @description The country of the contact
|
|
4114
|
+
* @description The country of the contact (ISO 3166-1 alpha-2, plus XK for Kosovo)
|
|
4098
4115
|
*/
|
|
4099
4116
|
country: string;
|
|
4100
4117
|
/**
|
|
@@ -9429,7 +9446,7 @@ export interface components {
|
|
|
9429
9446
|
city?: string | null;
|
|
9430
9447
|
/**
|
|
9431
9448
|
* Country Code
|
|
9432
|
-
* @description ISO 3166-1 alpha-2 country code.
|
|
9449
|
+
* @description ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
9433
9450
|
*/
|
|
9434
9451
|
country_code?: string | null;
|
|
9435
9452
|
/**
|
|
@@ -9649,7 +9666,7 @@ export interface components {
|
|
|
9649
9666
|
city?: string | null;
|
|
9650
9667
|
/**
|
|
9651
9668
|
* Country Code
|
|
9652
|
-
* @description ISO 3166-1 alpha-2 country code.
|
|
9669
|
+
* @description ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
9653
9670
|
*/
|
|
9654
9671
|
country_code?: string | null;
|
|
9655
9672
|
/** @description The currency used by the organization. */
|
|
@@ -9880,7 +9897,7 @@ export interface components {
|
|
|
9880
9897
|
city?: string | null;
|
|
9881
9898
|
/**
|
|
9882
9899
|
* Country Code
|
|
9883
|
-
* @description ISO 3166-1 alpha-2 country code.
|
|
9900
|
+
* @description ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
|
|
9884
9901
|
*/
|
|
9885
9902
|
country_code?: string | null;
|
|
9886
9903
|
/**
|
|
@@ -27487,6 +27504,41 @@ export interface operations {
|
|
|
27487
27504
|
};
|
|
27488
27505
|
};
|
|
27489
27506
|
};
|
|
27507
|
+
restore_whitelabel_branding_v1_whitelabel_branding_restore_post: {
|
|
27508
|
+
parameters: {
|
|
27509
|
+
query?: never;
|
|
27510
|
+
header?: {
|
|
27511
|
+
/**
|
|
27512
|
+
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|
|
27513
|
+
* @example rfc3339
|
|
27514
|
+
*/
|
|
27515
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
27516
|
+
};
|
|
27517
|
+
path?: never;
|
|
27518
|
+
cookie?: never;
|
|
27519
|
+
};
|
|
27520
|
+
requestBody?: never;
|
|
27521
|
+
responses: {
|
|
27522
|
+
/** @description Successful Response */
|
|
27523
|
+
200: {
|
|
27524
|
+
headers: {
|
|
27525
|
+
[name: string]: unknown;
|
|
27526
|
+
};
|
|
27527
|
+
content: {
|
|
27528
|
+
"application/json": components["schemas"]["WhitelabelBrandingResponse"];
|
|
27529
|
+
};
|
|
27530
|
+
};
|
|
27531
|
+
/** @description Validation Error */
|
|
27532
|
+
422: {
|
|
27533
|
+
headers: {
|
|
27534
|
+
[name: string]: unknown;
|
|
27535
|
+
};
|
|
27536
|
+
content: {
|
|
27537
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
27538
|
+
};
|
|
27539
|
+
};
|
|
27540
|
+
};
|
|
27541
|
+
};
|
|
27490
27542
|
upgrade_whitelabel_to_plus_v1_whitelabel_branding_tier_post: {
|
|
27491
27543
|
parameters: {
|
|
27492
27544
|
query?: never;
|