@salesforce/lds-adapters-service-ecm 1.337.0 → 1.339.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 +58 -58
- package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/adapters/generateOmniScript.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/adapters/getAllServiceAutomationDep.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/adapters/getCatalogItem.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/adapters/updateEpcCategories.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/IntegrationDefinitionOutputPresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/PreprocessorOutputRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +59 -59
- package/src/raml/api.raml +4 -4
- package/src/raml/luvio.raml +5 -5
- /package/dist/es/es2018/types/src/generated/resources/{getConnectCatalogCatalogItemByCatalogItemId.d.ts → getConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts} +0 -0
- /package/dist/es/es2018/types/src/generated/resources/{patchConnectCatalogCatalogItemByCatalogItemId.d.ts → patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts} +0 -0
- /package/dist/es/es2018/types/src/generated/resources/{patchConnectCatalogCategoriesByCatalogId.d.ts → patchConnectServiceAutomationCatalogCategoriesByCatalogId.d.ts} +0 -0
- /package/dist/es/es2018/types/src/generated/resources/{postConnectCatalogCatalogItem.d.ts → postConnectServiceAutomationCatalogCatalogItem.d.ts} +0 -0
- /package/dist/es/es2018/types/src/generated/resources/{postConnectIntakeFormGenerateIntakeOmni.d.ts → postConnectServiceAutomationIntakeFormGenerateIntakeOmni.d.ts} +0 -0
- /package/dist/es/es2018/types/src/generated/resources/{postConnectServiceAutomation.d.ts → postConnectServiceAutomationQuery.d.ts} +0 -0
|
@@ -1830,7 +1830,7 @@ function equals$8(existing, incoming) {
|
|
|
1830
1830
|
return true;
|
|
1831
1831
|
}
|
|
1832
1832
|
|
|
1833
|
-
const VERSION$7 = "
|
|
1833
|
+
const VERSION$7 = "1006a153c933b8bc4b1d44663893e206";
|
|
1834
1834
|
function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
1835
1835
|
const v_error = (() => {
|
|
1836
1836
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1864,31 +1864,31 @@ function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
|
1864
1864
|
return new TypeError(message);
|
|
1865
1865
|
}
|
|
1866
1866
|
}
|
|
1867
|
-
if (obj.
|
|
1868
|
-
const
|
|
1869
|
-
const
|
|
1870
|
-
let
|
|
1871
|
-
const
|
|
1872
|
-
if (typeof
|
|
1873
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
1867
|
+
if (obj.integrationDefinitionId !== undefined) {
|
|
1868
|
+
const obj_integrationDefinitionId = obj.integrationDefinitionId;
|
|
1869
|
+
const path_integrationDefinitionId = path + '.integrationDefinitionId';
|
|
1870
|
+
let obj_integrationDefinitionId_union0 = null;
|
|
1871
|
+
const obj_integrationDefinitionId_union0_error = (() => {
|
|
1872
|
+
if (typeof obj_integrationDefinitionId !== 'string') {
|
|
1873
|
+
return new TypeError('Expected "string" but received "' + typeof obj_integrationDefinitionId + '" (at "' + path_integrationDefinitionId + '")');
|
|
1874
1874
|
}
|
|
1875
1875
|
})();
|
|
1876
|
-
if (
|
|
1877
|
-
|
|
1876
|
+
if (obj_integrationDefinitionId_union0_error != null) {
|
|
1877
|
+
obj_integrationDefinitionId_union0 = obj_integrationDefinitionId_union0_error.message;
|
|
1878
1878
|
}
|
|
1879
|
-
let
|
|
1880
|
-
const
|
|
1881
|
-
if (
|
|
1882
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
1879
|
+
let obj_integrationDefinitionId_union1 = null;
|
|
1880
|
+
const obj_integrationDefinitionId_union1_error = (() => {
|
|
1881
|
+
if (obj_integrationDefinitionId !== null) {
|
|
1882
|
+
return new TypeError('Expected "null" but received "' + typeof obj_integrationDefinitionId + '" (at "' + path_integrationDefinitionId + '")');
|
|
1883
1883
|
}
|
|
1884
1884
|
})();
|
|
1885
|
-
if (
|
|
1886
|
-
|
|
1885
|
+
if (obj_integrationDefinitionId_union1_error != null) {
|
|
1886
|
+
obj_integrationDefinitionId_union1 = obj_integrationDefinitionId_union1_error.message;
|
|
1887
1887
|
}
|
|
1888
|
-
if (
|
|
1889
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
1890
|
-
message += '\n' +
|
|
1891
|
-
message += '\n' +
|
|
1888
|
+
if (obj_integrationDefinitionId_union0 && obj_integrationDefinitionId_union1) {
|
|
1889
|
+
let message = 'Object doesn\'t match union (at "' + path_integrationDefinitionId + '")';
|
|
1890
|
+
message += '\n' + obj_integrationDefinitionId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1891
|
+
message += '\n' + obj_integrationDefinitionId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1892
1892
|
return new TypeError(message);
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
@@ -1907,7 +1907,7 @@ const select$d = function IntegrationDefinitionOutputPresentationSelect() {
|
|
|
1907
1907
|
required: false
|
|
1908
1908
|
},
|
|
1909
1909
|
{
|
|
1910
|
-
name: '
|
|
1910
|
+
name: 'integrationDefinitionId',
|
|
1911
1911
|
kind: 'Scalar',
|
|
1912
1912
|
required: false
|
|
1913
1913
|
}
|
|
@@ -1928,23 +1928,23 @@ function equals$7(existing, incoming) {
|
|
|
1928
1928
|
return false;
|
|
1929
1929
|
}
|
|
1930
1930
|
}
|
|
1931
|
-
const
|
|
1932
|
-
const
|
|
1931
|
+
const existing_integrationDefinitionId = existing.integrationDefinitionId;
|
|
1932
|
+
const incoming_integrationDefinitionId = incoming.integrationDefinitionId;
|
|
1933
1933
|
// if at least one of these optionals is defined
|
|
1934
|
-
if (
|
|
1934
|
+
if (existing_integrationDefinitionId !== undefined || incoming_integrationDefinitionId !== undefined) {
|
|
1935
1935
|
// if one of these is not defined we know the other is defined and therefore
|
|
1936
1936
|
// not equal
|
|
1937
|
-
if (
|
|
1937
|
+
if (existing_integrationDefinitionId === undefined || incoming_integrationDefinitionId === undefined) {
|
|
1938
1938
|
return false;
|
|
1939
1939
|
}
|
|
1940
|
-
if (!(
|
|
1940
|
+
if (!(existing_integrationDefinitionId === incoming_integrationDefinitionId)) {
|
|
1941
1941
|
return false;
|
|
1942
1942
|
}
|
|
1943
1943
|
}
|
|
1944
1944
|
return true;
|
|
1945
1945
|
}
|
|
1946
1946
|
|
|
1947
|
-
const VERSION$6 = "
|
|
1947
|
+
const VERSION$6 = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
1948
1948
|
function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
|
|
1949
1949
|
const v_error = (() => {
|
|
1950
1950
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1978,31 +1978,31 @@ function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
|
|
|
1978
1978
|
return new TypeError(message);
|
|
1979
1979
|
}
|
|
1980
1980
|
}
|
|
1981
|
-
if (obj.
|
|
1982
|
-
const
|
|
1983
|
-
const
|
|
1984
|
-
let
|
|
1985
|
-
const
|
|
1986
|
-
if (typeof
|
|
1987
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
1981
|
+
if (obj.preProcessorsID !== undefined) {
|
|
1982
|
+
const obj_preProcessorsID = obj.preProcessorsID;
|
|
1983
|
+
const path_preProcessorsID = path + '.preProcessorsID';
|
|
1984
|
+
let obj_preProcessorsID_union0 = null;
|
|
1985
|
+
const obj_preProcessorsID_union0_error = (() => {
|
|
1986
|
+
if (typeof obj_preProcessorsID !== 'string') {
|
|
1987
|
+
return new TypeError('Expected "string" but received "' + typeof obj_preProcessorsID + '" (at "' + path_preProcessorsID + '")');
|
|
1988
1988
|
}
|
|
1989
1989
|
})();
|
|
1990
|
-
if (
|
|
1991
|
-
|
|
1990
|
+
if (obj_preProcessorsID_union0_error != null) {
|
|
1991
|
+
obj_preProcessorsID_union0 = obj_preProcessorsID_union0_error.message;
|
|
1992
1992
|
}
|
|
1993
|
-
let
|
|
1994
|
-
const
|
|
1995
|
-
if (
|
|
1996
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
1993
|
+
let obj_preProcessorsID_union1 = null;
|
|
1994
|
+
const obj_preProcessorsID_union1_error = (() => {
|
|
1995
|
+
if (obj_preProcessorsID !== null) {
|
|
1996
|
+
return new TypeError('Expected "null" but received "' + typeof obj_preProcessorsID + '" (at "' + path_preProcessorsID + '")');
|
|
1997
1997
|
}
|
|
1998
1998
|
})();
|
|
1999
|
-
if (
|
|
2000
|
-
|
|
1999
|
+
if (obj_preProcessorsID_union1_error != null) {
|
|
2000
|
+
obj_preProcessorsID_union1 = obj_preProcessorsID_union1_error.message;
|
|
2001
2001
|
}
|
|
2002
|
-
if (
|
|
2003
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
2004
|
-
message += '\n' +
|
|
2005
|
-
message += '\n' +
|
|
2002
|
+
if (obj_preProcessorsID_union0 && obj_preProcessorsID_union1) {
|
|
2003
|
+
let message = 'Object doesn\'t match union (at "' + path_preProcessorsID + '")';
|
|
2004
|
+
message += '\n' + obj_preProcessorsID_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2005
|
+
message += '\n' + obj_preProcessorsID_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2006
2006
|
return new TypeError(message);
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
@@ -2021,7 +2021,7 @@ const select$c = function PreprocessorOutputRepresentationSelect() {
|
|
|
2021
2021
|
required: false
|
|
2022
2022
|
},
|
|
2023
2023
|
{
|
|
2024
|
-
name: '
|
|
2024
|
+
name: 'preProcessorsID',
|
|
2025
2025
|
kind: 'Scalar',
|
|
2026
2026
|
required: false
|
|
2027
2027
|
}
|
|
@@ -2042,16 +2042,16 @@ function equals$6(existing, incoming) {
|
|
|
2042
2042
|
return false;
|
|
2043
2043
|
}
|
|
2044
2044
|
}
|
|
2045
|
-
const
|
|
2046
|
-
const
|
|
2045
|
+
const existing_preProcessorsID = existing.preProcessorsID;
|
|
2046
|
+
const incoming_preProcessorsID = incoming.preProcessorsID;
|
|
2047
2047
|
// if at least one of these optionals is defined
|
|
2048
|
-
if (
|
|
2048
|
+
if (existing_preProcessorsID !== undefined || incoming_preProcessorsID !== undefined) {
|
|
2049
2049
|
// if one of these is not defined we know the other is defined and therefore
|
|
2050
2050
|
// not equal
|
|
2051
|
-
if (
|
|
2051
|
+
if (existing_preProcessorsID === undefined || incoming_preProcessorsID === undefined) {
|
|
2052
2052
|
return false;
|
|
2053
2053
|
}
|
|
2054
|
-
if (!(
|
|
2054
|
+
if (!(existing_preProcessorsID === incoming_preProcessorsID)) {
|
|
2055
2055
|
return false;
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
@@ -3784,7 +3784,7 @@ function createResourceRequest$5(config) {
|
|
|
3784
3784
|
const headers = {};
|
|
3785
3785
|
return {
|
|
3786
3786
|
baseUri: '/services/data/v64.0',
|
|
3787
|
-
basePath: '/connect/catalog/catalog-item',
|
|
3787
|
+
basePath: '/connect/service-automation/catalog/catalog-item',
|
|
3788
3788
|
method: 'post',
|
|
3789
3789
|
body: config.body,
|
|
3790
3790
|
urlParams: {},
|
|
@@ -4035,7 +4035,7 @@ function createResourceRequest$4(config) {
|
|
|
4035
4035
|
const headers = {};
|
|
4036
4036
|
return {
|
|
4037
4037
|
baseUri: '/services/data/v64.0',
|
|
4038
|
-
basePath: '/connect/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4038
|
+
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4039
4039
|
method: 'get',
|
|
4040
4040
|
body: null,
|
|
4041
4041
|
urlParams: config.urlParams,
|
|
@@ -4158,7 +4158,7 @@ function createResourceRequest$3(config) {
|
|
|
4158
4158
|
const headers = {};
|
|
4159
4159
|
return {
|
|
4160
4160
|
baseUri: '/services/data/v64.0',
|
|
4161
|
-
basePath: '/connect/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4161
|
+
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4162
4162
|
method: 'patch',
|
|
4163
4163
|
body: config.body,
|
|
4164
4164
|
urlParams: config.urlParams,
|
|
@@ -4531,7 +4531,7 @@ function createResourceRequest$2(config) {
|
|
|
4531
4531
|
const headers = {};
|
|
4532
4532
|
return {
|
|
4533
4533
|
baseUri: '/services/data/v64.0',
|
|
4534
|
-
basePath: '/connect/catalog/' + config.urlParams.catalogId + '/categories',
|
|
4534
|
+
basePath: '/connect/service-automation/catalog/' + config.urlParams.catalogId + '/categories',
|
|
4535
4535
|
method: 'patch',
|
|
4536
4536
|
body: config.body,
|
|
4537
4537
|
urlParams: config.urlParams,
|
|
@@ -4766,7 +4766,7 @@ function createResourceRequest$1(config) {
|
|
|
4766
4766
|
const headers = {};
|
|
4767
4767
|
return {
|
|
4768
4768
|
baseUri: '/services/data/v64.0',
|
|
4769
|
-
basePath: '/connect/service-automation',
|
|
4769
|
+
basePath: '/connect/service-automation/query',
|
|
4770
4770
|
method: 'post',
|
|
4771
4771
|
body: config.body,
|
|
4772
4772
|
urlParams: {},
|
|
@@ -5080,7 +5080,7 @@ function createResourceRequest(config) {
|
|
|
5080
5080
|
const headers = {};
|
|
5081
5081
|
return {
|
|
5082
5082
|
baseUri: '/services/data/v64.0',
|
|
5083
|
-
basePath: '/connect/intake-form/generate-intake-omni',
|
|
5083
|
+
basePath: '/connect/service-automation/intake-form/generate-intake-omni',
|
|
5084
5084
|
method: 'post',
|
|
5085
5085
|
body: config.body,
|
|
5086
5086
|
urlParams: {},
|
|
@@ -7,7 +7,7 @@ import { FulfillmentFlowInputRepresentation as types_FulfillmentFlowInputReprese
|
|
|
7
7
|
import { IntakeFormInputRepresentation as types_IntakeFormInputRepresentation_IntakeFormInputRepresentation } from '../types/IntakeFormInputRepresentation';
|
|
8
8
|
import { IntegrationDefInputRepresentation as types_IntegrationDefInputRepresentation_IntegrationDefInputRepresentation } from '../types/IntegrationDefInputRepresentation';
|
|
9
9
|
import { PreprocessorInputRepresentation as types_PreprocessorInputRepresentation_PreprocessorInputRepresentation } from '../types/PreprocessorInputRepresentation';
|
|
10
|
-
import { ResourceRequestConfig as
|
|
10
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationCatalogCatalogItem_ResourceRequestConfig } from '../resources/postConnectServiceAutomationCatalogCatalogItem';
|
|
11
11
|
import { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
12
12
|
export declare const adapterName = "createCatalogItem";
|
|
13
13
|
export declare const createCatalogItem_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -27,7 +27,7 @@ export interface CreateCatalogItemConfig {
|
|
|
27
27
|
preProcessors?: Array<types_PreprocessorInputRepresentation_PreprocessorInputRepresentation | null>;
|
|
28
28
|
usedFor?: string | null;
|
|
29
29
|
}
|
|
30
|
-
export declare const createResourceParams: (config: CreateCatalogItemConfig) =>
|
|
30
|
+
export declare const createResourceParams: (config: CreateCatalogItemConfig) => resources_postConnectServiceAutomationCatalogCatalogItem_ResourceRequestConfig;
|
|
31
31
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateCatalogItemConfig>): adapter$45$utils_Untrusted<CreateCatalogItemConfig>;
|
|
32
32
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateCatalogItemConfig | null;
|
|
33
33
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateCatalogItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
@@ -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_postConnectServiceAutomationIntakeFormGenerateIntakeOmni_ResourceRequestConfig } from '../resources/postConnectServiceAutomationIntakeFormGenerateIntakeOmni';
|
|
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_postConnectServiceAutomationIntakeFormGenerateIntakeOmni_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>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, 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
3
|
import { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
|
|
4
|
-
import { ResourceRequestConfig as
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationQuery_ResourceRequestConfig } from '../resources/postConnectServiceAutomationQuery';
|
|
5
5
|
import { ServiceAutomationDepOutputRepresentation as types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation } from '../types/ServiceAutomationDepOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "getAllServiceAutomationDep";
|
|
7
7
|
export declare const getAllServiceAutomationDep_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -12,15 +12,15 @@ export interface GetAllServiceAutomationDepConfig {
|
|
|
12
12
|
filters: Array<types_FilterInputRepresentation_FilterInputRepresentation>;
|
|
13
13
|
limit?: number | null;
|
|
14
14
|
}
|
|
15
|
-
export declare const createResourceParams: (config: GetAllServiceAutomationDepConfig) =>
|
|
15
|
+
export declare const createResourceParams: (config: GetAllServiceAutomationDepConfig) => resources_postConnectServiceAutomationQuery_ResourceRequestConfig;
|
|
16
16
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): string;
|
|
17
17
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
18
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAllServiceAutomationDepConfig>): adapter$45$utils_Untrusted<GetAllServiceAutomationDepConfig>;
|
|
19
19
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAllServiceAutomationDepConfig | null;
|
|
20
20
|
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): $64$luvio_engine_Fragment;
|
|
21
21
|
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): $64$luvio_engine_Snapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>;
|
|
22
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, resourceParams:
|
|
23
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, resourceParams:
|
|
22
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, resourceParams: resources_postConnectServiceAutomationQuery_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>>;
|
|
23
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, resourceParams: resources_postConnectServiceAutomationQuery_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
24
24
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>>;
|
|
25
25
|
export type BuildSnapshotContext = {
|
|
26
26
|
luvio: $64$luvio_engine_Luvio;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, 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_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig } from '../resources/getConnectServiceAutomationCatalogCatalogItemByCatalogItemId';
|
|
4
4
|
import { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
5
5
|
export declare const adapterName = "getCatalogItem";
|
|
6
6
|
export declare const getCatalogItem_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -8,15 +8,15 @@ export declare const getCatalogItem_ConfigPropertyNames: adapter$45$utils_Adapte
|
|
|
8
8
|
export interface GetCatalogItemConfig {
|
|
9
9
|
catalogItemId: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const createResourceParams: (config: GetCatalogItemConfig) =>
|
|
11
|
+
export declare const createResourceParams: (config: GetCatalogItemConfig) => resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig;
|
|
12
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): string;
|
|
13
13
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
14
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCatalogItemConfig>): adapter$45$utils_Untrusted<GetCatalogItemConfig>;
|
|
15
15
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCatalogItemConfig | null;
|
|
16
16
|
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): $64$luvio_engine_Fragment;
|
|
17
17
|
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): $64$luvio_engine_Snapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>;
|
|
18
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, resourceParams:
|
|
19
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, resourceParams:
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, resourceParams: resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, resourceParams: resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
20
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
21
21
|
export type BuildSnapshotContext = {
|
|
22
22
|
luvio: $64$luvio_engine_Luvio;
|
|
@@ -7,7 +7,7 @@ import { FulfillmentFlowInputRepresentation as types_FulfillmentFlowInputReprese
|
|
|
7
7
|
import { IntakeFormInputRepresentation as types_IntakeFormInputRepresentation_IntakeFormInputRepresentation } from '../types/IntakeFormInputRepresentation';
|
|
8
8
|
import { IntegrationDefInputRepresentation as types_IntegrationDefInputRepresentation_IntegrationDefInputRepresentation } from '../types/IntegrationDefInputRepresentation';
|
|
9
9
|
import { PreprocessorInputRepresentation as types_PreprocessorInputRepresentation_PreprocessorInputRepresentation } from '../types/PreprocessorInputRepresentation';
|
|
10
|
-
import { ResourceRequestConfig as
|
|
10
|
+
import { ResourceRequestConfig as resources_patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig } from '../resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId';
|
|
11
11
|
import { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
12
12
|
export declare const adapterName = "updateCatalogItem";
|
|
13
13
|
export declare const updateCatalogItem_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -29,7 +29,7 @@ export interface UpdateCatalogItemConfig {
|
|
|
29
29
|
preProcessors?: Array<types_PreprocessorInputRepresentation_PreprocessorInputRepresentation | null>;
|
|
30
30
|
usedFor?: string | null;
|
|
31
31
|
}
|
|
32
|
-
export declare const createResourceParams: (config: UpdateCatalogItemConfig) =>
|
|
32
|
+
export declare const createResourceParams: (config: UpdateCatalogItemConfig) => resources_patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig;
|
|
33
33
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateCatalogItemConfig>): adapter$45$utils_Untrusted<UpdateCatalogItemConfig>;
|
|
34
34
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateCatalogItemConfig | null;
|
|
35
35
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateCatalogItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { CategoryInput as types_CategoryInput_CategoryInput } from '../types/CategoryInput';
|
|
4
|
-
import { ResourceRequestConfig as
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectServiceAutomationCatalogCategoriesByCatalogId_ResourceRequestConfig } from '../resources/patchConnectServiceAutomationCatalogCategoriesByCatalogId';
|
|
5
5
|
import { CategoryAndParentOutputRepresentation as types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation } from '../types/CategoryAndParentOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "updateEpcCategories";
|
|
7
7
|
export declare const updateEpcCategories_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -10,7 +10,7 @@ export interface UpdateEpcCategoriesConfig {
|
|
|
10
10
|
catalogId: string;
|
|
11
11
|
categories: Array<types_CategoryInput_CategoryInput>;
|
|
12
12
|
}
|
|
13
|
-
export declare const createResourceParams: (config: UpdateEpcCategoriesConfig) =>
|
|
13
|
+
export declare const createResourceParams: (config: UpdateEpcCategoriesConfig) => resources_patchConnectServiceAutomationCatalogCategoriesByCatalogId_ResourceRequestConfig;
|
|
14
14
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateEpcCategoriesConfig>): adapter$45$utils_Untrusted<UpdateEpcCategoriesConfig>;
|
|
15
15
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateEpcCategoriesConfig | null;
|
|
16
16
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateEpcCategoriesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation, any>>;
|
package/dist/es/es2018/types/src/generated/types/IntegrationDefinitionOutputPresentation.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 = "1006a153c933b8bc4b1d44663893e206";
|
|
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: IntegrationDefinitionOutputPresentation, existing: IntegrationDefinitionOutputPresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IntegrationDefinitionOutputPresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export interface IntegrationDefinitionOutputPresentationNormalized {
|
|
|
17
17
|
/** Id of the Integration Definition */
|
|
18
18
|
id?: string | null;
|
|
19
19
|
/** Integration Definition Id */
|
|
20
|
-
|
|
20
|
+
integrationDefinitionId?: string | null;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Output Representation for Integration Definition
|
|
@@ -27,5 +27,5 @@ export interface IntegrationDefinitionOutputPresentationNormalized {
|
|
|
27
27
|
*/
|
|
28
28
|
export interface IntegrationDefinitionOutputPresentation {
|
|
29
29
|
id?: string | null;
|
|
30
|
-
|
|
30
|
+
integrationDefinitionId?: string | null;
|
|
31
31
|
}
|
|
@@ -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 = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
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: PreprocessorOutputRepresentation, existing: PreprocessorOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PreprocessorOutputRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export interface PreprocessorOutputRepresentationNormalized {
|
|
|
17
17
|
/** ProductConfigFlow Id */
|
|
18
18
|
id?: string | null;
|
|
19
19
|
/** Preprocessor Id */
|
|
20
|
-
|
|
20
|
+
preProcessorsID?: string | null;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Output Representation for Preprocessors
|
|
@@ -27,5 +27,5 @@ export interface PreprocessorOutputRepresentationNormalized {
|
|
|
27
27
|
*/
|
|
28
28
|
export interface PreprocessorOutputRepresentation {
|
|
29
29
|
id?: string | null;
|
|
30
|
-
|
|
30
|
+
preProcessorsID?: string | null;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.339.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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.339.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.339.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1840,7 +1840,7 @@ function equals$8(existing, incoming) {
|
|
|
1840
1840
|
return true;
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
|
-
const VERSION$7 = "
|
|
1843
|
+
const VERSION$7 = "1006a153c933b8bc4b1d44663893e206";
|
|
1844
1844
|
function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
1845
1845
|
const v_error = (() => {
|
|
1846
1846
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1874,31 +1874,31 @@ function validate$b(obj, path = 'IntegrationDefinitionOutputPresentation') {
|
|
|
1874
1874
|
return new TypeError(message);
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
|
-
if (obj.
|
|
1878
|
-
const
|
|
1879
|
-
const
|
|
1880
|
-
let
|
|
1881
|
-
const
|
|
1882
|
-
if (typeof
|
|
1883
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
1877
|
+
if (obj.integrationDefinitionId !== undefined) {
|
|
1878
|
+
const obj_integrationDefinitionId = obj.integrationDefinitionId;
|
|
1879
|
+
const path_integrationDefinitionId = path + '.integrationDefinitionId';
|
|
1880
|
+
let obj_integrationDefinitionId_union0 = null;
|
|
1881
|
+
const obj_integrationDefinitionId_union0_error = (() => {
|
|
1882
|
+
if (typeof obj_integrationDefinitionId !== 'string') {
|
|
1883
|
+
return new TypeError('Expected "string" but received "' + typeof obj_integrationDefinitionId + '" (at "' + path_integrationDefinitionId + '")');
|
|
1884
1884
|
}
|
|
1885
1885
|
})();
|
|
1886
|
-
if (
|
|
1887
|
-
|
|
1886
|
+
if (obj_integrationDefinitionId_union0_error != null) {
|
|
1887
|
+
obj_integrationDefinitionId_union0 = obj_integrationDefinitionId_union0_error.message;
|
|
1888
1888
|
}
|
|
1889
|
-
let
|
|
1890
|
-
const
|
|
1891
|
-
if (
|
|
1892
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
1889
|
+
let obj_integrationDefinitionId_union1 = null;
|
|
1890
|
+
const obj_integrationDefinitionId_union1_error = (() => {
|
|
1891
|
+
if (obj_integrationDefinitionId !== null) {
|
|
1892
|
+
return new TypeError('Expected "null" but received "' + typeof obj_integrationDefinitionId + '" (at "' + path_integrationDefinitionId + '")');
|
|
1893
1893
|
}
|
|
1894
1894
|
})();
|
|
1895
|
-
if (
|
|
1896
|
-
|
|
1895
|
+
if (obj_integrationDefinitionId_union1_error != null) {
|
|
1896
|
+
obj_integrationDefinitionId_union1 = obj_integrationDefinitionId_union1_error.message;
|
|
1897
1897
|
}
|
|
1898
|
-
if (
|
|
1899
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
1900
|
-
message += '\n' +
|
|
1901
|
-
message += '\n' +
|
|
1898
|
+
if (obj_integrationDefinitionId_union0 && obj_integrationDefinitionId_union1) {
|
|
1899
|
+
let message = 'Object doesn\'t match union (at "' + path_integrationDefinitionId + '")';
|
|
1900
|
+
message += '\n' + obj_integrationDefinitionId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
1901
|
+
message += '\n' + obj_integrationDefinitionId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
1902
1902
|
return new TypeError(message);
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
@@ -1917,7 +1917,7 @@ const select$d = function IntegrationDefinitionOutputPresentationSelect() {
|
|
|
1917
1917
|
required: false
|
|
1918
1918
|
},
|
|
1919
1919
|
{
|
|
1920
|
-
name: '
|
|
1920
|
+
name: 'integrationDefinitionId',
|
|
1921
1921
|
kind: 'Scalar',
|
|
1922
1922
|
required: false
|
|
1923
1923
|
}
|
|
@@ -1938,23 +1938,23 @@ function equals$7(existing, incoming) {
|
|
|
1938
1938
|
return false;
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
1941
|
-
const
|
|
1942
|
-
const
|
|
1941
|
+
const existing_integrationDefinitionId = existing.integrationDefinitionId;
|
|
1942
|
+
const incoming_integrationDefinitionId = incoming.integrationDefinitionId;
|
|
1943
1943
|
// if at least one of these optionals is defined
|
|
1944
|
-
if (
|
|
1944
|
+
if (existing_integrationDefinitionId !== undefined || incoming_integrationDefinitionId !== undefined) {
|
|
1945
1945
|
// if one of these is not defined we know the other is defined and therefore
|
|
1946
1946
|
// not equal
|
|
1947
|
-
if (
|
|
1947
|
+
if (existing_integrationDefinitionId === undefined || incoming_integrationDefinitionId === undefined) {
|
|
1948
1948
|
return false;
|
|
1949
1949
|
}
|
|
1950
|
-
if (!(
|
|
1950
|
+
if (!(existing_integrationDefinitionId === incoming_integrationDefinitionId)) {
|
|
1951
1951
|
return false;
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
return true;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
const VERSION$6 = "
|
|
1957
|
+
const VERSION$6 = "2d685b1e467eb8d61276e834ea3b74a3";
|
|
1958
1958
|
function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
|
|
1959
1959
|
const v_error = (() => {
|
|
1960
1960
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1988,31 +1988,31 @@ function validate$a(obj, path = 'PreprocessorOutputRepresentation') {
|
|
|
1988
1988
|
return new TypeError(message);
|
|
1989
1989
|
}
|
|
1990
1990
|
}
|
|
1991
|
-
if (obj.
|
|
1992
|
-
const
|
|
1993
|
-
const
|
|
1994
|
-
let
|
|
1995
|
-
const
|
|
1996
|
-
if (typeof
|
|
1997
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
1991
|
+
if (obj.preProcessorsID !== undefined) {
|
|
1992
|
+
const obj_preProcessorsID = obj.preProcessorsID;
|
|
1993
|
+
const path_preProcessorsID = path + '.preProcessorsID';
|
|
1994
|
+
let obj_preProcessorsID_union0 = null;
|
|
1995
|
+
const obj_preProcessorsID_union0_error = (() => {
|
|
1996
|
+
if (typeof obj_preProcessorsID !== 'string') {
|
|
1997
|
+
return new TypeError('Expected "string" but received "' + typeof obj_preProcessorsID + '" (at "' + path_preProcessorsID + '")');
|
|
1998
1998
|
}
|
|
1999
1999
|
})();
|
|
2000
|
-
if (
|
|
2001
|
-
|
|
2000
|
+
if (obj_preProcessorsID_union0_error != null) {
|
|
2001
|
+
obj_preProcessorsID_union0 = obj_preProcessorsID_union0_error.message;
|
|
2002
2002
|
}
|
|
2003
|
-
let
|
|
2004
|
-
const
|
|
2005
|
-
if (
|
|
2006
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
2003
|
+
let obj_preProcessorsID_union1 = null;
|
|
2004
|
+
const obj_preProcessorsID_union1_error = (() => {
|
|
2005
|
+
if (obj_preProcessorsID !== null) {
|
|
2006
|
+
return new TypeError('Expected "null" but received "' + typeof obj_preProcessorsID + '" (at "' + path_preProcessorsID + '")');
|
|
2007
2007
|
}
|
|
2008
2008
|
})();
|
|
2009
|
-
if (
|
|
2010
|
-
|
|
2009
|
+
if (obj_preProcessorsID_union1_error != null) {
|
|
2010
|
+
obj_preProcessorsID_union1 = obj_preProcessorsID_union1_error.message;
|
|
2011
2011
|
}
|
|
2012
|
-
if (
|
|
2013
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
2014
|
-
message += '\n' +
|
|
2015
|
-
message += '\n' +
|
|
2012
|
+
if (obj_preProcessorsID_union0 && obj_preProcessorsID_union1) {
|
|
2013
|
+
let message = 'Object doesn\'t match union (at "' + path_preProcessorsID + '")';
|
|
2014
|
+
message += '\n' + obj_preProcessorsID_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
2015
|
+
message += '\n' + obj_preProcessorsID_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2016
2016
|
return new TypeError(message);
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
@@ -2031,7 +2031,7 @@ const select$c = function PreprocessorOutputRepresentationSelect() {
|
|
|
2031
2031
|
required: false
|
|
2032
2032
|
},
|
|
2033
2033
|
{
|
|
2034
|
-
name: '
|
|
2034
|
+
name: 'preProcessorsID',
|
|
2035
2035
|
kind: 'Scalar',
|
|
2036
2036
|
required: false
|
|
2037
2037
|
}
|
|
@@ -2052,16 +2052,16 @@ function equals$6(existing, incoming) {
|
|
|
2052
2052
|
return false;
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
|
-
const
|
|
2056
|
-
const
|
|
2055
|
+
const existing_preProcessorsID = existing.preProcessorsID;
|
|
2056
|
+
const incoming_preProcessorsID = incoming.preProcessorsID;
|
|
2057
2057
|
// if at least one of these optionals is defined
|
|
2058
|
-
if (
|
|
2058
|
+
if (existing_preProcessorsID !== undefined || incoming_preProcessorsID !== undefined) {
|
|
2059
2059
|
// if one of these is not defined we know the other is defined and therefore
|
|
2060
2060
|
// not equal
|
|
2061
|
-
if (
|
|
2061
|
+
if (existing_preProcessorsID === undefined || incoming_preProcessorsID === undefined) {
|
|
2062
2062
|
return false;
|
|
2063
2063
|
}
|
|
2064
|
-
if (!(
|
|
2064
|
+
if (!(existing_preProcessorsID === incoming_preProcessorsID)) {
|
|
2065
2065
|
return false;
|
|
2066
2066
|
}
|
|
2067
2067
|
}
|
|
@@ -3794,7 +3794,7 @@ function createResourceRequest$5(config) {
|
|
|
3794
3794
|
const headers = {};
|
|
3795
3795
|
return {
|
|
3796
3796
|
baseUri: '/services/data/v64.0',
|
|
3797
|
-
basePath: '/connect/catalog/catalog-item',
|
|
3797
|
+
basePath: '/connect/service-automation/catalog/catalog-item',
|
|
3798
3798
|
method: 'post',
|
|
3799
3799
|
body: config.body,
|
|
3800
3800
|
urlParams: {},
|
|
@@ -4197,7 +4197,7 @@ function createResourceRequest$4(config) {
|
|
|
4197
4197
|
const headers = {};
|
|
4198
4198
|
return {
|
|
4199
4199
|
baseUri: '/services/data/v64.0',
|
|
4200
|
-
basePath: '/connect/intake-form/generate-intake-omni',
|
|
4200
|
+
basePath: '/connect/service-automation/intake-form/generate-intake-omni',
|
|
4201
4201
|
method: 'post',
|
|
4202
4202
|
body: config.body,
|
|
4203
4203
|
urlParams: {},
|
|
@@ -4421,7 +4421,7 @@ function createResourceRequest$3(config) {
|
|
|
4421
4421
|
const headers = {};
|
|
4422
4422
|
return {
|
|
4423
4423
|
baseUri: '/services/data/v64.0',
|
|
4424
|
-
basePath: '/connect/service-automation',
|
|
4424
|
+
basePath: '/connect/service-automation/query',
|
|
4425
4425
|
method: 'post',
|
|
4426
4426
|
body: config.body,
|
|
4427
4427
|
urlParams: {},
|
|
@@ -4583,7 +4583,7 @@ function createResourceRequest$2(config) {
|
|
|
4583
4583
|
const headers = {};
|
|
4584
4584
|
return {
|
|
4585
4585
|
baseUri: '/services/data/v64.0',
|
|
4586
|
-
basePath: '/connect/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4586
|
+
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4587
4587
|
method: 'get',
|
|
4588
4588
|
body: null,
|
|
4589
4589
|
urlParams: config.urlParams,
|
|
@@ -4706,7 +4706,7 @@ function createResourceRequest$1(config) {
|
|
|
4706
4706
|
const headers = {};
|
|
4707
4707
|
return {
|
|
4708
4708
|
baseUri: '/services/data/v64.0',
|
|
4709
|
-
basePath: '/connect/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4709
|
+
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
4710
4710
|
method: 'patch',
|
|
4711
4711
|
body: config.body,
|
|
4712
4712
|
urlParams: config.urlParams,
|
|
@@ -5079,7 +5079,7 @@ function createResourceRequest(config) {
|
|
|
5079
5079
|
const headers = {};
|
|
5080
5080
|
return {
|
|
5081
5081
|
baseUri: '/services/data/v64.0',
|
|
5082
|
-
basePath: '/connect/catalog/' + config.urlParams.catalogId + '/categories',
|
|
5082
|
+
basePath: '/connect/service-automation/catalog/' + config.urlParams.catalogId + '/categories',
|
|
5083
5083
|
method: 'patch',
|
|
5084
5084
|
body: config.body,
|
|
5085
5085
|
urlParams: config.urlParams,
|
|
@@ -5206,4 +5206,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5206
5206
|
});
|
|
5207
5207
|
|
|
5208
5208
|
export { createCatalogItem, generateOmniScript, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, updateCatalogItem, updateEpcCategories };
|
|
5209
|
-
// version: 1.
|
|
5209
|
+
// version: 1.339.0-f273f846cc
|
package/src/raml/api.raml
CHANGED
|
@@ -606,7 +606,7 @@ types:
|
|
|
606
606
|
required: false
|
|
607
607
|
description: Id of the Integration Definition
|
|
608
608
|
type: string | nil
|
|
609
|
-
|
|
609
|
+
integrationDefinitionId:
|
|
610
610
|
required: false
|
|
611
611
|
description: Integration Definition Id
|
|
612
612
|
type: string | nil
|
|
@@ -658,7 +658,7 @@ types:
|
|
|
658
658
|
required: false
|
|
659
659
|
description: ProductConfigFlow Id
|
|
660
660
|
type: string | nil
|
|
661
|
-
|
|
661
|
+
preProcessorsID:
|
|
662
662
|
required: false
|
|
663
663
|
description: Preprocessor Id
|
|
664
664
|
type: string | nil
|
|
@@ -805,7 +805,7 @@ types:
|
|
|
805
805
|
type: array
|
|
806
806
|
items:
|
|
807
807
|
type: CatalogItemAttributeOutputRepresentation | nil
|
|
808
|
-
/connect:
|
|
808
|
+
/connect/service-automation:
|
|
809
809
|
/catalog:
|
|
810
810
|
/catalog-item:
|
|
811
811
|
post:
|
|
@@ -868,7 +868,7 @@ types:
|
|
|
868
868
|
description: CatalogId for which categories are realigned.
|
|
869
869
|
type: string
|
|
870
870
|
required: true
|
|
871
|
-
/
|
|
871
|
+
/query:
|
|
872
872
|
post:
|
|
873
873
|
displayName: postServiceAutomation
|
|
874
874
|
description: POST Resource method to obtain Specified Class objects
|
package/src/raml/luvio.raml
CHANGED
|
@@ -24,16 +24,16 @@ types:
|
|
|
24
24
|
(luvio.ttl): 6000
|
|
25
25
|
(luvio.key):
|
|
26
26
|
id: id
|
|
27
|
-
/connect/service-automation:
|
|
27
|
+
/connect/service-automation/query:
|
|
28
28
|
post:
|
|
29
29
|
(luvio.method): get
|
|
30
30
|
(luvio.adapter):
|
|
31
31
|
name: getAllServiceAutomationDep
|
|
32
|
-
/connect/catalog/catalog-item:
|
|
32
|
+
/connect/service-automation/catalog/catalog-item:
|
|
33
33
|
post:
|
|
34
34
|
(luvio.adapter):
|
|
35
35
|
name: createCatalogItem
|
|
36
|
-
/connect/catalog/catalog-item/{catalogItemId}:
|
|
36
|
+
/connect/service-automation/catalog/catalog-item/{catalogItemId}:
|
|
37
37
|
get:
|
|
38
38
|
(luvio.adapter):
|
|
39
39
|
name: getCatalogItem
|
|
@@ -42,11 +42,11 @@ types:
|
|
|
42
42
|
patch:
|
|
43
43
|
(luvio.adapter):
|
|
44
44
|
name: updateCatalogItem
|
|
45
|
-
/connect/catalog/{catalogId}/categories:
|
|
45
|
+
/connect/service-automation/catalog/{catalogId}/categories:
|
|
46
46
|
patch:
|
|
47
47
|
(luvio.adapter):
|
|
48
48
|
name: updateEpcCategories
|
|
49
|
-
/connect/intake-form/generate-intake-omni:
|
|
49
|
+
/connect/service-automation/intake-form/generate-intake-omni:
|
|
50
50
|
post:
|
|
51
51
|
(luvio.adapter):
|
|
52
52
|
name: generateOmniScript
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|