@randock/nameshift-api-client 0.0.381 → 0.0.383
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/.openapi-generator/FILES +8 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +60 -1
- package/dist/apis/BuyersApi.js +277 -0
- package/dist/models/AddSubscriptionDomainRecordInput.d.ts +56 -0
- package/dist/models/AddSubscriptionDomainRecordInput.js +65 -0
- package/dist/models/BuyerDomainNameserverItemDto.d.ts +32 -0
- package/dist/models/BuyerDomainNameserverItemDto.js +51 -0
- package/dist/models/BuyerDomainRecordItemDto.d.ts +56 -0
- package/dist/models/BuyerDomainRecordItemDto.js +67 -0
- package/dist/models/BuyerDomainRecordsDto.d.ts +46 -0
- package/dist/models/BuyerDomainRecordsDto.js +61 -0
- package/dist/models/BuyerSubscriptionListItemDto.d.ts +6 -0
- package/dist/models/BuyerSubscriptionListItemDto.js +4 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/RemoveSubscriptionDomainRecordInput.d.ts +56 -0
- package/dist/models/RemoveSubscriptionDomainRecordInput.js +65 -0
- package/dist/models/SubscriptionDomainRecordInput.d.ts +56 -0
- package/dist/models/SubscriptionDomainRecordInput.js +65 -0
- package/dist/models/UpdateSubscriptionDomainNameserversInput.d.ts +32 -0
- package/dist/models/UpdateSubscriptionDomainNameserversInput.js +51 -0
- package/dist/models/UpdateSubscriptionDomainRecordInput.d.ts +39 -0
- package/dist/models/UpdateSubscriptionDomainRecordInput.js +56 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +280 -0
- package/src/models/AddSubscriptionDomainRecordInput.ts +101 -0
- package/src/models/BuyerDomainNameserverItemDto.ts +66 -0
- package/src/models/BuyerDomainRecordItemDto.ts +102 -0
- package/src/models/BuyerDomainRecordsDto.ts +99 -0
- package/src/models/BuyerSubscriptionListItemDto.ts +9 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/RemoveSubscriptionDomainRecordInput.ts +101 -0
- package/src/models/SubscriptionDomainRecordInput.ts +101 -0
- package/src/models/UpdateSubscriptionDomainNameserversInput.ts +66 -0
- package/src/models/UpdateSubscriptionDomainRecordInput.ts +83 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SubscriptionDomainRecordInput } from './SubscriptionDomainRecordInput';
|
|
17
|
+
import {
|
|
18
|
+
SubscriptionDomainRecordInputFromJSON,
|
|
19
|
+
SubscriptionDomainRecordInputFromJSONTyped,
|
|
20
|
+
SubscriptionDomainRecordInputToJSON,
|
|
21
|
+
SubscriptionDomainRecordInputToJSONTyped,
|
|
22
|
+
} from './SubscriptionDomainRecordInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateSubscriptionDomainRecordInput
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateSubscriptionDomainRecordInput {
|
|
30
|
+
/**
|
|
31
|
+
* The existing record to be updated (identifies the record)
|
|
32
|
+
* @type {SubscriptionDomainRecordInput}
|
|
33
|
+
* @memberof UpdateSubscriptionDomainRecordInput
|
|
34
|
+
*/
|
|
35
|
+
original: SubscriptionDomainRecordInput;
|
|
36
|
+
/**
|
|
37
|
+
* The new record values
|
|
38
|
+
* @type {SubscriptionDomainRecordInput}
|
|
39
|
+
* @memberof UpdateSubscriptionDomainRecordInput
|
|
40
|
+
*/
|
|
41
|
+
record: SubscriptionDomainRecordInput;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateSubscriptionDomainRecordInput interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpdateSubscriptionDomainRecordInput(value: object): value is UpdateSubscriptionDomainRecordInput {
|
|
48
|
+
if (!('original' in value) || value['original'] === undefined) return false;
|
|
49
|
+
if (!('record' in value) || value['record'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateSubscriptionDomainRecordInputFromJSON(json: any): UpdateSubscriptionDomainRecordInput {
|
|
54
|
+
return UpdateSubscriptionDomainRecordInputFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UpdateSubscriptionDomainRecordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionDomainRecordInput {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'original': SubscriptionDomainRecordInputFromJSON(json['original']),
|
|
64
|
+
'record': SubscriptionDomainRecordInputFromJSON(json['record']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpdateSubscriptionDomainRecordInputToJSON(json: any): UpdateSubscriptionDomainRecordInput {
|
|
69
|
+
return UpdateSubscriptionDomainRecordInputToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateSubscriptionDomainRecordInputToJSONTyped(value?: UpdateSubscriptionDomainRecordInput | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'original': SubscriptionDomainRecordInputToJSON(value['original']),
|
|
80
|
+
'record': SubscriptionDomainRecordInputToJSON(value['record']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
|
32
32
|
export * from './AccountSettingsRentConfigurationDto';
|
|
33
33
|
export * from './AccountSettingsSidnDto';
|
|
34
34
|
export * from './AccountsStatsDto';
|
|
35
|
+
export * from './AddSubscriptionDomainRecordInput';
|
|
35
36
|
export * from './AddressDto';
|
|
36
37
|
export * from './AdminAccountCommissionByDateRangeInput';
|
|
37
38
|
export * from './AdminAccountLoginDto';
|
|
@@ -91,6 +92,9 @@ export * from './BuyerAuctionDetailDtoDomain';
|
|
|
91
92
|
export * from './BuyerAuctionListItemDto';
|
|
92
93
|
export * from './BuyerAuctionListItemDtoDomainInformation';
|
|
93
94
|
export * from './BuyerAuctionListItemDtoSellerAccount';
|
|
95
|
+
export * from './BuyerDomainNameserverItemDto';
|
|
96
|
+
export * from './BuyerDomainRecordItemDto';
|
|
97
|
+
export * from './BuyerDomainRecordsDto';
|
|
94
98
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
95
99
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
96
100
|
export * from './BuyerDomainTransferListItemDto';
|
|
@@ -322,6 +326,7 @@ export * from './RegisterAuctionBuyerPhoneInput';
|
|
|
322
326
|
export * from './RegisterInput';
|
|
323
327
|
export * from './RelatedDomainsDto';
|
|
324
328
|
export * from './RelatedSellerDomain';
|
|
329
|
+
export * from './RemoveSubscriptionDomainRecordInput';
|
|
325
330
|
export * from './RentConfigurationDto';
|
|
326
331
|
export * from './RentConfigurationInput';
|
|
327
332
|
export * from './RentConfigurationPresetsDto';
|
|
@@ -380,6 +385,7 @@ export * from './SubscriptionDetailsDomainSellerDto';
|
|
|
380
385
|
export * from './SubscriptionDetailsDomainSellerUserDto';
|
|
381
386
|
export * from './SubscriptionDetailsDto';
|
|
382
387
|
export * from './SubscriptionDomainDto';
|
|
388
|
+
export * from './SubscriptionDomainRecordInput';
|
|
383
389
|
export * from './SubscriptionDto';
|
|
384
390
|
export * from './SubscriptionLeaseToOwnConfigurationDto';
|
|
385
391
|
export * from './SubscriptionListItemBillingPeriodicityDto';
|
|
@@ -412,6 +418,8 @@ export * from './UpdateLeaseToOwnConfigurationDto';
|
|
|
412
418
|
export * from './UpdateOrderInput';
|
|
413
419
|
export * from './UpdateRentConfigurationDto';
|
|
414
420
|
export * from './UpdateSubscriptionBillingPeriodicityInput';
|
|
421
|
+
export * from './UpdateSubscriptionDomainNameserversInput';
|
|
422
|
+
export * from './UpdateSubscriptionDomainRecordInput';
|
|
415
423
|
export * from './UpdateSubscriptionInput';
|
|
416
424
|
export * from './UpdateTaskMuteStatusForBuyerInput';
|
|
417
425
|
export * from './UpdateTaskMuteStatusInput';
|