@randock/nameshift-api-client 0.0.253 → 0.0.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.253
1
+ ## @randock/nameshift-api-client@0.0.255
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.253 --save
39
+ npm install @randock/nameshift-api-client@0.0.255 --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
- 7090b1f98d3a6170fb8791c3b0aa489e7a564a2dbcedc977ca795a7cf2632d9e363c31779cc94132978aa9345126e0ee
47
+ 7d954e3db2d166e8e4af8f76e0bdee8503377f4002f82e4419f62115d306073bfcb33a6ace93008c4a3119cf25fac5d6
@@ -21,6 +21,7 @@ export interface DomainsPublicApiListRequest {
21
21
  limit?: number;
22
22
  sort?: Array<SortDto>;
23
23
  filter?: string;
24
+ search?: string;
24
25
  cursor?: string;
25
26
  }
26
27
  /**
@@ -147,6 +147,9 @@ var DomainsPublicApi = /** @class */ (function (_super) {
147
147
  if (requestParameters['filter'] != null) {
148
148
  queryParameters['filter'] = requestParameters['filter'];
149
149
  }
150
+ if (requestParameters['search'] != null) {
151
+ queryParameters['search'] = requestParameters['search'];
152
+ }
150
153
  if (requestParameters['cursor'] != null) {
151
154
  queryParameters['cursor'] = requestParameters['cursor'];
152
155
  }
@@ -39,7 +39,21 @@ export interface InvoiceSellerAccountDto {
39
39
  * @memberof InvoiceSellerAccountDto
40
40
  */
41
41
  isBusiness: boolean;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof InvoiceSellerAccountDto
46
+ */
47
+ payoutProvider: InvoiceSellerAccountDtoPayoutProviderEnum;
42
48
  }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const InvoiceSellerAccountDtoPayoutProviderEnum: {
53
+ readonly STRIPE: "stripe";
54
+ readonly BANK_ACCOUNT: "bank_account";
55
+ };
56
+ export type InvoiceSellerAccountDtoPayoutProviderEnum = typeof InvoiceSellerAccountDtoPayoutProviderEnum[keyof typeof InvoiceSellerAccountDtoPayoutProviderEnum];
43
57
  /**
44
58
  * Check if a given object implements the InvoiceSellerAccountDto interface.
45
59
  */
@@ -13,11 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.InvoiceSellerAccountDtoPayoutProviderEnum = void 0;
16
17
  exports.instanceOfInvoiceSellerAccountDto = instanceOfInvoiceSellerAccountDto;
17
18
  exports.InvoiceSellerAccountDtoFromJSON = InvoiceSellerAccountDtoFromJSON;
18
19
  exports.InvoiceSellerAccountDtoFromJSONTyped = InvoiceSellerAccountDtoFromJSONTyped;
19
20
  exports.InvoiceSellerAccountDtoToJSON = InvoiceSellerAccountDtoToJSON;
20
21
  exports.InvoiceSellerAccountDtoToJSONTyped = InvoiceSellerAccountDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InvoiceSellerAccountDtoPayoutProviderEnum = {
26
+ STRIPE: 'stripe',
27
+ BANK_ACCOUNT: 'bank_account'
28
+ };
21
29
  /**
22
30
  * Check if a given object implements the InvoiceSellerAccountDto interface.
23
31
  */
@@ -30,6 +38,8 @@ function instanceOfInvoiceSellerAccountDto(value) {
30
38
  return false;
31
39
  if (!('isBusiness' in value) || value['isBusiness'] === undefined)
32
40
  return false;
41
+ if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
42
+ return false;
33
43
  return true;
34
44
  }
35
45
  function InvoiceSellerAccountDtoFromJSON(json) {
@@ -44,6 +54,7 @@ function InvoiceSellerAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
44
54
  'identifier': json['identifier'],
45
55
  'name': json['name'],
46
56
  'isBusiness': json['isBusiness'],
57
+ 'payoutProvider': json['payoutProvider'],
47
58
  };
48
59
  }
49
60
  function InvoiceSellerAccountDtoToJSON(json) {
@@ -59,5 +70,6 @@ function InvoiceSellerAccountDtoToJSONTyped(value, ignoreDiscriminator) {
59
70
  'identifier': value['identifier'],
60
71
  'name': value['name'],
61
72
  'isBusiness': value['isBusiness'],
73
+ 'payoutProvider': value['payoutProvider'],
62
74
  };
63
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.253",
3
+ "version": "0.0.255",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -48,6 +48,7 @@ export interface DomainsPublicApiListRequest {
48
48
  limit?: number;
49
49
  sort?: Array<SortDto>;
50
50
  filter?: string;
51
+ search?: string;
51
52
  cursor?: string;
52
53
  }
53
54
 
@@ -119,6 +120,10 @@ export class DomainsPublicApi extends runtime.BaseAPI {
119
120
  queryParameters['filter'] = requestParameters['filter'];
120
121
  }
121
122
 
123
+ if (requestParameters['search'] != null) {
124
+ queryParameters['search'] = requestParameters['search'];
125
+ }
126
+
122
127
  if (requestParameters['cursor'] != null) {
123
128
  queryParameters['cursor'] = requestParameters['cursor'];
124
129
  }
@@ -43,8 +43,25 @@ export interface InvoiceSellerAccountDto {
43
43
  * @memberof InvoiceSellerAccountDto
44
44
  */
45
45
  isBusiness: boolean;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof InvoiceSellerAccountDto
50
+ */
51
+ payoutProvider: InvoiceSellerAccountDtoPayoutProviderEnum;
46
52
  }
47
53
 
54
+
55
+ /**
56
+ * @export
57
+ */
58
+ export const InvoiceSellerAccountDtoPayoutProviderEnum = {
59
+ STRIPE: 'stripe',
60
+ BANK_ACCOUNT: 'bank_account'
61
+ } as const;
62
+ export type InvoiceSellerAccountDtoPayoutProviderEnum = typeof InvoiceSellerAccountDtoPayoutProviderEnum[keyof typeof InvoiceSellerAccountDtoPayoutProviderEnum];
63
+
64
+
48
65
  /**
49
66
  * Check if a given object implements the InvoiceSellerAccountDto interface.
50
67
  */
@@ -53,6 +70,7 @@ export function instanceOfInvoiceSellerAccountDto(value: object): value is Invoi
53
70
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
54
71
  if (!('name' in value) || value['name'] === undefined) return false;
55
72
  if (!('isBusiness' in value) || value['isBusiness'] === undefined) return false;
73
+ if (!('payoutProvider' in value) || value['payoutProvider'] === undefined) return false;
56
74
  return true;
57
75
  }
58
76
 
@@ -70,6 +88,7 @@ export function InvoiceSellerAccountDtoFromJSONTyped(json: any, ignoreDiscrimina
70
88
  'identifier': json['identifier'],
71
89
  'name': json['name'],
72
90
  'isBusiness': json['isBusiness'],
91
+ 'payoutProvider': json['payoutProvider'],
73
92
  };
74
93
  }
75
94
 
@@ -88,6 +107,7 @@ export function InvoiceSellerAccountDtoToJSONTyped(value?: InvoiceSellerAccountD
88
107
  'identifier': value['identifier'],
89
108
  'name': value['name'],
90
109
  'isBusiness': value['isBusiness'],
110
+ 'payoutProvider': value['payoutProvider'],
91
111
  };
92
112
  }
93
113