@randock/nameshift-api-client 0.0.80 → 0.0.81

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.
@@ -43,15 +43,14 @@ __exportStar(require("./DomainTransferAgentDto"), exports);
43
43
  __exportStar(require("./DomainTransferDetailWorkflowStepActionDto"), exports);
44
44
  __exportStar(require("./DomainTransferDetailWorkflowStepDto"), exports);
45
45
  __exportStar(require("./DomainTransferDetailsAuthCodeDto"), exports);
46
- __exportStar(require("./DomainTransferDetailsBuyerConfirmationDto"), exports);
47
46
  __exportStar(require("./DomainTransferDetailsDomainDto"), exports);
48
47
  __exportStar(require("./DomainTransferDetailsDto"), exports);
49
48
  __exportStar(require("./DomainTransferDetailsDtoAuthCode"), exports);
50
- __exportStar(require("./DomainTransferDetailsDtoBuyerConfirmation"), exports);
51
49
  __exportStar(require("./DomainTransferDetailsOrderBuyerDto"), exports);
52
50
  __exportStar(require("./DomainTransferDetailsOrderDto"), exports);
53
51
  __exportStar(require("./DomainTransferDetailsOrderSellerDto"), exports);
54
52
  __exportStar(require("./DomainTransferDetailsOrderSellerUserDto"), exports);
53
+ __exportStar(require("./DomainTransferDetailsValidationDto"), exports);
55
54
  __exportStar(require("./DomainTransferDomainDto"), exports);
56
55
  __exportStar(require("./DomainTransferDto"), exports);
57
56
  __exportStar(require("./DomainTransferDtoAgent"), exports);
@@ -110,6 +109,7 @@ __exportStar(require("./SellerDomainTransferDto"), exports);
110
109
  __exportStar(require("./SellerDomainTransferDtoAuthCode"), exports);
111
110
  __exportStar(require("./SellerDomainTransferListItemDomainDto"), exports);
112
111
  __exportStar(require("./SellerDomainTransferListItemDto"), exports);
112
+ __exportStar(require("./SetDomainTransferConfirmationInput"), exports);
113
113
  __exportStar(require("./SetNewPasswordInput"), exports);
114
114
  __exportStar(require("./StoreBuyerLocaleInput"), exports);
