@opusdns/api 1.73.0 → 1.75.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/src/openapi.yaml CHANGED
@@ -180,6 +180,36 @@ components:
180
180
  - uri_template
181
181
  title: AttributeType
182
182
  type: string
183
+ Auth:
184
+ description: 'Pre-login OAuth bootstrap. The SPA resolves this document by hostname
185
+ before login and uses
186
+
187
+ `client_id` (the org''s `wl-<organization_id>` Keycloak client) + `authority`
188
+ (the OIDC issuer on
189
+
190
+ the customer''s auth host) to start the flow; absent, it falls back to the
191
+ default dashboard client.
192
+
193
+
194
+ System-owned: written only by onboarding (via branding-service''s set-auth
195
+ endpoint), never by a
196
+
197
+ customer document write - branding-service preserves this block across customer
198
+ upserts.'
199
+ properties:
200
+ authority:
201
+ anyOf:
202
+ - type: string
203
+ - type: 'null'
204
+ title: Authority
205
+ client_id:
206
+ anyOf:
207
+ - pattern: ^[a-zA-Z0-9._-]{1,255}$
208
+ type: string
209
+ - type: 'null'
210
+ title: Client Id
211
+ title: Auth
212
+ type: object
183
213
  BatchSortField:
184
214
  enum:
185
215
  - created_on
@@ -355,6 +385,45 @@ components:
355
385
  - canceled
356
386
  title: BillingTransactionStatus
357
387
  type: string
388
+ Brand:
389
+ properties:
390
+ logo:
391
+ anyOf:
392
+ - $ref: '#/components/schemas/Logo'
393
+ - type: 'null'
394
+ name:
395
+ anyOf:
396
+ - maxLength: 255
397
+ minLength: 1
398
+ type: string
399
+ - type: 'null'
400
+ title: Name
401
+ title: Brand
402
+ type: object
403
+ BrandingDocument:
404
+ properties:
405
+ auth:
406
+ anyOf:
407
+ - $ref: '#/components/schemas/Auth'
408
+ - type: 'null'
409
+ brand:
410
+ anyOf:
411
+ - $ref: '#/components/schemas/Brand'
412
+ - type: 'null'
413
+ content:
414
+ anyOf:
415
+ - $ref: '#/components/schemas/Content'
416
+ - type: 'null'
417
+ theme:
418
+ anyOf:
419
+ - $ref: '#/components/schemas/Theme'
420
+ - type: 'null'
421
+ version:
422
+ default: 1
423
+ title: Version
424
+ type: integer
425
+ title: BrandingDocument
426
+ type: object
358
427
  BrowserStatsBucket:
359
428
  properties:
360
429
  key:
@@ -1938,6 +2007,42 @@ components:
1938
2007
  - payload
1939
2008
  title: ContactsContextCreate
1940
2009
  type: object
2010
+ Content:
2011
+ properties:
2012
+ email_blocks:
2013
+ anyOf:
2014
+ - patternProperties:
2015
+ ^[a-z0-9_]+$:
2016
+ patternProperties:
2017
+ ^[a-z0-9_]+$:
2018
+ patternProperties:
2019
+ ^[a-z]{2}(-[a-z]{2})?$:
2020
+ maxLength: 2000
2021
+ type: string
2022
+ type: object
2023
+ type: object
2024
+ type: object
2025
+ - type: 'null'
2026
+ title: Email Blocks
2027
+ footer:
2028
+ anyOf:
2029
+ - $ref: '#/components/schemas/Footer'
2030
+ - type: 'null'
2031
+ legal:
2032
+ anyOf:
2033
+ - $ref: '#/components/schemas/Legal'
2034
+ - type: 'null'
2035
+ signature:
2036
+ anyOf:
2037
+ - type: string
2038
+ - type: 'null'
2039
+ title: Signature
2040
+ support:
2041
+ anyOf:
2042
+ - $ref: '#/components/schemas/Support'
2043
+ - type: 'null'
2044
+ title: Content
2045
+ type: object
1941
2046
  ContextListResponse:
