@randock/nameshift-api-client 0.0.554 → 0.0.555
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/.openapi-generator/FILES +5 -0
- package/README.md +3 -3
- package/dist/models/AutomationActionDelayDto.d.ts +45 -0
- package/dist/models/AutomationActionDelayDto.js +60 -0
- package/dist/models/AutomationActionDelayInput.d.ts +45 -0
- package/dist/models/AutomationActionDelayInput.js +60 -0
- package/dist/models/AutomationActionDelayUnitEnum.d.ts +25 -0
- package/dist/models/AutomationActionDelayUnitEnum.js +51 -0
- package/dist/models/AutomationActionDto.d.ts +7 -0
- package/dist/models/AutomationActionDto.js +5 -0
- package/dist/models/AutomationActionInput.d.ts +7 -0
- package/dist/models/AutomationActionInput.js +3 -0
- package/dist/models/AutomationActionStatusEnum.d.ts +2 -0
- package/dist/models/AutomationActionStatusEnum.js +3 -1
- package/dist/models/AutomationActionTypeEnum.d.ts +1 -0
- package/dist/models/AutomationActionTypeEnum.js +2 -1
- package/dist/models/AutomationCatalogActionDelayUnitDto.d.ts +45 -0
- package/dist/models/AutomationCatalogActionDelayUnitDto.js +60 -0
- package/dist/models/AutomationCatalogDto.d.ts +14 -0
- package/dist/models/AutomationCatalogDto.js +10 -0
- package/dist/models/AutomationRunActionDto.d.ts +7 -1
- package/dist/models/AutomationRunActionDto.js +4 -0
- package/dist/models/AutomationSimulationDelayedActionDto.d.ts +40 -0
- package/dist/models/AutomationSimulationDelayedActionDto.js +57 -0
- package/dist/models/AutomationSimulationDto.d.ts +7 -0
- package/dist/models/AutomationSimulationDto.js +5 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/models/AutomationActionDelayDto.ts +94 -0
- package/src/models/AutomationActionDelayInput.ts +94 -0
- package/src/models/AutomationActionDelayUnitEnum.ts +53 -0
- package/src/models/AutomationActionDto.ts +16 -0
- package/src/models/AutomationActionInput.ts +15 -0
- package/src/models/AutomationActionStatusEnum.ts +3 -1
- package/src/models/AutomationActionTypeEnum.ts +2 -1
- package/src/models/AutomationCatalogActionDelayUnitDto.ts +94 -0
- package/src/models/AutomationCatalogDto.ts +32 -0
- package/src/models/AutomationRunActionDto.ts +10 -1
- package/src/models/AutomationSimulationDelayedActionDto.ts +92 -0
- package/src/models/AutomationSimulationDto.ts +16 -0
- package/src/models/index.ts +5 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AutomationActionDelayUnitEnum } from './AutomationActionDelayUnitEnum';
|
|
17
|
+
import {
|
|
18
|
+
AutomationActionDelayUnitEnumFromJSON,
|
|
19
|
+
AutomationActionDelayUnitEnumFromJSONTyped,
|
|
20
|
+
AutomationActionDelayUnitEnumToJSON,
|
|
21
|
+
AutomationActionDelayUnitEnumToJSONTyped,
|
|
22
|
+
} from './AutomationActionDelayUnitEnum';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AutomationCatalogActionDelayUnitDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AutomationCatalogActionDelayUnitDto {
|
|
30
|
+
/**
|
|
31
|
+
* Unit an action can wait in.
|
|
32
|
+
* @type {AutomationActionDelayUnitEnum}
|
|
33
|
+
* @memberof AutomationCatalogActionDelayUnitDto
|
|
34
|
+
*/
|
|
35
|
+
unit: AutomationActionDelayUnitEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Smallest amount of the unit.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AutomationCatalogActionDelayUnitDto
|
|
40
|
+
*/
|
|
41
|
+
minAmount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Largest amount of the unit.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AutomationCatalogActionDelayUnitDto
|
|
46
|
+
*/
|
|
47
|
+
maxAmount: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AutomationCatalogActionDelayUnitDto interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfAutomationCatalogActionDelayUnitDto(value: object): value is AutomationCatalogActionDelayUnitDto {
|
|
56
|
+
if (!('unit' in value) || value['unit'] === undefined) return false;
|
|
57
|
+
if (!('minAmount' in value) || value['minAmount'] === undefined) return false;
|
|
58
|
+
if (!('maxAmount' in value) || value['maxAmount'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function AutomationCatalogActionDelayUnitDtoFromJSON(json: any): AutomationCatalogActionDelayUnitDto {
|
|
63
|
+
return AutomationCatalogActionDelayUnitDtoFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function AutomationCatalogActionDelayUnitDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationCatalogActionDelayUnitDto {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'unit': AutomationActionDelayUnitEnumFromJSON(json['unit']),
|
|
73
|
+
'minAmount': json['minAmount'],
|
|
74
|
+
'maxAmount': json['maxAmount'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function AutomationCatalogActionDelayUnitDtoToJSON(json: any): AutomationCatalogActionDelayUnitDto {
|
|
79
|
+
return AutomationCatalogActionDelayUnitDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function AutomationCatalogActionDelayUnitDtoToJSONTyped(value?: AutomationCatalogActionDelayUnitDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'unit': AutomationActionDelayUnitEnumToJSON(value['unit']),
|
|
90
|
+
'minAmount': value['minAmount'],
|
|
91
|
+
'maxAmount': value['maxAmount'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -20,6 +20,20 @@ import {
|
|
|
20
20
|
AutomationCatalogTriggerDtoToJSON,
|
|
21
21
|
AutomationCatalogTriggerDtoToJSONTyped,
|
|
22
22
|
} from './AutomationCatalogTriggerDto';
|
|
23
|
+
import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
|
|
24
|
+
import {
|
|
25
|
+
AutomationActionTypeEnumFromJSON,
|
|
26
|
+
AutomationActionTypeEnumFromJSONTyped,
|
|
27
|
+
AutomationActionTypeEnumToJSON,
|
|
28
|
+
AutomationActionTypeEnumToJSONTyped,
|
|
29
|
+
} from './AutomationActionTypeEnum';
|
|
30
|
+
import type { AutomationCatalogActionDelayUnitDto } from './AutomationCatalogActionDelayUnitDto';
|
|
31
|
+
import {
|
|
32
|
+
AutomationCatalogActionDelayUnitDtoFromJSON,
|
|
33
|
+
AutomationCatalogActionDelayUnitDtoFromJSONTyped,
|
|
34
|
+
AutomationCatalogActionDelayUnitDtoToJSON,
|
|
35
|
+
AutomationCatalogActionDelayUnitDtoToJSONTyped,
|
|
36
|
+
} from './AutomationCatalogActionDelayUnitDto';
|
|
23
37
|
import type { AutomationCatalogDelayUnitDto } from './AutomationCatalogDelayUnitDto';
|
|
24
38
|
import {
|
|
25
39
|
AutomationCatalogDelayUnitDtoFromJSON,
|
|
@@ -71,6 +85,18 @@ export interface AutomationCatalogDto {
|
|
|
71
85
|
* @memberof AutomationCatalogDto
|
|
72
86
|
*/
|
|
73
87
|
delayUnits: Array<AutomationCatalogDelayUnitDto>;
|
|
88
|
+
/**
|
|
89
|
+
* Actions that can wait before they run.
|
|
90
|
+
* @type {Array<AutomationActionTypeEnum>}
|
|
91
|
+
* @memberof AutomationCatalogDto
|
|
92
|
+
*/
|
|
93
|
+
delayableActions: Array<AutomationActionTypeEnum>;
|
|
94
|
+
/**
|
|
95
|
+
* Units an action can wait in, with the amounts each takes.
|
|
96
|
+
* @type {Array<AutomationCatalogActionDelayUnitDto>}
|
|
97
|
+
* @memberof AutomationCatalogDto
|
|
98
|
+
*/
|
|
99
|
+
actionDelayUnits: Array<AutomationCatalogActionDelayUnitDto>;
|
|
74
100
|
/**
|
|
75
101
|
* Currencies a condition on a currency can name.
|
|
76
102
|
* @type {Array<string>}
|
|
@@ -100,6 +126,8 @@ export function instanceOfAutomationCatalogDto(value: object): value is Automati
|
|
|
100
126
|
if (!('maxConditions' in value) || value['maxConditions'] === undefined) return false;
|
|
101
127
|
if (!('maxDepth' in value) || value['maxDepth'] === undefined) return false;
|
|
102
128
|
if (!('delayUnits' in value) || value['delayUnits'] === undefined) return false;
|
|
129
|
+
if (!('delayableActions' in value) || value['delayableActions'] === undefined) return false;
|
|
130
|
+
if (!('actionDelayUnits' in value) || value['actionDelayUnits'] === undefined) return false;
|
|
103
131
|
if (!('currencies' in value) || value['currencies'] === undefined) return false;
|
|
104
132
|
if (!('messageVariables' in value) || value['messageVariables'] === undefined) return false;
|
|
105
133
|
if (!('maxMessageLength' in value) || value['maxMessageLength'] === undefined) return false;
|
|
@@ -121,6 +149,8 @@ export function AutomationCatalogDtoFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
121
149
|
'maxConditions': json['maxConditions'],
|
|
122
150
|
'maxDepth': json['maxDepth'],
|
|
123
151
|
'delayUnits': ((json['delayUnits'] as Array<any>).map(AutomationCatalogDelayUnitDtoFromJSON)),
|
|
152
|
+
'delayableActions': ((json['delayableActions'] as Array<any>).map(AutomationActionTypeEnumFromJSON)),
|
|
153
|
+
'actionDelayUnits': ((json['actionDelayUnits'] as Array<any>).map(AutomationCatalogActionDelayUnitDtoFromJSON)),
|
|
124
154
|
'currencies': json['currencies'],
|
|
125
155
|
'messageVariables': ((json['messageVariables'] as Array<any>).map(QuickReplyVariableEnumFromJSON)),
|
|
126
156
|
'maxMessageLength': json['maxMessageLength'],
|
|
@@ -143,6 +173,8 @@ export function AutomationCatalogDtoToJSONTyped(value?: AutomationCatalogDto | n
|
|
|
143
173
|
'maxConditions': value['maxConditions'],
|
|
144
174
|
'maxDepth': value['maxDepth'],
|
|
145
175
|
'delayUnits': ((value['delayUnits'] as Array<any>).map(AutomationCatalogDelayUnitDtoToJSON)),
|
|
176
|
+
'delayableActions': ((value['delayableActions'] as Array<any>).map(AutomationActionTypeEnumToJSON)),
|
|
177
|
+
'actionDelayUnits': ((value['actionDelayUnits'] as Array<any>).map(AutomationCatalogActionDelayUnitDtoToJSON)),
|
|
146
178
|
'currencies': value['currencies'],
|
|
147
179
|
'messageVariables': ((value['messageVariables'] as Array<any>).map(QuickReplyVariableEnumToJSON)),
|
|
148
180
|
'maxMessageLength': value['maxMessageLength'],
|
|
@@ -47,11 +47,17 @@ export interface AutomationRunActionDto {
|
|
|
47
47
|
*/
|
|
48
48
|
status: AutomationActionStatusEnum;
|
|
49
49
|
/**
|
|
50
|
-
* Code of why the action was skipped or
|
|
50
|
+
* Code of why the action was skipped, failed or called off.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof AutomationRunActionDto
|
|
53
53
|
*/
|
|
54
54
|
reason: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* When an action that waits was due.
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof AutomationRunActionDto
|
|
59
|
+
*/
|
|
60
|
+
scheduledFor: Date | null;
|
|
55
61
|
}
|
|
56
62
|
|
|
57
63
|
|
|
@@ -63,6 +69,7 @@ export function instanceOfAutomationRunActionDto(value: object): value is Automa
|
|
|
63
69
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
64
70
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
65
71
|
if (!('reason' in value) || value['reason'] === undefined) return false;
|
|
72
|
+
if (!('scheduledFor' in value) || value['scheduledFor'] === undefined) return false;
|
|
66
73
|
return true;
|
|
67
74
|
}
|
|
68
75
|
|
|
@@ -79,6 +86,7 @@ export function AutomationRunActionDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
79
86
|
'type': AutomationActionTypeEnumFromJSON(json['type']),
|
|
80
87
|
'status': AutomationActionStatusEnumFromJSON(json['status']),
|
|
81
88
|
'reason': json['reason'],
|
|
89
|
+
'scheduledFor': (json['scheduledFor'] == null ? null : new Date(json['scheduledFor'])),
|
|
82
90
|
};
|
|
83
91
|
}
|
|
84
92
|
|
|
@@ -96,6 +104,7 @@ export function AutomationRunActionDtoToJSONTyped(value?: AutomationRunActionDto
|
|
|
96
104
|
'type': AutomationActionTypeEnumToJSON(value['type']),
|
|
97
105
|
'status': AutomationActionStatusEnumToJSON(value['status']),
|
|
98
106
|
'reason': value['reason'],
|
|
107
|
+
'scheduledFor': (value['scheduledFor'] == null ? null : (value['scheduledFor'] as any).toISOString()),
|
|
99
108
|
};
|
|
100
109
|
}
|
|
101
110
|
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
|
|
17
|
+
import {
|
|
18
|
+
AutomationActionTypeEnumFromJSON,
|
|
19
|
+
AutomationActionTypeEnumFromJSONTyped,
|
|
20
|
+
AutomationActionTypeEnumToJSON,
|
|
21
|
+
AutomationActionTypeEnumToJSONTyped,
|
|
22
|
+
} from './AutomationActionTypeEnum';
|
|
23
|
+
import type { AutomationActionDelayDto } from './AutomationActionDelayDto';
|
|
24
|
+
import {
|
|
25
|
+
AutomationActionDelayDtoFromJSON,
|
|
26
|
+
AutomationActionDelayDtoFromJSONTyped,
|
|
27
|
+
AutomationActionDelayDtoToJSON,
|
|
28
|
+
AutomationActionDelayDtoToJSONTyped,
|
|
29
|
+
} from './AutomationActionDelayDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface AutomationSimulationDelayedActionDto
|
|
35
|
+
*/
|
|
36
|
+
export interface AutomationSimulationDelayedActionDto {
|
|
37
|
+
/**
|
|
38
|
+
* Action that waits.
|
|
39
|
+
* @type {AutomationActionTypeEnum}
|
|
40
|
+
* @memberof AutomationSimulationDelayedActionDto
|
|
41
|
+
*/
|
|
42
|
+
type: AutomationActionTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Time the action waits before it runs.
|
|
45
|
+
* @type {AutomationActionDelayDto}
|
|
46
|
+
* @memberof AutomationSimulationDelayedActionDto
|
|
47
|
+
*/
|
|
48
|
+
delay: AutomationActionDelayDto;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the AutomationSimulationDelayedActionDto interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfAutomationSimulationDelayedActionDto(value: object): value is AutomationSimulationDelayedActionDto {
|
|
57
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
58
|
+
if (!('delay' in value) || value['delay'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function AutomationSimulationDelayedActionDtoFromJSON(json: any): AutomationSimulationDelayedActionDto {
|
|
63
|
+
return AutomationSimulationDelayedActionDtoFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function AutomationSimulationDelayedActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationSimulationDelayedActionDto {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'type': AutomationActionTypeEnumFromJSON(json['type']),
|
|
73
|
+
'delay': AutomationActionDelayDtoFromJSON(json['delay']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AutomationSimulationDelayedActionDtoToJSON(json: any): AutomationSimulationDelayedActionDto {
|
|
78
|
+
return AutomationSimulationDelayedActionDtoToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function AutomationSimulationDelayedActionDtoToJSONTyped(value?: AutomationSimulationDelayedActionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'type': AutomationActionTypeEnumToJSON(value['type']),
|
|
89
|
+
'delay': AutomationActionDelayDtoToJSON(value['delay']),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
AutomationActionTypeEnumToJSON,
|
|
28
28
|
AutomationActionTypeEnumToJSONTyped,
|
|
29
29
|
} from './AutomationActionTypeEnum';
|
|
30
|
+
import type { AutomationSimulationDelayedActionDto } from './AutomationSimulationDelayedActionDto';
|
|
31
|
+
import {
|
|
32
|
+
AutomationSimulationDelayedActionDtoFromJSON,
|
|
33
|
+
AutomationSimulationDelayedActionDtoFromJSONTyped,
|
|
34
|
+
AutomationSimulationDelayedActionDtoToJSON,
|
|
35
|
+
AutomationSimulationDelayedActionDtoToJSONTyped,
|
|
36
|
+
} from './AutomationSimulationDelayedActionDto';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -70,6 +77,12 @@ export interface AutomationSimulationDto {
|
|
|
70
77
|
* @memberof AutomationSimulationDto
|
|
71
78
|
*/
|
|
72
79
|
actions: Array<AutomationActionTypeEnum>;
|
|
80
|
+
/**
|
|
81
|
+
* The actions of the automation that wait before they run.
|
|
82
|
+
* @type {Array<AutomationSimulationDelayedActionDto>}
|
|
83
|
+
* @memberof AutomationSimulationDto
|
|
84
|
+
*/
|
|
85
|
+
delayedActions: Array<AutomationSimulationDelayedActionDto>;
|
|
73
86
|
}
|
|
74
87
|
|
|
75
88
|
/**
|
|
@@ -82,6 +95,7 @@ export function instanceOfAutomationSimulationDto(value: object): value is Autom
|
|
|
82
95
|
if (!('matched' in value) || value['matched'] === undefined) return false;
|
|
83
96
|
if (!('conditions' in value) || value['conditions'] === undefined) return false;
|
|
84
97
|
if (!('actions' in value) || value['actions'] === undefined) return false;
|
|
98
|
+
if (!('delayedActions' in value) || value['delayedActions'] === undefined) return false;
|
|
85
99
|
return true;
|
|
86
100
|
}
|
|
87
101
|
|
|
@@ -101,6 +115,7 @@ export function AutomationSimulationDtoFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
101
115
|
'matched': json['matched'],
|
|
102
116
|
'conditions': AutomationConditionGroupEvaluationDtoFromJSON(json['conditions']),
|
|
103
117
|
'actions': ((json['actions'] as Array<any>).map(AutomationActionTypeEnumFromJSON)),
|
|
118
|
+
'delayedActions': ((json['delayedActions'] as Array<any>).map(AutomationSimulationDelayedActionDtoFromJSON)),
|
|
104
119
|
};
|
|
105
120
|
}
|
|
106
121
|
|
|
@@ -121,6 +136,7 @@ export function AutomationSimulationDtoToJSONTyped(value?: AutomationSimulationD
|
|
|
121
136
|
'matched': value['matched'],
|
|
122
137
|
'conditions': AutomationConditionGroupEvaluationDtoToJSON(value['conditions']),
|
|
123
138
|
'actions': ((value['actions'] as Array<any>).map(AutomationActionTypeEnumToJSON)),
|
|
139
|
+
'delayedActions': ((value['delayedActions'] as Array<any>).map(AutomationSimulationDelayedActionDtoToJSON)),
|
|
124
140
|
};
|
|
125
141
|
}
|
|
126
142
|
|
package/src/models/index.ts
CHANGED
|
@@ -108,11 +108,15 @@ export * from './AuctionListItemDto';
|
|
|
108
108
|
export * from './AuctionListItemDtoDomainInformation';
|
|
109
109
|
export * from './AuctionListItemDtoSellerAccount';
|
|
110
110
|
export * from './AuctionsStatsDto';
|
|
111
|
+
export * from './AutomationActionDelayDto';
|
|
112
|
+
export * from './AutomationActionDelayInput';
|
|
113
|
+
export * from './AutomationActionDelayUnitEnum';
|
|
111
114
|
export * from './AutomationActionDto';
|
|
112
115
|
export * from './AutomationActionInput';
|
|
113
116
|
export * from './AutomationActionStatusEnum';
|
|
114
117
|
export * from './AutomationActionTypeEnum';
|
|
115
118
|
export * from './AutomationAggregateEnum';
|
|
119
|
+
export * from './AutomationCatalogActionDelayUnitDto';
|
|
116
120
|
export * from './AutomationCatalogDelayUnitDto';
|
|
117
121
|
export * from './AutomationCatalogDto';
|
|
118
122
|
export * from './AutomationCatalogFactDto';
|
|
@@ -140,6 +144,7 @@ export * from './AutomationRunActionDto';
|
|
|
140
144
|
export * from './AutomationRunAutomationDto';
|
|
141
145
|
export * from './AutomationRunDto';
|
|
142
146
|
export * from './AutomationRunLeadDto';
|
|
147
|
+
export * from './AutomationSimulationDelayedActionDto';
|
|
143
148
|
export * from './AutomationSimulationDto';
|
|
144
149
|
export * from './AutomationStatusInput';
|
|
145
150
|
export * from './AutomationTriggerEnum';
|