@randock/nameshift-api-client 0.0.110 → 0.0.111

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.
@@ -28,6 +28,7 @@ src/models/BadRequestException.ts
28
28
  src/models/BatchReadBuyerLeadMessageInput.ts
29
29
  src/models/BatchReadSellerLeadMessageInput.ts
30
30
  src/models/BatchUpdateDomainsInput.ts
31
+ src/models/BillingInformationDto.ts
31
32
  src/models/BuyerDomainTransferAuthCodeDto.ts
32
33
  src/models/BuyerDomainTransferListItemDomainDto.ts
33
34
  src/models/BuyerDomainTransferListItemDto.ts
@@ -36,6 +37,8 @@ src/models/BuyerLeadListItemDto.ts
36
37
  src/models/BuyerSecurityUserDto.ts
37
38
  src/models/ChangeOrderStatusInput.ts
38
39
  src/models/ChartDataPoint.ts
40
+ src/models/CompanyInformationDto.ts
41
+ src/models/CompanyTaxIdDto.ts
39
42
  src/models/ConflictException.ts
40
43
  src/models/CreateAccountPaymentProviderInput.ts
41
44
  src/models/CreateBuyerLeadMessageInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.110
1
+ ## @randock/nameshift-api-client@0.0.111
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.110 --save
39
+ npm install @randock/nameshift-api-client@0.0.111 --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
- 40a3a87e8f8e8ebc3325ce82a816b87e3624e8caa5b2180a19fd087f9a5840a7537071e690b00c6bd301c34faea30f0a
47
+ cb893df80cfccbe1d8b9b5493f3356dd4a841d0e639e1c0e07862955ab32146568e4c1b904c98914cde22610fe10bbd8
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { PaymentProviderDto } from './PaymentProviderDto';
13
13
  import type { AccountMetricsDto } from './AccountMetricsDto';
14
+ import type { BillingInformationDto } from './BillingInformationDto';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -47,6 +48,12 @@ export interface AccountDto {
47
48
  * @memberof AccountDto
48
49
  */
49
50
  paymentProvider: PaymentProviderDto | null;
51
+ /**
52
+ *
53
+ * @type {BillingInformationDto}
54
+ * @memberof AccountDto
55
+ */
56
+ billingInformation: BillingInformationDto | null;
50
57
  }
51
58
  /**
52
59
  * Check if a given object implements the AccountDto interface.
@@ -19,6 +19,7 @@ exports.AccountDtoFromJSONTyped = AccountDtoFromJSONTyped;
19
19
  exports.AccountDtoToJSON = AccountDtoToJSON;
20
20
  var PaymentProviderDto_1 = require("./PaymentProviderDto");
21
21
  var AccountMetricsDto_1 = require("./AccountMetricsDto");
22
+ var BillingInformationDto_1 = require("./BillingInformationDto");
22
23
  /**
23
24
  * Check if a given object implements the AccountDto interface.
24
25
  */
@@ -33,6 +34,8 @@ function instanceOfAccountDto(value) {
33
34
  return false;
34
35
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined)
35
36
  return false;
37
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined)
38
+ return false;
36
39
  return true;
37
40
  }
38
41
  function AccountDtoFromJSON(json) {
@@ -48,6 +51,7 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
48
51
  'name': json['name'],
49
52
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoFromJSON)(json['metrics']),
50
53
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoFromJSON)(json['paymentProvider']),
54
+ 'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
51
55
  };
52
56
  }
53
57
  function AccountDtoToJSON(value) {
@@ -60,5 +64,6 @@ function AccountDtoToJSON(value) {
60
64
  'name': value['name'],
61
65
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoToJSON)(value['metrics']),
62
66
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoToJSON)(value['paymentProvider']),
67
+ 'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
63
68
  };
64
69
  }
