@randock/nameshift-api-client 0.0.149 → 0.0.151
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 -1
- package/README.md +3 -3
- package/dist/apis/DomainsPublicApi.d.ts +6 -4
- package/dist/apis/DomainsPublicApi.js +6 -4
- package/dist/models/List200Response3.d.ts +47 -0
- package/dist/models/{PublicDomainControllerListDomains200Response.js → List200Response3.js} +13 -13
- package/dist/models/PaginateResponseMeta.d.ts +1 -1
- package/dist/models/PaginateResponseMeta.js +2 -2
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/DomainsPublicApi.ts +10 -8
- package/src/models/{PublicDomainControllerListDomains200Response.ts → List200Response3.ts} +13 -13
- package/src/models/PaginateResponseMeta.ts +3 -3
- package/src/models/index.ts +1 -1
- package/dist/models/PublicDomainControllerListDomains200Response.d.ts +0 -47
package/.openapi-generator/FILES
CHANGED
|
@@ -103,6 +103,7 @@ src/models/LeadStatusDto.ts
|
|
|
103
103
|
src/models/List200Response.ts
|
|
104
104
|
src/models/List200Response1.ts
|
|
105
105
|
src/models/List200Response2.ts
|
|
106
|
+
src/models/List200Response3.ts
|
|
106
107
|
src/models/ListAccountDto.ts
|
|
107
108
|
src/models/ListAccounts200Response.ts
|
|
108
109
|
src/models/ListLeadMessagesDto.ts
|
|
@@ -124,7 +125,6 @@ src/models/PaginateResponseLinks.ts
|
|
|
124
125
|
src/models/PaginateResponseMeta.ts
|
|
125
126
|
src/models/ParsedDomainDto.ts
|
|
126
127
|
src/models/PaymentProviderDto.ts
|
|
127
|
-
src/models/PublicDomainControllerListDomains200Response.ts
|
|
128
128
|
src/models/PublicDomainDto.ts
|
|
129
129
|
src/models/PublicLeadBuyerDto.ts
|
|
130
130
|
src/models/PublicLeadDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.151
|
|
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.151 --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
|
+
586b9b9f24ab92f4ce9927e076081734281144c1e8150ea8698161cc40a05154bb88aa449f442e869b3f70604b5f31d7
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto,
|
|
13
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto, List200Response3 } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
15
15
|
domainName: string;
|
|
16
16
|
includeStats?: boolean;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
18
|
+
export interface DomainsPublicApiList2Request {
|
|
19
19
|
filter?: object;
|
|
20
20
|
page?: number;
|
|
21
21
|
limit?: number;
|
|
@@ -34,9 +34,11 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
34
34
|
*/
|
|
35
35
|
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDto>;
|
|
36
36
|
/**
|
|
37
|
+
*
|
|
37
38
|
*/
|
|
38
|
-
|
|
39
|
+
listRaw(requestParameters: DomainsPublicApiList2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response3>>;
|
|
39
40
|
/**
|
|
41
|
+
*
|
|
40
42
|
*/
|
|
41
|
-
|
|
43
|
+
list(requestParameters?: DomainsPublicApiList2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3>;
|
|
42
44
|
}
|
|
@@ -123,8 +123,9 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
123
123
|
});
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
|
+
*
|
|
126
127
|
*/
|
|
127
|
-
DomainsPublicApi.prototype.
|
|
128
|
+
DomainsPublicApi.prototype.listRaw = function (requestParameters, initOverrides) {
|
|
128
129
|
return __awaiter(this, void 0, void 0, function () {
|
|
129
130
|
var queryParameters, headerParameters, response;
|
|
130
131
|
return __generator(this, function (_a) {
|
|
@@ -152,20 +153,21 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
152
153
|
}, initOverrides)];
|
|
153
154
|
case 1:
|
|
154
155
|
response = _a.sent();
|
|
155
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
156
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response3FromJSON)(jsonValue); })];
|
|
156
157
|
}
|
|
157
158
|
});
|
|
158
159
|
});
|
|
159
160
|
};
|
|
160
161
|
/**
|
|
162
|
+
*
|
|
161
163
|
*/
|
|
162
|
-
DomainsPublicApi.prototype.
|
|
164
|
+
DomainsPublicApi.prototype.list = function () {
|
|
163
165
|
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
164
166
|
var response;
|
|
165
167
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
166
168
|
return __generator(this, function (_a) {
|
|
167
169
|
switch (_a.label) {
|
|
168
|
-
case 0: return [4 /*yield*/, this.
|
|
170
|
+
case 0: return [4 /*yield*/, this.listRaw(requestParameters, initOverrides)];
|
|
169
171
|
case 1:
|
|
170
172
|
response = _a.sent();
|
|
171
173
|
return [4 /*yield*/, response.value()];
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { PublicDomainDto } from './PublicDomainDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface List200Response3
|
|
19
|
+
*/
|
|
20
|
+
export interface List200Response3 {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<PublicDomainDto>}
|
|
24
|
+
* @memberof List200Response3
|
|
25
|
+
*/
|
|
26
|
+
data: Array<PublicDomainDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof List200Response3
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof List200Response3
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the List200Response3 interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfList200Response3(value: object): value is List200Response3;
|
|
44
|
+
export declare function List200Response3FromJSON(json: any): List200Response3;
|
|
45
|
+
export declare function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response3;
|
|
46
|
+
export declare function List200Response3ToJSON(json: any): List200Response3;
|
|
47
|
+
export declare function List200Response3ToJSONTyped(value?: List200Response3 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfList200Response3 = instanceOfList200Response3;
|
|
17
|
+
exports.List200Response3FromJSON = List200Response3FromJSON;
|
|
18
|
+
exports.List200Response3FromJSONTyped = List200Response3FromJSONTyped;
|
|
19
|
+
exports.List200Response3ToJSON = List200Response3ToJSON;
|
|
20
|
+
exports.List200Response3ToJSONTyped = List200Response3ToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
22
|
var PublicDomainDto_1 = require("./PublicDomainDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
|
-
* Check if a given object implements the
|
|
25
|
+
* Check if a given object implements the List200Response3 interface.
|
|
26
26
|
*/
|
|
27
|
-
function
|
|
27
|
+
function instanceOfList200Response3(value) {
|
|
28
28
|
if (!('data' in value) || value['data'] === undefined)
|
|
29
29
|
return false;
|
|
30
30
|
if (!('meta' in value) || value['meta'] === undefined)
|
|
@@ -33,10 +33,10 @@ function instanceOfPublicDomainControllerListDomains200Response(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
return true;
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
36
|
+
function List200Response3FromJSON(json) {
|
|
37
|
+
return List200Response3FromJSONTyped(json, false);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function List200Response3FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
40
|
if (json == null) {
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
@@ -46,10 +46,10 @@ function PublicDomainControllerListDomains200ResponseFromJSONTyped(json, ignoreD
|
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
49
|
+
function List200Response3ToJSON(json) {
|
|
50
|
+
return List200Response3ToJSONTyped(json, false);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function List200Response3ToJSONTyped(value, ignoreDiscriminator) {
|
|
53
53
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
54
|
if (value == null) {
|
|
55
55
|
return value;
|
|
@@ -32,7 +32,7 @@ function PaginateResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'
|
|
35
|
+
'currentPage': json['currentPage'] == null ? undefined : json['currentPage'],
|
|
36
36
|
'itemsPerPage': json['itemsPerPage'] == null ? undefined : json['itemsPerPage'],
|
|
37
37
|
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
38
38
|
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
@@ -50,7 +50,7 @@ function PaginateResponseMetaToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
50
|
return value;
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
|
-
'
|
|
53
|
+
'currentPage': value['currentPage'],
|
|
54
54
|
'itemsPerPage': value['itemsPerPage'],
|
|
55
55
|
'offset': value['offset'],
|
|
56
56
|
'unpaged': value['unpaged'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export * from './LeadStatusDto';
|
|
|
81
81
|
export * from './List200Response';
|
|
82
82
|
export * from './List200Response1';
|
|
83
83
|
export * from './List200Response2';
|
|
84
|
+
export * from './List200Response3';
|
|
84
85
|
export * from './ListAccountDto';
|
|
85
86
|
export * from './ListAccounts200Response';
|
|
86
87
|
export * from './ListLeadMessagesDto';
|
|
@@ -102,7 +103,6 @@ export * from './PaginateResponseLinks';
|
|
|
102
103
|
export * from './PaginateResponseMeta';
|
|
103
104
|
export * from './ParsedDomainDto';
|
|
104
105
|
export * from './PaymentProviderDto';
|
|
105
|
-
export * from './PublicDomainControllerListDomains200Response';
|
|
106
106
|
export * from './PublicDomainDto';
|
|
107
107
|
export * from './PublicLeadBuyerDto';
|
|
108
108
|
export * from './PublicLeadDto';
|
package/dist/models/index.js
CHANGED
|
@@ -99,6 +99,7 @@ __exportStar(require("./LeadStatusDto"), exports);
|
|
|
99
99
|
__exportStar(require("./List200Response"), exports);
|
|
100
100
|
__exportStar(require("./List200Response1"), exports);
|
|
101
101
|
__exportStar(require("./List200Response2"), exports);
|
|
102
|
+
__exportStar(require("./List200Response3"), exports);
|
|
102
103
|
__exportStar(require("./ListAccountDto"), exports);
|
|
103
104
|
__exportStar(require("./ListAccounts200Response"), exports);
|
|
104
105
|
__exportStar(require("./ListLeadMessagesDto"), exports);
|
|
@@ -120,7 +121,6 @@ __exportStar(require("./PaginateResponseLinks"), exports);
|
|
|
120
121
|
__exportStar(require("./PaginateResponseMeta"), exports);
|
|
121
122
|
__exportStar(require("./ParsedDomainDto"), exports);
|
|
122
123
|
__exportStar(require("./PaymentProviderDto"), exports);
|
|
123
|
-
__exportStar(require("./PublicDomainControllerListDomains200Response"), exports);
|
|
124
124
|
__exportStar(require("./PublicDomainDto"), exports);
|
|
125
125
|
__exportStar(require("./PublicLeadBuyerDto"), exports);
|
|
126
126
|
__exportStar(require("./PublicLeadDto"), exports);
|
package/package.json
CHANGED
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
IntersectionDomainSalesInformationDtoWithDomainStatsDto,
|
|
19
|
+
List200Response3,
|
|
19
20
|
NotFoundException,
|
|
20
|
-
PublicDomainControllerListDomains200Response,
|
|
21
21
|
ThrottlerException,
|
|
22
22
|
ValidationException,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
25
25
|
IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON,
|
|
26
26
|
IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON,
|
|
27
|
+
List200Response3FromJSON,
|
|
28
|
+
List200Response3ToJSON,
|
|
27
29
|
NotFoundExceptionFromJSON,
|
|
28
30
|
NotFoundExceptionToJSON,
|
|
29
|
-
PublicDomainControllerListDomains200ResponseFromJSON,
|
|
30
|
-
PublicDomainControllerListDomains200ResponseToJSON,
|
|
31
31
|
ThrottlerExceptionFromJSON,
|
|
32
32
|
ThrottlerExceptionToJSON,
|
|
33
33
|
ValidationExceptionFromJSON,
|
|
@@ -39,7 +39,7 @@ export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
|
39
39
|
includeStats?: boolean;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export interface
|
|
42
|
+
export interface DomainsPublicApiList2Request {
|
|
43
43
|
filter?: object;
|
|
44
44
|
page?: number;
|
|
45
45
|
limit?: number;
|
|
@@ -89,8 +89,9 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
+
*
|
|
92
93
|
*/
|
|
93
|
-
async
|
|
94
|
+
async listRaw(requestParameters: DomainsPublicApiList2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response3>> {
|
|
94
95
|
const queryParameters: any = {};
|
|
95
96
|
|
|
96
97
|
if (requestParameters['filter'] != null) {
|
|
@@ -118,13 +119,14 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
118
119
|
query: queryParameters,
|
|
119
120
|
}, initOverrides);
|
|
120
121
|
|
|
121
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
122
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => List200Response3FromJSON(jsonValue));
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
/**
|
|
126
|
+
*
|
|
125
127
|
*/
|
|
126
|
-
async
|
|
127
|
-
const response = await this.
|
|
128
|
+
async list(requestParameters: DomainsPublicApiList2Request = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3> {
|
|
129
|
+
const response = await this.listRaw(requestParameters, initOverrides);
|
|
128
130
|
return await response.value();
|
|
129
131
|
}
|
|
130
132
|
|
|
@@ -38,44 +38,44 @@ import {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @export
|
|
41
|
-
* @interface
|
|
41
|
+
* @interface List200Response3
|
|
42
42
|
*/
|
|
43
|
-
export interface
|
|
43
|
+
export interface List200Response3 {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {Array<PublicDomainDto>}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof List200Response3
|
|
48
48
|
*/
|
|
49
49
|
data: Array<PublicDomainDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof List200Response3
|
|
54
54
|
*/
|
|
55
55
|
meta: PaginateResponseMeta;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {PaginateResponseLinks}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof List200Response3
|
|
60
60
|
*/
|
|
61
61
|
links: PaginateResponseLinks;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* Check if a given object implements the
|
|
65
|
+
* Check if a given object implements the List200Response3 interface.
|
|
66
66
|
*/
|
|
67
|
-
export function
|
|
67
|
+
export function instanceOfList200Response3(value: object): value is List200Response3 {
|
|
68
68
|
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
69
|
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
70
|
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
71
|
return true;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export function
|
|
75
|
-
return
|
|
74
|
+
export function List200Response3FromJSON(json: any): List200Response3 {
|
|
75
|
+
return List200Response3FromJSONTyped(json, false);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export function
|
|
78
|
+
export function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response3 {
|
|
79
79
|
if (json == null) {
|
|
80
80
|
return json;
|
|
81
81
|
}
|
|
@@ -87,11 +87,11 @@ export function PublicDomainControllerListDomains200ResponseFromJSONTyped(json:
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export function
|
|
91
|
-
return
|
|
90
|
+
export function List200Response3ToJSON(json: any): List200Response3 {
|
|
91
|
+
return List200Response3ToJSONTyped(json, false);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export function
|
|
94
|
+
export function List200Response3ToJSONTyped(value?: List200Response3 | null, ignoreDiscriminator: boolean = false): any {
|
|
95
95
|
if (value == null) {
|
|
96
96
|
return value;
|
|
97
97
|
}
|
|
@@ -24,7 +24,7 @@ export interface PaginateResponseMeta {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof PaginateResponseMeta
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
currentPage?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
@@ -80,7 +80,7 @@ export function PaginateResponseMetaFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
80
80
|
}
|
|
81
81
|
return {
|
|
82
82
|
|
|
83
|
-
'
|
|
83
|
+
'currentPage': json['currentPage'] == null ? undefined : json['currentPage'],
|
|
84
84
|
'itemsPerPage': json['itemsPerPage'] == null ? undefined : json['itemsPerPage'],
|
|
85
85
|
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
86
86
|
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
@@ -101,7 +101,7 @@ export function PaginateResponseMetaFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
101
101
|
|
|
102
102
|
return {
|
|
103
103
|
|
|
104
|
-
'
|
|
104
|
+
'currentPage': value['currentPage'],
|
|
105
105
|
'itemsPerPage': value['itemsPerPage'],
|
|
106
106
|
'offset': value['offset'],
|
|
107
107
|
'unpaged': value['unpaged'],
|
package/src/models/index.ts
CHANGED
|
@@ -83,6 +83,7 @@ export * from './LeadStatusDto';
|
|
|
83
83
|
export * from './List200Response';
|
|
84
84
|
export * from './List200Response1';
|
|
85
85
|
export * from './List200Response2';
|
|
86
|
+
export * from './List200Response3';
|
|
86
87
|
export * from './ListAccountDto';
|
|
87
88
|
export * from './ListAccounts200Response';
|
|
88
89
|
export * from './ListLeadMessagesDto';
|
|
@@ -104,7 +105,6 @@ export * from './PaginateResponseLinks';
|
|
|
104
105
|
export * from './PaginateResponseMeta';
|
|
105
106
|
export * from './ParsedDomainDto';
|
|
106
107
|
export * from './PaymentProviderDto';
|
|
107
|
-
export * from './PublicDomainControllerListDomains200Response';
|
|
108
108
|
export * from './PublicDomainDto';
|
|
109
109
|
export * from './PublicLeadBuyerDto';
|
|
110
110
|
export * from './PublicLeadDto';
|
|
@@ -1,47 +0,0 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type { PublicDomainDto } from './PublicDomainDto';
|
|
14
|
-
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PublicDomainControllerListDomains200Response
|
|
19
|
-
*/
|
|
20
|
-
export interface PublicDomainControllerListDomains200Response {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {Array<PublicDomainDto>}
|
|
24
|
-
* @memberof PublicDomainControllerListDomains200Response
|
|
25
|
-
*/
|
|
26
|
-
data: Array<PublicDomainDto>;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {PaginateResponseMeta}
|
|
30
|
-
* @memberof PublicDomainControllerListDomains200Response
|
|
31
|
-
*/
|
|
32
|
-
meta: PaginateResponseMeta;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {PaginateResponseLinks}
|
|
36
|
-
* @memberof PublicDomainControllerListDomains200Response
|
|
37
|
-
*/
|
|
38
|
-
links: PaginateResponseLinks;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the PublicDomainControllerListDomains200Response interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfPublicDomainControllerListDomains200Response(value: object): value is PublicDomainControllerListDomains200Response;
|
|
44
|
-
export declare function PublicDomainControllerListDomains200ResponseFromJSON(json: any): PublicDomainControllerListDomains200Response;
|
|
45
|
-
export declare function PublicDomainControllerListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerListDomains200Response;
|
|
46
|
-
export declare function PublicDomainControllerListDomains200ResponseToJSON(json: any): PublicDomainControllerListDomains200Response;
|
|
47
|
-
export declare function PublicDomainControllerListDomains200ResponseToJSONTyped(value?: PublicDomainControllerListDomains200Response | null, ignoreDiscriminator?: boolean): any;
|