@randock/nameshift-api-client 0.0.242 → 0.0.243

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@1.0
1
+ ## @randock/nameshift-api-client@0.0.243
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@1.0 --save
39
+ npm install @randock/nameshift-api-client@0.0.243 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,3 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
+ 2ce50bd036dc3f0a36007bb402d5703aa178f02acf5e1c585645648f3671ae74da54dd2eef6d6d7a134b13b4643a3d60
@@ -23,15 +23,6 @@ export interface DomainsPublicApiListRequest {
23
23
  limit?: number;
24
24
  sortBy?: Array<string>;
25
25
  }
26
- export interface DomainsPublicApiPublicDomainControllerGetCaddyRequest {
27
- domain: string;
28
- }
29
- export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest {
30
- domainName: string;
31
- }
32
- export interface DomainsPublicApiPublicDomainControllerGetSidnRequest {
33
- domain: string;
34
- }
35
26
  /**
36
27
  *
37
28
  */
@@ -52,22 +43,4 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
52
43
  *
53
44
  */
54
45
  list(requestParameters?: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3>;
55
- /**
56
- */
57
- publicDomainControllerGetCaddyRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
58
- /**
59
- */
60
- publicDomainControllerGetCaddy(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
61
- /**
62
- */
63
- publicDomainControllerGetDomainIdentifierRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
64
- /**
65
- */
66
- publicDomainControllerGetDomainIdentifier(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
67
- /**
68
- */
69
- publicDomainControllerGetSidnRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
70
- /**
71
- */
72
- publicDomainControllerGetSidn(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
73
46
  }
@@ -182,134 +182,6 @@ var DomainsPublicApi = /** @class */ (function (_super) {
182
182
  });
183
183
  });
184
184
  };
185
- /**
186
- */
187
- DomainsPublicApi.prototype.publicDomainControllerGetCaddyRaw = function (requestParameters, initOverrides) {
188
- return __awaiter(this, void 0, void 0, function () {
189
- var queryParameters, headerParameters, response;
190
- return __generator(this, function (_a) {
191
- switch (_a.label) {
192
- case 0:
193
- if (requestParameters['domain'] == null) {
194
- throw new runtime.RequiredError('domain', 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetCaddy().');
195
- }
196
- queryParameters = {};
197
- if (requestParameters['domain'] != null) {
198
- queryParameters['domain'] = requestParameters['domain'];
199
- }
200
- headerParameters = {};
201
- return [4 /*yield*/, this.request({
202
- path: "/caddy",
203
- method: 'GET',
204
- headers: headerParameters,
205
- query: queryParameters,
206
- }, initOverrides)];
207
- case 1:
208
- response = _a.sent();
209
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
210
- }
211
- });
212
- });
213
- };
214
- /**
215
- */
216
- DomainsPublicApi.prototype.publicDomainControllerGetCaddy = function (requestParameters, initOverrides) {
217
- return __awaiter(this, void 0, void 0, function () {
218
- return __generator(this, function (_a) {
219
- switch (_a.label) {
220
- case 0: return [4 /*yield*/, this.publicDomainControllerGetCaddyRaw(requestParameters, initOverrides)];
221
- case 1:
222
- _a.sent();
223
- return [2 /*return*/];
224
- }
225
- });
226
- });
227
- };
228
- /**
229
- */
230
- DomainsPublicApi.prototype.publicDomainControllerGetDomainIdentifierRaw = function (requestParameters, initOverrides) {
231
- return __awaiter(this, void 0, void 0, function () {
232
- var queryParameters, headerParameters, response;
233
- return __generator(this, function (_a) {
234
- switch (_a.label) {
235
- case 0:
236
- if (requestParameters['domainName'] == null) {
237
- throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainIdentifier().');
238
- }
239
- queryParameters = {};
240
- headerParameters = {};
241
- return [4 /*yield*/, this.request({
242
- path: "/domains/by-name/{domainName}/identifier".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
243
- method: 'GET',
244
- headers: headerParameters,
245
- query: queryParameters,
246
- }, initOverrides)];
247
- case 1:
248
- response = _a.sent();
249
- return [2 /*return*/, new runtime.JSONApiResponse(response)];
250
- }
251
- });
252
- });
253
- };
254
- /**
255
- */
256
- DomainsPublicApi.prototype.publicDomainControllerGetDomainIdentifier = function (requestParameters, initOverrides) {
257
- return __awaiter(this, void 0, void 0, function () {
258
- var response;
259
- return __generator(this, function (_a) {
260
- switch (_a.label) {
261
- case 0: return [4 /*yield*/, this.publicDomainControllerGetDomainIdentifierRaw(requestParameters, initOverrides)];
262
- case 1:
263
- response = _a.sent();
264
- return [4 /*yield*/, response.value()];
265
- case 2: return [2 /*return*/, _a.sent()];
266
- }
267
- });
268
- });
269
- };
270
- /**
271
- */
272
- DomainsPublicApi.prototype.publicDomainControllerGetSidnRaw = function (requestParameters, initOverrides) {
273
- return __awaiter(this, void 0, void 0, function () {
274
- var queryParameters, headerParameters, response;
275
- return __generator(this, function (_a) {
276
- switch (_a.label) {
277
- case 0:
278
- if (requestParameters['domain'] == null) {
279
- throw new runtime.RequiredError('domain', 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetSidn().');
280
- }
281
- queryParameters = {};
282
- if (requestParameters['domain'] != null) {
283
- queryParameters['domain'] = requestParameters['domain'];
284
- }
285
- headerParameters = {};
286
- return [4 /*yield*/, this.request({
287
- path: "/sidn",
288
- method: 'GET',
289
- headers: headerParameters,
290
- query: queryParameters,
291
- }, initOverrides)];
292
- case 1:
293
- response = _a.sent();
294
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
295
- }
296
- });
297
- });
298
- };
299
- /**
300
- */
301
- DomainsPublicApi.prototype.publicDomainControllerGetSidn = function (requestParameters, initOverrides) {
302
- return __awaiter(this, void 0, void 0, function () {
303
- return __generator(this, function (_a) {
304
- switch (_a.label) {
305
- case 0: return [4 /*yield*/, this.publicDomainControllerGetSidnRaw(requestParameters, initOverrides)];
306
- case 1:
307
- _a.sent();
308
- return [2 /*return*/];
309
- }
310
- });
311
- });
312
- };
313
185
  return DomainsPublicApi;
314
186
  }(runtime.BaseAPI));
