@salesforce/lds-adapters-service-ecm 1.332.0-dev2 → 1.332.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.
- package/dist/es/es2018/service-ecm.js +76 -2
- package/dist/es/es2018/types/src/generated/adapters/generateOmniScript.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +77 -3
- package/src/raml/api.raml +23 -14
- package/src/raml/luvio.raml +1 -1
- /package/dist/es/es2018/types/src/generated/resources/{postConnectServiceAutomationGenerateIntakeOmni.d.ts → postConnectIntakeFormGenerateIntakeOmni.d.ts} +0 -0
|
@@ -387,6 +387,34 @@ function validate$l(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
387
387
|
return new TypeError(message);
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
+
if (obj.isMandatory !== undefined) {
|
|
391
|
+
const obj_isMandatory = obj.isMandatory;
|
|
392
|
+
const path_isMandatory = path + '.isMandatory';
|
|
393
|
+
let obj_isMandatory_union0 = null;
|
|
394
|
+
const obj_isMandatory_union0_error = (() => {
|
|
395
|
+
if (typeof obj_isMandatory !== 'boolean') {
|
|
396
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
397
|
+
}
|
|
398
|
+
})();
|
|
399
|
+
if (obj_isMandatory_union0_error != null) {
|
|
400
|
+
obj_isMandatory_union0 = obj_isMandatory_union0_error.message;
|
|
401
|
+
}
|
|
402
|
+
let obj_isMandatory_union1 = null;
|
|
403
|
+
const obj_isMandatory_union1_error = (() => {
|
|
404
|
+
if (obj_isMandatory !== null) {
|
|
405
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
406
|
+
}
|
|
407
|
+
})();
|
|
408
|
+
if (obj_isMandatory_union1_error != null) {
|
|
409
|
+
obj_isMandatory_union1 = obj_isMandatory_union1_error.message;
|
|
410
|
+
}
|
|
411
|
+
if (obj_isMandatory_union0 && obj_isMandatory_union1) {
|
|
412
|
+
let message = 'Object doesn\'t match union (at "' + path_isMandatory + '")';
|
|
413
|
+
message += '\n' + obj_isMandatory_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
414
|
+
message += '\n' + obj_isMandatory_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
415
|
+
return new TypeError(message);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
390
418
|
if (obj.isReadOnly !== undefined) {
|
|
391
419
|
const obj_isReadOnly = obj.isReadOnly;
|
|
392
420
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -2030,7 +2058,7 @@ function equals$6(existing, incoming) {
|
|
|
2030
2058
|
return true;
|
|
2031
2059
|
}
|
|
2032
2060
|
|
|
2033
|
-
const VERSION$5 = "
|
|
2061
|
+
const VERSION$5 = "3cd028b0271b2b713a35bff16169d246";
|
|
2034
2062
|
function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
2035
2063
|
const v_error = (() => {
|
|
2036
2064
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2260,6 +2288,34 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
2260
2288
|
return new TypeError(message);
|
|
2261
2289
|
}
|
|
2262
2290
|
}
|
|
2291
|
+
if (obj.isMandatory !== undefined) {
|
|
2292
|
+
const obj_isMandatory = obj.isMandatory;
|
|
2293
|
+
const path_isMandatory = path + '.isMandatory';
|
|
2294
|
+
let obj_isMandatory_union0 = null;
|
|
2295
|
+
const obj_isMandatory_union0_error = (() => {
|
|
2296
|
+
if (typeof obj_isMandatory !== 'boolean') {
|
|
2297
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
2298
|
+
}
|
|
2299
|
+
})();
|
|
2300
|
+
if (obj_isMandatory_union0_error != null) {
|
|
2301
|
+
obj_isMandatory_union0 = obj_isMandatory_union0_error.message;
|
|
2302
|
+
}
|
|
2303
|
+
let obj_isMandatory_union1 = null;
|
|
2304
|
+
const obj_isMandatory_union1_error = (() => {
|
|
2305
|
+
if (obj_isMandatory !== null) {
|
|
2306
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
2307
|
+
}
|
|
2308
|
+
})();
|
|
2309
|
+
if (obj_isMandatory_union1_error != null) {
|
|
2310
|
+
obj_isMandatory_union1 = obj_isMandatory_union1_error.message;
|
|
2311
|
+
}
|
|
2312
|
+
if (obj_isMandatory_union0 && obj_isMandatory_union1) {
|
|
2313
|
+
let message = 'Object doesn\'t match union (at "' + path_isMandatory + '")';
|
|
2314
|
+
message += '\n' + obj_isMandatory_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2315
|
+
message += '\n' + obj_isMandatory_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2316
|
+
return new TypeError(message);
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2263
2319
|
if (obj.isReadOnly !== undefined) {
|
|
2264
2320
|
const obj_isReadOnly = obj.isReadOnly;
|
|
2265
2321
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -2449,6 +2505,11 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
2449
2505
|
kind: 'Scalar',
|
|
2450
2506
|
required: false
|
|
2451
2507
|
},
|
|
2508
|
+
{
|
|
2509
|
+
name: 'isMandatory',
|
|
2510
|
+
kind: 'Scalar',
|
|
2511
|
+
required: false
|
|
2512
|
+
},
|
|
2452
2513
|
{
|
|
2453
2514
|
name: 'isReadOnly',
|
|
2454
2515
|
kind: 'Scalar',
|
|
@@ -2582,6 +2643,19 @@ function equals$5(existing, incoming) {
|
|
|
2582
2643
|
return false;
|
|
2583
2644
|
}
|
|
2584
2645
|
}
|
|
2646
|
+
const existing_isMandatory = existing.isMandatory;
|
|
2647
|
+
const incoming_isMandatory = incoming.isMandatory;
|
|
2648
|
+
// if at least one of these optionals is defined
|
|
2649
|
+
if (existing_isMandatory !== undefined || incoming_isMandatory !== undefined) {
|
|
2650
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2651
|
+
// not equal
|
|
2652
|
+
if (existing_isMandatory === undefined || incoming_isMandatory === undefined) {
|
|
2653
|
+
return false;
|
|
2654
|
+
}
|
|
2655
|
+
if (!(existing_isMandatory === incoming_isMandatory)) {
|
|
2656
|
+
return false;
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2585
2659
|
const existing_isReadOnly = existing.isReadOnly;
|
|
2586
2660
|
const incoming_isReadOnly = incoming.isReadOnly;
|
|
2587
2661
|
// if at least one of these optionals is defined
|
|
@@ -5006,7 +5080,7 @@ function createResourceRequest(config) {
|
|
|
5006
5080
|
const headers = {};
|
|
5007
5081
|
return {
|
|
5008
5082
|
baseUri: '/services/data/v63.0',
|
|
5009
|
-
basePath: '/connect/
|
|
5083
|
+
basePath: '/connect/intake-form/generate-intake-omni',
|
|
5010
5084
|
method: 'post',
|
|
5011
5085
|
body: config.body,
|
|
5012
5086
|
urlParams: {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectIntakeFormGenerateIntakeOmni_ResourceRequestConfig } from '../resources/postConnectIntakeFormGenerateIntakeOmni';
|
|
4
4
|
import { OmniIntakeOutputRepresentation as types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation } from '../types/OmniIntakeOutputRepresentation';
|
|
5
5
|
export declare const adapterName = "generateOmniScript";
|
|
6
6
|
export declare const generateOmniScript_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -10,7 +10,7 @@ export interface GenerateOmniScriptConfig {
|
|
|
10
10
|
scriptDescription: string;
|
|
11
11
|
scriptName: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const createResourceParams: (config: GenerateOmniScriptConfig) =>
|
|
13
|
+
export declare const createResourceParams: (config: GenerateOmniScriptConfig) => resources_postConnectIntakeFormGenerateIntakeOmni_ResourceRequestConfig;
|
|
14
14
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateOmniScriptConfig>): adapter$45$utils_Untrusted<GenerateOmniScriptConfig>;
|
|
15
15
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateOmniScriptConfig | null;
|
|
16
16
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateOmniScriptConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation, any>>;
|
package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.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 = "3cd9945e0713122f4b11136b1d17e4cb";
|
|
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: CatalogItemAttributeInputRepresentation, existing: CatalogItemAttributeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CatalogItemAttributeInputRepresentationNormalized;
|
|
@@ -28,6 +28,8 @@ export interface CatalogItemAttributeInputRepresentationNormalized {
|
|
|
28
28
|
isContextDefinitionAttribute?: boolean | null;
|
|
29
29
|
/** is Hidden */
|
|
30
30
|
isHidden?: boolean | null;
|
|
31
|
+
/** is Mandatory */
|
|
32
|
+
isMandatory?: boolean | null;
|
|
31
33
|
/** is Read Only */
|
|
32
34
|
isReadOnly?: boolean | null;
|
|
33
35
|
/** Attribute Name */
|
|
@@ -53,6 +55,7 @@ export interface CatalogItemAttributeInputRepresentation {
|
|
|
53
55
|
id?: string | null;
|
|
54
56
|
isContextDefinitionAttribute?: boolean | null;
|
|
55
57
|
isHidden?: boolean | null;
|
|
58
|
+
isMandatory?: boolean | null;
|
|
56
59
|
isReadOnly?: boolean | null;
|
|
57
60
|
name?: string | null;
|
|
58
61
|
operationType?: string | null;
|
package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.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 = "3cd028b0271b2b713a35bff16169d246";
|
|
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: CatalogItemAttributeOutputRepresentation, existing: CatalogItemAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CatalogItemAttributeOutputRepresentationNormalized;
|
|
@@ -30,6 +30,8 @@ export interface CatalogItemAttributeOutputRepresentationNormalized {
|
|
|
30
30
|
isDeleted?: boolean | null;
|
|
31
31
|
/** Attribute Is Hidden */
|
|
32
32
|
isHidden?: boolean | null;
|
|
33
|
+
/** is Mandatory */
|
|
34
|
+
isMandatory?: boolean | null;
|
|
33
35
|
/** Attribute isReadOnly */
|
|
34
36
|
isReadOnly?: boolean | null;
|
|
35
37
|
/** Attribute Is Required */
|
|
@@ -56,6 +58,7 @@ export interface CatalogItemAttributeOutputRepresentation {
|
|
|
56
58
|
isContextDefinitionAttribute?: boolean | null;
|
|
57
59
|
isDeleted?: boolean | null;
|
|
58
60
|
isHidden?: boolean | null;
|
|
61
|
+
isMandatory?: boolean | null;
|
|
59
62
|
isReadOnly?: boolean | null;
|
|
60
63
|
isRequired?: boolean | null;
|
|
61
64
|
name?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.332.0
|
|
3
|
+
"version": "1.332.0",
|
|
4
4
|
"description": "Service Automation Request",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-ecm.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.332.0
|
|
43
|
+
"@salesforce/lds-bindings": "^1.332.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -397,6 +397,34 @@ function validate$l(obj, path = 'CatalogItemAttributeInputRepresentation') {
|
|
|
397
397
|
return new TypeError(message);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
+
if (obj.isMandatory !== undefined) {
|
|
401
|
+
const obj_isMandatory = obj.isMandatory;
|
|
402
|
+
const path_isMandatory = path + '.isMandatory';
|
|
403
|
+
let obj_isMandatory_union0 = null;
|
|
404
|
+
const obj_isMandatory_union0_error = (() => {
|
|
405
|
+
if (typeof obj_isMandatory !== 'boolean') {
|
|
406
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
407
|
+
}
|
|
408
|
+
})();
|
|
409
|
+
if (obj_isMandatory_union0_error != null) {
|
|
410
|
+
obj_isMandatory_union0 = obj_isMandatory_union0_error.message;
|
|
411
|
+
}
|
|
412
|
+
let obj_isMandatory_union1 = null;
|
|
413
|
+
const obj_isMandatory_union1_error = (() => {
|
|
414
|
+
if (obj_isMandatory !== null) {
|
|
415
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
416
|
+
}
|
|
417
|
+
})();
|
|
418
|
+
if (obj_isMandatory_union1_error != null) {
|
|
419
|
+
obj_isMandatory_union1 = obj_isMandatory_union1_error.message;
|
|
420
|
+
}
|
|
421
|
+
if (obj_isMandatory_union0 && obj_isMandatory_union1) {
|
|
422
|
+
let message = 'Object doesn\'t match union (at "' + path_isMandatory + '")';
|
|
423
|
+
message += '\n' + obj_isMandatory_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
424
|
+
message += '\n' + obj_isMandatory_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
425
|
+
return new TypeError(message);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
400
428
|
if (obj.isReadOnly !== undefined) {
|
|
401
429
|
const obj_isReadOnly = obj.isReadOnly;
|
|
402
430
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -2040,7 +2068,7 @@ function equals$6(existing, incoming) {
|
|
|
2040
2068
|
return true;
|
|
2041
2069
|
}
|
|
2042
2070
|
|
|
2043
|
-
const VERSION$5 = "
|
|
2071
|
+
const VERSION$5 = "3cd028b0271b2b713a35bff16169d246";
|
|
2044
2072
|
function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
2045
2073
|
const v_error = (() => {
|
|
2046
2074
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2270,6 +2298,34 @@ function validate$9(obj, path = 'CatalogItemAttributeOutputRepresentation') {
|
|
|
2270
2298
|
return new TypeError(message);
|
|
2271
2299
|
}
|
|
2272
2300
|
}
|
|
2301
|
+
if (obj.isMandatory !== undefined) {
|
|
2302
|
+
const obj_isMandatory = obj.isMandatory;
|
|
2303
|
+
const path_isMandatory = path + '.isMandatory';
|
|
2304
|
+
let obj_isMandatory_union0 = null;
|
|
2305
|
+
const obj_isMandatory_union0_error = (() => {
|
|
2306
|
+
if (typeof obj_isMandatory !== 'boolean') {
|
|
2307
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
2308
|
+
}
|
|
2309
|
+
})();
|
|
2310
|
+
if (obj_isMandatory_union0_error != null) {
|
|
2311
|
+
obj_isMandatory_union0 = obj_isMandatory_union0_error.message;
|
|
2312
|
+
}
|
|
2313
|
+
let obj_isMandatory_union1 = null;
|
|
2314
|
+
const obj_isMandatory_union1_error = (() => {
|
|
2315
|
+
if (obj_isMandatory !== null) {
|
|
2316
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isMandatory + '" (at "' + path_isMandatory + '")');
|
|
2317
|
+
}
|
|
2318
|
+
})();
|
|
2319
|
+
if (obj_isMandatory_union1_error != null) {
|
|
2320
|
+
obj_isMandatory_union1 = obj_isMandatory_union1_error.message;
|
|
2321
|
+
}
|
|
2322
|
+
if (obj_isMandatory_union0 && obj_isMandatory_union1) {
|
|
2323
|
+
let message = 'Object doesn\'t match union (at "' + path_isMandatory + '")';
|
|
2324
|
+
message += '\n' + obj_isMandatory_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2325
|
+
message += '\n' + obj_isMandatory_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2326
|
+
return new TypeError(message);
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2273
2329
|
if (obj.isReadOnly !== undefined) {
|
|
2274
2330
|
const obj_isReadOnly = obj.isReadOnly;
|
|
2275
2331
|
const path_isReadOnly = path + '.isReadOnly';
|
|
@@ -2459,6 +2515,11 @@ const select$b = function CatalogItemAttributeOutputRepresentationSelect() {
|
|
|
2459
2515
|
kind: 'Scalar',
|
|
2460
2516
|
required: false
|
|
2461
2517
|
},
|
|
2518
|
+
{
|
|
2519
|
+
name: 'isMandatory',
|
|
2520
|
+
kind: 'Scalar',
|
|
2521
|
+
required: false
|
|
2522
|
+
},
|
|
2462
2523
|
{
|
|
2463
2524
|
name: 'isReadOnly',
|
|
2464
2525
|
kind: 'Scalar',
|
|
@@ -2592,6 +2653,19 @@ function equals$5(existing, incoming) {
|
|
|
2592
2653
|
return false;
|
|
2593
2654
|
}
|
|
2594
2655
|
}
|
|
2656
|
+
const existing_isMandatory = existing.isMandatory;
|
|
2657
|
+
const incoming_isMandatory = incoming.isMandatory;
|
|
2658
|
+
// if at least one of these optionals is defined
|
|
2659
|
+
if (existing_isMandatory !== undefined || incoming_isMandatory !== undefined) {
|
|
2660
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2661
|
+
// not equal
|
|
2662
|
+
if (existing_isMandatory === undefined || incoming_isMandatory === undefined) {
|
|
2663
|
+
return false;
|
|
2664
|
+
}
|
|
2665
|
+
if (!(existing_isMandatory === incoming_isMandatory)) {
|
|
2666
|
+
return false;
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2595
2669
|
const existing_isReadOnly = existing.isReadOnly;
|
|
2596
2670
|
const incoming_isReadOnly = incoming.isReadOnly;
|
|
2597
2671
|
// if at least one of these optionals is defined
|
|
@@ -4123,7 +4197,7 @@ function createResourceRequest$4(config) {
|
|
|
4123
4197
|
const headers = {};
|
|
4124
4198
|
return {
|
|
4125
4199
|
baseUri: '/services/data/v63.0',
|
|
4126
|
-
basePath: '/connect/
|
|
4200
|
+
basePath: '/connect/intake-form/generate-intake-omni',
|
|
4127
4201
|
method: 'post',
|
|
4128
4202
|
body: config.body,
|
|
4129
4203
|
urlParams: {},
|
|
@@ -5132,4 +5206,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5132
5206
|
});
|
|
5133
5207
|
|
|
5134
5208
|
export { createCatalogItem, generateOmniScript, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, updateCatalogItem, updateEpcCategories };
|
|
5135
|
-
// version: 1.332.0-
|
|
5209
|
+
// version: 1.332.0-626b187dc6
|
package/src/raml/api.raml
CHANGED
|
@@ -147,6 +147,10 @@ types:
|
|
|
147
147
|
required: false
|
|
148
148
|
description: is Hidden
|
|
149
149
|
type: boolean | nil
|
|
150
|
+
isMandatory:
|
|
151
|
+
required: false
|
|
152
|
+
description: is Mandatory
|
|
153
|
+
type: boolean | nil
|
|
150
154
|
isReadOnly:
|
|
151
155
|
required: false
|
|
152
156
|
description: is Read Only
|
|
@@ -223,6 +227,10 @@ types:
|
|
|
223
227
|
required: false
|
|
224
228
|
description: Attribute Is Hidden
|
|
225
229
|
type: boolean | nil
|
|
230
|
+
isMandatory:
|
|
231
|
+
required: false
|
|
232
|
+
description: is Mandatory
|
|
233
|
+
type: boolean | nil
|
|
226
234
|
isReadOnly:
|
|
227
235
|
required: false
|
|
228
236
|
description: Attribute isReadOnly
|
|
@@ -874,17 +882,18 @@ types:
|
|
|
874
882
|
application/json:
|
|
875
883
|
type: ServiceAutomationDepReadInputRepresentation
|
|
876
884
|
(oas-body-name): ServiceAutomationDepInput
|
|
877
|
-
/
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
885
|
+
/intake-form:
|
|
886
|
+
/generate-intake-omni:
|
|
887
|
+
post:
|
|
888
|
+
displayName: postOmniIntake
|
|
889
|
+
description: API to generate omniscript for productId.
|
|
890
|
+
responses:
|
|
891
|
+
'200':
|
|
892
|
+
description: Success
|
|
893
|
+
body:
|
|
894
|
+
application/json:
|
|
895
|
+
type: OmniIntakeOutputRepresentation
|
|
896
|
+
body:
|
|
897
|
+
application/json:
|
|
898
|
+
type: IntakeFormCreationInputRepresentation
|
|
899
|
+
(oas-body-name): omniGenerateRequestPayload
|
package/src/raml/luvio.raml
CHANGED