@@ -0,0 +1,79 @@
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 { CompanyInformationDto } from './CompanyInformationDto';
13
+ import type { AddressDto } from './AddressDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface BillingInformationDto
18
+ */
19
+ export interface BillingInformationDto {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof BillingInformationDto
24
+ */
25
+ type: BillingInformationDtoTypeEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof BillingInformationDto
30
+ */
31
+ email: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof BillingInformationDto
36
+ */
37
+ firstName: string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof BillingInformationDto
42
+ */
43
+ lastName: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof BillingInformationDto
48
+ */
49
+ phone: string | null;
50
+ /**
51
+ *
52
+ * @type {AddressDto}
53
+ * @memberof BillingInformationDto
54
+ */
55
+ address: AddressDto | null;
56
+ /**
57
+ *
58
+ * @type {CompanyInformationDto}
59
+ * @memberof BillingInformationDto
60
+ */
61
+ companyInfo: CompanyInformationDto | null;
62
+ }
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const BillingInformationDtoTypeEnum: {
67
+ readonly COMPANY: "company";
68
+ readonly GOVERNMENT_ENTITY: "government_entity";
69
+ readonly INDIVIDUAL: "individual";
70
+ readonly NON_PROFIT: "non_profit";
71
+ };
72
+ export type BillingInformationDtoTypeEnum = typeof BillingInformationDtoTypeEnum[keyof typeof BillingInformationDtoTypeEnum];
73
+ /**
74
+ * Check if a given object implements the BillingInformationDto interface.
75
+ */
76
+ export declare function instanceOfBillingInformationDto(value: object): value is BillingInformationDto;
77
+ export declare function BillingInformationDtoFromJSON(json: any): BillingInformationDto;
78
+ export declare function BillingInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingInformationDto;
79
+ export declare function BillingInformationDtoToJSON(value?: BillingInformationDto | null): any;
@@ -0,0 +1,82 @@
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.BillingInformationDtoTypeEnum = void 0;
17
+ exports.instanceOfBillingInformationDto = instanceOfBillingInformationDto;
18
+ exports.BillingInformationDtoFromJSON = BillingInformationDtoFromJSON;
19
+ exports.BillingInformationDtoFromJSONTyped = BillingInformationDtoFromJSONTyped;
20
+ exports.BillingInformationDtoToJSON = BillingInformationDtoToJSON;
21
+ var CompanyInformationDto_1 = require("./CompanyInformationDto");
22
+ var AddressDto_1 = require("./AddressDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.BillingInformationDtoTypeEnum = {
27
+ COMPANY: 'company',
28
+ GOVERNMENT_ENTITY: 'government_entity',
29
+ INDIVIDUAL: 'individual',
30
+ NON_PROFIT: 'non_profit'
31
+ };
32
+ /**
33
+ * Check if a given object implements the BillingInformationDto interface.
34
+ */
35
+ function instanceOfBillingInformationDto(value) {
36
+ if (!('type' in value) || value['type'] === undefined)
37
+ return false;
38
+ if (!('email' in value) || value['email'] === undefined)
39
+ return false;
40
+ if (!('firstName' in value) || value['firstName'] === undefined)
41
+ return false;
42
+ if (!('lastName' in value) || value['lastName'] === undefined)
43
+ return false;
44
+ if (!('phone' in value) || value['phone'] === undefined)
45
+ return false;
46
+ if (!('address' in value) || value['address'] === undefined)
47
+ return false;
48
+ if (!('companyInfo' in value) || value['companyInfo'] === undefined)
49
+ return false;
50
+ return true;
51
+ }
52
+ function BillingInformationDtoFromJSON(json) {
53
+ return BillingInformationDtoFromJSONTyped(json, false);
54
+ }
55
+ function BillingInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+ 'type': json['type'],
61
+ 'email': json['email'],
62
+ 'firstName': json['firstName'],
63
+ 'lastName': json['lastName'],
64
+ 'phone': json['phone'],
65
+ 'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
66
+ 'companyInfo': (0, CompanyInformationDto_1.CompanyInformationDtoFromJSON)(json['companyInfo']),
67
+ };
68
+ }
69
+ function BillingInformationDtoToJSON(value) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'type': value['type'],
75
+ 'email': value['email'],
76
+ 'firstName': value['firstName'],
77
+ 'lastName': value['lastName'],
78
+ 'phone': value['phone'],
79
+ 'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
80
+ 'companyInfo': (0, CompanyInformationDto_1.CompanyInformationDtoToJSON)(value['companyInfo']),
81
+ };
82
+ }
@@ -0,0 +1,44 @@
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 { CompanyTaxIdDto } from './CompanyTaxIdDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CompanyInformationDto
17
+ */
18
+ export interface CompanyInformationDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CompanyInformationDto
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {CompanyTaxIdDto}
28
+ * @memberof CompanyInformationDto
29
+ */
30
+ taxId: CompanyTaxIdDto;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CompanyInformationDto
35
+ */
36
+ companyId: string | null;
37
+ }
38
+ /**
39
+ * Check if a given object implements the CompanyInformationDto interface.
40
+ */
41
+ export declare function instanceOfCompanyInformationDto(value: object): value is CompanyInformationDto;
42
+ export declare function CompanyInformationDtoFromJSON(json: any): CompanyInformationDto;
43
+ export declare function CompanyInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompanyInformationDto;
44
+ export declare function CompanyInformationDtoToJSON(value?: CompanyInformationDto | null): any;
@@ -0,0 +1,55 @@
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.instanceOfCompanyInformationDto = instanceOfCompanyInformationDto;
17
+ exports.CompanyInformationDtoFromJSON = CompanyInformationDtoFromJSON;
18
+ exports.CompanyInformationDtoFromJSONTyped = CompanyInformationDtoFromJSONTyped;
19
+ exports.CompanyInformationDtoToJSON = CompanyInformationDtoToJSON;
20
+ var CompanyTaxIdDto_1 = require("./CompanyTaxIdDto");
21
+ /**
22
+ * Check if a given object implements the CompanyInformationDto interface.
23
+ */
24
+ function instanceOfCompanyInformationDto(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('taxId' in value) || value['taxId'] === undefined)
28
+ return false;
29
+ if (!('companyId' in value) || value['companyId'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CompanyInformationDtoFromJSON(json) {
34
+ return CompanyInformationDtoFromJSONTyped(json, false);
35
+ }
36
+ function CompanyInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'name': json['name'],
42
+ 'taxId': (0, CompanyTaxIdDto_1.CompanyTaxIdDtoFromJSON)(json['taxId']),
43
+ 'companyId': json['companyId'],
44
+ };
45
+ }
46
+ function CompanyInformationDtoToJSON(value) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'taxId': (0, CompanyTaxIdDto_1.CompanyTaxIdDtoToJSON)(value['taxId']),
53
+ 'companyId': value['companyId'],
54
+ };
55
+ }
@@ -0,0 +1,43 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CompanyTaxIdDto
16
+ */
17
+ export interface CompanyTaxIdDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CompanyTaxIdDto
22
+ */
23
+ value: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CompanyTaxIdDto
28
+ */
29
+ type: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CompanyTaxIdDto
34
+ */
35
+ countryCode: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the CompanyTaxIdDto interface.
39
+ */
40
+ export declare function instanceOfCompanyTaxIdDto(value: object): value is CompanyTaxIdDto;
41
+ export declare function CompanyTaxIdDtoFromJSON(json: any): CompanyTaxIdDto;
42
+ export declare function CompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompanyTaxIdDto;
43
+ export declare function CompanyTaxIdDtoToJSON(value?: CompanyTaxIdDto | null): any;
@@ -0,0 +1,54 @@
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.instanceOfCompanyTaxIdDto = instanceOfCompanyTaxIdDto;
17
+ exports.CompanyTaxIdDtoFromJSON = CompanyTaxIdDtoFromJSON;
18
+ exports.CompanyTaxIdDtoFromJSONTyped = CompanyTaxIdDtoFromJSONTyped;
19
+ exports.CompanyTaxIdDtoToJSON = CompanyTaxIdDtoToJSON;
20
+ /**
21
+ * Check if a given object implements the CompanyTaxIdDto interface.
22
+ */
23
+ function instanceOfCompanyTaxIdDto(value) {
24
+ if (!('value' in value) || value['value'] === undefined)
25
+ return false;
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ if (!('countryCode' in value) || value['countryCode'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function CompanyTaxIdDtoFromJSON(json) {
33
+ return CompanyTaxIdDtoFromJSONTyped(json, false);
34
+ }
35
+ function CompanyTaxIdDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'value': json['value'],
41
+ 'type': json['type'],
42
+ 'countryCode': json['countryCode'],
43
+ };
44
+ }
45
+ function CompanyTaxIdDtoToJSON(value) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'value': value['value'],
51
+ 'type': value['type'],
52
+ 'countryCode': value['countryCode'],
53
+ };
54
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { BillingInformationDto } from './BillingInformationDto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,10 @@
17
18
  export interface CreateAccountPaymentProviderInput {
18
19
  /**
19
20
  *
20
- * @type {string}
21
+ * @type {BillingInformationDto}
21
22
  * @memberof CreateAccountPaymentProviderInput
22
23
  */
23
- countryIsoCode: string;
24
+ billingInformation: BillingInformationDto;
24
25
  }
