@randock/nameshift-api-client 0.0.32 → 0.0.34

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@0.0.32
1
+ ## @randock/nameshift-api-client@0.0.34
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.32 --save
39
+ npm install @randock/nameshift-api-client@0.0.34 --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
- b392534377f4517cb44a8e067141ece8b6bc0b7b9664c013985e66d0dab39e13694a6d9ad56daa4eceea7ed0e75149ed
47
+ 2526e805737a6059e48bd06fb5bc437c2a13a92d2e75c0b90e1a85552ce6ac0c2cc0cf7e7422590bb1ef588320a0f2b1
@@ -18,9 +18,6 @@ export interface DomainsPublicApiPostDomainByNameBuyRequest {
18
18
  domainName: string;
19
19
  buyDomainInput: BuyDomainInput;
20
20
  }
21
- export interface DomainsPublicApiPublicDomainControllerPostDomainTransferRequest {
22
- domainId: string;
23
- }
24
21
  /**
25
22
  *
26
23
  */
@@ -41,10 +38,4 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
41
38
  *
42
39
  */
43
40
  postDomainByNameBuy(requestParameters: DomainsPublicApiPostDomainByNameBuyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId>;
44
- /**
45
- */
46
- publicDomainControllerPostDomainTransferRaw(requestParameters: DomainsPublicApiPublicDomainControllerPostDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
47
- /**
48
- */
49
- publicDomainControllerPostDomainTransfer(requestParameters: DomainsPublicApiPublicDomainControllerPostDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
50
41
  }
@@ -168,46 +168,6 @@ var DomainsPublicApi = /** @class */ (function (_super) {
168
168
  });
169
169
  });
170
170
  };
171
- /**
172
- */
173
- DomainsPublicApi.prototype.publicDomainControllerPostDomainTransferRaw = function (requestParameters, initOverrides) {
174
- return __awaiter(this, void 0, void 0, function () {
175
- var queryParameters, headerParameters, response;
176
- return __generator(this, function (_a) {
177
- switch (_a.label) {
178
- case 0:
179
- if (requestParameters['domainId'] == null) {
180
- throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling publicDomainControllerPostDomainTransfer().');
181
- }
182
- queryParameters = {};
183
- headerParameters = {};
184
- return [4 /*yield*/, this.request({
185
- path: "/domains/{domainId}/transfer".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
186
- method: 'POST',
187
- headers: headerParameters,
188
- query: queryParameters,
189
- }, initOverrides)];
190
- case 1:
191
- response = _a.sent();
192
- return [2 /*return*/, new runtime.VoidApiResponse(response)];
193
- }
194
- });
195
- });
196
- };
197
- /**
198
- */
199
- DomainsPublicApi.prototype.publicDomainControllerPostDomainTransfer = function (requestParameters, initOverrides) {
200
- return __awaiter(this, void 0, void 0, function () {
201
- return __generator(this, function (_a) {
202
- switch (_a.label) {
203
- case 0: return [4 /*yield*/, this.publicDomainControllerPostDomainTransferRaw(requestParameters, initOverrides)];
204
- case 1:
205
- _a.sent();
206
- return [2 /*return*/];
207
- }
208
- });
209
- });
210
- };
211
171
  return DomainsPublicApi;
212
172
  }(runtime.BaseAPI));
213
173
  exports.DomainsPublicApi = DomainsPublicApi;
@@ -23,10 +23,10 @@ export interface AccountDto {
23
23
  id: string;
24
24
  /**
25
25
  *
26
- * @type {string}
26
+ * @type {object}
27
27
  * @memberof AccountDto
28
28
  */
29
- identifier: string;
29
+ identifier: object;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the AccountDto interface.
@@ -26,10 +26,10 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
26
26
  id: string;
27
27
  /**
28
28
  *
29
- * @type {string}
29
+ * @type {object}
30
30
  * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
31
31
  */
32
- identifier: string;
32
+ identifier: object;
33
33
  /**
34
34
  *
35
35
  * @type {WithFinancialDtoInner}
@@ -45,12 +45,6 @@ export interface ListTransferDto {
45
45
  * @memberof ListTransferDto
46
46
  */
47
47
  assignedTo: string | null;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof ListTransferDto
52
- */
53
- step: string;
54
48
  }
