@salesforce/lds-adapters-platform-interaction-orchestrator 1.282.0 → 1.284.0
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.
|
@@ -91,7 +91,7 @@ function createLink(ref) {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
const VERSION$4 = "
|
|
94
|
+
const VERSION$4 = "388a6ce1e0c17b0241040602001273c3";
|
|
95
95
|
function validate$4(obj, path = 'FlowOrchestrationWorkItemRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -102,6 +102,11 @@ function validate$4(obj, path = 'FlowOrchestrationWorkItemRepresentation') {
|
|
|
102
102
|
if (typeof obj_assigneeId !== 'string') {
|
|
103
103
|
return new TypeError('Expected "string" but received "' + typeof obj_assigneeId + '" (at "' + path_assigneeId + '")');
|
|
104
104
|
}
|
|
105
|
+
const obj_createdDate = obj.createdDate;
|
|
106
|
+
const path_createdDate = path + '.createdDate';
|
|
107
|
+
if (typeof obj_createdDate !== 'string') {
|
|
108
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
109
|
+
}
|
|
105
110
|
const obj_description = obj.description;
|
|
106
111
|
const path_description = path + '.description';
|
|
107
112
|
let obj_description_union0 = null;
|
|
@@ -159,6 +164,11 @@ function validate$4(obj, path = 'FlowOrchestrationWorkItemRepresentation') {
|
|
|
159
164
|
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
160
165
|
return new TypeError(message);
|
|
161
166
|
}
|
|
167
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
168
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
169
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
170
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
171
|
+
}
|
|
162
172
|
const obj_relatedRecordId = obj.relatedRecordId;
|
|
163
173
|
const path_relatedRecordId = path + '.relatedRecordId';
|
|
164
174
|
let obj_relatedRecordId_union0 = null;
|
|
@@ -218,6 +228,10 @@ const select$5 = function FlowOrchestrationWorkItemRepresentationSelect() {
|
|
|
218
228
|
name: 'assigneeId',
|
|
219
229
|
kind: 'Scalar'
|
|
220
230
|
},
|
|
231
|
+
{
|
|
232
|
+
name: 'createdDate',
|
|
233
|
+
kind: 'Scalar'
|
|
234
|
+
},
|
|
221
235
|
{
|
|
222
236
|
name: 'description',
|
|
223
237
|
kind: 'Scalar'
|
|
@@ -230,6 +244,10 @@ const select$5 = function FlowOrchestrationWorkItemRepresentationSelect() {
|
|
|
230
244
|
name: 'label',
|
|
231
245
|
kind: 'Scalar'
|
|
232
246
|
},
|
|
247
|
+
{
|
|
248
|
+
name: 'lastModifiedDate',
|
|
249
|
+
kind: 'Scalar'
|
|
250
|
+
},
|
|
233
251
|
{
|
|
234
252
|
name: 'relatedRecordId',
|
|
235
253
|
kind: 'Scalar'
|
|
@@ -259,11 +277,21 @@ function equals$4(existing, incoming) {
|
|
|
259
277
|
if (!(existing_assigneeId === incoming_assigneeId)) {
|
|
260
278
|
return false;
|
|
261
279
|
}
|
|
280
|
+
const existing_createdDate = existing.createdDate;
|
|
281
|
+
const incoming_createdDate = incoming.createdDate;
|
|
282
|
+
if (!(existing_createdDate === incoming_createdDate)) {
|
|
283
|
+
return false;
|
|
284
|
+
}
|
|
262
285
|
const existing_id = existing.id;
|
|
263
286
|
const incoming_id = incoming.id;
|
|
264
287
|
if (!(existing_id === incoming_id)) {
|
|
265
288
|
return false;
|
|
266
289
|
}
|
|
290
|
+
const existing_lastModifiedDate = existing.lastModifiedDate;
|
|
291
|
+
const incoming_lastModifiedDate = incoming.lastModifiedDate;
|
|
292
|
+
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
293
|
+
return false;
|
|
294
|
+
}
|
|
267
295
|
const existing_screenFlowDeveloperName = existing.screenFlowDeveloperName;
|
|
268
296
|
const incoming_screenFlowDeveloperName = incoming.screenFlowDeveloperName;
|
|
269
297
|
if (!(existing_screenFlowDeveloperName === incoming_screenFlowDeveloperName)) {
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationWorkItemRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "388a6ce1e0c17b0241040602001273c3";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: FlowOrchestrationWorkItemRepresentation, existing: FlowOrchestrationWorkItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlowOrchestrationWorkItemRepresentationNormalized;
|
|
@@ -16,12 +16,16 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface FlowOrchestrationWorkItemRepresentationNormalized {
|
|
17
17
|
/** The assignee for this Orchestrator work item */
|
|
18
18
|
assigneeId: string;
|
|
19
|
+
/** Date the work item was created */
|
|
20
|
+
createdDate: string;
|
|
19
21
|
/** Description for this Orchestration work item */
|
|
20
22
|
description: string | null;
|
|
21
23
|
/** Orchestration work item id */
|
|
22
24
|
id: string;
|
|
23
25
|
/** Label key for this work item */
|
|
24
26
|
label: string | null;
|
|
27
|
+
/** Date the work item was last modified */
|
|
28
|
+
lastModifiedDate: string;
|
|
25
29
|
/** The record this work item is related to */
|
|
26
30
|
relatedRecordId: string | null;
|
|
27
31
|
/** Developer name of the screen flow to start when assignees work on this work item */
|
|
@@ -41,9 +45,11 @@ export interface FlowOrchestrationWorkItemRepresentationNormalized {
|
|
|
41
45
|
*/
|
|
42
46
|
export interface FlowOrchestrationWorkItemRepresentation {
|
|
43
47
|
assigneeId: string;
|
|
48
|
+
createdDate: string;
|
|
44
49
|
description: string | null;
|
|
45
50
|
id: string;
|
|
46
51
|
label: string | null;
|
|
52
|
+
lastModifiedDate: string;
|
|
47
53
|
relatedRecordId: string | null;
|
|
48
54
|
screenFlowDeveloperName: string;
|
|
49
55
|
screenFlowId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-interaction-orchestrator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.284.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Interaction Orchestrator APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-interaction-orchestrator.js",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-interaction-orchestrator"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salesforce/lds-bindings": "^1.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.284.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
49
|
-
"@salesforce/lds-karma": "^1.
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.284.0",
|
|
49
|
+
"@salesforce/lds-karma": "^1.284.0"
|
|
50
50
|
},
|
|
51
51
|
"nx": {
|
|
52
52
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -101,7 +101,7 @@ function createLink(ref) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
const VERSION$4 = "
|
|
104
|
+
const VERSION$4 = "388a6ce1e0c17b0241040602001273c3";
|
|
105
105
|
function validate$4(obj, path = 'FlowOrchestrationWorkItemRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -112,6 +112,11 @@ function validate$4(obj, path = 'FlowOrchestrationWorkItemRepresentation') {
|
|
|
112
112
|
if (typeof obj_assigneeId !== 'string') {
|
|
113
113
|
return new TypeError('Expected "string" but received "' + typeof obj_assigneeId + '" (at "' + path_assigneeId + '")');
|
|
114
114
|
}
|
|
115
|
+
const obj_createdDate = obj.createdDate;
|
|
116
|
+
const path_createdDate = path + '.createdDate';
|
|
117
|
+
if (typeof obj_createdDate !== 'string') {
|
|
118
|
+
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
119
|
+
}
|
|
115
120
|
const obj_description = obj.description;
|
|
116
121
|
const path_description = path + '.description';
|
|
117
122
|
let obj_description_union0 = null;
|
|
@@ -169,6 +174,11 @@ function validate$4(obj, path = 'FlowOrchestrationWorkItemRepresentation') {
|
|
|
169
174
|
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
170
175
|
return new TypeError(message);
|
|
171
176
|
}
|
|
177
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
178
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
179
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
180
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
181
|
+
}
|
|
172
182
|
const obj_relatedRecordId = obj.relatedRecordId;
|
|
173
183
|
const path_relatedRecordId = path + '.relatedRecordId';
|
|
174
184
|
let obj_relatedRecordId_union0 = null;
|
|
@@ -228,6 +238,10 @@ const select$5 = function FlowOrchestrationWorkItemRepresentationSelect() {
|
|
|
228
238
|
name: 'assigneeId',
|
|
229
239
|
kind: 'Scalar'
|
|
230
240
|
},
|
|
241
|
+
{
|
|
242
|
+
name: 'createdDate',
|
|
243
|
+
kind: 'Scalar'
|
|
244
|
+
},
|
|
231
245
|
{
|
|
232
246
|
name: 'description',
|
|
233
247
|
kind: 'Scalar'
|
|
@@ -240,6 +254,10 @@ const select$5 = function FlowOrchestrationWorkItemRepresentationSelect() {
|
|
|
240
254
|
name: 'label',
|
|
241
255
|
kind: 'Scalar'
|
|
242
256
|
},
|
|
257
|
+
{
|
|
258
|
+
name: 'lastModifiedDate',
|
|
259
|
+
kind: 'Scalar'
|
|
260
|
+
},
|
|
243
261
|
{
|
|
244
262
|
name: 'relatedRecordId',
|
|
245
263
|
kind: 'Scalar'
|
|
@@ -269,11 +287,21 @@ function equals$4(existing, incoming) {
|
|
|
269
287
|
if (!(existing_assigneeId === incoming_assigneeId)) {
|
|
270
288
|
return false;
|
|
271
289
|
}
|
|
290
|
+
const existing_createdDate = existing.createdDate;
|
|
291
|
+
const incoming_createdDate = incoming.createdDate;
|
|
292
|
+
if (!(existing_createdDate === incoming_createdDate)) {
|
|
293
|
+
return false;
|
|
294
|
+
}
|
|
272
295
|
const existing_id = existing.id;
|
|
273
296
|
const incoming_id = incoming.id;
|
|
274
297
|
if (!(existing_id === incoming_id)) {
|
|
275
298
|
return false;
|
|
276
299
|
}
|
|
300
|
+
const existing_lastModifiedDate = existing.lastModifiedDate;
|
|
301
|
+
const incoming_lastModifiedDate = incoming.lastModifiedDate;
|
|
302
|
+
if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
|
|
303
|
+
return false;
|
|
304
|
+
}
|
|
277
305
|
const existing_screenFlowDeveloperName = existing.screenFlowDeveloperName;
|
|
278
306
|
const incoming_screenFlowDeveloperName = incoming.screenFlowDeveloperName;
|
|
279
307
|
if (!(existing_screenFlowDeveloperName === incoming_screenFlowDeveloperName)) {
|
|
@@ -1103,4 +1131,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1103
1131
|
});
|
|
1104
1132
|
|
|
1105
1133
|
export { getOrchestrationInstanceCollection, getOrchestrationInstanceCollection_imperative };
|
|
1106
|
-
// version: 1.
|
|
1134
|
+
// version: 1.284.0-8b78b708e
|
package/src/raml/api.raml
CHANGED
|
@@ -132,6 +132,9 @@ types:
|
|
|
132
132
|
assigneeId:
|
|
133
133
|
description: The assignee for this Orchestrator work item
|
|
134
134
|
type: string
|
|
135
|
+
createdDate:
|
|
136
|
+
description: Date the work item was created
|
|
137
|
+
type: string
|
|
135
138
|
description:
|
|
136
139
|
description: Description for this Orchestration work item
|
|
137
140
|
type: string | nil
|
|
@@ -141,6 +144,9 @@ types:
|
|
|
141
144
|
label:
|
|
142
145
|
description: Label key for this work item
|
|
143
146
|
type: string | nil
|
|
147
|
+
lastModifiedDate:
|
|
148
|
+
description: Date the work item was last modified
|
|
149
|
+
type: string
|
|
144
150
|
relatedRecordId:
|
|
145
151
|
description: The record this work item is related to
|
|
146
152
|
type: string | nil
|