@randock/nameshift-api-client 0.0.15 → 0.0.16
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
CHANGED
|
@@ -21,7 +21,6 @@ src/models/CreateLeadInput.ts
|
|
|
21
21
|
src/models/CreateLeadMessageInput.ts
|
|
22
22
|
src/models/DeleteDomainsInput.ts
|
|
23
23
|
src/models/DomainDto.ts
|
|
24
|
-
src/models/ImportDomainsDto.ts
|
|
25
24
|
src/models/IntersectionAccountDtoWithAddressDto.ts
|
|
26
25
|
src/models/IntersectionAccountDtoWithFinancialDto.ts
|
|
27
26
|
src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto,
|
|
13
|
+
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, List200Response, UpdateDomainInput } from '../models/index';
|
|
14
14
|
export interface BatchImportRequest {
|
|
15
15
|
file?: Blob | null;
|
|
16
16
|
domains?: Array<string>;
|
|
@@ -41,11 +41,11 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
|
-
batchImportRaw(requestParameters: BatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
44
|
+
batchImportRaw(requestParameters: BatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
|
-
batchImport(requestParameters?: BatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
48
|
+
batchImport(requestParameters?: BatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
*/
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -124,7 +124,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
124
124
|
}, initOverrides)];
|
|
125
125
|
case 3:
|
|
126
126
|
response = _a.sent();
|
|
127
|
-
return [2 /*return*/, new runtime.
|
|
127
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
});
|
|
@@ -135,14 +135,12 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
135
135
|
DomainsApi.prototype.batchImport = function (requestParameters, initOverrides) {
|
|
136
136
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
137
137
|
return __awaiter(this, void 0, void 0, function () {
|
|
138
|
-
var response;
|
|
139
138
|
return __generator(this, function (_a) {
|
|
140
139
|
switch (_a.label) {
|
|
141
140
|
case 0: return [4 /*yield*/, this.batchImportRaw(requestParameters, initOverrides)];
|
|
142
141
|
case 1:
|
|
143
|
-
|
|
144
|
-
return [
|
|
145
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
142
|
+
_a.sent();
|
|
143
|
+
return [2 /*return*/];
|
|
146
144
|
}
|
|
147
145
|
});
|
|
148
146
|
});
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './CreateLeadInput';
|
|
|
9
9
|
export * from './CreateLeadMessageInput';
|
|
10
10
|
export * from './DeleteDomainsInput';
|
|
11
11
|
export * from './DomainDto';
|
|
12
|
-
export * from './ImportDomainsDto';
|
|
13
12
|
export * from './IntersectionAccountDtoWithAddressDto';
|
|
14
13
|
export * from './IntersectionAccountDtoWithFinancialDto';
|
|
15
14
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,7 +27,6 @@ __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("./ImportDomainsDto"), exports);
|
|
31
30
|
__exportStar(require("./IntersectionAccountDtoWithAddressDto"), exports);
|
|
32
31
|
__exportStar(require("./IntersectionAccountDtoWithFinancialDto"), exports);
|
|
33
32
|
__exportStar(require("./IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto"), exports);
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@randock/nameshift-api-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "OpenAPI client for @randock/nameshift-api-client",
|
|
5
|
-
"author": "OpenAPI-Generator",
|
|
6
5
|
"main": "./dist/index.js",
|
|
7
6
|
"typings": "./dist/index.d.ts",
|
|
8
7
|
"scripts": {
|
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -19,7 +19,6 @@ import type {
|
|
|
19
19
|
BatchUpdateDomainsInput,
|
|
20
20
|
DeleteDomainsInput,
|
|
21
21
|
DomainDto,
|
|
22
|
-
ImportDomainsDto,
|
|
23
22
|
List200Response,
|
|
24
23
|
List400Response,
|
|
25
24
|
List401Response,
|
|
@@ -35,8 +34,6 @@ import {
|
|
|
35
34
|
DeleteDomainsInputToJSON,
|
|
36
35
|
DomainDtoFromJSON,
|
|
37
36
|
DomainDtoToJSON,
|
|
38
|
-
ImportDomainsDtoFromJSON,
|
|
39
|
-
ImportDomainsDtoToJSON,
|
|
40
37
|
List200ResponseFromJSON,
|
|
41
38
|
List200ResponseToJSON,
|
|
42
39
|
List400ResponseFromJSON,
|
|
@@ -86,7 +83,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
86
83
|
/**
|
|
87
84
|
*
|
|
88
85
|
*/
|
|
89
|
-
async batchImportRaw(requestParameters: BatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
86
|
+
async batchImportRaw(requestParameters: BatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
90
87
|
const queryParameters: any = {};
|
|
91
88
|
|
|
92
89
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -131,15 +128,14 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
131
128
|
body: formParams,
|
|
132
129
|
}, initOverrides);
|
|
133
130
|
|
|
134
|
-
return new runtime.
|
|
131
|
+
return new runtime.VoidApiResponse(response);
|
|
135
132
|
}
|
|
136
133
|
|
|
137
134
|
/**
|
|
138
135
|
*
|
|
139
136
|
*/
|
|
140
|
-
async batchImport(requestParameters: BatchImportRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
141
|
-
|
|
142
|
-
return await response.value();
|
|
137
|
+
async batchImport(requestParameters: BatchImportRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
138
|
+
await this.batchImportRaw(requestParameters, initOverrides);
|
|
143
139
|
}
|
|
144
140
|
|
|
145
141
|
/**
|
package/src/models/index.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from './CreateLeadInput';
|
|
|
11
11
|
export * from './CreateLeadMessageInput';
|
|
12
12
|
export * from './DeleteDomainsInput';
|
|
13
13
|
export * from './DomainDto';
|
|
14
|
-
export * from './ImportDomainsDto';
|
|
15
14
|
export * from './IntersectionAccountDtoWithAddressDto';
|
|
16
15
|
export * from './IntersectionAccountDtoWithFinancialDto';
|
|
17
16
|
export * from './IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto';
|