@opusdns/api 1.196.0 → 1.198.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/keys.ts +25 -0
- package/src/helpers/schemas.d.ts +1 -0
- package/src/openapi.yaml +60 -1
- package/src/schema.d.ts +28 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -22,6 +22,7 @@ import type {
|
|
|
22
22
|
BrandingDesignContrast,
|
|
23
23
|
BrandingDesignContrastCheck,
|
|
24
24
|
BrandingDesignDiff,
|
|
25
|
+
BrandingDesignNotice,
|
|
25
26
|
BrandingDesignPreview,
|
|
26
27
|
BrandingDesignSource,
|
|
27
28
|
BrandingDesignSwatches,
|
|
@@ -731,6 +732,7 @@ export const KEYS_BRANDING_DESIGN_CONTEXT = [
|
|
|
731
732
|
|
|
732
733
|
export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_ACTIONS = 'actions' satisfies keyof BrandingDesignContextPayload;
|
|
733
734
|
export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_DIFF = 'diff' satisfies keyof BrandingDesignContextPayload;
|
|
735
|
+
export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_NOTICES = 'notices' satisfies keyof BrandingDesignContextPayload;
|
|
734
736
|
export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_RESULTS = 'results' satisfies keyof BrandingDesignContextPayload;
|
|
735
737
|
export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_SOURCE = 'source' satisfies keyof BrandingDesignContextPayload;
|
|
736
738
|
export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_SUMMARY = 'summary' satisfies keyof BrandingDesignContextPayload;
|
|
@@ -739,6 +741,7 @@ export const KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_WARNINGS = 'warnings' satisfies
|
|
|
739
741
|
export const KEYS_BRANDING_DESIGN_CONTEXT_PAYLOAD = [
|
|
740
742
|
KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_ACTIONS,
|
|
741
743
|
KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_DIFF,
|
|
744
|
+
KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_NOTICES,
|
|
742
745
|
KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_RESULTS,
|
|
743
746
|
KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_SOURCE,
|
|
744
747
|
KEY_BRANDING_DESIGN_CONTEXT_PAYLOAD_SUMMARY,
|
|
@@ -785,17 +788,37 @@ export const KEYS_BRANDING_DESIGN_DIFF = [
|
|
|
785
788
|
KEY_BRANDING_DESIGN_DIFF_MERGED_WITH_CURRENT,
|
|
786
789
|
] as const satisfies (keyof BrandingDesignDiff)[];
|
|
787
790
|
|
|
791
|
+
export const KEY_BRANDING_DESIGN_NOTICE_CODE = 'code' satisfies keyof BrandingDesignNotice;
|
|
792
|
+
export const KEY_BRANDING_DESIGN_NOTICE_MESSAGE = 'message' satisfies keyof BrandingDesignNotice;
|
|
793
|
+
export const KEY_BRANDING_DESIGN_NOTICE_PARAMS = 'params' satisfies keyof BrandingDesignNotice;
|
|
794
|
+
export const KEY_BRANDING_DESIGN_NOTICE_SEVERITY = 'severity' satisfies keyof BrandingDesignNotice;
|
|
795
|
+
|
|
796
|
+
export const KEYS_BRANDING_DESIGN_NOTICE = [
|
|
797
|
+
KEY_BRANDING_DESIGN_NOTICE_CODE,
|
|
798
|
+
KEY_BRANDING_DESIGN_NOTICE_MESSAGE,
|
|
799
|
+
KEY_BRANDING_DESIGN_NOTICE_PARAMS,
|
|
800
|
+
KEY_BRANDING_DESIGN_NOTICE_SEVERITY,
|
|
801
|
+
] as const satisfies (keyof BrandingDesignNotice)[];
|
|
802
|
+
|
|
803
|
+
export const KEY_BRANDING_DESIGN_PREVIEW_DARK_STRATEGY = 'dark_strategy' satisfies keyof BrandingDesignPreview;
|
|
788
804
|
export const KEY_BRANDING_DESIGN_PREVIEW_FONT_FAMILY = 'font_family' satisfies keyof BrandingDesignPreview;
|
|
789
805
|
export const KEY_BRANDING_DESIGN_PREVIEW_MOOD = 'mood' satisfies keyof BrandingDesignPreview;
|
|
806
|
+
export const KEY_BRANDING_DESIGN_PREVIEW_NEUTRAL_TINT = 'neutral_tint' satisfies keyof BrandingDesignPreview;
|
|
790
807
|
export const KEY_BRANDING_DESIGN_PREVIEW_PRESET_BASE = 'preset_base' satisfies keyof BrandingDesignPreview;
|
|
808
|
+
export const KEY_BRANDING_DESIGN_PREVIEW_PRIMARY_COLOR = 'primary_color' satisfies keyof BrandingDesignPreview;
|
|
791
809
|
export const KEY_BRANDING_DESIGN_PREVIEW_RADIUS_REM = 'radius_rem' satisfies keyof BrandingDesignPreview;
|
|
810
|
+
export const KEY_BRANDING_DESIGN_PREVIEW_RECOLOR_PRESET = 'recolor_preset' satisfies keyof BrandingDesignPreview;
|
|
792
811
|
export const KEY_BRANDING_DESIGN_PREVIEW_SWATCHES = 'swatches' satisfies keyof BrandingDesignPreview;
|
|
793
812
|
|
|
794
813
|
export const KEYS_BRANDING_DESIGN_PREVIEW = [
|
|
814
|
+
KEY_BRANDING_DESIGN_PREVIEW_DARK_STRATEGY,
|
|
795
815
|
KEY_BRANDING_DESIGN_PREVIEW_FONT_FAMILY,
|
|
796
816
|
KEY_BRANDING_DESIGN_PREVIEW_MOOD,
|
|
817
|
+
KEY_BRANDING_DESIGN_PREVIEW_NEUTRAL_TINT,
|
|
797
818
|
KEY_BRANDING_DESIGN_PREVIEW_PRESET_BASE,
|
|
819
|
+
KEY_BRANDING_DESIGN_PREVIEW_PRIMARY_COLOR,
|
|
798
820
|
KEY_BRANDING_DESIGN_PREVIEW_RADIUS_REM,
|
|
821
|
+
KEY_BRANDING_DESIGN_PREVIEW_RECOLOR_PRESET,
|
|
799
822
|
KEY_BRANDING_DESIGN_PREVIEW_SWATCHES,
|
|
800
823
|
] as const satisfies (keyof BrandingDesignPreview)[];
|
|
801
824
|
|
|
@@ -823,6 +846,7 @@ export const KEYS_BRANDING_DESIGN_SWATCHES = [
|
|
|
823
846
|
KEY_BRANDING_DESIGN_SWATCHES_LIGHT,
|
|
824
847
|
] as const satisfies (keyof BrandingDesignSwatches)[];
|
|
825
848
|
|
|
849
|
+
export const KEY_BRANDING_DESIGN_VARIANT_CHANGED_SEEDS = 'changed_seeds' satisfies keyof BrandingDesignVariant;
|
|
826
850
|
export const KEY_BRANDING_DESIGN_VARIANT_CONTRAST = 'contrast' satisfies keyof BrandingDesignVariant;
|
|
827
851
|
export const KEY_BRANDING_DESIGN_VARIANT_DOCUMENT = 'document' satisfies keyof BrandingDesignVariant;
|
|
828
852
|
export const KEY_BRANDING_DESIGN_VARIANT_LABEL = 'label' satisfies keyof BrandingDesignVariant;
|
|
@@ -831,6 +855,7 @@ export const KEY_BRANDING_DESIGN_VARIANT_RATIONALE = 'rationale' satisfies keyof
|
|
|
831
855
|
export const KEY_BRANDING_DESIGN_VARIANT_VARIANT_ID = 'variant_id' satisfies keyof BrandingDesignVariant;
|
|
832
856
|
|
|
833
857
|
export const KEYS_BRANDING_DESIGN_VARIANT = [
|
|
858
|
+
KEY_BRANDING_DESIGN_VARIANT_CHANGED_SEEDS,
|
|
834
859
|
KEY_BRANDING_DESIGN_VARIANT_CONTRAST,
|
|
835
860
|
KEY_BRANDING_DESIGN_VARIANT_DOCUMENT,
|
|
836
861
|
KEY_BRANDING_DESIGN_VARIANT_LABEL,
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export type BrandingDesignContrast = components['schemas']['BrandingDesignContra
|
|
|
35
35
|
export type BrandingDesignContrastCheck = components['schemas']['BrandingDesignContrastCheck'];
|
|
36
36
|
export type BrandingDesignDiff = components['schemas']['BrandingDesignDiff'];
|
|
37
37
|
export type BrandingDesignDocument = components['schemas']['BrandingDesignDocument'];
|
|
38
|
+
export type BrandingDesignNotice = components['schemas']['BrandingDesignNotice'];
|
|
38
39
|
export type BrandingDesignPreview = components['schemas']['BrandingDesignPreview'];
|
|
39
40
|
export type BrandingDesignSource = components['schemas']['BrandingDesignSource'];
|
|
40
41
|
export type BrandingDesignSwatches = components['schemas']['BrandingDesignSwatches'];
|
package/src/openapi.yaml
CHANGED
|
@@ -671,6 +671,11 @@ components:
|
|
|
671
671
|
anyOf:
|
|
672
672
|
- $ref: '#/components/schemas/BrandingDesignDiff'
|
|
673
673
|
- type: 'null'
|
|
674
|
+
notices:
|
|
675
|
+
items:
|
|
676
|
+
$ref: '#/components/schemas/BrandingDesignNotice'
|
|
677
|
+
title: Notices
|
|
678
|
+
type: array
|
|
674
679
|
results:
|
|
675
680
|
items:
|
|
676
681
|
$ref: '#/components/schemas/BrandingDesignVariant'
|
|
@@ -779,8 +784,42 @@ components:
|
|
|
779
784
|
additionalProperties: true
|
|
780
785
|
title: BrandingDesignDocument
|
|
781
786
|
type: object
|
|
787
|
+
BrandingDesignNotice:
|
|
788
|
+
properties:
|
|
789
|
+
code:
|
|
790
|
+
title: Code
|
|
791
|
+
type: string
|
|
792
|
+
message:
|
|
793
|
+
default: ''
|
|
794
|
+
title: Message
|
|
795
|
+
type: string
|
|
796
|
+
params:
|
|
797
|
+
additionalProperties:
|
|
798
|
+
anyOf:
|
|
799
|
+
- type: string
|
|
800
|
+
- type: integer
|
|
801
|
+
- type: number
|
|
802
|
+
- type: boolean
|
|
803
|
+
- items:
|
|
804
|
+
type: string
|
|
805
|
+
type: array
|
|
806
|
+
title: Params
|
|
807
|
+
type: object
|
|
808
|
+
severity:
|
|
809
|
+
title: Severity
|
|
810
|
+
type: string
|
|
811
|
+
required:
|
|
812
|
+
- code
|
|
813
|
+
- severity
|
|
814
|
+
title: BrandingDesignNotice
|
|
815
|
+
type: object
|
|
782
816
|
BrandingDesignPreview:
|
|
783
817
|
properties:
|
|
818
|
+
dark_strategy:
|
|
819
|
+
anyOf:
|
|
820
|
+
- type: string
|
|
821
|
+
- type: 'null'
|
|
822
|
+
title: Dark Strategy
|
|
784
823
|
font_family:
|
|
785
824
|
anyOf:
|
|
786
825
|
- type: string
|
|
@@ -791,16 +830,31 @@ components:
|
|
|
791
830
|
- type: string
|
|
792
831
|
- type: 'null'
|
|
793
832
|
title: Mood
|
|
833
|
+
neutral_tint:
|
|
834
|
+
anyOf:
|
|
835
|
+
- type: string
|
|
836
|
+
- type: 'null'
|
|
837
|
+
title: Neutral Tint
|
|
794
838
|
preset_base:
|
|
795
839
|
anyOf:
|
|
796
840
|
- type: string
|
|
797
841
|
- type: 'null'
|
|
798
842
|
title: Preset Base
|
|
843
|
+
primary_color:
|
|
844
|
+
anyOf:
|
|
845
|
+
- type: string
|
|
846
|
+
- type: 'null'
|
|
847
|
+
title: Primary Color
|
|
799
848
|
radius_rem:
|
|
800
849
|
anyOf:
|
|
801
850
|
- type: number
|
|
802
851
|
- type: 'null'
|
|
803
852
|
title: Radius Rem
|
|
853
|
+
recolor_preset:
|
|
854
|
+
anyOf:
|
|
855
|
+
- type: boolean
|
|
856
|
+
- type: 'null'
|
|
857
|
+
title: Recolor Preset
|
|
804
858
|
swatches:
|
|
805
859
|
anyOf:
|
|
806
860
|
- $ref: '#/components/schemas/BrandingDesignSwatches'
|
|
@@ -857,6 +911,11 @@ components:
|
|
|
857
911
|
type: object
|
|
858
912
|
BrandingDesignVariant:
|
|
859
913
|
properties:
|
|
914
|
+
changed_seeds:
|
|
915
|
+
items:
|
|
916
|
+
type: string
|
|
917
|
+
title: Changed Seeds
|
|
918
|
+
type: array
|
|
860
919
|
contrast:
|
|
861
920
|
anyOf:
|
|
862
921
|
- $ref: '#/components/schemas/BrandingDesignContrast'
|
|
@@ -17553,7 +17612,7 @@ info:
|
|
|
17553
17612
|
\n\n"
|
|
17554
17613
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
17555
17614
|
title: OpusDNS API
|
|
17556
|
-
version: 2026-09-
|
|
17615
|
+
version: 2026-09-25-092504
|
|
17557
17616
|
x-logo:
|
|
17558
17617
|
altText: OpusDNS API Reference
|
|
17559
17618
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -3670,6 +3670,8 @@ export interface components {
|
|
|
3670
3670
|
BrandingDesignContextPayload: {
|
|
3671
3671
|
actions?: components["schemas"]["BrandingDesignActions"] | null;
|
|
3672
3672
|
diff?: components["schemas"]["BrandingDesignDiff"] | null;
|
|
3673
|
+
/** Notices */
|
|
3674
|
+
notices?: components["schemas"]["BrandingDesignNotice"][];
|
|
3673
3675
|
/** Results */
|
|
3674
3676
|
results: components["schemas"]["BrandingDesignVariant"][];
|
|
3675
3677
|
source?: components["schemas"]["BrandingDesignSource"] | null;
|
|
@@ -3722,16 +3724,40 @@ export interface components {
|
|
|
3722
3724
|
BrandingDesignDocument: {
|
|
3723
3725
|
[key: string]: unknown;
|
|
3724
3726
|
};
|
|
3727
|
+
/** BrandingDesignNotice */
|
|
3728
|
+
BrandingDesignNotice: {
|
|
3729
|
+
/** Code */
|
|
3730
|
+
code: string;
|
|
3731
|
+
/**
|
|
3732
|
+
* Message
|
|
3733
|
+
* @default
|
|
3734
|
+
*/
|
|
3735
|
+
message: string;
|
|
3736
|
+
/** Params */
|
|
3737
|
+
params?: {
|
|
3738
|
+
[key: string]: string | number | boolean | string[];
|
|
3739
|
+
};
|
|
3740
|
+
/** Severity */
|
|
3741
|
+
severity: string;
|
|
3742
|
+
};
|
|
3725
3743
|
/** BrandingDesignPreview */
|
|
3726
3744
|
BrandingDesignPreview: {
|
|
3745
|
+
/** Dark Strategy */
|
|
3746
|
+
dark_strategy?: string | null;
|
|
3727
3747
|
/** Font Family */
|
|
3728
3748
|
font_family?: string | null;
|
|
3729
3749
|
/** Mood */
|
|
3730
3750
|
mood?: string | null;
|
|
3751
|
+
/** Neutral Tint */
|
|
3752
|
+
neutral_tint?: string | null;
|
|
3731
3753
|
/** Preset Base */
|
|
3732
3754
|
preset_base?: string | null;
|
|
3755
|
+
/** Primary Color */
|
|
3756
|
+
primary_color?: string | null;
|
|
3733
3757
|
/** Radius Rem */
|
|
3734
3758
|
radius_rem?: number | null;
|
|
3759
|
+
/** Recolor Preset */
|
|
3760
|
+
recolor_preset?: boolean | null;
|
|
3735
3761
|
swatches?: components["schemas"]["BrandingDesignSwatches"] | null;
|
|
3736
3762
|
};
|
|
3737
3763
|
/** BrandingDesignSource */
|
|
@@ -3762,6 +3788,8 @@ export interface components {
|
|
|
3762
3788
|
};
|
|
3763
3789
|
/** BrandingDesignVariant */
|
|
3764
3790
|
BrandingDesignVariant: {
|
|
3791
|
+
/** Changed Seeds */
|
|
3792
|
+
changed_seeds?: string[];
|
|
3765
3793
|
contrast?: components["schemas"]["BrandingDesignContrast"] | null;
|
|
3766
3794
|
document: components["schemas"]["BrandingDesignDocument"];
|
|
3767
3795
|
/**
|