@randock/nameshift-api-client 0.0.219 → 0.0.221

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.
Files changed (51) hide show
  1. package/.openapi-generator/FILES +7 -1
  2. package/README.md +3 -3
  3. package/dist/apis/BankAccountsApi.d.ts +11 -12
  4. package/dist/apis/BankAccountsApi.js +27 -30
  5. package/dist/apis/DomainsApi.d.ts +12 -1
  6. package/dist/apis/DomainsApi.js +53 -0
  7. package/dist/apis/OrdersPublicApi.d.ts +13 -0
  8. package/dist/apis/OrdersPublicApi.js +44 -0
  9. package/dist/models/AccountBankAccountDto.d.ts +20 -5
  10. package/dist/models/AccountBankAccountDto.js +17 -4
  11. package/dist/models/AccountBankAccountDtoDetails.d.ts +7 -1
  12. package/dist/models/AccountBankAccountDtoDetails.js +10 -0
  13. package/dist/models/AirwallexBankAccountDetailsDto.d.ts +64 -0
  14. package/dist/models/AirwallexBankAccountDetailsDto.js +67 -0
  15. package/dist/models/AirwallexBankAccountDetailsDtoInstitution.d.ts +50 -0
  16. package/dist/models/AirwallexBankAccountDetailsDtoInstitution.js +63 -0
  17. package/dist/models/AirwallexBankAccountDetailsDtoLocalMethod.d.ts +39 -0
  18. package/dist/models/AirwallexBankAccountDetailsDtoLocalMethod.js +56 -0
  19. package/dist/models/AirwallexBankAccountDetailsDtoLocalMethodCode.d.ts +38 -0
  20. package/dist/models/AirwallexBankAccountDetailsDtoLocalMethodCode.js +55 -0
  21. package/dist/models/CaBankAccountDetails.d.ts +66 -0
  22. package/dist/models/CaBankAccountDetails.js +77 -0
  23. package/dist/models/DomainExchangeRateDto.d.ts +38 -0
  24. package/dist/models/DomainExchangeRateDto.js +55 -0
  25. package/dist/models/SepaBankAccountDetails.d.ts +2 -0
  26. package/dist/models/SepaBankAccountDetails.js +2 -0
  27. package/dist/models/UkBankAccountDetails.d.ts +2 -0
  28. package/dist/models/UkBankAccountDetails.js +2 -0
  29. package/dist/models/UsBankAccountDetails.d.ts +60 -0
  30. package/dist/models/UsBankAccountDetails.js +73 -0
  31. package/dist/models/index.d.ts +7 -1
  32. package/dist/models/index.js +7 -1
  33. package/package.json +1 -1
  34. package/src/apis/BankAccountsApi.ts +35 -45
  35. package/src/apis/DomainsApi.ts +48 -0
  36. package/src/apis/OrdersPublicApi.ts +38 -0
  37. package/src/models/AccountBankAccountDto.ts +29 -8
  38. package/src/models/AccountBankAccountDtoDetails.ts +23 -1
  39. package/src/models/AirwallexBankAccountDetailsDto.ts +123 -0
  40. package/src/models/AirwallexBankAccountDetailsDtoInstitution.ts +93 -0
  41. package/src/models/AirwallexBankAccountDetailsDtoLocalMethod.ts +83 -0
  42. package/src/models/AirwallexBankAccountDetailsDtoLocalMethodCode.ts +75 -0
  43. package/src/models/CaBankAccountDetails.ts +115 -0
  44. package/src/models/DomainExchangeRateDto.ts +75 -0
  45. package/src/models/SepaBankAccountDetails.ts +2 -0
  46. package/src/models/UkBankAccountDetails.ts +2 -0
  47. package/src/models/UsBankAccountDetails.ts +106 -0
  48. package/src/models/index.ts +7 -1
  49. package/dist/models/UpdateBankAccountInput.d.ts +0 -38
  50. package/dist/models/UpdateBankAccountInput.js +0 -55
  51. package/src/models/UpdateBankAccountInput.ts +0 -75