55
49
  /**
56
50
  * @export
@@ -38,8 +38,6 @@ function instanceOfListTransferDto(value) {
38
38
  return false;
39
39
  if (!('assignedTo' in value))
40
40
  return false;
41
- if (!('step' in value))
42
- return false;
43
41
  return true;
44
42
  }
45
43
  exports.instanceOfListTransferDto = instanceOfListTransferDto;
@@ -57,7 +55,6 @@ function ListTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
57
55
  'status': json['status'],
58
56
  'domainName': json['domainName'],
59
57
  'assignedTo': json['assignedTo'],
60
- 'step': json['step'],
61
58
  };
62
59
  }
63
60
  exports.ListTransferDtoFromJSONTyped = ListTransferDtoFromJSONTyped;
@@ -71,7 +68,6 @@ function ListTransferDtoToJSON(value) {
71
68
  'status': value['status'],
72
69
  'domainName': value['domainName'],
73
70
  'assignedTo': value['assignedTo'],
74
- 'step': value['step'],
75
71
  };
76
72
  }
77
73
  exports.ListTransferDtoToJSON = ListTransferDtoToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -46,10 +46,6 @@ export interface DomainsPublicApiPostDomainByNameBuyRequest {
46
46
  buyDomainInput: BuyDomainInput;
47
47
  }
48
48
 
49
- export interface DomainsPublicApiPublicDomainControllerPostDomainTransferRequest {
50
- domainId: string;
51
- }
52
-
53
49
  /**
54
50
  *
55
51
  */
@@ -131,34 +127,4 @@ export class DomainsPublicApi extends runtime.BaseAPI {
131
127
  return await response.value();
132
128
  }
133
129
 
134
- /**
135
- */
136
- async publicDomainControllerPostDomainTransferRaw(requestParameters: DomainsPublicApiPublicDomainControllerPostDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
137
- if (requestParameters['domainId'] == null) {
138
- throw new runtime.RequiredError(
139
- 'domainId',
140
- 'Required parameter "domainId" was null or undefined when calling publicDomainControllerPostDomainTransfer().'
141
- );
142
- }
143
-
144
- const queryParameters: any = {};
145
-
146
- const headerParameters: runtime.HTTPHeaders = {};
147
-
148
- const response = await this.request({
149
- path: `/domains/{domainId}/transfer`.replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
150
- method: 'POST',
151
- headers: headerParameters,
152
- query: queryParameters,
153
- }, initOverrides);
154
-
155
- return new runtime.VoidApiResponse(response);
156
- }
157
-
158
- /**
159
- */
160
- async publicDomainControllerPostDomainTransfer(requestParameters: DomainsPublicApiPublicDomainControllerPostDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
161
- await this.publicDomainControllerPostDomainTransferRaw(requestParameters, initOverrides);
162
- }
163
-
164
130
  }
@@ -27,10 +27,10 @@ export interface AccountDto {
27
27
  id: string;
28
28
  /**
29
29
  *
30
- * @type {string}
30
+ * @type {object}
31
31
  * @memberof AccountDto
32
32
  */
33
- identifier: string;
33
+ identifier: object;
34
34
  }
35
35
 
36
36
  /**
@@ -46,10 +46,10 @@ export interface IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddres
46
46
  id: string;
47
47
  /**
48
48
  *
49
- * @type {string}
49
+ * @type {object}
50
50
  * @memberof IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto
51
51
  */
52
- identifier: string;
52
+ identifier: object;
53
53
  /**
54
54
  *
55
55
  * @type {WithFinancialDtoInner}
@@ -49,12 +49,6 @@ export interface ListTransferDto {
49
49
  * @memberof ListTransferDto
50
50
  */
51
51
  assignedTo: string | null;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof ListTransferDto
56
- */
57
- step: string;
58
52
  }
59
53
 
60
54
 
@@ -80,7 +74,6 @@ export function instanceOfListTransferDto(value: object): boolean {
80
74
  if (!('status' in value)) return false;
81
75
  if (!('domainName' in value)) return false;
82
76
  if (!('assignedTo' in value)) return false;
83
- if (!('step' in value)) return false;
84
77
  return true;
85
78
  }
86
79
 
@@ -99,7 +92,6 @@ export function ListTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
99
92
  'status': json['status'],
100
93
  'domainName': json['domainName'],
101
94
  'assignedTo': json['assignedTo'],
102
- 'step': json['step'],
103
95
  };
104
96
  }
105
97
 
@@ -114,7 +106,6 @@ export function ListTransferDtoToJSON(value?: ListTransferDto | null): any {
114
106
  'status': value['status'],
115
107
  'domainName': value['domainName'],
116
108
  'assignedTo': value['assignedTo'],
117
- 'step': value['step'],
118
109
  };
119
110
  }
120
111