@salesforce/lds-adapters-platform-appexchange 1.332.0-dev2 → 1.332.0-dev21
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/platform-appexchange.js +560 -195
- package/dist/es/es2018/types/src/generated/adapters/searchListings.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -3
- package/dist/es/es2018/types/src/generated/resources/postConnectAppexchangeSearchListings.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/AppExchangeSearchListingCollectionRepresentation.d.ts +17 -5
- package/dist/es/es2018/types/src/generated/types/AppExchangeSearchListingRepresentation.d.ts +29 -29
- package/dist/es/es2018/types/src/generated/types/AppExchangeSearchListingsInputRepresentation.d.ts +79 -0
- package/package.json +3 -3
- package/sfdc/index.js +846 -489
- package/src/raml/api.raml +345 -312
- package/src/raml/luvio.raml +4 -3
- package/dist/es/es2018/types/src/generated/adapters/getAppExchangeSearchListingCollection.d.ts +0 -44
- package/dist/es/es2018/types/src/generated/resources/getConnectAppexchangeSearchListings.d.ts +0 -32
package/src/raml/luvio.raml
CHANGED
|
@@ -9,7 +9,8 @@ uses:
|
|
|
9
9
|
|
|
10
10
|
types:
|
|
11
11
|
AppExchangeSearchListingCollectionRepresentation:
|
|
12
|
-
(luvio.
|
|
12
|
+
(luvio.key):
|
|
13
|
+
primaryKey: primaryKey
|
|
13
14
|
AppExchangeUserEventsOutputRepresentation:
|
|
14
15
|
(luvio.key):
|
|
15
16
|
primaryKey: primaryKey
|
|
@@ -22,9 +23,9 @@ types:
|
|
|
22
23
|
|
|
23
24
|
/connect/appexchange:
|
|
24
25
|
/search-listings:
|
|
25
|
-
|
|
26
|
+
post:
|
|
26
27
|
(luvio.adapter):
|
|
27
|
-
name:
|
|
28
|
+
name: searchListings
|
|
28
29
|
/user-events:
|
|
29
30
|
post:
|
|
30
31
|
(luvio.adapter):
|
package/dist/es/es2018/types/src/generated/adapters/getAppExchangeSearchListingCollection.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
-
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as resources_getConnectAppexchangeSearchListings_ResourceRequestConfig } from '../resources/getConnectAppexchangeSearchListings';
|
|
4
|
-
import { AppExchangeSearchListingCollectionRepresentation as types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation } from '../types/AppExchangeSearchListingCollectionRepresentation';
|
|
5
|
-
export declare const adapterName = "getAppExchangeSearchListingCollection";
|
|
6
|
-
export declare const getAppExchangeSearchListingCollection_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
-
export declare const getAppExchangeSearchListingCollection_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
-
export interface GetAppExchangeSearchListingCollectionConfig {
|
|
9
|
-
category?: Array<string>;
|
|
10
|
-
edition?: Array<string>;
|
|
11
|
-
features?: Array<string>;
|
|
12
|
-
impact?: Array<string>;
|
|
13
|
-
industry?: Array<string>;
|
|
14
|
-
keyword?: string;
|
|
15
|
-
labs?: Array<string>;
|
|
16
|
-
language?: string;
|
|
17
|
-
languages?: Array<string>;
|
|
18
|
-
page?: number;
|
|
19
|
-
pageSize?: number;
|
|
20
|
-
persona?: Array<string>;
|
|
21
|
-
price?: Array<string>;
|
|
22
|
-
product?: string;
|
|
23
|
-
rating?: number;
|
|
24
|
-
sort?: string;
|
|
25
|
-
tech?: Array<string>;
|
|
26
|
-
type?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const createResourceParams: (config: GetAppExchangeSearchListingCollectionConfig) => resources_getConnectAppexchangeSearchListings_ResourceRequestConfig;
|
|
29
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig): string;
|
|
30
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
31
|
-
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAppExchangeSearchListingCollectionConfig>): adapter$45$utils_Untrusted<GetAppExchangeSearchListingCollectionConfig>;
|
|
32
|
-
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAppExchangeSearchListingCollectionConfig | null;
|
|
33
|
-
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig): $64$luvio_engine_Fragment;
|
|
34
|
-
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig): $64$luvio_engine_Snapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, any>;
|
|
35
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig, resourceParams: resources_getConnectAppexchangeSearchListings_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, any>>;
|
|
36
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig, resourceParams: resources_getConnectAppexchangeSearchListings_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
37
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppExchangeSearchListingCollectionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, any>>;
|
|
38
|
-
export type BuildSnapshotContext = {
|
|
39
|
-
luvio: $64$luvio_engine_Luvio;
|
|
40
|
-
config: GetAppExchangeSearchListingCollectionConfig;
|
|
41
|
-
};
|
|
42
|
-
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, any>>;
|
|
43
|
-
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation>): $64$luvio_engine_Snapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, any>;
|
|
44
|
-
export declare const getAppExchangeSearchListingCollectionAdapterFactory: $64$luvio_engine_AdapterFactory<GetAppExchangeSearchListingCollectionConfig, types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation>;
|
package/dist/es/es2018/types/src/generated/resources/getConnectAppexchangeSearchListings.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
-
import { AppExchangeSearchListingCollectionRepresentation as types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation } from '../types/AppExchangeSearchListingCollectionRepresentation';
|
|
3
|
-
export interface ResourceRequestConfig {
|
|
4
|
-
queryParams: {
|
|
5
|
-
category?: Array<string>;
|
|
6
|
-
edition?: Array<string>;
|
|
7
|
-
features?: Array<string>;
|
|
8
|
-
impact?: Array<string>;
|
|
9
|
-
industry?: Array<string>;
|
|
10
|
-
keyword?: string;
|
|
11
|
-
labs?: Array<string>;
|
|
12
|
-
language?: string;
|
|
13
|
-
languages?: Array<string>;
|
|
14
|
-
page?: number;
|
|
15
|
-
pageSize?: number;
|
|
16
|
-
persona?: Array<string>;
|
|
17
|
-
price?: Array<string>;
|
|
18
|
-
product?: string;
|
|
19
|
-
rating?: number;
|
|
20
|
-
sort?: string;
|
|
21
|
-
tech?: Array<string>;
|
|
22
|
-
type?: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
26
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
27
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
28
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation): void;
|
|
29
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation, any>;
|
|
30
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppExchangeSearchListingCollectionRepresentation_AppExchangeSearchListingCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
31
|
-
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
32
|
-
export default createResourceRequest;
|