@salesforce/lds-adapters-marketing-cdp 1.214.2 → 1.216.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/marketing-cdp.js +23 -73
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/createAdg.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/deleteAdg.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/getAdg.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/adapters/retryDataGraph.d.ts +1 -1
- package/package.json +1 -1
- package/sfdc/index.js +24 -74
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap,
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$4, typeCheckConfig as typeCheckConfig$4, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$1 } 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
|
}
|
|
@@ -503,45 +506,19 @@ function createResourceRequest$3(config) {
|
|
|
503
506
|
|
|
504
507
|
const adapterName$3 = 'createAdg';
|
|
505
508
|
const createAdg_ConfigPropertyMetadata = [
|
|
506
|
-
generateParamConfigMetadata('dataspaceName', false),
|
|
507
|
-
generateParamConfigMetadata('description', false),
|
|
508
|
-
generateParamConfigMetadata('label', false),
|
|
509
|
-
generateParamConfigMetadata('name', false),
|
|
510
|
-
generateParamConfigMetadata('primaryObjectName', true),
|
|
511
|
-
generateParamConfigMetadata('primaryObjectType', true),
|
|
512
|
-
generateParamConfigMetadata('sourceObject', true),
|
|
509
|
+
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
510
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
511
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
512
|
+
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
513
|
+
generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
|
|
514
|
+
generateParamConfigMetadata('primaryObjectType', true, 2 /* Body */, 0 /* String */),
|
|
515
|
+
generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
|
|
513
516
|
];
|
|
514
517
|
const createAdg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createAdg_ConfigPropertyMetadata);
|
|
515
|
-
|
|
516
|
-
const resourceParams = {
|
|
517
|
-
body: {
|
|
518
|
-
primaryObjectName: config.primaryObjectName, primaryObjectType: config.primaryObjectType, sourceObject: config.sourceObject
|
|
519
|
-
}
|
|
520
|
-
};
|
|
521
|
-
if (config['dataspaceName'] !== undefined) {
|
|
522
|
-
resourceParams.body['dataspaceName'] = config['dataspaceName'];
|
|
523
|
-
}
|
|
524
|
-
if (config['description'] !== undefined) {
|
|
525
|
-
resourceParams.body['description'] = config['description'];
|
|
526
|
-
}
|
|
527
|
-
if (config['label'] !== undefined) {
|
|
528
|
-
resourceParams.body['label'] = config['label'];
|
|
529
|
-
}
|
|
530
|
-
if (config['name'] !== undefined) {
|
|
531
|
-
resourceParams.body['name'] = config['name'];
|
|
532
|
-
}
|
|
533
|
-
return resourceParams;
|
|
534
|
-
}
|
|
518
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(createAdg_ConfigPropertyMetadata);
|
|
535
519
|
function typeCheckConfig$3(untrustedConfig) {
|
|
536
520
|
const config = {};
|
|
537
|
-
|
|
538
|
-
dataspaceName: 0 /* String */,
|
|
539
|
-
description: 0 /* String */,
|
|
540
|
-
label: 0 /* String */,
|
|
541
|
-
name: 0 /* String */,
|
|
542
|
-
primaryObjectName: 0 /* String */,
|
|
543
|
-
primaryObjectType: 0 /* String */,
|
|
544
|
-
});
|
|
521
|
+
typeCheckConfig$4(untrustedConfig, config, createAdg_ConfigPropertyMetadata);
|
|
545
522
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
546
523
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
547
524
|
return config;
|
|
@@ -638,26 +615,17 @@ function createResourceRequest$2(config) {
|
|
|
638
615
|
|
|
639
616
|
const adapterName$2 = 'getAdg';
|
|
640
617
|
const getAdg_ConfigPropertyMetadata = [
|
|
641
|
-
generateParamConfigMetadata('adgName', true),
|
|
618
|
+
generateParamConfigMetadata('adgName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
642
619
|
];
|
|
643
620
|
const getAdg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getAdg_ConfigPropertyMetadata);
|
|
644
|
-
|
|
645
|
-
const resourceParams = {
|
|
646
|
-
urlParams: {
|
|
647
|
-
adgName: config.adgName
|
|
648
|
-
}
|
|
649
|
-
};
|
|
650
|
-
return resourceParams;
|
|
651
|
-
}
|
|
621
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(getAdg_ConfigPropertyMetadata);
|
|
652
622
|
function keyBuilder$2(luvio, config) {
|
|
653
623
|
const resourceParams = createResourceParams$2(config);
|
|
654
624
|
return keyBuilder$3(luvio, resourceParams);
|
|
655
625
|
}
|
|
656
626
|
function typeCheckConfig$2(untrustedConfig) {
|
|
657
627
|
const config = {};
|
|
658
|
-
|
|
659
|
-
adgName: 0 /* String */,
|
|
660
|
-
});
|
|
628
|
+
typeCheckConfig$4(untrustedConfig, config, getAdg_ConfigPropertyMetadata);
|
|
661
629
|
return config;
|
|
662
630
|
}
|
|
663
631
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -764,22 +732,13 @@ function createResourceRequest$1(config) {
|
|
|
764
732
|
|
|
765
733
|
const adapterName$1 = 'deleteAdg';
|
|
766
734
|
const deleteAdg_ConfigPropertyMetadata = [
|
|
767
|
-
generateParamConfigMetadata('adgName', true),
|
|
735
|
+
generateParamConfigMetadata('adgName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
768
736
|
];
|
|
769
737
|
const deleteAdg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, deleteAdg_ConfigPropertyMetadata);
|
|
770
|
-
|
|
771
|
-
const resourceParams = {
|
|
772
|
-
urlParams: {
|
|
773
|
-
adgName: config.adgName
|
|
774
|
-
}
|
|
775
|
-
};
|
|
776
|
-
return resourceParams;
|
|
777
|
-
}
|
|
738
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(deleteAdg_ConfigPropertyMetadata);
|
|
778
739
|
function typeCheckConfig$1(untrustedConfig) {
|
|
779
740
|
const config = {};
|
|
780
|
-
|
|
781
|
-
adgName: 0 /* String */,
|
|
782
|
-
});
|
|
741
|
+
typeCheckConfig$4(untrustedConfig, config, deleteAdg_ConfigPropertyMetadata);
|
|
783
742
|
return config;
|
|
784
743
|
}
|
|
785
744
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -936,22 +895,13 @@ function createResourceRequest(config) {
|
|
|
936
895
|
|
|
937
896
|
const adapterName = 'retryDataGraph';
|
|
938
897
|
const retryDataGraph_ConfigPropertyMetadata = [
|
|
939
|
-
generateParamConfigMetadata('dataGraphName', true),
|
|
898
|
+
generateParamConfigMetadata('dataGraphName', true, 2 /* Body */, 0 /* String */),
|
|
940
899
|
];
|
|
941
900
|
const retryDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, retryDataGraph_ConfigPropertyMetadata);
|
|
942
|
-
|
|
943
|
-
const resourceParams = {
|
|
944
|
-
body: {
|
|
945
|
-
dataGraphName: config.dataGraphName
|
|
946
|
-
}
|
|
947
|
-
};
|
|
948
|
-
return resourceParams;
|
|
949
|
-
}
|
|
901
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$4(retryDataGraph_ConfigPropertyMetadata);
|
|
950
902
|
function typeCheckConfig(untrustedConfig) {
|
|
951
903
|
const config = {};
|
|
952
|
-
|
|
953
|
-
dataGraphName: 0 /* String */,
|
|
954
|
-
});
|
|
904
|
+
typeCheckConfig$4(untrustedConfig, config, retryDataGraph_ConfigPropertyMetadata);
|
|
955
905
|
return config;
|
|
956
906
|
}
|
|
957
907
|
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 = "CDP";
|
|
@@ -14,7 +14,7 @@ export interface CreateAdgConfig {
|
|
|
14
14
|
primaryObjectType: string;
|
|
15
15
|
sourceObject: unknown;
|
|
16
16
|
}
|
|
17
|
-
export declare
|
|
17
|
+
export declare const createResourceParams: (config: CreateAdgConfig) => resources_postSsotApplicationDataGraphs_ResourceRequestConfig;
|
|
18
18
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateAdgConfig>): adapter$45$utils_Untrusted<CreateAdgConfig>;
|
|
19
19
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateAdgConfig | null;
|
|
20
20
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateAdgConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpApplicationDataGraphOutputRepresentation_CdpApplicationDataGraphOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpApplicationDataGraphOutputRepresentation_CdpApplicationDataGraphOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpApplicationDataGraphOutputRepresentation_CdpApplicationDataGraphOutputRepresentation, any>>;
|
|
@@ -7,7 +7,7 @@ export declare const deleteAdg_ConfigPropertyNames: adapter$45$utils_AdapterVali
|
|
|
7
7
|
export interface DeleteAdgConfig {
|
|
8
8
|
adgName: string;
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
10
|
+
export declare const createResourceParams: (config: DeleteAdgConfig) => resources_deleteSsotApplicationDataGraphsByAdgName_ResourceRequestConfig;
|
|
11
11
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteAdgConfig>): adapter$45$utils_Untrusted<DeleteAdgConfig>;
|
|
12
12
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteAdgConfig | null;
|
|
13
13
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteAdgConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
@@ -9,7 +9,7 @@ export declare const getAdg_ConfigPropertyNames: adapter$45$utils_AdapterValidat
|
|
|
9
9
|
export interface GetAdgConfig {
|
|
10
10
|
adgName: string;
|
|
11
11
|
}
|
|
12
|
-
export declare
|
|
12
|
+
export declare const createResourceParams: (config: GetAdgConfig) => resources_getSsotApplicationDataGraphsByAdgName_ResourceRequestConfig;
|
|
13
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAdgConfig): string;
|
|
14
14
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAdgConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
15
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAdgConfig>): adapter$45$utils_Untrusted<GetAdgConfig>;
|
|
@@ -8,7 +8,7 @@ export declare const retryDataGraph_ConfigPropertyNames: adapter$45$utils_Adapte
|
|
|
8
8
|
export interface RetryDataGraphConfig {
|
|
9
9
|
dataGraphName: string;
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
11
|
+
export declare const createResourceParams: (config: RetryDataGraphConfig) => resources_putSsotApplicationDataGraphsRetry_ResourceRequestConfig;
|
|
12
12
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<RetryDataGraphConfig>): adapter$45$utils_Untrusted<RetryDataGraphConfig>;
|
|
13
13
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): RetryDataGraphConfig | null;
|
|
14
14
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: RetryDataGraphConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation, any>>;
|
package/package.json
CHANGED
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,
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$4, typeCheckConfig as typeCheckConfig$4, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$1 } 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
|
}
|
|
@@ -513,45 +516,19 @@ function createResourceRequest$3(config) {
|
|
|
513
516
|
|
|
514
517
|
const adapterName$3 = 'createAdg';
|
|
515
518
|
const createAdg_ConfigPropertyMetadata = [
|
|
516
|
-
generateParamConfigMetadata('dataspaceName', false),
|
|
517
|
-
generateParamConfigMetadata('description', false),
|
|
518
|
-
generateParamConfigMetadata('label', false),
|
|
519
|
-
generateParamConfigMetadata('name', false),
|
|
520
|
-
generateParamConfigMetadata('primaryObjectName', true),
|
|
521
|
-
generateParamConfigMetadata('primaryObjectType', true),
|
|
522
|
-
generateParamConfigMetadata('sourceObject', true),
|
|
519
|
+
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
520
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
521
|
+
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
522
|
+
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
523
|
+
generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
|
|
524
|
+
generateParamConfigMetadata('primaryObjectType', true, 2 /* Body */, 0 /* String */),
|
|
525
|
+
generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
|
|
523
526
|
];
|
|
524
527
|
const createAdg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createAdg_ConfigPropertyMetadata);
|
|
525
|
-
|
|
526
|
-
const resourceParams = {
|
|
527
|
-
body: {
|
|
528
|
-
primaryObjectName: config.primaryObjectName, primaryObjectType: config.primaryObjectType, sourceObject: config.sourceObject
|
|
529
|
-
}
|
|
530
|
-
};
|
|
531
|
-
if (config['dataspaceName'] !== undefined) {
|
|
532
|
-
resourceParams.body['dataspaceName'] = config['dataspaceName'];
|
|
533
|
-
}
|
|
534
|
-
if (config['description'] !== undefined) {
|
|
535
|
-
resourceParams.body['description'] = config['description'];
|
|
536
|
-
}
|
|
537
|
-
if (config['label'] !== undefined) {
|
|
538
|
-
resourceParams.body['label'] = config['label'];
|
|
539
|
-
}
|
|
540
|
-
if (config['name'] !== undefined) {
|
|
541
|
-
resourceParams.body['name'] = config['name'];
|
|
542
|
-
}
|
|
543
|
-
return resourceParams;
|
|
544
|
-
}
|
|
528
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(createAdg_ConfigPropertyMetadata);
|
|
545
529
|
function typeCheckConfig$3(untrustedConfig) {
|
|
546
530
|
const config = {};
|
|
547
|
-
|
|
548
|
-
dataspaceName: 0 /* String */,
|
|
549
|
-
description: 0 /* String */,
|
|
550
|
-
label: 0 /* String */,
|
|
551
|
-
name: 0 /* String */,
|
|
552
|
-
primaryObjectName: 0 /* String */,
|
|
553
|
-
primaryObjectType: 0 /* String */,
|
|
554
|
-
});
|
|
531
|
+
typeCheckConfig$4(untrustedConfig, config, createAdg_ConfigPropertyMetadata);
|
|
555
532
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
556
533
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
557
534
|
return config;
|
|
@@ -631,22 +608,13 @@ function createResourceRequest$2(config) {
|
|
|
631
608
|
|
|
632
609
|
const adapterName$2 = 'deleteAdg';
|
|
633
610
|
const deleteAdg_ConfigPropertyMetadata = [
|
|
634
|
-
generateParamConfigMetadata('adgName', true),
|
|
611
|
+
generateParamConfigMetadata('adgName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
635
612
|
];
|
|
636
613
|
const deleteAdg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deleteAdg_ConfigPropertyMetadata);
|
|
637
|
-
|
|
638
|
-
const resourceParams = {
|
|
639
|
-
urlParams: {
|
|
640
|
-
adgName: config.adgName
|
|
641
|
-
}
|
|
642
|
-
};
|
|
643
|
-
return resourceParams;
|
|
644
|
-
}
|
|
614
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(deleteAdg_ConfigPropertyMetadata);
|
|
645
615
|
function typeCheckConfig$2(untrustedConfig) {
|
|
646
616
|
const config = {};
|
|
647
|
-
|
|
648
|
-
adgName: 0 /* String */,
|
|
649
|
-
});
|
|
617
|
+
typeCheckConfig$4(untrustedConfig, config, deleteAdg_ConfigPropertyMetadata);
|
|
650
618
|
return config;
|
|
651
619
|
}
|
|
652
620
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -748,26 +716,17 @@ function createResourceRequestFromRepresentation(representation) {
|
|
|
748
716
|
|
|
749
717
|
const adapterName$1 = 'getAdg';
|
|
750
718
|
const getAdg_ConfigPropertyMetadata = [
|
|
751
|
-
generateParamConfigMetadata('adgName', true),
|
|
719
|
+
generateParamConfigMetadata('adgName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
752
720
|
];
|
|
753
721
|
const getAdg_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getAdg_ConfigPropertyMetadata);
|
|
754
|
-
|
|
755
|
-
const resourceParams = {
|
|
756
|
-
urlParams: {
|
|
757
|
-
adgName: config.adgName
|
|
758
|
-
}
|
|
759
|
-
};
|
|
760
|
-
return resourceParams;
|
|
761
|
-
}
|
|
722
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(getAdg_ConfigPropertyMetadata);
|
|
762
723
|
function keyBuilder$1(luvio, config) {
|
|
763
724
|
const resourceParams = createResourceParams$1(config);
|
|
764
725
|
return keyBuilder$2(luvio, resourceParams);
|
|
765
726
|
}
|
|
766
727
|
function typeCheckConfig$1(untrustedConfig) {
|
|
767
728
|
const config = {};
|
|
768
|
-
|
|
769
|
-
adgName: 0 /* String */,
|
|
770
|
-
});
|
|
729
|
+
typeCheckConfig$4(untrustedConfig, config, getAdg_ConfigPropertyMetadata);
|
|
771
730
|
return config;
|
|
772
731
|
}
|
|
773
732
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -982,22 +941,13 @@ function createResourceRequest(config) {
|
|
|
982
941
|
|
|
983
942
|
const adapterName = 'retryDataGraph';
|
|
984
943
|
const retryDataGraph_ConfigPropertyMetadata = [
|
|
985
|
-
generateParamConfigMetadata('dataGraphName', true),
|
|
944
|
+
generateParamConfigMetadata('dataGraphName', true, 2 /* Body */, 0 /* String */),
|
|
986
945
|
];
|
|
987
946
|
const retryDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, retryDataGraph_ConfigPropertyMetadata);
|
|
988
|
-
|
|
989
|
-
const resourceParams = {
|
|
990
|
-
body: {
|
|
991
|
-
dataGraphName: config.dataGraphName
|
|
992
|
-
}
|
|
993
|
-
};
|
|
994
|
-
return resourceParams;
|
|
995
|
-
}
|
|
947
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$4(retryDataGraph_ConfigPropertyMetadata);
|
|
996
948
|
function typeCheckConfig(untrustedConfig) {
|
|
997
949
|
const config = {};
|
|
998
|
-
|
|
999
|
-
dataGraphName: 0 /* String */,
|
|
1000
|
-
});
|
|
950
|
+
typeCheckConfig$4(untrustedConfig, config, retryDataGraph_ConfigPropertyMetadata);
|
|
1001
951
|
return config;
|
|
1002
952
|
}
|
|
1003
953
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -1079,4 +1029,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1079
1029
|
});
|
|
1080
1030
|
|
|
1081
1031
|
export { createAdg, deleteAdg, getAdg, getAdgNotifyChange, getAdg_imperative, retryDataGraph };
|
|
1082
|
-
// version: 1.
|
|
1032
|
+
// version: 1.216.0-1d57d45fe
|