@randock/nameshift-api-client 0.0.176 → 0.0.178

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.
@@ -1 +1 @@
1
- 7.10.0
1
+ 7.11.0-SNAPSHOT
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.176
1
+ ## @randock/nameshift-api-client@0.0.178
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.176 --save
39
+ npm install @randock/nameshift-api-client@0.0.178 --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
- e9124fe04382f84f1273b77bfbf7c31d7d68048f53e47dee44bf64401769d4d2a74c7deab291aee05326f8da986bb19c
47
+ d0131ecc2f6d46d09a22a6211db45c2668d1620605dc0866aa29a88a049856dbce53678b429213b20a7401b243ac1bb0
@@ -65,6 +65,18 @@ export interface DomainTransferDetailWorkflowStepDto {
65
65
  * @memberof DomainTransferDetailWorkflowStepDto
66
66
  */
67
67
  validations: Array<DomainTransferDetailsValidationDto>;
68
+ /**
69
+ * The domain transfer workflow step warning message
70
+ * @type {string}
71
+ * @memberof DomainTransferDetailWorkflowStepDto
72
+ */
73
+ warningMessage: string | null;
74
+ /**
75
+ * The domain transfer workflow step executions counter
76
+ * @type {number}
77
+ * @memberof DomainTransferDetailWorkflowStepDto
78
+ */
79
+ executionsCounter: number;
68
80
  }
69
81
  /**
70
82
  * @export
@@ -50,6 +50,10 @@ function instanceOfDomainTransferDetailWorkflowStepDto(value) {
50
50
  return false;
51
51
  if (!('validations' in value) || value['validations'] === undefined)
52
52
  return false;
53
+ if (!('warningMessage' in value) || value['warningMessage'] === undefined)
54
+ return false;
55
+ if (!('executionsCounter' in value) || value['executionsCounter'] === undefined)
56
+ return false;
53
57
  return true;
54
58
  }
55
59
  function DomainTransferDetailWorkflowStepDtoFromJSON(json) {
@@ -68,6 +72,8 @@ function DomainTransferDetailWorkflowStepDtoFromJSONTyped(json, ignoreDiscrimina
68
72
  'requirements': json['requirements'],
69
73
  'actions': (json['actions'].map(DomainTransferDetailWorkflowStepActionDto_1.DomainTransferDetailWorkflowStepActionDtoFromJSON)),
70
74
  'validations': (json['validations'].map(DomainTransferDetailsValidationDto_1.DomainTransferDetailsValidationDtoFromJSON)),
75
+ 'warningMessage': json['warningMessage'],
76
+ 'executionsCounter': json['executionsCounter'],
71
77
  };
72
78
  }
73
79
  function DomainTransferDetailWorkflowStepDtoToJSON(json) {
@@ -87,5 +93,7 @@ function DomainTransferDetailWorkflowStepDtoToJSONTyped(value, ignoreDiscriminat
87
93
  'requirements': value['requirements'],
88
94
  'actions': (value['actions'].map(DomainTransferDetailWorkflowStepActionDto_1.DomainTransferDetailWorkflowStepActionDtoToJSON)),
89
95
  'validations': (value['validations'].map(DomainTransferDetailsValidationDto_1.DomainTransferDetailsValidationDtoToJSON)),
96
+ 'warningMessage': value['warningMessage'],
97
+ 'executionsCounter': value['executionsCounter'],
90
98
  };
91
99
  }
@@ -16,6 +16,12 @@ import type { MoneyDto } from './MoneyDto';
16
16
  * @interface ParsedDomainDto
17
17
  */
18
18
  export interface ParsedDomainDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ParsedDomainDto
23
+ */
24
+ action: ParsedDomainDtoActionEnum;
19
25
  /**
20
26
  *
21
27
  * @type {string}
@@ -35,6 +41,15 @@ export interface ParsedDomainDto {
35
41
  */
36
42
  minOffer?: MoneyDto | null;
37
43
  }
44
+ /**
45
+ * @export
46
+ */
47
+ export declare const ParsedDomainDtoActionEnum: {
48
+ readonly INSERT: "insert";
49
+ readonly UPSERT: "upsert";
50
+ readonly DELETE: "delete";
51
+ };
52
+ export type ParsedDomainDtoActionEnum = typeof ParsedDomainDtoActionEnum[keyof typeof ParsedDomainDtoActionEnum];
38
53
  /**
39
54
  * Check if a given object implements the ParsedDomainDto interface.
40
55
  */
@@ -13,16 +13,27 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ParsedDomainDtoActionEnum = void 0;
16
17
  exports.instanceOfParsedDomainDto = instanceOfParsedDomainDto;
17
18
  exports.ParsedDomainDtoFromJSON = ParsedDomainDtoFromJSON;
18
19
  exports.ParsedDomainDtoFromJSONTyped = ParsedDomainDtoFromJSONTyped;
19
20
  exports.ParsedDomainDtoToJSON = ParsedDomainDtoToJSON;
20
21
  exports.ParsedDomainDtoToJSONTyped = ParsedDomainDtoToJSONTyped;
21
22
  var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ParsedDomainDtoActionEnum = {
27
+ INSERT: 'insert',
28
+ UPSERT: 'upsert',
29
+ DELETE: 'delete'
30
+ };
22
31
  /**
23
32
  * Check if a given object implements the ParsedDomainDto interface.
24
33
  */
