@opusdns/api 0.9.0 → 0.10.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.
@@ -0,0 +1,543 @@
1
+ /**
2
+ * Array type aliases for OpenAPI schemas
3
+ *
4
+ * This file contains TypeScript array type aliases for OpenAPI schema objects.
5
+ * Each array type represents a collection of the corresponding schema type.
6
+ * These types are used throughout the API for request/response arrays.
7
+ *
8
+ * @remarks
9
+ * - All array types follow the pattern: `TypeNameArray = TypeName[]`
10
+ * - Array types are automatically generated from OpenAPI schema references
11
+ * - Each type includes documentation from the original OpenAPI schema
12
+ * - These types ensure type safety when working with API arrays
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ * // Using array types for API responses
17
+ * const domains: DomainArray = await api.getDomains();
18
+ * const contacts: ContactSchemaArray = await api.getContacts();
19
+ * ```
20
+ *
21
+ * This file is auto-generated from the OpenAPI specification.
22
+ * Do not edit manually.
23
+ */
24
+ import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, BulkOperationResult, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, Nameserver, DomainContact, DomainStatus, DomainSearchSuggestion, DomainClientStatus, EmailForwardBulkUpdateItem, ValidationError, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, ContactSchema, DnsZone, Domain, EmailForward, EventResponse, OrganizationCredential, Organization, UserNotificationSummary, Permission, Relation, UserAttributeUpdate, DomainAvailability } from './schemas';
25
+
26
+ /**
27
+ * DomainDnssecDataResponse
28
+ *
29
+ * @remarks
30
+ * Array type for DomainDnssecDataResponse objects. Used when the API returns a collection of DomainDnssecDataResponse instances.
31
+ *
32
+ * @example
33
+ * ```typescript
34
+ * const items: DomainDnssecDataArray = await api.getDomainDnssecDatas();
35
+ * ```
36
+ *
37
+ * @see {@link DomainDnssecData} - The individual DomainDnssecDataResponse type definition
38
+ */
39
+ export type DomainDnssecDataArray = DomainDnssecData[];
40
+ /**
41
+ * DomainDnssecDataCreate
42
+ *
43
+ * @remarks
44
+ * Array type for DomainDnssecDataCreate objects. Used when the API returns a collection of DomainDnssecDataCreate instances.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ * const items: DomainDnssecDataCreateArray = await api.getDomainDnssecDataCreates();
49
+ * ```
50
+ *
51
+ * @see {@link DomainDnssecDataCreate} - The individual DomainDnssecDataCreate type definition
52
+ */
53
+ export type DomainDnssecDataCreateArray = DomainDnssecDataCreate[];
54
+ /**
55
+ * OrganizationAttributeResponse
56
+ *
57
+ * @remarks
58
+ * Array type for OrganizationAttributeResponse objects. Used when the API returns a collection of OrganizationAttributeResponse instances.
59
+ *
60
+ * @example
61
+ * ```typescript
62
+ * const items: OrganizationAttributeArray = await api.getOrganizationAttributes();
63
+ * ```
64
+ *
65
+ * @see {@link OrganizationAttribute} - The individual OrganizationAttributeResponse type definition
66
+ */
67
+ export type OrganizationAttributeArray = OrganizationAttribute[];
68
+ /**
69
+ * OrganizationAttributeUpdate
70
+ *
71
+ * @remarks
72
+ * Array type for OrganizationAttributeUpdate objects. Used when the API returns a collection of OrganizationAttributeUpdate instances.
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * const items: OrganizationAttributeUpdateArray = await api.getOrganizationAttributeUpdates();
77
+ * ```
78
+ *
79
+ * @see {@link OrganizationAttributeUpdate} - The individual OrganizationAttributeUpdate type definition
80
+ */
81
+ export type OrganizationAttributeUpdateArray = OrganizationAttributeUpdate[];
82
+ /**
83
+ * IpRestrictionResponse
84
+ *
85
+ * @remarks
86
+ * Array type for IpRestrictionResponse objects. Used when the API returns a collection of IpRestrictionResponse instances.
87
+ *
88
+ * @example
89
+ * ```typescript
90
+ * const items: IpRestrictionArray = await api.getIpRestrictions();
91
+ * ```
92
+ *
93
+ * @see {@link IpRestriction} - The individual IpRestrictionResponse type definition
94
+ */
95
+ export type IpRestrictionArray = IpRestriction[];
96
+ /**
97
+ * BulkOperationResult
98
+ *
99
+ * @remarks
100
+ * Array type for BulkOperationResult objects. Used when the API returns a collection of BulkOperationResult instances.
101
+ *
102
+ * @example
103
+ * ```typescript
104
+ * const items: BulkOperationResultArray = await api.getBulkOperationResults();
105
+ * ```
106
+ *
107
+ * @see {@link BulkOperationResult} - The individual BulkOperationResult type definition
108
+ */
109
+ export type BulkOperationResultArray = BulkOperationResult[];
110
+ /**
111
+ * DnsChangeResponse
112
+ *
113
+ * @remarks
114
+ * Array type for DnsChangeResponse objects. Used when the API returns a collection of DnsChangeResponse instances.
115
+ *
116
+ * @example
117
+ * ```typescript
118
+ * const items: DnsChangeArray = await api.getDnsChanges();
119
+ * ```
120
+ *
121
+ * @see {@link DnsChange} - The individual DnsChangeResponse type definition
122
+ */
123
+ export type DnsChangeArray = DnsChange[];
124
+ /**
125
+ * DnsRecordCreate
126
+ *
127
+ * @remarks
128
+ * Array type for DnsRecordCreate objects. Used when the API returns a collection of DnsRecordCreate instances.
129
+ *
130
+ * @example
131
+ * ```typescript
132
+ * const items: DnsRecordCreateArray = await api.getDnsRecordCreates();
133
+ * ```
134
+ *
135
+ * @see {@link DnsRecordCreate} - The individual DnsRecordCreate type definition
136
+ */
137
+ export type DnsRecordCreateArray = DnsRecordCreate[];
138
+ /**
139
+ * DnsRecordResponse
140
+ *
141
+ * @remarks
142
+ * Array type for DnsRecordResponse objects. Used when the API returns a collection of DnsRecordResponse instances.
143
+ *
144
+ * @example
145
+ * ```typescript
146
+ * const items: DnsRecordArray = await api.getDnsRecords();
147
+ * ```
148
+ *
149
+ * @see {@link DnsRecord} - The individual DnsRecordResponse type definition
150
+ */
151
+ export type DnsRecordArray = DnsRecord[];
152
+ /**
153
+ * DnsRrsetCreate
154
+ *
155
+ * @remarks
156
+ * Array type for DnsRrsetCreate objects. Used when the API returns a collection of DnsRrsetCreate instances.
157
+ *
158
+ * @example
159
+ * ```typescript
160
+ * const items: DnsRrsetCreateArray = await api.getDnsRrsetCreates();
161
+ * ```
162
+ *
163
+ * @see {@link DnsRrsetCreate} - The individual DnsRrsetCreate type definition
164
+ */
165
+ export type DnsRrsetCreateArray = DnsRrsetCreate[];
166
+ /**
167
+ * DnsRecordPatchOp
168
+ *
169
+ * @remarks
170
+ * Array type for DnsRecordPatchOp objects. Used when the API returns a collection of DnsRecordPatchOp instances.
171
+ *
172
+ * @example
173
+ * ```typescript
174
+ * const items: DnsRecordPatchOpArray = await api.getDnsRecordPatchOps();
175
+ * ```
176
+ *
177
+ * @see {@link DnsRecordPatchOp} - The individual DnsRecordPatchOp type definition
178
+ */
179
+ export type DnsRecordPatchOpArray = DnsRecordPatchOp[];
180
+ /**
181
+ * DnsRrsetResponse
182
+ *
183
+ * @remarks
184
+ * Array type for DnsRrsetResponse objects. Used when the API returns a collection of DnsRrsetResponse instances.
185
+ *
186
+ * @example
187
+ * ```typescript
188
+ * const items: DnsRrsetArray = await api.getDnsRrsets();
189
+ * ```
190
+ *
191
+ * @see {@link DnsRrset} - The individual DnsRrsetResponse type definition
192
+ */
193
+ export type DnsRrsetArray = DnsRrset[];
194
+ /**
195
+ * DnsRrsetPatchOp
196
+ *
197
+ * @remarks
198
+ * Array type for DnsRrsetPatchOp objects. Used when the API returns a collection of DnsRrsetPatchOp instances.
199
+ *
200
+ * @example
201
+ * ```typescript
202
+ * const items: DnsRrsetPatchOpArray = await api.getDnsRrsetPatchOps();
203
+ * ```
204
+ *
205
+ * @see {@link DnsRrsetPatchOp} - The individual DnsRrsetPatchOp type definition
206
+ */
207
+ export type DnsRrsetPatchOpArray = DnsRrsetPatchOp[];
208
+ /**
209
+ * DomainAvailabilityResponse
210
+ *
211
+ * @remarks
212
+ * Array type for DomainAvailabilityResponse objects. Used when the API returns a collection of DomainAvailabilityResponse instances.
213
+ *
214
+ * @example
215
+ * ```typescript
216
+ * const items: DomainAvailabilityCheckArray = await api.getDomainAvailabilityChecks();
217
+ * ```
218
+ *
219
+ * @see {@link DomainAvailabilityCheck} - The individual DomainAvailabilityResponse type definition
220
+ */
221
+ export type DomainAvailabilityCheckArray = DomainAvailabilityCheck[];
222
+ /**
223
+ * Nameserver
224
+ *
225
+ * @remarks
226
+ * Array type for Nameserver objects. Used when the API returns a collection of Nameserver instances.
227
+ *
228
+ * @example
229
+ * ```typescript
230
+ * const items: NameserverArray = await api.getNameservers();
231
+ * ```
232
+ *
233
+ * @see {@link Nameserver} - The individual Nameserver type definition
234
+ */
235
+ export type NameserverArray = Nameserver[];
236
+ /**
237
+ * DomainContactResponse
238
+ *
239
+ * @remarks
240
+ * Array type for DomainContactResponse objects. Used when the API returns a collection of DomainContactResponse instances.
241
+ *
242
+ * @example
243
+ * ```typescript
244
+ * const items: DomainContactArray = await api.getDomainContacts();
245
+ * ```
246
+ *
247
+ * @see {@link DomainContact} - The individual DomainContactResponse type definition
248
+ */
249
+ export type DomainContactArray = DomainContact[];
250
+ /**
251
+ * DomainStatus
252
+ *
253
+ * @remarks
254
+ * Array type for DomainStatus objects. Used when the API returns a collection of DomainStatus instances.
255
+ *
256
+ * @example
257
+ * ```typescript
258
+ * const items: DomainStatusArray = await api.getDomainStatuss();
259
+ * ```
260
+ *
261
+ * @see {@link DomainStatus} - The individual DomainStatus type definition
262
+ */
263
+ export type DomainStatusArray = DomainStatus[];
264
+ /**
265
+ * DomainSearchSuggestion
266
+ *
267
+ * @remarks
268
+ * Array type for DomainSearchSuggestion objects. Used when the API returns a collection of DomainSearchSuggestion instances.
269
+ *
270
+ * @example
271
+ * ```typescript
272
+ * const items: DomainSearchSuggestionArray = await api.getDomainSearchSuggestions();
273
+ * ```
274
+ *
275
+ * @see {@link DomainSearchSuggestion} - The individual DomainSearchSuggestion type definition
276
+ */
277
+ export type DomainSearchSuggestionArray = DomainSearchSuggestion[];
278
+ /**
279
+ * DomainClientStatus
280
+ *
281
+ * @remarks
282
+ * Array type for DomainClientStatus objects. Used when the API returns a collection of DomainClientStatus instances.
283
+ *
284
+ * @example
285
+ * ```typescript
286
+ * const items: DomainClientStatusArray = await api.getDomainClientStatuss();
287
+ * ```
288
+ *
289
+ * @see {@link DomainClientStatus} - The individual DomainClientStatus type definition
290
+ */
291
+ export type DomainClientStatusArray = DomainClientStatus[];
292
+ /**
293
+ * EmailForwardBulkUpdateItem
294
+ *
295
+ * @remarks
296
+ * Array type for EmailForwardBulkUpdateItem objects. Used when the API returns a collection of EmailForwardBulkUpdateItem instances.
297
+ *
298
+ * @example
299
+ * ```typescript
300
+ * const items: EmailForwardBulkUpdateItemArray = await api.getEmailForwardBulkUpdateItems();
301
+ * ```
302
+ *
303
+ * @see {@link EmailForwardBulkUpdateItem} - The individual EmailForwardBulkUpdateItem type definition
304
+ */
305
+ export type EmailForwardBulkUpdateItemArray = EmailForwardBulkUpdateItem[];
306
+ /**
307
+ * ValidationError
308
+ *
309
+ * @remarks
310
+ * Array type for ValidationError objects. Used when the API returns a collection of ValidationError instances.
311
+ *
312
+ * @example
313
+ * ```typescript
314
+ * const items: ValidationErrorArray = await api.getValidationErrors();
315
+ * ```
316
+ *
317
+ * @see {@link ValidationError} - The individual ValidationError type definition
318
+ */
319
+ export type ValidationErrorArray = ValidationError[];
320
+ /**
321
+ * OrganizationAttribute
322
+ *
323
+ * @remarks
324
+ * Array type for OrganizationAttribute objects. Used when the API returns a collection of OrganizationAttribute instances.
325
+ *
326
+ * @example
327
+ * ```typescript
328
+ * const items: OrganizationAttribute2Array = await api.getOrganizationAttribute2s();
329
+ * ```
330
+ *
331
+ * @see {@link OrganizationAttribute2} - The individual OrganizationAttribute type definition
332
+ */
333
+ export type OrganizationAttribute2Array = OrganizationAttribute2[];
334
+ /**
335
+ * User
336
+ *
337
+ * @remarks
338
+ * Array type for User objects. Used when the API returns a collection of User instances.
339
+ *
340
+ * @example
341
+ * ```typescript
342
+ * const items: UserArray = await api.getUsers();
343
+ * ```
344
+ *
345
+ * @see {@link User} - The individual User type definition
346
+ */
347
+ export type UserArray = User[];
348
+ /**
349
+ * OrganizationAttributeCreate
350
+ *
351
+ * @remarks
352
+ * Array type for OrganizationAttributeCreate objects. Used when the API returns a collection of OrganizationAttributeCreate instances.
353
+ *
354
+ * @example
355
+ * ```typescript
356
+ * const items: OrganizationAttributeCreateArray = await api.getOrganizationAttributeCreates();
357
+ * ```
358
+ *
359
+ * @see {@link OrganizationAttributeCreate} - The individual OrganizationAttributeCreate type definition
360
+ */
361
+ export type OrganizationAttributeCreateArray = OrganizationAttributeCreate[];
362
+ /**
363
+ * UserCreate
364
+ *
365
+ * @remarks
366
+ * Array type for UserCreate objects. Used when the API returns a collection of UserCreate instances.
367
+ *
368
+ * @example
369
+ * ```typescript
370
+ * const items: UserCreateArray = await api.getUserCreates();
371
+ * ```
372
+ *
373
+ * @see {@link UserCreate} - The individual UserCreate type definition
374
+ */
375
+ export type UserCreateArray = UserCreate[];
376
+ /**
377
+ * ContactSchema
378
+ *
379
+ * @remarks
380
+ * Array type for ContactSchema objects. Used when the API returns a collection of ContactSchema instances.
381
+ *
382
+ * @example
383
+ * ```typescript
384
+ * const items: ContactSchemaArray = await api.getContactSchemas();
385
+ * ```
386
+ *
387
+ * @see {@link ContactSchema} - The individual ContactSchema type definition
388
+ */
389
+ export type ContactSchemaArray = ContactSchema[];
390
+ /**
391
+ * DnsZoneResponse
392
+ *
393
+ * @remarks
394
+ * Array type for DnsZoneResponse objects. Used when the API returns a collection of DnsZoneResponse instances.
395
+ *
396
+ * @example
397
+ * ```typescript
398
+ * const items: DnsZoneArray = await api.getDnsZones();
399
+ * ```
400
+ *
401
+ * @see {@link DnsZone} - The individual DnsZoneResponse type definition
402
+ */
403
+ export type DnsZoneArray = DnsZone[];
404
+ /**
405
+ * DomainResponse
406
+ *
407
+ * @remarks
408
+ * Array type for DomainResponse objects. Used when the API returns a collection of DomainResponse instances.
409
+ *
410
+ * @example
411
+ * ```typescript
412
+ * const items: DomainArray = await api.getDomains();
413
+ * ```
414
+ *
415
+ * @see {@link Domain} - The individual DomainResponse type definition
416
+ */
417
+ export type DomainArray = Domain[];
418
+ /**
419
+ * EmailForward
420
+ *
421
+ * @remarks
422
+ * Array type for EmailForward objects. Used when the API returns a collection of EmailForward instances.
423
+ *
424
+ * @example
425
+ * ```typescript
426
+ * const items: EmailForwardArray = await api.getEmailForwards();
427
+ * ```
428
+ *
429
+ * @see {@link EmailForward} - The individual EmailForward type definition
430
+ */
431
+ export type EmailForwardArray = EmailForward[];
432
+ /**
433
+ * EventResponse
434
+ *
435
+ * @remarks
436
+ * Array type for EventResponse objects. Used when the API returns a collection of EventResponse instances.
437
+ *
438
+ * @example
439
+ * ```typescript
440
+ * const items: EventResponseArray = await api.getEventResponses();
441
+ * ```
442
+ *
443
+ * @see {@link EventResponse} - The individual EventResponse type definition
444
+ */
445
+ export type EventResponseArray = EventResponse[];
446
+ /**
447
+ * OrganizationCredential
448
+ *
449
+ * @remarks
450
+ * Array type for OrganizationCredential objects. Used when the API returns a collection of OrganizationCredential instances.
451
+ *
452
+ * @example
453
+ * ```typescript
454
+ * const items: OrganizationCredentialArray = await api.getOrganizationCredentials();
455
+ * ```
456
+ *
457
+ * @see {@link OrganizationCredential} - The individual OrganizationCredential type definition
458
+ */
459
+ export type OrganizationCredentialArray = OrganizationCredential[];
460
+ /**
461
+ * Organization
462
+ *
463
+ * @remarks
464
+ * Array type for Organization objects. Used when the API returns a collection of Organization instances.
465
+ *
466
+ * @example
467
+ * ```typescript
468
+ * const items: OrganizationArray = await api.getOrganizations();
469
+ * ```
470
+ *
471
+ * @see {@link Organization} - The individual Organization type definition
472
+ */
473
+ export type OrganizationArray = Organization[];
474
+ /**
475
+ * UserNotificationSummary
476
+ *
477
+ * @remarks
478
+ * Array type for UserNotificationSummary objects. Used when the API returns a collection of UserNotificationSummary instances.
479
+ *
480
+ * @example
481
+ * ```typescript
482
+ * const items: UserNotificationSummaryArray = await api.getUserNotificationSummarys();
483
+ * ```
484
+ *
485
+ * @see {@link UserNotificationSummary} - The individual UserNotificationSummary type definition
486
+ */
487
+ export type UserNotificationSummaryArray = UserNotificationSummary[];
488
+ /**
489
+ * Permission
490
+ *
491
+ * @remarks
492
+ * Array type for Permission objects. Used when the API returns a collection of Permission instances.
493
+ *
494
+ * @example
495
+ * ```typescript
496
+ * const items: PermissionArray = await api.getPermissions();
497
+ * ```
498
+ *
499
+ * @see {@link Permission} - The individual Permission type definition
500
+ */
501
+ export type PermissionArray = Permission[];
502
+ /**
503
+ * Relation
504
+ *
505
+ * @remarks
506
+ * Array type for Relation objects. Used when the API returns a collection of Relation instances.
507
+ *
508
+ * @example
509
+ * ```typescript
510
+ * const items: RelationArray = await api.getRelations();
511
+ * ```
512
+ *
513
+ * @see {@link Relation} - The individual Relation type definition
514
+ */
515
+ export type RelationArray = Relation[];
516
+ /**
517
+ * UserAttributeUpdate
518
+ *
519
+ * @remarks
520
+ * Array type for UserAttributeUpdate objects. Used when the API returns a collection of UserAttributeUpdate instances.
521
+ *
522
+ * @example
523
+ * ```typescript
524
+ * const items: UserAttributeUpdateArray = await api.getUserAttributeUpdates();
525
+ * ```
526
+ *
527
+ * @see {@link UserAttributeUpdate} - The individual UserAttributeUpdate type definition
528
+ */
529
+ export type UserAttributeUpdateArray = UserAttributeUpdate[];
530
+ /**
531
+ * DomainAvailability
532
+ *
533
+ * @remarks
534
+ * Array type for DomainAvailability objects. Used when the API returns a collection of DomainAvailability instances.
535
+ *
536
+ * @example
537
+ * ```typescript
538
+ * const items: DomainAvailabilityArray = await api.getDomainAvailabilitys();
539
+ * ```
540
+ *
541
+ * @see {@link DomainAvailability} - The individual DomainAvailability type definition
542
+ */
543
+ export type DomainAvailabilityArray = DomainAvailability[];