@randock/nameshift-api-client 0.0.138 → 0.0.139
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/AccountsApi.d.ts +5 -5
- package/dist/apis/AccountsApi.js +8 -8
- package/dist/models/UpdateAccountBillingInformationInput.d.ts +33 -0
- package/dist/models/UpdateAccountBillingInformationInput.js +52 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +14 -14
- package/src/models/{CreateAccountPaymentProviderInput.ts → UpdateAccountBillingInformationInput.ts} +11 -11
- package/src/models/index.ts +1 -1
- package/dist/models/CreateAccountPaymentProviderInput.d.ts +0 -33
- package/dist/models/CreateAccountPaymentProviderInput.js +0 -52
package/.openapi-generator/FILES
CHANGED
|
@@ -47,7 +47,6 @@ src/models/ChartDataPoint.ts
|
|
|
47
47
|
src/models/CompanyInformationDto.ts
|
|
48
48
|
src/models/CompanyTaxIdDto.ts
|
|
49
49
|
src/models/ConflictException.ts
|
|
50
|
-
src/models/CreateAccountPaymentProviderInput.ts
|
|
51
50
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
52
51
|
src/models/CreateLeadInput.ts
|
|
53
52
|
src/models/CreateLeadMessageInput.ts
|
|
@@ -138,6 +137,7 @@ src/models/SetNewPasswordInput.ts
|
|
|
138
137
|
src/models/StoreBuyerLocaleInput.ts
|
|
139
138
|
src/models/StoreUserLocaleInput.ts
|
|
140
139
|
src/models/ThrottlerException.ts
|
|
140
|
+
src/models/UpdateAccountBillingInformationInput.ts
|
|
141
141
|
src/models/UpdateDomainInput.ts
|
|
142
142
|
src/models/UpdateDomainTransferAuthCodeInput.ts
|
|
143
143
|
src/models/UpdateLeadInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.139
|
|
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.139 --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
|
+
ac3c87e6594ffbb6e0b2b61f245a10d1bc4439dbfe81b58293e6b2a6a59a3263260375441e93e6ae6c6c784107ba81f3
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountPaymentProviderSessionDto, AccountSettingsInput,
|
|
13
|
+
import type { AccountPaymentProviderSessionDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDto, UpdateAccountBillingInformationInput } from '../models/index';
|
|
14
14
|
export interface AccountsApiGetAccountPaymentProviderSessionRequest {
|
|
15
15
|
accountId: string;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface AccountsApiPostBillingInformationRequest {
|
|
18
18
|
accountId: string;
|
|
19
|
-
|
|
19
|
+
updateAccountBillingInformationInput: UpdateAccountBillingInformationInput;
|
|
20
20
|
}
|
|
21
21
|
export interface AccountsApiPostReadAccountNotificationRequest {
|
|
22
22
|
accountId: string;
|
|
@@ -49,11 +49,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
|
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
postBillingInformationRaw(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
postBillingInformation(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
*/
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -181,17 +181,17 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
181
181
|
/**
|
|
182
182
|
*
|
|
183
183
|
*/
|
|
184
|
-
AccountsApi.prototype.
|
|
184
|
+
AccountsApi.prototype.postBillingInformationRaw = function (requestParameters, initOverrides) {
|
|
185
185
|
return __awaiter(this, void 0, void 0, function () {
|
|
186
186
|
var queryParameters, headerParameters, token, tokenString, response;
|
|
187
187
|
return __generator(this, function (_a) {
|
|
188
188
|
switch (_a.label) {
|
|
189
189
|
case 0:
|
|
190
190
|
if (requestParameters['accountId'] == null) {
|
|
191
|
-
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling
|
|
191
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling postBillingInformation().');
|
|
192
192
|
}
|
|
193
|
-
if (requestParameters['
|
|
194
|
-
throw new runtime.RequiredError('
|
|
193
|
+
if (requestParameters['updateAccountBillingInformationInput'] == null) {
|
|
194
|
+
throw new runtime.RequiredError('updateAccountBillingInformationInput', 'Required parameter "updateAccountBillingInformationInput" was null or undefined when calling postBillingInformation().');
|
|
195
195
|
}
|
|
196
196
|
queryParameters = {};
|
|
197
197
|
headerParameters = {};
|
|
@@ -206,11 +206,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
206
206
|
}
|
|
207
207
|
_a.label = 2;
|
|
208
208
|
case 2: return [4 /*yield*/, this.request({
|
|
209
|
-
path: "/private/accounts/{accountId}/
|
|
209
|
+
path: "/private/accounts/{accountId}/billing-information".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
210
210
|
method: 'POST',
|
|
211
211
|
headers: headerParameters,
|
|
212
212
|
query: queryParameters,
|
|
213
|
-
body: (0, index_1.
|
|
213
|
+
body: (0, index_1.UpdateAccountBillingInformationInputToJSON)(requestParameters['updateAccountBillingInformationInput']),
|
|
214
214
|
}, initOverrides)];
|
|
215
215
|
case 3:
|
|
216
216
|
response = _a.sent();
|
|
@@ -222,11 +222,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
222
222
|
/**
|
|
223
223
|
*
|
|
224
224
|
*/
|
|
225
|
-
AccountsApi.prototype.
|
|
225
|
+
AccountsApi.prototype.postBillingInformation = function (requestParameters, initOverrides) {
|
|
226
226
|
return __awaiter(this, void 0, void 0, function () {
|
|
227
227
|
return __generator(this, function (_a) {
|
|
228
228
|
switch (_a.label) {
|
|
229
|
-
case 0: return [4 /*yield*/, this.
|
|
229
|
+
case 0: return [4 /*yield*/, this.postBillingInformationRaw(requestParameters, initOverrides)];
|
|
230
230
|
case 1:
|
|
231
231
|
_a.sent();
|
|
232
232
|
return [2 /*return*/];
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { BillingInformationDto } from './BillingInformationDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateAccountBillingInformationInput
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateAccountBillingInformationInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {BillingInformationDto}
|
|
22
|
+
* @memberof UpdateAccountBillingInformationInput
|
|
23
|
+
*/
|
|
24
|
+
billingInformation: BillingInformationDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UpdateAccountBillingInformationInput interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUpdateAccountBillingInformationInput(value: object): value is UpdateAccountBillingInformationInput;
|
|
30
|
+
export declare function UpdateAccountBillingInformationInputFromJSON(json: any): UpdateAccountBillingInformationInput;
|
|
31
|
+
export declare function UpdateAccountBillingInformationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAccountBillingInformationInput;
|
|
32
|
+
export declare function UpdateAccountBillingInformationInputToJSON(json: any): UpdateAccountBillingInformationInput;
|
|
33
|
+
export declare function UpdateAccountBillingInformationInputToJSONTyped(value?: UpdateAccountBillingInformationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfUpdateAccountBillingInformationInput = instanceOfUpdateAccountBillingInformationInput;
|
|
17
|
+
exports.UpdateAccountBillingInformationInputFromJSON = UpdateAccountBillingInformationInputFromJSON;
|
|
18
|
+
exports.UpdateAccountBillingInformationInputFromJSONTyped = UpdateAccountBillingInformationInputFromJSONTyped;
|
|
19
|
+
exports.UpdateAccountBillingInformationInputToJSON = UpdateAccountBillingInformationInputToJSON;
|
|
20
|
+
exports.UpdateAccountBillingInformationInputToJSONTyped = UpdateAccountBillingInformationInputToJSONTyped;
|
|
21
|
+
var BillingInformationDto_1 = require("./BillingInformationDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateAccountBillingInformationInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateAccountBillingInformationInput(value) {
|
|
26
|
+
if (!('billingInformation' in value) || value['billingInformation'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function UpdateAccountBillingInformationInputFromJSON(json) {
|
|
31
|
+
return UpdateAccountBillingInformationInputFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function UpdateAccountBillingInformationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function UpdateAccountBillingInformationInputToJSON(json) {
|
|
42
|
+
return UpdateAccountBillingInformationInputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function UpdateAccountBillingInformationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ export * from './ChartDataPoint';
|
|
|
26
26
|
export * from './CompanyInformationDto';
|
|
27
27
|
export * from './CompanyTaxIdDto';
|
|
28
28
|
export * from './ConflictException';
|
|
29
|
-
export * from './CreateAccountPaymentProviderInput';
|
|
30
29
|
export * from './CreateBuyerLeadMessageInput';
|
|
31
30
|
export * from './CreateLeadInput';
|
|
32
31
|
export * from './CreateLeadMessageInput';
|
|
@@ -117,6 +116,7 @@ export * from './SetNewPasswordInput';
|
|
|
117
116
|
export * from './StoreBuyerLocaleInput';
|
|
118
117
|
export * from './StoreUserLocaleInput';
|
|
119
118
|
export * from './ThrottlerException';
|
|
119
|
+
export * from './UpdateAccountBillingInformationInput';
|
|
120
120
|
export * from './UpdateDomainInput';
|
|
121
121
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
122
122
|
export * from './UpdateLeadInput';
|
package/dist/models/index.js
CHANGED
|
@@ -44,7 +44,6 @@ __exportStar(require("./ChartDataPoint"), exports);
|
|
|
44
44
|
__exportStar(require("./CompanyInformationDto"), exports);
|
|
45
45
|
__exportStar(require("./CompanyTaxIdDto"), exports);
|
|
46
46
|
__exportStar(require("./ConflictException"), exports);
|
|
47
|
-
__exportStar(require("./CreateAccountPaymentProviderInput"), exports);
|
|
48
47
|
__exportStar(require("./CreateBuyerLeadMessageInput"), exports);
|
|
49
48
|
__exportStar(require("./CreateLeadInput"), exports);
|
|
50
49
|
__exportStar(require("./CreateLeadMessageInput"), exports);
|
|
@@ -135,6 +134,7 @@ __exportStar(require("./SetNewPasswordInput"), exports);
|
|
|
135
134
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
|
136
135
|
__exportStar(require("./StoreUserLocaleInput"), exports);
|
|
137
136
|
__exportStar(require("./ThrottlerException"), exports);
|
|
137
|
+
__exportStar(require("./UpdateAccountBillingInformationInput"), exports);
|
|
138
138
|
__exportStar(require("./UpdateDomainInput"), exports);
|
|
139
139
|
__exportStar(require("./UpdateDomainTransferAuthCodeInput"), exports);
|
|
140
140
|
__exportStar(require("./UpdateLeadInput"), exports);
|
package/package.json
CHANGED
package/src/apis/AccountsApi.ts
CHANGED
|
@@ -18,10 +18,10 @@ import type {
|
|
|
18
18
|
AccountPaymentProviderSessionDto,
|
|
19
19
|
AccountSettingsInput,
|
|
20
20
|
BadRequestException,
|
|
21
|
-
CreateAccountPaymentProviderInput,
|
|
22
21
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDto,
|
|
23
22
|
NotFoundException,
|
|
24
23
|
ThrottlerException,
|
|
24
|
+
UpdateAccountBillingInformationInput,
|
|
25
25
|
ValidationException,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
import {
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
AccountSettingsInputToJSON,
|
|
32
32
|
BadRequestExceptionFromJSON,
|
|
33
33
|
BadRequestExceptionToJSON,
|
|
34
|
-
CreateAccountPaymentProviderInputFromJSON,
|
|
35
|
-
CreateAccountPaymentProviderInputToJSON,
|
|
36
34
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoFromJSON,
|
|
37
35
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoToJSON,
|
|
38
36
|
NotFoundExceptionFromJSON,
|
|
39
37
|
NotFoundExceptionToJSON,
|
|
40
38
|
ThrottlerExceptionFromJSON,
|
|
41
39
|
ThrottlerExceptionToJSON,
|
|
40
|
+
UpdateAccountBillingInformationInputFromJSON,
|
|
41
|
+
UpdateAccountBillingInformationInputToJSON,
|
|
42
42
|
ValidationExceptionFromJSON,
|
|
43
43
|
ValidationExceptionToJSON,
|
|
44
44
|
} from '../models/index';
|
|
@@ -47,9 +47,9 @@ export interface AccountsApiGetAccountPaymentProviderSessionRequest {
|
|
|
47
47
|
accountId: string;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export interface
|
|
50
|
+
export interface AccountsApiPostBillingInformationRequest {
|
|
51
51
|
accountId: string;
|
|
52
|
-
|
|
52
|
+
updateAccountBillingInformationInput: UpdateAccountBillingInformationInput;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export interface AccountsApiPostReadAccountNotificationRequest {
|
|
@@ -145,18 +145,18 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
*/
|
|
148
|
-
async
|
|
148
|
+
async postBillingInformationRaw(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
149
149
|
if (requestParameters['accountId'] == null) {
|
|
150
150
|
throw new runtime.RequiredError(
|
|
151
151
|
'accountId',
|
|
152
|
-
'Required parameter "accountId" was null or undefined when calling
|
|
152
|
+
'Required parameter "accountId" was null or undefined when calling postBillingInformation().'
|
|
153
153
|
);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
if (requestParameters['
|
|
156
|
+
if (requestParameters['updateAccountBillingInformationInput'] == null) {
|
|
157
157
|
throw new runtime.RequiredError(
|
|
158
|
-
'
|
|
159
|
-
'Required parameter "
|
|
158
|
+
'updateAccountBillingInformationInput',
|
|
159
|
+
'Required parameter "updateAccountBillingInformationInput" was null or undefined when calling postBillingInformation().'
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -175,11 +175,11 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
const response = await this.request({
|
|
178
|
-
path: `/private/accounts/{accountId}/
|
|
178
|
+
path: `/private/accounts/{accountId}/billing-information`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))),
|
|
179
179
|
method: 'POST',
|
|
180
180
|
headers: headerParameters,
|
|
181
181
|
query: queryParameters,
|
|
182
|
-
body:
|
|
182
|
+
body: UpdateAccountBillingInformationInputToJSON(requestParameters['updateAccountBillingInformationInput']),
|
|
183
183
|
}, initOverrides);
|
|
184
184
|
|
|
185
185
|
return new runtime.VoidApiResponse(response);
|
|
@@ -188,8 +188,8 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
188
188
|
/**
|
|
189
189
|
*
|
|
190
190
|
*/
|
|
191
|
-
async
|
|
192
|
-
await this.
|
|
191
|
+
async postBillingInformation(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
192
|
+
await this.postBillingInformationRaw(requestParameters, initOverrides);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
package/src/models/{CreateAccountPaymentProviderInput.ts → UpdateAccountBillingInformationInput.ts}
RENAMED
|
@@ -24,30 +24,30 @@ import {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface UpdateAccountBillingInformationInput
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface UpdateAccountBillingInformationInput {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {BillingInformationDto}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof UpdateAccountBillingInformationInput
|
|
34
34
|
*/
|
|
35
35
|
billingInformation: BillingInformationDto;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Check if a given object implements the
|
|
39
|
+
* Check if a given object implements the UpdateAccountBillingInformationInput interface.
|
|
40
40
|
*/
|
|
41
|
-
export function
|
|
41
|
+
export function instanceOfUpdateAccountBillingInformationInput(value: object): value is UpdateAccountBillingInformationInput {
|
|
42
42
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
43
43
|
return true;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export function
|
|
47
|
-
return
|
|
46
|
+
export function UpdateAccountBillingInformationInputFromJSON(json: any): UpdateAccountBillingInformationInput {
|
|
47
|
+
return UpdateAccountBillingInformationInputFromJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export function
|
|
50
|
+
export function UpdateAccountBillingInformationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAccountBillingInformationInput {
|
|
51
51
|
if (json == null) {
|
|
52
52
|
return json;
|
|
53
53
|
}
|
|
@@ -57,11 +57,11 @@ export function CreateAccountPaymentProviderInputFromJSONTyped(json: any, ignore
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export function
|
|
61
|
-
return
|
|
60
|
+
export function UpdateAccountBillingInformationInputToJSON(json: any): UpdateAccountBillingInformationInput {
|
|
61
|
+
return UpdateAccountBillingInformationInputToJSONTyped(json, false);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export function
|
|
64
|
+
export function UpdateAccountBillingInformationInputToJSONTyped(value?: UpdateAccountBillingInformationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
65
|
if (value == null) {
|
|
66
66
|
return value;
|
|
67
67
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -28,7 +28,6 @@ export * from './ChartDataPoint';
|
|
|
28
28
|
export * from './CompanyInformationDto';
|
|
29
29
|
export * from './CompanyTaxIdDto';
|
|
30
30
|
export * from './ConflictException';
|
|
31
|
-
export * from './CreateAccountPaymentProviderInput';
|
|
32
31
|
export * from './CreateBuyerLeadMessageInput';
|
|
33
32
|
export * from './CreateLeadInput';
|
|
34
33
|
export * from './CreateLeadMessageInput';
|
|
@@ -119,6 +118,7 @@ export * from './SetNewPasswordInput';
|
|
|
119
118
|
export * from './StoreBuyerLocaleInput';
|
|
120
119
|
export * from './StoreUserLocaleInput';
|
|
121
120
|
export * from './ThrottlerException';
|
|
121
|
+
export * from './UpdateAccountBillingInformationInput';
|
|
122
122
|
export * from './UpdateDomainInput';
|
|
123
123
|
export * from './UpdateDomainTransferAuthCodeInput';
|
|
124
124
|
export * from './UpdateLeadInput';
|
|
@@ -1,33 +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 { BillingInformationDto } from './BillingInformationDto';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CreateAccountPaymentProviderInput
|
|
17
|
-
*/
|
|
18
|
-
export interface CreateAccountPaymentProviderInput {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {BillingInformationDto}
|
|
22
|
-
* @memberof CreateAccountPaymentProviderInput
|
|
23
|
-
*/
|
|
24
|
-
billingInformation: BillingInformationDto;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the CreateAccountPaymentProviderInput interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfCreateAccountPaymentProviderInput(value: object): value is CreateAccountPaymentProviderInput;
|
|
30
|
-
export declare function CreateAccountPaymentProviderInputFromJSON(json: any): CreateAccountPaymentProviderInput;
|
|
31
|
-
export declare function CreateAccountPaymentProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountPaymentProviderInput;
|
|
32
|
-
export declare function CreateAccountPaymentProviderInputToJSON(json: any): CreateAccountPaymentProviderInput;
|
|
33
|
-
export declare function CreateAccountPaymentProviderInputToJSONTyped(value?: CreateAccountPaymentProviderInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.instanceOfCreateAccountPaymentProviderInput = instanceOfCreateAccountPaymentProviderInput;
|
|
17
|
-
exports.CreateAccountPaymentProviderInputFromJSON = CreateAccountPaymentProviderInputFromJSON;
|
|
18
|
-
exports.CreateAccountPaymentProviderInputFromJSONTyped = CreateAccountPaymentProviderInputFromJSONTyped;
|
|
19
|
-
exports.CreateAccountPaymentProviderInputToJSON = CreateAccountPaymentProviderInputToJSON;
|
|
20
|
-
exports.CreateAccountPaymentProviderInputToJSONTyped = CreateAccountPaymentProviderInputToJSONTyped;
|
|
21
|
-
var BillingInformationDto_1 = require("./BillingInformationDto");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CreateAccountPaymentProviderInput interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCreateAccountPaymentProviderInput(value) {
|
|
26
|
-
if (!('billingInformation' in value) || value['billingInformation'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function CreateAccountPaymentProviderInputFromJSON(json) {
|
|
31
|
-
return CreateAccountPaymentProviderInputFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function CreateAccountPaymentProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function CreateAccountPaymentProviderInputToJSON(json) {
|
|
42
|
-
return CreateAccountPaymentProviderInputToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function CreateAccountPaymentProviderInputToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
51
|
-
};
|
|
52
|
-
}
|