@opusdns/api 1.68.0 → 1.69.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 +17 -0
- package/src/helpers/keys.ts +45 -0
- package/src/helpers/requests.d.ts +12 -0
- package/src/helpers/responses.d.ts +17 -0
- package/src/helpers/schemas.d.ts +4 -0
- package/src/openapi.yaml +214 -1
- package/src/schema.d.ts +227 -0
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -111,6 +111,7 @@ import type {
|
|
|
111
111
|
VerificationClaimType,
|
|
112
112
|
VerificationDeadlineType,
|
|
113
113
|
VerificationType,
|
|
114
|
+
WhitelabelOnboardingStatus,
|
|
114
115
|
ZoneIncludeField,
|
|
115
116
|
ZoneSortField,
|
|
116
117
|
} from './schemas';
|
|
@@ -1956,6 +1957,22 @@ export const VERIFICATION_TYPE_VALUES = [
|
|
|
1956
1957
|
'email',
|
|
1957
1958
|
] as const satisfies ReadonlyArray<VerificationType>;
|
|
1958
1959
|
|
|
1960
|
+
export const WHITELABEL_ONBOARDING_STATUS = {
|
|
1961
|
+
PENDING_DOMAIN_VERIFICATION: "pending_domain_verification",
|
|
1962
|
+
VERIFYING: "verifying",
|
|
1963
|
+
PROVISIONING: "provisioning",
|
|
1964
|
+
ACTIVE: "active",
|
|
1965
|
+
FAILED: "failed",
|
|
1966
|
+
} as const satisfies Record<string, WhitelabelOnboardingStatus>;
|
|
1967
|
+
|
|
1968
|
+
export const WHITELABEL_ONBOARDING_STATUS_VALUES = [
|
|
1969
|
+
'pending_domain_verification',
|
|
1970
|
+
'verifying',
|
|
1971
|
+
'provisioning',
|
|
1972
|
+
'active',
|
|
1973
|
+
'failed',
|
|
1974
|
+
] as const satisfies ReadonlyArray<WhitelabelOnboardingStatus>;
|
|
1975
|
+
|
|
1959
1976
|
export const ZONE_INCLUDE_FIELD = {
|
|
1960
1977
|
TAGS: "tags",
|
|
1961
1978
|
} as const satisfies Record<string, ZoneIncludeField>;
|
package/src/helpers/keys.ts
CHANGED
|
@@ -335,6 +335,7 @@ import type {
|
|
|
335
335
|
PriceInfo,
|
|
336
336
|
PricingPeriod,
|
|
337
337
|
Problem,
|
|
338
|
+
ProductCreateRes,
|
|
338
339
|
PublicAuthRequestForm,
|
|
339
340
|
PublicPermissionSet,
|
|
340
341
|
PublicReportListRes,
|
|
@@ -404,6 +405,8 @@ import type {
|
|
|
404
405
|
VerificationRegistrantDetails,
|
|
405
406
|
Verification,
|
|
406
407
|
VisitsByKeyBucket,
|
|
408
|
+
WhitelabelBrandingCreate,
|
|
409
|
+
WhitelabelBranding,
|
|
407
410
|
WhoisBase,
|
|
408
411
|
ZoneVanitySetUpdate,
|
|
409
412
|
ZonesContext,
|
|
@@ -4517,6 +4520,16 @@ export const KEYS_PROBLEM = [
|
|
|
4517
4520
|
KEY_PROBLEM_TYPE,
|
|
4518
4521
|
] as const satisfies (keyof Problem)[];
|
|
4519
4522
|
|
|
4523
|
+
export const KEY_PRODUCT_CREATE_RES_PRODUCT_NAME = 'product_name' satisfies keyof ProductCreateRes;
|
|
4524
|
+
export const KEY_PRODUCT_CREATE_RES_SUBSCRIBABLE_ID = 'subscribable_id' satisfies keyof ProductCreateRes;
|
|
4525
|
+
export const KEY_PRODUCT_CREATE_RES_SUBSCRIPTION_ID = 'subscription_id' satisfies keyof ProductCreateRes;
|
|
4526
|
+
|
|
4527
|
+
export const KEYS_PRODUCT_CREATE_RES = [
|
|
4528
|
+
KEY_PRODUCT_CREATE_RES_PRODUCT_NAME,
|
|
4529
|
+
KEY_PRODUCT_CREATE_RES_SUBSCRIBABLE_ID,
|
|
4530
|
+
KEY_PRODUCT_CREATE_RES_SUBSCRIPTION_ID,
|
|
4531
|
+
] as const satisfies (keyof ProductCreateRes)[];
|
|
4532
|
+
|
|
4520
4533
|
export const KEY_PUBLIC_AUTH_REQUEST_FORM_CLIENT_ID = 'client_id' satisfies keyof PublicAuthRequestForm;
|
|
4521
4534
|
export const KEY_PUBLIC_AUTH_REQUEST_FORM_CLIENT_SECRET = 'client_secret' satisfies keyof PublicAuthRequestForm;
|
|
4522
4535
|
export const KEY_PUBLIC_AUTH_REQUEST_FORM_GRANT_TYPE = 'grant_type' satisfies keyof PublicAuthRequestForm;
|
|
@@ -5459,6 +5472,38 @@ export const KEYS_VISITS_BY_KEY_BUCKET = [
|
|
|
5459
5472
|
KEY_VISITS_BY_KEY_BUCKET_UNIQUE,
|
|
5460
5473
|
] as const satisfies (keyof VisitsByKeyBucket)[];
|
|
5461
5474
|
|
|
5475
|
+
export const KEY_WHITELABEL_BRANDING_CREATE_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBrandingCreate;
|
|
5476
|
+
export const KEY_WHITELABEL_BRANDING_CREATE_HOSTNAME = 'hostname' satisfies keyof WhitelabelBrandingCreate;
|
|
5477
|
+
|
|
5478
|
+
export const KEYS_WHITELABEL_BRANDING_CREATE = [
|
|
5479
|
+
KEY_WHITELABEL_BRANDING_CREATE_AUTH_HOSTNAME,
|
|
5480
|
+
KEY_WHITELABEL_BRANDING_CREATE_HOSTNAME,
|
|
5481
|
+
] as const satisfies (keyof WhitelabelBrandingCreate)[];
|
|
5482
|
+
|
|
5483
|
+
export const KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBranding;
|
|
5484
|
+
export const KEY_WHITELABEL_BRANDING_CREATED_ON = 'created_on' satisfies keyof WhitelabelBranding;
|
|
5485
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_REASON = 'failure_reason' satisfies keyof WhitelabelBranding;
|
|
5486
|
+
export const KEY_WHITELABEL_BRANDING_HOSTNAME = 'hostname' satisfies keyof WhitelabelBranding;
|
|
5487
|
+
export const KEY_WHITELABEL_BRANDING_KEYCLOAK_CLIENT_ID = 'keycloak_client_id' satisfies keyof WhitelabelBranding;
|
|
5488
|
+
export const KEY_WHITELABEL_BRANDING_ONBOARDING_STATUS = 'onboarding_status' satisfies keyof WhitelabelBranding;
|
|
5489
|
+
export const KEY_WHITELABEL_BRANDING_ORGANIZATION_ID = 'organization_id' satisfies keyof WhitelabelBranding;
|
|
5490
|
+
export const KEY_WHITELABEL_BRANDING_UPDATED_ON = 'updated_on' satisfies keyof WhitelabelBranding;
|
|
5491
|
+
export const KEY_WHITELABEL_BRANDING_VERIFICATION_DOMAIN = 'verification_domain' satisfies keyof WhitelabelBranding;
|
|
5492
|
+
export const KEY_WHITELABEL_BRANDING_WHITELABEL_BRANDING_ID = 'whitelabel_branding_id' satisfies keyof WhitelabelBranding;
|
|
5493
|
+
|
|
5494
|
+
export const KEYS_WHITELABEL_BRANDING = [
|
|
5495
|
+
KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME,
|
|
5496
|
+
KEY_WHITELABEL_BRANDING_CREATED_ON,
|
|
5497
|
+
KEY_WHITELABEL_BRANDING_FAILURE_REASON,
|
|
5498
|
+
KEY_WHITELABEL_BRANDING_HOSTNAME,
|
|
5499
|
+
KEY_WHITELABEL_BRANDING_KEYCLOAK_CLIENT_ID,
|
|
5500
|
+
KEY_WHITELABEL_BRANDING_ONBOARDING_STATUS,
|
|
5501
|
+
KEY_WHITELABEL_BRANDING_ORGANIZATION_ID,
|
|
5502
|
+
KEY_WHITELABEL_BRANDING_UPDATED_ON,
|
|
5503
|
+
KEY_WHITELABEL_BRANDING_VERIFICATION_DOMAIN,
|
|
5504
|
+
KEY_WHITELABEL_BRANDING_WHITELABEL_BRANDING_ID,
|
|
5505
|
+
] as const satisfies (keyof WhitelabelBranding)[];
|
|
5506
|
+
|
|
5462
5507
|
export const KEY_WHOIS_BASE_WHOIS_SERVER = 'whois_server' satisfies keyof WhoisBase;
|
|
5463
5508
|
|
|
5464
5509
|
export const KEYS_WHOIS_BASE = [
|
|
@@ -53,6 +53,7 @@ import type {
|
|
|
53
53
|
UserUpdate,
|
|
54
54
|
VanityNameserverSetCreate,
|
|
55
55
|
VanityNsCheckPublicReq,
|
|
56
|
+
WhitelabelBrandingCreate,
|
|
56
57
|
ZoneVanitySetUpdate,
|
|
57
58
|
} from './schemas';
|
|
58
59
|
|
|
@@ -1105,3 +1106,14 @@ export type POST_VanityNameserverSetsCheck_Request_Body = POST_VanityNameserverS
|
|
|
1105
1106
|
|
|
1106
1107
|
export type DELETE_VanityNameserverSetsDefault_Request = {
|
|
1107
1108
|
};
|
|
1109
|
+
|
|
1110
|
+
export type GET_WhitelabelBranding_Request = {
|
|
1111
|
+
};
|
|
1112
|
+
|
|
1113
|
+
export type POST_WhitelabelBranding_Request = {
|
|
1114
|
+
requestBody: WhitelabelBrandingCreate;
|
|
1115
|
+
};
|
|
1116
|
+
export type POST_WhitelabelBranding_Request_Body = POST_WhitelabelBranding_Request['requestBody'];
|
|
1117
|
+
|
|
1118
|
+
export type POST_WhitelabelBrandingRecheck_Request = {
|
|
1119
|
+
};
|
|
@@ -86,6 +86,7 @@ import type {
|
|
|
86
86
|
ParkingSignupStatus,
|
|
87
87
|
ParkingTotalMetrics,
|
|
88
88
|
Problem,
|
|
89
|
+
ProductCreateRes,
|
|
89
90
|
PublicPermissionSet,
|
|
90
91
|
PublicReportListRes,
|
|
91
92
|
PublicReportRes,
|
|
@@ -103,6 +104,7 @@ import type {
|
|
|
103
104
|
UserPublicWithAttributes,
|
|
104
105
|
VanityNameserverSetSummaryDTO,
|
|
105
106
|
VanityNsCheckRes,
|
|
107
|
+
WhitelabelBranding,
|
|
106
108
|
} from './schemas';
|
|
107
109
|
|
|
108
110
|
export type DELETE_AiConciergeConversationsByConversationId_Response = DELETE_AiConciergeConversationsByConversationId_Response_401 | DELETE_AiConciergeConversationsByConversationId_Response_404 | DELETE_AiConciergeConversationsByConversationId_Response_422 | DELETE_AiConciergeConversationsByConversationId_Response_502;
|
|
@@ -837,6 +839,11 @@ export type GET_VanityNameserverSetsBySetIdZones_Response = GET_VanityNameserver
|
|
|
837
839
|
export type GET_VanityNameserverSetsBySetIdZones_Response_200 = ListZonesReferencingSetRes;
|
|
838
840
|
export type GET_VanityNameserverSetsBySetIdZones_Response_422 = HTTPValidationError;
|
|
839
841
|
|
|
842
|
+
export type GET_WhitelabelBranding_Response = GET_WhitelabelBranding_Response_200 | GET_WhitelabelBranding_Response_422;
|
|
843
|
+
|
|
844
|
+
export type GET_WhitelabelBranding_Response_200 = WhitelabelBranding;
|
|
845
|
+
export type GET_WhitelabelBranding_Response_422 = HTTPValidationError;
|
|
846
|
+
|
|
840
847
|
export type PATCH_AiConciergeConversationsByConversationId_Response = PATCH_AiConciergeConversationsByConversationId_Response_200 | PATCH_AiConciergeConversationsByConversationId_Response_401 | PATCH_AiConciergeConversationsByConversationId_Response_404 | PATCH_AiConciergeConversationsByConversationId_Response_422 | PATCH_AiConciergeConversationsByConversationId_Response_502;
|
|
841
848
|
|
|
842
849
|
export type PATCH_AiConciergeConversationsByConversationId_Response_200 = Conversation;
|
|
@@ -1326,6 +1333,16 @@ export type POST_VanityNameserverSetsCheck_Response = POST_VanityNameserverSetsC
|
|
|
1326
1333
|
export type POST_VanityNameserverSetsCheck_Response_200 = VanityNsCheckRes;
|
|
1327
1334
|
export type POST_VanityNameserverSetsCheck_Response_422 = HTTPValidationError;
|
|
1328
1335
|
|
|
1336
|
+
export type POST_WhitelabelBranding_Response = POST_WhitelabelBranding_Response_202 | POST_WhitelabelBranding_Response_422;
|
|
1337
|
+
|
|
1338
|
+
export type POST_WhitelabelBranding_Response_202 = ProductCreateRes;
|
|
1339
|
+
export type POST_WhitelabelBranding_Response_422 = HTTPValidationError;
|
|
1340
|
+
|
|
1341
|
+
export type POST_WhitelabelBrandingRecheck_Response = POST_WhitelabelBrandingRecheck_Response_202 | POST_WhitelabelBrandingRecheck_Response_422;
|
|
1342
|
+
|
|
1343
|
+
export type POST_WhitelabelBrandingRecheck_Response_202 = WhitelabelBranding;
|
|
1344
|
+
export type POST_WhitelabelBrandingRecheck_Response_422 = HTTPValidationError;
|
|
1345
|
+
|
|
1329
1346
|
export type PUT_ContactsByContactIdVerification_Response = PUT_ContactsByContactIdVerification_Response_400 | PUT_ContactsByContactIdVerification_Response_401 | PUT_ContactsByContactIdVerification_Response_403 | PUT_ContactsByContactIdVerification_Response_404 | PUT_ContactsByContactIdVerification_Response_422;
|
|
1330
1347
|
|
|
1331
1348
|
export type PUT_ContactsByContactIdVerification_Response_400 = Problem;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -435,6 +435,7 @@ export type PremiumSourceType = components['schemas']['PremiumSourceType'];
|
|
|
435
435
|
export type PriceInfo = components['schemas']['PriceInfo'];
|
|
436
436
|
export type PricingPeriod = components['schemas']['PricingPeriod'];
|
|
437
437
|
export type Problem = components['schemas']['Problem'];
|
|
438
|
+
export type ProductCreateRes = components['schemas']['ProductCreateRes'];
|
|
438
439
|
export type Protocol = components['schemas']['Protocol'];
|
|
439
440
|
export type PublicAuthRequestForm = components['schemas']['PublicAuthRequestForm'];
|
|
440
441
|
export type PublicPermission = components['schemas']['PublicPermission'];
|
|
@@ -539,6 +540,9 @@ export type VerificationRegistrantDetails = components['schemas']['VerificationR
|
|
|
539
540
|
export type Verification = components['schemas']['VerificationResponse'];
|
|
540
541
|
export type VerificationType = components['schemas']['VerificationType'];
|
|
541
542
|
export type VisitsByKeyBucket = components['schemas']['VisitsByKeyBucket'];
|
|
543
|
+
export type WhitelabelBrandingCreate = components['schemas']['WhitelabelBrandingCreate'];
|
|
544
|
+
export type WhitelabelBranding = components['schemas']['WhitelabelBrandingResponse'];
|
|
545
|
+
export type WhitelabelOnboardingStatus = components['schemas']['WhitelabelOnboardingStatus'];
|
|
542
546
|
export type WhoisBase = components['schemas']['WhoisBase'];
|
|
543
547
|
export type ZoneIncludeField = components['schemas']['ZoneIncludeField'];
|
|
544
548
|
export type ZoneSortField = components['schemas']['ZoneSortField'];
|
package/src/openapi.yaml
CHANGED
|
@@ -11010,6 +11010,31 @@ components:
|
|
|
11010
11010
|
- status
|
|
11011
11011
|
title: Problem
|
|
11012
11012
|
type: object
|
|
11013
|
+
ProductCreateRes:
|
|
11014
|
+
properties:
|
|
11015
|
+
product_name:
|
|
11016
|
+
description: The product name
|
|
11017
|
+
title: Product Name
|
|
11018
|
+
type: string
|
|
11019
|
+
subscribable_id:
|
|
11020
|
+
description: The created resource ID
|
|
11021
|
+
title: Subscribable Id
|
|
11022
|
+
type: string
|
|
11023
|
+
subscription_id:
|
|
11024
|
+
description: The created subscription ID
|
|
11025
|
+
examples:
|
|
11026
|
+
- subscription_01h45ytscbebyvny4gc8cr8ma2
|
|
11027
|
+
format: typeid
|
|
11028
|
+
pattern: ^subscription_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
11029
|
+
title: Subscription Id
|
|
11030
|
+
type: string
|
|
11031
|
+
x-typeid-prefix: subscription
|
|
11032
|
+
required:
|
|
11033
|
+
- subscription_id
|
|
11034
|
+
- subscribable_id
|
|
11035
|
+
- product_name
|
|
11036
|
+
title: ProductCreateRes
|
|
11037
|
+
type: object
|
|
11013
11038
|
Protocol:
|
|
11014
11039
|
enum:
|
|
11015
11040
|
- http
|
|
@@ -13681,6 +13706,111 @@ components:
|
|
|
13681
13706
|
- unique
|
|
13682
13707
|
title: VisitsByKeyBucket
|
|
13683
13708
|
type: object
|
|
13709
|
+
WhitelabelBrandingCreate:
|
|
13710
|
+
description: 'Public create request body. The owning org comes from auth context,
|
|
13711
|
+
and
|
|
13712
|
+
|
|
13713
|
+
`verification_domain` is derived server-side (the registrable domain of `hostname`),
|
|
13714
|
+
|
|
13715
|
+
so neither is accepted here. Both hostnames must resolve to the same registrable
|
|
13716
|
+
|
|
13717
|
+
domain (checked server-side in WhitelabelBrandingService.create).'
|
|
13718
|
+
properties:
|
|
13719
|
+
auth_hostname:
|
|
13720
|
+
description: Auth/login hostname served by Keycloak (e.g. auth.customer.com)
|
|
13721
|
+
maxLength: 255
|
|
13722
|
+
minLength: 1
|
|
13723
|
+
title: Auth Hostname
|
|
13724
|
+
type: string
|
|
13725
|
+
hostname:
|
|
13726
|
+
description: Dashboard hostname the customer wants to brand (e.g. dash.customer.com)
|
|
13727
|
+
maxLength: 255
|
|
13728
|
+
minLength: 1
|
|
13729
|
+
title: Hostname
|
|
13730
|
+
type: string
|
|
13731
|
+
required:
|
|
13732
|
+
- hostname
|
|
13733
|
+
- auth_hostname
|
|
13734
|
+
title: WhitelabelBrandingCreate
|
|
13735
|
+
type: object
|
|
13736
|
+
WhitelabelBrandingResponse:
|
|
13737
|
+
description: Public read shape for an organization's whitelabel branding config.
|
|
13738
|
+
properties:
|
|
13739
|
+
auth_hostname:
|
|
13740
|
+
maxLength: 255
|
|
13741
|
+
minLength: 1
|
|
13742
|
+
title: Auth Hostname
|
|
13743
|
+
type: string
|
|
13744
|
+
created_on:
|
|
13745
|
+
format: date-time
|
|
13746
|
+
title: Created On
|
|
13747
|
+
type: string
|
|
13748
|
+
failure_reason:
|
|
13749
|
+
anyOf:
|
|
13750
|
+
- type: string
|
|
13751
|
+
- type: 'null'
|
|
13752
|
+
title: Failure Reason
|
|
13753
|
+
hostname:
|
|
13754
|
+
maxLength: 255
|
|
13755
|
+
minLength: 1
|
|
13756
|
+
title: Hostname
|
|
13757
|
+
type: string
|
|
13758
|
+
keycloak_client_id:
|
|
13759
|
+
anyOf:
|
|
13760
|
+
- maxLength: 255
|
|
13761
|
+
minLength: 1
|
|
13762
|
+
type: string
|
|
13763
|
+
- type: 'null'
|
|
13764
|
+
title: Keycloak Client Id
|
|
13765
|
+
onboarding_status:
|
|
13766
|
+
$ref: '#/components/schemas/WhitelabelOnboardingStatus'
|
|
13767
|
+
organization_id:
|
|
13768
|
+
examples:
|
|
13769
|
+
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
13770
|
+
format: typeid
|
|
13771
|
+
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
13772
|
+
title: Organization Id
|
|
13773
|
+
type: string
|
|
13774
|
+
x-typeid-prefix: organization
|
|
13775
|
+
updated_on:
|
|
13776
|
+
format: date-time
|
|
13777
|
+
title: Updated On
|
|
13778
|
+
type: string
|
|
13779
|
+
verification_domain:
|
|
13780
|
+
maxLength: 255
|
|
13781
|
+
minLength: 1
|
|
13782
|
+
title: Verification Domain
|
|
13783
|
+
type: string
|
|
13784
|
+
whitelabel_branding_id:
|
|
13785
|
+
examples:
|
|
13786
|
+
- wlb_01h45ytscbebyvny4gc8cr8ma2
|
|
13787
|
+
format: typeid
|
|
13788
|
+
pattern: ^wlb_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
13789
|
+
title: Whitelabel Branding Id
|
|
13790
|
+
type: string
|
|
13791
|
+
x-typeid-prefix: wlb
|
|
13792
|
+
required:
|
|
13793
|
+
- whitelabel_branding_id
|
|
13794
|
+
- organization_id
|
|
13795
|
+
- onboarding_status
|
|
13796
|
+
- hostname
|
|
13797
|
+
- auth_hostname
|
|
13798
|
+
- verification_domain
|
|
13799
|
+
- keycloak_client_id
|
|
13800
|
+
- failure_reason
|
|
13801
|
+
- created_on
|
|
13802
|
+
- updated_on
|
|
13803
|
+
title: WhitelabelBrandingResponse
|
|
13804
|
+
type: object
|
|
13805
|
+
WhitelabelOnboardingStatus:
|
|
13806
|
+
enum:
|
|
13807
|
+
- pending_domain_verification
|
|
13808
|
+
- verifying
|
|
13809
|
+
- provisioning
|
|
13810
|
+
- active
|
|
13811
|
+
- failed
|
|
13812
|
+
title: WhitelabelOnboardingStatus
|
|
13813
|
+
type: string
|
|
13684
13814
|
WhoisBase:
|
|
13685
13815
|
properties:
|
|
13686
13816
|
whois_server:
|
|
@@ -14007,7 +14137,7 @@ info:
|
|
|
14007
14137
|
\n\n"
|
|
14008
14138
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
14009
14139
|
title: OpusDNS API
|
|
14010
|
-
version: 2026-07-
|
|
14140
|
+
version: 2026-07-20-111052
|
|
14011
14141
|
x-logo:
|
|
14012
14142
|
altText: OpusDNS API Reference
|
|
14013
14143
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -30326,6 +30456,89 @@ paths:
|
|
|
30326
30456
|
- nameserver
|
|
30327
30457
|
x-required-permissions:
|
|
30328
30458
|
- vanity_ns:read
|
|
30459
|
+
/v1/whitelabel-branding:
|
|
30460
|
+
get:
|
|
30461
|
+
operationId: get_whitelabel_branding_v1_whitelabel_branding_get
|
|
30462
|
+
parameters:
|
|
30463
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
30464
|
+
responses:
|
|
30465
|
+
'200':
|
|
30466
|
+
content:
|
|
30467
|
+
application/json:
|
|
30468
|
+
schema:
|
|
30469
|
+
$ref: '#/components/schemas/WhitelabelBrandingResponse'
|
|
30470
|
+
description: Successful Response
|
|
30471
|
+
'422':
|
|
30472
|
+
content:
|
|
30473
|
+
application/problem+json:
|
|
30474
|
+
schema:
|
|
30475
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
30476
|
+
description: Validation Error
|
|
30477
|
+
security:
|
|
30478
|
+
- OAuth2PasswordBearer: []
|
|
30479
|
+
- APIKeyHeader: []
|
|
30480
|
+
summary: Get the organization's whitelabel branding config
|
|
30481
|
+
tags:
|
|
30482
|
+
- whitelabel
|
|
30483
|
+
x-required-permissions:
|
|
30484
|
+
- whitelabel_branding:read
|
|
30485
|
+
post:
|
|
30486
|
+
operationId: create_whitelabel_branding_v1_whitelabel_branding_post
|
|
30487
|
+
parameters:
|
|
30488
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
30489
|
+
requestBody:
|
|
30490
|
+
content:
|
|
30491
|
+
application/json:
|
|
30492
|
+
schema:
|
|
30493
|
+
$ref: '#/components/schemas/WhitelabelBrandingCreate'
|
|
30494
|
+
required: true
|
|
30495
|
+
responses:
|
|
30496
|
+
'202':
|
|
30497
|
+
content:
|
|
30498
|
+
application/json:
|
|
30499
|
+
schema:
|
|
30500
|
+
$ref: '#/components/schemas/ProductCreateRes'
|
|
30501
|
+
description: Successful Response
|
|
30502
|
+
'422':
|
|
30503
|
+
content:
|
|
30504
|
+
application/problem+json:
|
|
30505
|
+
schema:
|
|
30506
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
30507
|
+
description: Validation Error
|
|
30508
|
+
security:
|
|
30509
|
+
- OAuth2PasswordBearer: []
|
|
30510
|
+
- APIKeyHeader: []
|
|
30511
|
+
summary: Create the organization's whitelabel branding config
|
|
30512
|
+
tags:
|
|
30513
|
+
- whitelabel
|
|
30514
|
+
x-required-permissions:
|
|
30515
|
+
- whitelabel_branding:manage
|
|
30516
|
+
/v1/whitelabel-branding/recheck:
|
|
30517
|
+
post:
|
|
30518
|
+
operationId: recheck_whitelabel_branding_v1_whitelabel_branding_recheck_post
|
|
30519
|
+
parameters:
|
|
30520
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
30521
|
+
responses:
|
|
30522
|
+
'202':
|
|
30523
|
+
content:
|
|
30524
|
+
application/json:
|
|
30525
|
+
schema:
|
|
30526
|
+
$ref: '#/components/schemas/WhitelabelBrandingResponse'
|
|
30527
|
+
description: Successful Response
|
|
30528
|
+
'422':
|
|
30529
|
+
content:
|
|
30530
|
+
application/problem+json:
|
|
30531
|
+
schema:
|
|
30532
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
30533
|
+
description: Validation Error
|
|
30534
|
+
security:
|
|
30535
|
+
- OAuth2PasswordBearer: []
|
|
30536
|
+
- APIKeyHeader: []
|
|
30537
|
+
summary: Re-run onboarding for the organization's whitelabel branding config
|
|
30538
|
+
tags:
|
|
30539
|
+
- whitelabel
|
|
30540
|
+
x-required-permissions:
|
|
30541
|
+
- whitelabel_branding:manage
|
|
30329
30542
|
servers:
|
|
30330
30543
|
- description: Production environment
|
|
30331
30544
|
url: https://api.opusdns.com
|
package/src/schema.d.ts
CHANGED
|
@@ -2793,6 +2793,41 @@ export interface paths {
|
|
|
2793
2793
|
patch?: never;
|
|
2794
2794
|
trace?: never;
|
|
2795
2795
|
};
|
|
2796
|
+
"/v1/whitelabel-branding": {
|
|
2797
|
+
parameters: {
|
|
2798
|
+
query?: never;
|
|
2799
|
+
header?: never;
|
|
2800
|
+
path?: never;
|
|
2801
|
+
cookie?: never;
|
|
2802
|
+
};
|
|
2803
|
+
/** Get the organization's whitelabel branding config */
|
|
2804
|
+
get: operations["get_whitelabel_branding_v1_whitelabel_branding_get"];
|
|
2805
|
+
put?: never;
|
|
2806
|
+
/** Create the organization's whitelabel branding config */
|
|
2807
|
+
post: operations["create_whitelabel_branding_v1_whitelabel_branding_post"];
|
|
2808
|
+
delete?: never;
|
|
2809
|
+
options?: never;
|
|
2810
|
+
head?: never;
|
|
2811
|
+
patch?: never;
|
|
2812
|
+
trace?: never;
|
|
2813
|
+
};
|
|
2814
|
+
"/v1/whitelabel-branding/recheck": {
|
|
2815
|
+
parameters: {
|
|
2816
|
+
query?: never;
|
|
2817
|
+
header?: never;
|
|
2818
|
+
path?: never;
|
|
2819
|
+
cookie?: never;
|
|
2820
|
+
};
|
|
2821
|
+
get?: never;
|
|
2822
|
+
put?: never;
|
|
2823
|
+
/** Re-run onboarding for the organization's whitelabel branding config */
|
|
2824
|
+
post: operations["recheck_whitelabel_branding_v1_whitelabel_branding_recheck_post"];
|
|
2825
|
+
delete?: never;
|
|
2826
|
+
options?: never;
|
|
2827
|
+
head?: never;
|
|
2828
|
+
patch?: never;
|
|
2829
|
+
trace?: never;
|
|
2830
|
+
};
|
|
2796
2831
|
}
|
|
2797
2832
|
export type webhooks = Record<string, never>;
|
|
2798
2833
|
export interface components {
|
|
@@ -10070,6 +10105,26 @@ export interface components {
|
|
|
10070
10105
|
/** Problem type */
|
|
10071
10106
|
type: string;
|
|
10072
10107
|
};
|
|
10108
|
+
/** ProductCreateRes */
|
|
10109
|
+
ProductCreateRes: {
|
|
10110
|
+
/**
|
|
10111
|
+
* Product Name
|
|
10112
|
+
* @description The product name
|
|
10113
|
+
*/
|
|
10114
|
+
product_name: string;
|
|
10115
|
+
/**
|
|
10116
|
+
* Subscribable Id
|
|
10117
|
+
* @description The created resource ID
|
|
10118
|
+
*/
|
|
10119
|
+
subscribable_id: string;
|
|
10120
|
+
/**
|
|
10121
|
+
* Subscription Id
|
|
10122
|
+
* Format: typeid
|
|
10123
|
+
* @description The created subscription ID
|
|
10124
|
+
* @example subscription_01h45ytscbebyvny4gc8cr8ma2
|
|
10125
|
+
*/
|
|
10126
|
+
subscription_id: TypeId<"subscription">;
|
|
10127
|
+
};
|
|
10073
10128
|
/**
|
|
10074
10129
|
* Protocol
|
|
10075
10130
|
* @enum {string}
|
|
@@ -11897,6 +11952,69 @@ export interface components {
|
|
|
11897
11952
|
/** Unique */
|
|
11898
11953
|
unique: number;
|
|
11899
11954
|
};
|
|
11955
|
+
/**
|
|
11956
|
+
* WhitelabelBrandingCreate
|
|
11957
|
+
* @description Public create request body. The owning org comes from auth context, and
|
|
11958
|
+
* `verification_domain` is derived server-side (the registrable domain of `hostname`),
|
|
11959
|
+
* so neither is accepted here. Both hostnames must resolve to the same registrable
|
|
11960
|
+
* domain (checked server-side in WhitelabelBrandingService.create).
|
|
11961
|
+
*/
|
|
11962
|
+
WhitelabelBrandingCreate: {
|
|
11963
|
+
/**
|
|
11964
|
+
* Auth Hostname
|
|
11965
|
+
* @description Auth/login hostname served by Keycloak (e.g. auth.customer.com)
|
|
11966
|
+
*/
|
|
11967
|
+
auth_hostname: string;
|
|
11968
|
+
/**
|
|
11969
|
+
* Hostname
|
|
11970
|
+
* @description Dashboard hostname the customer wants to brand (e.g. dash.customer.com)
|
|
11971
|
+
*/
|
|
11972
|
+
hostname: string;
|
|
11973
|
+
};
|
|
11974
|
+
/**
|
|
11975
|
+
* WhitelabelBrandingResponse
|
|
11976
|
+
* @description Public read shape for an organization's whitelabel branding config.
|
|
11977
|
+
*/
|
|
11978
|
+
WhitelabelBrandingResponse: {
|
|
11979
|
+
/** Auth Hostname */
|
|
11980
|
+
auth_hostname: string;
|
|
11981
|
+
/**
|
|
11982
|
+
* Created On
|
|
11983
|
+
* Format: date-time
|
|
11984
|
+
*/
|
|
11985
|
+
created_on: Date;
|
|
11986
|
+
/** Failure Reason */
|
|
11987
|
+
failure_reason: string | null;
|
|
11988
|
+
/** Hostname */
|
|
11989
|
+
hostname: string;
|
|
11990
|
+
/** Keycloak Client Id */
|
|
11991
|
+
keycloak_client_id: string | null;
|
|
11992
|
+
onboarding_status: components["schemas"]["WhitelabelOnboardingStatus"];
|
|
11993
|
+
/**
|
|
11994
|
+
* Organization Id
|
|
11995
|
+
* Format: typeid
|
|
11996
|
+
* @example organization_01h45ytscbebyvny4gc8cr8ma2
|
|
11997
|
+
*/
|
|
11998
|
+
organization_id: TypeId<"organization">;
|
|
11999
|
+
/**
|
|
12000
|
+
* Updated On
|
|
12001
|
+
* Format: date-time
|
|
12002
|
+
*/
|
|
12003
|
+
updated_on: Date;
|
|
12004
|
+
/** Verification Domain */
|
|
12005
|
+
verification_domain: string;
|
|
12006
|
+
/**
|
|
12007
|
+
* Whitelabel Branding Id
|
|
12008
|
+
* Format: typeid
|
|
12009
|
+
* @example wlb_01h45ytscbebyvny4gc8cr8ma2
|
|
12010
|
+
*/
|
|
12011
|
+
whitelabel_branding_id: TypeId<"wlb">;
|
|
12012
|
+
};
|
|
12013
|
+
/**
|
|
12014
|
+
* WhitelabelOnboardingStatus
|
|
12015
|
+
* @enum {string}
|
|
12016
|
+
*/
|
|
12017
|
+
WhitelabelOnboardingStatus: "pending_domain_verification" | "verifying" | "provisioning" | "active" | "failed";
|
|
11900
12018
|
/** WhoisBase */
|
|
11901
12019
|
WhoisBase: {
|
|
11902
12020
|
/**
|
|
@@ -25561,4 +25679,113 @@ export interface operations {
|
|
|
25561
25679
|
};
|
|
25562
25680
|
};
|
|
25563
25681
|
};
|
|
25682
|
+
get_whitelabel_branding_v1_whitelabel_branding_get: {
|
|
25683
|
+
parameters: {
|
|
25684
|
+
query?: never;
|
|
25685
|
+
header?: {
|
|
25686
|
+
/**
|
|
25687
|
+
* @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.
|
|
25688
|
+
* @example rfc3339
|
|
25689
|
+
*/
|
|
25690
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
25691
|
+
};
|
|
25692
|
+
path?: never;
|
|
25693
|
+
cookie?: never;
|
|
25694
|
+
};
|
|
25695
|
+
requestBody?: never;
|
|
25696
|
+
responses: {
|
|
25697
|
+
/** @description Successful Response */
|
|
25698
|
+
200: {
|
|
25699
|
+
headers: {
|
|
25700
|
+
[name: string]: unknown;
|
|
25701
|
+
};
|
|
25702
|
+
content: {
|
|
25703
|
+
"application/json": components["schemas"]["WhitelabelBrandingResponse"];
|
|
25704
|
+
};
|
|
25705
|
+
};
|
|
25706
|
+
/** @description Validation Error */
|
|
25707
|
+
422: {
|
|
25708
|
+
headers: {
|
|
25709
|
+
[name: string]: unknown;
|
|
25710
|
+
};
|
|
25711
|
+
content: {
|
|
25712
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
25713
|
+
};
|
|
25714
|
+
};
|
|
25715
|
+
};
|
|
25716
|
+
};
|
|
25717
|
+
create_whitelabel_branding_v1_whitelabel_branding_post: {
|
|
25718
|
+
parameters: {
|
|
25719
|
+
query?: never;
|
|
25720
|
+
header?: {
|
|
25721
|
+
/**
|
|
25722
|
+
* @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.
|
|
25723
|
+
* @example rfc3339
|
|
25724
|
+
*/
|
|
25725
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
25726
|
+
};
|
|
25727
|
+
path?: never;
|
|
25728
|
+
cookie?: never;
|
|
25729
|
+
};
|
|
25730
|
+
requestBody: {
|
|
25731
|
+
content: {
|
|
25732
|
+
"application/json": components["schemas"]["WhitelabelBrandingCreate"];
|
|
25733
|
+
};
|
|
25734
|
+
};
|
|
25735
|
+
responses: {
|
|
25736
|
+
/** @description Successful Response */
|
|
25737
|
+
202: {
|
|
25738
|
+
headers: {
|
|
25739
|
+
[name: string]: unknown;
|
|
25740
|
+
};
|
|
25741
|
+
content: {
|
|
25742
|
+
"application/json": components["schemas"]["ProductCreateRes"];
|
|
25743
|
+
};
|
|
25744
|
+
};
|
|
25745
|
+
/** @description Validation Error */
|
|
25746
|
+
422: {
|
|
25747
|
+
headers: {
|
|
25748
|
+
[name: string]: unknown;
|
|
25749
|
+
};
|
|
25750
|
+
content: {
|
|
25751
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
25752
|
+
};
|
|
25753
|
+
};
|
|
25754
|
+
};
|
|
25755
|
+
};
|
|
25756
|
+
recheck_whitelabel_branding_v1_whitelabel_branding_recheck_post: {
|
|
25757
|
+
parameters: {
|
|
25758
|
+
query?: never;
|
|
25759
|
+
header?: {
|
|
25760
|
+
/**
|
|
25761
|
+
* @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.
|
|
25762
|
+
* @example rfc3339
|
|
25763
|
+
*/
|
|
25764
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
25765
|
+
};
|
|
25766
|
+
path?: never;
|
|
25767
|
+
cookie?: never;
|
|
25768
|
+
};
|
|
25769
|
+
requestBody?: never;
|
|
25770
|
+
responses: {
|
|
25771
|
+
/** @description Successful Response */
|
|
25772
|
+
202: {
|
|
25773
|
+
headers: {
|
|
25774
|
+
[name: string]: unknown;
|
|
25775
|
+
};
|
|
25776
|
+
content: {
|
|
25777
|
+
"application/json": components["schemas"]["WhitelabelBrandingResponse"];
|
|
25778
|
+
};
|
|
25779
|
+
};
|
|
25780
|
+
/** @description Validation Error */
|
|
25781
|
+
422: {
|
|
25782
|
+
headers: {
|
|
25783
|
+
[name: string]: unknown;
|
|
25784
|
+
};
|
|
25785
|
+
content: {
|
|
25786
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
25787
|
+
};
|
|
25788
|
+
};
|
|
25789
|
+
};
|
|
25790
|
+
};
|
|
25564
25791
|
}
|