@opusdns/api 0.247.0 → 0.249.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 +3 -1
- package/src/helpers/keys.ts +1 -1
- package/src/openapi.yaml +27 -3
- package/src/schema.d.ts +30 -8
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -3329,6 +3329,7 @@ export const PERMISSION = {
|
|
|
3329
3329
|
VIEW_EVENTS: "view_events",
|
|
3330
3330
|
VIEW_PARKING: "view_parking",
|
|
3331
3331
|
MANAGE_PARKING: "manage_parking",
|
|
3332
|
+
MANAGE_TAGS: "manage_tags",
|
|
3332
3333
|
} as const satisfies Record<string, Permission>;
|
|
3333
3334
|
|
|
3334
3335
|
/**
|
|
@@ -3395,7 +3396,8 @@ export const PERMISSION_VALUES = [
|
|
|
3395
3396
|
'view_email_forwards',
|
|
3396
3397
|
'view_events',
|
|
3397
3398
|
'view_parking',
|
|
3398
|
-
'manage_parking'
|
|
3399
|
+
'manage_parking',
|
|
3400
|
+
'manage_tags'
|
|
3399
3401
|
] as const satisfies [string, ...string[]] | Permission[];
|
|
3400
3402
|
|
|
3401
3403
|
/**
|
package/src/helpers/keys.ts
CHANGED
|
@@ -32451,7 +32451,7 @@ export const KEY_PUBLIC_AUTH_REQUEST_FORM_CLIENT_ID: keyof PublicAuthRequestForm
|
|
|
32451
32451
|
/**
|
|
32452
32452
|
* Client Secret
|
|
32453
32453
|
*
|
|
32454
|
-
*
|
|
32454
|
+
* Your client secret.
|
|
32455
32455
|
*
|
|
32456
32456
|
* @type {string}
|
|
32457
32457
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -6706,13 +6706,19 @@ components:
|
|
|
6706
6706
|
OrganizationTokenResponse:
|
|
6707
6707
|
properties:
|
|
6708
6708
|
access_token:
|
|
6709
|
+
examples:
|
|
6710
|
+
- eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS5vcHVzZG5zLmNvbSJ9.signature
|
|
6709
6711
|
title: Access Token
|
|
6710
6712
|
type: string
|
|
6711
6713
|
expires_in:
|
|
6714
|
+
examples:
|
|
6715
|
+
- 3600
|
|
6712
6716
|
title: Expires In
|
|
6713
6717
|
type: integer
|
|
6714
6718
|
token_type:
|
|
6715
6719
|
default: Bearer
|
|
6720
|
+
examples:
|
|
6721
|
+
- Bearer
|
|
6716
6722
|
title: Token Type
|
|
6717
6723
|
type: string
|
|
6718
6724
|
required:
|
|
@@ -7902,6 +7908,7 @@ components:
|
|
|
7902
7908
|
- view_events
|
|
7903
7909
|
- view_parking
|
|
7904
7910
|
- manage_parking
|
|
7911
|
+
- manage_tags
|
|
7905
7912
|
title: Permission
|
|
7906
7913
|
type: string
|
|
7907
7914
|
PermissionSet:
|
|
@@ -8099,12 +8106,16 @@ components:
|
|
|
8099
8106
|
type: string
|
|
8100
8107
|
x-typeid-prefix: organization
|
|
8101
8108
|
client_secret:
|
|
8102
|
-
description:
|
|
8109
|
+
description: Your client secret.
|
|
8110
|
+
examples:
|
|
8111
|
+
- TLKI8chiHU1s123VUgEAMLZDvX6cVW
|
|
8103
8112
|
title: Client Secret
|
|
8104
8113
|
type: string
|
|
8105
8114
|
grant_type:
|
|
8106
8115
|
description: The grant type for the authentication request (should always
|
|
8107
8116
|
be 'client_credentials').
|
|
8117
|
+
examples:
|
|
8118
|
+
- client_credentials
|
|
8108
8119
|
title: Grant Type
|
|
8109
8120
|
type: string
|
|
8110
8121
|
required:
|
|
@@ -9338,19 +9349,29 @@ components:
|
|
|
9338
9349
|
UserTokenResponse:
|
|
9339
9350
|
properties:
|
|
9340
9351
|
access_token:
|
|
9352
|
+
examples:
|
|
9353
|
+
- eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS5vcHVzZG5zLmNvbSJ9.signature
|
|
9341
9354
|
title: Access Token
|
|
9342
9355
|
type: string
|
|
9343
9356
|
expires_in:
|
|
9357
|
+
examples:
|
|
9358
|
+
- 3600
|
|
9344
9359
|
title: Expires In
|
|
9345
9360
|
type: integer
|
|
9346
9361
|
refresh_expires_in:
|
|
9362
|
+
examples:
|
|
9363
|
+
- 86400
|
|
9347
9364
|
title: Refresh Expires In
|
|
9348
9365
|
type: integer
|
|
9349
9366
|
refresh_token:
|
|
9367
|
+
examples:
|
|
9368
|
+
- eyJhbGciOiJSUzI1NiJ9.eyJ0eXBlIjoicmVmcmVzaCJ9.signature
|
|
9350
9369
|
title: Refresh Token
|
|
9351
9370
|
type: string
|
|
9352
9371
|
token_type:
|
|
9353
9372
|
default: Bearer
|
|
9373
|
+
examples:
|
|
9374
|
+
- Bearer
|
|
9354
9375
|
title: Token Type
|
|
9355
9376
|
type: string
|
|
9356
9377
|
required:
|
|
@@ -9762,7 +9783,7 @@ info:
|
|
|
9762
9783
|
\n\n"
|
|
9763
9784
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9764
9785
|
title: OpusDNS API
|
|
9765
|
-
version: 2026-04-
|
|
9786
|
+
version: 2026-04-14-085620
|
|
9766
9787
|
x-logo:
|
|
9767
9788
|
altText: OpusDNS API Reference
|
|
9768
9789
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -10409,7 +10430,6 @@ paths:
|
|
|
10409
10430
|
$ref: '#/components/schemas/Problem'
|
|
10410
10431
|
description: Unauthorized
|
|
10411
10432
|
security:
|
|
10412
|
-
- APIKeyHeader: []
|
|
10413
10433
|
- OAuth2PasswordBearer: []
|
|
10414
10434
|
summary: Issue Organization Token
|
|
10415
10435
|
tags:
|
|
@@ -21557,6 +21577,9 @@ tags:
|
|
|
21557
21577
|
\ | Only reports created before this timestamp |\n"
|
|
21558
21578
|
name: report
|
|
21559
21579
|
x-displayName: Reports
|
|
21580
|
+
- description: Endpoints for creating new Tags
|
|
21581
|
+
name: tag
|
|
21582
|
+
x-displayName: Tags
|
|
21560
21583
|
x-tagGroups:
|
|
21561
21584
|
- name: Account management
|
|
21562
21585
|
tags:
|
|
@@ -21571,6 +21594,7 @@ x-tagGroups:
|
|
|
21571
21594
|
- contact
|
|
21572
21595
|
- event
|
|
21573
21596
|
- availability
|
|
21597
|
+
- tag
|
|
21574
21598
|
- name: Services
|
|
21575
21599
|
tags:
|
|
21576
21600
|
- dns
|
package/src/schema.d.ts
CHANGED
|
@@ -6712,13 +6712,20 @@ export interface components {
|
|
|
6712
6712
|
OrganizationStatus: "active" | "inactive";
|
|
6713
6713
|
/** OrganizationTokenResponse */
|
|
6714
6714
|
OrganizationTokenResponse: {
|
|
6715
|
-
/**
|
|
6715
|
+
/**
|
|
6716
|
+
* Access Token
|
|
6717
|
+
* @example eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS5vcHVzZG5zLmNvbSJ9.signature
|
|
6718
|
+
*/
|
|
6716
6719
|
access_token: string;
|
|
6717
|
-
/**
|
|
6720
|
+
/**
|
|
6721
|
+
* Expires In
|
|
6722
|
+
* @example 3600
|
|
6723
|
+
*/
|
|
6718
6724
|
expires_in: number;
|
|
6719
6725
|
/**
|
|
6720
6726
|
* Token Type
|
|
6721
6727
|
* @default Bearer
|
|
6728
|
+
* @example Bearer
|
|
6722
6729
|
*/
|
|
6723
6730
|
token_type: string;
|
|
6724
6731
|
};
|
|
@@ -7458,7 +7465,7 @@ export interface components {
|
|
|
7458
7465
|
* Permission
|
|
7459
7466
|
* @enum {string}
|
|
7460
7467
|
*/
|
|
7461
|
-
Permission: "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "delete_domain_forwards" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_domain_forwards" | "manage_email_forwards" | "manage_events" | "manage_hosts" | "manage_jobs" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_sub_zones" | "manage_users" | "manage_user_relations" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "update_domain_forwards" | "verify" | "view" | "view_audit_logs" | "view_domain_forwards" | "view_email_forwards" | "view_events" | "view_parking" | "manage_parking";
|
|
7468
|
+
Permission: "bulk_create" | "bulk_delete" | "bulk_renew_expire" | "bulk_transfer_trade" | "bulk_update" | "corporate_plan" | "create" | "delete" | "delete_domain_forwards" | "enterprise_plan" | "has_accepted_tos" | "manage_api_keys" | "manage_billing" | "manage_cms_content" | "manage_contacts" | "manage_dns_zones" | "manage_domains" | "manage_domain_forwards" | "manage_email_forwards" | "manage_events" | "manage_hosts" | "manage_jobs" | "manage_opusdns_api_keys" | "manage_products" | "manage_reseller" | "manage_sub_zones" | "manage_users" | "manage_user_relations" | "plan_manager" | "premium_plan" | "renew_expire" | "starter_plan" | "transfer_trade" | "update" | "update_domain_forwards" | "verify" | "view" | "view_audit_logs" | "view_domain_forwards" | "view_email_forwards" | "view_events" | "view_parking" | "manage_parking" | "manage_tags";
|
|
7462
7469
|
/** PermissionSet */
|
|
7463
7470
|
PermissionSet: {
|
|
7464
7471
|
/** Permissions */
|
|
@@ -7586,12 +7593,14 @@ export interface components {
|
|
|
7586
7593
|
client_id: TypeId<"organization">;
|
|
7587
7594
|
/**
|
|
7588
7595
|
* Client Secret
|
|
7589
|
-
* @description
|
|
7596
|
+
* @description Your client secret.
|
|
7597
|
+
* @example TLKI8chiHU1s123VUgEAMLZDvX6cVW
|
|
7590
7598
|
*/
|
|
7591
7599
|
client_secret: string;
|
|
7592
7600
|
/**
|
|
7593
7601
|
* Grant Type
|
|
7594
7602
|
* @description The grant type for the authentication request (should always be 'client_credentials').
|
|
7603
|
+
* @example client_credentials
|
|
7595
7604
|
*/
|
|
7596
7605
|
grant_type: string;
|
|
7597
7606
|
};
|
|
@@ -8423,17 +8432,30 @@ export interface components {
|
|
|
8423
8432
|
UserStatus: "active" | "inactive";
|
|
8424
8433
|
/** UserTokenResponse */
|
|
8425
8434
|
UserTokenResponse: {
|
|
8426
|
-
/**
|
|
8435
|
+
/**
|
|
8436
|
+
* Access Token
|
|
8437
|
+
* @example eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS5vcHVzZG5zLmNvbSJ9.signature
|
|
8438
|
+
*/
|
|
8427
8439
|
access_token: string;
|
|
8428
|
-
/**
|
|
8440
|
+
/**
|
|
8441
|
+
* Expires In
|
|
8442
|
+
* @example 3600
|
|
8443
|
+
*/
|
|
8429
8444
|
expires_in: number;
|
|
8430
|
-
/**
|
|
8445
|
+
/**
|
|
8446
|
+
* Refresh Expires In
|
|
8447
|
+
* @example 86400
|
|
8448
|
+
*/
|
|
8431
8449
|
refresh_expires_in: number;
|
|
8432
|
-
/**
|
|
8450
|
+
/**
|
|
8451
|
+
* Refresh Token
|
|
8452
|
+
* @example eyJhbGciOiJSUzI1NiJ9.eyJ0eXBlIjoicmVmcmVzaCJ9.signature
|
|
8453
|
+
*/
|
|
8433
8454
|
refresh_token: string;
|
|
8434
8455
|
/**
|
|
8435
8456
|
* Token Type
|
|
8436
8457
|
* @default Bearer
|
|
8458
|
+
* @example Bearer
|
|
8437
8459
|
*/
|
|
8438
8460
|
token_type: string;
|
|
8439
8461
|
};
|