@opusdns/api 0.93.0 → 0.95.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
@@ -178,6 +178,26 @@ export interface paths {
178
178
  patch?: never;
179
179
  trace?: never;
180
180
  };
181
+ "/v1/dns/domain-forwards": {
182
+ parameters: {
183
+ query?: never;
184
+ header?: never;
185
+ path?: never;
186
+ cookie?: never;
187
+ };
188
+ /**
189
+ * List domain forwards by zone
190
+ * @description Retrieves a paginated list of domain forwards grouped by DNS zones.
191
+ */
192
+ get: operations["list_domain_forwards_by_zone_v1_dns_domain_forwards_get"];
193
+ put?: never;
194
+ post?: never;
195
+ delete?: never;
196
+ options?: never;
197
+ head?: never;
198
+ patch?: never;
199
+ trace?: never;
200
+ };
181
201
  "/v1/dns/summary": {
182
202
  parameters: {
183
203
  query?: never;
@@ -247,6 +267,26 @@ export interface paths {
247
267
  patch?: never;
248
268
  trace?: never;
249
269
  };
270
+ "/v1/dns/{zone_name}/domain-forwards": {
271
+ parameters: {
272
+ query?: never;
273
+ header?: never;
274
+ path?: never;
275
+ cookie?: never;
276
+ };
277
+ /**
278
+ * List domain forwards for a zone
279
+ * @description Retrieves all domain forwards configured for the specified DNS zone, including subdomains.
280
+ */
281
+ get: operations["list_zone_domain_forwards_v1_dns__zone_name__domain_forwards_get"];
282
+ put?: never;
283
+ post?: never;
284
+ delete?: never;
285
+ options?: never;
286
+ head?: never;
287
+ patch?: never;
288
+ trace?: never;
289
+ };
250
290
  "/v1/dns/{zone_name}/records": {
251
291
  parameters: {
252
292
  query?: never;
@@ -289,18 +329,52 @@ export interface paths {
289
329
  path?: never;
290
330
  cookie?: never;
291
331
  };
292
- /** List Domain Forwards */
332
+ /**
333
+ * List domain forwards
334
+ * @description Retrieves a paginated list of domain forwards for the organization
335
+ */
293
336
  get: operations["list_domain_forwards_v1_domain_forwards_get"];
294
337
  put?: never;
295
338
  post?: never;
296
339
  delete?: never;
297
340
  options?: never;
298
341
  head?: never;
299
- /** Patch Redirects */
342
+ /**
343
+ * Patch domain forward redirects
344
+ * @description Applies patch operations to update or remove redirects across hostnames and protocols. Raises an error if the domain forward or domain forward set does not exist.
345
+ */
300
346
  patch: operations["patch_redirects_v1_domain_forwards_patch"];
301
347
  trace?: never;
302
348
  };
303
- "/v1/domain-forwards/{zone_name}/disable": {
349
+ "/v1/domain-forwards/{hostname}": {
350
+ parameters: {
351
+ query?: never;
352
+ header?: never;
353
+ path?: never;
354
+ cookie?: never;
355
+ };
356
+ /**
357
+ * Get a domain forward
358
+ * @description Retrieves the domain forward configuration for the specified hostname
359
+ */
360
+ get: operations["get_domain_forward_v1_domain_forwards__hostname__get"];
361
+ put?: never;
362
+ /**
363
+ * Create a domain forward
364
+ * @description Creates a new domain forward configuration for the specified hostname
365
+ */
366
+ post: operations["create_domain_forward_v1_domain_forwards__hostname__post"];
367
+ /**
368
+ * Delete a domain forward
369
+ * @description Deletes the domain forward configuration for the specified hostname
370
+ */
371
+ delete: operations["delete_domain_forward_v1_domain_forwards__hostname__delete"];
372
+ options?: never;
373
+ head?: never;
374
+ patch?: never;
375
+ trace?: never;
376
+ };
377
+ "/v1/domain-forwards/{hostname}/disable": {
304
378
  parameters: {
305
379
  query?: never;
306
380
  header?: never;
@@ -313,11 +387,14 @@ export interface paths {
313
387
  delete?: never;
314
388
  options?: never;
315
389
  head?: never;
316
- /** Disable Domain Forward */
317
- patch: operations["disable_domain_forward_v1_domain_forwards__zone_name__disable_patch"];
390
+ /**
391
+ * Disable domain forward
392
+ * @description Disables domain forwarding by removing DNS records. The domain forward configuration is preserved but disabled.
393
+ */
394
+ patch: operations["disable_domain_forward_v1_domain_forwards__hostname__disable_patch"];
318
395
  trace?: never;
319
396
  };
320
- "/v1/domain-forwards/{zone_name}/enable": {
397
+ "/v1/domain-forwards/{hostname}/enable": {
321
398
  parameters: {
322
399
  query?: never;
323
400
  header?: never;
@@ -330,25 +407,40 @@ export interface paths {
330
407
  delete?: never;
331
408
  options?: never;
332
409
  head?: never;
333
- /** Enable Domain Forward */
334
- patch: operations["enable_domain_forward_v1_domain_forwards__zone_name__enable_patch"];
410
+ /**
411
+ * Enable domain forward
412
+ * @description Enables domain forwarding by creating necessary DNS records. Optionally auto-creates the zone and domain forward if they don't exist.
413
+ */
414
+ patch: operations["enable_domain_forward_v1_domain_forwards__hostname__enable_patch"];
335
415
  trace?: never;
336
416
  };
337
- "/v1/domain-forwards/{zone_name}/{request_protocol}": {
417
+ "/v1/domain-forwards/{hostname}/{protocol}": {
338
418
  parameters: {
339
419
  query?: never;
340
420
  header?: never;
341
421
  path?: never;
342
422
  cookie?: never;
343
423
  };
344
- /** Get Domain Forward */
345
- get: operations["get_domain_forward_v1_domain_forwards__zone_name___request_protocol__get"];
346
- /** Update Domain Forward */
347
- put: operations["update_domain_forward_v1_domain_forwards__zone_name___request_protocol__put"];
348
- /** Create Domain Forward */
349
- post: operations["create_domain_forward_v1_domain_forwards__zone_name___request_protocol__post"];
350
- /** Delete Domain Forward */
351
- delete: operations["delete_domain_forward_v1_domain_forwards__zone_name___request_protocol__delete"];
424
+ /**
425
+ * Get domain forward set
426
+ * @description Retrieves all redirects for a specific protocol (HTTP or HTTPS) for the specified hostname
427
+ */
428
+ get: operations["get_domain_forward_set_v1_domain_forwards__hostname___protocol__get"];
429
+ /**
430
+ * Update domain forward set
431
+ * @description Updates an existing domain forward set for a specific protocol (HTTP or HTTPS). All existing redirects for this protocol are replaced with the provided redirects. Raises an error if the set does not exist.
432
+ */
433
+ put: operations["update_domain_forward_set_v1_domain_forwards__hostname___protocol__put"];
434
+ /**
435
+ * Create domain forward set
436
+ * @description Creates a new domain forward set for a specific protocol (HTTP or HTTPS). Raises an error if the set already exists.
437
+ */
438
+ post: operations["create_domain_forward_set_v1_domain_forwards__hostname___protocol__post"];
439
+ /**
440
+ * Delete domain forward set
441
+ * @description Deletes a domain forward set for a specific protocol (HTTP or HTTPS).
442
+ */
443
+ delete: operations["delete_domain_forward_set_v1_domain_forwards__hostname___protocol__delete"];
352
444
  options?: never;
353
445
  head?: never;
354
446
  patch?: never;
@@ -2276,58 +2368,102 @@ export interface components {
2276
2368
  * Format: date-time
2277
2369
  */
2278
2370
  created_on: Date;
2279
- /** Redirects */
2280
- redirects: components["schemas"]["HttpRedirect"][];
2281
- request_protocol: components["schemas"]["HttpProtocol"];
2371
+ /** Enabled */
2372
+ enabled: boolean;
2373
+ /** Hostname */
2374
+ hostname: string;
2375
+ http?: components["schemas"]["DomainForwardProtocolSetResponse"] | null;
2376
+ https?: components["schemas"]["DomainForwardProtocolSetResponse"] | null;
2282
2377
  /**
2283
2378
  * Updated On
2284
2379
  * Format: date-time
2285
2380
  */
2286
2381
  updated_on: Date;
2287
- /**
2288
- * Wildcard
2289
- * @default false
2290
- */
2382
+ /** Wildcard */
2291
2383
  wildcard: boolean;
2292
- /** Zone Name */
2293
- zone_name: string;
2294
2384
  };
2295
2385
  /** DomainForwardPatchOp */
2296
2386
  DomainForwardPatchOp: {
2297
2387
  op: components["schemas"]["PatchOp"];
2298
2388
  /** Redirect */
2299
- redirect: components["schemas"]["HttpRedirect"] | components["schemas"]["HttpRedirectRemove"];
2300
- request_protocol: components["schemas"]["HttpProtocol"];
2301
- /** Zone Name */
2302
- zone_name: string;
2389
+ redirect: components["schemas"]["HttpRedirectUpsert"] | components["schemas"]["HttpRedirectRemove"];
2303
2390
  };
2304
2391
  /** DomainForwardPatchOps */
2305
2392
  DomainForwardPatchOps: {
2306
2393
  /** Ops */
2307
2394
  ops: components["schemas"]["DomainForwardPatchOp"][];
2308
2395
  };
2309
- /** DomainForwardProtocols */
2310
- DomainForwardProtocols: {
2311
- http?: components["schemas"]["ProtocolRedirects"] | null;
2312
- https?: components["schemas"]["ProtocolRedirects"] | null;
2396
+ /** DomainForwardProtocolSetRequest */
2397
+ DomainForwardProtocolSetRequest: {
2398
+ /** Redirects */
2399
+ redirects: (components["schemas"]["HttpRedirectRequest"] | components["schemas"]["WildcardHttpRedirectRequest"])[];
2400
+ /** Wildcard */
2401
+ wildcard?: boolean | null;
2402
+ };
2403
+ /** DomainForwardProtocolSetResponse */
2404
+ DomainForwardProtocolSetResponse: {
2405
+ /**
2406
+ * Created On
2407
+ * Format: date-time
2408
+ */
2409
+ created_on: Date;
2410
+ /** Redirects */
2411
+ redirects: components["schemas"]["HttpRedirectListResponse"][];
2412
+ /**
2413
+ * Updated On
2414
+ * Format: date-time
2415
+ */
2416
+ updated_on: Date;
2417
+ /** Wildcard */
2418
+ wildcard: boolean;
2313
2419
  };
2314
2420
  /** DomainForwardRequest */
2315
2421
  DomainForwardRequest: {
2316
- /** Redirects */
2317
- redirects: components["schemas"]["HttpRedirect"][];
2318
2422
  /**
2319
- * Wildcard
2423
+ * Enabled
2320
2424
  * @default false
2321
2425
  */
2426
+ enabled: boolean;
2427
+ http?: components["schemas"]["DomainForwardProtocolSetRequest"] | null;
2428
+ https?: components["schemas"]["DomainForwardProtocolSetRequest"] | null;
2429
+ /** Wildcard */
2430
+ wildcard?: boolean | null;
2431
+ };
2432
+ /** DomainForwardSetRequest */
2433
+ DomainForwardSetRequest: {
2434
+ /** Redirects */
2435
+ redirects: (components["schemas"]["HttpRedirectRequest"] | components["schemas"]["WildcardHttpRedirectRequest"])[];
2436
+ };
2437
+ /** DomainForwardSetResponse */
2438
+ DomainForwardSetResponse: {
2439
+ /**
2440
+ * Created On
2441
+ * Format: date-time
2442
+ */
2443
+ created_on: Date;
2444
+ /** Hostname */
2445
+ hostname: string;
2446
+ protocol: components["schemas"]["HttpProtocol"];
2447
+ /** Redirects */
2448
+ redirects: components["schemas"]["HttpRedirectListResponse"][];
2449
+ /**
2450
+ * Updated On
2451
+ * Format: date-time
2452
+ */
2453
+ updated_on: Date;
2454
+ /** Wildcard */
2322
2455
  wildcard: boolean;
2323
2456
  };
2324
2457
  /** DomainForwardZone */
2325
2458
  DomainForwardZone: {
2326
- /** Enabled */
2327
- enabled: boolean;
2328
- protocols: components["schemas"]["DomainForwardProtocols"];
2329
- /** Wildcard */
2330
- wildcard: boolean;
2459
+ /** Domain Forwards */
2460
+ domain_forwards: components["schemas"]["DomainForward"][];
2461
+ /**
2462
+ * Zone Id
2463
+ * Format: typeid
2464
+ * @example zone_01h45ytscbebyvny4gc8cr8ma2
2465
+ */
2466
+ zone_id: TypeId<"zone">;
2331
2467
  /** Zone Name */
2332
2468
  zone_name: string;
2333
2469
  };
@@ -2952,27 +3088,58 @@ export interface components {
2952
3088
  * @enum {string}
2953
3089
  */
2954
3090
  HttpProtocol: "http" | "https";
2955
- /** HttpRedirect */
2956
- HttpRedirect: {
3091
+ /** HttpRedirectListResponse */
3092
+ HttpRedirectListResponse: {
2957
3093
  redirect_code: components["schemas"]["RedirectCode"];
3094
+ /** Request Hostname */
3095
+ request_hostname: string;
2958
3096
  /** Request Path */
2959
3097
  request_path: string;
3098
+ request_protocol: components["schemas"]["HttpProtocol"];
2960
3099
  /** Request Subdomain */
2961
3100
  request_subdomain?: string | null;
2962
- /** Target Domain */
2963
- target_domain: string;
3101
+ /** Target Hostname */
3102
+ target_hostname: string;
2964
3103
  /** Target Path */
2965
3104
  target_path: string;
2966
3105
  target_protocol: components["schemas"]["HttpProtocol"];
2967
- /** Target Subdomain */
2968
- target_subdomain?: string | null;
2969
3106
  };
2970
3107
  /** HttpRedirectRemove */
2971
3108
  HttpRedirectRemove: {
3109
+ /** Request Hostname */
3110
+ request_hostname: string;
3111
+ /** Request Path */
3112
+ request_path: string;
3113
+ request_protocol: components["schemas"]["HttpProtocol"];
3114
+ /** Request Subdomain */
3115
+ request_subdomain?: string | null;
3116
+ };
3117
+ /** HttpRedirectRequest */
3118
+ HttpRedirectRequest: {
3119
+ redirect_code: components["schemas"]["RedirectCode"];
3120
+ /** Request Path */
3121
+ request_path: string;
3122
+ /** Target Hostname */
3123
+ target_hostname: string;
3124
+ /** Target Path */
3125
+ target_path: string;
3126
+ target_protocol: components["schemas"]["HttpProtocol"];
3127
+ };
3128
+ /** HttpRedirectUpsert */
3129
+ HttpRedirectUpsert: {
3130
+ redirect_code: components["schemas"]["RedirectCode"];
3131
+ /** Request Hostname */
3132
+ request_hostname: string;
2972
3133
  /** Request Path */
2973
3134
  request_path: string;
3135
+ request_protocol?: components["schemas"]["HttpProtocol"] | null;
2974
3136
  /** Request Subdomain */
2975
3137
  request_subdomain?: string | null;
3138
+ /** Target Hostname */
3139
+ target_hostname: string;
3140
+ /** Target Path */
3141
+ target_path: string;
3142
+ target_protocol: components["schemas"]["HttpProtocol"];
2976
3143
  };
2977
3144
  /** IdnBase */
2978
3145
  IdnBase: {
@@ -3732,6 +3899,12 @@ export interface components {
3732
3899
  /** Results */
3733
3900
  results: components["schemas"]["DomainForwardZone"][];
3734
3901
  };
3902
+ /** Pagination[DomainForward] */
3903
+ Pagination_DomainForward_: {
3904
+ pagination: components["schemas"]["PaginationMetadata"];
3905
+ /** Results */
3906
+ results: components["schemas"]["DomainForward"][];
3907
+ };
3735
3908
  /** Pagination[DomainResponse] */
3736
3909
  Pagination_DomainResponse_: {
3737
3910
  pagination: components["schemas"]["PaginationMetadata"];
@@ -3878,11 +4051,6 @@ export interface components {
3878
4051
  /** Problem type */
3879
4052
  type: string;
3880
4053
  };
3881
- /** ProtocolRedirects */
3882
- ProtocolRedirects: {
3883
- /** Redirects */
3884
- redirects: components["schemas"]["HttpRedirect"][];
3885
- };
3886
4054
  /** PublicAuthRequestForm */
3887
4055
  PublicAuthRequestForm: {
3888
4056
  /**
@@ -4578,6 +4746,19 @@ export interface components {
4578
4746
  */
4579
4747
  whois_server?: string | null;
4580
4748
  };
4749
+ /** WildcardHttpRedirectRequest */
4750
+ WildcardHttpRedirectRequest: {
4751
+ redirect_code: components["schemas"]["RedirectCode"];
4752
+ /** Request Path */
4753
+ request_path: string;
4754
+ /** Request Subdomain */
4755
+ request_subdomain: string;
4756
+ /** Target Hostname */
4757
+ target_hostname: string;
4758
+ /** Target Path */
4759
+ target_path: string;
4760
+ target_protocol: components["schemas"]["HttpProtocol"];
4761
+ };
4581
4762
  /**
4582
4763
  * ZoneSortField
4583
4764
  * @enum {string}
@@ -5557,6 +5738,80 @@ export interface operations {
5557
5738
  };
5558
5739
  };
5559
5740
  };
5741
+ list_domain_forwards_by_zone_v1_dns_domain_forwards_get: {
5742
+ parameters: {
5743
+ query?: {
5744
+ sort_by?: components["schemas"]["ZoneSortField"];
5745
+ sort_order?: components["schemas"]["SortOrder"];
5746
+ dnssec_status?: components["schemas"]["DnssecStatus"] | null;
5747
+ name?: string | null;
5748
+ search?: string | null;
5749
+ suffix?: string | null;
5750
+ created_after?: Date | null;
5751
+ created_before?: Date | null;
5752
+ updated_after?: Date | null;
5753
+ updated_before?: Date | null;
5754
+ page?: number;
5755
+ page_size?: number;
5756
+ };
5757
+ header?: never;
5758
+ path?: never;
5759
+ cookie?: never;
5760
+ };
5761
+ requestBody?: never;
5762
+ responses: {
5763
+ /** @description Successful Response */
5764
+ 200: {
5765
+ headers: {
5766
+ [name: string]: unknown;
5767
+ };
5768
+ content: {
5769
+ "application/json": components["schemas"]["Pagination_DomainForwardZone_"];
5770
+ };
5771
+ };
5772
+ /** @description Unauthorized */
5773
+ 401: {
5774
+ headers: {
5775
+ [name: string]: unknown;
5776
+ };
5777
+ content: {
5778
+ /** @example {
5779
+ * "code": "ERROR_AUTHENTICATION",
5780
+ * "detail": "Additional error context.",
5781
+ * "status": 401,
5782
+ * "title": "Authentication Error",
5783
+ * "type": "authentication"
5784
+ * } */
5785
+ "application/problem+json": components["schemas"]["Problem"];
5786
+ };
5787
+ };
5788
+ /** @description Forbidden */
5789
+ 403: {
5790
+ headers: {
5791
+ [name: string]: unknown;
5792
+ };
5793
+ content: {
5794
+ /** @example {
5795
+ * "code": "ERROR_PERMISSION_DENIED",
5796
+ * "detail": "Insufficient permissions to perform this action",
5797
+ * "status": 403,
5798
+ * "title": "Permission Denied",
5799
+ * "type": "permission-denied"
5800
+ * } */
5801
+ "application/problem+json": components["schemas"]["Problem"];
5802
+ };
5803
+ };
5804
+ /** @description Validation Error */
5805
+ 422: {
5806
+ headers: {
5807
+ [name: string]: unknown;
5808
+ };
5809
+ content: {
5810
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
5811
+ };
5812
+ };
5813
+ };
5814
+ };
5560
5815
  get_zones_summary_v1_dns_summary_get: {
5561
5816
  parameters: {
5562
5817
  query?: never;
@@ -5703,7 +5958,7 @@ export interface operations {
5703
5958
  };
5704
5959
  };
5705
5960
  };
5706
- patch_zone_records_v1_dns__zone_name__records_patch: {
5961
+ list_zone_domain_forwards_v1_dns__zone_name__domain_forwards_get: {
5707
5962
  parameters: {
5708
5963
  query?: never;
5709
5964
  header?: never;
@@ -5713,43 +5968,107 @@ export interface operations {
5713
5968
  };
5714
5969
  cookie?: never;
5715
5970
  };
5716
- requestBody: {
5717
- content: {
5718
- "application/json": components["schemas"]["DnsZoneRecordsPatchOps"];
5719
- };
5720
- };
5971
+ requestBody?: never;
5721
5972
  responses: {
5722
5973
  /** @description Successful Response */
5723
- 204: {
5974
+ 200: {
5724
5975
  headers: {
5725
5976
  [name: string]: unknown;
5726
5977
  };
5727
- content?: never;
5978
+ content: {
5979
+ "application/json": components["schemas"]["DomainForwardZone"];
5980
+ };
5728
5981
  };
5729
- /** @description Bad Request */
5730
- 400: {
5982
+ /** @description Unauthorized */
5983
+ 401: {
5731
5984
  headers: {
5732
5985
  [name: string]: unknown;
5733
5986
  };
5734
5987
  content: {
5735
5988
  /** @example {
5736
- * "code": "ERROR_DNS",
5989
+ * "code": "ERROR_AUTHENTICATION",
5737
5990
  * "detail": "Additional error context.",
5738
- * "status": 400,
5739
- * "title": "DNS Error",
5740
- * "type": "dns"
5991
+ * "status": 401,
5992
+ * "title": "Authentication Error",
5993
+ * "type": "authentication"
5741
5994
  * } */
5742
5995
  "application/problem+json": components["schemas"]["Problem"];
5743
5996
  };
5744
5997
  };
5745
- /** @description Validation Error */
5746
- 422: {
5998
+ /** @description Forbidden */
5999
+ 403: {
5747
6000
  headers: {
5748
6001
  [name: string]: unknown;
5749
6002
  };
5750
6003
  content: {
5751
- "application/problem+json": components["schemas"]["HTTPValidationError"];
5752
- };
6004
+ /** @example {
6005
+ * "code": "ERROR_PERMISSION_DENIED",
6006
+ * "detail": "Insufficient permissions to perform this action",
6007
+ * "status": 403,
6008
+ * "title": "Permission Denied",
6009
+ * "type": "permission-denied"
6010
+ * } */
6011
+ "application/problem+json": components["schemas"]["Problem"];
6012
+ };
6013
+ };
6014
+ /** @description Validation Error */
6015
+ 422: {
6016
+ headers: {
6017
+ [name: string]: unknown;
6018
+ };
6019
+ content: {
6020
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6021
+ };
6022
+ };
6023
+ };
6024
+ };
6025
+ patch_zone_records_v1_dns__zone_name__records_patch: {
6026
+ parameters: {
6027
+ query?: never;
6028
+ header?: never;
6029
+ path: {
6030
+ /** @description DNS zone name (trailing dot optional) */
6031
+ zone_name: string;
6032
+ };
6033
+ cookie?: never;
6034
+ };
6035
+ requestBody: {
6036
+ content: {
6037
+ "application/json": components["schemas"]["DnsZoneRecordsPatchOps"];
6038
+ };
6039
+ };
6040
+ responses: {
6041
+ /** @description Successful Response */
6042
+ 204: {
6043
+ headers: {
6044
+ [name: string]: unknown;
6045
+ };
6046
+ content?: never;
6047
+ };
6048
+ /** @description Bad Request */
6049
+ 400: {
6050
+ headers: {
6051
+ [name: string]: unknown;
6052
+ };
6053
+ content: {
6054
+ /** @example {
6055
+ * "code": "ERROR_DNS",
6056
+ * "detail": "Additional error context.",
6057
+ * "status": 400,
6058
+ * "title": "DNS Error",
6059
+ * "type": "dns"
6060
+ * } */
6061
+ "application/problem+json": components["schemas"]["Problem"];
6062
+ };
6063
+ };
6064
+ /** @description Validation Error */
6065
+ 422: {
6066
+ headers: {
6067
+ [name: string]: unknown;
6068
+ };
6069
+ content: {
6070
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6071
+ };
5753
6072
  };
5754
6073
  };
5755
6074
  };
@@ -5881,7 +6200,39 @@ export interface operations {
5881
6200
  [name: string]: unknown;
5882
6201
  };
5883
6202
  content: {
5884
- "application/json": components["schemas"]["Pagination_DomainForwardZone_"];
6203
+ "application/json": components["schemas"]["Pagination_DomainForward_"];
6204
+ };
6205
+ };
6206
+ /** @description Unauthorized */
6207
+ 401: {
6208
+ headers: {
6209
+ [name: string]: unknown;
6210
+ };
6211
+ content: {
6212
+ /** @example {
6213
+ * "code": "ERROR_AUTHENTICATION",
6214
+ * "detail": "Additional error context.",
6215
+ * "status": 401,
6216
+ * "title": "Authentication Error",
6217
+ * "type": "authentication"
6218
+ * } */
6219
+ "application/problem+json": components["schemas"]["Problem"];
6220
+ };
6221
+ };
6222
+ /** @description Forbidden */
6223
+ 403: {
6224
+ headers: {
6225
+ [name: string]: unknown;
6226
+ };
6227
+ content: {
6228
+ /** @example {
6229
+ * "code": "ERROR_PERMISSION_DENIED",
6230
+ * "detail": "Insufficient permissions to perform this action",
6231
+ * "status": 403,
6232
+ * "title": "Permission Denied",
6233
+ * "type": "permission-denied"
6234
+ * } */
6235
+ "application/problem+json": components["schemas"]["Problem"];
5885
6236
  };
5886
6237
  };
5887
6238
  /** @description Validation Error */
@@ -5915,86 +6266,53 @@ export interface operations {
5915
6266
  };
5916
6267
  content?: never;
5917
6268
  };
5918
- /** @description Not Found */
5919
- 404: {
6269
+ /** @description Unauthorized */
6270
+ 401: {
5920
6271
  headers: {
5921
6272
  [name: string]: unknown;
5922
6273
  };
5923
6274
  content: {
5924
6275
  /** @example {
5925
- * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
5926
- * "detail": "Domain forward not found",
5927
- * "status": 404,
5928
- * "title": "Domain Forward Error",
5929
- * "type": "domain-forward-not-found"
6276
+ * "code": "ERROR_AUTHENTICATION",
6277
+ * "detail": "Additional error context.",
6278
+ * "status": 401,
6279
+ * "title": "Authentication Error",
6280
+ * "type": "authentication"
5930
6281
  * } */
5931
6282
  "application/problem+json": components["schemas"]["Problem"];
5932
6283
  };
5933
6284
  };
5934
- /** @description Validation Error */
5935
- 422: {
6285
+ /** @description Forbidden */
6286
+ 403: {
5936
6287
  headers: {
5937
6288
  [name: string]: unknown;
5938
6289
  };
5939
6290
  content: {
5940
- "application/problem+json": components["schemas"]["HTTPValidationError"];
5941
- };
5942
- };
5943
- };
5944
- };
5945
- disable_domain_forward_v1_domain_forwards__zone_name__disable_patch: {
5946
- parameters: {
5947
- query?: never;
5948
- header?: never;
5949
- path: {
5950
- /** @description DNS zone name (trailing dot optional) */
5951
- zone_name: string;
5952
- };
5953
- cookie?: never;
5954
- };
5955
- requestBody?: never;
5956
- responses: {
5957
- /** @description Successful Response */
5958
- 204: {
5959
- headers: {
5960
- [name: string]: unknown;
6291
+ /** @example {
6292
+ * "code": "ERROR_PERMISSION_DENIED",
6293
+ * "detail": "Insufficient permissions to perform this action",
6294
+ * "status": 403,
6295
+ * "title": "Permission Denied",
6296
+ * "type": "permission-denied"
6297
+ * } */
6298
+ "application/problem+json": components["schemas"]["Problem"];
5961
6299
  };
5962
- content?: never;
5963
6300
  };
5964
- /** @description Validation Error */
5965
- 422: {
6301
+ /** @description Not Found */
6302
+ 404: {
5966
6303
  headers: {
5967
6304
  [name: string]: unknown;
5968
6305
  };
5969
6306
  content: {
5970
- "application/problem+json": components["schemas"]["HTTPValidationError"];
5971
- };
5972
- };
5973
- };
5974
- };
5975
- enable_domain_forward_v1_domain_forwards__zone_name__enable_patch: {
5976
- parameters: {
5977
- query?: {
5978
- /** @description Auto create zone if it doesn't exist */
5979
- auto_create_zone?: boolean;
5980
- /** @description Wildcard domain forwarding */
5981
- wildcard?: boolean;
5982
- };
5983
- header?: never;
5984
- path: {
5985
- /** @description DNS zone name (trailing dot optional) */
5986
- zone_name: string;
5987
- };
5988
- cookie?: never;
5989
- };
5990
- requestBody?: never;
5991
- responses: {
5992
- /** @description Successful Response */
5993
- 204: {
5994
- headers: {
5995
- [name: string]: unknown;
6307
+ /** @example {
6308
+ * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6309
+ * "detail": "Domain forward not found for Additional error context.",
6310
+ * "status": 404,
6311
+ * "title": "Domain Forward Error",
6312
+ * "type": "domain-forward-not-found"
6313
+ * } */
6314
+ "application/problem+json": components["schemas"]["Problem"];
5996
6315
  };
5997
- content?: never;
5998
6316
  };
5999
6317
  /** @description Validation Error */
6000
6318
  422: {
@@ -6007,14 +6325,13 @@ export interface operations {
6007
6325
  };
6008
6326
  };
6009
6327
  };
6010
- get_domain_forward_v1_domain_forwards__zone_name___request_protocol__get: {
6328
+ get_domain_forward_v1_domain_forwards__hostname__get: {
6011
6329
  parameters: {
6012
6330
  query?: never;
6013
6331
  header?: never;
6014
6332
  path: {
6015
- request_protocol: components["schemas"]["HttpProtocol"];
6016
- /** @description DNS zone name (trailing dot optional) */
6017
- zone_name: string;
6333
+ /** @description Hostname (trailing dot optional) */
6334
+ hostname: string;
6018
6335
  };
6019
6336
  cookie?: never;
6020
6337
  };
@@ -6029,41 +6346,36 @@ export interface operations {
6029
6346
  "application/json": components["schemas"]["DomainForward"];
6030
6347
  };
6031
6348
  };
6032
- /** @description Validation Error */
6033
- 422: {
6349
+ /** @description Unauthorized */
6350
+ 401: {
6034
6351
  headers: {
6035
6352
  [name: string]: unknown;
6036
6353
  };
6037
6354
  content: {
6038
- "application/problem+json": components["schemas"]["HTTPValidationError"];
6355
+ /** @example {
6356
+ * "code": "ERROR_AUTHENTICATION",
6357
+ * "detail": "Additional error context.",
6358
+ * "status": 401,
6359
+ * "title": "Authentication Error",
6360
+ * "type": "authentication"
6361
+ * } */
6362
+ "application/problem+json": components["schemas"]["Problem"];
6039
6363
  };
6040
6364
  };
6041
- };
6042
- };
6043
- update_domain_forward_v1_domain_forwards__zone_name___request_protocol__put: {
6044
- parameters: {
6045
- query?: never;
6046
- header?: never;
6047
- path: {
6048
- request_protocol: components["schemas"]["HttpProtocol"];
6049
- /** @description DNS zone name (trailing dot optional) */
6050
- zone_name: string;
6051
- };
6052
- cookie?: never;
6053
- };
6054
- requestBody: {
6055
- content: {
6056
- "application/json": components["schemas"]["DomainForwardRequest"];
6057
- };
6058
- };
6059
- responses: {
6060
- /** @description Successful Response */
6061
- 200: {
6365
+ /** @description Forbidden */
6366
+ 403: {
6062
6367
  headers: {
6063
6368
  [name: string]: unknown;
6064
6369
  };
6065
6370
  content: {
6066
- "application/json": components["schemas"]["DomainForward"];
6371
+ /** @example {
6372
+ * "code": "ERROR_PERMISSION_DENIED",
6373
+ * "detail": "Insufficient permissions to perform this action",
6374
+ * "status": 403,
6375
+ * "title": "Permission Denied",
6376
+ * "type": "permission-denied"
6377
+ * } */
6378
+ "application/problem+json": components["schemas"]["Problem"];
6067
6379
  };
6068
6380
  };
6069
6381
  /** @description Not Found */
@@ -6074,7 +6386,7 @@ export interface operations {
6074
6386
  content: {
6075
6387
  /** @example {
6076
6388
  * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6077
- * "detail": "Domain forward not found",
6389
+ * "detail": "Domain forward not found for Additional error context.",
6078
6390
  * "status": 404,
6079
6391
  * "title": "Domain Forward Error",
6080
6392
  * "type": "domain-forward-not-found"
@@ -6093,14 +6405,13 @@ export interface operations {
6093
6405
  };
6094
6406
  };
6095
6407
  };
6096
- create_domain_forward_v1_domain_forwards__zone_name___request_protocol__post: {
6408
+ create_domain_forward_v1_domain_forwards__hostname__post: {
6097
6409
  parameters: {
6098
6410
  query?: never;
6099
6411
  header?: never;
6100
6412
  path: {
6101
- request_protocol: components["schemas"]["HttpProtocol"];
6102
- /** @description DNS zone name (trailing dot optional) */
6103
- zone_name: string;
6413
+ /** @description Hostname (trailing dot optional) */
6414
+ hostname: string;
6104
6415
  };
6105
6416
  cookie?: never;
6106
6417
  };
@@ -6119,41 +6430,565 @@ export interface operations {
6119
6430
  "application/json": components["schemas"]["DomainForward"];
6120
6431
  };
6121
6432
  };
6122
- /** @description Conflict */
6123
- 409: {
6433
+ /** @description Unauthorized */
6434
+ 401: {
6124
6435
  headers: {
6125
6436
  [name: string]: unknown;
6126
6437
  };
6127
6438
  content: {
6128
6439
  /** @example {
6129
- * "code": "ERROR_DOMAIN_FORWARD_ALREADY_EXISTS",
6130
- * "detail": "Domain forward already exists",
6131
- * "status": 409,
6132
- * "title": "Domain Forward Error",
6133
- * "type": "domain-forward-already-exists"
6440
+ * "code": "ERROR_AUTHENTICATION",
6441
+ * "detail": "Additional error context.",
6442
+ * "status": 401,
6443
+ * "title": "Authentication Error",
6444
+ * "type": "authentication"
6134
6445
  * } */
6135
6446
  "application/problem+json": components["schemas"]["Problem"];
6136
6447
  };
6137
6448
  };
6138
- /** @description Validation Error */
6139
- 422: {
6449
+ /** @description Forbidden */
6450
+ 403: {
6140
6451
  headers: {
6141
6452
  [name: string]: unknown;
6142
6453
  };
6143
6454
  content: {
6144
- "application/problem+json": components["schemas"]["HTTPValidationError"];
6145
- };
6146
- };
6147
- };
6148
- };
6149
- delete_domain_forward_v1_domain_forwards__zone_name___request_protocol__delete: {
6150
- parameters: {
6151
- query?: never;
6152
- header?: never;
6455
+ /** @example {
6456
+ * "code": "ERROR_PERMISSION_DENIED",
6457
+ * "detail": "Insufficient permissions to perform this action",
6458
+ * "status": 403,
6459
+ * "title": "Permission Denied",
6460
+ * "type": "permission-denied"
6461
+ * } */
6462
+ "application/problem+json": components["schemas"]["Problem"];
6463
+ };
6464
+ };
6465
+ /** @description Conflict */
6466
+ 409: {
6467
+ headers: {
6468
+ [name: string]: unknown;
6469
+ };
6470
+ content: {
6471
+ /** @example {
6472
+ * "code": "ERROR_DOMAIN_FORWARD_ALREADY_EXISTS",
6473
+ * "detail": "Domain forward already exists for Additional error context.",
6474
+ * "status": 409,
6475
+ * "title": "Domain Forward Error",
6476
+ * "type": "domain-forward-already-exists"
6477
+ * } */
6478
+ "application/problem+json": components["schemas"]["Problem"];
6479
+ };
6480
+ };
6481
+ /** @description Validation Error */
6482
+ 422: {
6483
+ headers: {
6484
+ [name: string]: unknown;
6485
+ };
6486
+ content: {
6487
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6488
+ };
6489
+ };
6490
+ };
6491
+ };
6492
+ delete_domain_forward_v1_domain_forwards__hostname__delete: {
6493
+ parameters: {
6494
+ query?: never;
6495
+ header?: never;
6496
+ path: {
6497
+ /** @description Hostname (trailing dot optional) */
6498
+ hostname: string;
6499
+ };
6500
+ cookie?: never;
6501
+ };
6502
+ requestBody?: never;
6503
+ responses: {
6504
+ /** @description Successful Response */
6505
+ 204: {
6506
+ headers: {
6507
+ [name: string]: unknown;
6508
+ };
6509
+ content?: never;
6510
+ };
6511
+ /** @description Unauthorized */
6512
+ 401: {
6513
+ headers: {
6514
+ [name: string]: unknown;
6515
+ };
6516
+ content: {
6517
+ /** @example {
6518
+ * "code": "ERROR_AUTHENTICATION",
6519
+ * "detail": "Additional error context.",
6520
+ * "status": 401,
6521
+ * "title": "Authentication Error",
6522
+ * "type": "authentication"
6523
+ * } */
6524
+ "application/problem+json": components["schemas"]["Problem"];
6525
+ };
6526
+ };
6527
+ /** @description Forbidden */
6528
+ 403: {
6529
+ headers: {
6530
+ [name: string]: unknown;
6531
+ };
6532
+ content: {
6533
+ /** @example {
6534
+ * "code": "ERROR_PERMISSION_DENIED",
6535
+ * "detail": "Insufficient permissions to perform this action",
6536
+ * "status": 403,
6537
+ * "title": "Permission Denied",
6538
+ * "type": "permission-denied"
6539
+ * } */
6540
+ "application/problem+json": components["schemas"]["Problem"];
6541
+ };
6542
+ };
6543
+ /** @description Not Found */
6544
+ 404: {
6545
+ headers: {
6546
+ [name: string]: unknown;
6547
+ };
6548
+ content: {
6549
+ /** @example {
6550
+ * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6551
+ * "detail": "Domain forward not found for Additional error context.",
6552
+ * "status": 404,
6553
+ * "title": "Domain Forward Error",
6554
+ * "type": "domain-forward-not-found"
6555
+ * } */
6556
+ "application/problem+json": components["schemas"]["Problem"];
6557
+ };
6558
+ };
6559
+ /** @description Validation Error */
6560
+ 422: {
6561
+ headers: {
6562
+ [name: string]: unknown;
6563
+ };
6564
+ content: {
6565
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6566
+ };
6567
+ };
6568
+ };
6569
+ };
6570
+ disable_domain_forward_v1_domain_forwards__hostname__disable_patch: {
6571
+ parameters: {
6572
+ query?: never;
6573
+ header?: never;
6574
+ path: {
6575
+ /** @description Hostname (trailing dot optional) */
6576
+ hostname: string;
6577
+ };
6578
+ cookie?: never;
6579
+ };
6580
+ requestBody?: never;
6581
+ responses: {
6582
+ /** @description Successful Response */
6583
+ 204: {
6584
+ headers: {
6585
+ [name: string]: unknown;
6586
+ };
6587
+ content?: never;
6588
+ };
6589
+ /** @description Unauthorized */
6590
+ 401: {
6591
+ headers: {
6592
+ [name: string]: unknown;
6593
+ };
6594
+ content: {
6595
+ /** @example {
6596
+ * "code": "ERROR_AUTHENTICATION",
6597
+ * "detail": "Additional error context.",
6598
+ * "status": 401,
6599
+ * "title": "Authentication Error",
6600
+ * "type": "authentication"
6601
+ * } */
6602
+ "application/problem+json": components["schemas"]["Problem"];
6603
+ };
6604
+ };
6605
+ /** @description Forbidden */
6606
+ 403: {
6607
+ headers: {
6608
+ [name: string]: unknown;
6609
+ };
6610
+ content: {
6611
+ /** @example {
6612
+ * "code": "ERROR_PERMISSION_DENIED",
6613
+ * "detail": "Insufficient permissions to perform this action",
6614
+ * "status": 403,
6615
+ * "title": "Permission Denied",
6616
+ * "type": "permission-denied"
6617
+ * } */
6618
+ "application/problem+json": components["schemas"]["Problem"];
6619
+ };
6620
+ };
6621
+ /** @description Validation Error */
6622
+ 422: {
6623
+ headers: {
6624
+ [name: string]: unknown;
6625
+ };
6626
+ content: {
6627
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6628
+ };
6629
+ };
6630
+ };
6631
+ };
6632
+ enable_domain_forward_v1_domain_forwards__hostname__enable_patch: {
6633
+ parameters: {
6634
+ query?: {
6635
+ /** @description Auto create zone if it doesn't exist */
6636
+ auto_create_zone?: boolean;
6637
+ /** @description Auto create domain forward if it doesn't exist */
6638
+ auto_create_domain_forward?: boolean;
6639
+ /** @description Wildcard domain forwarding */
6640
+ wildcard?: boolean;
6641
+ };
6642
+ header?: never;
6643
+ path: {
6644
+ /** @description Hostname (trailing dot optional) */
6645
+ hostname: string;
6646
+ };
6647
+ cookie?: never;
6648
+ };
6649
+ requestBody?: never;
6650
+ responses: {
6651
+ /** @description Successful Response */
6652
+ 204: {
6653
+ headers: {
6654
+ [name: string]: unknown;
6655
+ };
6656
+ content?: never;
6657
+ };
6658
+ /** @description Bad Request */
6659
+ 400: {
6660
+ headers: {
6661
+ [name: string]: unknown;
6662
+ };
6663
+ content: {
6664
+ /** @example {
6665
+ * "code": "ERROR_DOMAIN_FORWARD_WILDCARD_NOT_SUPPORTED",
6666
+ * "detail": "Additional error context.",
6667
+ * "status": 400,
6668
+ * "title": "Wildcard Not Supported",
6669
+ * "type": "domain-forward-wildcard-not-supported"
6670
+ * } */
6671
+ "application/problem+json": components["schemas"]["Problem"];
6672
+ };
6673
+ };
6674
+ /** @description Unauthorized */
6675
+ 401: {
6676
+ headers: {
6677
+ [name: string]: unknown;
6678
+ };
6679
+ content: {
6680
+ /** @example {
6681
+ * "code": "ERROR_AUTHENTICATION",
6682
+ * "detail": "Additional error context.",
6683
+ * "status": 401,
6684
+ * "title": "Authentication Error",
6685
+ * "type": "authentication"
6686
+ * } */
6687
+ "application/problem+json": components["schemas"]["Problem"];
6688
+ };
6689
+ };
6690
+ /** @description Forbidden */
6691
+ 403: {
6692
+ headers: {
6693
+ [name: string]: unknown;
6694
+ };
6695
+ content: {
6696
+ /** @example {
6697
+ * "code": "ERROR_PERMISSION_DENIED",
6698
+ * "detail": "Insufficient permissions to perform this action",
6699
+ * "status": 403,
6700
+ * "title": "Permission Denied",
6701
+ * "type": "permission-denied"
6702
+ * } */
6703
+ "application/problem+json": components["schemas"]["Problem"];
6704
+ };
6705
+ };
6706
+ /** @description Validation Error */
6707
+ 422: {
6708
+ headers: {
6709
+ [name: string]: unknown;
6710
+ };
6711
+ content: {
6712
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6713
+ };
6714
+ };
6715
+ };
6716
+ };
6717
+ get_domain_forward_set_v1_domain_forwards__hostname___protocol__get: {
6718
+ parameters: {
6719
+ query?: never;
6720
+ header?: never;
6721
+ path: {
6722
+ protocol: components["schemas"]["HttpProtocol"];
6723
+ /** @description Hostname (trailing dot optional) */
6724
+ hostname: string;
6725
+ };
6726
+ cookie?: never;
6727
+ };
6728
+ requestBody?: never;
6729
+ responses: {
6730
+ /** @description Successful Response */
6731
+ 200: {
6732
+ headers: {
6733
+ [name: string]: unknown;
6734
+ };
6735
+ content: {
6736
+ "application/json": components["schemas"]["DomainForwardSetResponse"];
6737
+ };
6738
+ };
6739
+ /** @description Unauthorized */
6740
+ 401: {
6741
+ headers: {
6742
+ [name: string]: unknown;
6743
+ };
6744
+ content: {
6745
+ /** @example {
6746
+ * "code": "ERROR_AUTHENTICATION",
6747
+ * "detail": "Additional error context.",
6748
+ * "status": 401,
6749
+ * "title": "Authentication Error",
6750
+ * "type": "authentication"
6751
+ * } */
6752
+ "application/problem+json": components["schemas"]["Problem"];
6753
+ };
6754
+ };
6755
+ /** @description Forbidden */
6756
+ 403: {
6757
+ headers: {
6758
+ [name: string]: unknown;
6759
+ };
6760
+ content: {
6761
+ /** @example {
6762
+ * "code": "ERROR_PERMISSION_DENIED",
6763
+ * "detail": "Insufficient permissions to perform this action",
6764
+ * "status": 403,
6765
+ * "title": "Permission Denied",
6766
+ * "type": "permission-denied"
6767
+ * } */
6768
+ "application/problem+json": components["schemas"]["Problem"];
6769
+ };
6770
+ };
6771
+ /** @description Not Found */
6772
+ 404: {
6773
+ headers: {
6774
+ [name: string]: unknown;
6775
+ };
6776
+ content: {
6777
+ /** @example {
6778
+ * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6779
+ * "detail": "Domain forward not found for Additional error context.",
6780
+ * "status": 404,
6781
+ * "title": "Domain Forward Error",
6782
+ * "type": "domain-forward-not-found"
6783
+ * } */
6784
+ "application/problem+json": components["schemas"]["Problem"];
6785
+ };
6786
+ };
6787
+ /** @description Validation Error */
6788
+ 422: {
6789
+ headers: {
6790
+ [name: string]: unknown;
6791
+ };
6792
+ content: {
6793
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6794
+ };
6795
+ };
6796
+ };
6797
+ };
6798
+ update_domain_forward_set_v1_domain_forwards__hostname___protocol__put: {
6799
+ parameters: {
6800
+ query?: never;
6801
+ header?: never;
6153
6802
  path: {
6154
- request_protocol: components["schemas"]["HttpProtocol"];
6155
- /** @description DNS zone name (trailing dot optional) */
6156
- zone_name: string;
6803
+ protocol: components["schemas"]["HttpProtocol"];
6804
+ /** @description Hostname (trailing dot optional) */
6805
+ hostname: string;
6806
+ };
6807
+ cookie?: never;
6808
+ };
6809
+ requestBody: {
6810
+ content: {
6811
+ "application/json": components["schemas"]["DomainForwardSetRequest"];
6812
+ };
6813
+ };
6814
+ responses: {
6815
+ /** @description Successful Response */
6816
+ 200: {
6817
+ headers: {
6818
+ [name: string]: unknown;
6819
+ };
6820
+ content: {
6821
+ "application/json": components["schemas"]["DomainForwardSetResponse"];
6822
+ };
6823
+ };
6824
+ /** @description Unauthorized */
6825
+ 401: {
6826
+ headers: {
6827
+ [name: string]: unknown;
6828
+ };
6829
+ content: {
6830
+ /** @example {
6831
+ * "code": "ERROR_AUTHENTICATION",
6832
+ * "detail": "Additional error context.",
6833
+ * "status": 401,
6834
+ * "title": "Authentication Error",
6835
+ * "type": "authentication"
6836
+ * } */
6837
+ "application/problem+json": components["schemas"]["Problem"];
6838
+ };
6839
+ };
6840
+ /** @description Forbidden */
6841
+ 403: {
6842
+ headers: {
6843
+ [name: string]: unknown;
6844
+ };
6845
+ content: {
6846
+ /** @example {
6847
+ * "code": "ERROR_PERMISSION_DENIED",
6848
+ * "detail": "Insufficient permissions to perform this action",
6849
+ * "status": 403,
6850
+ * "title": "Permission Denied",
6851
+ * "type": "permission-denied"
6852
+ * } */
6853
+ "application/problem+json": components["schemas"]["Problem"];
6854
+ };
6855
+ };
6856
+ /** @description Not Found */
6857
+ 404: {
6858
+ headers: {
6859
+ [name: string]: unknown;
6860
+ };
6861
+ content: {
6862
+ /** @example {
6863
+ * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6864
+ * "detail": "Domain forward not found for Additional error context.",
6865
+ * "status": 404,
6866
+ * "title": "Domain Forward Error",
6867
+ * "type": "domain-forward-not-found"
6868
+ * } */
6869
+ "application/problem+json": components["schemas"]["Problem"];
6870
+ };
6871
+ };
6872
+ /** @description Validation Error */
6873
+ 422: {
6874
+ headers: {
6875
+ [name: string]: unknown;
6876
+ };
6877
+ content: {
6878
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6879
+ };
6880
+ };
6881
+ };
6882
+ };
6883
+ create_domain_forward_set_v1_domain_forwards__hostname___protocol__post: {
6884
+ parameters: {
6885
+ query?: never;
6886
+ header?: never;
6887
+ path: {
6888
+ protocol: components["schemas"]["HttpProtocol"];
6889
+ /** @description Hostname (trailing dot optional) */
6890
+ hostname: string;
6891
+ };
6892
+ cookie?: never;
6893
+ };
6894
+ requestBody: {
6895
+ content: {
6896
+ "application/json": components["schemas"]["DomainForwardSetRequest"];
6897
+ };
6898
+ };
6899
+ responses: {
6900
+ /** @description Successful Response */
6901
+ 201: {
6902
+ headers: {
6903
+ [name: string]: unknown;
6904
+ };
6905
+ content: {
6906
+ "application/json": components["schemas"]["DomainForwardSetResponse"];
6907
+ };
6908
+ };
6909
+ /** @description Unauthorized */
6910
+ 401: {
6911
+ headers: {
6912
+ [name: string]: unknown;
6913
+ };
6914
+ content: {
6915
+ /** @example {
6916
+ * "code": "ERROR_AUTHENTICATION",
6917
+ * "detail": "Additional error context.",
6918
+ * "status": 401,
6919
+ * "title": "Authentication Error",
6920
+ * "type": "authentication"
6921
+ * } */
6922
+ "application/problem+json": components["schemas"]["Problem"];
6923
+ };
6924
+ };
6925
+ /** @description Forbidden */
6926
+ 403: {
6927
+ headers: {
6928
+ [name: string]: unknown;
6929
+ };
6930
+ content: {
6931
+ /** @example {
6932
+ * "code": "ERROR_PERMISSION_DENIED",
6933
+ * "detail": "Insufficient permissions to perform this action",
6934
+ * "status": 403,
6935
+ * "title": "Permission Denied",
6936
+ * "type": "permission-denied"
6937
+ * } */
6938
+ "application/problem+json": components["schemas"]["Problem"];
6939
+ };
6940
+ };
6941
+ /** @description Not Found */
6942
+ 404: {
6943
+ headers: {
6944
+ [name: string]: unknown;
6945
+ };
6946
+ content: {
6947
+ /** @example {
6948
+ * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6949
+ * "detail": "Domain forward not found for Additional error context.",
6950
+ * "status": 404,
6951
+ * "title": "Domain Forward Error",
6952
+ * "type": "domain-forward-not-found"
6953
+ * } */
6954
+ "application/problem+json": components["schemas"]["Problem"];
6955
+ };
6956
+ };
6957
+ /** @description Conflict */
6958
+ 409: {
6959
+ headers: {
6960
+ [name: string]: unknown;
6961
+ };
6962
+ content: {
6963
+ /** @example {
6964
+ * "code": "ERROR_DOMAIN_FORWARD_ALREADY_EXISTS",
6965
+ * "detail": "Domain forward already exists for Additional error context.",
6966
+ * "status": 409,
6967
+ * "title": "Domain Forward Error",
6968
+ * "type": "domain-forward-already-exists"
6969
+ * } */
6970
+ "application/problem+json": components["schemas"]["Problem"];
6971
+ };
6972
+ };
6973
+ /** @description Validation Error */
6974
+ 422: {
6975
+ headers: {
6976
+ [name: string]: unknown;
6977
+ };
6978
+ content: {
6979
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
6980
+ };
6981
+ };
6982
+ };
6983
+ };
6984
+ delete_domain_forward_set_v1_domain_forwards__hostname___protocol__delete: {
6985
+ parameters: {
6986
+ query?: never;
6987
+ header?: never;
6988
+ path: {
6989
+ protocol: components["schemas"]["HttpProtocol"];
6990
+ /** @description Hostname (trailing dot optional) */
6991
+ hostname: string;
6157
6992
  };
6158
6993
  cookie?: never;
6159
6994
  };
@@ -6166,6 +7001,38 @@ export interface operations {
6166
7001
  };
6167
7002
  content?: never;
6168
7003
  };
7004
+ /** @description Unauthorized */
7005
+ 401: {
7006
+ headers: {
7007
+ [name: string]: unknown;
7008
+ };
7009
+ content: {
7010
+ /** @example {
7011
+ * "code": "ERROR_AUTHENTICATION",
7012
+ * "detail": "Additional error context.",
7013
+ * "status": 401,
7014
+ * "title": "Authentication Error",
7015
+ * "type": "authentication"
7016
+ * } */
7017
+ "application/problem+json": components["schemas"]["Problem"];
7018
+ };
7019
+ };
7020
+ /** @description Forbidden */
7021
+ 403: {
7022
+ headers: {
7023
+ [name: string]: unknown;
7024
+ };
7025
+ content: {
7026
+ /** @example {
7027
+ * "code": "ERROR_PERMISSION_DENIED",
7028
+ * "detail": "Insufficient permissions to perform this action",
7029
+ * "status": 403,
7030
+ * "title": "Permission Denied",
7031
+ * "type": "permission-denied"
7032
+ * } */
7033
+ "application/problem+json": components["schemas"]["Problem"];
7034
+ };
7035
+ };
6169
7036
  /** @description Not Found */
6170
7037
  404: {
6171
7038
  headers: {
@@ -6174,7 +7041,7 @@ export interface operations {
6174
7041
  content: {
6175
7042
  /** @example {
6176
7043
  * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
6177
- * "detail": "Domain forward not found",
7044
+ * "detail": "Domain forward not found for Additional error context.",
6178
7045
  * "status": 404,
6179
7046
  * "title": "Domain Forward Error",
6180
7047
  * "type": "domain-forward-not-found"