@randock/nameshift-api-client 0.0.125 → 0.0.126

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.125
1
+ ## @randock/nameshift-api-client@0.0.126
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.125 --save
39
+ npm install @randock/nameshift-api-client@0.0.126 --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
- 6fc88eaf8fc01288e327265e1a96af8d8576d19023820610e244a1cbbefca318f9bf9d1668679b17fbf60c9263865329
47
+ 31f117e69ff4c8e44d70234ef5b7435691bf9503c63c65dd7983955d919c7cc658f0d61d552a799697689e1d58b787e3
@@ -22,6 +22,12 @@ export interface InvoiceDto {
22
22
  * @memberof InvoiceDto
23
23
  */
24
24
  id: object;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof InvoiceDto
29
+ */
30
+ invoiceNumber: string | null;
25
31
  /**
26
32
  *
27
33
  * @type {InvoiceDomainDto}
@@ -25,6 +25,8 @@ var InvoiceDomainDto_1 = require("./InvoiceDomainDto");
25
25
  function instanceOfInvoiceDto(value) {
26
26
  if (!('id' in value) || value['id'] === undefined)
27
27
  return false;
28
+ if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined)
29
+ return false;
28
30
  if (!('domain' in value) || value['domain'] === undefined)
29
31
  return false;
30
32
  if (!('date' in value) || value['date'] === undefined)
@@ -40,6 +42,7 @@ function InvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
40
42
  }
41
43
  return {
42
44
  'id': json['id'],
45
+ 'invoiceNumber': json['invoiceNumber'],
43
46
  'domain': (0, InvoiceDomainDto_1.InvoiceDomainDtoFromJSON)(json['domain']),
44
47
  'date': (new Date(json['date'])),
45
48
  };
@@ -54,6 +57,7 @@ function InvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
54
57
  }
55
58
  return {
56
59
  'id': value['id'],
60
+ 'invoiceNumber': value['invoiceNumber'],
57
61
  'domain': (0, InvoiceDomainDto_1.InvoiceDomainDtoToJSON)(value['domain']),
58
62
  'date': ((value['date']).toISOString()),
59
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.125",
3
+ "version": "0.0.126",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -33,6 +33,12 @@ export interface InvoiceDto {
33
33
  * @memberof InvoiceDto
34
34
  */
35
35
  id: object;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof InvoiceDto
40
+ */
41
+ invoiceNumber: string | null;
36
42
  /**
37
43
  *
38
44
  * @type {InvoiceDomainDto}
@@ -52,6 +58,7 @@ export interface InvoiceDto {
52
58
  */
53
59
  export function instanceOfInvoiceDto(value: object): value is InvoiceDto {
54
60
  if (!('id' in value) || value['id'] === undefined) return false;
61
+ if (!('invoiceNumber' in value) || value['invoiceNumber'] === undefined) return false;
55
62
  if (!('domain' in value) || value['domain'] === undefined) return false;
56
63
  if (!('date' in value) || value['date'] === undefined) return false;
57
64
  return true;
@@ -68,6 +75,7 @@ export function InvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
68
75
  return {
69
76
 
70
77
  'id': json['id'],
78
+ 'invoiceNumber': json['invoiceNumber'],
71
79
  'domain': InvoiceDomainDtoFromJSON(json['domain']),
72
80
  'date': (new Date(json['date'])),
73
81
  };
@@ -85,6 +93,7 @@ export function InvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
85
93
  return {
86
94
 
87
95
  'id': value['id'],
96
+ 'invoiceNumber': value['invoiceNumber'],
88
97
  'domain': InvoiceDomainDtoToJSON(value['domain']),
89
98
  'date': ((value['date']).toISOString()),
90
99
  };