@randock/nameshift-api-client 0.0.44 → 0.0.46
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/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +11 -0
- package/dist/apis/LeadsApi.js +51 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +1 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +1 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +1 -0
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +1 -0
- package/dist/models/LeadStatusDto.d.ts +1 -0
- package/dist/models/LeadStatusDto.js +1 -0
- package/dist/models/SellerDomainTransferAuthCodeDto.d.ts +1 -1
- package/dist/models/SellerDomainTransferAuthCodeDto.js +3 -3
- package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +1 -1
- package/dist/models/SellerDomainTransferDtoAuthCode.js +3 -3
- package/dist/models/UpdateDomainTransferAuthCodeInput.d.ts +0 -6
- package/dist/models/UpdateDomainTransferAuthCodeInput.js +0 -4
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +44 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +1 -0
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +1 -0
- package/src/models/LeadStatusDto.ts +1 -0
- package/src/models/SellerDomainTransferAuthCodeDto.ts +4 -4
- package/src/models/SellerDomainTransferDtoAuthCode.ts +4 -4
- package/src/models/UpdateDomainTransferAuthCodeInput.ts +0 -9
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.46
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.46 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
a9c724ec99fb249cafd505ede72b282e2d318028e90ed27fef4ad80e4159758b7cd7309af516faf2f7bf67716accb528
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { CreateLeadMessageInput, IntersectionLeadDtoWithLeadDetailsDto, IntersectionLeadDtoWithListFieldsDto, ListLeadMessagesDto, ObjectId, PutLeadInput } from '../models/index';
|
|
14
|
+
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
|
+
leadId: string;
|
|
16
|
+
}
|
|
14
17
|
export interface LeadsApiCreateMessageRequest {
|
|
15
18
|
leadId: string;
|
|
16
19
|
createLeadMessageInput: CreateLeadMessageInput;
|
|
@@ -29,6 +32,14 @@ export interface LeadsApiPutOfferRequest {
|
|
|
29
32
|
*
|
|
30
33
|
*/
|
|
31
34
|
export declare class LeadsApi extends runtime.BaseAPI {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
acceptLeadOfferRaw(requestParameters: LeadsApiAcceptLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
acceptLeadOffer(requestParameters: LeadsApiAcceptLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
32
43
|
/**
|
|
33
44
|
*
|
|
34
45
|
*/
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -75,6 +75,57 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function LeadsApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
LeadsApi.prototype.acceptLeadOfferRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters['leadId'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling acceptLeadOffer().');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
93
|
+
token = this.configuration.accessToken;
|
|
94
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
95
|
+
case 1:
|
|
96
|
+
tokenString = _a.sent();
|
|
97
|
+
if (tokenString) {
|
|
98
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
99
|
+
}
|
|
100
|
+
_a.label = 2;
|
|
101
|
+
case 2: return [4 /*yield*/, this.request({
|
|
102
|
+
path: "/leads/{leadId}/status/accept".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
103
|
+
method: 'PATCH',
|
|
104
|
+
headers: headerParameters,
|
|
105
|
+
query: queryParameters,
|
|
106
|
+
}, initOverrides)];
|
|
107
|
+
case 3:
|
|
108
|
+
response = _a.sent();
|
|
109
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
LeadsApi.prototype.acceptLeadOffer = function (requestParameters, initOverrides) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
119
|
+
return __generator(this, function (_a) {
|
|
120
|
+
switch (_a.label) {
|
|
121
|
+
case 0: return [4 /*yield*/, this.acceptLeadOfferRaw(requestParameters, initOverrides)];
|
|
122
|
+
case 1:
|
|
123
|
+
_a.sent();
|
|
124
|
+
return [2 /*return*/];
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
};
|
|
78
129
|
/**
|
|
79
130
|
*
|
|
80
131
|
*/
|
|
@@ -60,6 +60,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDto {
|
|
|
60
60
|
export declare const IntersectionLeadDtoWithLeadDetailsDtoStatusEnum: {
|
|
61
61
|
readonly UNVERIFIED: "unverified";
|
|
62
62
|
readonly ACTIVE: "active";
|
|
63
|
+
readonly ACCEPTED: "accepted";
|
|
63
64
|
readonly DELETED: "deleted";
|
|
64
65
|
readonly ARCHIVED: "archived";
|
|
65
66
|
};
|
|
@@ -22,6 +22,7 @@ var IntersectionLeadDtoWithListFieldsDtoLastOffer_1 = require("./IntersectionLea
|
|
|
22
22
|
exports.IntersectionLeadDtoWithLeadDetailsDtoStatusEnum = {
|
|
23
23
|
UNVERIFIED: 'unverified',
|
|
24
24
|
ACTIVE: 'active',
|
|
25
|
+
ACCEPTED: 'accepted',
|
|
25
26
|
DELETED: 'deleted',
|
|
26
27
|
ARCHIVED: 'archived'
|
|
27
28
|
};
|
|
@@ -96,6 +96,7 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
96
96
|
export declare const IntersectionLeadDtoWithListFieldsDtoStatusEnum: {
|
|
97
97
|
readonly UNVERIFIED: "unverified";
|
|
98
98
|
readonly ACTIVE: "active";
|
|
99
|
+
readonly ACCEPTED: "accepted";
|
|
99
100
|
readonly DELETED: "deleted";
|
|
100
101
|
readonly ARCHIVED: "archived";
|
|
101
102
|
};
|
|
@@ -22,6 +22,7 @@ var IntersectionLeadDtoWithListFieldsDtoLastOffer_1 = require("./IntersectionLea
|
|
|
22
22
|
exports.IntersectionLeadDtoWithListFieldsDtoStatusEnum = {
|
|
23
23
|
UNVERIFIED: 'unverified',
|
|
24
24
|
ACTIVE: 'active',
|
|
25
|
+
ACCEPTED: 'accepted',
|
|
25
26
|
DELETED: 'deleted',
|
|
26
27
|
ARCHIVED: 'archived'
|
|
27
28
|
};
|
|
@@ -26,7 +26,7 @@ export interface SellerDomainTransferAuthCodeDto {
|
|
|
26
26
|
* @type {Date}
|
|
27
27
|
* @memberof SellerDomainTransferAuthCodeDto
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
updatedAt: Date;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the SellerDomainTransferAuthCodeDto interface.
|
|
@@ -20,7 +20,7 @@ exports.SellerDomainTransferAuthCodeDtoToJSON = exports.SellerDomainTransferAuth
|
|
|
20
20
|
function instanceOfSellerDomainTransferAuthCodeDto(value) {
|
|
21
21
|
if (!('value' in value) || value['value'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('
|
|
23
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -35,7 +35,7 @@ function SellerDomainTransferAuthCodeDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'value': json['value'],
|
|
38
|
-
'
|
|
38
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
exports.SellerDomainTransferAuthCodeDtoFromJSONTyped = SellerDomainTransferAuthCodeDtoFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function SellerDomainTransferAuthCodeDtoToJSON(value) {
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'value': value['value'],
|
|
48
|
-
'
|
|
48
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.SellerDomainTransferAuthCodeDtoToJSON = SellerDomainTransferAuthCodeDtoToJSON;
|
|
@@ -26,7 +26,7 @@ export interface SellerDomainTransferDtoAuthCode {
|
|
|
26
26
|
* @type {Date}
|
|
27
27
|
* @memberof SellerDomainTransferDtoAuthCode
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
updatedAt: Date;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the SellerDomainTransferDtoAuthCode interface.
|
|
@@ -20,7 +20,7 @@ exports.SellerDomainTransferDtoAuthCodeToJSON = exports.SellerDomainTransferDtoA
|
|
|
20
20
|
function instanceOfSellerDomainTransferDtoAuthCode(value) {
|
|
21
21
|
if (!('value' in value) || value['value'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('
|
|
23
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -35,7 +35,7 @@ function SellerDomainTransferDtoAuthCodeFromJSONTyped(json, ignoreDiscriminator)
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'value': json['value'],
|
|
38
|
-
'
|
|
38
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
exports.SellerDomainTransferDtoAuthCodeFromJSONTyped = SellerDomainTransferDtoAuthCodeFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function SellerDomainTransferDtoAuthCodeToJSON(value) {
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'value': value['value'],
|
|
48
|
-
'
|
|
48
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.SellerDomainTransferDtoAuthCodeToJSON = SellerDomainTransferDtoAuthCodeToJSON;
|
|
@@ -21,12 +21,6 @@ export interface UpdateDomainTransferAuthCodeInput {
|
|
|
21
21
|
* @memberof UpdateDomainTransferAuthCodeInput
|
|
22
22
|
*/
|
|
23
23
|
authCode: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateDomainTransferAuthCodeInput
|
|
28
|
-
*/
|
|
29
|
-
expiryDate: string;
|
|
30
24
|
}
|
|
31
25
|
/**
|
|
32
26
|
* Check if a given object implements the UpdateDomainTransferAuthCodeInput interface.
|
|
@@ -20,8 +20,6 @@ exports.UpdateDomainTransferAuthCodeInputToJSON = exports.UpdateDomainTransferAu
|
|
|
20
20
|
function instanceOfUpdateDomainTransferAuthCodeInput(value) {
|
|
21
21
|
if (!('authCode' in value) || value['authCode'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('expiryDate' in value) || value['expiryDate'] === undefined)
|
|
24
|
-
return false;
|
|
25
23
|
return true;
|
|
26
24
|
}
|
|
27
25
|
exports.instanceOfUpdateDomainTransferAuthCodeInput = instanceOfUpdateDomainTransferAuthCodeInput;
|
|
@@ -35,7 +33,6 @@ function UpdateDomainTransferAuthCodeInputFromJSONTyped(json, ignoreDiscriminato
|
|
|
35
33
|
}
|
|
36
34
|
return {
|
|
37
35
|
'authCode': json['authCode'],
|
|
38
|
-
'expiryDate': json['expiryDate'],
|
|
39
36
|
};
|
|
40
37
|
}
|
|
41
38
|
exports.UpdateDomainTransferAuthCodeInputFromJSONTyped = UpdateDomainTransferAuthCodeInputFromJSONTyped;
|
|
@@ -45,7 +42,6 @@ function UpdateDomainTransferAuthCodeInputToJSON(value) {
|
|
|
45
42
|
}
|
|
46
43
|
return {
|
|
47
44
|
'authCode': value['authCode'],
|
|
48
|
-
'expiryDate': value['expiryDate'],
|
|
49
45
|
};
|
|
50
46
|
}
|
|
51
47
|
exports.UpdateDomainTransferAuthCodeInputToJSON = UpdateDomainTransferAuthCodeInputToJSON;
|
package/package.json
CHANGED
package/src/apis/LeadsApi.ts
CHANGED
|
@@ -43,6 +43,10 @@ import {
|
|
|
43
43
|
ValidationExceptionToJSON,
|
|
44
44
|
} from '../models/index';
|
|
45
45
|
|
|
46
|
+
export interface LeadsApiAcceptLeadOfferRequest {
|
|
47
|
+
leadId: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
46
50
|
export interface LeadsApiCreateMessageRequest {
|
|
47
51
|
leadId: string;
|
|
48
52
|
createLeadMessageInput: CreateLeadMessageInput;
|
|
@@ -66,6 +70,46 @@ export interface LeadsApiPutOfferRequest {
|
|
|
66
70
|
*/
|
|
67
71
|
export class LeadsApi extends runtime.BaseAPI {
|
|
68
72
|
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
async acceptLeadOfferRaw(requestParameters: LeadsApiAcceptLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
77
|
+
if (requestParameters['leadId'] == null) {
|
|
78
|
+
throw new runtime.RequiredError(
|
|
79
|
+
'leadId',
|
|
80
|
+
'Required parameter "leadId" was null or undefined when calling acceptLeadOffer().'
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
const queryParameters: any = {};
|
|
85
|
+
|
|
86
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
87
|
+
|
|
88
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
89
|
+
const token = this.configuration.accessToken;
|
|
90
|
+
const tokenString = await token("bearer", []);
|
|
91
|
+
|
|
92
|
+
if (tokenString) {
|
|
93
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
const response = await this.request({
|
|
97
|
+
path: `/leads/{leadId}/status/accept`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
98
|
+
method: 'PATCH',
|
|
99
|
+
headers: headerParameters,
|
|
100
|
+
query: queryParameters,
|
|
101
|
+
}, initOverrides);
|
|
102
|
+
|
|
103
|
+
return new runtime.VoidApiResponse(response);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
async acceptLeadOffer(requestParameters: LeadsApiAcceptLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
110
|
+
await this.acceptLeadOfferRaw(requestParameters, initOverrides);
|
|
111
|
+
}
|
|
112
|
+
|
|
69
113
|
/**
|
|
70
114
|
*
|
|
71
115
|
*/
|
|
@@ -113,6 +113,7 @@ export interface IntersectionLeadDtoWithListFieldsDto {
|
|
|
113
113
|
export const IntersectionLeadDtoWithListFieldsDtoStatusEnum = {
|
|
114
114
|
UNVERIFIED: 'unverified',
|
|
115
115
|
ACTIVE: 'active',
|
|
116
|
+
ACCEPTED: 'accepted',
|
|
116
117
|
DELETED: 'deleted',
|
|
117
118
|
ARCHIVED: 'archived'
|
|
118
119
|
} as const;
|
|
@@ -30,7 +30,7 @@ export interface SellerDomainTransferAuthCodeDto {
|
|
|
30
30
|
* @type {Date}
|
|
31
31
|
* @memberof SellerDomainTransferAuthCodeDto
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
updatedAt: Date;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -38,7 +38,7 @@ export interface SellerDomainTransferAuthCodeDto {
|
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfSellerDomainTransferAuthCodeDto(value: object): value is SellerDomainTransferAuthCodeDto {
|
|
40
40
|
if (!('value' in value) || value['value'] === undefined) return false;
|
|
41
|
-
if (!('
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
42
42
|
return true;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -53,7 +53,7 @@ export function SellerDomainTransferAuthCodeDtoFromJSONTyped(json: any, ignoreDi
|
|
|
53
53
|
return {
|
|
54
54
|
|
|
55
55
|
'value': json['value'],
|
|
56
|
-
'
|
|
56
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -64,7 +64,7 @@ export function SellerDomainTransferAuthCodeDtoToJSON(value?: SellerDomainTransf
|
|
|
64
64
|
return {
|
|
65
65
|
|
|
66
66
|
'value': value['value'],
|
|
67
|
-
'
|
|
67
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -30,7 +30,7 @@ export interface SellerDomainTransferDtoAuthCode {
|
|
|
30
30
|
* @type {Date}
|
|
31
31
|
* @memberof SellerDomainTransferDtoAuthCode
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
updatedAt: Date;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -38,7 +38,7 @@ export interface SellerDomainTransferDtoAuthCode {
|
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfSellerDomainTransferDtoAuthCode(value: object): value is SellerDomainTransferDtoAuthCode {
|
|
40
40
|
if (!('value' in value) || value['value'] === undefined) return false;
|
|
41
|
-
if (!('
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
42
42
|
return true;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -53,7 +53,7 @@ export function SellerDomainTransferDtoAuthCodeFromJSONTyped(json: any, ignoreDi
|
|
|
53
53
|
return {
|
|
54
54
|
|
|
55
55
|
'value': json['value'],
|
|
56
|
-
'
|
|
56
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -64,7 +64,7 @@ export function SellerDomainTransferDtoAuthCodeToJSON(value?: SellerDomainTransf
|
|
|
64
64
|
return {
|
|
65
65
|
|
|
66
66
|
'value': value['value'],
|
|
67
|
-
'
|
|
67
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -25,12 +25,6 @@ export interface UpdateDomainTransferAuthCodeInput {
|
|
|
25
25
|
* @memberof UpdateDomainTransferAuthCodeInput
|
|
26
26
|
*/
|
|
27
27
|
authCode: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UpdateDomainTransferAuthCodeInput
|
|
32
|
-
*/
|
|
33
|
-
expiryDate: string;
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
/**
|
|
@@ -38,7 +32,6 @@ export interface UpdateDomainTransferAuthCodeInput {
|
|
|
38
32
|
*/
|
|
39
33
|
export function instanceOfUpdateDomainTransferAuthCodeInput(value: object): value is UpdateDomainTransferAuthCodeInput {
|
|
40
34
|
if (!('authCode' in value) || value['authCode'] === undefined) return false;
|
|
41
|
-
if (!('expiryDate' in value) || value['expiryDate'] === undefined) return false;
|
|
42
35
|
return true;
|
|
43
36
|
}
|
|
44
37
|
|
|
@@ -53,7 +46,6 @@ export function UpdateDomainTransferAuthCodeInputFromJSONTyped(json: any, ignore
|
|
|
53
46
|
return {
|
|
54
47
|
|
|
55
48
|
'authCode': json['authCode'],
|
|
56
|
-
'expiryDate': json['expiryDate'],
|
|
57
49
|
};
|
|
58
50
|
}
|
|
59
51
|
|
|
@@ -64,7 +56,6 @@ export function UpdateDomainTransferAuthCodeInputToJSON(value?: UpdateDomainTran
|
|
|
64
56
|
return {
|
|
65
57
|
|
|
66
58
|
'authCode': value['authCode'],
|
|
67
|
-
'expiryDate': value['expiryDate'],
|
|
68
59
|
};
|
|
69
60
|
}
|
|
70
61
|
|