@randock/nameshift-api-client 0.0.408 → 0.0.409

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.408
1
+ ## @randock/nameshift-api-client@0.0.409
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.408 --save
39
+ npm install @randock/nameshift-api-client@0.0.409 --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
- d09e0e20626b5bdbca6c579d4e1e3dfc4109c599ca4b96edf8800574ccf2d0d40672f9622b55f1dabbed533e86ce4371
47
+ 3a21e74a97c748a824848f91596741d737684871b238e4c6b3d49da332de25fe897dff95c386acc4316629dd503d1c2e
@@ -15,6 +15,18 @@
15
15
  * @interface DomainTransferDetailWorkflowStepActionDto
16
16
  */
17
17
  export interface DomainTransferDetailWorkflowStepActionDto {
18
+ /**
19
+ * Whether the action is triggered manually or by the periodic scheduler
20
+ * @type {string}
21
+ * @memberof DomainTransferDetailWorkflowStepActionDto
22
+ */
23
+ invocationType: DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum;
24
+ /**
25
+ * For periodic actions, UTC instant when the periodic time gate becomes satisfied; null if not periodic or the gate is already open
26
+ * @type {Date}
27
+ * @memberof DomainTransferDetailWorkflowStepActionDto
28
+ */
29
+ nextAllowedInvocationAt: Date | null;
18
30
  /**
19
31
  * The domain transfer workflow step action name
20
32
  * @type {string}
@@ -28,6 +40,14 @@ export interface DomainTransferDetailWorkflowStepActionDto {
28
40
  */
29
41
  isAllowed: boolean;
30
42
  }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum: {
47
+ readonly MANUALLY: "manually";
48
+ readonly PERIODIC: "periodic";
49
+ };
50
+ export type DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum = typeof DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum[keyof typeof DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum];
31
51
  /**
32
52
  * Check if a given object implements the DomainTransferDetailWorkflowStepActionDto interface.
33
53
  */
@@ -13,15 +13,27 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum = void 0;
16
17
  exports.instanceOfDomainTransferDetailWorkflowStepActionDto = instanceOfDomainTransferDetailWorkflowStepActionDto;
17
18
  exports.DomainTransferDetailWorkflowStepActionDtoFromJSON = DomainTransferDetailWorkflowStepActionDtoFromJSON;
18
19
  exports.DomainTransferDetailWorkflowStepActionDtoFromJSONTyped = DomainTransferDetailWorkflowStepActionDtoFromJSONTyped;
19
20
  exports.DomainTransferDetailWorkflowStepActionDtoToJSON = DomainTransferDetailWorkflowStepActionDtoToJSON;
20
21
  exports.DomainTransferDetailWorkflowStepActionDtoToJSONTyped = DomainTransferDetailWorkflowStepActionDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum = {
26
+ MANUALLY: 'manually',
27
+ PERIODIC: 'periodic'
28
+ };
21
29
  /**
22
30
  * Check if a given object implements the DomainTransferDetailWorkflowStepActionDto interface.
23
31
  */
24
32
  function instanceOfDomainTransferDetailWorkflowStepActionDto(value) {
33
+ if (!('invocationType' in value) || value['invocationType'] === undefined)
34
+ return false;
35
+ if (!('nextAllowedInvocationAt' in value) || value['nextAllowedInvocationAt'] === undefined)
36
+ return false;
25
37
  if (!('name' in value) || value['name'] === undefined)
26
38
  return false;
27
39
  if (!('isAllowed' in value) || value['isAllowed'] === undefined)
@@ -36,6 +48,8 @@ function DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json, ignoreDisc
36
48
  return json;
37
49
  }
38
50
  return {
51
+ 'invocationType': json['invocationType'],
52
+ 'nextAllowedInvocationAt': (json['nextAllowedInvocationAt'] == null ? null : new Date(json['nextAllowedInvocationAt'])),
39
53
  'name': json['name'],
40
54
  'isAllowed': json['isAllowed'],
41
55
  };
@@ -49,6 +63,8 @@ function DomainTransferDetailWorkflowStepActionDtoToJSONTyped(value, ignoreDiscr
49
63
  return value;
50
64
  }
51
65
  return {
66
+ 'invocationType': value['invocationType'],
67
+ 'nextAllowedInvocationAt': (value['nextAllowedInvocationAt'] == null ? null : value['nextAllowedInvocationAt'].toISOString()),
52
68
  'name': value['name'],
53
69
  'isAllowed': value['isAllowed'],
54
70
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.408",
3
+ "version": "0.0.409",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,6 +19,18 @@ import { mapValues } from '../runtime';
19
19
  * @interface DomainTransferDetailWorkflowStepActionDto
20
20
  */
21
21
  export interface DomainTransferDetailWorkflowStepActionDto {
22
+ /**
23
+ * Whether the action is triggered manually or by the periodic scheduler
24
+ * @type {string}
25
+ * @memberof DomainTransferDetailWorkflowStepActionDto
26
+ */
27
+ invocationType: DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum;
28
+ /**
29
+ * For periodic actions, UTC instant when the periodic time gate becomes satisfied; null if not periodic or the gate is already open
30
+ * @type {Date}
31
+ * @memberof DomainTransferDetailWorkflowStepActionDto
32
+ */
33
+ nextAllowedInvocationAt: Date | null;
22
34
  /**
23
35
  * The domain transfer workflow step action name
24
36
  * @type {string}
@@ -33,10 +45,23 @@ export interface DomainTransferDetailWorkflowStepActionDto {
33
45
  isAllowed: boolean;
34
46
  }
35
47
 
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum = {
53
+ MANUALLY: 'manually',
54
+ PERIODIC: 'periodic'
55
+ } as const;
56
+ export type DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum = typeof DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum[keyof typeof DomainTransferDetailWorkflowStepActionDtoInvocationTypeEnum];
57
+
58
+
36
59
  /**
37
60
  * Check if a given object implements the DomainTransferDetailWorkflowStepActionDto interface.
38
61
  */
39
62
  export function instanceOfDomainTransferDetailWorkflowStepActionDto(value: object): value is DomainTransferDetailWorkflowStepActionDto {
63
+ if (!('invocationType' in value) || value['invocationType'] === undefined) return false;
64
+ if (!('nextAllowedInvocationAt' in value) || value['nextAllowedInvocationAt'] === undefined) return false;
40
65
  if (!('name' in value) || value['name'] === undefined) return false;
41
66
  if (!('isAllowed' in value) || value['isAllowed'] === undefined) return false;
42
67
  return true;
@@ -52,6 +77,8 @@ export function DomainTransferDetailWorkflowStepActionDtoFromJSONTyped(json: any
52
77
  }
53
78
  return {
54
79
 
80
+ 'invocationType': json['invocationType'],
81
+ 'nextAllowedInvocationAt': (json['nextAllowedInvocationAt'] == null ? null : new Date(json['nextAllowedInvocationAt'])),
55
82
  'name': json['name'],
56
83
  'isAllowed': json['isAllowed'],
57
84
  };
@@ -68,6 +95,8 @@ export function DomainTransferDetailWorkflowStepActionDtoToJSONTyped(value?: Dom
68
95
 
69
96
  return {
70
97
 
98
+ 'invocationType': value['invocationType'],
99
+ 'nextAllowedInvocationAt': (value['nextAllowedInvocationAt'] == null ? null : (value['nextAllowedInvocationAt'] as any).toISOString()),
71
100
  'name': value['name'],
72
101
  'isAllowed': value['isAllowed'],
73
102
  };