1942
2047
  properties:
1943
2048
  pagination:
@@ -7420,6 +7525,44 @@ components:
7420
7525
  - system
7421
7526
  title: ExecutingEntity
7422
7527
  type: string
7528
+ Footer:
7529
+ properties:
7530
+ contact_email:
7531
+ anyOf:
7532
+ - pattern: ^[^@\s]+@[^@\s]+\.[^@\s]+$
7533
+ type: string
7534
+ - type: 'null'
7535
+ title: Contact Email
7536
+ disclaimer:
7537
+ anyOf:
7538
+ - type: string
7539
+ - type: 'null'
7540
+ title: Disclaimer
7541
+ legal_entity:
7542
+ anyOf:
7543
+ - maxLength: 255
7544
+ minLength: 1
7545
+ type: string
7546
+ - type: 'null'
7547
+ title: Legal Entity
7548
+ lines:
7549
+ anyOf:
7550
+ - items:
7551
+ maxLength: 255
7552
+ minLength: 1
7553
+ type: string
7554
+ type: array
7555
+ - type: 'null'
7556
+ title: Lines
7557
+ vat_id:
7558
+ anyOf:
7559
+ - maxLength: 255
7560
+ minLength: 1
7561
+ type: string
7562
+ - type: 'null'
7563
+ title: Vat Id
7564
+ title: Footer
7565
+ type: object
7423
7566
  GeneralAvailabilityBase:
7424
7567
  properties:
7425
7568
  start_date:
@@ -8578,6 +8721,20 @@ components:
8578
8721
  - general_availability
8579
8722
  title: LaunchPhasesBase
8580
8723
  type: object
8724
+ Legal:
8725
+ properties:
8726
+ privacy_url:
8727
+ anyOf:
8728
+ - type: string
8729
+ - type: 'null'
8730
+ title: Privacy Url
8731
+ terms_url:
8732
+ anyOf:
8733
+ - type: string
8734
+ - type: 'null'
8735
+ title: Terms Url
8736
+ title: Legal
8737
+ type: object
8581
8738
  LegalRequirementBase:
8582
8739
  properties:
8583
8740
  key:
@@ -8702,6 +8859,30 @@ components:
8702
8859
  - business_entity
8703
8860
  title: LocalPresenceRequirementType
8704
8861
  type: string
8862
+ Logo:
8863
+ properties:
8864
+ dark:
8865
+ anyOf:
8866
+ - type: string
8867
+ - type: 'null'
8868
+ title: Dark
8869
+ favicon:
8870
+ anyOf:
8871
+ - type: string
8872
+ - type: 'null'
8873
+ title: Favicon
8874
+ icon:
8875
+ anyOf:
8876
+ - type: string
8877
+ - type: 'null'
8878
+ title: Icon
8879
+ light:
8880
+ anyOf:
8881
+ - type: string
8882
+ - type: 'null'
8883
+ title: Light
8884
+ title: Logo
8885
+ type: object
8705
8886
  MemoryFact:
8706
8887
  properties:
8707
8888
  created_at:
@@ -10334,6 +10515,146 @@ components:
10334
10515
  - pagination
10335
10516
  title: Pagination[UserPublicWithRole]
10336
10517
  type: object
