@salesforce/lds-adapters-service-serviceplan 1.419.0 → 1.421.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.
|
@@ -1077,7 +1077,7 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
|
|
|
1077
1077
|
return v_error === undefined ? null : v_error;
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
-
const VERSION$1 = "
|
|
1080
|
+
const VERSION$1 = "63686425bd92190e7c99b12071778822";
|
|
1081
1081
|
function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
|
|
1082
1082
|
const v_error = (() => {
|
|
1083
1083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1192,6 +1192,32 @@ function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
|
|
|
1192
1192
|
if (typeof obj_hasContextChanged !== 'boolean') {
|
|
1193
1193
|
return new TypeError('Expected "boolean" but received "' + typeof obj_hasContextChanged + '" (at "' + path_hasContextChanged + '")');
|
|
1194
1194
|
}
|
|
1195
|
+
const obj_language = obj.language;
|
|
1196
|
+
const path_language = path + '.language';
|
|
1197
|
+
let obj_language_union0 = null;
|
|
1198
|
+
const obj_language_union0_error = (() => {
|
|
1199
|
+
if (typeof obj_language !== 'string') {
|
|
1200
|
+
return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
|
|
1201
|
+
}
|
|
1202
|
+
})();
|
|
1203
|
+
if (obj_language_union0_error != null) {
|
|
1204
|
+
obj_language_union0 = obj_language_union0_error.message;
|
|
1205
|
+
}
|
|
1206
|
+
let obj_language_union1 = null;
|
|
1207
|
+
const obj_language_union1_error = (() => {
|
|
1208
|
+
if (obj_language !== null) {
|
|
1209
|
+
return new TypeError('Expected "null" but received "' + typeof obj_language + '" (at "' + path_language + '")');
|
|
1210
|
+
}
|
|
1211
|
+
})();
|
|
1212
|
+
if (obj_language_union1_error != null) {
|
|
1213
|
+
obj_language_union1 = obj_language_union1_error.message;
|
|
1214
|
+
}
|
|
1215
|
+
if (obj_language_union0 && obj_language_union1) {
|
|
1216
|
+
let message = 'Object doesn\'t match union (at "' + path_language + '")';
|
|
1217
|
+
message += '\n' + obj_language_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1218
|
+
message += '\n' + obj_language_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1219
|
+
return new TypeError(message);
|
|
1220
|
+
}
|
|
1195
1221
|
const obj_planHeader = obj.planHeader;
|
|
1196
1222
|
const path_planHeader = path + '.planHeader';
|
|
1197
1223
|
let obj_planHeader_union0 = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ServicePlanStepDetailsRepresentation as ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation } from './ServicePlanStepDetailsRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "63686425bd92190e7c99b12071778822";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ServicePlanDetailsRepresentation, existing: ServicePlanDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDetailsRepresentationNormalized;
|
|
@@ -25,6 +25,8 @@ export interface ServicePlanDetailsRepresentationNormalized {
|
|
|
25
25
|
feedbackId: string | null;
|
|
26
26
|
/** Has Context Changed */
|
|
27
27
|
hasContextChanged: boolean;
|
|
28
|
+
/** Language */
|
|
29
|
+
language: string | null;
|
|
28
30
|
/** PlanHeader */
|
|
29
31
|
planHeader: string | null;
|
|
30
32
|
/** Plan ID */
|
|
@@ -46,6 +48,7 @@ export interface ServicePlanDetailsRepresentation {
|
|
|
46
48
|
executionStatus: string | null;
|
|
47
49
|
feedbackId: string | null;
|
|
48
50
|
hasContextChanged: boolean;
|
|
51
|
+
language: string | null;
|
|
49
52
|
planHeader: string | null;
|
|
50
53
|
planId: string | null;
|
|
51
54
|
servicePlanSteps: Array<ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-serviceplan",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.421.0",
|
|
4
4
|
"description": "collectionof service plan apis",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-serviceplan.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.421.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.421.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1087,7 +1087,7 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
|
|
|
1087
1087
|
return v_error === undefined ? null : v_error;
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
|
-
const VERSION$1 = "
|
|
1090
|
+
const VERSION$1 = "63686425bd92190e7c99b12071778822";
|
|
1091
1091
|
function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
|
|
1092
1092
|
const v_error = (() => {
|
|
1093
1093
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1202,6 +1202,32 @@ function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
|
|
|
1202
1202
|
if (typeof obj_hasContextChanged !== 'boolean') {
|
|
1203
1203
|
return new TypeError('Expected "boolean" but received "' + typeof obj_hasContextChanged + '" (at "' + path_hasContextChanged + '")');
|
|
1204
1204
|
}
|
|
1205
|
+
const obj_language = obj.language;
|
|
1206
|
+
const path_language = path + '.language';
|
|
1207
|
+
let obj_language_union0 = null;
|
|
1208
|
+
const obj_language_union0_error = (() => {
|
|
1209
|
+
if (typeof obj_language !== 'string') {
|
|
1210
|
+
return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
|
|
1211
|
+
}
|
|
1212
|
+
})();
|
|
1213
|
+
if (obj_language_union0_error != null) {
|
|
1214
|
+
obj_language_union0 = obj_language_union0_error.message;
|
|
1215
|
+
}
|
|
1216
|
+
let obj_language_union1 = null;
|
|
1217
|
+
const obj_language_union1_error = (() => {
|
|
1218
|
+
if (obj_language !== null) {
|
|
1219
|
+
return new TypeError('Expected "null" but received "' + typeof obj_language + '" (at "' + path_language + '")');
|
|
1220
|
+
}
|
|
1221
|
+
})();
|
|
1222
|
+
if (obj_language_union1_error != null) {
|
|
1223
|
+
obj_language_union1 = obj_language_union1_error.message;
|
|
1224
|
+
}
|
|
1225
|
+
if (obj_language_union0 && obj_language_union1) {
|
|
1226
|
+
let message = 'Object doesn\'t match union (at "' + path_language + '")';
|
|
1227
|
+
message += '\n' + obj_language_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1228
|
+
message += '\n' + obj_language_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1229
|
+
return new TypeError(message);
|
|
1230
|
+
}
|
|
1205
1231
|
const obj_planHeader = obj.planHeader;
|
|
1206
1232
|
const path_planHeader = path + '.planHeader';
|
|
1207
1233
|
let obj_planHeader_union0 = null;
|
|
@@ -1749,4 +1775,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1749
1775
|
});
|
|
1750
1776
|
|
|
1751
1777
|
export { executeServicePlan, generateServicePlan, getGenerationRequest, getGenerationRequest_imperative, getServicePlan, getServicePlanNotifyChange, getServicePlan_imperative, notifyServicePlanDetailsUpdateAvailable, notifyServicePlanGenerationUpdateAvailable };
|
|
1752
|
-
// version: 1.
|
|
1778
|
+
// version: 1.421.0-45320a2742
|
package/src/raml/api.raml
CHANGED
|
@@ -88,6 +88,9 @@ types:
|
|
|
88
88
|
topic:
|
|
89
89
|
description: Topic
|
|
90
90
|
type: string | nil #handRolled
|
|
91
|
+
language:
|
|
92
|
+
description: Language
|
|
93
|
+
type: string | nil #handRolled
|
|
91
94
|
ServicePlanExecutionInputRepresentation:
|
|
92
95
|
description: Represents a generated service plan input context required for service plan execution
|
|
93
96
|
type: object
|