@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/schema.d.ts CHANGED
@@ -2851,6 +2851,40 @@ export interface paths {
2851
2851
  patch?: never;
2852
2852
  trace?: never;
2853
2853
  };
2854
+ "/v1/whitelabel-branding/email/preview": {
2855
+ parameters: {
2856
+ query?: never;
2857
+ header?: never;
2858
+ path?: never;
2859
+ cookie?: never;
2860
+ };
2861
+ get?: never;
2862
+ put?: never;
2863
+ /** Preview a transactional email template with a draft branding document */
2864
+ post: operations["preview_whitelabel_email_v1_whitelabel_branding_email_preview_post"];
2865
+ delete?: never;
2866
+ options?: never;
2867
+ head?: never;
2868
+ patch?: never;
2869
+ trace?: never;
2870
+ };
2871
+ "/v1/whitelabel-branding/email/templates": {
2872
+ parameters: {
2873
+ query?: never;
2874
+ header?: never;
2875
+ path?: never;
2876
+ cookie?: never;
2877
+ };
2878
+ /** List the editable transactional email templates and their content blocks */
2879
+ get: operations["list_whitelabel_email_templates_v1_whitelabel_branding_email_templates_get"];
2880
+ put?: never;
2881
+ post?: never;
2882
+ delete?: never;
2883
+ options?: never;
2884
+ head?: never;
2885
+ patch?: never;
2886
+ trace?: never;
2887
+ };
2854
2888
  "/v1/whitelabel-branding/recheck": {
2855
2889
  parameters: {
2856
2890
  query?: never;
@@ -2977,6 +3011,21 @@ export interface components {
2977
3011
  * @enum {string}
2978
3012
  */
2979
3013
  AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer" | "country_code" | "uri_template";
3014
+ /**
3015
+ * Auth
3016
+ * @description Pre-login OAuth bootstrap. The SPA resolves this document by hostname before login and uses
3017
+ * `client_id` (the org's `wl-<organization_id>` Keycloak client) + `authority` (the OIDC issuer on
3018
+ * the customer's auth host) to start the flow; absent, it falls back to the default dashboard client.
3019
+ *
3020
+ * System-owned: written only by onboarding (via branding-service's set-auth endpoint), never by a
3021
+ * customer document write - branding-service preserves this block across customer upserts.
3022
+ */
3023
+ Auth: {
3024
+ /** Authority */
3025
+ authority?: string | null;
3026
+ /** Client Id */
3027
+ client_id?: string | null;
3028
+ };
2980
3029
  /**
2981
3030
  * BatchSortField
2982
3031
  * @enum {string}
@@ -3102,6 +3151,24 @@ export interface components {
3102
3151
  * @enum {string}
3103
3152
  */
3104
3153
  BillingTransactionStatus: "pending" | "succeeded" | "failed" | "canceled";
3154
+ /** Brand */
3155
+ Brand: {
3156
+ logo?: components["schemas"]["Logo"] | null;
3157
+ /** Name */
3158
+ name?: string | null;
3159
+ };
3160
+ /** BrandingDocument */
3161
+ BrandingDocument: {
3162
+ auth?: components["schemas"]["Auth"] | null;
3163
+ brand?: components["schemas"]["Brand"] | null;
3164
+ content?: components["schemas"]["Content"] | null;
3165
+ theme?: components["schemas"]["Theme"] | null;
3166
+ /**
3167
+ * Version
3168
+ * @default 1
3169
+ */
3170
+ version: number;
3171
+ };
3105
3172
  /** BrowserStatsBucket */
3106
3173
  BrowserStatsBucket: {
3107
3174
  /** Key */
@@ -4204,6 +4271,16 @@ export interface components {
4204
4271
  kind: "contacts";
4205
4272
  payload: components["schemas"]["ContextPayload_RegistrarContact_"];
4206
4273
  };
4274
+ /** Content */
4275
+ Content: {
4276
+ /** Email Blocks */
4277
+ email_blocks?: Record<string, never> | null;
4278
+ footer?: components["schemas"]["Footer"] | null;
4279
+ legal?: components["schemas"]["Legal"] | null;
4280
+ /** Signature */
4281
+ signature?: string | null;
4282
+ support?: components["schemas"]["Support"] | null;
4283
+ };
4207
4284
  /** ContextListResponse */
4208
4285
  ContextListResponse: {
4209
4286
  pagination: components["schemas"]["PaginationMetadata"];
@@ -7761,6 +7838,19 @@ export interface components {
7761
7838
  * @enum {string}
7762
7839
  */
7763
7840
  ExecutingEntity: "user" | "organization" | "system";
7841
+ /** Footer */
7842
+ Footer: {
7843
+ /** Contact Email */
7844
+ contact_email?: string | null;
7845
+ /** Disclaimer */
7846
+ disclaimer?: string | null;
7847
+ /** Legal Entity */
7848
+ legal_entity?: string | null;
7849
+ /** Lines */
7850
+ lines?: string[] | null;
7851
+ /** Vat Id */
7852
+ vat_id?: string | null;
7853
+ };
7764
7854
  /** GeneralAvailabilityBase */
7765
7855
  GeneralAvailabilityBase: {
7766
7856
  /**
@@ -8536,6 +8626,13 @@ export interface components {
8536
8626
  phases: components["schemas"]["LaunchPhaseBase"][];
8537
8627
  trademark_claims?: components["schemas"]["TrademarkClaimsBase"] | null;
8538
8628
  };
8629
+ /** Legal */
8630
+ Legal: {
8631
+ /** Privacy Url */
8632
+ privacy_url?: string | null;
8633
+ /** Terms Url */
8634
+ terms_url?: string | null;
8635
+ };
8539
8636
  /** LegalRequirementBase */
8540
8637
  LegalRequirementBase: {
8541
8638
  /**
@@ -8616,6 +8713,17 @@ export interface components {
8616
8713
  * @enum {string}
8617
8714
  */
8618
8715
  LocalPresenceRequirementType: "physical_address" | "business_entity";
8716
+ /** Logo */
8717
+ Logo: {
8718
+ /** Dark */
8719
+ dark?: string | null;
8720
+ /** Favicon */
8721
+ favicon?: string | null;
8722
+ /** Icon */
8723
+ icon?: string | null;
8724
+ /** Light */
8725
+ light?: string | null;
8726
+ };
8619
8727
  /** MemoryFact */
8620
8728
  MemoryFact: {
8621
8729
  /**
@@ -9656,6 +9764,53 @@ export interface components {
9656
9764
  /** Results */
9657
9765
  results: components["schemas"]["UserPublicWithRole"][];
9658
9766
  };
9767
+ /** Palette */
9768
+ Palette: {
9769
+ /** Accent */
9770
+ accent?: string | null;
9771
+ /** Accent Foreground */
9772
+ accent_foreground?: string | null;
9773
+ /** Background */
9774
+ background?: string | null;
9775
+ /** Border */
9776
+ border?: string | null;
9777
+ /** Card */
9778
+ card?: string | null;
9779
+ /** Card Foreground */
9780
+ card_foreground?: string | null;
9781
+ /** Chart Colors */
9782
+ chart_colors?: string[] | null;
9783
+ /** Danger */
9784
+ danger?: string | null;
9785
+ /** Foreground */
9786
+ foreground?: string | null;
9787
+ /** Info */
9788
+ info?: string | null;
9789
+ /** Input */
9790
+ input?: string | null;
9791
+ /** Muted */
9792
+ muted?: string | null;
9793
+ /** Muted Foreground */
9794
+ muted_foreground?: string | null;
9795
+ /** Primary */
9796
+ primary?: string | null;
9797
+ /** Primary Foreground */
9798
+ primary_foreground?: string | null;
9799
+ /** Secondary */
9800
+ secondary?: string | null;
9801
+ /** Secondary Foreground */
9802
+ secondary_foreground?: string | null;
9803
+ /** Sidebar */
9804
+ sidebar?: string | null;
9805
+ /** Sidebar Foreground */
9806
+ sidebar_foreground?: string | null;
9807
+ /** Success */
9808
+ success?: string | null;
9809
+ /** Tag Colors */
9810
+ tag_colors?: string[] | null;
9811
+ /** Warning */
9812
+ warning?: string | null;
9813
+ };
9659
9814
  /** ParkingActionPayloadData */
9660
9815
  ParkingActionPayloadData: {
9661
9816
  /** Parking Reference */
@@ -10184,6 +10339,23 @@ export interface components {
10184
10339
  * @enum {string}
10185
10340
  */
10186
10341
  PremiumSourceType: "EPP" | "API" | "CSV" | "manual";
10342
+ /** PreviewMailReq */
10343
+ PreviewMailReq: {
10344
+ branding_document?: components["schemas"]["BrandingDocument"] | null;
10345
+ /** Language Code */
10346
+ language_code: string;
10347
+ /** Template Name */
10348
+ template_name: string;
10349
+ };
10350
+ /** PreviewMailRes */
10351
+ PreviewMailRes: {
10352
+ /** Html */
10353
+ html: string;
10354
+ /** Subject */
10355
+ subject: string;
10356
+ /** Text */
10357
+ text: string;
10358
+ };
10187
10359
  /** PriceInfo */
10188
10360
  PriceInfo: {
10189
10361
  /** Currency */
@@ -10550,6 +10722,14 @@ export interface components {
10550
10722
  * @enum {string}
10551
10723
  */
10552
10724
  RenewalMode: "renew" | "expire";
10725
+ /**
10726
+ * RenewalModeDTO
10727
+ * @description Wire mirror of the domain `RenewalMode` vocabulary — local so dns_client doesn't
10728
+ * pull schema imports. The subscription itself has no renewal_mode column; api-nameserver
10729
+ * derives this from whether a renewal is scheduled.
10730
+ * @enum {string}
10731
+ */
10732
+ RenewalModeDTO: "renew" | "expire";
10553
10733
  /**
10554
10734
  * ReportStatus
10555
10735
  * @enum {string}
@@ -10736,6 +10916,13 @@ export interface components {
10736
10916
  StatusTagType: "VERIFICATION_REQUIRED" | "CREATE_REQUESTED";
10737
10917
  /** @example 12.50 */
10738
10918
  StrictMoneyDecimal: string;
10919
+ /** Support */
10920
+ Support: {
10921
+ /** Email */
10922
+ email?: string | null;
10923
+ /** Url */
10924
+ url?: string | null;
10925
+ };
10739
10926
  /**
10740
10927
  * SyncOperationType
10741
10928
  * @enum {string}
@@ -10860,6 +11047,17 @@ export interface components {
10860
11047
  */
10861
11048
  label?: string | null;
10862
11049
  };
11050
+ /** Theme */
11051
+ Theme: {
11052
+ dark?: components["schemas"]["Palette"] | null;
11053
+ /** Font Family */
11054
+ font_family?: string | null;
11055
+ /** Font Url */
11056
+ font_url?: string | null;
11057
+ light?: components["schemas"]["Palette"] | null;
11058
+ /** Radius */
11059
+ radius?: string | null;
11060
+ };
10863
11061
  /**
10864
11062
  * TimeRange
10865
11063
  * @enum {string}
@@ -11858,6 +12056,16 @@ export interface components {
11858
12056
  * `VanityNameserverSetDTO` stays the brandable-only read shape (always ACTIVE).
11859
12057
  */
11860
12058
  VanityNameserverSetSummaryDTO: {
12059
+ /**
12060
+ * Expires On
12061
+ * @description When the vanity nameserver set's current service period ends (renews or lapses)
12062
+ */
12063
+ expires_on?: Date | null;
12064
+ /**
12065
+ * Grace Period Ends At
12066
+ * @description When the grace period ends, or null when the set is not in a grace period
12067
+ */
12068
+ grace_period_ends_at?: Date | null;
11861
12069
  /**
11862
12070
  * Is Default
11863
12071
  * @description Whether this is the org's default vanity NS set
@@ -11885,6 +12093,13 @@ export interface components {
11885
12093
  * @description Parent domain used as the apex of the vanity NS zone
11886
12094
  */
11887
12095
  parent_domain_name: string;
12096
+ /**
12097
+ * Renew Scheduled At
12098
+ * @description When the next automatic renewal is scheduled. Null when the set will not renew.
12099
+ */
12100
+ renew_scheduled_at?: Date | null;
12101
+ /** @description Whether the set is set to renew or expire at the end of the current period */
12102
+ renewal_mode?: components["schemas"]["RenewalModeDTO"] | null;
11888
12103
  /**
11889
12104
  * Set Id
11890
12105
  * Format: typeid
@@ -26013,6 +26228,82 @@ export interface operations {
26013
26228
  };
26014
26229
  };
26015
26230
  };
26231
+ preview_whitelabel_email_v1_whitelabel_branding_email_preview_post: {
26232
+ parameters: {
26233
+ query?: never;
26234
+ header?: {
26235
+ /**
26236
+ * @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.
26237
+ * @example rfc3339
26238
+ */
26239
+ "X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
26240
+ };
26241
+ path?: never;
26242
+ cookie?: never;
26243
+ };
26244
+ requestBody: {
26245
+ content: {
26246
+ "application/json": components["schemas"]["PreviewMailReq"];
26247
+ };
26248
+ };
26249
+ responses: {
26250
+ /** @description Successful Response */
26251
+ 200: {
26252
+ headers: {
26253
+ [name: string]: unknown;
26254
+ };
26255
+ content: {
26256
+ "application/json": components["schemas"]["PreviewMailRes"];
26257
+ };
26258
+ };
26259
+ /** @description Validation Error */
26260
+ 422: {
26261
+ headers: {
26262
+ [name: string]: unknown;
26263
+ };
26264
+ content: {
26265
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
26266
+ };
26267
+ };
26268
+ };
26269
+ };
26270
+ list_whitelabel_email_templates_v1_whitelabel_branding_email_templates_get: {
26271
+ parameters: {
26272
+ query?: never;
26273
+ header?: {
26274
+ /**
26275
+ * @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.
26276
+ * @example rfc3339
26277
+ */
26278
+ "X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
26279
+ };
26280
+ path?: never;
26281
+ cookie?: never;
26282
+ };
26283
+ requestBody?: never;
26284
+ responses: {
26285
+ /** @description Successful Response */
26286
+ 200: {
26287
+ headers: {
26288
+ [name: string]: unknown;
26289
+ };
26290
+ content: {
26291
+ "application/json": {
26292
+ [key: string]: unknown;
26293
+ };
26294
+ };
26295
+ };
26296
+ /** @description Validation Error */
26297
+ 422: {
26298
+ headers: {
26299
+ [name: string]: unknown;
26300
+ };
26301
+ content: {
26302
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
26303
+ };
26304
+ };
26305
+ };
26306
+ };
26016
26307
  recheck_whitelabel_branding_v1_whitelabel_branding_recheck_post: {
26017
26308
  parameters: {
26018
26309
  query?: never;