10518
+ Palette:
10519
+ properties:
10520
+ accent:
10521
+ anyOf:
10522
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10523
+ type: string
10524
+ - type: 'null'
10525
+ title: Accent
10526
+ accent_foreground:
10527
+ anyOf:
10528
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10529
+ type: string
10530
+ - type: 'null'
10531
+ title: Accent Foreground
10532
+ background:
10533
+ anyOf:
10534
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10535
+ type: string
10536
+ - type: 'null'
10537
+ title: Background
10538
+ border:
10539
+ anyOf:
10540
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10541
+ type: string
10542
+ - type: 'null'
10543
+ title: Border
10544
+ card:
10545
+ anyOf:
10546
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10547
+ type: string
10548
+ - type: 'null'
10549
+ title: Card
10550
+ card_foreground:
10551
+ anyOf:
10552
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10553
+ type: string
10554
+ - type: 'null'
10555
+ title: Card Foreground
10556
+ chart_colors:
10557
+ anyOf:
10558
+ - items:
10559
+ pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10560
+ type: string
10561
+ type: array
10562
+ - type: 'null'
10563
+ title: Chart Colors
10564
+ danger:
10565
+ anyOf:
10566
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10567
+ type: string
10568
+ - type: 'null'
10569
+ title: Danger
10570
+ foreground:
10571
+ anyOf:
10572
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10573
+ type: string
10574
+ - type: 'null'
10575
+ title: Foreground
10576
+ info:
10577
+ anyOf:
10578
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10579
+ type: string
10580
+ - type: 'null'
10581
+ title: Info
10582
+ input:
10583
+ anyOf:
10584
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10585
+ type: string
10586
+ - type: 'null'
10587
+ title: Input
10588
+ muted:
10589
+ anyOf:
10590
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10591
+ type: string
10592
+ - type: 'null'
10593
+ title: Muted
10594
+ muted_foreground:
10595
+ anyOf:
10596
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10597
+ type: string
10598
+ - type: 'null'
10599
+ title: Muted Foreground
10600
+ primary:
10601
+ anyOf:
10602
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10603
+ type: string
10604
+ - type: 'null'
10605
+ title: Primary
10606
+ primary_foreground:
10607
+ anyOf:
10608
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10609
+ type: string
10610
+ - type: 'null'
10611
+ title: Primary Foreground
10612
+ secondary:
10613
+ anyOf:
10614
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10615
+ type: string
10616
+ - type: 'null'
10617
+ title: Secondary
10618
+ secondary_foreground:
10619
+ anyOf:
10620
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10621
+ type: string
10622
+ - type: 'null'
10623
+ title: Secondary Foreground
10624
+ sidebar:
10625
+ anyOf:
10626
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10627
+ type: string
10628
+ - type: 'null'
10629
+ title: Sidebar
10630
+ sidebar_foreground:
10631
+ anyOf:
10632
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10633
+ type: string
10634
+ - type: 'null'
10635
+ title: Sidebar Foreground
10636
+ success:
10637
+ anyOf:
10638
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10639
+ type: string
10640
+ - type: 'null'
10641
+ title: Success
10642
+ tag_colors:
10643
+ anyOf:
10644
+ - items:
10645
+ pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10646
+ type: string
10647
+ type: array
10648
+ - type: 'null'
10649
+ title: Tag Colors
10650
+ warning:
10651
+ anyOf:
10652
+ - pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
10653
+ type: string
10654
+ - type: 'null'
10655
+ title: Warning
10656
+ title: Palette
10657
+ type: object
10337
10658
  ParkingActionPayloadData:
10338
10659
  properties:
10339
10660
  parking_reference:
@@ -11060,6 +11381,40 @@ components:
11060
11381
  - manual
11061
11382
  title: PremiumSourceType
11062
11383
  type: string
11384
+ PreviewMailReq:
11385
+ properties:
11386
+ branding_document:
11387
+ anyOf:
11388
+ - $ref: '#/components/schemas/BrandingDocument'
11389
+ - type: 'null'
11390
+ language_code:
11391
+ title: Language Code
11392
+ type: string
11393
+ template_name:
11394
+ title: Template Name
11395
+ type: string
11396
+ required:
11397
+ - template_name
11398
+ - language_code
11399
+ title: PreviewMailReq
11400
+ type: object
11401
+ PreviewMailRes:
11402
+ properties:
11403
+ html:
11404
+ title: Html
11405
+ type: string
11406
+ subject:
11407
+ title: Subject
11408
+ type: string
11409
+ text:
11410
+ title: Text
11411
+ type: string
11412
+ required:
11413
+ - subject
11414
+ - html
11415
+ - text
11416
+ title: PreviewMailRes
11417
+ type: object
11063
11418
  PriceInfo:
