@salesforce/lds-adapters-service-ecm 1.414.1 → 1.415.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.
@@ -9932,7 +9932,12 @@ function createResourceRequest$2(config) {
9932
9932
  const adapterName$2 = 'deployTemplate';
9933
9933
  const deployTemplate_ConfigPropertyMetadata = [
9934
9934
  generateParamConfigMetadata('templateId', true, 0 /* UrlParameter */, 0 /* String */),
9935
+ generateParamConfigMetadata('catalog', false, 2 /* Body */, 0 /* String */),
9936
+ generateParamConfigMetadata('category', false, 2 /* Body */, 0 /* String */),
9937
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
9935
9938
  generateParamConfigMetadata('flowTemplates', false, 2 /* Body */, 4 /* Unsupported */, true),
9939
+ generateParamConfigMetadata('isActive', false, 2 /* Body */, 1 /* Boolean */),
9940
+ generateParamConfigMetadata('serviceProcessName', true, 2 /* Body */, 0 /* String */),
9936
9941
  ];
9937
9942
  const deployTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deployTemplate_ConfigPropertyMetadata);
9938
9943
  const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(deployTemplate_ConfigPropertyMetadata);
@@ -8,7 +8,12 @@ export declare const deployTemplate_ConfigPropertyMetadata: $64$luvio_engine_Ada
8
8
  export declare const deployTemplate_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
9
  export interface DeployTemplateConfig {
10
10
  templateId: string;
11
+ catalog?: string;
12
+ category?: string;
13
+ description?: string;
11
14
  flowTemplates?: Array<types_TemplateDependencyConfiguration_TemplateDependencyConfiguration>;
15
+ isActive?: boolean;
16
+ serviceProcessName: string;
12
17
  }
13
18
  export declare const createResourceParams: (config: DeployTemplateConfig) => resources_postConnectServiceAutomationTemplateDeployByTemplateId_ResourceRequestConfig;
14
19
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeployTemplateConfig>): adapter$45$utils_Untrusted<DeployTemplateConfig>;
@@ -6,7 +6,12 @@ export interface ResourceRequestConfig {
6
6
  templateId: string;
7
7
  };
8
8
  body: {
9
+ catalog?: string;
10
+ category?: string;
11
+ description?: string;
9
12
  flowTemplates?: Array<types_TemplateDependencyConfiguration_TemplateDependencyConfiguration>;
13
+ isActive?: boolean;
14
+ serviceProcessName: string;
10
15
  };
11
16
  }
12
17
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,6 @@
1
1
  import { TemplateDependencyConfiguration as TemplateDependencyConfiguration_TemplateDependencyConfiguration } from './TemplateDependencyConfiguration';
2
2
  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';
3
- export declare const VERSION = "ec5fc429771c2cac58012d4a56c52c1c";
3
+ export declare const VERSION = "47a31f4514ff2ee3c09a21cbdb850266";
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: TemplateDeploymentInputRepresentation, existing: TemplateDeploymentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateDeploymentInputRepresentationNormalized;
@@ -15,8 +15,18 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface TemplateDeploymentInputRepresentationNormalized {
18
+ /** The catalog that includes the service process. */
19
+ catalog?: string;
20
+ /** The category of the service process. */
21
+ category?: string;
22
+ /** Description of the service process. */
23
+ description?: string;
18
24
  /** Flow template configurations with type-specific variables */
19
25
  flowTemplates?: Array<TemplateDependencyConfiguration_TemplateDependencyConfiguration>;
26
+ /** Indicates that the service process is active. */
27
+ isActive?: boolean;
28
+ /** Name of the service process that's created from the template. */
29
+ serviceProcessName: string;
20
30
  }
21
31
  /**
22
32
  * Template Deployment Input Representation with flow template configurations
@@ -25,5 +35,10 @@ export interface TemplateDeploymentInputRepresentationNormalized {
25
35
  * (none)
26
36
  */
27
37
  export interface TemplateDeploymentInputRepresentation {
38
+ catalog?: string;
39
+ category?: string;
40
+ description?: string;
28
41
  flowTemplates?: Array<TemplateDependencyConfiguration_TemplateDependencyConfiguration>;
42
+ isActive?: boolean;
43
+ serviceProcessName: string;
29
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-ecm",
3
- "version": "1.414.1",
3
+ "version": "1.415.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.414.1"
43
+ "@salesforce/lds-bindings": "^1.415.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.414.1"
46
+ "@salesforce/lds-compiler-plugins": "^1.415.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -7513,7 +7513,12 @@ function createResourceRequest$c(config) {
7513
7513
  const adapterName$c = 'deployTemplate';
7514
7514
  const deployTemplate_ConfigPropertyMetadata = [
7515
7515
  generateParamConfigMetadata('templateId', true, 0 /* UrlParameter */, 0 /* String */),
7516
+ generateParamConfigMetadata('catalog', false, 2 /* Body */, 0 /* String */),
7517
+ generateParamConfigMetadata('category', false, 2 /* Body */, 0 /* String */),
7518
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
7516
7519
  generateParamConfigMetadata('flowTemplates', false, 2 /* Body */, 4 /* Unsupported */, true),
7520
+ generateParamConfigMetadata('isActive', false, 2 /* Body */, 1 /* Boolean */),
7521
+ generateParamConfigMetadata('serviceProcessName', true, 2 /* Body */, 0 /* String */),
7517
7522
  ];
7518
7523
  const deployTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deployTemplate_ConfigPropertyMetadata);
7519
7524
  const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(deployTemplate_ConfigPropertyMetadata);
@@ -11769,4 +11774,4 @@ withDefaultLuvio((luvio) => {
11769
11774
  });
11770
11775
 
11771
11776
  export { createAgentAction, createAgentFlow, createCatalogItem, deployTemplate, downloadServiceProcessTemplate, downloadServiceProcessTemplate_imperative, generateIntakeForm, generateOmniScript, getAgentActions, getAgentActions_imperative, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate, getAllServiceProcessTemplate_imperative, getCatalogItem, getCatalogItem_imperative, getEligibilityRuleMetadata, getEligibilityRuleMetadata_imperative, getServiceRequest, getServiceRequest_imperative, saveEligibilityRule, updateCatalogItem, updateEpcCategories };
11772
- // version: 1.414.1-06354ce124
11777
+ // version: 1.415.0-caf45a5d7e
package/src/raml/api.raml CHANGED
@@ -1605,12 +1605,32 @@ types:
1605
1605
  description: Template Deployment Input Representation with flow template configurations
1606
1606
  type: object
1607
1607
  properties:
1608
+ catalog:
1609
+ required: false
1610
+ description: The catalog that includes the service process.
1611
+ type: string
1612
+ category:
1613
+ required: false
1614
+ description: The category of the service process.
1615
+ type: string
1616
+ description:
1617
+ required: false
1618
+ description: Description of the service process.
1619
+ type: string
1608
1620
  flowTemplates:
1609
1621
  required: false
1610
1622
  description: Flow template configurations with type-specific variables
1611
1623
  type: array
1612
1624
  items:
1613
1625
  type: TemplateDependencyConfiguration
1626
+ isActive:
1627
+ required: false
1628
+ description: Indicates that the service process is active.
1629
+ type: boolean
1630
+ serviceProcessName:
1631
+ required: true
1632
+ description: Name of the service process that's created from the template.
1633
+ type: string
1614
1634
  DeploymentOutputRepresentation:
1615
1635
  description: Template Deployment Output Representation
1616
1636
  type: object