@randock/nameshift-api-client 0.0.544 → 0.0.545

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.544
1
+ ## @randock/nameshift-api-client@0.0.545
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.544 --save
39
+ npm install @randock/nameshift-api-client@0.0.545 --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
- 0020fd210f52f7c57bc8ebf2b4b2f8ec67f09a58dfef57a8a921eaa4f3ff849298ff917d64b3e4fe540219b9ee167a50
47
+ c169dba3548202ce8faad8439344ea72b9dba53c2a0920b024cc321d4674196339e339072d88710a4bb9f5c6066df970
@@ -27,6 +27,12 @@ export interface JobFailureDto {
27
27
  * @memberof JobFailureDto
28
28
  */
29
29
  reason: string;
30
+ /**
31
+ * The error code of an import row; null for any other failure.
32
+ * @type {string}
33
+ * @memberof JobFailureDto
34
+ */
35
+ code: string | null;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the JobFailureDto interface.
@@ -26,6 +26,8 @@ function instanceOfJobFailureDto(value) {
26
26
  return false;
27
27
  if (!('reason' in value) || value['reason'] === undefined)
28
28
  return false;
29
+ if (!('code' in value) || value['code'] === undefined)
30
+ return false;
29
31
  return true;
30
32
  }
31
33
  function JobFailureDtoFromJSON(json) {
@@ -38,6 +40,7 @@ function JobFailureDtoFromJSONTyped(json, ignoreDiscriminator) {
38
40
  return {
39
41
  'subject': json['subject'],
40
42
  'reason': json['reason'],
43
+ 'code': json['code'],
41
44
  };
42
45
  }
43
46
  function JobFailureDtoToJSON(json) {
@@ -51,5 +54,6 @@ function JobFailureDtoToJSONTyped(value, ignoreDiscriminator) {
51
54
  return {
52
55
  'subject': value['subject'],
53
56
  'reason': value['reason'],
57
+ 'code': value['code'],
54
58
  };
55
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.544",
3
+ "version": "0.0.545",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -31,6 +31,12 @@ export interface JobFailureDto {
31
31
  * @memberof JobFailureDto
32
32
  */
33
33
  reason: string;
34
+ /**
35
+ * The error code of an import row; null for any other failure.
36
+ * @type {string}
37
+ * @memberof JobFailureDto
38
+ */
39
+ code: string | null;
34
40
  }
35
41
 
36
42
  /**
@@ -39,6 +45,7 @@ export interface JobFailureDto {
39
45
  export function instanceOfJobFailureDto(value: object): value is JobFailureDto {
40
46
  if (!('subject' in value) || value['subject'] === undefined) return false;
41
47
  if (!('reason' in value) || value['reason'] === undefined) return false;
48
+ if (!('code' in value) || value['code'] === undefined) return false;
42
49
  return true;
43
50
  }
44
51
 
@@ -54,6 +61,7 @@ export function JobFailureDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
54
61
 
55
62
  'subject': json['subject'],
56
63
  'reason': json['reason'],
64
+ 'code': json['code'],
57
65
  };
58
66
  }
59
67
 
@@ -70,6 +78,7 @@ export function JobFailureDtoToJSONTyped(value?: JobFailureDto | null, ignoreDis
70
78
 
71
79
  'subject': value['subject'],
72
80
  'reason': value['reason'],
81
+ 'code': value['code'],
73
82
  };
74
83
  }
75
84