25
26
  /**
26
27
  * Check if a given object implements the CreateAccountPaymentProviderInput interface.
@@ -17,11 +17,12 @@ exports.instanceOfCreateAccountPaymentProviderInput = instanceOfCreateAccountPay
17
17
  exports.CreateAccountPaymentProviderInputFromJSON = CreateAccountPaymentProviderInputFromJSON;
18
18
  exports.CreateAccountPaymentProviderInputFromJSONTyped = CreateAccountPaymentProviderInputFromJSONTyped;
19
19
  exports.CreateAccountPaymentProviderInputToJSON = CreateAccountPaymentProviderInputToJSON;
20
+ var BillingInformationDto_1 = require("./BillingInformationDto");
20
21
  /**
21
22
  * Check if a given object implements the CreateAccountPaymentProviderInput interface.
22
23
  */
23
24
  function instanceOfCreateAccountPaymentProviderInput(value) {
24
- if (!('countryIsoCode' in value) || value['countryIsoCode'] === undefined)
25
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined)
25
26
  return false;
26
27
  return true;
27
28
  }
@@ -33,7 +34,7 @@ function CreateAccountPaymentProviderInputFromJSONTyped(json, ignoreDiscriminato
33
34
  return json;
34
35
  }
35
36
  return {
36
- 'countryIsoCode': json['countryIsoCode'],
37
+ 'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
37
38
  };
