@randock/nameshift-api-client 0.0.20 → 0.0.21
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/SecurityUserDto.d.ts +55 -0
- package/dist/models/SecurityUserDto.js +63 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/SecurityUserDto.ts +97 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -49,6 +49,7 @@ src/models/PaginateResponseLinks.ts
|
|
|
49
49
|
src/models/PaginateResponseMeta.ts
|
|
50
50
|
src/models/PublicDomainControllerGetDomainSalesInformation404Response.ts
|
|
51
51
|
src/models/PutLeadInput.ts
|
|
52
|
+
src/models/SecurityUserDto.ts
|
|
52
53
|
src/models/TokenDto.ts
|
|
53
54
|
src/models/UpdateDomainInput.ts
|
|
54
55
|
src/models/UpdateFinancial400Response.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.21
|
|
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.21 --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
|
+
00a9887dc3b5008acdebefc59bf85c379c469a35928709dd4bb5647fb38d45be75414b4d19b05221b4beaa1c786a90d6
|
|
@@ -0,0 +1,55 @@
|
|
|
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 SecurityUserDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SecurityUserDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SecurityUserDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SecurityUserDto
|
|
28
|
+
*/
|
|
29
|
+
accountId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SecurityUserDto
|
|
34
|
+
*/
|
|
35
|
+
roles: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SecurityUserDto
|
|
40
|
+
*/
|
|
41
|
+
firstname: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SecurityUserDto
|
|
46
|
+
*/
|
|
47
|
+
lastname: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SecurityUserDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSecurityUserDto(value: object): boolean;
|
|
53
|
+
export declare function SecurityUserDtoFromJSON(json: any): SecurityUserDto;
|
|
54
|
+
export declare function SecurityUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityUserDto;
|
|
55
|
+
export declare function SecurityUserDtoToJSON(value?: SecurityUserDto | null): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.SecurityUserDtoToJSON = exports.SecurityUserDtoFromJSONTyped = exports.SecurityUserDtoFromJSON = exports.instanceOfSecurityUserDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SecurityUserDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSecurityUserDto(value) {
|
|
21
|
+
if (!('id' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('accountId' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('roles' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('firstname' in value))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('lastname' in value))
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfSecurityUserDto = instanceOfSecurityUserDto;
|
|
34
|
+
function SecurityUserDtoFromJSON(json) {
|
|
35
|
+
return SecurityUserDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.SecurityUserDtoFromJSON = SecurityUserDtoFromJSON;
|
|
38
|
+
function SecurityUserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'accountId': json['accountId'],
|
|
45
|
+
'roles': json['roles'],
|
|
46
|
+
'firstname': json['firstname'],
|
|
47
|
+
'lastname': json['lastname'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SecurityUserDtoFromJSONTyped = SecurityUserDtoFromJSONTyped;
|
|
51
|
+
function SecurityUserDtoToJSON(value) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'accountId': value['accountId'],
|
|
58
|
+
'roles': value['roles'],
|
|
59
|
+
'firstname': value['firstname'],
|
|
60
|
+
'lastname': value['lastname'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.SecurityUserDtoToJSON = SecurityUserDtoToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export * from './PaginateResponseLinks';
|
|
|
36
36
|
export * from './PaginateResponseMeta';
|
|
37
37
|
export * from './PublicDomainControllerGetDomainSalesInformation404Response';
|
|
38
38
|
export * from './PutLeadInput';
|
|
39
|
+
export * from './SecurityUserDto';
|
|
39
40
|
export * from './TokenDto';
|
|
40
41
|
export * from './UpdateDomainInput';
|
|
41
42
|
export * from './UpdateFinancial400Response';
|
package/dist/models/index.js
CHANGED
|
@@ -54,6 +54,7 @@ __exportStar(require("./PaginateResponseLinks"), exports);
|
|
|
54
54
|
__exportStar(require("./PaginateResponseMeta"), exports);
|
|
55
55
|
__exportStar(require("./PublicDomainControllerGetDomainSalesInformation404Response"), exports);
|
|
56
56
|
__exportStar(require("./PutLeadInput"), exports);
|
|
57
|
+
__exportStar(require("./SecurityUserDto"), exports);
|
|
57
58
|
__exportStar(require("./TokenDto"), exports);
|
|
58
59
|
__exportStar(require("./UpdateDomainInput"), exports);
|
|
59
60
|
__exportStar(require("./UpdateFinancial400Response"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,97 @@
|
|
|
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 SecurityUserDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SecurityUserDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SecurityUserDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SecurityUserDto
|
|
32
|
+
*/
|
|
33
|
+
accountId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof SecurityUserDto
|
|
38
|
+
*/
|
|
39
|
+
roles: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SecurityUserDto
|
|
44
|
+
*/
|
|
45
|
+
firstname: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SecurityUserDto
|
|
50
|
+
*/
|
|
51
|
+
lastname: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the SecurityUserDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfSecurityUserDto(value: object): boolean {
|
|
58
|
+
if (!('id' in value)) return false;
|
|
59
|
+
if (!('accountId' in value)) return false;
|
|
60
|
+
if (!('roles' in value)) return false;
|
|
61
|
+
if (!('firstname' in value)) return false;
|
|
62
|
+
if (!('lastname' in value)) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SecurityUserDtoFromJSON(json: any): SecurityUserDto {
|
|
67
|
+
return SecurityUserDtoFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function SecurityUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityUserDto {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'id': json['id'],
|
|
77
|
+
'accountId': json['accountId'],
|
|
78
|
+
'roles': json['roles'],
|
|
79
|
+
'firstname': json['firstname'],
|
|
80
|
+
'lastname': json['lastname'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function SecurityUserDtoToJSON(value?: SecurityUserDto | null): any {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'id': value['id'],
|
|
91
|
+
'accountId': value['accountId'],
|
|
92
|
+
'roles': value['roles'],
|
|
93
|
+
'firstname': value['firstname'],
|
|
94
|
+
'lastname': value['lastname'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -38,6 +38,7 @@ export * from './PaginateResponseLinks';
|
|
|
38
38
|
export * from './PaginateResponseMeta';
|
|
39
39
|
export * from './PublicDomainControllerGetDomainSalesInformation404Response';
|
|
40
40
|
export * from './PutLeadInput';
|
|
41
|
+
export * from './SecurityUserDto';
|
|
41
42
|
export * from './TokenDto';
|
|
42
43
|
export * from './UpdateDomainInput';
|
|
43
44
|
export * from './UpdateFinancial400Response';
|