11064
11419
  properties:
11065
11420
  currency:
@@ -11708,6 +12063,16 @@ components:
11708
12063
  - expire
11709
12064
  title: RenewalMode
11710
12065
  type: string
12066
+ RenewalModeDTO:
12067
+ description: "Wire mirror of the domain `RenewalMode` vocabulary \u2014 local\
12068
+ \ so dns_client doesn't\npull schema imports. The subscription itself has\
12069
+ \ no renewal_mode column; api-nameserver\nderives this from whether a renewal\
12070
+ \ is scheduled."
12071
+ enum:
12072
+ - renew
12073
+ - expire
12074
+ title: RenewalModeDTO
12075
+ type: string
11711
12076
  ReportStatus:
11712
12077
  enum:
11713
12078
  - pending
@@ -11970,6 +12335,21 @@ components:
11970
12335
  - '12.50'
11971
12336
  pattern: ^\d{1,8}\.\d{2}$
11972
12337
  type: string
12338
+ Support:
12339
+ properties:
12340
+ email:
12341
+ anyOf:
12342
+ - pattern: ^[^@\s]+@[^@\s]+\.[^@\s]+$
12343
+ type: string
12344
+ - type: 'null'
12345
+ title: Email
12346
+ url:
12347
+ anyOf:
12348
+ - type: string
12349
+ - type: 'null'
12350
+ title: Url
12351
+ title: Support
12352
+ type: object
11973
12353
  SyncOperationType:
11974
12354
  enum:
11975
12355
  - registration
@@ -12150,6 +12530,35 @@ components:
12150
12530
  title: Label
12151
12531
  title: TagUpdate
12152
12532
  type: object
12533
+ Theme:
12534
+ properties:
12535
+ dark:
12536
+ anyOf:
12537
+ - $ref: '#/components/schemas/Palette'
12538
+ - type: 'null'
12539
+ font_family:
12540
+ anyOf:
12541
+ - pattern: ^[0-9a-zA-Z, -]{1,128}$
12542
+ type: string
12543
+ - type: 'null'
12544
+ title: Font Family
12545
+ font_url:
12546
+ anyOf:
12547
+ - type: string
12548
+ - type: 'null'
12549
+ title: Font Url
12550
+ light:
12551
+ anyOf:
12552
+ - $ref: '#/components/schemas/Palette'
12553
+ - type: 'null'
12554
+ radius:
12555
+ anyOf:
12556
+ - pattern: ^[0-9a-zA-Z.% ]{1,32}$
12557
+ type: string
12558
+ - type: 'null'
12559
+ title: Radius
12560
+ title: Theme
12561
+ type: object
12153
12562
  TimeRange:
12154
12563
  enum:
12155
12564
  - 1h
@@ -13533,6 +13942,22 @@ components:
13533
13942
 
13534
13943
  `VanityNameserverSetDTO` stays the brandable-only read shape (always ACTIVE).'
13535
13944
  properties:
13945
+ expires_on:
13946
+ anyOf:
13947
+ - format: date-time
13948
+ type: string
13949
+ - type: 'null'
13950
+ description: When the vanity nameserver set's current service period ends
13951
+ (renews or lapses)
13952
+ title: Expires On
13953
+ grace_period_ends_at:
13954
+ anyOf:
13955
+ - format: date-time
13956
+ type: string
13957
+ - type: 'null'
13958
+ description: When the grace period ends, or null when the set is not in
13959
+ a grace period
13960
+ title: Grace Period Ends At
13536
13961
  is_default:
13537
13962
  description: Whether this is the org's default vanity NS set