38
39
  }
39
40
  function CreateAccountPaymentProviderInputToJSON(value) {
@@ -41,6 +42,6 @@ function CreateAccountPaymentProviderInputToJSON(value) {
41
42
  return value;
42
43
  }
43
44
  return {
44
- 'countryIsoCode': value['countryIsoCode'],
45
+ 'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
45
46
  };
46
47
  }
@@ -12,6 +12,7 @@
12
12
  import type { PaymentProviderDto } from './PaymentProviderDto';
13
13
  import type { WithSettingsInner } from './WithSettingsInner';
14
14
  import type { AccountMetricsDto } from './AccountMetricsDto';
15
+ import type { BillingInformationDto } from './BillingInformationDto';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -48,6 +49,12 @@ export interface IntersectionAccountDtoWithSettingsDto {
48
49
  * @memberof IntersectionAccountDtoWithSettingsDto
49
50
  */
50
51
  paymentProvider: PaymentProviderDto | null;
52
+ /**
53
+ *
54
+ * @type {BillingInformationDto}
55
+ * @memberof IntersectionAccountDtoWithSettingsDto
56
+ */
57
+ billingInformation: BillingInformationDto | null;
51
58
  /**
52
59
  *
53
60
  * @type {WithSettingsInner}
@@ -20,6 +20,7 @@ exports.IntersectionAccountDtoWithSettingsDtoToJSON = IntersectionAccountDtoWith
20
20
  var PaymentProviderDto_1 = require("./PaymentProviderDto");
21
21
  var WithSettingsInner_1 = require("./WithSettingsInner");
22
22
  var AccountMetricsDto_1 = require("./AccountMetricsDto");
23
+ var BillingInformationDto_1 = require("./BillingInformationDto");
23
24
  /**
24
25
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDto interface.
25
26
  */
@@ -34,6 +35,8 @@ function instanceOfIntersectionAccountDtoWithSettingsDto(value) {
34
35
  return false;
35
36
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined)
36
37
  return false;
38
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined)
39
+ return false;
37
40
  if (!('settings' in value) || value['settings'] === undefined)
38
41
  return false;
39
42
  return true;
@@ -51,6 +54,7 @@ function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json, ignoreDiscrimi
51
54
  'name': json['name'],
52
55
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoFromJSON)(json['metrics']),
53
56
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoFromJSON)(json['paymentProvider']),
57
+ 'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
54
58
  'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
