@salesforce/lds-adapters-cdp-byoc 1.354.0-dev11 → 1.354.0-dev13

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.
@@ -644,6 +644,7 @@ function createResourceRequest$6(config) {
644
644
  const adapterName$6 = 'createCustomCodeDeployment';
645
645
  const createCustomCodeDeployment_ConfigPropertyMetadata = [
646
646
  generateParamConfigMetadata('codeType', false, 2 /* Body */, 0 /* String */),
647
+ generateParamConfigMetadata('functionInvokeOptions', false, 2 /* Body */, 0 /* String */, true),
647
648
  generateParamConfigMetadata('computeType', true, 2 /* Body */, 0 /* String */),
648
649
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
649
650
  generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
@@ -871,7 +872,7 @@ function select$7(luvio, params) {
871
872
  return select$8();
872
873
  }
873
874
  function keyBuilder$8(luvio, params) {
874
- return keyPrefix + '::CustomCodeDeploymentCollectionRepresentation:(' + 'codeType:' + params.queryParams.codeType + ',' + 'deploymentStatus:' + params.queryParams.deploymentStatus + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
875
+ return keyPrefix + '::CustomCodeDeploymentCollectionRepresentation:(' + 'codeType:' + params.queryParams.codeType + ',' + 'deploymentStatus:' + params.queryParams.deploymentStatus + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
875
876
  }
876
877
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
877
878
  getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
@@ -917,6 +918,7 @@ const adapterName$5 = 'getCustomCodeDeployments';
917
918
  const getCustomCodeDeployments_ConfigPropertyMetadata = [
918
919
  generateParamConfigMetadata('codeType', false, 1 /* QueryParameter */, 0 /* String */),
919
920
  generateParamConfigMetadata('deploymentStatus', false, 1 /* QueryParameter */, 0 /* String */),
921
+ generateParamConfigMetadata('label', false, 1 /* QueryParameter */, 0 /* String */),
920
922
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
921
923
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
922
924
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
@@ -1262,6 +1264,7 @@ const adapterName$2 = 'updateCustomCodeDeployment';
1262
1264
  const updateCustomCodeDeployment_ConfigPropertyMetadata = [
1263
1265
  generateParamConfigMetadata('customCodeNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1264
1266
  generateParamConfigMetadata('computeType', false, 2 /* Body */, 0 /* String */),
1267
+ generateParamConfigMetadata('functionInvokeOptions', false, 2 /* Body */, 0 /* String */, true),
1265
1268
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1266
1269
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1267
1270
  generateParamConfigMetadata('version', false, 2 /* Body */, 0 /* String */),
@@ -7,6 +7,7 @@ export declare const createCustomCodeDeployment_ConfigPropertyMetadata: $64$luvi
7
7
  export declare const createCustomCodeDeployment_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface CreateCustomCodeDeploymentConfig {
9
9
  codeType?: string;
10
+ functionInvokeOptions?: Array<string>;
10
11
  computeType: string;
11
12
  description?: string;
12
13
  id?: string;
@@ -8,6 +8,7 @@ export declare const getCustomCodeDeployments_ConfigPropertyNames: adapter$45$ut
8
8
  export interface GetCustomCodeDeploymentsConfig {
9
9
  codeType?: string;
10
10
  deploymentStatus?: string;
11
+ label?: string;
11
12
  limit?: number;
12
13
  offset?: number;
13
14
  orderBy?: string;
@@ -8,6 +8,7 @@ export declare const updateCustomCodeDeployment_ConfigPropertyNames: adapter$45$
8
8
  export interface UpdateCustomCodeDeploymentConfig {
9
9
  customCodeNameOrId: string;
10
10
  computeType?: string;
11
+ functionInvokeOptions?: Array<string>;
11
12
  description?: string;
12
13
  label?: string;
13
14
  version?: string;
@@ -4,6 +4,7 @@ export interface ResourceRequestConfig {
4
4
  queryParams: {
5
5
  codeType?: string;
6
6
  deploymentStatus?: string;
7
+ label?: string;
7
8
  limit?: number;
8
9
  offset?: number;
9
10
  orderBy?: string;
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
6
6
  };
7
7
  body: {
8
8
  computeType?: string;
9
+ functionInvokeOptions?: Array<string>;
9
10
  description?: string;
10
11
  label?: string;
11
12
  version?: string;
@@ -3,6 +3,7 @@ import { CustomCodeDeploymentRepresentation as types_CustomCodeDeploymentReprese
3
3
  export interface ResourceRequestConfig {
4
4
  body: {
5
5
  codeType?: string;
6
+ functionInvokeOptions?: Array<string>;
6
7
  computeType: string;
7
8
  description?: string;
8
9
  id?: string;
@@ -1,5 +1,5 @@
1
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 VERSION = "35be8feb5512570a4a3c88f17e2ad67a";
2
+ export declare const VERSION = "18750a4e7f924c9f124da725a36ce360";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -29,6 +29,8 @@ export interface CustomCodeDeploymentInputRepresentationNormalized {
29
29
  computeType: string;
30
30
  /** Description of the custom code deployment */
31
31
  description?: string;
32
+ /** List of function invoke options */
33
+ functionInvokeOptions?: Array<string>;
32
34
  /** Id */
33
35
  id?: string;
34
36
  /** Label of the custom code deployment */
@@ -54,6 +56,7 @@ export interface CustomCodeDeploymentInputRepresentation {
54
56
  codeType?: string;
55
57
  computeType: string;
56
58
  description?: string;
59
+ functionInvokeOptions?: Array<string>;
57
60
  id?: string;
58
61
  label: string;
59
62
  name: string;
@@ -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 = "8fe411f011b431839587b7cc828e10c4";
2
+ export declare const VERSION = "5de9566d92287d155e08f578b4a835d7";
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: CustomCodePatchInputRepresentation, existing: CustomCodePatchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomCodePatchInputRepresentationNormalized;
@@ -18,6 +18,8 @@ export interface CustomCodePatchInputRepresentationNormalized {
18
18
  computeType?: string;
19
19
  /** Description of the custom code deployment */
20
20
  description?: string;
21
+ /** List of function invoke options */
22
+ functionInvokeOptions?: Array<string>;
21
23
  /** Label of the custom code deployment */
22
24
  label?: string;
23
25
  /** Version of the custom code */
@@ -32,6 +34,7 @@ export interface CustomCodePatchInputRepresentationNormalized {
32
34
  export interface CustomCodePatchInputRepresentation {
33
35
  computeType?: string;
34
36
  description?: string;
37
+ functionInvokeOptions?: Array<string>;
35
38
  label?: string;
36
39
  version?: string;
37
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-byoc",
3
- "version": "1.354.0-dev11",
3
+ "version": "1.354.0-dev13",
4
4
  "description": "Used to connect to the CDP BYOC service in core and off-core",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-byoc.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.354.0-dev11"
43
+ "@salesforce/lds-bindings": "^1.354.0-dev13"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.354.0-dev11"
46
+ "@salesforce/lds-compiler-plugins": "^1.354.0-dev13"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -654,6 +654,7 @@ function createResourceRequest$6(config) {
654
654
  const adapterName$6 = 'createCustomCodeDeployment';
655
655
  const createCustomCodeDeployment_ConfigPropertyMetadata = [
656
656
  generateParamConfigMetadata('codeType', false, 2 /* Body */, 0 /* String */),
657
+ generateParamConfigMetadata('functionInvokeOptions', false, 2 /* Body */, 0 /* String */, true),
657
658
  generateParamConfigMetadata('computeType', true, 2 /* Body */, 0 /* String */),
658
659
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
659
660
  generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
@@ -1135,7 +1136,7 @@ function select$6(luvio, params) {
1135
1136
  return select$7();
1136
1137
  }
1137
1138
  function keyBuilder$5(luvio, params) {
1138
- return keyPrefix + '::CustomCodeDeploymentCollectionRepresentation:(' + 'codeType:' + params.queryParams.codeType + ',' + 'deploymentStatus:' + params.queryParams.deploymentStatus + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1139
+ return keyPrefix + '::CustomCodeDeploymentCollectionRepresentation:(' + 'codeType:' + params.queryParams.codeType + ',' + 'deploymentStatus:' + params.queryParams.deploymentStatus + ',' + 'label:' + params.queryParams.label + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'orderBy:' + params.queryParams.orderBy + ')';
1139
1140
  }
1140
1141
  function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
1141
1142
  getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
@@ -1181,6 +1182,7 @@ const adapterName$3 = 'getCustomCodeDeployments';
1181
1182
  const getCustomCodeDeployments_ConfigPropertyMetadata = [
1182
1183
  generateParamConfigMetadata('codeType', false, 1 /* QueryParameter */, 0 /* String */),
1183
1184
  generateParamConfigMetadata('deploymentStatus', false, 1 /* QueryParameter */, 0 /* String */),
1185
+ generateParamConfigMetadata('label', false, 1 /* QueryParameter */, 0 /* String */),
1184
1186
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
1185
1187
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
1186
1188
  generateParamConfigMetadata('orderBy', false, 1 /* QueryParameter */, 0 /* String */),
@@ -1974,6 +1976,7 @@ const adapterName = 'updateCustomCodeDeployment';
1974
1976
  const updateCustomCodeDeployment_ConfigPropertyMetadata = [
1975
1977
  generateParamConfigMetadata('customCodeNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
1976
1978
  generateParamConfigMetadata('computeType', false, 2 /* Body */, 0 /* String */),
1979
+ generateParamConfigMetadata('functionInvokeOptions', false, 2 /* Body */, 0 /* String */, true),
1977
1980
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1978
1981
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1979
1982
  generateParamConfigMetadata('version', false, 2 /* Body */, 0 /* String */),
@@ -2093,4 +2096,4 @@ withDefaultLuvio((luvio) => {
2093
2096
  });
2094
2097
 
2095
2098
  export { createCustomCodeDeployment, deleteCustomCodeDeployment, getCustomCodeDeployment, getCustomCodeDeploymentNotifyChange, getCustomCodeDeployment_imperative, getCustomCodeDeployments, getCustomCodeDeployments_imperative, getCustomCodeExecutionLogs, getCustomCodeExecutionLogs_imperative, getCustomCodeExecutions, getCustomCodeExecutions_imperative, updateCustomCodeDeployment };
2096
- // version: 1.354.0-dev11-634f7f7752
2099
+ // version: 1.354.0-dev13-272d3dd416
package/src/raml/api.raml CHANGED
@@ -52,6 +52,13 @@ types:
52
52
  enum:
53
53
  - Function
54
54
  - Script
55
+ functionInvokeOptions?:
56
+ description: List of function invoke options
57
+ type: array
58
+ items:
59
+ type: string
60
+ enum:
61
+ - UnstructuredChunking
55
62
  computeType:
56
63
  description: Compute type for executions of the custom code
57
64
  type: string
@@ -321,6 +328,13 @@ types:
321
328
  - High_memory_cpu_m
322
329
  - High_memory_cpu_s
323
330
  - High_memory_cpu_xs
331
+ functionInvokeOptions?:
332
+ description: List of function invoke options
333
+ type: array
334
+ items:
335
+ type: string
336
+ enum:
337
+ - UnstructuredChunking
324
338
  description?:
325
339
  description: Description of the custom code deployment
326
340
  type: string
@@ -372,6 +386,9 @@ types:
372
386
  - Initializing
373
387
  - Pending
374
388
  - Scanning
389
+ label:
390
+ type: string
391
+ required: false
375
392
  limit:
376
393
  type: integer
377
394
  required: false