25
34
  function instanceOfParsedDomainDto(value) {
35
+ if (!('action' in value) || value['action'] === undefined)
36
+ return false;
26
37
  if (!('name' in value) || value['name'] === undefined)
27
38
  return false;
28
39
  return true;
@@ -35,6 +46,7 @@ function ParsedDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
35
46
  return json;
36
47
  }
37
48
  return {
49
+ 'action': json['action'],
38
50
  'name': json['name'],
39
51
  'buyNow': json['buyNow'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
40
52
  'minOffer': json['minOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
@@ -49,6 +61,7 @@ function ParsedDomainDtoToJSONTyped(value, ignoreDiscriminator) {
49
61
  return value;
50
62
  }
51
63
  return {
64
+ 'action': value['action'],
52
65
  'name': value['name'],
53
66
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
54
67
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.176",
3
+ "version": "0.0.178",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -82,6 +82,18 @@ export interface DomainTransferDetailWorkflowStepDto {
82
82
  * @memberof DomainTransferDetailWorkflowStepDto
83
83
  */
84
84
  validations: Array<DomainTransferDetailsValidationDto>;
85
+ /**
86
+ * The domain transfer workflow step warning message
87
+ * @type {string}
88
+ * @memberof DomainTransferDetailWorkflowStepDto
89
+ */
90
+ warningMessage: string | null;
91
+ /**
92
+ * The domain transfer workflow step executions counter
93
+ * @type {number}
94
+ * @memberof DomainTransferDetailWorkflowStepDto
95
+ */
96
+ executionsCounter: number;
85
97
  }
86
98
 
87
99
 
@@ -109,6 +121,8 @@ export function instanceOfDomainTransferDetailWorkflowStepDto(value: object): va
109
121
  if (!('requirements' in value) || value['requirements'] === undefined) return false;
110
122
  if (!('actions' in value) || value['actions'] === undefined) return false;
111
123
  if (!('validations' in value) || value['validations'] === undefined) return false;
124
+ if (!('warningMessage' in value) || value['warningMessage'] === undefined) return false;
125
+ if (!('executionsCounter' in value) || value['executionsCounter'] === undefined) return false;
112
126
  return true;
113
127
  }
114
128
 
@@ -130,6 +144,8 @@ export function DomainTransferDetailWorkflowStepDtoFromJSONTyped(json: any, igno
130
144
  'requirements': json['requirements'],
131
145
  'actions': ((json['actions'] as Array<any>).map(DomainTransferDetailWorkflowStepActionDtoFromJSON)),
132
146
  'validations': ((json['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoFromJSON)),
147
+ 'warningMessage': json['warningMessage'],
148
+ 'executionsCounter': json['executionsCounter'],
133
149
  };
134
150
  }
135
151
 
@@ -152,6 +168,8 @@ export function DomainTransferDetailWorkflowStepDtoToJSONTyped(value?: DomainTra
152
168
  'requirements': value['requirements'],
153
169
  'actions': ((value['actions'] as Array<any>).map(DomainTransferDetailWorkflowStepActionDtoToJSON)),
154
170
  'validations': ((value['validations'] as Array<any>).map(DomainTransferDetailsValidationDtoToJSON)),
171
+ 'warningMessage': value['warningMessage'],
172
+ 'executionsCounter': value['executionsCounter'],
155
173
  };
156
174
  }
157
175
 
@@ -27,6 +27,12 @@ import {
27
27
  * @interface ParsedDomainDto
28
28
  */
29
29
  export interface ParsedDomainDto {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ParsedDomainDto
34
+ */
35
+ action: ParsedDomainDtoActionEnum;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -47,10 +53,23 @@ export interface ParsedDomainDto {
47
53
  minOffer?: MoneyDto | null;
48
54
  }
49
55
 
56
+
57
+ /**
58
+ * @export
59
+ */
60
+ export const ParsedDomainDtoActionEnum = {
61
+ INSERT: 'insert',
62
+ UPSERT: 'upsert',
63
+ DELETE: 'delete'
64
+ } as const;
65
+ export type ParsedDomainDtoActionEnum = typeof ParsedDomainDtoActionEnum[keyof typeof ParsedDomainDtoActionEnum];
66
+
67
+
50
68
  /**
51
69
  * Check if a given object implements the ParsedDomainDto interface.
52
70
  */
53
71
  export function instanceOfParsedDomainDto(value: object): value is ParsedDomainDto {
72
+ if (!('action' in value) || value['action'] === undefined) return false;
54
73
  if (!('name' in value) || value['name'] === undefined) return false;
55
74
  return true;
56
75
  }
@@ -65,6 +84,7 @@ export function ParsedDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
65
84
  }
66
85
  return {
67
86
 
87
+ 'action': json['action'],
68
88
  'name': json['name'],
69
89
  'buyNow': json['buyNow'] == null ? undefined : MoneyDtoFromJSON(json['buyNow']),
70
90
  'minOffer': json['minOffer'] == null ? undefined : MoneyDtoFromJSON(json['minOffer']),
@@ -82,6 +102,7 @@ export function ParsedDomainDtoToJSONTyped(value?: ParsedDomainDto | null, ignor
82
102
 
83
103
  return {
84
104
 
105
+ 'action': value['action'],
85
106
  'name': value['name'],
86
107
  'buyNow': MoneyDtoToJSON(value['buyNow']),
87
108
  'minOffer': MoneyDtoToJSON(value['minOffer']),