55
59
  };
56
60
  }
@@ -64,6 +68,7 @@ function IntersectionAccountDtoWithSettingsDtoToJSON(value) {
64
68
  'name': value['name'],
65
69
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoToJSON)(value['metrics']),
66
70
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoToJSON)(value['paymentProvider']),
71
+ 'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
67
72
  'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
68
73
  };
69
74
  }
@@ -8,6 +8,7 @@ export * from './BadRequestException';
8
8
  export * from './BatchReadBuyerLeadMessageInput';
9
9
  export * from './BatchReadSellerLeadMessageInput';
10
10
  export * from './BatchUpdateDomainsInput';
11
+ export * from './BillingInformationDto';
11
12
  export * from './BuyerDomainTransferAuthCodeDto';
12
13
  export * from './BuyerDomainTransferListItemDomainDto';
13
14
  export * from './BuyerDomainTransferListItemDto';
@@ -16,6 +17,8 @@ export * from './BuyerLeadListItemDto';
16
17
  export * from './BuyerSecurityUserDto';
17
18
  export * from './ChangeOrderStatusInput';
18
19
  export * from './ChartDataPoint';
20
+ export * from './CompanyInformationDto';
21
+ export * from './CompanyTaxIdDto';
19
22
  export * from './ConflictException';
20
23
  export * from './CreateAccountPaymentProviderInput';
21
24
  export * from './CreateBuyerLeadMessageInput';
@@ -26,6 +26,7 @@ __exportStar(require("./BadRequestException"), exports);
26
26
  __exportStar(require("./BatchReadBuyerLeadMessageInput"), exports);
27
27
  __exportStar(require("./BatchReadSellerLeadMessageInput"), exports);
28
28
  __exportStar(require("./BatchUpdateDomainsInput"), exports);
29
+ __exportStar(require("./BillingInformationDto"), exports);
29
30
  __exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
30
31
  __exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
31
32
  __exportStar(require("./BuyerDomainTransferListItemDto"), exports);
@@ -34,6 +35,8 @@ __exportStar(require("./BuyerLeadListItemDto"), exports);
34
35
  __exportStar(require("./BuyerSecurityUserDto"), exports);
35
36
  __exportStar(require("./ChangeOrderStatusInput"), exports);
36
37
  __exportStar(require("./ChartDataPoint"), exports);
38
+ __exportStar(require("./CompanyInformationDto"), exports);
39
+ __exportStar(require("./CompanyTaxIdDto"), exports);
37
40
  __exportStar(require("./ConflictException"), exports);
38
41
  __exportStar(require("./CreateAccountPaymentProviderInput"), exports);
