@randock/nameshift-api-client 0.0.75 → 0.0.76
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 +1 -0
- package/README.md +3 -3
- package/dist/models/BadRequestException.d.ts +49 -0
- package/dist/models/BadRequestException.js +59 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +3 -0
- package/src/apis/BuyersPublicApi.ts +3 -0
- package/src/apis/LeadsPublicApi.ts +3 -0
- package/src/models/BadRequestException.ts +88 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ src/models/AccountDto.ts
|
|
|
24
24
|
src/models/AccountFinancialInput.ts
|
|
25
25
|
src/models/AccountSettingsInput.ts
|
|
26
26
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
27
|
+
src/models/BadRequestException.ts
|
|
27
28
|
src/models/BatchUpdateDomainsInput.ts
|
|
28
29
|
src/models/BuyerDomainTransferAuthCodeDto.ts
|
|
29
30
|
src/models/BuyerDomainTransferListItemDomainDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.76
|
|
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.76 --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
|
+
825c0246d61399bc9fc35f1b9ef619d6c7691eaf22398e3039fcf22b0352cecf6d48fe1454705ef0a2a36fdddb5f5dd6
|
|
@@ -0,0 +1,49 @@
|
|
|
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 BadRequestException
|
|
16
|
+
*/
|
|
17
|
+
export interface BadRequestException {
|
|
18
|
+
/**
|
|
19
|
+
* Exception name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BadRequestException
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* http status code
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BadRequestException
|
|
28
|
+
*/
|
|
29
|
+
statusCode: number;
|
|
30
|
+
/**
|
|
31
|
+
* error message
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BadRequestException
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BadRequestException
|
|
40
|
+
*/
|
|
41
|
+
code: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the BadRequestException interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfBadRequestException(value: object): value is BadRequestException;
|
|
47
|
+
export declare function BadRequestExceptionFromJSON(json: any): BadRequestException;
|
|
48
|
+
export declare function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestException;
|
|
49
|
+
export declare function BadRequestExceptionToJSON(value?: BadRequestException | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.BadRequestExceptionToJSON = exports.BadRequestExceptionFromJSONTyped = exports.BadRequestExceptionFromJSON = exports.instanceOfBadRequestException = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the BadRequestException interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfBadRequestException(value) {
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfBadRequestException = instanceOfBadRequestException;
|
|
32
|
+
function BadRequestExceptionFromJSON(json) {
|
|
33
|
+
return BadRequestExceptionFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.BadRequestExceptionFromJSON = BadRequestExceptionFromJSON;
|
|
36
|
+
function BadRequestExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'statusCode': json['statusCode'],
|
|
43
|
+
'message': json['message'],
|
|
44
|
+
'code': json['code'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.BadRequestExceptionFromJSONTyped = BadRequestExceptionFromJSONTyped;
|
|
48
|
+
function BadRequestExceptionToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'statusCode': value['statusCode'],
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'code': value['code'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.BadRequestExceptionToJSON = BadRequestExceptionToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './AccountDto';
|
|
|
4
4
|
export * from './AccountFinancialInput';
|
|
5
5
|
export * from './AccountSettingsInput';
|
|
6
6
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
7
|
+
export * from './BadRequestException';
|
|
7
8
|
export * from './BatchUpdateDomainsInput';
|
|
8
9
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
9
10
|
export * from './BuyerDomainTransferListItemDomainDto';
|
package/dist/models/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./AccountDto"), exports);
|
|
|
22
22
|
__exportStar(require("./AccountFinancialInput"), exports);
|
|
23
23
|
__exportStar(require("./AccountSettingsInput"), exports);
|
|
24
24
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
25
|
+
__exportStar(require("./BadRequestException"), exports);
|
|
25
26
|
__exportStar(require("./BatchUpdateDomainsInput"), exports);
|
|
26
27
|
__exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
|
|
27
28
|
__exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
|
package/package.json
CHANGED
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
BadRequestException,
|
|
18
19
|
BuyerDomainTransferAuthCodeDto,
|
|
19
20
|
BuyerUserDto,
|
|
20
21
|
GetBuyerTransfers200Response,
|
|
@@ -24,6 +25,8 @@ import type {
|
|
|
24
25
|
ValidationException,
|
|
25
26
|
} from '../models/index';
|
|
26
27
|
import {
|
|
28
|
+
BadRequestExceptionFromJSON,
|
|
29
|
+
BadRequestExceptionToJSON,
|
|
27
30
|
BuyerDomainTransferAuthCodeDtoFromJSON,
|
|
28
31
|
BuyerDomainTransferAuthCodeDtoToJSON,
|
|
29
32
|
BuyerUserDtoFromJSON,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
BadRequestException,
|
|
18
19
|
LoginDto,
|
|
19
20
|
LoginInput,
|
|
20
21
|
RequestAccessTokenInput,
|
|
@@ -22,6 +23,8 @@ import type {
|
|
|
22
23
|
ValidationException,
|
|
23
24
|
} from '../models/index';
|
|
24
25
|
import {
|
|
26
|
+
BadRequestExceptionFromJSON,
|
|
27
|
+
BadRequestExceptionToJSON,
|
|
25
28
|
LoginDtoFromJSON,
|
|
26
29
|
LoginDtoToJSON,
|
|
27
30
|
LoginInputFromJSON,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
BadRequestException,
|
|
18
19
|
CreateLeadInput,
|
|
19
20
|
LeadStatusDto,
|
|
20
21
|
NotFoundException,
|
|
@@ -26,6 +27,8 @@ import type {
|
|
|
26
27
|
VerifyLeadInput,
|
|
27
28
|
} from '../models/index';
|
|
28
29
|
import {
|
|
30
|
+
BadRequestExceptionFromJSON,
|
|
31
|
+
BadRequestExceptionToJSON,
|
|
29
32
|
CreateLeadInputFromJSON,
|
|
30
33
|
CreateLeadInputToJSON,
|
|
31
34
|
LeadStatusDtoFromJSON,
|
|
@@ -0,0 +1,88 @@
|
|
|
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 BadRequestException
|
|
20
|
+
*/
|
|
21
|
+
export interface BadRequestException {
|
|
22
|
+
/**
|
|
23
|
+
* Exception name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof BadRequestException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* http status code
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof BadRequestException
|
|
32
|
+
*/
|
|
33
|
+
statusCode: number;
|
|
34
|
+
/**
|
|
35
|
+
* error message
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof BadRequestException
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof BadRequestException
|
|
44
|
+
*/
|
|
45
|
+
code: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the BadRequestException interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfBadRequestException(value: object): value is BadRequestException {
|
|
52
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
53
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
54
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
55
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function BadRequestExceptionFromJSON(json: any): BadRequestException {
|
|
60
|
+
return BadRequestExceptionFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestException {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'name': json['name'],
|
|
70
|
+
'statusCode': json['statusCode'],
|
|
71
|
+
'message': json['message'],
|
|
72
|
+
'code': json['code'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function BadRequestExceptionToJSON(value?: BadRequestException | null): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'name': value['name'],
|
|
83
|
+
'statusCode': value['statusCode'],
|
|
84
|
+
'message': value['message'],
|
|
85
|
+
'code': value['code'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './AccountDto';
|
|
|
6
6
|
export * from './AccountFinancialInput';
|
|
7
7
|
export * from './AccountSettingsInput';
|
|
8
8
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
9
|
+
export * from './BadRequestException';
|
|
9
10
|
export * from './BatchUpdateDomainsInput';
|
|
10
11
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
11
12
|
export * from './BuyerDomainTransferListItemDomainDto';
|