315
187
  exports.DomainsPublicApi = DomainsPublicApi;
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.242",
3
+ "version": "0.0.243",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9
+ },
6
10
  "main": "./dist/index.js",
7
11
  "typings": "./dist/index.d.ts",
8
12
  "scripts": {
@@ -48,18 +48,6 @@ export interface DomainsPublicApiListRequest {
48
48
  sortBy?: Array<string>;
49
49
  }
50
50
 
51
- export interface DomainsPublicApiPublicDomainControllerGetCaddyRequest {
52
- domain: string;
53
- }
54
-
55
- export interface DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest {
56
- domainName: string;
57
- }
58
-
59
- export interface DomainsPublicApiPublicDomainControllerGetSidnRequest {
60
- domain: string;
61
- }
62
-
63
51
  /**
64
52
  *
65
53
  */
@@ -152,103 +140,4 @@ export class DomainsPublicApi extends runtime.BaseAPI {
152
140
  return await response.value();
153
141
  }
154
142
 
155
- /**
156
- */
157
- async publicDomainControllerGetCaddyRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
158
- if (requestParameters['domain'] == null) {
159
- throw new runtime.RequiredError(
160
- 'domain',
161
- 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetCaddy().'
162
- );
163
- }
164
-
165
- const queryParameters: any = {};
166
-
167
- if (requestParameters['domain'] != null) {
168
- queryParameters['domain'] = requestParameters['domain'];
169
- }
170
-
171
- const headerParameters: runtime.HTTPHeaders = {};
172
-
173
- const response = await this.request({
174
- path: `/caddy`,
175
- method: 'GET',
176
- headers: headerParameters,
177
- query: queryParameters,
178
- }, initOverrides);
179
-
180
- return new runtime.VoidApiResponse(response);
181
- }
182
-
183
- /**
184
- */
185
- async publicDomainControllerGetCaddy(requestParameters: DomainsPublicApiPublicDomainControllerGetCaddyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
186
- await this.publicDomainControllerGetCaddyRaw(requestParameters, initOverrides);
187
- }
188
-
189
- /**
190
- */
191
- async publicDomainControllerGetDomainIdentifierRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
192
- if (requestParameters['domainName'] == null) {
193
- throw new runtime.RequiredError(
194
- 'domainName',
195
- 'Required parameter "domainName" was null or undefined when calling publicDomainControllerGetDomainIdentifier().'
196
- );
197
- }
198
-
199
- const queryParameters: any = {};
200
-
201
- const headerParameters: runtime.HTTPHeaders = {};
202
-
203
- const response = await this.request({
204
- path: `/domains/by-name/{domainName}/identifier`.replace(`{${"domainName"}}`, encodeURIComponent(String(requestParameters['domainName']))),
205
- method: 'GET',
206
- headers: headerParameters,
207
- query: queryParameters,
208
- }, initOverrides);
209
-
210
- return new runtime.JSONApiResponse<any>(response);
211
- }
212
-
213
- /**
214
- */
215
- async publicDomainControllerGetDomainIdentifier(requestParameters: DomainsPublicApiPublicDomainControllerGetDomainIdentifierRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
216
- const response = await this.publicDomainControllerGetDomainIdentifierRaw(requestParameters, initOverrides);
217
- return await response.value();
218
- }
219
-
220
- /**
221
- */
222
- async publicDomainControllerGetSidnRaw(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
223
- if (requestParameters['domain'] == null) {
224
- throw new runtime.RequiredError(
225
- 'domain',
226
- 'Required parameter "domain" was null or undefined when calling publicDomainControllerGetSidn().'
227
- );
228
- }
229
-
230
- const queryParameters: any = {};
231
-
232
- if (requestParameters['domain'] != null) {
233
- queryParameters['domain'] = requestParameters['domain'];
234
- }
235
-
236
- const headerParameters: runtime.HTTPHeaders = {};
237
-
238
- const response = await this.request({
239
- path: `/sidn`,
240
- method: 'GET',
241
- headers: headerParameters,
242
- query: queryParameters,
243
- }, initOverrides);
244
-
245
- return new runtime.VoidApiResponse(response);
246
- }
247
-
248
- /**
249
- */
250
- async publicDomainControllerGetSidn(requestParameters: DomainsPublicApiPublicDomainControllerGetSidnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
251
- await this.publicDomainControllerGetSidnRaw(requestParameters, initOverrides);
252
- }
253
-
254
143
  }