@randock/nameshift-api-client 0.0.506 → 0.0.507

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.506
1
+ ## @randock/nameshift-api-client@0.0.507
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.506 --save
39
+ npm install @randock/nameshift-api-client@0.0.507 --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
- 09ddfd85dfec90d7df4147983a74430e220e8dccce850f2734fab3120ead7e00a1433901ec8aa47bd51b289e8f84beae
47
+ 99276368692d1cfe6f895e08813241997f9e5a997064d622d758bb80b248b51713799321f0adfe4b266f719ca98de1f1
@@ -65,6 +65,12 @@ export interface BankAccountFormatFieldDto {
65
65
  * @memberof BankAccountFormatFieldDto
66
66
  */
67
67
  options: Array<BankAccountFormatFieldOptionDto> | null;
68
+ /**
69
+ * The option to preselect, for SELECT fields that have one. It is also what is stored when the field is left out.
70
+ * @type {string}
71
+ * @memberof BankAccountFormatFieldDto
72
+ */
73
+ defaultValue: string | null;
68
74
  }
69
75
  /**
70
76
  * Check if a given object implements the BankAccountFormatFieldDto interface.
@@ -40,6 +40,8 @@ function instanceOfBankAccountFormatFieldDto(value) {
40
40
  return false;
41
41
  if (!('options' in value) || value['options'] === undefined)
42
42
  return false;
43
+ if (!('defaultValue' in value) || value['defaultValue'] === undefined)
44
+ return false;
43
45
  return true;
44
46
  }
45
47
  function BankAccountFormatFieldDtoFromJSON(json) {
@@ -58,6 +60,7 @@ function BankAccountFormatFieldDtoFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'description': json['description'],
59
61
  'example': json['example'],
60
62
  'options': (json['options'] == null ? null : json['options'].map(BankAccountFormatFieldOptionDto_1.BankAccountFormatFieldOptionDtoFromJSON)),
63
+ 'defaultValue': json['defaultValue'],
61
64
  };
62
65
  }
63
66
  function BankAccountFormatFieldDtoToJSON(json) {
@@ -77,5 +80,6 @@ function BankAccountFormatFieldDtoToJSONTyped(value, ignoreDiscriminator) {
77
80
  'description': value['description'],
78
81
  'example': value['example'],
79
82
  'options': (value['options'] == null ? null : value['options'].map(BankAccountFormatFieldOptionDto_1.BankAccountFormatFieldOptionDtoToJSON)),
83
+ 'defaultValue': value['defaultValue'],
80
84
  };
81
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.506",
3
+ "version": "0.0.507",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -82,6 +82,12 @@ export interface BankAccountFormatFieldDto {
82
82
  * @memberof BankAccountFormatFieldDto
83
83
  */
84
84
  options: Array<BankAccountFormatFieldOptionDto> | null;
85
+ /**
86
+ * The option to preselect, for SELECT fields that have one. It is also what is stored when the field is left out.
87
+ * @type {string}
88
+ * @memberof BankAccountFormatFieldDto
89
+ */
90
+ defaultValue: string | null;
85
91
  }
86
92
 
87
93
 
@@ -98,6 +104,7 @@ export function instanceOfBankAccountFormatFieldDto(value: object): value is Ban
98
104
  if (!('description' in value) || value['description'] === undefined) return false;
99
105
  if (!('example' in value) || value['example'] === undefined) return false;
100
106
  if (!('options' in value) || value['options'] === undefined) return false;
107
+ if (!('defaultValue' in value) || value['defaultValue'] === undefined) return false;
101
108
  return true;
102
109
  }
103
110
 
@@ -119,6 +126,7 @@ export function BankAccountFormatFieldDtoFromJSONTyped(json: any, ignoreDiscrimi
119
126
  'description': json['description'],
120
127
  'example': json['example'],
121
128
  'options': (json['options'] == null ? null : (json['options'] as Array<any>).map(BankAccountFormatFieldOptionDtoFromJSON)),
129
+ 'defaultValue': json['defaultValue'],
122
130
  };
123
131
  }
124
132
 
@@ -141,6 +149,7 @@ export function BankAccountFormatFieldDtoToJSONTyped(value?: BankAccountFormatFi
141
149
  'description': value['description'],
142
150
  'example': value['example'],
143
151
  'options': (value['options'] == null ? null : (value['options'] as Array<any>).map(BankAccountFormatFieldOptionDtoToJSON)),
152
+ 'defaultValue': value['defaultValue'],
144
153
  };
145
154
  }
146
155