@@ -0,0 +1,75 @@
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 DomainExchangeRateDto
20
+ */
21
+ export interface DomainExchangeRateDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof DomainExchangeRateDto
26
+ */
27
+ currencyCode: string;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof DomainExchangeRateDto
32
+ */
33
+ exchangeRate: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the DomainExchangeRateDto interface.
38
+ */
39
+ export function instanceOfDomainExchangeRateDto(value: object): value is DomainExchangeRateDto {
40
+ if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
41
+ if (!('exchangeRate' in value) || value['exchangeRate'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function DomainExchangeRateDtoFromJSON(json: any): DomainExchangeRateDto {
46
+ return DomainExchangeRateDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function DomainExchangeRateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainExchangeRateDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'currencyCode': json['currencyCode'],
56
+ 'exchangeRate': json['exchangeRate'],
57
+ };
58
+ }
59
+
60
+ export function DomainExchangeRateDtoToJSON(json: any): DomainExchangeRateDto {
61
+ return DomainExchangeRateDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function DomainExchangeRateDtoToJSONTyped(value?: DomainExchangeRateDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'currencyCode': value['currencyCode'],
72
+ 'exchangeRate': value['exchangeRate'],
73
+ };
74
+ }
75
+
@@ -51,6 +51,8 @@ export interface SepaBankAccountDetails {
51
51
  */
52
52
  export const SepaBankAccountDetailsTypeEnum = {
53
53
  UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
54
56
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
55
57
  } as const;
56
58
  export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
@@ -51,6 +51,8 @@ export interface UkBankAccountDetails {
51
51
  */
52
52
  export const UkBankAccountDetailsTypeEnum = {
53
53
  UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
54
56
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
55
57
  } as const;
56
58
  export type UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
@@ -0,0 +1,106 @@
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 UsBankAccountDetails
20
+ */
21
+ export interface UsBankAccountDetails {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof UsBankAccountDetails
26
+ */
27
+ type: UsBankAccountDetailsTypeEnum;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UsBankAccountDetails
32
+ */
33
+ countryCode: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UsBankAccountDetails
38
+ */
39
+ routingNumber: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof UsBankAccountDetails
44
+ */
45
+ accountNumber: string;
46
+ }
47
+
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const UsBankAccountDetailsTypeEnum = {
53
+ UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
54
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
55
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
+ SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
57
+ } as const;
58
+ export type UsBankAccountDetailsTypeEnum = typeof UsBankAccountDetailsTypeEnum[keyof typeof UsBankAccountDetailsTypeEnum];
59
+
60
+
61
+ /**
62
+ * Check if a given object implements the UsBankAccountDetails interface.
63
+ */
64
+ export function instanceOfUsBankAccountDetails(value: object): value is UsBankAccountDetails {
65
+ if (!('type' in value) || value['type'] === undefined) return false;
66
+ if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
67
+ if (!('routingNumber' in value) || value['routingNumber'] === undefined) return false;
68
+ if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
69
+ return true;
70
+ }
71
+
72
+ export function UsBankAccountDetailsFromJSON(json: any): UsBankAccountDetails {
73
+ return UsBankAccountDetailsFromJSONTyped(json, false);
74
+ }
75
+
76
+ export function UsBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsBankAccountDetails {
77
+ if (json == null) {
78
+ return json;
79
+ }
80
+ return {
81
+
82
+ 'type': json['type'],
83
+ 'countryCode': json['countryCode'],
84
+ 'routingNumber': json['routingNumber'],
85
+ 'accountNumber': json['accountNumber'],
86
+ };
87
+ }
88
+
89
+ export function UsBankAccountDetailsToJSON(json: any): UsBankAccountDetails {
90
+ return UsBankAccountDetailsToJSONTyped(json, false);
91
+ }
92
+
93
+ export function UsBankAccountDetailsToJSONTyped(value?: UsBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
94
+ if (value == null) {
95
+ return value;
96
+ }
97
+
98
+ return {
99
+
100
+ 'type': value['type'],
101
+ 'countryCode': value['countryCode'],
102
+ 'routingNumber': value['routingNumber'],
103
+ 'accountNumber': value['accountNumber'],
104
+ };
105
+ }
106
+
@@ -17,6 +17,10 @@ export * from './AddressDto';
17
17
  export * from './AdminAccountLoginDto';
18
18
  export * from './AdminAccountSettingsInput';
19
19
  export * from './AdminGetAllDomainTransfers200Response';
20
+ export * from './AirwallexBankAccountDetailsDto';
21
+ export * from './AirwallexBankAccountDetailsDtoInstitution';
22
+ export * from './AirwallexBankAccountDetailsDtoLocalMethod';
23
+ export * from './AirwallexBankAccountDetailsDtoLocalMethodCode';
20
24
  export * from './BadRequestException';
21
25
  export * from './BatchDeleteBuyerLeadsInput';
22
26
  export * from './BatchImportPreviewDto';
@@ -35,6 +39,7 @@ export * from './BuyerSecurityUserDto';
35
39
  export * from './BuyerSessionDto';
36
40
  export * from './BuyerSubscriptionListItemDto';
37
41
  export * from './BuyerSubscriptionListItemDtoDomainInformation';
42
+ export * from './CaBankAccountDetails';
38
43
  export * from './ChangeOrderStatusInput';
39
44
  export * from './ChangeSubscriptionStatusInput';
40
45
  export * from './ChartDataPoint';
@@ -52,6 +57,7 @@ export * from './CreateSubscriptionBillingPeriodicityInput';
52
57
  export * from './CreateSubscriptionInput';
53
58
  export * from './DeleteDomainsInput';
54
59
  export * from './DomainDto';
60
+ export * from './DomainExchangeRateDto';
55
61
  export * from './DomainSalesInformationDto';
56
62
  export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
57
63
  export * from './DomainSellerDto';
@@ -189,7 +195,6 @@ export * from './TaskListLeadDto';
189
195
  export * from './ThrottlerException';
190
196
  export * from './UkBankAccountDetails';
191
197
  export * from './UpdateAccountBillingInformationInput';
192
- export * from './UpdateBankAccountInput';
193
198
  export * from './UpdateBuyerDomainTransferIpsTagInputDto';
194
199
  export * from './UpdateDomainInput';
195
200
  export * from './UpdateDomainTransferAuthCodeInput';
@@ -197,6 +202,7 @@ export * from './UpdateLeadInput';
197
202
  export * from './UpdateOrderInput';
198
203
  export * from './UpdateSubscriptionBillingPeriodicityInput';
199
204
  export * from './UpdateSubscriptionInput';
205
+ export * from './UsBankAccountDetails';
200
206
  export * from './UserPasswordResetDto';
201
207
  export * from './ValidationError';
202
208
  export * from './ValidationException';
@@ -1,38 +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
- /**
13
- *
14
- * @export
15
- * @interface UpdateBankAccountInput
16
- */
17
- export interface UpdateBankAccountInput {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UpdateBankAccountInput
22
- */
23
- currencyCode: string;
24
- /**
25
- *
26
- * @type {object}
27
- * @memberof UpdateBankAccountInput
28
- */
29
- details: object;
30
- }
31
- /**
32
- * Check if a given object implements the UpdateBankAccountInput interface.
33
- */
34
- export declare function instanceOfUpdateBankAccountInput(value: object): value is UpdateBankAccountInput;
35
- export declare function UpdateBankAccountInputFromJSON(json: any): UpdateBankAccountInput;
36
- export declare function UpdateBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBankAccountInput;
37
- export declare function UpdateBankAccountInputToJSON(json: any): UpdateBankAccountInput;
38
- export declare function UpdateBankAccountInputToJSONTyped(value?: UpdateBankAccountInput | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +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.instanceOfUpdateBankAccountInput = instanceOfUpdateBankAccountInput;
17
- exports.UpdateBankAccountInputFromJSON = UpdateBankAccountInputFromJSON;
18
- exports.UpdateBankAccountInputFromJSONTyped = UpdateBankAccountInputFromJSONTyped;
19
- exports.UpdateBankAccountInputToJSON = UpdateBankAccountInputToJSON;
20
- exports.UpdateBankAccountInputToJSONTyped = UpdateBankAccountInputToJSONTyped;
21
- /**
22
- * Check if a given object implements the UpdateBankAccountInput interface.
23
- */
24
- function instanceOfUpdateBankAccountInput(value) {
25
- if (!('currencyCode' in value) || value['currencyCode'] === undefined)
26
- return false;
27
- if (!('details' in value) || value['details'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function UpdateBankAccountInputFromJSON(json) {
32
- return UpdateBankAccountInputFromJSONTyped(json, false);
33
- }
34
- function UpdateBankAccountInputFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'currencyCode': json['currencyCode'],
40
- 'details': json['details'],
41
- };
42
- }
43
- function UpdateBankAccountInputToJSON(json) {
44
- return UpdateBankAccountInputToJSONTyped(json, false);
45
- }
46
- function UpdateBankAccountInputToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'currencyCode': value['currencyCode'],
53
- 'details': value['details'],
54
- };
55
- }
@@ -1,75 +0,0 @@
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 UpdateBankAccountInput
20
- */
21
- export interface UpdateBankAccountInput {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof UpdateBankAccountInput
26
- */
27
- currencyCode: string;
28
- /**
29
- *
30
- * @type {object}
31
- * @memberof UpdateBankAccountInput
32
- */
33
- details: object;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the UpdateBankAccountInput interface.
38
- */
39
- export function instanceOfUpdateBankAccountInput(value: object): value is UpdateBankAccountInput {
40
- if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
41
- if (!('details' in value) || value['details'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function UpdateBankAccountInputFromJSON(json: any): UpdateBankAccountInput {
46
- return UpdateBankAccountInputFromJSONTyped(json, false);
47
- }
48
-
49
- export function UpdateBankAccountInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBankAccountInput {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'currencyCode': json['currencyCode'],
56
- 'details': json['details'],
57
- };
58
- }
59
-
60
- export function UpdateBankAccountInputToJSON(json: any): UpdateBankAccountInput {
61
- return UpdateBankAccountInputToJSONTyped(json, false);
62
- }
63
-
64
- export function UpdateBankAccountInputToJSONTyped(value?: UpdateBankAccountInput | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'currencyCode': value['currencyCode'],
72
- 'details': value['details'],
73
- };
74
- }
75
-