13538
13963
  title: Is Default
@@ -13560,6 +13985,20 @@ components:
13560
13985
  description: Parent domain used as the apex of the vanity NS zone
13561
13986
  title: Parent Domain Name
13562
13987
  type: string
13988
+ renew_scheduled_at:
13989
+ anyOf:
13990
+ - format: date-time
13991
+ type: string
13992
+ - type: 'null'
13993
+ description: When the next automatic renewal is scheduled. Null when the
13994
+ set will not renew.
13995
+ title: Renew Scheduled At
13996
+ renewal_mode:
13997
+ anyOf:
13998
+ - $ref: '#/components/schemas/RenewalModeDTO'
13999
+ - type: 'null'
14000
+ description: Whether the set is set to renew or expire at the end of the
14001
+ current period
13563
14002
  set_id:
13564
14003
  description: Stable identifier for the vanity NS set
13565
14004
  examples:
@@ -14256,7 +14695,7 @@ info:
14256
14695
  \n\n"
14257
14696
  summary: OpusDNS - your gateway to a seamless domain management experience.
14258
14697
  title: OpusDNS API
14259
- version: 2026-07-21-195001
14698
+ version: 2026-07-22-211713
14260
14699
  x-logo:
14261
14700
  altText: OpusDNS API Reference
14262
14701
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -30808,6 +31247,67 @@ paths:
30808
31247
  - whitelabel
30809
31248
  x-required-permissions:
30810
31249
  - whitelabel_branding:manage
31250
+ /v1/whitelabel-branding/email/preview:
31251
+ post:
31252
+ operationId: preview_whitelabel_email_v1_whitelabel_branding_email_preview_post
31253
+ parameters:
31254
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
31255
+ requestBody:
31256
+ content:
31257
+ application/json:
31258
+ schema:
31259
+ $ref: '#/components/schemas/PreviewMailReq'
31260
+ required: true
31261
+ responses:
31262
+ '200':
31263
+ content:
31264
+ application/json:
31265
+ schema:
31266
+ $ref: '#/components/schemas/PreviewMailRes'
31267
+ description: Successful Response
31268
+ '422':
31269
+ content:
31270
+ application/problem+json:
31271
+ schema:
31272
+ $ref: '#/components/schemas/HTTPValidationError'
31273
+ description: Validation Error
31274
+ security:
31275
+ - OAuth2PasswordBearer: []
31276
+ - APIKeyHeader: []
31277
+ summary: Preview a transactional email template with a draft branding document
31278
+ tags:
31279
+ - whitelabel
31280
+ x-required-permissions:
31281
+ - whitelabel_branding:manage
31282
+ /v1/whitelabel-branding/email/templates:
31283
+ get:
31284
+ operationId: list_whitelabel_email_templates_v1_whitelabel_branding_email_templates_get
31285
+ parameters:
31286
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
31287
+ responses:
31288
+ '200':
31289
+ content:
31290
+ application/json:
31291
+ schema:
31292
+ additionalProperties: true
31293
+ title: Response List Whitelabel Email Templates V1 Whitelabel Branding
31294
+ Email Templates Get
31295
+ type: object
31296
+ description: Successful Response
31297
+ '422':
31298
+ content:
31299
+ application/problem+json:
31300
+ schema:
31301
+ $ref: '#/components/schemas/HTTPValidationError'
31302
+ description: Validation Error
31303
+ security:
31304
+ - OAuth2PasswordBearer: []
31305
+ - APIKeyHeader: []
31306
+ summary: List the editable transactional email templates and their content blocks
31307
+ tags:
31308
+ - whitelabel
31309
+ x-required-permissions:
31310
+ - whitelabel_branding:read
30811
31311
  /v1/whitelabel-branding/recheck:
30812
31312
  post:
30813
31313
  operationId: recheck_whitelabel_branding_v1_whitelabel_branding_recheck_post