@randock/nameshift-api-client 0.0.138 → 0.0.140

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.
@@ -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.138
1
+ ## @randock/nameshift-api-client@0.0.140
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.138 --save
39
+ npm install @randock/nameshift-api-client@0.0.140 --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
- e2b55afbe1b9a79c569a71e1f4c28ad54c22882f870a1d8c1d5dc22cf802714043a5baf4e0b55f46b65f857fe95d5d38
47
+ 30335131a6a30d3b9a6710d118dc62bba355bcf33d03ae44fe81ba8cf3eb8bc23ab58dc1cf394b2effe0f50a5e123746
@@ -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, CreateAccountPaymentProviderInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDto } from '../models/index';
13
+ import type { AccountPaymentProviderSessionDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDto, UpdateAccountBillingInformationInput } from '../models/index';
14
14
  export interface AccountsApiGetAccountPaymentProviderSessionRequest {
15
15
  accountId: string;
16
16
  }
17
- export interface AccountsApiPostPaymentProviderRequest {
17
+ export interface AccountsApiPostBillingInformationRequest {
18
18
  accountId: string;
19
- createAccountPaymentProviderInput: CreateAccountPaymentProviderInput;
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
- postPaymentProviderRaw(requestParameters: AccountsApiPostPaymentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
52
+ postBillingInformationRaw(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
53
53
  /**
54
54
  *
55
55
  */
56
- postPaymentProvider(requestParameters: AccountsApiPostPaymentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
56
+ postBillingInformation(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
57
57
  /**
58
58
  *
59
59
  */
@@ -181,17 +181,17 @@ var AccountsApi = /** @class */ (function (_super) {
181
181
  /**
182
182
  *
183
183
  */
184
- AccountsApi.prototype.postPaymentProviderRaw = function (requestParameters, initOverrides) {
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 postPaymentProvider().');
191
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling postBillingInformation().');
192
192
  }
193
- if (requestParameters['createAccountPaymentProviderInput'] == null) {
194
- throw new runtime.RequiredError('createAccountPaymentProviderInput', 'Required parameter "createAccountPaymentProviderInput" was null or undefined when calling postPaymentProvider().');
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}/payment-provider".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['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.CreateAccountPaymentProviderInputToJSON)(requestParameters['createAccountPaymentProviderInput']),
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.postPaymentProvider = function (requestParameters, initOverrides) {
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.postPaymentProviderRaw(requestParameters, initOverrides)];
229
+ case 0: return [4 /*yield*/, this.postBillingInformationRaw(requestParameters, initOverrides)];
230
230
  case 1:
231
231
  _a.sent();
232
232
  return [2 /*return*/];
@@ -100,7 +100,7 @@ export interface DomainDto {
100
100
  * @type {number}
101
101
  * @memberof DomainDto
102
102
  */
103
- pageviews: number | null;
103
+ pageviews: number;
104
104
  }
105
105
  /**
106
106
  * Check if a given object implements the DomainDto interface.
@@ -101,7 +101,7 @@ export interface IntersectionDomainDtoWithAccountDto {
101
101
  * @type {number}
102
102
  * @memberof IntersectionDomainDtoWithAccountDto
103
103
  */
104
- pageviews: number | null;
104
+ pageviews: number;
105
105
  /**
106
106
  *
107
107
  * @type {AccountDto}
@@ -106,7 +106,7 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
106
106
  * @type {number}
107
107
  * @memberof IntersectionDomainDtoWithDomainUrlDto
108
108
  */
109
- pageviews: number | null;
109
+ pageviews: number;
110
110
  }
111
111
  /**
112
112
  * Check if a given object implements the IntersectionDomainDtoWithDomainUrlDto interface.
@@ -101,7 +101,7 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
101
101
  * @type {number}
102
102
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
103
103
  */
104
- pageviews: number | null;
104
+ pageviews: number;
105
105
  /**
106
106
  *
107
107
  * @type {AccountDto}
@@ -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
+ }
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.138",
3
+ "version": "0.0.140",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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 AccountsApiPostPaymentProviderRequest {
50
+ export interface AccountsApiPostBillingInformationRequest {
51
51
  accountId: string;
52
- createAccountPaymentProviderInput: CreateAccountPaymentProviderInput;
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 postPaymentProviderRaw(requestParameters: AccountsApiPostPaymentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
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 postPaymentProvider().'
152
+ 'Required parameter "accountId" was null or undefined when calling postBillingInformation().'
153
153
  );
154
154
  }
155
155
 
156
- if (requestParameters['createAccountPaymentProviderInput'] == null) {
156
+ if (requestParameters['updateAccountBillingInformationInput'] == null) {
157
157
  throw new runtime.RequiredError(
158
- 'createAccountPaymentProviderInput',
159
- 'Required parameter "createAccountPaymentProviderInput" was null or undefined when calling postPaymentProvider().'
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}/payment-provider`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['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: CreateAccountPaymentProviderInputToJSON(requestParameters['createAccountPaymentProviderInput']),
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 postPaymentProvider(requestParameters: AccountsApiPostPaymentProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
192
- await this.postPaymentProviderRaw(requestParameters, initOverrides);
191
+ async postBillingInformation(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
192
+ await this.postBillingInformationRaw(requestParameters, initOverrides);
193
193
  }
194
194
 
195
195
  /**
@@ -111,7 +111,7 @@ export interface DomainDto {
111
111
  * @type {number}
112
112
  * @memberof DomainDto
113
113
  */
114
- pageviews: number | null;
114
+ pageviews: number;
115
115
  }
116
116
 
117
117
  /**
@@ -118,7 +118,7 @@ export interface IntersectionDomainDtoWithAccountDto {
118
118
  * @type {number}
119
119
  * @memberof IntersectionDomainDtoWithAccountDto
120
120
  */
121
- pageviews: number | null;
121
+ pageviews: number;
122
122
  /**
123
123
  *
124
124
  * @type {AccountDto}
@@ -117,7 +117,7 @@ export interface IntersectionDomainDtoWithDomainUrlDto {
117
117
  * @type {number}
118
118
  * @memberof IntersectionDomainDtoWithDomainUrlDto
119
119
  */
120
- pageviews: number | null;
120
+ pageviews: number;
121
121
  }
122
122
 
123
123
  /**
@@ -118,7 +118,7 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
118
118
  * @type {number}
119
119
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
120
120
  */
121
- pageviews: number | null;
121
+ pageviews: number;
122
122
  /**
123
123
  *
124
124
  * @type {AccountDto}
@@ -24,30 +24,30 @@ import {
24
24
  /**
25
25
  *
26
26
  * @export
27
- * @interface CreateAccountPaymentProviderInput
27
+ * @interface UpdateAccountBillingInformationInput
28
28
  */
29
- export interface CreateAccountPaymentProviderInput {
29
+ export interface UpdateAccountBillingInformationInput {
30
30
  /**
31
31
  *
32
32
  * @type {BillingInformationDto}
33
- * @memberof CreateAccountPaymentProviderInput
33
+ * @memberof UpdateAccountBillingInformationInput
34
34
  */
35
35
  billingInformation: BillingInformationDto;
36
36
  }
37
37
 
38
38
  /**
39
- * Check if a given object implements the CreateAccountPaymentProviderInput interface.
39
+ * Check if a given object implements the UpdateAccountBillingInformationInput interface.
40
40
  */
41
- export function instanceOfCreateAccountPaymentProviderInput(value: object): value is CreateAccountPaymentProviderInput {
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 CreateAccountPaymentProviderInputFromJSON(json: any): CreateAccountPaymentProviderInput {
47
- return CreateAccountPaymentProviderInputFromJSONTyped(json, false);
46
+ export function UpdateAccountBillingInformationInputFromJSON(json: any): UpdateAccountBillingInformationInput {
47
+ return UpdateAccountBillingInformationInputFromJSONTyped(json, false);
48
48
  }
49
49
 
50
- export function CreateAccountPaymentProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountPaymentProviderInput {
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 CreateAccountPaymentProviderInputToJSON(json: any): CreateAccountPaymentProviderInput {
61
- return CreateAccountPaymentProviderInputToJSONTyped(json, false);
60
+ export function UpdateAccountBillingInformationInputToJSON(json: any): UpdateAccountBillingInformationInput {
61
+ return UpdateAccountBillingInformationInputToJSONTyped(json, false);
62
62
  }
63
63
 
64
- export function CreateAccountPaymentProviderInputToJSONTyped(value?: CreateAccountPaymentProviderInput | null, ignoreDiscriminator: boolean = false): any {
64
+ export function UpdateAccountBillingInformationInputToJSONTyped(value?: UpdateAccountBillingInformationInput | null, ignoreDiscriminator: boolean = false): any {
65
65
  if (value == null) {
66
66
  return value;
67
67
  }
@@ -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
- }