@salesforce/lds-adapters-service-ecm 1.329.1 → 1.330.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.
Files changed (43) hide show
  1. package/dist/es/es2018/service-ecm.js +4130 -615
  2. package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +20 -2
  3. package/dist/es/es2018/types/src/generated/adapters/generateOmniScript.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getAllServiceAutomationDep.d.ts +2 -1
  5. package/dist/es/es2018/types/src/generated/adapters/getCatalogItem.d.ts +2 -3
  6. package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +21 -2
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -2
  9. package/dist/es/es2018/types/src/generated/resources/getConnectCatalogCatalogItemByCatalogItemId.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/resources/patchConnectCatalogCatalogItemByCatalogItemId.d.ts +21 -2
  11. package/dist/es/es2018/types/src/generated/resources/postConnectCatalogCatalogItem.d.ts +20 -2
  12. package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomation.d.ts +2 -1
  13. package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationGenerateIntakeOmni.d.ts +14 -0
  14. package/dist/es/es2018/types/src/generated/types/AssociatedArticleOutputRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +27 -24
  16. package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +32 -20
  17. package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +47 -1
  18. package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +45 -33
  19. package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +49 -3
  20. package/dist/es/es2018/types/src/generated/types/EligibilityRuleOutputRepresentation.d.ts +31 -0
  21. package/dist/es/es2018/types/src/generated/types/EligibilityRulesInputRepresentation.d.ts +31 -0
  22. package/dist/es/es2018/types/src/generated/types/FilterInputRepresentation.d.ts +3 -3
  23. package/dist/es/es2018/types/src/generated/types/FulfillmentFlowInputRepresentation.d.ts +37 -0
  24. package/dist/es/es2018/types/src/generated/types/FulfillmentFlowOutputRepresentation.d.ts +8 -5
  25. package/dist/es/es2018/types/src/generated/types/GenericCustomObject.d.ts +28 -0
  26. package/dist/es/es2018/types/src/generated/types/IntakeFormCreationInputRepresentation.d.ts +34 -0
  27. package/dist/es/es2018/types/src/generated/types/IntakeFormInputRepresentation.d.ts +11 -5
  28. package/dist/es/es2018/types/src/generated/types/IntakeFormOutputRepresentation.d.ts +23 -5
  29. package/dist/es/es2018/types/src/generated/types/{FulfillmentFowInputRepresentation.d.ts → IntegrationDefInputRepresentation.d.ts} +16 -13
  30. package/dist/es/es2018/types/src/generated/types/IntegrationDefinitionOutputPresentation.d.ts +31 -0
  31. package/dist/es/es2018/types/src/generated/types/KnowledgeArticleInputRepresentation.d.ts +34 -0
  32. package/dist/es/es2018/types/src/generated/types/OmniIntakeOutputRepresentation.d.ts +59 -0
  33. package/dist/es/es2018/types/src/generated/types/PreprocessorInputRepresentation.d.ts +8 -5
  34. package/dist/es/es2018/types/src/generated/types/PreprocessorOutputRepresentation.d.ts +31 -0
  35. package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +35 -0
  36. package/dist/es/es2018/types/src/generated/types/ServiceAutomationDepReadInputRepresentation.d.ts +4 -3
  37. package/package.json +3 -3
  38. package/sfdc/index.js +4048 -574
  39. package/src/raml/api.raml +554 -158
  40. package/src/raml/luvio.raml +8 -0
  41. package/dist/es/es2018/types/src/generated/types/CatalogItemCreateWrapperInputRepresentation.d.ts +0 -29
  42. package/dist/es/es2018/types/src/generated/types/CatalogItemInputRepresentation.d.ts +0 -61
  43. package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateWrapperInputRepresentation.d.ts +0 -29
@@ -0,0 +1,59 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 6000;
3
+ export declare const VERSION = "b593e197e57b5cb5b7531e71073daefa";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ id: string;
8
+ }
9
+ export type OmniIntakeOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialOmniIntakeOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): OmniIntakeOutputRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: OmniIntakeOutputRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: OmniIntakeOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: OmniIntakeOutputRepresentation, existing: OmniIntakeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): OmniIntakeOutputRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: OmniIntakeOutputRepresentationNormalized, incoming: OmniIntakeOutputRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: OmniIntakeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Output Representation of Catalog Item
22
+ *
23
+ * Keys:
24
+ * id (string): id
25
+ */
26
+ export interface OmniIntakeOutputRepresentationNormalized {
27
+ /** Intake Form Description */
28
+ description: string;
29
+ /** Intake Form Id */
30
+ id: string;
31
+ /** Intake Form Name */
32
+ name: string;
33
+ /** OmniScript Id */
34
+ omniScriptId: string;
35
+ /** OmniScript Language */
36
+ omniScriptLanguage: string;
37
+ /** OmniScript SubType */
38
+ omniScriptSubType: string;
39
+ /** OmniScript Type */
40
+ omniScriptType: string;
41
+ /** Intake Form Type */
42
+ type: string;
43
+ }
44
+ /**
45
+ * Output Representation of Catalog Item
46
+ *
47
+ * Keys:
48
+ * id (string): id
49
+ */
50
+ export interface OmniIntakeOutputRepresentation {
51
+ description: string;
52
+ id: string;
53
+ name: string;
54
+ omniScriptId: string;
55
+ omniScriptLanguage: string;
56
+ omniScriptSubType: string;
57
+ omniScriptType: string;
58
+ type: string;
59
+ }
@@ -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 = "487743c641195a148685f2357c157e27";
2
+ export declare const VERSION = "591a3c89e78710ea903a1407583020f4";
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: PreprocessorInputRepresentation, existing: PreprocessorInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PreprocessorInputRepresentationNormalized;
@@ -15,9 +15,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface PreprocessorInputRepresentationNormalized {
17
17
  /** The ID of the catalog Item */
18
- id: string;
18
+ id?: string | null;
19
19
  /** The operation type of the catalog Item */
20
- operationType: string;
20
+ operationType?: string | null;
21
+ /** The ID of Preprocessor */
22
+ preProcessorsID?: string | null;
21
23
  }
