@opusdns/api 0.199.0 → 0.200.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 +1413 -165
- package/src/helpers/requests.d.ts +241 -2
- package/src/helpers/responses.d.ts +408 -4
- package/src/helpers/schemas-arrays.d.ts +29 -1
- package/src/helpers/schemas.d.ts +128 -0
- package/src/openapi.yaml +630 -3
- package/src/schema.d.ts +589 -5
package/src/schema.d.ts
CHANGED
|
@@ -181,6 +181,60 @@ export interface paths {
|
|
|
181
181
|
patch?: never;
|
|
182
182
|
trace?: never;
|
|
183
183
|
};
|
|
184
|
+
"/v1/contacts/attribute-links": {
|
|
185
|
+
parameters: {
|
|
186
|
+
query?: never;
|
|
187
|
+
header?: never;
|
|
188
|
+
path?: never;
|
|
189
|
+
cookie?: never;
|
|
190
|
+
};
|
|
191
|
+
get?: never;
|
|
192
|
+
put?: never;
|
|
193
|
+
/** Link a contact to a contact attribute set */
|
|
194
|
+
post: operations["create_attribute_link_v1_contacts_attribute_links_post"];
|
|
195
|
+
delete?: never;
|
|
196
|
+
options?: never;
|
|
197
|
+
head?: never;
|
|
198
|
+
patch?: never;
|
|
199
|
+
trace?: never;
|
|
200
|
+
};
|
|
201
|
+
"/v1/contacts/attribute-sets": {
|
|
202
|
+
parameters: {
|
|
203
|
+
query?: never;
|
|
204
|
+
header?: never;
|
|
205
|
+
path?: never;
|
|
206
|
+
cookie?: never;
|
|
207
|
+
};
|
|
208
|
+
/** List contact attribute sets */
|
|
209
|
+
get: operations["list_attribute_sets_v1_contacts_attribute_sets_get"];
|
|
210
|
+
put?: never;
|
|
211
|
+
/** Create a contact attribute set */
|
|
212
|
+
post: operations["create_attribute_set_v1_contacts_attribute_sets_post"];
|
|
213
|
+
delete?: never;
|
|
214
|
+
options?: never;
|
|
215
|
+
head?: never;
|
|
216
|
+
patch?: never;
|
|
217
|
+
trace?: never;
|
|
218
|
+
};
|
|
219
|
+
"/v1/contacts/attribute-sets/{contact_attribute_set_id}": {
|
|
220
|
+
parameters: {
|
|
221
|
+
query?: never;
|
|
222
|
+
header?: never;
|
|
223
|
+
path?: never;
|
|
224
|
+
cookie?: never;
|
|
225
|
+
};
|
|
226
|
+
/** Retrieve a contact attribute set */
|
|
227
|
+
get: operations["get_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__get"];
|
|
228
|
+
put?: never;
|
|
229
|
+
post?: never;
|
|
230
|
+
/** Delete a contact attribute set */
|
|
231
|
+
delete: operations["delete_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__delete"];
|
|
232
|
+
options?: never;
|
|
233
|
+
head?: never;
|
|
234
|
+
/** Update a contact attribute set */
|
|
235
|
+
patch: operations["update_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__patch"];
|
|
236
|
+
trace?: never;
|
|
237
|
+
};
|
|
184
238
|
"/v1/contacts/verification": {
|
|
185
239
|
parameters: {
|
|
186
240
|
query?: never;
|
|
@@ -223,10 +277,7 @@ export interface paths {
|
|
|
223
277
|
path?: never;
|
|
224
278
|
cookie?: never;
|
|
225
279
|
};
|
|
226
|
-
/**
|
|
227
|
-
* Retrieve a contact
|
|
228
|
-
* @description Retrieves a contact object
|
|
229
|
-
*/
|
|
280
|
+
/** Retrieve a contact */
|
|
230
281
|
get: operations["get_contact_v1_contacts__contact_id__get"];
|
|
231
282
|
put?: never;
|
|
232
283
|
post?: never;
|
|
@@ -2056,6 +2107,159 @@ export interface components {
|
|
|
2056
2107
|
*/
|
|
2057
2108
|
values?: string[] | null;
|
|
2058
2109
|
};
|
|
2110
|
+
/** ContactAttributeLinkCreate */
|
|
2111
|
+
ContactAttributeLinkCreate: {
|
|
2112
|
+
/**
|
|
2113
|
+
* Contact Attribute Set Id
|
|
2114
|
+
* Format: typeid
|
|
2115
|
+
* @description The attribute set to link to the contact
|
|
2116
|
+
* @example contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
2117
|
+
*/
|
|
2118
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
2119
|
+
/**
|
|
2120
|
+
* Contact Id
|
|
2121
|
+
* Format: typeid
|
|
2122
|
+
* @description The contact to link
|
|
2123
|
+
* @example contact_01h45ytscbebyvny4gc8cr8ma2
|
|
2124
|
+
*/
|
|
2125
|
+
contact_id: TypeId<"contact">;
|
|
2126
|
+
};
|
|
2127
|
+
/** ContactAttributeLinkDetail */
|
|
2128
|
+
ContactAttributeLinkDetail: {
|
|
2129
|
+
/**
|
|
2130
|
+
* Attributes
|
|
2131
|
+
* @description The attributes from the linked set
|
|
2132
|
+
*/
|
|
2133
|
+
attributes: {
|
|
2134
|
+
[key: string]: string;
|
|
2135
|
+
};
|
|
2136
|
+
/**
|
|
2137
|
+
* Contact Attribute Set Id
|
|
2138
|
+
* Format: typeid
|
|
2139
|
+
* @description The attribute set linked to the contact
|
|
2140
|
+
* @example contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
2141
|
+
*/
|
|
2142
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
2143
|
+
/**
|
|
2144
|
+
* Label
|
|
2145
|
+
* @description The label of the linked attribute set
|
|
2146
|
+
*/
|
|
2147
|
+
label: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* Tld
|
|
2150
|
+
* @description The TLD this link applies to
|
|
2151
|
+
*/
|
|
2152
|
+
tld: string;
|
|
2153
|
+
};
|
|
2154
|
+
/** ContactAttributeLinkResponse */
|
|
2155
|
+
ContactAttributeLinkResponse: {
|
|
2156
|
+
/**
|
|
2157
|
+
* Contact Attribute Link Id
|
|
2158
|
+
* Format: typeid
|
|
2159
|
+
* @description The unique identifier of the link
|
|
2160
|
+
* @example contact_attribute_link_01h45ytscbebyvny4gc8cr8ma2
|
|
2161
|
+
*/
|
|
2162
|
+
contact_attribute_link_id: TypeId<"contact_attribute_link">;
|
|
2163
|
+
/**
|
|
2164
|
+
* Contact Attribute Set Id
|
|
2165
|
+
* Format: typeid
|
|
2166
|
+
* @description The attribute set linked to the contact
|
|
2167
|
+
* @example contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
2168
|
+
*/
|
|
2169
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
2170
|
+
/**
|
|
2171
|
+
* Contact Id
|
|
2172
|
+
* Format: typeid
|
|
2173
|
+
* @description The contact this link belongs to
|
|
2174
|
+
* @example contact_01h45ytscbebyvny4gc8cr8ma2
|
|
2175
|
+
*/
|
|
2176
|
+
contact_id: TypeId<"contact">;
|
|
2177
|
+
/**
|
|
2178
|
+
* Created On
|
|
2179
|
+
* Format: date-time
|
|
2180
|
+
* @description The date/time the entry was created on
|
|
2181
|
+
*/
|
|
2182
|
+
created_on: Date;
|
|
2183
|
+
/**
|
|
2184
|
+
* Tld
|
|
2185
|
+
* @description The TLD this link applies to
|
|
2186
|
+
*/
|
|
2187
|
+
tld: string;
|
|
2188
|
+
};
|
|
2189
|
+
/** ContactAttributeSetCreate */
|
|
2190
|
+
ContactAttributeSetCreate: {
|
|
2191
|
+
/**
|
|
2192
|
+
* Attributes
|
|
2193
|
+
* @description Key-value map of contact attributes for this set
|
|
2194
|
+
*/
|
|
2195
|
+
attributes: {
|
|
2196
|
+
[key: string]: string;
|
|
2197
|
+
};
|
|
2198
|
+
/**
|
|
2199
|
+
* Label
|
|
2200
|
+
* @description A human-readable label explaining the purpose of this attribute set
|
|
2201
|
+
*/
|
|
2202
|
+
label: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Tld
|
|
2205
|
+
* @description The TLD this attribute set applies to (e.g. 'de', '.de', 'DE')
|
|
2206
|
+
*/
|
|
2207
|
+
tld: string;
|
|
2208
|
+
};
|
|
2209
|
+
/** ContactAttributeSetResponse */
|
|
2210
|
+
ContactAttributeSetResponse: {
|
|
2211
|
+
/**
|
|
2212
|
+
* Attributes
|
|
2213
|
+
* @description Key-value map of contact attributes for this set
|
|
2214
|
+
*/
|
|
2215
|
+
attributes: {
|
|
2216
|
+
[key: string]: string;
|
|
2217
|
+
};
|
|
2218
|
+
/**
|
|
2219
|
+
* Contact Attribute Set Id
|
|
2220
|
+
* Format: typeid
|
|
2221
|
+
* @description The unique identifier of the attribute set
|
|
2222
|
+
* @example contact_attribute_set_01h45ytscbebyvny4gc8cr8ma2
|
|
2223
|
+
*/
|
|
2224
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
2225
|
+
/**
|
|
2226
|
+
* Created On
|
|
2227
|
+
* Format: date-time
|
|
2228
|
+
* @description The date/time the entry was created on
|
|
2229
|
+
*/
|
|
2230
|
+
created_on: Date;
|
|
2231
|
+
/**
|
|
2232
|
+
* Label
|
|
2233
|
+
* @description A human-readable label explaining the purpose of this attribute set
|
|
2234
|
+
*/
|
|
2235
|
+
label: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* Organization Id
|
|
2238
|
+
* Format: typeid
|
|
2239
|
+
* @description The organization that owns this attribute set
|
|
2240
|
+
* @example organization_01h45ytscbebyvny4gc8cr8ma2
|
|
2241
|
+
*/
|
|
2242
|
+
organization_id: TypeId<"organization">;
|
|
2243
|
+
/**
|
|
2244
|
+
* Tld
|
|
2245
|
+
* @description The TLD this attribute set applies to
|
|
2246
|
+
*/
|
|
2247
|
+
tld: string;
|
|
2248
|
+
/**
|
|
2249
|
+
* Updated On
|
|
2250
|
+
* Format: date-time
|
|
2251
|
+
* @description The date/time the entry was last updated on
|
|
2252
|
+
*/
|
|
2253
|
+
updated_on: Date;
|
|
2254
|
+
};
|
|
2255
|
+
/** ContactAttributeSetUpdate */
|
|
2256
|
+
ContactAttributeSetUpdate: {
|
|
2257
|
+
/**
|
|
2258
|
+
* Label
|
|
2259
|
+
* @description A human-readable label explaining the purpose of this attribute set
|
|
2260
|
+
*/
|
|
2261
|
+
label?: string | null;
|
|
2262
|
+
};
|
|
2059
2263
|
/** ContactConfigBase */
|
|
2060
2264
|
ContactConfigBase: {
|
|
2061
2265
|
/**
|
|
@@ -2142,6 +2346,107 @@ export interface components {
|
|
|
2142
2346
|
*/
|
|
2143
2347
|
title?: string | null;
|
|
2144
2348
|
};
|
|
2349
|
+
/** ContactDetailResponse */
|
|
2350
|
+
ContactDetailResponse: {
|
|
2351
|
+
/**
|
|
2352
|
+
* Attribute Sets
|
|
2353
|
+
* @description Linked attribute sets for this contact
|
|
2354
|
+
*/
|
|
2355
|
+
attribute_sets?: components["schemas"]["ContactAttributeLinkDetail"][];
|
|
2356
|
+
/**
|
|
2357
|
+
* City
|
|
2358
|
+
* @description The city of the contact
|
|
2359
|
+
*/
|
|
2360
|
+
city: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Contact Id
|
|
2363
|
+
* Format: typeid
|
|
2364
|
+
* @example contact_01h45ytscbebyvny4gc8cr8ma2
|
|
2365
|
+
*/
|
|
2366
|
+
contact_id?: TypeId<"contact">;
|
|
2367
|
+
/**
|
|
2368
|
+
* Country
|
|
2369
|
+
* @description The country of the contact
|
|
2370
|
+
*/
|
|
2371
|
+
country: string;
|
|
2372
|
+
/**
|
|
2373
|
+
* Created On
|
|
2374
|
+
* Format: date-time
|
|
2375
|
+
* @description The date/time the entry was created on
|
|
2376
|
+
*/
|
|
2377
|
+
created_on?: Date;
|
|
2378
|
+
/**
|
|
2379
|
+
* Deleted On
|
|
2380
|
+
* @description The date/time the entry was deleted on
|
|
2381
|
+
*/
|
|
2382
|
+
deleted_on?: Date | null;
|
|
2383
|
+
/**
|
|
2384
|
+
* Disclose
|
|
2385
|
+
* @description Whether the contact details should be disclosed. The Disclose function may not work with all TLDs. Some registries still display the data in Whois if, for example, the organization field is filled in.
|
|
2386
|
+
*/
|
|
2387
|
+
disclose: boolean;
|
|
2388
|
+
/**
|
|
2389
|
+
* Email
|
|
2390
|
+
* Format: email
|
|
2391
|
+
* @description The email of the contact
|
|
2392
|
+
*/
|
|
2393
|
+
email: string;
|
|
2394
|
+
/**
|
|
2395
|
+
* Fax
|
|
2396
|
+
* @description The contacts's fax number
|
|
2397
|
+
*/
|
|
2398
|
+
fax?: string | null;
|
|
2399
|
+
/**
|
|
2400
|
+
* First Name
|
|
2401
|
+
* @description The first name of the contact
|
|
2402
|
+
*/
|
|
2403
|
+
first_name: string;
|
|
2404
|
+
/**
|
|
2405
|
+
* Last Name
|
|
2406
|
+
* @description The last name of the contact
|
|
2407
|
+
*/
|
|
2408
|
+
last_name: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* Org
|
|
2411
|
+
* @description The organization of the contact
|
|
2412
|
+
*/
|
|
2413
|
+
org?: string | null;
|
|
2414
|
+
/**
|
|
2415
|
+
* Organization Id
|
|
2416
|
+
* Format: typeid
|
|
2417
|
+
* @description The organization that owns the domain
|
|
2418
|
+
* @default None
|
|
2419
|
+
* @example organization_01h45ytscbebyvny4gc8cr8ma2
|
|
2420
|
+
*/
|
|
2421
|
+
organization_id: TypeId<"organization">;
|
|
2422
|
+
/**
|
|
2423
|
+
* Phone
|
|
2424
|
+
* Format: phone
|
|
2425
|
+
* @description The contact's phone number
|
|
2426
|
+
* @example +1.2125552368
|
|
2427
|
+
*/
|
|
2428
|
+
phone: string;
|
|
2429
|
+
/**
|
|
2430
|
+
* Postal Code
|
|
2431
|
+
* @description The postal code of the contact
|
|
2432
|
+
*/
|
|
2433
|
+
postal_code: string;
|
|
2434
|
+
/**
|
|
2435
|
+
* State
|
|
2436
|
+
* @description The state of the contact
|
|
2437
|
+
*/
|
|
2438
|
+
state?: string | null;
|
|
2439
|
+
/**
|
|
2440
|
+
* Street
|
|
2441
|
+
* @description The address of the contact
|
|
2442
|
+
*/
|
|
2443
|
+
street: string;
|
|
2444
|
+
/**
|
|
2445
|
+
* Title
|
|
2446
|
+
* @description The title of the contact
|
|
2447
|
+
*/
|
|
2448
|
+
title?: string | null;
|
|
2449
|
+
};
|
|
2145
2450
|
/** ContactHandle */
|
|
2146
2451
|
ContactHandle: {
|
|
2147
2452
|
/**
|
|
@@ -5058,6 +5363,12 @@ export interface components {
|
|
|
5058
5363
|
/** Results */
|
|
5059
5364
|
results: components["schemas"]["BillingTransactionResponse"][];
|
|
5060
5365
|
};
|
|
5366
|
+
/** Pagination[ContactAttributeSetResponse] */
|
|
5367
|
+
Pagination_ContactAttributeSetResponse_: {
|
|
5368
|
+
pagination: components["schemas"]["PaginationMetadata"];
|
|
5369
|
+
/** Results */
|
|
5370
|
+
results: components["schemas"]["ContactAttributeSetResponse"][];
|
|
5371
|
+
};
|
|
5061
5372
|
/** Pagination[ContactSchema] */
|
|
5062
5373
|
Pagination_ContactSchema_: {
|
|
5063
5374
|
pagination: components["schemas"]["PaginationMetadata"];
|
|
@@ -6947,6 +7258,279 @@ export interface operations {
|
|
|
6947
7258
|
};
|
|
6948
7259
|
};
|
|
6949
7260
|
};
|
|
7261
|
+
create_attribute_link_v1_contacts_attribute_links_post: {
|
|
7262
|
+
parameters: {
|
|
7263
|
+
query?: never;
|
|
7264
|
+
header?: never;
|
|
7265
|
+
path?: never;
|
|
7266
|
+
cookie?: never;
|
|
7267
|
+
};
|
|
7268
|
+
requestBody: {
|
|
7269
|
+
content: {
|
|
7270
|
+
"application/json": components["schemas"]["ContactAttributeLinkCreate"];
|
|
7271
|
+
};
|
|
7272
|
+
};
|
|
7273
|
+
responses: {
|
|
7274
|
+
/** @description Successful Response */
|
|
7275
|
+
201: {
|
|
7276
|
+
headers: {
|
|
7277
|
+
[name: string]: unknown;
|
|
7278
|
+
};
|
|
7279
|
+
content: {
|
|
7280
|
+
"application/json": components["schemas"]["ContactAttributeLinkResponse"];
|
|
7281
|
+
};
|
|
7282
|
+
};
|
|
7283
|
+
/** @description Not Found */
|
|
7284
|
+
404: {
|
|
7285
|
+
headers: {
|
|
7286
|
+
[name: string]: unknown;
|
|
7287
|
+
};
|
|
7288
|
+
content: {
|
|
7289
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7290
|
+
};
|
|
7291
|
+
};
|
|
7292
|
+
/** @description Conflict */
|
|
7293
|
+
409: {
|
|
7294
|
+
headers: {
|
|
7295
|
+
[name: string]: unknown;
|
|
7296
|
+
};
|
|
7297
|
+
content: {
|
|
7298
|
+
/** @example {
|
|
7299
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_LINK_ALREADY_EXISTS",
|
|
7300
|
+
* "contact_id": "Additional error context.",
|
|
7301
|
+
* "detail": "A contact attribute link already exists for this contact and TLD",
|
|
7302
|
+
* "status": 409,
|
|
7303
|
+
* "title": "Contact Attribute Set Error",
|
|
7304
|
+
* "tld": "",
|
|
7305
|
+
* "type": "contact-attribute-link-already-exists"
|
|
7306
|
+
* } */
|
|
7307
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7308
|
+
};
|
|
7309
|
+
};
|
|
7310
|
+
/** @description Validation Error */
|
|
7311
|
+
422: {
|
|
7312
|
+
headers: {
|
|
7313
|
+
[name: string]: unknown;
|
|
7314
|
+
};
|
|
7315
|
+
content: {
|
|
7316
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7317
|
+
};
|
|
7318
|
+
};
|
|
7319
|
+
};
|
|
7320
|
+
};
|
|
7321
|
+
list_attribute_sets_v1_contacts_attribute_sets_get: {
|
|
7322
|
+
parameters: {
|
|
7323
|
+
query?: {
|
|
7324
|
+
/** @description Filter by TLD (e.g. 'de', '.de', 'DE') */
|
|
7325
|
+
tld?: string | null;
|
|
7326
|
+
page?: number;
|
|
7327
|
+
page_size?: number;
|
|
7328
|
+
};
|
|
7329
|
+
header?: never;
|
|
7330
|
+
path?: never;
|
|
7331
|
+
cookie?: never;
|
|
7332
|
+
};
|
|
7333
|
+
requestBody?: never;
|
|
7334
|
+
responses: {
|
|
7335
|
+
/** @description Successful Response */
|
|
7336
|
+
200: {
|
|
7337
|
+
headers: {
|
|
7338
|
+
[name: string]: unknown;
|
|
7339
|
+
};
|
|
7340
|
+
content: {
|
|
7341
|
+
"application/json": components["schemas"]["Pagination_ContactAttributeSetResponse_"];
|
|
7342
|
+
};
|
|
7343
|
+
};
|
|
7344
|
+
/** @description Validation Error */
|
|
7345
|
+
422: {
|
|
7346
|
+
headers: {
|
|
7347
|
+
[name: string]: unknown;
|
|
7348
|
+
};
|
|
7349
|
+
content: {
|
|
7350
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7351
|
+
};
|
|
7352
|
+
};
|
|
7353
|
+
};
|
|
7354
|
+
};
|
|
7355
|
+
create_attribute_set_v1_contacts_attribute_sets_post: {
|
|
7356
|
+
parameters: {
|
|
7357
|
+
query?: never;
|
|
7358
|
+
header?: never;
|
|
7359
|
+
path?: never;
|
|
7360
|
+
cookie?: never;
|
|
7361
|
+
};
|
|
7362
|
+
requestBody: {
|
|
7363
|
+
content: {
|
|
7364
|
+
"application/json": components["schemas"]["ContactAttributeSetCreate"];
|
|
7365
|
+
};
|
|
7366
|
+
};
|
|
7367
|
+
responses: {
|
|
7368
|
+
/** @description Successful Response */
|
|
7369
|
+
201: {
|
|
7370
|
+
headers: {
|
|
7371
|
+
[name: string]: unknown;
|
|
7372
|
+
};
|
|
7373
|
+
content: {
|
|
7374
|
+
"application/json": components["schemas"]["ContactAttributeSetResponse"];
|
|
7375
|
+
};
|
|
7376
|
+
};
|
|
7377
|
+
/** @description Validation Error */
|
|
7378
|
+
422: {
|
|
7379
|
+
headers: {
|
|
7380
|
+
[name: string]: unknown;
|
|
7381
|
+
};
|
|
7382
|
+
content: {
|
|
7383
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7384
|
+
};
|
|
7385
|
+
};
|
|
7386
|
+
};
|
|
7387
|
+
};
|
|
7388
|
+
get_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__get: {
|
|
7389
|
+
parameters: {
|
|
7390
|
+
query?: never;
|
|
7391
|
+
header?: never;
|
|
7392
|
+
path: {
|
|
7393
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
7394
|
+
};
|
|
7395
|
+
cookie?: never;
|
|
7396
|
+
};
|
|
7397
|
+
requestBody?: never;
|
|
7398
|
+
responses: {
|
|
7399
|
+
/** @description Successful Response */
|
|
7400
|
+
200: {
|
|
7401
|
+
headers: {
|
|
7402
|
+
[name: string]: unknown;
|
|
7403
|
+
};
|
|
7404
|
+
content: {
|
|
7405
|
+
"application/json": components["schemas"]["ContactAttributeSetResponse"];
|
|
7406
|
+
};
|
|
7407
|
+
};
|
|
7408
|
+
/** @description Not Found */
|
|
7409
|
+
404: {
|
|
7410
|
+
headers: {
|
|
7411
|
+
[name: string]: unknown;
|
|
7412
|
+
};
|
|
7413
|
+
content: {
|
|
7414
|
+
/** @example {
|
|
7415
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_SET_NOT_FOUND",
|
|
7416
|
+
* "contact_attribute_set_id": "Additional error context.",
|
|
7417
|
+
* "detail": "Contact attribute set not found",
|
|
7418
|
+
* "status": 404,
|
|
7419
|
+
* "title": "Contact Attribute Set Error",
|
|
7420
|
+
* "type": "contact-attribute-set-not-found"
|
|
7421
|
+
* } */
|
|
7422
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7423
|
+
};
|
|
7424
|
+
};
|
|
7425
|
+
/** @description Validation Error */
|
|
7426
|
+
422: {
|
|
7427
|
+
headers: {
|
|
7428
|
+
[name: string]: unknown;
|
|
7429
|
+
};
|
|
7430
|
+
content: {
|
|
7431
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7432
|
+
};
|
|
7433
|
+
};
|
|
7434
|
+
};
|
|
7435
|
+
};
|
|
7436
|
+
delete_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__delete: {
|
|
7437
|
+
parameters: {
|
|
7438
|
+
query?: never;
|
|
7439
|
+
header?: never;
|
|
7440
|
+
path: {
|
|
7441
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
7442
|
+
};
|
|
7443
|
+
cookie?: never;
|
|
7444
|
+
};
|
|
7445
|
+
requestBody?: never;
|
|
7446
|
+
responses: {
|
|
7447
|
+
/** @description Successful Response */
|
|
7448
|
+
204: {
|
|
7449
|
+
headers: {
|
|
7450
|
+
[name: string]: unknown;
|
|
7451
|
+
};
|
|
7452
|
+
content?: never;
|
|
7453
|
+
};
|
|
7454
|
+
/** @description Not Found */
|
|
7455
|
+
404: {
|
|
7456
|
+
headers: {
|
|
7457
|
+
[name: string]: unknown;
|
|
7458
|
+
};
|
|
7459
|
+
content: {
|
|
7460
|
+
/** @example {
|
|
7461
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_SET_NOT_FOUND",
|
|
7462
|
+
* "contact_attribute_set_id": "Additional error context.",
|
|
7463
|
+
* "detail": "Contact attribute set not found",
|
|
7464
|
+
* "status": 404,
|
|
7465
|
+
* "title": "Contact Attribute Set Error",
|
|
7466
|
+
* "type": "contact-attribute-set-not-found"
|
|
7467
|
+
* } */
|
|
7468
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7469
|
+
};
|
|
7470
|
+
};
|
|
7471
|
+
/** @description Validation Error */
|
|
7472
|
+
422: {
|
|
7473
|
+
headers: {
|
|
7474
|
+
[name: string]: unknown;
|
|
7475
|
+
};
|
|
7476
|
+
content: {
|
|
7477
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7478
|
+
};
|
|
7479
|
+
};
|
|
7480
|
+
};
|
|
7481
|
+
};
|
|
7482
|
+
update_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__patch: {
|
|
7483
|
+
parameters: {
|
|
7484
|
+
query?: never;
|
|
7485
|
+
header?: never;
|
|
7486
|
+
path: {
|
|
7487
|
+
contact_attribute_set_id: TypeId<"contact_attribute_set">;
|
|
7488
|
+
};
|
|
7489
|
+
cookie?: never;
|
|
7490
|
+
};
|
|
7491
|
+
requestBody: {
|
|
7492
|
+
content: {
|
|
7493
|
+
"application/json": components["schemas"]["ContactAttributeSetUpdate"];
|
|
7494
|
+
};
|
|
7495
|
+
};
|
|
7496
|
+
responses: {
|
|
7497
|
+
/** @description Successful Response */
|
|
7498
|
+
200: {
|
|
7499
|
+
headers: {
|
|
7500
|
+
[name: string]: unknown;
|
|
7501
|
+
};
|
|
7502
|
+
content: {
|
|
7503
|
+
"application/json": components["schemas"]["ContactAttributeSetResponse"];
|
|
7504
|
+
};
|
|
7505
|
+
};
|
|
7506
|
+
/** @description Not Found */
|
|
7507
|
+
404: {
|
|
7508
|
+
headers: {
|
|
7509
|
+
[name: string]: unknown;
|
|
7510
|
+
};
|
|
7511
|
+
content: {
|
|
7512
|
+
/** @example {
|
|
7513
|
+
* "code": "ERROR_CONTACT_ATTRIBUTE_SET_NOT_FOUND",
|
|
7514
|
+
* "contact_attribute_set_id": "Additional error context.",
|
|
7515
|
+
* "detail": "Contact attribute set not found",
|
|
7516
|
+
* "status": 404,
|
|
7517
|
+
* "title": "Contact Attribute Set Error",
|
|
7518
|
+
* "type": "contact-attribute-set-not-found"
|
|
7519
|
+
* } */
|
|
7520
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
7521
|
+
};
|
|
7522
|
+
};
|
|
7523
|
+
/** @description Validation Error */
|
|
7524
|
+
422: {
|
|
7525
|
+
headers: {
|
|
7526
|
+
[name: string]: unknown;
|
|
7527
|
+
};
|
|
7528
|
+
content: {
|
|
7529
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
7530
|
+
};
|
|
7531
|
+
};
|
|
7532
|
+
};
|
|
7533
|
+
};
|
|
6950
7534
|
get_verification_by_token_v1_contacts_verification_get: {
|
|
6951
7535
|
parameters: {
|
|
6952
7536
|
query: {
|
|
@@ -7130,7 +7714,7 @@ export interface operations {
|
|
|
7130
7714
|
[name: string]: unknown;
|
|
7131
7715
|
};
|
|
7132
7716
|
content: {
|
|
7133
|
-
"application/json": components["schemas"]["
|
|
7717
|
+
"application/json": components["schemas"]["ContactDetailResponse"];
|
|
7134
7718
|
};
|
|
7135
7719
|
};
|
|
7136
7720
|
/** @description Not Found */
|