@randock/nameshift-api-client 0.0.39 → 0.0.40

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,79 @@
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
+ /**
17
+ *
18
+ * @export
19
+ * @interface SellerDomainTransferDomainDto
20
+ */
21
+ export interface SellerDomainTransferDomainDto {
22
+ /**
23
+ * The domain ID
24
+ * @type {object}
25
+ * @memberof SellerDomainTransferDomainDto
26
+ */
27
+ id: object;
28
+ /**
29
+ * The domain name
30
+ * @type {string}
31
+ * @memberof SellerDomainTransferDomainDto
32
+ */
33
+ name: string;
34
+ /**
35
+ * The domain TLD
36
+ * @type {string}
37
+ * @memberof SellerDomainTransferDomainDto
38
+ */
39
+ tld: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SellerDomainTransferDomainDto interface.
44
+ */
45
+ export function instanceOfSellerDomainTransferDomainDto(value: object): boolean {
46
+ if (!('id' in value)) return false;
47
+ if (!('name' in value)) return false;
48
+ if (!('tld' in value)) return false;
49
+ return true;
50
+ }
51
+
52
+ export function SellerDomainTransferDomainDtoFromJSON(json: any): SellerDomainTransferDomainDto {
53
+ return SellerDomainTransferDomainDtoFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function SellerDomainTransferDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferDomainDto {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'id': json['id'],
63
+ 'name': json['name'],
64
+ 'tld': json['tld'],
65
+ };
66
+ }
67
+
68
+ export function SellerDomainTransferDomainDtoToJSON(value?: SellerDomainTransferDomainDto | null): any {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+
74
+ 'id': value['id'],
75
+ 'name': value['name'],
76
+ 'tld': value['tld'],
77
+ };
78
+ }
79
+
@@ -0,0 +1,126 @@
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 { SellerDomainTransferDomainDto } from './SellerDomainTransferDomainDto';
17
+ import {
18
+ SellerDomainTransferDomainDtoFromJSON,
19
+ SellerDomainTransferDomainDtoFromJSONTyped,
20
+ SellerDomainTransferDomainDtoToJSON,
21
+ } from './SellerDomainTransferDomainDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface SellerDomainTransferDto
27
+ */
28
+ export interface SellerDomainTransferDto {
29
+ /**
30
+ * The domain transfer ID
31
+ * @type {object}
32
+ * @memberof SellerDomainTransferDto
33
+ */
34
+ id: object;
35
+ /**
36
+ * The domain of transfer
37
+ * @type {SellerDomainTransferDomainDto}
38
+ * @memberof SellerDomainTransferDto
39
+ */
40
+ domain: SellerDomainTransferDomainDto;
41
+ /**
42
+ * The domain transfer status
43
+ * @type {string}
44
+ * @memberof SellerDomainTransferDto
45
+ */
46
+ status: SellerDomainTransferDtoStatusEnum;
47
+ /**
48
+ * The domain transfer requirements
49
+ * @type {string}
50
+ * @memberof SellerDomainTransferDto
51
+ */
52
+ requirements: SellerDomainTransferDtoRequirementsEnum;
53
+ /**
54
+ * The domain transfer creation date
55
+ * @type {Date}
56
+ * @memberof SellerDomainTransferDto
57
+ */
58
+ createdAt: Date;
59
+ }
60
+
61
+
62
+ /**
63
+ * @export
64
+ */
65
+ export const SellerDomainTransferDtoStatusEnum = {
66
+ CREATED: 'created',
67
+ STARTED: 'started',
68
+ PENDING_MANUAL_ACTION: 'pending_manual_action',
69
+ ERROR: 'error',
70
+ COMPLETED: 'completed'
71
+ } as const;
72
+ export type SellerDomainTransferDtoStatusEnum = typeof SellerDomainTransferDtoStatusEnum[keyof typeof SellerDomainTransferDtoStatusEnum];
73
+
74
+ /**
75
+ * @export
76
+ */
77
+ export const SellerDomainTransferDtoRequirementsEnum = {
78
+ AUTH_CODE: 'auth_code'
79
+ } as const;
80
+ export type SellerDomainTransferDtoRequirementsEnum = typeof SellerDomainTransferDtoRequirementsEnum[keyof typeof SellerDomainTransferDtoRequirementsEnum];
81
+
82
+
83
+ /**
84
+ * Check if a given object implements the SellerDomainTransferDto interface.
85
+ */
86
+ export function instanceOfSellerDomainTransferDto(value: object): boolean {
87
+ if (!('id' in value)) return false;
88
+ if (!('domain' in value)) return false;
89
+ if (!('status' in value)) return false;
90
+ if (!('requirements' in value)) return false;
91
+ if (!('createdAt' in value)) return false;
92
+ return true;
93
+ }
94
+
95
+ export function SellerDomainTransferDtoFromJSON(json: any): SellerDomainTransferDto {
96
+ return SellerDomainTransferDtoFromJSONTyped(json, false);
97
+ }
98
+
99
+ export function SellerDomainTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerDomainTransferDto {
100
+ if (json == null) {
101
+ return json;
102
+ }
103
+ return {
104
+
105
+ 'id': json['id'],
106
+ 'domain': SellerDomainTransferDomainDtoFromJSON(json['domain']),
107
+ 'status': json['status'],
108
+ 'requirements': json['requirements'],
109
+ 'createdAt': (new Date(json['createdAt'])),
110
+ };
111
+ }
112
+
113
+ export function SellerDomainTransferDtoToJSON(value?: SellerDomainTransferDto | null): any {
114
+ if (value == null) {
115
+ return value;
116
+ }
117
+ return {
118
+
119
+ 'id': value['id'],
120
+ 'domain': SellerDomainTransferDomainDtoToJSON(value['domain']),
121
+ 'status': value['status'],
122
+ 'requirements': value['requirements'],
123
+ 'createdAt': ((value['createdAt']).toISOString()),
124
+ };
125
+ }
126
+
@@ -5,6 +5,7 @@ export * from './AccountAddressInput';
5
5
  export * from './AccountDto';
6
6
  export * from './AccountFinancialInput';
7
7
  export * from './AccountSettingsInput';
8
+ export * from './AdminGetAllDomainTransfers200Response';
8
9
  export * from './BatchUpdateDomainsInput';
9
10
  export * from './BuyDomainInput';
10
11
  export * from './ChangeOrderStatusInput';
@@ -52,6 +53,8 @@ export * from './PutLeadInput';
52
53
  export * from './RegisterAccountInput';
53
54
  export * from './RelatedSellerDomain';
54
55
  export * from './SecurityUserDto';
56
+ export * from './SellerDomainTransferDomainDto';
57
+ export * from './SellerDomainTransferDto';
55
58
  export * from './SetNewPasswordInput';
56
59
  export * from './ThrottlerException';
57
60
  export * from './TokenDto';