115
115
  __exportStar(require("./StoreUserLocaleInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,6 +20,7 @@ import type {
20
20
  BuyerUserDto,
21
21
  GetBuyerTransfers200Response,
22
22
  NotFoundException,
23
+ SetDomainTransferConfirmationInput,
23
24
  StoreBuyerLocaleInput,
24
25
  ThrottlerException,
25
26
  ValidationException,
@@ -35,6 +36,8 @@ import {
35
36
  GetBuyerTransfers200ResponseToJSON,
36
37
  NotFoundExceptionFromJSON,
37
38
  NotFoundExceptionToJSON,
39
+ SetDomainTransferConfirmationInputFromJSON,
40
+ SetDomainTransferConfirmationInputToJSON,
38
41
  StoreBuyerLocaleInputFromJSON,
39
42
  StoreBuyerLocaleInputToJSON,
40
43
  ThrottlerExceptionFromJSON,
@@ -43,10 +46,6 @@ import {
43
46
  ValidationExceptionToJSON,
44
47
  } from '../models/index';
45
48
 
46
- export interface BuyersApiConfirmDomainTransferRequest {
47
- transferId: string;
48
- }
49
-
50
49
  export interface BuyersApiGetBuyerTransfersRequest {
51
50
  filter?: object;
52
51
  page?: number;
@@ -58,6 +57,11 @@ export interface BuyersApiGetTransferAuthCodeRequest {
58
57
  transferId: string;
59
58
  }
60
59
 
60
+ export interface BuyersApiPatchDomainTransferConfirmationRequest {
61
+ transferId: string;
62
+ setDomainTransferConfirmationInput: SetDomainTransferConfirmationInput;
63
+ }
64
+
61
65
  export interface BuyersApiSetLocaleRequest {
62
66
  storeBuyerLocaleInput: StoreBuyerLocaleInput;
63
67
  }
@@ -101,46 +105,6 @@ export class BuyersApi extends runtime.BaseAPI {
101
105
  return await response.value();
102
106
  }
103
107
 
104
- /**
105
- *
106
- */
107
- async confirmDomainTransferRaw(requestParameters: BuyersApiConfirmDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
108
- if (requestParameters['transferId'] == null) {
109
- throw new runtime.RequiredError(
110
- 'transferId',
111
- 'Required parameter "transferId" was null or undefined when calling confirmDomainTransfer().'
112
- );
113
- }
114
-
115
- const queryParameters: any = {};
116
-
117
- const headerParameters: runtime.HTTPHeaders = {};
118
-
119
- if (this.configuration && this.configuration.accessToken) {
120
- const token = this.configuration.accessToken;
121
- const tokenString = await token("bearer", []);
122
-
123
- if (tokenString) {
124
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
125
- }
126
- }
127
- const response = await this.request({
128
- path: `/buyers/private/transfers/{transferId}/confirm`.replace(`{${"transferId"}}`, encodeURIComponent(String(requestParameters['transferId']))),
129
- method: 'PATCH',
130
- headers: headerParameters,
131
- query: queryParameters,
132
- }, initOverrides);
133
-
134
- return new runtime.VoidApiResponse(response);
135
- }
136
-
137
- /**
138
- *
139
- */
140
- async confirmDomainTransfer(requestParameters: BuyersApiConfirmDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
141
- await this.confirmDomainTransferRaw(requestParameters, initOverrides);
142
- }
143
-
144
108
  /**
145
109
  *
146
110
  */
@@ -232,6 +196,56 @@ export class BuyersApi extends runtime.BaseAPI {
232
196
  return await response.value();
233
197
  }
234
198
 
199
+ /**
200
+ *
201
+ */
202
+ async patchDomainTransferConfirmationRaw(requestParameters: BuyersApiPatchDomainTransferConfirmationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
203
+ if (requestParameters['transferId'] == null) {
204
+ throw new runtime.RequiredError(
205
+ 'transferId',
206
+ 'Required parameter "transferId" was null or undefined when calling patchDomainTransferConfirmation().'
207
+ );
208
+ }
209
+
210
+ if (requestParameters['setDomainTransferConfirmationInput'] == null) {
211
+ throw new runtime.RequiredError(
212
+ 'setDomainTransferConfirmationInput',
213
+ 'Required parameter "setDomainTransferConfirmationInput" was null or undefined when calling patchDomainTransferConfirmation().'
214
+ );
215
+ }
216
+
217
+ const queryParameters: any = {};
218
+
219
+ const headerParameters: runtime.HTTPHeaders = {};
220
+
221
+ headerParameters['Content-Type'] = 'application/json';
222
+
223
+ if (this.configuration && this.configuration.accessToken) {
224
+ const token = this.configuration.accessToken;
225
+ const tokenString = await token("bearer", []);
226
+
227
+ if (tokenString) {
228
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
229
+ }
230
+ }
231
+ const response = await this.request({
232
+ path: `/buyers/private/transfers/{transferId}/confirmation`.replace(`{${"transferId"}}`, encodeURIComponent(String(requestParameters['transferId']))),
233
+ method: 'PATCH',
234
+ headers: headerParameters,
235
+ query: queryParameters,
236
+ body: SetDomainTransferConfirmationInputToJSON(requestParameters['setDomainTransferConfirmationInput']),
237
+ }, initOverrides);
238
+
239
+ return new runtime.VoidApiResponse(response);
240
+ }
241
+
242
+ /**
243
+ *
244
+ */
245
+ async patchDomainTransferConfirmation(requestParameters: BuyersApiPatchDomainTransferConfirmationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
246
+ await this.patchDomainTransferConfirmationRaw(requestParameters, initOverrides);
247
+ }
248
+
235
249
  /**
236
250
  *
237
251
  */
@@ -13,12 +13,6 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { DomainTransferDetailsDtoBuyerConfirmation } from './DomainTransferDetailsDtoBuyerConfirmation';
17
- import {
18
- DomainTransferDetailsDtoBuyerConfirmationFromJSON,
19
- DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped,
20
- DomainTransferDetailsDtoBuyerConfirmationToJSON,
21
- } from './DomainTransferDetailsDtoBuyerConfirmation';
22
16
  import type { DomainTransferDetailsDtoAuthCode } from './DomainTransferDetailsDtoAuthCode';
23
17
  import {
24
18
  DomainTransferDetailsDtoAuthCodeFromJSON,
@@ -31,6 +25,12 @@ import {
31
25
  DomainTransferDetailsOrderDtoFromJSONTyped,
32
26
  DomainTransferDetailsOrderDtoToJSON,
33
27
  } from './DomainTransferDetailsOrderDto';
28
+ import type { DomainTransferDetailsValidationDto } from './DomainTransferDetailsValidationDto';
29
+ import {
30
+ DomainTransferDetailsValidationDtoFromJSON,
31
+ DomainTransferDetailsValidationDtoFromJSONTyped,
32
+ DomainTransferDetailsValidationDtoToJSON,
33
+ } from './DomainTransferDetailsValidationDto';
34
34
  import type { DomainTransferDetailWorkflowStepDto } from './DomainTransferDetailWorkflowStepDto';
35
35
  import {
36
36
  DomainTransferDetailWorkflowStepDtoFromJSON,
@@ -87,11 +87,11 @@ export interface DomainTransferDetailsDto {
87
87
  */
88
88
  authCode: DomainTransferDetailsDtoAuthCode | null;
89
89
  /**
90
- *
91
- * @type {DomainTransferDetailsDtoBuyerConfirmation}
90
+ * The domain transfer validations
91
+ * @type {Array<DomainTransferDetailsValidationDto>}
92
92
  * @memberof DomainTransferDetailsDto
93
93
  */
94
- buyerConfirmation: DomainTransferDetailsDtoBuyerConfirmation | null;
94
+ validations: Array<DomainTransferDetailsValidationDto>;
95
95
  /**
96
96
  * The domain transfer creation date
97
97
  * @type {Date}
@@ -130,7 +130,7 @@ export function instanceOfDomainTransferDetailsDto(value: object): value is Doma
130
130
  if (!('order' in value) || value['order'] === undefined) return false;
131
131
  if (!('status' in value) || value['status'] === undefined) return false;
132
132
  if (!('authCode' in value) || value['authCode'] === undefined) return false;
133
- if (!('buyerConfirmation' in value) || value['buyerConfirmation'] === undefined) return false;
133
+ if (!('validations' in value) || value['validations'] === undefined) return false;
134
134
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
135
135
  if (!('workflow' in value) || value['workflow'] === undefined) return false;
136
136
  return true;
@@ -152,7 +152,7 @@ export function DomainTransferDetailsDtoFromJSONTyped(json: any, ignoreDiscrimin
152
152
  'order': DomainTransferDetailsOrderDtoFromJSON(json['order']),
153
153
  'status': json['status'],
154
154
  'authCode': DomainTransferDetailsDtoAuthCodeFromJSON(json['authCode']),
155
- 'buyerConfirmation': DomainTransferDetailsDtoBuyerConfirmationFromJSON(json['buyerConfirmation']),
155
+ 'validations': ((json['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoFromJSON)),
156
156
  'createdAt': (new Date(json['createdAt'])),
157
157
  'workflow': ((json['workflow'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoFromJSON)),
158
158
  };
@@ -170,7 +170,7 @@ export function DomainTransferDetailsDtoToJSON(value?: DomainTransferDetailsDto
170
170
  'order': DomainTransferDetailsOrderDtoToJSON(value['order']),
171
171
  'status': value['status'],
172
172
  'authCode': DomainTransferDetailsDtoAuthCodeToJSON(value['authCode']),
173
- 'buyerConfirmation': DomainTransferDetailsDtoBuyerConfirmationToJSON(value['buyerConfirmation']),
173
+ 'validations': ((value['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoToJSON)),
174
174
  'createdAt': ((value['createdAt']).toISOString()),
175
175
  'workflow': ((value['workflow'] as Array<any>).map(DomainTransferDetailWorkflowStepDtoToJSON)),
176
176
  };
@@ -0,0 +1,99 @@
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 DomainTransferDetailsValidationDto
20
+ */
21
+ export interface DomainTransferDetailsValidationDto {
22
+ /**
23
+ * The domain transfer validation reason
24
+ * @type {string}
25
+ * @memberof DomainTransferDetailsValidationDto
26
+ */
27
+ reason: DomainTransferDetailsValidationDtoReasonEnum | null;
28
+ /**
29
+ * The domain transfer validation success value
30
+ * @type {boolean}
31
+ * @memberof DomainTransferDetailsValidationDto
32
+ */
33
+ success: boolean;
34
+ /**
35
+ * The domain transfer validation reason text
36
+ * @type {string}
37
+ * @memberof DomainTransferDetailsValidationDto
38
+ */
39
+ reasonText: string;
40
+ /**
41
+ * The domain transfer validation creation date
42
+ * @type {Date}
43
+ * @memberof DomainTransferDetailsValidationDto
44
+ */
45
+ createdAt: Date;
46
+ }
47
+
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const DomainTransferDetailsValidationDtoReasonEnum = {
53
+ INVALID_AUTH_CODE: 'invalid_auth_code',
54
+ OTHER: 'other'
55
+ } as const;
56
+ export type DomainTransferDetailsValidationDtoReasonEnum = typeof DomainTransferDetailsValidationDtoReasonEnum[keyof typeof DomainTransferDetailsValidationDtoReasonEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the DomainTransferDetailsValidationDto interface.
61
+ */
62
+ export function instanceOfDomainTransferDetailsValidationDto(value: object): value is DomainTransferDetailsValidationDto {
63
+ if (!('reason' in value) || value['reason'] === undefined) return false;
64
+ if (!('success' in value) || value['success'] === undefined) return false;
65
+ if (!('reasonText' in value) || value['reasonText'] === undefined) return false;
66
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
67
+ return true;
68
+ }
69
+
70
+ export function DomainTransferDetailsValidationDtoFromJSON(json: any): DomainTransferDetailsValidationDto {
71
+ return DomainTransferDetailsValidationDtoFromJSONTyped(json, false);
72
+ }
73
+
74
+ export function DomainTransferDetailsValidationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsValidationDto {
75
+ if (json == null) {
76
+ return json;
77
+ }
78
+ return {
79
+
80
+ 'reason': json['reason'],
81
+ 'success': json['success'],
82
+ 'reasonText': json['reasonText'],
83
+ 'createdAt': (new Date(json['createdAt'])),
84
+ };
85
+ }
86
+
87
+ export function DomainTransferDetailsValidationDtoToJSON(value?: DomainTransferDetailsValidationDto | null): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+ return {
92
+
93
+ 'reason': value['reason'],
94
+ 'success': value['success'],
95
+ 'reasonText': value['reasonText'],
96
+ 'createdAt': ((value['createdAt']).toISOString()),
97
+ };
98
+ }
99
+
@@ -0,0 +1,90 @@
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 SetDomainTransferConfirmationInput
20
+ */
21
+ export interface SetDomainTransferConfirmationInput {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof SetDomainTransferConfirmationInput
26
+ */
27
+ confirmationValue: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SetDomainTransferConfirmationInput
32
+ */
33
+ confirmationReason: SetDomainTransferConfirmationInputConfirmationReasonEnum | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SetDomainTransferConfirmationInput
38
+ */
39
+ confirmationReasonText: string | null;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const SetDomainTransferConfirmationInputConfirmationReasonEnum = {
47
+ INVALID_AUTH_CODE: 'invalid_auth_code',
48
+ OTHER: 'other'
49
+ } as const;
50
+ export type SetDomainTransferConfirmationInputConfirmationReasonEnum = typeof SetDomainTransferConfirmationInputConfirmationReasonEnum[keyof typeof SetDomainTransferConfirmationInputConfirmationReasonEnum];
51
+
52
+
53
+ /**
54
+ * Check if a given object implements the SetDomainTransferConfirmationInput interface.
55
+ */
56
+ export function instanceOfSetDomainTransferConfirmationInput(value: object): value is SetDomainTransferConfirmationInput {
57
+ if (!('confirmationValue' in value) || value['confirmationValue'] === undefined) return false;
58
+ if (!('confirmationReason' in value) || value['confirmationReason'] === undefined) return false;
59
+ if (!('confirmationReasonText' in value) || value['confirmationReasonText'] === undefined) return false;
60
+ return true;
61
+ }
62
+
63
+ export function SetDomainTransferConfirmationInputFromJSON(json: any): SetDomainTransferConfirmationInput {
64
+ return SetDomainTransferConfirmationInputFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function SetDomainTransferConfirmationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetDomainTransferConfirmationInput {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'confirmationValue': json['confirmationValue'],
74
+ 'confirmationReason': json['confirmationReason'],
75
+ 'confirmationReasonText': json['confirmationReasonText'],
76
+ };
77
+ }
78
+
79
+ export function SetDomainTransferConfirmationInputToJSON(value?: SetDomainTransferConfirmationInput | null): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+ return {
84
+
85
+ 'confirmationValue': value['confirmationValue'],
86
+ 'confirmationReason': value['confirmationReason'],
87
+ 'confirmationReasonText': value['confirmationReasonText'],
88
+ };
89
+ }
90
+
@@ -27,15 +27,14 @@ export * from './DomainTransferAgentDto';
27
27
  export * from './DomainTransferDetailWorkflowStepActionDto';
28
28
  export * from './DomainTransferDetailWorkflowStepDto';
29
29
  export * from './DomainTransferDetailsAuthCodeDto';
30
- export * from './DomainTransferDetailsBuyerConfirmationDto';
31
30
  export * from './DomainTransferDetailsDomainDto';
32
31
  export * from './DomainTransferDetailsDto';
33
32
  export * from './DomainTransferDetailsDtoAuthCode';
34
- export * from './DomainTransferDetailsDtoBuyerConfirmation';
35
33
  export * from './DomainTransferDetailsOrderBuyerDto';
36
34
  export * from './DomainTransferDetailsOrderDto';
37
35
  export * from './DomainTransferDetailsOrderSellerDto';
38
36
  export * from './DomainTransferDetailsOrderSellerUserDto';
37
+ export * from './DomainTransferDetailsValidationDto';
39
38
  export * from './DomainTransferDomainDto';
40
39
  export * from './DomainTransferDto';
41
40
  export * from './DomainTransferDtoAgent';
@@ -94,6 +93,7 @@ export * from './SellerDomainTransferDto';
94
93
  export * from './SellerDomainTransferDtoAuthCode';
95
94
  export * from './SellerDomainTransferListItemDomainDto';
96
95
  export * from './SellerDomainTransferListItemDto';
96
+ export * from './SetDomainTransferConfirmationInput';
97
97
  export * from './SetNewPasswordInput';
98
98
  export * from './StoreBuyerLocaleInput';
99
99
  export * from './StoreUserLocaleInput';
@@ -1,37 +0,0 @@
1
- /**
2
- * Nameshift
3
- * Nameshift API
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface DomainTransferDetailsBuyerConfirmationDto
16
- */
17
- export interface DomainTransferDetailsBuyerConfirmationDto {
18
- /**
19
- * The domain transfer buyer confirmation status
20
- * @type {boolean}
21
- * @memberof DomainTransferDetailsBuyerConfirmationDto
22
- */
23
- confirmed: boolean;
24
- /**
25
- * The domain transfer buyer confirmation date
26
- * @type {Date}
27
- * @memberof DomainTransferDetailsBuyerConfirmationDto
28
- */
29
- updatedAt: Date;
30
- }
31
- /**
32
- * Check if a given object implements the DomainTransferDetailsBuyerConfirmationDto interface.
33
- */
34
- export declare function instanceOfDomainTransferDetailsBuyerConfirmationDto(value: object): value is DomainTransferDetailsBuyerConfirmationDto;
35
- export declare function DomainTransferDetailsBuyerConfirmationDtoFromJSON(json: any): DomainTransferDetailsBuyerConfirmationDto;
36
- export declare function DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsBuyerConfirmationDto;
37
- export declare function DomainTransferDetailsBuyerConfirmationDtoToJSON(value?: DomainTransferDetailsBuyerConfirmationDto | null): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Nameshift
6
- * Nameshift API
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.DomainTransferDetailsBuyerConfirmationDtoToJSON = exports.DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped = exports.DomainTransferDetailsBuyerConfirmationDtoFromJSON = exports.instanceOfDomainTransferDetailsBuyerConfirmationDto = void 0;
17
- /**
18
- * Check if a given object implements the DomainTransferDetailsBuyerConfirmationDto interface.
19
- */
20
- function instanceOfDomainTransferDetailsBuyerConfirmationDto(value) {
21
- if (!('confirmed' in value) || value['confirmed'] === undefined)
22
- return false;
23
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfDomainTransferDetailsBuyerConfirmationDto = instanceOfDomainTransferDetailsBuyerConfirmationDto;
28
- function DomainTransferDetailsBuyerConfirmationDtoFromJSON(json) {
29
- return DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json, false);
30
- }
31
- exports.DomainTransferDetailsBuyerConfirmationDtoFromJSON = DomainTransferDetailsBuyerConfirmationDtoFromJSON;
32
- function DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'confirmed': json['confirmed'],
38
- 'updatedAt': (new Date(json['updatedAt'])),
39
- };
40
- }
41
- exports.DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped = DomainTransferDetailsBuyerConfirmationDtoFromJSONTyped;
42
- function DomainTransferDetailsBuyerConfirmationDtoToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'confirmed': value['confirmed'],
48
- 'updatedAt': ((value['updatedAt']).toISOString()),
49
- };
50
- }
51
- exports.DomainTransferDetailsBuyerConfirmationDtoToJSON = DomainTransferDetailsBuyerConfirmationDtoToJSON;
@@ -1,37 +0,0 @@
1
- /**
2
- * Nameshift
3
- * Nameshift API
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The domain transfer buyer confirmation status
14
- * @export
15
- * @interface DomainTransferDetailsDtoBuyerConfirmation
16
- */
17
- export interface DomainTransferDetailsDtoBuyerConfirmation {
18
- /**
19
- * The domain transfer buyer confirmation status
20
- * @type {boolean}
21
- * @memberof DomainTransferDetailsDtoBuyerConfirmation
22
- */
23
- confirmed: boolean;
24
- /**
25
- * The domain transfer buyer confirmation date
26
- * @type {Date}
27
- * @memberof DomainTransferDetailsDtoBuyerConfirmation
28
- */
29
- updatedAt: Date;
30
- }
31
- /**
32
- * Check if a given object implements the DomainTransferDetailsDtoBuyerConfirmation interface.
33
- */
34
- export declare function instanceOfDomainTransferDetailsDtoBuyerConfirmation(value: object): value is DomainTransferDetailsDtoBuyerConfirmation;
35
- export declare function DomainTransferDetailsDtoBuyerConfirmationFromJSON(json: any): DomainTransferDetailsDtoBuyerConfirmation;
36
- export declare function DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailsDtoBuyerConfirmation;
37
- export declare function DomainTransferDetailsDtoBuyerConfirmationToJSON(value?: DomainTransferDetailsDtoBuyerConfirmation | null): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Nameshift
6
- * Nameshift API
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.DomainTransferDetailsDtoBuyerConfirmationToJSON = exports.DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped = exports.DomainTransferDetailsDtoBuyerConfirmationFromJSON = exports.instanceOfDomainTransferDetailsDtoBuyerConfirmation = void 0;
17
- /**
18
- * Check if a given object implements the DomainTransferDetailsDtoBuyerConfirmation interface.
19
- */
20
- function instanceOfDomainTransferDetailsDtoBuyerConfirmation(value) {
21
- if (!('confirmed' in value) || value['confirmed'] === undefined)
22
- return false;
23
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
24
- return false;
25
- return true;
26
- }
27
- exports.instanceOfDomainTransferDetailsDtoBuyerConfirmation = instanceOfDomainTransferDetailsDtoBuyerConfirmation;
28
- function DomainTransferDetailsDtoBuyerConfirmationFromJSON(json) {
29
- return DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json, false);
30
- }
31
- exports.DomainTransferDetailsDtoBuyerConfirmationFromJSON = DomainTransferDetailsDtoBuyerConfirmationFromJSON;
32
- function DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'confirmed': json['confirmed'],
38
- 'updatedAt': (new Date(json['updatedAt'])),
39
- };
40
- }
41
- exports.DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped = DomainTransferDetailsDtoBuyerConfirmationFromJSONTyped;
42
- function DomainTransferDetailsDtoBuyerConfirmationToJSON(value) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'confirmed': value['confirmed'],
48
- 'updatedAt': ((value['updatedAt']).toISOString()),
49
- };
50
- }
51
- exports.DomainTransferDetailsDtoBuyerConfirmationToJSON = DomainTransferDetailsDtoBuyerConfirmationToJSON;