@salesforce/lds-adapters-service-ecm 1.355.0 → 1.357.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 +9 -9
- package/dist/es/es2018/types/src/generated/adapters/generateOmniScript.d.ts +2 -2
- package/package.json +3 -3
- package/sfdc/index.js +10 -10
- package/src/raml/api.raml +2 -2
- package/src/raml/luvio.raml +1 -1
- /package/dist/es/es2018/types/src/generated/resources/{postConnectServiceAutomationIntakeFormGenerateIntakeOmni.d.ts → postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript.d.ts} +0 -0
|
@@ -5783,7 +5783,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
5783
5783
|
function createResourceRequest$7(config) {
|
|
5784
5784
|
const headers = {};
|
|
5785
5785
|
return {
|
|
5786
|
-
baseUri: '/services/data/
|
|
5786
|
+
baseUri: '/services/data/v65.0',
|
|
5787
5787
|
basePath: '/connect/service-automation/catalog/catalog-item',
|
|
5788
5788
|
method: 'post',
|
|
5789
5789
|
body: config.body,
|
|
@@ -6083,7 +6083,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
6083
6083
|
function createResourceRequest$6(config) {
|
|
6084
6084
|
const headers = {};
|
|
6085
6085
|
return {
|
|
6086
|
-
baseUri: '/services/data/
|
|
6086
|
+
baseUri: '/services/data/v65.0',
|
|
6087
6087
|
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
6088
6088
|
method: 'get',
|
|
6089
6089
|
body: null,
|
|
@@ -6207,7 +6207,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
6207
6207
|
function createResourceRequest$5(config) {
|
|
6208
6208
|
const headers = {};
|
|
6209
6209
|
return {
|
|
6210
|
-
baseUri: '/services/data/
|
|
6210
|
+
baseUri: '/services/data/v65.0',
|
|
6211
6211
|
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
6212
6212
|
method: 'patch',
|
|
6213
6213
|
body: config.body,
|
|
@@ -6629,7 +6629,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
6629
6629
|
function createResourceRequest$4(config) {
|
|
6630
6630
|
const headers = {};
|
|
6631
6631
|
return {
|
|
6632
|
-
baseUri: '/services/data/
|
|
6632
|
+
baseUri: '/services/data/v65.0',
|
|
6633
6633
|
basePath: '/connect/service-automation/catalog/' + config.urlParams.catalogId + '/categories',
|
|
6634
6634
|
method: 'patch',
|
|
6635
6635
|
body: config.body,
|
|
@@ -6864,7 +6864,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
6864
6864
|
function createResourceRequest$3(config) {
|
|
6865
6865
|
const headers = {};
|
|
6866
6866
|
return {
|
|
6867
|
-
baseUri: '/services/data/
|
|
6867
|
+
baseUri: '/services/data/v65.0',
|
|
6868
6868
|
basePath: '/connect/service-automation/query',
|
|
6869
6869
|
method: 'post',
|
|
6870
6870
|
body: config.body,
|
|
@@ -7798,7 +7798,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
7798
7798
|
function createResourceRequest$2(config) {
|
|
7799
7799
|
const headers = {};
|
|
7800
7800
|
return {
|
|
7801
|
-
baseUri: '/services/data/
|
|
7801
|
+
baseUri: '/services/data/v65.0',
|
|
7802
7802
|
basePath: '/connect/service-automation/gen-ai/actions',
|
|
7803
7803
|
method: 'get',
|
|
7804
7804
|
body: null,
|
|
@@ -8091,8 +8091,8 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
8091
8091
|
function createResourceRequest$1(config) {
|
|
8092
8092
|
const headers = {};
|
|
8093
8093
|
return {
|
|
8094
|
-
baseUri: '/services/data/
|
|
8095
|
-
basePath: '/connect/service-automation/intake-form/generate-intake-
|
|
8094
|
+
baseUri: '/services/data/v65.0',
|
|
8095
|
+
basePath: '/connect/service-automation/intake-form/generate-intake-omniscript',
|
|
8096
8096
|
method: 'post',
|
|
8097
8097
|
body: config.body,
|
|
8098
8098
|
urlParams: {},
|
|
@@ -8356,7 +8356,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
8356
8356
|
function createResourceRequest(config) {
|
|
8357
8357
|
const headers = {};
|
|
8358
8358
|
return {
|
|
8359
|
-
baseUri: '/services/data/
|
|
8359
|
+
baseUri: '/services/data/v65.0',
|
|
8360
8360
|
basePath: '/connect/service-automation/service-request/service-catalog-request/' + config.urlParams.serviceRequestId + '',
|
|
8361
8361
|
method: 'get',
|
|
8362
8362
|
body: null,
|
|
@@ -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_postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript_ResourceRequestConfig } from '../resources/postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript';
|
|
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_postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript_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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.357.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.357.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.357.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -5793,7 +5793,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
5793
5793
|
function createResourceRequest$7(config) {
|
|
5794
5794
|
const headers = {};
|
|
5795
5795
|
return {
|
|
5796
|
-
baseUri: '/services/data/
|
|
5796
|
+
baseUri: '/services/data/v65.0',
|
|
5797
5797
|
basePath: '/connect/service-automation/catalog/catalog-item',
|
|
5798
5798
|
method: 'post',
|
|
5799
5799
|
body: config.body,
|
|
@@ -6245,8 +6245,8 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
6245
6245
|
function createResourceRequest$6(config) {
|
|
6246
6246
|
const headers = {};
|
|
6247
6247
|
return {
|
|
6248
|
-
baseUri: '/services/data/
|
|
6249
|
-
basePath: '/connect/service-automation/intake-form/generate-intake-
|
|
6248
|
+
baseUri: '/services/data/v65.0',
|
|
6249
|
+
basePath: '/connect/service-automation/intake-form/generate-intake-omniscript',
|
|
6250
6250
|
method: 'post',
|
|
6251
6251
|
body: config.body,
|
|
6252
6252
|
urlParams: {},
|
|
@@ -7126,7 +7126,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
7126
7126
|
function createResourceRequest$5(config) {
|
|
7127
7127
|
const headers = {};
|
|
7128
7128
|
return {
|
|
7129
|
-
baseUri: '/services/data/
|
|
7129
|
+
baseUri: '/services/data/v65.0',
|
|
7130
7130
|
basePath: '/connect/service-automation/gen-ai/actions',
|
|
7131
7131
|
method: 'get',
|
|
7132
7132
|
body: null,
|
|
@@ -7382,7 +7382,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
7382
7382
|
function createResourceRequest$4(config) {
|
|
7383
7383
|
const headers = {};
|
|
7384
7384
|
return {
|
|
7385
|
-
baseUri: '/services/data/
|
|
7385
|
+
baseUri: '/services/data/v65.0',
|
|
7386
7386
|
basePath: '/connect/service-automation/query',
|
|
7387
7387
|
method: 'post',
|
|
7388
7388
|
body: config.body,
|
|
@@ -7544,7 +7544,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
7544
7544
|
function createResourceRequest$3(config) {
|
|
7545
7545
|
const headers = {};
|
|
7546
7546
|
return {
|
|
7547
|
-
baseUri: '/services/data/
|
|
7547
|
+
baseUri: '/services/data/v65.0',
|
|
7548
7548
|
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
7549
7549
|
method: 'get',
|
|
7550
7550
|
body: null,
|
|
@@ -7841,7 +7841,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
7841
7841
|
function createResourceRequest$2(config) {
|
|
7842
7842
|
const headers = {};
|
|
7843
7843
|
return {
|
|
7844
|
-
baseUri: '/services/data/
|
|
7844
|
+
baseUri: '/services/data/v65.0',
|
|
7845
7845
|
basePath: '/connect/service-automation/service-request/service-catalog-request/' + config.urlParams.serviceRequestId + '',
|
|
7846
7846
|
method: 'get',
|
|
7847
7847
|
body: null,
|
|
@@ -7964,7 +7964,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
7964
7964
|
function createResourceRequest$1(config) {
|
|
7965
7965
|
const headers = {};
|
|
7966
7966
|
return {
|
|
7967
|
-
baseUri: '/services/data/
|
|
7967
|
+
baseUri: '/services/data/v65.0',
|
|
7968
7968
|
basePath: '/connect/service-automation/catalog/catalog-item/' + config.urlParams.catalogItemId + '',
|
|
7969
7969
|
method: 'patch',
|
|
7970
7970
|
body: config.body,
|
|
@@ -8386,7 +8386,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
8386
8386
|
function createResourceRequest(config) {
|
|
8387
8387
|
const headers = {};
|
|
8388
8388
|
return {
|
|
8389
|
-
baseUri: '/services/data/
|
|
8389
|
+
baseUri: '/services/data/v65.0',
|
|
8390
8390
|
basePath: '/connect/service-automation/catalog/' + config.urlParams.catalogId + '/categories',
|
|
8391
8391
|
method: 'patch',
|
|
8392
8392
|
body: config.body,
|
|
@@ -8530,4 +8530,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8530
8530
|
});
|
|
8531
8531
|
|
|
8532
8532
|
export { createCatalogItem, generateOmniScript, getAgentActions, getAgentActions_imperative, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getCatalogItem, getCatalogItem_imperative, getServiceRequest, getServiceRequest_imperative, updateCatalogItem, updateEpcCategories };
|
|
8533
|
-
// version: 1.
|
|
8533
|
+
// version: 1.357.0-5a2425b0d8
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '63.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v65.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -1469,7 +1469,7 @@ types:
|
|
|
1469
1469
|
type: string
|
|
1470
1470
|
required: false
|
|
1471
1471
|
/intake-form:
|
|
1472
|
-
/generate-intake-
|
|
1472
|
+
/generate-intake-omniscript:
|
|
1473
1473
|
post:
|
|
1474
1474
|
displayName: postOmniIntake
|
|
1475
1475
|
description: API to generate omniscript for productId.
|
package/src/raml/luvio.raml
CHANGED