22
24
  /**
23
25
  * Input Representation for Preprocessor
@@ -26,6 +28,7 @@ export interface PreprocessorInputRepresentationNormalized {
26
28
  * (none)
27
29
  */
28
30
  export interface PreprocessorInputRepresentation {
29
- id: string;
30
- operationType: string;
31
+ id?: string | null;
32
+ operationType?: string | null;
33
+ preProcessorsID?: string | null;
31
34
  }
@@ -0,0 +1,31 @@
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 = "5faa4ef55d45d3a90251c07786e5996e";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PreprocessorOutputRepresentation, existing: PreprocessorOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PreprocessorOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PreprocessorOutputRepresentationNormalized, incoming: PreprocessorOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PreprocessorOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output Representation for Preprocessors
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface PreprocessorOutputRepresentationNormalized {
17
+ /** ProductConfigFlow Id */
18
+ id?: string | null;
19
+ /** Preprocessor Id */
20
+ preprocessorId?: string | null;
21
+ }
22
+ /**
23
+ * Output Representation for Preprocessors
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface PreprocessorOutputRepresentation {
29
+ id?: string | null;
30
+ preprocessorId?: string | null;
31
+ }
@@ -0,0 +1,35 @@
1
+ import { CatalogItemAttributeOutputRepresentation as CatalogItemAttributeOutputRepresentation_CatalogItemAttributeOutputRepresentation } from './CatalogItemAttributeOutputRepresentation';
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 = "565c268d87174a64724649689f92d403";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: SectionOutputRepresentation, existing: SectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SectionOutputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: SectionOutputRepresentationNormalized, incoming: SectionOutputRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Output Representation for Section
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface SectionOutputRepresentationNormalized {
18
+ /** Attribute List */
19
+ attributes?: Array<CatalogItemAttributeOutputRepresentation_CatalogItemAttributeOutputRepresentation | null>;
20
+ /** Product Name */
21
+ description?: string | null;
22
+ /** Product Name */
23
+ name?: string | null;
24
+ }
25
+ /**
26
+ * Output Representation for Section
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface SectionOutputRepresentation {
32
+ attributes?: Array<CatalogItemAttributeOutputRepresentation_CatalogItemAttributeOutputRepresentation | null>;
33
+ description?: string | null;
34
+ name?: string | null;
35
+ }
@@ -1,5 +1,6 @@
1
+ import { FilterInputRepresentation as FilterInputRepresentation_FilterInputRepresentation } from './FilterInputRepresentation';
1
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';
2
- export declare const VERSION = "430491b158da350c43987ee30d64a8ca";
3
+ export declare const VERSION = "ff1b6ad3996f443370dfab9d7651648c";
3
4
  export declare function validate(obj: any, path?: string): TypeError | null;
4
5
  export declare const RepresentationType: string;
5
6
  export declare function normalize(input: ServiceAutomationDepReadInputRepresentation, existing: ServiceAutomationDepReadInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServiceAutomationDepReadInputRepresentationNormalized;
@@ -19,7 +20,7 @@ export interface ServiceAutomationDepReadInputRepresentationNormalized {
19
20
  /** The fields to be fetched for the entity */
20
21
  fields: Array<string>;
21
22
  /** The filter to be applied while fetching records */
22
- filters: Array<{}>;
23
+ filters: Array<FilterInputRepresentation_FilterInputRepresentation>;
23
24
  /** The limit to be applied while fetching records */
24
25
  limit?: number | null;
25
26
  }
@@ -32,6 +33,6 @@ export interface ServiceAutomationDepReadInputRepresentationNormalized {
32
33
  export interface ServiceAutomationDepReadInputRepresentation {
33
34
  entityName: string;
34
35
  fields: Array<string>;
35
- filters: Array<{}>;
36
+ filters: Array<FilterInputRepresentation_FilterInputRepresentation>;
36
37
  limit?: number | null;
37
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-ecm",
3
- "version": "1.329.1",
3
+ "version": "1.330.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.329.1"
43
+ "@salesforce/lds-bindings": "^1.330.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.329.1"
46
+ "@salesforce/lds-compiler-plugins": "^1.330.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {