@opusdns/api 1.67.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/src/openapi.yaml CHANGED
@@ -3415,6 +3415,8 @@ components:
3415
3415
  - nor_id_applicant_version
3416
3416
  - nor_id_applicant_accept_name
3417
3417
  - nor_id_applicant_accept_date
3418
+ - nor_id_declaration
3419
+ - nor_id_declaration_token
3418
3420
  title: DomainAttributeKey
3419
3421
  type: string
3420
3422
  DomainAvailability:
@@ -8814,6 +8816,109 @@ components:
8814
8816
  - hostname
8815
8817
  title: Nameserver
8816
8818
  type: object
8819
+ NorIdDeclarationConfirmRequest:
8820
+ properties:
8821
+ accept_name:
8822
+ description: The full name of the person signing the applicant declaration.
8823
+ For private individuals this is the subscriber personally; for organizations
8824
+ it must be an authorized representative.
8825
+ maxLength: 255
8826
+ minLength: 1
8827
+ title: Accept Name
8828
+ type: string
8829
+ required:
8830
+ - accept_name
8831
+ title: NorIdDeclarationConfirmRequest
8832
+ type: object
8833
+ NorIdDeclarationResponse:
8834
+ properties:
8835
+ declaration_contract_text:
8836
+ description: The fixed Norwegian declaration contract text
8837
+ title: Declaration Contract Text
8838
+ type: string
8839
+ declaration_header:
8840
+ description: The fixed Norwegian declaration header
8841
+ title: Declaration Header
8842
+ type: string
8843
+ declaration_introduction:
8844
+ description: The fixed Norwegian declaration introduction
8845
+ title: Declaration Introduction
8846
+ type: string
8847
+ declaration_version:
8848
+ description: The applicant declaration text version
8849
+ title: Declaration Version
8850
+ type: string
8851
+ domain_name:
8852
+ description: The domain name the declaration applies to
8853
+ title: Domain Name
8854
+ type: string
8855
+ expires_on:
8856
+ description: When the unconfirmed create request expires
8857
+ format: date-time
8858
+ title: Expires On
8859
+ type: string
8860
+ identity_type:
8861
+ anyOf:
8862
+ - type: string
8863
+ - type: 'null'
8864
+ description: The subscriber identity type
8865
+ title: Identity Type
8866
+ identity_value:
8867
+ anyOf:
8868
+ - type: string
8869
+ - type: 'null'
8870
+ description: The subscriber identity (organization number or Person-ID)
8871
+ title: Identity Value
8872
+ status:
8873
+ $ref: '#/components/schemas/NorIdDeclarationStatus'
8874
+ description: The declaration status
8875
+ subscriber_name:
8876
+ description: The domain name subscriber (registrant)
8877
+ title: Subscriber Name
8878
+ type: string
8879
+ required:
8880
+ - domain_name
8881
+ - subscriber_name
8882
+ - declaration_version
8883
+ - declaration_header
8884
+ - declaration_introduction
8885
+ - declaration_contract_text
8886
+ - status
8887
+ - expires_on
8888
+ title: NorIdDeclarationResponse
8889
+ type: object
8890
+ NorIdDeclarationStatus:
8891
+ enum:
8892
+ - pending
8893
+ - confirmed
8894
+ - completed
8895
+ - expired
8896
+ - failed
8897
+ title: NorIdDeclarationStatus
8898
+ type: string
8899
+ NorIdResellerDeclarationRequest:
8900
+ properties:
8901
+ accept_date:
8902
+ anyOf:
8903
+ - format: date-time
8904
+ type: string
8905
+ - type: 'null'
8906
+ description: UTC timestamp of the declaration signature. Only provide it
8907
+ when the declaration was signed out-of-band (e.g. via Norid's own tool);
8908
+ defaults to the submission time.
8909
+ title: Accept Date
8910
+ accept_name:
8911
+ description: The full name of the person signing the applicant declaration.
8912
+ For private individuals this is the subscriber personally; for organizations
8913
+ it must be an authorized representative.
8914
+ maxLength: 255
8915
+ minLength: 1
8916
+ title: Accept Name
8917
+ type: string
8918
+ required:
8919
+ - accept_name
8920
+ title: NorIdResellerDeclarationRequest
8921
+ type: object
8817
8922
  ObjectEventType:
8818
8923
  enum:
8819
8924
  - CREATED
@@ -10905,6 +11010,31 @@ components:
10905
11010
  - status
10906
11011
  title: Problem
10907
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
10908
11038
  Protocol:
10909
11039
  enum:
10910
11040
  - http
@@ -13576,6 +13706,111 @@ components:
13576
13706
  - unique
13577
13707
  title: VisitsByKeyBucket
13578
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
13579
13814
  WhoisBase:
13580
13815
  properties:
13581
13816
  whois_server:
@@ -13902,7 +14137,7 @@ info:
13902
14137
  \n\n"
13903
14138
  summary: OpusDNS - your gateway to a seamless domain management experience.
13904
14139
  title: OpusDNS API
13905
- version: 2026-07-17-185529
14140
+ version: 2026-07-20-111052
13906
14141
  x-logo:
13907
14142
  altText: OpusDNS API Reference
13908
14143
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -22412,6 +22647,267 @@ paths:
22412
22647
  - domain_tld_specific
22413
22648
  x-required-permissions:
22414
22649
  - domains:manage
22650
+ /v1/domains/tld-specific/no/applicant-declaration:
22651
+ get:
22652
+ operationId: get_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_get
22653
+ parameters:
22654
+ - in: query
22655
+ name: token
22656
+ required: true
22657
+ schema:
22658
+ title: Token
22659
+ type: string
22660
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
22661
+ responses:
22662
+ '200':
22663
+ content:
22664
+ application/json:
22665
+ schema:
22666
+ $ref: '#/components/schemas/NorIdDeclarationResponse'
22667
+ description: Successful Response
22668
+ '404':
22669
+ content:
22670
+ application/problem+json:
22671
+ example:
22672
+ code: ERROR_NORID_DECLARATION_NOT_FOUND
22673
+ detail: Additional error context.
22674
+ status: 404
22675
+ title: Domain Management Error
22676
+ type: nor-id-declaration-not-found
22677
+ schema:
22678
+ $ref: '#/components/schemas/Problem'
22679
+ description: Not Found
22680
+ '422':
22681
+ content:
22682
+ application/problem+json:
22683
+ schema:
22684
+ $ref: '#/components/schemas/HTTPValidationError'
22685
+ description: Validation Error
22686
+ summary: Retrieve the .no applicant declaration by token
22687
+ tags:
22688
+ - domain
22689
+ - domain_tld_specific
22690
+ put:
22691
+ description: Records the applicant declaration signature (`acceptName` + `acceptDate`)
22692
+ and queues the actual registration at Norid.
22693
+ operationId: confirm_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_put
22694
+ parameters:
22695
+ - in: query
22696
+ name: token
22697
+ required: true
22698
+ schema:
22699
+ title: Token
22700
+ type: string
22701
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
22702
+ requestBody:
22703
+ content:
22704
+ application/json:
22705
+ schema:
22706
+ $ref: '#/components/schemas/NorIdDeclarationConfirmRequest'
22707
+ required: true
22708
+ responses:
22709
+ '204':
22710
+ description: Successful Response
22711
+ '400':
22712
+ content:
22713
+ application/problem+json:
22714
+ example:
22715
+ code: ERROR_NORID_DECLARATION_EXPIRED
22716
+ detail: The applicant declaration request has expired
22717
+ domain_name: Additional error context.
22718
+ status: 400
22719
+ title: Domain Management Error
22720
+ type: nor-id-declaration-expired
22721
+ schema:
22722
+ $ref: '#/components/schemas/Problem'
22723
+ description: Bad Request
22724
+ '404':
22725
+ content:
22726
+ application/problem+json:
22727
+ example:
22728
+ code: ERROR_NORID_DECLARATION_NOT_FOUND
22729
+ detail: Additional error context.
22730
+ status: 404
22731
+ title: Domain Management Error
22732
+ type: nor-id-declaration-not-found
22733
+ schema:
22734
+ $ref: '#/components/schemas/Problem'
22735
+ description: Not Found
22736
+ '409':
22737
+ content:
22738
+ application/problem+json:
22739
+ example:
22740
+ code: ERROR_NORID_DECLARATION_STATE
22741
+ detail: The applicant declaration is not in a valid state
22742
+ domain_name: Additional error context.
22743
+ status: 409
22744
+ title: Domain Management Error
22745
+ type: nor-id-declaration-state
22746
+ schema:
22747
+ $ref: '#/components/schemas/Problem'
22748
+ description: Conflict
22749
+ '422':
22750
+ content:
22751
+ application/problem+json:
22752
+ schema:
22753
+ $ref: '#/components/schemas/HTTPValidationError'
22754
+ description: Validation Error
22755
+ summary: Sign the .no applicant declaration with token
22756
+ tags:
22757
+ - domain
22758
+ - domain_tld_specific
22759
+ /v1/domains/tld-specific/no/{domain_reference}/applicant-declaration:
22760
+ post:
22761
+ description: Records the applicant declaration signature collected by the registrar
22762
+ (e.g. via Norid's own signing tool) and queues the actual registration at
22763
+ Norid, without the registrant email round-trip.
22764
+ operationId: submit_norid_declaration_v1_domains_tld_specific_no__domain_reference__applicant_declaration_post
22765
+ parameters:
22766
+ - in: path
22767
+ name: domain_reference
22768
+ required: true
22769
+ schema:
22770
+ anyOf:
22771
+ - examples:
22772
+ - domain_01h45ytscbebyvny4gc8cr8ma2
22773
+ format: typeid
22774
+ pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
22775
+ type: string
22776
+ x-typeid-prefix: domain
22777
+ - type: string
22778
+ title: Domain Reference
22779
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
22780
+ requestBody:
22781
+ content:
22782
+ application/json:
22783
+ schema:
22784
+ $ref: '#/components/schemas/NorIdResellerDeclarationRequest'
22785
+ required: true
22786
+ responses:
22787
+ '202':
22788
+ content:
22789
+ application/json:
22790
+ schema:
22791
+ $ref: '#/components/schemas/NorIdDeclarationResponse'
22792
+ description: Successful Response
22793
+ '400':
22794
+ content:
22795
+ application/problem+json:
22796
+ example:
22797
+ code: ERROR_NORID_DECLARATION_EXPIRED
22798
+ detail: The applicant declaration request has expired
22799
+ domain_name: Additional error context.
22800
+ status: 400
22801
+ title: Domain Management Error
22802
+ type: nor-id-declaration-expired
22803
+ schema:
22804
+ $ref: '#/components/schemas/Problem'
22805
+ description: Bad Request
22806
+ '404':
22807
+ content:
22808
+ application/problem+json:
22809
+ examples:
22810
+ Domain Management Error:
22811
+ value:
22812
+ code: ERROR_NORID_DECLARATION_NOT_FOUND
22813
+ detail: Additional error context.
22814
+ status: 404
22815
+ title: Domain Management Error
22816
+ type: nor-id-declaration-not-found
22817
+ schema:
22818
+ $ref: '#/components/schemas/Problem'
22819
+ description: Not Found
22820
+ '409':
22821
+ content:
22822
+ application/problem+json:
22823
+ example:
22824
+ code: ERROR_NORID_DECLARATION_STATE
22825
+ detail: The applicant declaration is not in a valid state
22826
+ domain_name: Additional error context.
22827
+ status: 409
22828
+ title: Domain Management Error
22829
+ type: nor-id-declaration-state
22830
+ schema:
22831
+ $ref: '#/components/schemas/Problem'
22832
+ description: Conflict
22833
+ '422':
22834
+ content:
22835
+ application/problem+json:
22836
+ schema:
22837
+ $ref: '#/components/schemas/HTTPValidationError'
22838
+ description: Validation Error
22839
+ security:
22840
+ - OAuth2PasswordBearer: []
22841
+ - APIKeyHeader: []
22842
+ summary: Submit the .no applicant declaration on behalf of the subscriber
22843
+ tags:
22844
+ - domain
22845
+ - domain_tld_specific
22846
+ x-required-permissions:
22847
+ - domains:manage
22848
+ /v1/domains/tld-specific/no/{domain_reference}/resend-declaration-email:
22849
+ post:
22850
+ operationId: resend_norid_declaration_email_v1_domains_tld_specific_no__domain_reference__resend_declaration_email_post
22851
+ parameters:
22852
+ - in: path
22853
+ name: domain_reference
22854
+ required: true
22855
+ schema:
22856
+ anyOf:
22857
+ - examples:
22858
+ - domain_01h45ytscbebyvny4gc8cr8ma2
22859
+ format: typeid
22860
+ pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
22861
+ type: string
22862
+ x-typeid-prefix: domain
22863
+ - type: string
22864
+ title: Domain Reference
22865
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
22866
+ responses:
22867
+ '204':
22868
+ description: Successful Response
22869
+ '404':
22870
+ content:
22871
+ application/problem+json:
22872
+ examples:
22873
+ Domain Management Error:
22874
+ value:
22875
+ code: ERROR_NORID_DECLARATION_NOT_FOUND
22876
+ detail: Additional error context.
22877
+ status: 404
22878
+ title: Domain Management Error
22879
+ type: nor-id-declaration-not-found
22880
+ schema:
22881
+ $ref: '#/components/schemas/Problem'
22882
+ description: Not Found
22883
+ '409':
22884
+ content:
22885
+ application/problem+json:
22886
+ example:
22887
+ code: ERROR_NORID_DECLARATION_STATE
22888
+ detail: The applicant declaration is not in a valid state
22889
+ domain_name: Additional error context.
22890
+ status: 409
22891
+ title: Domain Management Error
22892
+ type: nor-id-declaration-state
22893
+ schema:
22894
+ $ref: '#/components/schemas/Problem'
22895
+ description: Conflict
22896
+ '422':
22897
+ content:
22898
+ application/problem+json:
22899
+ schema:
22900
+ $ref: '#/components/schemas/HTTPValidationError'
22901
+ description: Validation Error
22902
+ security:
22903
+ - OAuth2PasswordBearer: []
22904
+ - APIKeyHeader: []
22905
+ summary: Resend the .no applicant declaration email to the registrant
22906
+ tags:
22907
+ - domain
22908
+ - domain_tld_specific
22909
+ x-required-permissions:
22910
+ - domains:manage
22415
22911
  /v1/domains/transfer:
22416
22912
  post:
22417
22913
  description: 'Start the transfer process for a domain <br>
@@ -29960,6 +30456,89 @@ paths:
29960
30456
  - nameserver
29961
30457
  x-required-permissions:
29962
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
29963
30542
  servers:
29964
30543
  - description: Production environment
29965
30544
  url: https://api.opusdns.com