@opusdns/api 1.35.0 → 1.37.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
@@ -4079,8 +4079,8 @@ export interface components {
4079
4079
  */
4080
4080
  update_supported_roles?: components["schemas"]["ContactConfigBase"][] | null;
4081
4081
  };
4082
- /** Context */
4083
- Context: {
4082
+ /** ContactsContext */
4083
+ ContactsContext: {
4084
4084
  /**
4085
4085
  * Context Id
4086
4086
  * Format: typeid
@@ -4098,36 +4098,84 @@ export interface components {
4098
4098
  * Format: date-time
4099
4099
  */
4100
4100
  created_at: Date;
4101
- kind: components["schemas"]["MessageContextKind"];
4101
+ /**
4102
+ * @description discriminator enum property added by openapi-typescript
4103
+ * @enum {string}
4104
+ */
4105
+ kind: "contacts";
4102
4106
  /**
4103
4107
  * Organization Id
4104
4108
  * Format: typeid
4105
4109
  * @example organization_01h45ytscbebyvny4gc8cr8ma2
4106
4110
  */
4107
4111
  organization_id: TypeId<"organization">;
4108
- /** Payload */
4109
- payload?: {
4110
- [key: string]: unknown;
4111
- };
4112
+ payload: components["schemas"]["ContextPayload_RegistrarContact_"];
4112
4113
  /** User Id */
4113
4114
  user_id: string;
4114
4115
  };
4115
- /** ContextCreateRequest */
4116
- ContextCreateRequest: {
4117
- kind: components["schemas"]["MessageContextKind"];
4116
+ /** ContactsContextCreate */
4117
+ ContactsContextCreate: {
4118
4118
  /**
4119
- * Payload
4120
- * @description Non-empty structured payload. Shape depends on `kind`.
4119
+ * @description discriminator enum property added by openapi-typescript
4120
+ * @enum {string}
4121
4121
  */
4122
- payload: {
4123
- [key: string]: unknown;
4124
- };
4122
+ kind: "contacts";
4123
+ payload: components["schemas"]["ContextPayload_RegistrarContact_"];
4125
4124
  };
4126
4125
  /** ContextListResponse */
4127
4126
  ContextListResponse: {
4128
4127
  pagination: components["schemas"]["PaginationMetadata"];
4129
4128
  /** Results */
4130
- results: components["schemas"]["Context"][];
4129
+ results: (components["schemas"]["ZonesContext"] | components["schemas"]["ContactsContext"] | components["schemas"]["DomainsContext"] | components["schemas"]["DomainForwardsContext"] | components["schemas"]["EmailForwardsContext"] | components["schemas"]["DomainRecommendationsContext"])[];
4130
+ };
4131
+ /** ContextMeta */
4132
+ ContextMeta: {
4133
+ /** Processing Time Ms */
4134
+ processing_time_ms?: number | null;
4135
+ /** Total */
4136
+ total?: number | null;
4137
+ };
4138
+ /** ContextPayload[DomainForward] */
4139
+ ContextPayload_DomainForward_: {
4140
+ meta?: components["schemas"]["ContextMeta"] | null;
4141
+ pagination?: components["schemas"]["PaginationMetadata"] | null;
4142
+ /** Results */
4143
+ results: components["schemas"]["DomainForward"][];
4144
+ };
4145
+ /** ContextPayload[DomainSearchSuggestionWithPrice] */
4146
+ ContextPayload_DomainSearchSuggestionWithPrice_: {
4147
+ meta?: components["schemas"]["ContextMeta"] | null;
4148
+ pagination?: components["schemas"]["PaginationMetadata"] | null;
4149
+ /** Results */
4150
+ results: components["schemas"]["DomainSearchSuggestionWithPrice"][];
4151
+ };
4152
+ /** ContextPayload[EmailForwardResponse] */
4153
+ ContextPayload_EmailForwardResponse_: {
4154
+ meta?: components["schemas"]["ContextMeta"] | null;
4155
+ pagination?: components["schemas"]["PaginationMetadata"] | null;
4156
+ /** Results */
4157
+ results: components["schemas"]["EmailForwardResponse"][];
4158
+ };
4159
+ /** ContextPayload[RegistrarContact] */
4160
+ ContextPayload_RegistrarContact_: {
4161
+ meta?: components["schemas"]["ContextMeta"] | null;
4162
+ pagination?: components["schemas"]["PaginationMetadata"] | null;
4163
+ /** Results */
4164
+ results: components["schemas"]["RegistrarContact"][];
4165
+ };
4166
+ /** ContextPayload[RegistrarDomain] */
4167
+ ContextPayload_RegistrarDomain_: {
4168
+ meta?: components["schemas"]["ContextMeta"] | null;
4169
+ pagination?: components["schemas"]["PaginationMetadata"] | null;
4170
+ /** Results */
4171
+ results: components["schemas"]["RegistrarDomain"][];
4172
+ };
4173
+ /** ContextPayload[RegistrarZone] */
4174
+ ContextPayload_RegistrarZone_: {
4175
+ meta?: components["schemas"]["ContextMeta"] | null;
4176
+ pagination?: components["schemas"]["PaginationMetadata"] | null;
4177
+ /** Results */
4178
+ results: components["schemas"]["RegistrarZone"][];
4131
4179
  };
4132
4180
  /** Conversation */
4133
4181
  Conversation: {
@@ -5424,7 +5472,7 @@ export interface components {
5424
5472
  http?: components["schemas"]["DomainForwardProtocolSetResponse"] | null;
5425
5473
  https?: components["schemas"]["DomainForwardProtocolSetResponse"] | null;
5426
5474
  /** Parking Id */
5427
- parking_id: TypeId<"parking"> | null;
5475
+ parking_id?: TypeId<"parking"> | null;
5428
5476
  /**
5429
5477
  * Updated On
5430
5478
  * Format: date-time
@@ -5815,6 +5863,49 @@ export interface components {
5815
5863
  * @enum {string}
5816
5864
  */
5817
5865
  DomainForwardZoneSortField: "name" | "created_on" | "updated_on";
5866
+ /** DomainForwardsContext */
5867
+ DomainForwardsContext: {
5868
+ /**
5869
+ * Context Id
5870
+ * Format: typeid
5871
+ * @example ctx_01h45ytscbebyvny4gc8cr8ma2
5872
+ */
5873
+ context_id: TypeId<"ctx">;
5874
+ /**
5875
+ * Conversation Id
5876
+ * Format: typeid
5877
+ * @example conv_01h45ytscbebyvny4gc8cr8ma2
5878
+ */
5879
+ conversation_id: TypeId<"conv">;
5880
+ /**
5881
+ * Created At
5882
+ * Format: date-time
5883
+ */
5884
+ created_at: Date;
5885
+ /**
5886
+ * @description discriminator enum property added by openapi-typescript
5887
+ * @enum {string}
5888
+ */
5889
+ kind: "domain_forwards";
5890
+ /**
5891
+ * Organization Id
5892
+ * Format: typeid
5893
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
5894
+ */
5895
+ organization_id: TypeId<"organization">;
5896
+ payload: components["schemas"]["ContextPayload_DomainForward_"];
5897
+ /** User Id */
5898
+ user_id: string;
5899
+ };
5900
+ /** DomainForwardsContextCreate */
5901
+ DomainForwardsContextCreate: {
5902
+ /**
5903
+ * @description discriminator enum property added by openapi-typescript
5904
+ * @enum {string}
5905
+ */
5906
+ kind: "domain_forwards";
5907
+ payload: components["schemas"]["ContextPayload_DomainForward_"];
5908
+ };
5818
5909
  /** DomainHostResponse */
5819
5910
  DomainHostResponse: {
5820
5911
  /**
@@ -5923,6 +6014,49 @@ export interface components {
5923
6014
  */
5924
6015
  value: number;
5925
6016
  };
6017
+ /** DomainRecommendationsContext */
6018
+ DomainRecommendationsContext: {
6019
+ /**
6020
+ * Context Id
6021
+ * Format: typeid
6022
+ * @example ctx_01h45ytscbebyvny4gc8cr8ma2
6023
+ */
6024
+ context_id: TypeId<"ctx">;
6025
+ /**
6026
+ * Conversation Id
6027
+ * Format: typeid
6028
+ * @example conv_01h45ytscbebyvny4gc8cr8ma2
6029
+ */
6030
+ conversation_id: TypeId<"conv">;
6031
+ /**
6032
+ * Created At
6033
+ * Format: date-time
6034
+ */
6035
+ created_at: Date;
6036
+ /**
6037
+ * @description discriminator enum property added by openapi-typescript
6038
+ * @enum {string}
6039
+ */
6040
+ kind: "domain_recommendations";
6041
+ /**
6042
+ * Organization Id
6043
+ * Format: typeid
6044
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
6045
+ */
6046
+ organization_id: TypeId<"organization">;
6047
+ payload: components["schemas"]["ContextPayload_DomainSearchSuggestionWithPrice_"];
6048
+ /** User Id */
6049
+ user_id: string;
6050
+ };
6051
+ /** DomainRecommendationsContextCreate */
6052
+ DomainRecommendationsContextCreate: {
6053
+ /**
6054
+ * @description discriminator enum property added by openapi-typescript
6055
+ * @enum {string}
6056
+ */
6057
+ kind: "domain_recommendations";
6058
+ payload: components["schemas"]["ContextPayload_DomainSearchSuggestionWithPrice_"];
6059
+ };
5926
6060
  /** DomainRenewRequest */
5927
6061
  DomainRenewRequest: {
5928
6062
  /**
@@ -6737,6 +6871,49 @@ export interface components {
6737
6871
  */
6738
6872
  success: boolean;
6739
6873
  };
6874
+ /** DomainsContext */
6875
+ DomainsContext: {
6876
+ /**
6877
+ * Context Id
6878
+ * Format: typeid
6879
+ * @example ctx_01h45ytscbebyvny4gc8cr8ma2
6880
+ */
6881
+ context_id: TypeId<"ctx">;
6882
+ /**
6883
+ * Conversation Id
6884
+ * Format: typeid
6885
+ * @example conv_01h45ytscbebyvny4gc8cr8ma2
6886
+ */
6887
+ conversation_id: TypeId<"conv">;
6888
+ /**
6889
+ * Created At
6890
+ * Format: date-time
6891
+ */
6892
+ created_at: Date;
6893
+ /**
6894
+ * @description discriminator enum property added by openapi-typescript
6895
+ * @enum {string}
6896
+ */
6897
+ kind: "domains";
6898
+ /**
6899
+ * Organization Id
6900
+ * Format: typeid
6901
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
6902
+ */
6903
+ organization_id: TypeId<"organization">;
6904
+ payload: components["schemas"]["ContextPayload_RegistrarDomain_"];
6905
+ /** User Id */
6906
+ user_id: string;
6907
+ };
6908
+ /** DomainsContextCreate */
6909
+ DomainsContextCreate: {
6910
+ /**
6911
+ * @description discriminator enum property added by openapi-typescript
6912
+ * @enum {string}
6913
+ */
6914
+ kind: "domains";
6915
+ payload: components["schemas"]["ContextPayload_RegistrarDomain_"];
6916
+ };
6740
6917
  /** DomainsExpiringSoon */
6741
6918
  DomainsExpiringSoon: {
6742
6919
  /**
@@ -7361,6 +7538,49 @@ export interface components {
7361
7538
  * @enum {string}
7362
7539
  */
7363
7540
  EmailForwardZoneSortField: "name" | "created_on" | "updated_on";
7541
+ /** EmailForwardsContext */
7542
+ EmailForwardsContext: {
7543
+ /**
7544
+ * Context Id
7545
+ * Format: typeid
7546
+ * @example ctx_01h45ytscbebyvny4gc8cr8ma2
7547
+ */
7548
+ context_id: TypeId<"ctx">;
7549
+ /**
7550
+ * Conversation Id
7551
+ * Format: typeid
7552
+ * @example conv_01h45ytscbebyvny4gc8cr8ma2
7553
+ */
7554
+ conversation_id: TypeId<"conv">;
7555
+ /**
7556
+ * Created At
7557
+ * Format: date-time
7558
+ */
7559
+ created_at: Date;
7560
+ /**
7561
+ * @description discriminator enum property added by openapi-typescript
7562
+ * @enum {string}
7563
+ */
7564
+ kind: "email_forwards";
7565
+ /**
7566
+ * Organization Id
7567
+ * Format: typeid
7568
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
7569
+ */
7570
+ organization_id: TypeId<"organization">;
7571
+ payload: components["schemas"]["ContextPayload_EmailForwardResponse_"];
7572
+ /** User Id */
7573
+ user_id: string;
7574
+ };
7575
+ /** EmailForwardsContextCreate */
7576
+ EmailForwardsContextCreate: {
7577
+ /**
7578
+ * @description discriminator enum property added by openapi-typescript
7579
+ * @enum {string}
7580
+ */
7581
+ kind: "email_forwards";
7582
+ payload: components["schemas"]["ContextPayload_EmailForwardResponse_"];
7583
+ };
7364
7584
  /**
7365
7585
  * EmailVerificationStatus
7366
7586
  * @enum {string}
@@ -8388,11 +8608,6 @@ export interface components {
8388
8608
  };
8389
8609
  role: components["schemas"]["MessageRole"];
8390
8610
  };
8391
- /**
8392
- * MessageContextKind
8393
- * @enum {string}
8394
- */
8395
- MessageContextKind: "zones" | "contacts" | "domains";
8396
8611
  /** MessageCreateRequest */
8397
8612
  MessageCreateRequest: {
8398
8613
  /** Content */
@@ -9985,6 +10200,101 @@ export interface components {
9985
10200
  * @enum {string}
9986
10201
  */
9987
10202
  RegistrantChangeType: "update" | "trade";
10203
+ /** RegistrarContact */
10204
+ RegistrarContact: {
10205
+ /** City */
10206
+ city?: string | null;
10207
+ /** Country */
10208
+ country?: string | null;
10209
+ /** Email */
10210
+ email?: string | null;
10211
+ /** Fax */
10212
+ fax?: string | null;
10213
+ /** First Name */
10214
+ first_name?: string | null;
10215
+ /**
10216
+ * Id
10217
+ * @description Contact ID (required for OpusDNS-native contacts, may be null for registrar-sourced)
10218
+ */
10219
+ id?: string | null;
10220
+ /** Last Name */
10221
+ last_name?: string | null;
10222
+ /** Org */
10223
+ org?: string | null;
10224
+ /** Phone */
10225
+ phone?: string | null;
10226
+ /** Postal Code */
10227
+ postal_code?: string | null;
10228
+ /** State */
10229
+ state?: string | null;
10230
+ /** Street */
10231
+ street?: string | null;
10232
+ /** Title */
10233
+ title?: string | null;
10234
+ };
10235
+ /** RegistrarDomain */
10236
+ RegistrarDomain: {
10237
+ /**
10238
+ * Contacts
10239
+ * @default {}
10240
+ */
10241
+ contacts: {
10242
+ [key: string]: components["schemas"]["RegistrarContact"];
10243
+ };
10244
+ /**
10245
+ * Contacts Dedup
10246
+ * @default []
10247
+ */
10248
+ contacts_dedup: components["schemas"]["RegistrarContact"][];
10249
+ /** Expiry Date */
10250
+ expiry_date?: string | null;
10251
+ /** Name */
10252
+ name: string;
10253
+ /**
10254
+ * Nameservers
10255
+ * @default []
10256
+ */
10257
+ nameservers: string[];
10258
+ /** Registrar */
10259
+ registrar: string;
10260
+ /**
10261
+ * Statuses
10262
+ * @default []
10263
+ */
10264
+ statuses: string[];
10265
+ zone?: components["schemas"]["RegistrarZone"] | null;
10266
+ };
10267
+ /** RegistrarRRSet */
10268
+ RegistrarRRSet: {
10269
+ /** Name */
10270
+ name: string;
10271
+ /** Priority */
10272
+ priority?: number | null;
10273
+ /**
10274
+ * Record
10275
+ * @default []
10276
+ */
10277
+ record: components["schemas"]["RegistrarRecord"][];
10278
+ /** Ttl */
10279
+ ttl: number;
10280
+ /** Type */
10281
+ type: string;
10282
+ };
10283
+ /** RegistrarRecord */
10284
+ RegistrarRecord: {
10285
+ /** Rdata */
10286
+ rdata: string;
10287
+ };
10288
+ /** RegistrarZone */
10289
+ RegistrarZone: {
10290
+ /** Name */
10291
+ name: string;
10292
+ /**
10293
+ * Rrsets
10294
+ * @default []
10295
+ */
10296
+ rrsets: components["schemas"]["RegistrarRRSet"][];
10297
+ };
9988
10298
  /**
9989
10299
  * RegistryHandleAttributeType
9990
10300
  * @description Registry handle attribute types for type-safe attribute key access.
@@ -11589,6 +11899,49 @@ export interface components {
11589
11899
  */
11590
11900
  vanity_nameserver_set_id?: TypeId<"vns"> | null;
11591
11901
  };
11902
+ /** ZonesContext */
11903
+ ZonesContext: {
11904
+ /**
11905
+ * Context Id
11906
+ * Format: typeid
11907
+ * @example ctx_01h45ytscbebyvny4gc8cr8ma2
11908
+ */
11909
+ context_id: TypeId<"ctx">;
11910
+ /**
11911
+ * Conversation Id
11912
+ * Format: typeid
11913
+ * @example conv_01h45ytscbebyvny4gc8cr8ma2
11914
+ */
11915
+ conversation_id: TypeId<"conv">;
11916
+ /**
11917
+ * Created At
11918
+ * Format: date-time
11919
+ */
11920
+ created_at: Date;
11921
+ /**
11922
+ * @description discriminator enum property added by openapi-typescript
11923
+ * @enum {string}
11924
+ */
11925
+ kind: "zones";
11926
+ /**
11927
+ * Organization Id
11928
+ * Format: typeid
11929
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
11930
+ */
11931
+ organization_id: TypeId<"organization">;
11932
+ payload: components["schemas"]["ContextPayload_RegistrarZone_"];
11933
+ /** User Id */
11934
+ user_id: string;
11935
+ };
11936
+ /** ZonesContextCreate */
11937
+ ZonesContextCreate: {
11938
+ /**
11939
+ * @description discriminator enum property added by openapi-typescript
11940
+ * @enum {string}
11941
+ */
11942
+ kind: "zones";
11943
+ payload: components["schemas"]["ContextPayload_RegistrarZone_"];
11944
+ };
11592
11945
  /** RequestAuthcodeResponse */
11593
11946
  api__domain__tld_specific__be__models__RequestAuthcodeResponse: {
11594
11947
  /**
@@ -11701,7 +12054,7 @@ export interface operations {
11701
12054
  [name: string]: unknown;
11702
12055
  };
11703
12056
  content: {
11704
- "application/json": components["schemas"]["Context"];
12057
+ "application/json": components["schemas"]["ZonesContext"] | components["schemas"]["ContactsContext"] | components["schemas"]["DomainsContext"] | components["schemas"]["DomainForwardsContext"] | components["schemas"]["EmailForwardsContext"] | components["schemas"]["DomainRecommendationsContext"];
11705
12058
  };
11706
12059
  };
11707
12060
  /** @description Unauthorized */
@@ -12262,7 +12615,7 @@ export interface operations {
12262
12615
  };
12263
12616
  requestBody: {
12264
12617
  content: {
12265
- "application/json": components["schemas"]["ContextCreateRequest"];
12618
+ "application/json": components["schemas"]["ZonesContextCreate"] | components["schemas"]["ContactsContextCreate"] | components["schemas"]["DomainsContextCreate"] | components["schemas"]["DomainForwardsContextCreate"] | components["schemas"]["EmailForwardsContextCreate"] | components["schemas"]["DomainRecommendationsContextCreate"];
12266
12619
  };
12267
12620
  };
12268
12621
  responses: {
@@ -12272,7 +12625,7 @@ export interface operations {
12272
12625
  [name: string]: unknown;
12273
12626
  };
12274
12627
  content: {
12275
- "application/json": components["schemas"]["Context"];
12628
+ "application/json": components["schemas"]["ZonesContext"] | components["schemas"]["ContactsContext"] | components["schemas"]["DomainsContext"] | components["schemas"]["DomainForwardsContext"] | components["schemas"]["EmailForwardsContext"] | components["schemas"]["DomainRecommendationsContext"];
12276
12629
  };
12277
12630
  };
12278
12631
  /** @description Unauthorized */
@@ -21166,7 +21519,6 @@ export interface operations {
21166
21519
  sort_by?: components["schemas"]["UserSortField"];
21167
21520
  sort_order?: components["schemas"]["SortOrder"];
21168
21521
  search?: string | null;
21169
- status?: components["schemas"]["UserStatus"] | null;
21170
21522
  page?: number;
21171
21523
  page_size?: number;
21172
21524
  };