@randock/nameshift-api-client 0.0.268 → 0.0.269
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/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/models/AggregatedPaginationResponse.d.ts +32 -0
- package/dist/models/AggregatedPaginationResponse.js +51 -0
- package/dist/models/List200Response3.d.ts +6 -0
- package/dist/models/List200Response3.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/AggregatedPaginationResponse.ts +66 -0
- package/src/models/List200Response3.ts +9 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -48,6 +48,7 @@ src/models/AdminAccountSettingsInput.ts
|
|
|
48
48
|
src/models/AdminBankAccountDto.ts
|
|
49
49
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
50
50
|
src/models/AdminVerificationDepositDto.ts
|
|
51
|
+
src/models/AggregatedPaginationResponse.ts
|
|
51
52
|
src/models/AirwallexBankAccountDetailsDto.ts
|
|
52
53
|
src/models/AirwallexBankAccountDetailsDtoInstitution.ts
|
|
53
54
|
src/models/AirwallexBankAccountDetailsDtoLocalMethod.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.11.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.269
|
|
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.269 --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
|
+
10d805d9bd774d99e3f727a8007426277e1b4e0e3f24e0bff861150d2f0bbffbdfa452177c9ea25279e721d51e968e4e
|
|
@@ -0,0 +1,32 @@
|
|
|
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 AggregatedPaginationResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AggregatedPaginationResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof AggregatedPaginationResponse
|
|
22
|
+
*/
|
|
23
|
+
aggregations: object;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AggregatedPaginationResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAggregatedPaginationResponse(value: object): value is AggregatedPaginationResponse;
|
|
29
|
+
export declare function AggregatedPaginationResponseFromJSON(json: any): AggregatedPaginationResponse;
|
|
30
|
+
export declare function AggregatedPaginationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AggregatedPaginationResponse;
|
|
31
|
+
export declare function AggregatedPaginationResponseToJSON(json: any): AggregatedPaginationResponse;
|
|
32
|
+
export declare function AggregatedPaginationResponseToJSONTyped(value?: AggregatedPaginationResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfAggregatedPaginationResponse = instanceOfAggregatedPaginationResponse;
|
|
17
|
+
exports.AggregatedPaginationResponseFromJSON = AggregatedPaginationResponseFromJSON;
|
|
18
|
+
exports.AggregatedPaginationResponseFromJSONTyped = AggregatedPaginationResponseFromJSONTyped;
|
|
19
|
+
exports.AggregatedPaginationResponseToJSON = AggregatedPaginationResponseToJSON;
|
|
20
|
+
exports.AggregatedPaginationResponseToJSONTyped = AggregatedPaginationResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AggregatedPaginationResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAggregatedPaginationResponse(value) {
|
|
25
|
+
if (!('aggregations' in value) || value['aggregations'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AggregatedPaginationResponseFromJSON(json) {
|
|
30
|
+
return AggregatedPaginationResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AggregatedPaginationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'aggregations': json['aggregations'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AggregatedPaginationResponseToJSON(json) {
|
|
41
|
+
return AggregatedPaginationResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AggregatedPaginationResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'aggregations': value['aggregations'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -35,6 +35,12 @@ export interface List200Response3 {
|
|
|
35
35
|
* @memberof List200Response3
|
|
36
36
|
*/
|
|
37
37
|
pagination: CursorBasedPageInfo;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {object}
|
|
41
|
+
* @memberof List200Response3
|
|
42
|
+
*/
|
|
43
|
+
aggregations: object;
|
|
38
44
|
/**
|
|
39
45
|
*
|
|
40
46
|
* @type {Array<PublicDomainDto>}
|
|
@@ -37,6 +37,8 @@ function instanceOfList200Response3(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('aggregations' in value) || value['aggregations'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
return true;
|
|
41
43
|
}
|
|
42
44
|
function List200Response3FromJSON(json) {
|
|
@@ -50,6 +52,7 @@ function List200Response3FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'limit': json['limit'],
|
|
51
53
|
'type': json['type'],
|
|
52
54
|
'pagination': (0, CursorBasedPageInfo_1.CursorBasedPageInfoFromJSON)(json['pagination']),
|
|
55
|
+
'aggregations': json['aggregations'],
|
|
53
56
|
'data': json['data'] == null ? undefined : (json['data'].map(PublicDomainDto_1.PublicDomainDtoFromJSON)),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -65,6 +68,7 @@ function List200Response3ToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
68
|
'limit': value['limit'],
|
|
66
69
|
'type': value['type'],
|
|
67
70
|
'pagination': (0, CursorBasedPageInfo_1.CursorBasedPageInfoToJSON)(value['pagination']),
|
|
71
|
+
'aggregations': value['aggregations'],
|
|
68
72
|
'data': value['data'] == null ? undefined : (value['data'].map(PublicDomainDto_1.PublicDomainDtoToJSON)),
|
|
69
73
|
};
|
|
70
74
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './AdminAccountSettingsInput';
|
|
|
21
21
|
export * from './AdminBankAccountDto';
|
|
22
22
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
23
23
|
export * from './AdminVerificationDepositDto';
|
|
24
|
+
export * from './AggregatedPaginationResponse';
|
|
24
25
|
export * from './AirwallexBankAccountDetailsDto';
|
|
25
26
|
export * from './AirwallexBankAccountDetailsDtoInstitution';
|
|
26
27
|
export * from './AirwallexBankAccountDetailsDtoLocalMethod';
|
package/dist/models/index.js
CHANGED
|
@@ -39,6 +39,7 @@ __exportStar(require("./AdminAccountSettingsInput"), exports);
|
|
|
39
39
|
__exportStar(require("./AdminBankAccountDto"), exports);
|
|
40
40
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
41
41
|
__exportStar(require("./AdminVerificationDepositDto"), exports);
|
|
42
|
+
__exportStar(require("./AggregatedPaginationResponse"), exports);
|
|
42
43
|
__exportStar(require("./AirwallexBankAccountDetailsDto"), exports);
|
|
43
44
|
__exportStar(require("./AirwallexBankAccountDetailsDtoInstitution"), exports);
|
|
44
45
|
__exportStar(require("./AirwallexBankAccountDetailsDtoLocalMethod"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,66 @@
|
|
|
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 AggregatedPaginationResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface AggregatedPaginationResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {object}
|
|
25
|
+
* @memberof AggregatedPaginationResponse
|
|
26
|
+
*/
|
|
27
|
+
aggregations: object;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AggregatedPaginationResponse interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAggregatedPaginationResponse(value: object): value is AggregatedPaginationResponse {
|
|
34
|
+
if (!('aggregations' in value) || value['aggregations'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AggregatedPaginationResponseFromJSON(json: any): AggregatedPaginationResponse {
|
|
39
|
+
return AggregatedPaginationResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AggregatedPaginationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AggregatedPaginationResponse {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'aggregations': json['aggregations'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AggregatedPaginationResponseToJSON(json: any): AggregatedPaginationResponse {
|
|
53
|
+
return AggregatedPaginationResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AggregatedPaginationResponseToJSONTyped(value?: AggregatedPaginationResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'aggregations': value['aggregations'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -52,6 +52,12 @@ export interface List200Response3 {
|
|
|
52
52
|
* @memberof List200Response3
|
|
53
53
|
*/
|
|
54
54
|
pagination: CursorBasedPageInfo;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {object}
|
|
58
|
+
* @memberof List200Response3
|
|
59
|
+
*/
|
|
60
|
+
aggregations: object;
|
|
55
61
|
/**
|
|
56
62
|
*
|
|
57
63
|
* @type {Array<PublicDomainDto>}
|
|
@@ -77,6 +83,7 @@ export function instanceOfList200Response3(value: object): value is List200Respo
|
|
|
77
83
|
if (!('limit' in value) || value['limit'] === undefined) return false;
|
|
78
84
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
79
85
|
if (!('pagination' in value) || value['pagination'] === undefined) return false;
|
|
86
|
+
if (!('aggregations' in value) || value['aggregations'] === undefined) return false;
|
|
80
87
|
return true;
|
|
81
88
|
}
|
|
82
89
|
|
|
@@ -93,6 +100,7 @@ export function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
93
100
|
'limit': json['limit'],
|
|
94
101
|
'type': json['type'],
|
|
95
102
|
'pagination': CursorBasedPageInfoFromJSON(json['pagination']),
|
|
103
|
+
'aggregations': json['aggregations'],
|
|
96
104
|
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PublicDomainDtoFromJSON)),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
@@ -111,6 +119,7 @@ export function List200Response3ToJSONTyped(value?: List200Response3 | null, ign
|
|
|
111
119
|
'limit': value['limit'],
|
|
112
120
|
'type': value['type'],
|
|
113
121
|
'pagination': CursorBasedPageInfoToJSON(value['pagination']),
|
|
122
|
+
'aggregations': value['aggregations'],
|
|
114
123
|
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(PublicDomainDtoToJSON)),
|
|
115
124
|
};
|
|
116
125
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './AdminAccountSettingsInput';
|
|
|
23
23
|
export * from './AdminBankAccountDto';
|
|
24
24
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
25
25
|
export * from './AdminVerificationDepositDto';
|
|
26
|
+
export * from './AggregatedPaginationResponse';
|
|
26
27
|
export * from './AirwallexBankAccountDetailsDto';
|
|
27
28
|
export * from './AirwallexBankAccountDetailsDtoInstitution';
|
|
28
29
|
export * from './AirwallexBankAccountDetailsDtoLocalMethod';
|