39
42
  __exportStar(require("./CreateBuyerLeadMessageInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.110",
3
+ "version": "0.0.111",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -25,6 +25,12 @@ import {
25
25
  AccountMetricsDtoFromJSONTyped,
26
26
  AccountMetricsDtoToJSON,
27
27
  } from './AccountMetricsDto';
28
+ import type { BillingInformationDto } from './BillingInformationDto';
29
+ import {
30
+ BillingInformationDtoFromJSON,
31
+ BillingInformationDtoFromJSONTyped,
32
+ BillingInformationDtoToJSON,
33
+ } from './BillingInformationDto';
28
34
 
29
35
  /**
30
36
  *
@@ -62,6 +68,12 @@ export interface AccountDto {
62
68
  * @memberof AccountDto
63
69
  */
64
70
  paymentProvider: PaymentProviderDto | null;
71
+ /**
72
+ *
73
+ * @type {BillingInformationDto}
74
+ * @memberof AccountDto
75
+ */
76
+ billingInformation: BillingInformationDto | null;
65
77
  }
66
78
 
67
79
  /**
@@ -73,6 +85,7 @@ export function instanceOfAccountDto(value: object): value is AccountDto {
73
85
  if (!('name' in value) || value['name'] === undefined) return false;
74
86
  if (!('metrics' in value) || value['metrics'] === undefined) return false;
75
87
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined) return false;
88
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
76
89
  return true;
77
90
  }
78
91
 
@@ -91,6 +104,7 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
91
104
  'name': json['name'],
92
105
  'metrics': AccountMetricsDtoFromJSON(json['metrics']),
93
106
  'paymentProvider': PaymentProviderDtoFromJSON(json['paymentProvider']),
107
+ 'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
94
108
  };
95
109
  }
96
110
 
@@ -105,6 +119,7 @@ export function AccountDtoToJSON(value?: AccountDto | null): any {
105
119
  'name': value['name'],
106
120
  'metrics': AccountMetricsDtoToJSON(value['metrics']),
107
121
  'paymentProvider': PaymentProviderDtoToJSON(value['paymentProvider']),
122
+ 'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
108
123
  };
109
124
  }
110
125
 
@@ -0,0 +1,141 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CompanyInformationDto } from './CompanyInformationDto';
17
+ import {
18
+ CompanyInformationDtoFromJSON,
19
+ CompanyInformationDtoFromJSONTyped,
20
+ CompanyInformationDtoToJSON,
21
+ } from './CompanyInformationDto';
22
+ import type { AddressDto } from './AddressDto';
23
+ import {
24
+ AddressDtoFromJSON,
25
+ AddressDtoFromJSONTyped,
26
+ AddressDtoToJSON,
27
+ } from './AddressDto';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface BillingInformationDto
33
+ */
34
+ export interface BillingInformationDto {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof BillingInformationDto
39
+ */
40
+ type: BillingInformationDtoTypeEnum;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof BillingInformationDto
45
+ */
46
+ email: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof BillingInformationDto
51
+ */
52
+ firstName: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof BillingInformationDto
57
+ */
58
+ lastName: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof BillingInformationDto
63
+ */
64
+ phone: string | null;
65
+ /**
66
+ *
67
+ * @type {AddressDto}
68
+ * @memberof BillingInformationDto
69
+ */
70
+ address: AddressDto | null;
71
+ /**
72
+ *
73
+ * @type {CompanyInformationDto}
74
+ * @memberof BillingInformationDto
75
+ */
76
+ companyInfo: CompanyInformationDto | null;
77
+ }
78
+
79
+
80
+ /**
81
+ * @export
82
+ */
83
+ export const BillingInformationDtoTypeEnum = {
84
+ COMPANY: 'company',
85
+ GOVERNMENT_ENTITY: 'government_entity',
86
+ INDIVIDUAL: 'individual',
87
+ NON_PROFIT: 'non_profit'
88
+ } as const;
89
+ export type BillingInformationDtoTypeEnum = typeof BillingInformationDtoTypeEnum[keyof typeof BillingInformationDtoTypeEnum];
90
+
91
+
92
+ /**
93
+ * Check if a given object implements the BillingInformationDto interface.
94
+ */
95
+ export function instanceOfBillingInformationDto(value: object): value is BillingInformationDto {
96
+ if (!('type' in value) || value['type'] === undefined) return false;
97
+ if (!('email' in value) || value['email'] === undefined) return false;
98
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
99
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
100
+ if (!('phone' in value) || value['phone'] === undefined) return false;
101
+ if (!('address' in value) || value['address'] === undefined) return false;
102
+ if (!('companyInfo' in value) || value['companyInfo'] === undefined) return false;
103
+ return true;
104
+ }
105
+
106
+ export function BillingInformationDtoFromJSON(json: any): BillingInformationDto {
107
+ return BillingInformationDtoFromJSONTyped(json, false);
108
+ }
109
+
110
+ export function BillingInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingInformationDto {
111
+ if (json == null) {
112
+ return json;
113
+ }
114
+ return {
115
+
116
+ 'type': json['type'],
117
+ 'email': json['email'],
118
+ 'firstName': json['firstName'],
119
+ 'lastName': json['lastName'],
120
+ 'phone': json['phone'],
121
+ 'address': AddressDtoFromJSON(json['address']),
122
+ 'companyInfo': CompanyInformationDtoFromJSON(json['companyInfo']),
123
+ };
124
+ }
125
+
126
+ export function BillingInformationDtoToJSON(value?: BillingInformationDto | null): any {
127
+ if (value == null) {
128
+ return value;
129
+ }
130
+ return {
131
+
132
+ 'type': value['type'],
133
+ 'email': value['email'],
134
+ 'firstName': value['firstName'],
135
+ 'lastName': value['lastName'],
136
+ 'phone': value['phone'],
137
+ 'address': AddressDtoToJSON(value['address']),
138
+ 'companyInfo': CompanyInformationDtoToJSON(value['companyInfo']),
139
+ };
140
+ }
141
+
@@ -0,0 +1,86 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CompanyTaxIdDto } from './CompanyTaxIdDto';
17
+ import {
18
+ CompanyTaxIdDtoFromJSON,
19
+ CompanyTaxIdDtoFromJSONTyped,
20
+ CompanyTaxIdDtoToJSON,
21
+ } from './CompanyTaxIdDto';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface CompanyInformationDto
27
+ */
28
+ export interface CompanyInformationDto {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CompanyInformationDto
33
+ */
34
+ name: string;
35
+ /**
36
+ *
37
+ * @type {CompanyTaxIdDto}
38
+ * @memberof CompanyInformationDto
39
+ */
40
+ taxId: CompanyTaxIdDto;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CompanyInformationDto
45
+ */
46
+ companyId: string | null;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the CompanyInformationDto interface.
51
+ */
52
+ export function instanceOfCompanyInformationDto(value: object): value is CompanyInformationDto {
53
+ if (!('name' in value) || value['name'] === undefined) return false;
54
+ if (!('taxId' in value) || value['taxId'] === undefined) return false;
55
+ if (!('companyId' in value) || value['companyId'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function CompanyInformationDtoFromJSON(json: any): CompanyInformationDto {
60
+ return CompanyInformationDtoFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function CompanyInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompanyInformationDto {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'name': json['name'],
70
+ 'taxId': CompanyTaxIdDtoFromJSON(json['taxId']),
71
+ 'companyId': json['companyId'],
72
+ };
73
+ }
74
+
75
+ export function CompanyInformationDtoToJSON(value?: CompanyInformationDto | null): any {
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+
81
+ 'name': value['name'],
82
+ 'taxId': CompanyTaxIdDtoToJSON(value['taxId']),
83
+ 'companyId': value['companyId'],
84
+ };
85
+ }
86
+
@@ -0,0 +1,79 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CompanyTaxIdDto
20
+ */
21
+ export interface CompanyTaxIdDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CompanyTaxIdDto
26
+ */
27
+ value: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof CompanyTaxIdDto
32
+ */
33
+ type: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof CompanyTaxIdDto
38
+ */
39
+ countryCode: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the CompanyTaxIdDto interface.
44
+ */
45
+ export function instanceOfCompanyTaxIdDto(value: object): value is CompanyTaxIdDto {
46
+ if (!('value' in value) || value['value'] === undefined) return false;
47
+ if (!('type' in value) || value['type'] === undefined) return false;
48
+ if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function CompanyTaxIdDtoFromJSON(json: any): CompanyTaxIdDto {
53
+ return CompanyTaxIdDtoFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function CompanyTaxIdDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompanyTaxIdDto {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'value': json['value'],
63
+ 'type': json['type'],
64
+ 'countryCode': json['countryCode'],
65
+ };
66
+ }
67
+
68
+ export function CompanyTaxIdDtoToJSON(value?: CompanyTaxIdDto | null): any {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+
74
+ 'value': value['value'],
75
+ 'type': value['type'],
76
+ 'countryCode': value['countryCode'],
77
+ };
78
+ }
79
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { BillingInformationDto } from './BillingInformationDto';
17
+ import {
18
+ BillingInformationDtoFromJSON,
19
+ BillingInformationDtoFromJSONTyped,
20
+ BillingInformationDtoToJSON,
21
+ } from './BillingInformationDto';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -21,17 +28,17 @@ import { mapValues } from '../runtime';
21
28
  export interface CreateAccountPaymentProviderInput {
22
29
  /**
23
30
  *
24
- * @type {string}
31
+ * @type {BillingInformationDto}
25
32
  * @memberof CreateAccountPaymentProviderInput
26
33
  */
27
- countryIsoCode: string;
34
+ billingInformation: BillingInformationDto;
28
35
  }
29
36
 
30
37
  /**
31
38
  * Check if a given object implements the CreateAccountPaymentProviderInput interface.
32
39
  */
33
40
  export function instanceOfCreateAccountPaymentProviderInput(value: object): value is CreateAccountPaymentProviderInput {
34
- if (!('countryIsoCode' in value) || value['countryIsoCode'] === undefined) return false;
41
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
35
42
  return true;
36
43
  }
37
44
 
@@ -45,7 +52,7 @@ export function CreateAccountPaymentProviderInputFromJSONTyped(json: any, ignore
45
52
  }
46
53
  return {
47
54
 
48
- 'countryIsoCode': json['countryIsoCode'],
55
+ 'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
49
56
  };
50
57
  }
51
58
 
@@ -55,7 +62,7 @@ export function CreateAccountPaymentProviderInputToJSON(value?: CreateAccountPay
55
62
  }
56
63
  return {
57
64
 
58
- 'countryIsoCode': value['countryIsoCode'],
65
+ 'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
59
66
  };
60
67
  }
61
68
 
@@ -31,6 +31,12 @@ import {
31
31
  AccountMetricsDtoFromJSONTyped,
32
32
  AccountMetricsDtoToJSON,
33
33
  } from './AccountMetricsDto';
34
+ import type { BillingInformationDto } from './BillingInformationDto';
35
+ import {
36
+ BillingInformationDtoFromJSON,
37
+ BillingInformationDtoFromJSONTyped,
38
+ BillingInformationDtoToJSON,
39
+ } from './BillingInformationDto';
34
40
 
35
41
  /**
36
42
  *
@@ -68,6 +74,12 @@ export interface IntersectionAccountDtoWithSettingsDto {
68
74
  * @memberof IntersectionAccountDtoWithSettingsDto
69
75
  */
70
76
  paymentProvider: PaymentProviderDto | null;
77
+ /**
78
+ *
79
+ * @type {BillingInformationDto}
80
+ * @memberof IntersectionAccountDtoWithSettingsDto
81
+ */
82
+ billingInformation: BillingInformationDto | null;
71
83
  /**
72
84
  *
73
85
  * @type {WithSettingsInner}
@@ -85,6 +97,7 @@ export function instanceOfIntersectionAccountDtoWithSettingsDto(value: object):
85
97
  if (!('name' in value) || value['name'] === undefined) return false;
86
98
  if (!('metrics' in value) || value['metrics'] === undefined) return false;
87
99
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined) return false;
100
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
88
101
  if (!('settings' in value) || value['settings'] === undefined) return false;
89
102
  return true;
90
103
  }
@@ -104,6 +117,7 @@ export function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json: any, ig
104
117
  'name': json['name'],
105
118
  'metrics': AccountMetricsDtoFromJSON(json['metrics']),
106
119
  'paymentProvider': PaymentProviderDtoFromJSON(json['paymentProvider']),
120
+ 'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
107
121
  'settings': WithSettingsInnerFromJSON(json['settings']),
108
122
  };
109
123
  }
@@ -119,6 +133,7 @@ export function IntersectionAccountDtoWithSettingsDtoToJSON(value?: Intersection
119
133
  'name': value['name'],
120
134
  'metrics': AccountMetricsDtoToJSON(value['metrics']),
121
135
  'paymentProvider': PaymentProviderDtoToJSON(value['paymentProvider']),
136
+ 'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
122
137
  'settings': WithSettingsInnerToJSON(value['settings']),
123
138
  };
124
139
  }
@@ -10,6 +10,7 @@ export * from './BadRequestException';
10
10
  export * from './BatchReadBuyerLeadMessageInput';
11
11
  export * from './BatchReadSellerLeadMessageInput';
12
12
  export * from './BatchUpdateDomainsInput';
13
+ export * from './BillingInformationDto';
13
14
  export * from './BuyerDomainTransferAuthCodeDto';
14
15
  export * from './BuyerDomainTransferListItemDomainDto';
15
16
  export * from './BuyerDomainTransferListItemDto';
@@ -18,6 +19,8 @@ export * from './BuyerLeadListItemDto';
18
19
  export * from './BuyerSecurityUserDto';
19
20
  export * from './ChangeOrderStatusInput';
20
21
  export * from './ChartDataPoint';
22
+ export * from './CompanyInformationDto';
23
+ export * from './CompanyTaxIdDto';
21
24
  export * from './ConflictException';
22
25
  export * from './CreateAccountPaymentProviderInput';
23
26
  export * from './CreateBuyerLeadMessageInput';