@salesforce/lds-adapters-industries-externaldocument 1.215.0 → 1.217.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/industries-externaldocument.js +17 -48
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/createExternalDocument.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/getExternalDocument.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/getExternalDocumentUsers.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/saveExternalDocument.d.ts +1 -1
- package/package.json +1 -1
- package/sfdc/index.js +18 -49
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2,
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2, typeCheckConfig as typeCheckConfig$4, StoreKeyMap, createResourceParams as createResourceParams$4 } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -48,10 +48,13 @@ const snapshotRefreshOptions = {
|
|
|
48
48
|
},
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
function generateParamConfigMetadata(name, required, coerceFn) {
|
|
51
|
+
function generateParamConfigMetadata(name, required, resourceType, typeCheckShape, isArrayShape = false, coerceFn) {
|
|
52
52
|
return {
|
|
53
53
|
name,
|
|
54
54
|
required,
|
|
55
|
+
resourceType,
|
|
56
|
+
typeCheckShape,
|
|
57
|
+
isArrayShape,
|
|
55
58
|
coerceFn,
|
|
56
59
|
};
|
|
57
60
|
}
|
|
@@ -210,28 +213,18 @@ function createResourceRequest$3(config) {
|
|
|
210
213
|
|
|
211
214
|
const adapterName$3 = 'getExternalDocument';
|
|
212
215
|
const getExternalDocument_ConfigPropertyMetadata = [
|
|
213
|
-
generateParamConfigMetadata('externalDocumentId', false),
|
|
214
|
-
generateParamConfigMetadata('refObjectId', false),
|
|
216
|
+
generateParamConfigMetadata('externalDocumentId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
217
|
+
generateParamConfigMetadata('refObjectId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
215
218
|
];
|
|
216
219
|
const getExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getExternalDocument_ConfigPropertyMetadata);
|
|
217
|
-
|
|
218
|
-
const resourceParams = {
|
|
219
|
-
queryParams: {
|
|
220
|
-
externalDocumentId: config.externalDocumentId, refObjectId: config.refObjectId
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
return resourceParams;
|
|
224
|
-
}
|
|
220
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(getExternalDocument_ConfigPropertyMetadata);
|
|
225
221
|
function keyBuilder$4(luvio, config) {
|
|
226
222
|
const resourceParams = createResourceParams$3(config);
|
|
227
223
|
return keyBuilder$5(luvio, resourceParams);
|
|
228
224
|
}
|
|
229
225
|
function typeCheckConfig$3(untrustedConfig) {
|
|
230
226
|
const config = {};
|
|
231
|
-
|
|
232
|
-
externalDocumentId: 0 /* String */,
|
|
233
|
-
refObjectId: 0 /* String */,
|
|
234
|
-
});
|
|
227
|
+
typeCheckConfig$4(untrustedConfig, config, getExternalDocument_ConfigPropertyMetadata);
|
|
235
228
|
return config;
|
|
236
229
|
}
|
|
237
230
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -452,17 +445,10 @@ function createResourceRequest$2(config) {
|
|
|
452
445
|
|
|
453
446
|
const adapterName$2 = 'createExternalDocument';
|
|
454
447
|
const createExternalDocument_ConfigPropertyMetadata = [
|
|
455
|
-
generateParamConfigMetadata('createExternalDocumentInput', true),
|
|
448
|
+
generateParamConfigMetadata('createExternalDocumentInput', true, 2 /* Body */, 4 /* Unsupported */),
|
|
456
449
|
];
|
|
457
450
|
const createExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createExternalDocument_ConfigPropertyMetadata);
|
|
458
|
-
|
|
459
|
-
const resourceParams = {
|
|
460
|
-
body: {
|
|
461
|
-
createExternalDocumentInput: config.createExternalDocumentInput
|
|
462
|
-
}
|
|
463
|
-
};
|
|
464
|
-
return resourceParams;
|
|
465
|
-
}
|
|
451
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(createExternalDocument_ConfigPropertyMetadata);
|
|
466
452
|
function typeCheckConfig$2(untrustedConfig) {
|
|
467
453
|
const config = {};
|
|
468
454
|
const untrustedConfig_createExternalDocumentInput = untrustedConfig.createExternalDocumentInput;
|
|
@@ -653,17 +639,10 @@ function createResourceRequest$1(config) {
|
|
|
653
639
|
|
|
654
640
|
const adapterName$1 = 'saveExternalDocument';
|
|
655
641
|
const saveExternalDocument_ConfigPropertyMetadata = [
|
|
656
|
-
generateParamConfigMetadata('saveExternalDocumentInput', true),
|
|
642
|
+
generateParamConfigMetadata('saveExternalDocumentInput', true, 2 /* Body */, 4 /* Unsupported */),
|
|
657
643
|
];
|
|
658
644
|
const saveExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, saveExternalDocument_ConfigPropertyMetadata);
|
|
659
|
-
|
|
660
|
-
const resourceParams = {
|
|
661
|
-
body: {
|
|
662
|
-
saveExternalDocumentInput: config.saveExternalDocumentInput
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
return resourceParams;
|
|
666
|
-
}
|
|
645
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(saveExternalDocument_ConfigPropertyMetadata);
|
|
667
646
|
function typeCheckConfig$1(untrustedConfig) {
|
|
668
647
|
const config = {};
|
|
669
648
|
const untrustedConfig_saveExternalDocumentInput = untrustedConfig.saveExternalDocumentInput;
|
|
@@ -872,28 +851,18 @@ function createResourceRequest(config) {
|
|
|
872
851
|
|
|
873
852
|
const adapterName = 'getExternalDocumentUsers';
|
|
874
853
|
const getExternalDocumentUsers_ConfigPropertyMetadata = [
|
|
875
|
-
generateParamConfigMetadata('externalDocumentId', false),
|
|
876
|
-
generateParamConfigMetadata('startsWith', false),
|
|
854
|
+
generateParamConfigMetadata('externalDocumentId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
855
|
+
generateParamConfigMetadata('startsWith', false, 1 /* QueryParameter */, 0 /* String */),
|
|
877
856
|
];
|
|
878
857
|
const getExternalDocumentUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getExternalDocumentUsers_ConfigPropertyMetadata);
|
|
879
|
-
|
|
880
|
-
const resourceParams = {
|
|
881
|
-
queryParams: {
|
|
882
|
-
externalDocumentId: config.externalDocumentId, startsWith: config.startsWith
|
|
883
|
-
}
|
|
884
|
-
};
|
|
885
|
-
return resourceParams;
|
|
886
|
-
}
|
|
858
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$4(getExternalDocumentUsers_ConfigPropertyMetadata);
|
|
887
859
|
function keyBuilder(luvio, config) {
|
|
888
860
|
const resourceParams = createResourceParams(config);
|
|
889
861
|
return keyBuilder$1(luvio, resourceParams);
|
|
890
862
|
}
|
|
891
863
|
function typeCheckConfig(untrustedConfig) {
|
|
892
864
|
const config = {};
|
|
893
|
-
|
|
894
|
-
externalDocumentId: 0 /* String */,
|
|
895
|
-
startsWith: 0 /* String */,
|
|
896
|
-
});
|
|
865
|
+
typeCheckConfig$4(untrustedConfig, config, getExternalDocumentUsers_ConfigPropertyMetadata);
|
|
897
866
|
return config;
|
|
898
867
|
}
|
|
899
868
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -57,6 +57,6 @@ export declare const snapshotRefreshOptions: {
|
|
|
57
57
|
export declare function stableJSONStringify(node: any): string | undefined;
|
|
58
58
|
export declare function getFetchResponseStatusText(status: number): string;
|
|
59
59
|
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
60
|
-
export declare function generateParamConfigMetadata(name: string, required: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
60
|
+
export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
61
61
|
export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
|
|
62
62
|
export declare const keyPrefix = "ExternalDocument";
|
|
@@ -9,7 +9,7 @@ export declare const createExternalDocument_ConfigPropertyNames: adapter$45$util
|
|
|
9
9
|
export interface CreateExternalDocumentConfig {
|
|
10
10
|
createExternalDocumentInput: types_ExternalDocCreationInputRepresentation_ExternalDocCreationInputRepresentation;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
12
|
+
export declare const createResourceParams: (config: CreateExternalDocumentConfig) => resources_postConnectExternalDocument_ResourceRequestConfig;
|
|
13
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateExternalDocumentConfig>): adapter$45$utils_Untrusted<CreateExternalDocumentConfig>;
|
|
14
14
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateExternalDocumentConfig | null;
|
|
15
15
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateExternalDocumentConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation, any>>;
|
|
@@ -9,7 +9,7 @@ export interface GetExternalDocumentConfig {
|
|
|
9
9
|
externalDocumentId?: string;
|
|
10
10
|
refObjectId?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
12
|
+
export declare const createResourceParams: (config: GetExternalDocumentConfig) => resources_getConnectExternalDocument_ResourceRequestConfig;
|
|
13
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetExternalDocumentConfig): string;
|
|
14
14
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetExternalDocumentConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
15
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetExternalDocumentConfig>): adapter$45$utils_Untrusted<GetExternalDocumentConfig>;
|
|
@@ -9,7 +9,7 @@ export interface GetExternalDocumentUsersConfig {
|
|
|
9
9
|
externalDocumentId?: string;
|
|
10
10
|
startsWith?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
12
|
+
export declare const createResourceParams: (config: GetExternalDocumentUsersConfig) => resources_getConnectExternalDocumentUsers_ResourceRequestConfig;
|
|
13
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetExternalDocumentUsersConfig): string;
|
|
14
14
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetExternalDocumentUsersConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
15
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetExternalDocumentUsersConfig>): adapter$45$utils_Untrusted<GetExternalDocumentUsersConfig>;
|
|
@@ -9,7 +9,7 @@ export declare const saveExternalDocument_ConfigPropertyNames: adapter$45$utils_
|
|
|
9
9
|
export interface SaveExternalDocumentConfig {
|
|
10
10
|
saveExternalDocumentInput: types_SaveExternalDocumentInputRepresentation_SaveExternalDocumentInputRepresentation;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
12
|
+
export declare const createResourceParams: (config: SaveExternalDocumentConfig) => resources_putConnectExternalDocumentSave_ResourceRequestConfig;
|
|
13
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SaveExternalDocumentConfig>): adapter$45$utils_Untrusted<SaveExternalDocumentConfig>;
|
|
14
14
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SaveExternalDocumentConfig | null;
|
|
15
15
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SaveExternalDocumentConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation, any>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-externaldocument",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.217.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "This External Document API family will allow to create, edit or read the information about the document which is present in the external editor outside Salesforce. ",
|
|
6
6
|
"main": "dist/es/es2018/industries-externaldocument.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2,
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$4, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$2, typeCheckConfig as typeCheckConfig$4 } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -58,10 +58,13 @@ const snapshotRefreshOptions = {
|
|
|
58
58
|
},
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
function generateParamConfigMetadata(name, required, coerceFn) {
|
|
61
|
+
function generateParamConfigMetadata(name, required, resourceType, typeCheckShape, isArrayShape = false, coerceFn) {
|
|
62
62
|
return {
|
|
63
63
|
name,
|
|
64
64
|
required,
|
|
65
|
+
resourceType,
|
|
66
|
+
typeCheckShape,
|
|
67
|
+
isArrayShape,
|
|
65
68
|
coerceFn,
|
|
66
69
|
};
|
|
67
70
|
}
|
|
@@ -233,17 +236,10 @@ function createResourceRequest$3(config) {
|
|
|
233
236
|
|
|
234
237
|
const adapterName$3 = 'createExternalDocument';
|
|
235
238
|
const createExternalDocument_ConfigPropertyMetadata = [
|
|
236
|
-
generateParamConfigMetadata('createExternalDocumentInput', true),
|
|
239
|
+
generateParamConfigMetadata('createExternalDocumentInput', true, 2 /* Body */, 4 /* Unsupported */),
|
|
237
240
|
];
|
|
238
241
|
const createExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createExternalDocument_ConfigPropertyMetadata);
|
|
239
|
-
|
|
240
|
-
const resourceParams = {
|
|
241
|
-
body: {
|
|
242
|
-
createExternalDocumentInput: config.createExternalDocumentInput
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
return resourceParams;
|
|
246
|
-
}
|
|
242
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(createExternalDocument_ConfigPropertyMetadata);
|
|
247
243
|
function typeCheckConfig$3(untrustedConfig) {
|
|
248
244
|
const config = {};
|
|
249
245
|
const untrustedConfig_createExternalDocumentInput = untrustedConfig.createExternalDocumentInput;
|
|
@@ -429,28 +425,18 @@ function createResourceRequest$2(config) {
|
|
|
429
425
|
|
|
430
426
|
const adapterName$2 = 'getExternalDocument';
|
|
431
427
|
const getExternalDocument_ConfigPropertyMetadata = [
|
|
432
|
-
generateParamConfigMetadata('externalDocumentId', false),
|
|
433
|
-
generateParamConfigMetadata('refObjectId', false),
|
|
428
|
+
generateParamConfigMetadata('externalDocumentId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
429
|
+
generateParamConfigMetadata('refObjectId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
434
430
|
];
|
|
435
431
|
const getExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getExternalDocument_ConfigPropertyMetadata);
|
|
436
|
-
|
|
437
|
-
const resourceParams = {
|
|
438
|
-
queryParams: {
|
|
439
|
-
externalDocumentId: config.externalDocumentId, refObjectId: config.refObjectId
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
|
-
return resourceParams;
|
|
443
|
-
}
|
|
432
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(getExternalDocument_ConfigPropertyMetadata);
|
|
444
433
|
function keyBuilder$3(luvio, config) {
|
|
445
434
|
const resourceParams = createResourceParams$2(config);
|
|
446
435
|
return keyBuilder$4(luvio, resourceParams);
|
|
447
436
|
}
|
|
448
437
|
function typeCheckConfig$2(untrustedConfig) {
|
|
449
438
|
const config = {};
|
|
450
|
-
|
|
451
|
-
externalDocumentId: 0 /* String */,
|
|
452
|
-
refObjectId: 0 /* String */,
|
|
453
|
-
});
|
|
439
|
+
typeCheckConfig$4(untrustedConfig, config, getExternalDocument_ConfigPropertyMetadata);
|
|
454
440
|
return config;
|
|
455
441
|
}
|
|
456
442
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -681,28 +667,18 @@ function createResourceRequest$1(config) {
|
|
|
681
667
|
|
|
682
668
|
const adapterName$1 = 'getExternalDocumentUsers';
|
|
683
669
|
const getExternalDocumentUsers_ConfigPropertyMetadata = [
|
|
684
|
-
generateParamConfigMetadata('externalDocumentId', false),
|
|
685
|
-
generateParamConfigMetadata('startsWith', false),
|
|
670
|
+
generateParamConfigMetadata('externalDocumentId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
671
|
+
generateParamConfigMetadata('startsWith', false, 1 /* QueryParameter */, 0 /* String */),
|
|
686
672
|
];
|
|
687
673
|
const getExternalDocumentUsers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getExternalDocumentUsers_ConfigPropertyMetadata);
|
|
688
|
-
|
|
689
|
-
const resourceParams = {
|
|
690
|
-
queryParams: {
|
|
691
|
-
externalDocumentId: config.externalDocumentId, startsWith: config.startsWith
|
|
692
|
-
}
|
|
693
|
-
};
|
|
694
|
-
return resourceParams;
|
|
695
|
-
}
|
|
674
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(getExternalDocumentUsers_ConfigPropertyMetadata);
|
|
696
675
|
function keyBuilder$1(luvio, config) {
|
|
697
676
|
const resourceParams = createResourceParams$1(config);
|
|
698
677
|
return keyBuilder$2(luvio, resourceParams);
|
|
699
678
|
}
|
|
700
679
|
function typeCheckConfig$1(untrustedConfig) {
|
|
701
680
|
const config = {};
|
|
702
|
-
|
|
703
|
-
externalDocumentId: 0 /* String */,
|
|
704
|
-
startsWith: 0 /* String */,
|
|
705
|
-
});
|
|
681
|
+
typeCheckConfig$4(untrustedConfig, config, getExternalDocumentUsers_ConfigPropertyMetadata);
|
|
706
682
|
return config;
|
|
707
683
|
}
|
|
708
684
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -915,17 +891,10 @@ function createResourceRequest(config) {
|
|
|
915
891
|
|
|
916
892
|
const adapterName = 'saveExternalDocument';
|
|
917
893
|
const saveExternalDocument_ConfigPropertyMetadata = [
|
|
918
|
-
generateParamConfigMetadata('saveExternalDocumentInput', true),
|
|
894
|
+
generateParamConfigMetadata('saveExternalDocumentInput', true, 2 /* Body */, 4 /* Unsupported */),
|
|
919
895
|
];
|
|
920
896
|
const saveExternalDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, saveExternalDocument_ConfigPropertyMetadata);
|
|
921
|
-
|
|
922
|
-
const resourceParams = {
|
|
923
|
-
body: {
|
|
924
|
-
saveExternalDocumentInput: config.saveExternalDocumentInput
|
|
925
|
-
}
|
|
926
|
-
};
|
|
927
|
-
return resourceParams;
|
|
928
|
-
}
|
|
897
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$4(saveExternalDocument_ConfigPropertyMetadata);
|
|
929
898
|
function typeCheckConfig(untrustedConfig) {
|
|
930
899
|
const config = {};
|
|
931
900
|
const untrustedConfig_saveExternalDocumentInput = untrustedConfig.saveExternalDocumentInput;
|
|
@@ -1016,4 +985,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1016
985
|
});
|
|
1017
986
|
|
|
1018
987
|
export { createExternalDocument, getExternalDocument, getExternalDocumentUsers, getExternalDocumentUsers_imperative, getExternalDocument_imperative, saveExternalDocument };
|
|
1019
|
-
// version: 1.
|
|
988
|
+
// version: 1.217.0-a59ee1de5
|