@randock/nameshift-api-client 0.0.16 → 0.0.18
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 +4 -4
- package/README.md +2 -2
- package/dist/apis/AccountsApi.d.ts +10 -10
- package/dist/apis/AccountsApi.js +9 -15
- package/dist/apis/AuthApi.d.ts +3 -3
- package/dist/apis/DomainsApi.d.ts +30 -19
- package/dist/apis/DomainsApi.js +53 -0
- package/dist/apis/DomainsPublicApi.d.ts +12 -3
- package/dist/apis/DomainsPublicApi.js +43 -0
- package/dist/apis/LeadsApi.d.ts +13 -13
- package/dist/apis/LeadsApi.js +4 -6
- package/dist/apis/LeadsPublicApi.d.ts +4 -4
- package/dist/apis/LeadsPublicApi.js +1 -1
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +81 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +76 -0
- package/dist/models/List400Response.d.ts +3 -3
- package/dist/models/ObjectId.d.ts +31 -0
- package/dist/models/ObjectId.js +50 -0
- package/dist/models/UpdateFinancial400Response.d.ts +43 -0
- package/dist/models/UpdateFinancial400Response.js +56 -0
- package/dist/models/UpdateSettings400Response.d.ts +43 -0
- package/dist/models/UpdateSettings400Response.js +56 -0
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/package.json +6 -1
- package/src/apis/AccountsApi.ts +21 -27
- package/src/apis/AuthApi.ts +3 -3
- package/src/apis/DomainsApi.ts +63 -18
- package/src/apis/DomainsPublicApi.ts +38 -3
- package/src/apis/LeadsApi.ts +21 -19
- package/src/apis/LeadsPublicApi.ts +10 -7
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +151 -0
- package/src/models/List400Response.ts +3 -3
- package/src/models/ObjectId.ts +66 -0
- package/src/models/UpdateFinancial400Response.ts +83 -0
- package/src/models/UpdateSettings400Response.ts +83 -0
- package/src/models/index.ts +4 -4
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import type { AccountDto } from './AccountDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
18
|
+
*/
|
|
19
|
+
export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
20
|
+
/**
|
|
21
|
+
* The uuid for this domain.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The TLD for this domain.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
30
|
+
*/
|
|
31
|
+
tld: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
36
|
+
*/
|
|
37
|
+
verified: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the nameservers (ns1,ns2) are set or not.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
42
|
+
*/
|
|
43
|
+
nameservers: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The domain name (example.com)
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {MoneyDto}
|
|
53
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
54
|
+
*/
|
|
55
|
+
buyNow: MoneyDto;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {MoneyDto}
|
|
59
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
60
|
+
*/
|
|
61
|
+
minOffer: MoneyDto;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {AccountDto}
|
|
65
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
66
|
+
*/
|
|
67
|
+
hijacker: AccountDto | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {AccountDto}
|
|
71
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
72
|
+
*/
|
|
73
|
+
account: AccountDto;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value: object): boolean;
|
|
79
|
+
export declare function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON(json: any): IntersectionDomainDtoWithHijackerDtoWithAccountDto;
|
|
80
|
+
export declare function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithHijackerDtoWithAccountDto;
|
|
81
|
+
export declare function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value?: IntersectionDomainDtoWithHijackerDtoWithAccountDto | null): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON = exports.instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto = void 0;
|
|
17
|
+
var AccountDto_1 = require("./AccountDto");
|
|
18
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "id" in value;
|
|
25
|
+
isInstance = isInstance && "tld" in value;
|
|
26
|
+
isInstance = isInstance && "verified" in value;
|
|
27
|
+
isInstance = isInstance && "nameservers" in value;
|
|
28
|
+
isInstance = isInstance && "name" in value;
|
|
29
|
+
isInstance = isInstance && "buyNow" in value;
|
|
30
|
+
isInstance = isInstance && "minOffer" in value;
|
|
31
|
+
isInstance = isInstance && "hijacker" in value;
|
|
32
|
+
isInstance = isInstance && "account" in value;
|
|
33
|
+
return isInstance;
|
|
34
|
+
}
|
|
35
|
+
exports.instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto = instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto;
|
|
36
|
+
function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON(json) {
|
|
37
|
+
return IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON;
|
|
40
|
+
function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if ((json === undefined) || (json === null)) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'tld': json['tld'],
|
|
47
|
+
'verified': json['verified'],
|
|
48
|
+
'nameservers': json['nameservers'],
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
51
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
52
|
+
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
53
|
+
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped;
|
|
57
|
+
function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON(value) {
|
|
58
|
+
if (value === undefined) {
|
|
59
|
+
return undefined;
|
|
60
|
+
}
|
|
61
|
+
if (value === null) {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value.id,
|
|
66
|
+
'tld': value.tld,
|
|
67
|
+
'verified': value.verified,
|
|
68
|
+
'nameservers': value.nameservers,
|
|
69
|
+
'name': value.name,
|
|
70
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value.buyNow),
|
|
71
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value.minOffer),
|
|
72
|
+
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value.hijacker),
|
|
73
|
+
'account': (0, AccountDto_1.AccountDtoToJSON)(value.account),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Thrown in case of request errors.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface List400Response
|
|
16
16
|
*/
|
|
@@ -23,10 +23,10 @@ export interface List400Response {
|
|
|
23
23
|
statusCode: number;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {Array<object>}
|
|
27
27
|
* @memberof List400Response
|
|
28
28
|
*/
|
|
29
|
-
message:
|
|
29
|
+
message: Array<object>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ObjectId
|
|
16
|
+
*/
|
|
17
|
+
export interface ObjectId {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ObjectId
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ObjectId interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfObjectId(value: object): boolean;
|
|
29
|
+
export declare function ObjectIdFromJSON(json: any): ObjectId;
|
|
30
|
+
export declare function ObjectIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObjectId;
|
|
31
|
+
export declare function ObjectIdToJSON(value?: ObjectId | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ObjectIdToJSON = exports.ObjectIdFromJSONTyped = exports.ObjectIdFromJSON = exports.instanceOfObjectId = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ObjectId interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfObjectId(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfObjectId = instanceOfObjectId;
|
|
26
|
+
function ObjectIdFromJSON(json) {
|
|
27
|
+
return ObjectIdFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ObjectIdFromJSON = ObjectIdFromJSON;
|
|
30
|
+
function ObjectIdFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ObjectIdFromJSONTyped = ObjectIdFromJSONTyped;
|
|
39
|
+
function ObjectIdToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value.id,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.ObjectIdToJSON = ObjectIdToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Thrown in case of requestion validation errors.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateFinancial400Response
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateFinancial400Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateFinancial400Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<object>}
|
|
27
|
+
* @memberof UpdateFinancial400Response
|
|
28
|
+
*/
|
|
29
|
+
message: Array<object>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateFinancial400Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UpdateFinancial400Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUpdateFinancial400Response(value: object): boolean;
|
|
41
|
+
export declare function UpdateFinancial400ResponseFromJSON(json: any): UpdateFinancial400Response;
|
|
42
|
+
export declare function UpdateFinancial400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFinancial400Response;
|
|
43
|
+
export declare function UpdateFinancial400ResponseToJSON(value?: UpdateFinancial400Response | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.UpdateFinancial400ResponseToJSON = exports.UpdateFinancial400ResponseFromJSONTyped = exports.UpdateFinancial400ResponseFromJSON = exports.instanceOfUpdateFinancial400Response = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateFinancial400Response interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateFinancial400Response(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "statusCode" in value;
|
|
24
|
+
isInstance = isInstance && "message" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfUpdateFinancial400Response = instanceOfUpdateFinancial400Response;
|
|
28
|
+
function UpdateFinancial400ResponseFromJSON(json) {
|
|
29
|
+
return UpdateFinancial400ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.UpdateFinancial400ResponseFromJSON = UpdateFinancial400ResponseFromJSON;
|
|
32
|
+
function UpdateFinancial400ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'statusCode': json['statusCode'],
|
|
38
|
+
'message': json['message'],
|
|
39
|
+
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.UpdateFinancial400ResponseFromJSONTyped = UpdateFinancial400ResponseFromJSONTyped;
|
|
43
|
+
function UpdateFinancial400ResponseToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'statusCode': value.statusCode,
|
|
52
|
+
'message': value.message,
|
|
53
|
+
'error': value.error,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.UpdateFinancial400ResponseToJSON = UpdateFinancial400ResponseToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Thrown in case of validation errors.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateSettings400Response
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSettings400Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateSettings400Response
|
|
22
|
+
*/
|
|
23
|
+
statusCode: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateSettings400Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateSettings400Response
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UpdateSettings400Response interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUpdateSettings400Response(value: object): boolean;
|
|
41
|
+
export declare function UpdateSettings400ResponseFromJSON(json: any): UpdateSettings400Response;
|
|
42
|
+
export declare function UpdateSettings400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettings400Response;
|
|
43
|
+
export declare function UpdateSettings400ResponseToJSON(value?: UpdateSettings400Response | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.UpdateSettings400ResponseToJSON = exports.UpdateSettings400ResponseFromJSONTyped = exports.UpdateSettings400ResponseFromJSON = exports.instanceOfUpdateSettings400Response = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateSettings400Response interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateSettings400Response(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "statusCode" in value;
|
|
24
|
+
isInstance = isInstance && "message" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfUpdateSettings400Response = instanceOfUpdateSettings400Response;
|
|
28
|
+
function UpdateSettings400ResponseFromJSON(json) {
|
|
29
|
+
return UpdateSettings400ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.UpdateSettings400ResponseFromJSON = UpdateSettings400ResponseFromJSON;
|
|
32
|
+
function UpdateSettings400ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'statusCode': json['statusCode'],
|
|
38
|
+
'message': json['message'],
|
|
39
|
+
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.UpdateSettings400ResponseFromJSONTyped = UpdateSettings400ResponseFromJSONTyped;
|
|
43
|
+
function UpdateSettings400ResponseToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'statusCode': value.statusCode,
|
|
52
|
+
'message': value.message,
|
|
53
|
+
'error': value.error,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.UpdateSettings400ResponseToJSON = UpdateSettings400ResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,16 +9,13 @@ export * from './CreateLeadInput';
|
|
|
9
9
|
export * from './CreateLeadMessageInput';
|
|
10
10
|
export * from './DeleteDomainsInput';
|
|
11
11
|
export * from './DomainDto';
|
|
12
|
-
export * from './IntersectionAccountDtoWithAddressDto';
|
|
13
|
-
export * from './IntersectionAccountDtoWithFinancialDto';
|
|
14
12
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
|
15
|
-
export * from './IntersectionAccountDtoWithSettingsDto';
|
|
16
13
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
14
|
+
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
17
15
|
export * from './IntersectionLeadDtoWithLeadDetailsDto';
|
|
18
16
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
19
17
|
export * from './IntersectionLeadDtoWithListFieldsDtoLastMessageData';
|
|
20
18
|
export * from './IntersectionLeadDtoWithListFieldsDtoLastOffer';
|
|
21
|
-
export * from './LeadDto';
|
|
22
19
|
export * from './LeadMessageData';
|
|
23
20
|
export * from './LeadMessageDto';
|
|
24
21
|
export * from './LeadMessageDtoData';
|
|
@@ -31,6 +28,7 @@ export * from './Login429Response';
|
|
|
31
28
|
export * from './LoginInput';
|
|
32
29
|
export * from './MoneyDto';
|
|
33
30
|
export * from './MoneyInput';
|
|
31
|
+
export * from './ObjectId';
|
|
34
32
|
export * from './PaginateResponse';
|
|
35
33
|
export * from './PaginateResponseLinks';
|
|
36
34
|
export * from './PaginateResponseMeta';
|
|
@@ -38,6 +36,8 @@ export * from './PublicDomainControllerGetDomainIdentifier404Response';
|
|
|
38
36
|
export * from './PutLeadInput';
|
|
39
37
|
export * from './TokenDto';
|
|
40
38
|
export * from './UpdateDomainInput';
|
|
39
|
+
export * from './UpdateFinancial400Response';
|
|
40
|
+
export * from './UpdateSettings400Response';
|
|
41
41
|
export * from './UpdateSettings401Response';
|
|
42
42
|
export * from './UpdateSettings429Response';
|
|
43
43
|
export * from './WithFinancialDtoInner';
|
package/dist/models/index.js
CHANGED
|
@@ -27,16 +27,13 @@ __exportStar(require("./CreateLeadInput"), exports);
|
|
|
27
27
|
__exportStar(require("./CreateLeadMessageInput"), exports);
|
|
28
28
|
__exportStar(require("./DeleteDomainsInput"), exports);
|
|
29
29
|
__exportStar(require("./DomainDto"), exports);
|
|
30
|
-
__exportStar(require("./IntersectionAccountDtoWithAddressDto"), exports);
|
|
31
|
-
__exportStar(require("./IntersectionAccountDtoWithFinancialDto"), exports);
|
|
32
30
|
__exportStar(require("./IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto"), exports);
|
|
33
|
-
__exportStar(require("./IntersectionAccountDtoWithSettingsDto"), exports);
|
|
34
31
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
32
|
+
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
35
33
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDto"), exports);
|
|
36
34
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
|
|
37
35
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDtoLastMessageData"), exports);
|
|
38
36
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDtoLastOffer"), exports);
|
|
39
|
-
__exportStar(require("./LeadDto"), exports);
|
|
40
37
|
__exportStar(require("./LeadMessageData"), exports);
|
|
41
38
|
__exportStar(require("./LeadMessageDto"), exports);
|
|
42
39
|
__exportStar(require("./LeadMessageDtoData"), exports);
|
|
@@ -49,6 +46,7 @@ __exportStar(require("./Login429Response"), exports);
|
|
|
49
46
|
__exportStar(require("./LoginInput"), exports);
|
|
50
47
|
__exportStar(require("./MoneyDto"), exports);
|
|
51
48
|
__exportStar(require("./MoneyInput"), exports);
|
|
49
|
+
__exportStar(require("./ObjectId"), exports);
|
|
52
50
|
__exportStar(require("./PaginateResponse"), exports);
|
|
53
51
|
__exportStar(require("./PaginateResponseLinks"), exports);
|
|
54
52
|
__exportStar(require("./PaginateResponseMeta"), exports);
|
|
@@ -56,6 +54,8 @@ __exportStar(require("./PublicDomainControllerGetDomainIdentifier404Response"),
|
|
|
56
54
|
__exportStar(require("./PutLeadInput"), exports);
|
|
57
55
|
__exportStar(require("./TokenDto"), exports);
|
|
58
56
|
__exportStar(require("./UpdateDomainInput"), exports);
|
|
57
|
+
__exportStar(require("./UpdateFinancial400Response"), exports);
|
|
58
|
+
__exportStar(require("./UpdateSettings400Response"), exports);
|
|
59
59
|
__exportStar(require("./UpdateSettings401Response"), exports);
|
|
60
60
|
__exportStar(require("./UpdateSettings429Response"), exports);
|
|
61
61
|
__exportStar(require("./WithFinancialDtoInner"), exports);
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@randock/nameshift-api-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "OpenAPI client for @randock/nameshift-api-client",
|
|
5
|
+
"author": "OpenAPI-Generator",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
|
9
|
+
},
|
|
5
10
|
"main": "./dist/index.js",
|
|
6
11
|
"typings": "./dist/index.d.ts",
|
|
7
12
|
"scripts": {
|