@salesforce/lds-adapters-industries-epc 1.328.0 → 1.329.1
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/industries-epc.js +4 -4
- package/dist/es/es2018/types/src/generated/adapters/patchIndexSetting.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/{patchConnectPcmIndexSettingBySettingId.d.ts → patchConnectPcmIndexSetting.d.ts} +1 -1
- package/package.json +4 -4
- package/sfdc/index.js +5 -5
- package/src/raml/api.raml +4 -5
- package/src/raml/luvio.raml +0 -1
|
@@ -1896,11 +1896,11 @@ function createResourceRequest$9(config) {
|
|
|
1896
1896
|
const headers = {};
|
|
1897
1897
|
return {
|
|
1898
1898
|
baseUri: '/services/data/v63.0',
|
|
1899
|
-
basePath: '/connect/pcm/index/setting
|
|
1899
|
+
basePath: '/connect/pcm/index/setting',
|
|
1900
1900
|
method: 'patch',
|
|
1901
1901
|
body: config.body,
|
|
1902
|
-
urlParams:
|
|
1903
|
-
queryParams:
|
|
1902
|
+
urlParams: {},
|
|
1903
|
+
queryParams: config.queryParams,
|
|
1904
1904
|
headers,
|
|
1905
1905
|
priority: 'normal',
|
|
1906
1906
|
};
|
|
@@ -1908,7 +1908,7 @@ function createResourceRequest$9(config) {
|
|
|
1908
1908
|
|
|
1909
1909
|
const adapterName$9 = 'patchIndexSetting';
|
|
1910
1910
|
const patchIndexSetting_ConfigPropertyMetadata = [
|
|
1911
|
-
generateParamConfigMetadata('settingId', false,
|
|
1911
|
+
generateParamConfigMetadata('settingId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1912
1912
|
generateParamConfigMetadata('setting', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1913
1913
|
];
|
|
1914
1914
|
const patchIndexSetting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, patchIndexSetting_ConfigPropertyMetadata);
|
|
@@ -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 { SettingInputRepresentation as types_SettingInputRepresentation_SettingInputRepresentation } from '../types/SettingInputRepresentation';
|
|
4
|
-
import { ResourceRequestConfig as
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectPcmIndexSetting_ResourceRequestConfig } from '../resources/patchConnectPcmIndexSetting';
|
|
5
5
|
import { IndexSettingPatchOutputRepresentation as types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation } from '../types/IndexSettingPatchOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "patchIndexSetting";
|
|
7
7
|
export declare const patchIndexSetting_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -10,7 +10,7 @@ export interface PatchIndexSettingConfig {
|
|
|
10
10
|
settingId?: string;
|
|
11
11
|
setting?: types_SettingInputRepresentation_SettingInputRepresentation;
|
|
12
12
|
}
|
|
13
|
-
export declare const createResourceParams: (config: PatchIndexSettingConfig) =>
|
|
13
|
+
export declare const createResourceParams: (config: PatchIndexSettingConfig) => resources_patchConnectPcmIndexSetting_ResourceRequestConfig;
|
|
14
14
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PatchIndexSettingConfig>): adapter$45$utils_Untrusted<PatchIndexSettingConfig>;
|
|
15
15
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PatchIndexSettingConfig | null;
|
|
16
16
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PatchIndexSettingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation, any>>;
|
|
@@ -2,7 +2,7 @@ import { SettingInputRepresentation as types_SettingInputRepresentation_SettingI
|
|
|
2
2
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
3
|
import { IndexSettingPatchOutputRepresentation as types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation } from '../types/IndexSettingPatchOutputRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
|
-
|
|
5
|
+
queryParams: {
|
|
6
6
|
settingId?: string;
|
|
7
7
|
};
|
|
8
8
|
body: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-epc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.329.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs for EPCNext project",
|
|
6
6
|
"main": "dist/es/es2018/industries-epc.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.329.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.329.1",
|
|
51
|
+
"@salesforce/lds-karma": "^1.329.1"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -4922,11 +4922,11 @@ function createResourceRequest$1(config) {
|
|
|
4922
4922
|
const headers = {};
|
|
4923
4923
|
return {
|
|
4924
4924
|
baseUri: '/services/data/v63.0',
|
|
4925
|
-
basePath: '/connect/pcm/index/setting
|
|
4925
|
+
basePath: '/connect/pcm/index/setting',
|
|
4926
4926
|
method: 'patch',
|
|
4927
4927
|
body: config.body,
|
|
4928
|
-
urlParams:
|
|
4929
|
-
queryParams:
|
|
4928
|
+
urlParams: {},
|
|
4929
|
+
queryParams: config.queryParams,
|
|
4930
4930
|
headers,
|
|
4931
4931
|
priority: 'normal',
|
|
4932
4932
|
};
|
|
@@ -4934,7 +4934,7 @@ function createResourceRequest$1(config) {
|
|
|
4934
4934
|
|
|
4935
4935
|
const adapterName$1 = 'patchIndexSetting';
|
|
4936
4936
|
const patchIndexSetting_ConfigPropertyMetadata = [
|
|
4937
|
-
generateParamConfigMetadata('settingId', false,
|
|
4937
|
+
generateParamConfigMetadata('settingId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
4938
4938
|
generateParamConfigMetadata('setting', false, 2 /* Body */, 4 /* Unsupported */),
|
|
4939
4939
|
];
|
|
4940
4940
|
const patchIndexSetting_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchIndexSetting_ConfigPropertyMetadata);
|
|
@@ -5325,4 +5325,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5325
5325
|
});
|
|
5326
5326
|
|
|
5327
5327
|
export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getConfigRuleMetadata, getConfigRuleMetadata_imperative, getContextDefinitionInfoById, getContextDefinitionInfoById_imperative, getIndexConfigurations, getIndexConfigurations_imperative, getIndexError, getIndexError_imperative, getIndexSetting, getIndexSetting_imperative, getProductAttributesByProductId, getProductAttributesByProductId_imperative, getProductById, getProductById_imperative, getProductFlowByProductId, getProductFlowByProductId_imperative, getSnapshots, getSnapshots_imperative, patchIndexSetting, updateIndexConfigurations };
|
|
5328
|
-
// version: 1.
|
|
5328
|
+
// version: 1.329.1-c9b166ef17
|
package/src/raml/api.raml
CHANGED
|
@@ -1446,7 +1446,6 @@ types:
|
|
|
1446
1446
|
body:
|
|
1447
1447
|
application/json:
|
|
1448
1448
|
type: IndexSettingOutputRepresentation
|
|
1449
|
-
/setting/{settingId}:
|
|
1450
1449
|
patch:
|
|
1451
1450
|
displayName: patchIndexSetting
|
|
1452
1451
|
description: API to patch the Setting used in Indexing
|
|
@@ -1456,14 +1455,14 @@ types:
|
|
|
1456
1455
|
body:
|
|
1457
1456
|
application/json:
|
|
1458
1457
|
type: IndexSettingPatchOutputRepresentation
|
|
1458
|
+
queryParameters:
|
|
1459
|
+
settingId:
|
|
1460
|
+
type: string
|
|
1461
|
+
required: false
|
|
1459
1462
|
body:
|
|
1460
1463
|
application/json:
|
|
1461
1464
|
type: IndexSettingInputRepresentation
|
|
1462
1465
|
(oas-body-name): epcIndexSettingRequestPayload
|
|
1463
|
-
uriParameters:
|
|
1464
|
-
settingId:
|
|
1465
|
-
type: string
|
|
1466
|
-
required: false
|
|
1467
1466
|
/snapshots:
|
|
1468
1467
|
get:
|
|
1469
1468
|
displayName: getSnapshot
|