@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev1 → 1.355.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/platform-slack-bridge.js +466 -760
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +1 -3
- package/package.json +3 -3
- package/sfdc/index.js +639 -945
- package/src/raml/api.raml +0 -37
- package/src/raml/luvio.raml +0 -8
- package/dist/es/es2018/types/src/generated/adapters/getSlackDisplayLogin.d.ts +0 -26
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts +0 -12
- package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginOutputRepresentation.d.ts +0 -32
- package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts +0 -38
package/src/raml/api.raml
CHANGED
|
@@ -238,16 +238,6 @@ types:
|
|
|
238
238
|
description: The websocket URL to subscribe to RTM topics associated with
|
|
239
239
|
the conversation
|
|
240
240
|
type: string | nil
|
|
241
|
-
SlackBridgeDisplayLoginOutputRepresentation:
|
|
242
|
-
description: Contains Salesforce Org info and Slack Team info
|
|
243
|
-
type: object
|
|
244
|
-
properties:
|
|
245
|
-
orgId:
|
|
246
|
-
description: Salesforce Org Id
|
|
247
|
-
type: string
|
|
248
|
-
slackTeam:
|
|
249
|
-
description: Slack Team Info
|
|
250
|
-
type: SlackBridgeSlackTeamOutputRepresentation
|
|
251
241
|
SlackBridgeEmojiOutputRepresentation:
|
|
252
242
|
description: Contains the details of a Slack Emoji
|
|
253
243
|
type: object
|
|
@@ -592,23 +582,6 @@ types:
|
|
|
592
582
|
description: The id of the Slack team (Workspace or Enterprise Org) where
|
|
593
583
|
the related threads exist
|
|
594
584
|
type: string
|
|
595
|
-
SlackBridgeSlackTeamOutputRepresentation:
|
|
596
|
-
description: Contains metadata about the connected slack team
|
|
597
|
-
type: object
|
|
598
|
-
properties:
|
|
599
|
-
status:
|
|
600
|
-
description: The team connection status
|
|
601
|
-
type: string
|
|
602
|
-
teamDomain:
|
|
603
|
-
description: The full domain name for the connected slack team or enterprise
|
|
604
|
-
grid
|
|
605
|
-
type: string
|
|
606
|
-
teamId:
|
|
607
|
-
description: The team id
|
|
608
|
-
type: string
|
|
609
|
-
teamName:
|
|
610
|
-
description: The team name
|
|
611
|
-
type: string
|
|
612
585
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
613
586
|
description: Contains the parameters to update a message to Slack
|
|
614
587
|
type: object
|
|
@@ -815,16 +788,6 @@ types:
|
|
|
815
788
|
description: Entity ID to get related threads
|
|
816
789
|
type: string
|
|
817
790
|
required: true
|
|
818
|
-
/slack_display_login:
|
|
819
|
-
get:
|
|
820
|
-
displayName: getSlackDisplayLogin
|
|
821
|
-
description: Request to get Slack Login info
|
|
822
|
-
responses:
|
|
823
|
-
'200':
|
|
824
|
-
description: Success
|
|
825
|
-
body:
|
|
826
|
-
application/json:
|
|
827
|
-
type: SlackBridgeDisplayLoginOutputRepresentation
|
|
828
791
|
/team/{teamId}:
|
|
829
792
|
/channel/{channelId}:
|
|
830
793
|
/mark:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -51,10 +51,6 @@ types:
|
|
|
51
51
|
(luvio.ttl): 2592000000
|
|
52
52
|
(luvio.key):
|
|
53
53
|
name: name
|
|
54
|
-
SlackBridgeDisplayLoginOutputRepresentation:
|
|
55
|
-
(luvio.ttl): 500
|
|
56
|
-
SlackBridgeSlackTeamOutputRepresentation:
|
|
57
|
-
(luvio.ttl): 500
|
|
58
54
|
|
|
59
55
|
/connect/slackbridge:
|
|
60
56
|
/conversation/messages:
|
|
@@ -166,7 +162,3 @@ types:
|
|
|
166
162
|
get:
|
|
167
163
|
(luvio.adapter):
|
|
168
164
|
name: getRelatedThreads
|
|
169
|
-
/slack_display_login:
|
|
170
|
-
get:
|
|
171
|
-
(luvio.adapter):
|
|
172
|
-
name: getSlackDisplayLogin
|
|
@@ -1,26 +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_getConnectSlackbridgeSlack_display_login_ResourceRequestConfig } from '../resources/getConnectSlackbridgeSlack_display_login';
|
|
4
|
-
import { SlackBridgeDisplayLoginOutputRepresentation as types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation } from '../types/SlackBridgeDisplayLoginOutputRepresentation';
|
|
5
|
-
export declare const adapterName = "getSlackDisplayLogin";
|
|
6
|
-
export declare const getSlackDisplayLogin_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
-
export declare const getSlackDisplayLogin_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
-
export interface GetSlackDisplayLoginConfig {
|
|
9
|
-
}
|
|
10
|
-
export declare const createResourceParams: (config: GetSlackDisplayLoginConfig) => resources_getConnectSlackbridgeSlack_display_login_ResourceRequestConfig;
|
|
11
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig): string;
|
|
12
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
-
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSlackDisplayLoginConfig>): adapter$45$utils_Untrusted<GetSlackDisplayLoginConfig>;
|
|
14
|
-
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSlackDisplayLoginConfig | null;
|
|
15
|
-
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig): $64$luvio_engine_Fragment;
|
|
16
|
-
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig): $64$luvio_engine_Snapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, any>;
|
|
17
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig, resourceParams: resources_getConnectSlackbridgeSlack_display_login_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, any>>;
|
|
18
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig, resourceParams: resources_getConnectSlackbridgeSlack_display_login_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
-
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSlackDisplayLoginConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, any>>;
|
|
20
|
-
export type BuildSnapshotContext = {
|
|
21
|
-
luvio: $64$luvio_engine_Luvio;
|
|
22
|
-
config: GetSlackDisplayLoginConfig;
|
|
23
|
-
};
|
|
24
|
-
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, any>>;
|
|
25
|
-
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation>): $64$luvio_engine_Snapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, any>;
|
|
26
|
-
export declare const getSlackDisplayLoginAdapterFactory: $64$luvio_engine_AdapterFactory<GetSlackDisplayLoginConfig, types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation>;
|
package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts
DELETED
|
@@ -1,12 +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 { SlackBridgeDisplayLoginOutputRepresentation as types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation } from '../types/SlackBridgeDisplayLoginOutputRepresentation';
|
|
3
|
-
export interface ResourceRequestConfig {
|
|
4
|
-
}
|
|
5
|
-
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
6
|
-
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
7
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
8
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation): void;
|
|
9
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation, any>;
|
|
10
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SlackBridgeDisplayLoginOutputRepresentation_SlackBridgeDisplayLoginOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
11
|
-
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
-
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginOutputRepresentation.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { SlackBridgeSlackTeamOutputRepresentation as SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation } from './SlackBridgeSlackTeamOutputRepresentation';
|
|
2
|
-
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';
|
|
3
|
-
export declare const TTL = 500;
|
|
4
|
-
export declare const VERSION = "b3c7e0b8bc0a4a3745874264601b9082";
|
|
5
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
-
export declare const RepresentationType: string;
|
|
7
|
-
export declare function normalize(input: SlackBridgeDisplayLoginOutputRepresentation, existing: SlackBridgeDisplayLoginOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeDisplayLoginOutputRepresentationNormalized;
|
|
8
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
-
export declare function equals(existing: SlackBridgeDisplayLoginOutputRepresentationNormalized, incoming: SlackBridgeDisplayLoginOutputRepresentationNormalized): boolean;
|
|
10
|
-
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeDisplayLoginOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
-
/**
|
|
13
|
-
* Contains Salesforce Org info and Slack Team info
|
|
14
|
-
*
|
|
15
|
-
* Keys:
|
|
16
|
-
* (none)
|
|
17
|
-
*/
|
|
18
|
-
export interface SlackBridgeDisplayLoginOutputRepresentationNormalized {
|
|
19
|
-
/** Salesforce Org Id */
|
|
20
|
-
orgId: string;
|
|
21
|
-
slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Contains Salesforce Org info and Slack Team info
|
|
25
|
-
*
|
|
26
|
-
* Keys:
|
|
27
|
-
* (none)
|
|
28
|
-
*/
|
|
29
|
-
export interface SlackBridgeDisplayLoginOutputRepresentation {
|
|
30
|
-
orgId: string;
|
|
31
|
-
slackTeam: SlackBridgeSlackTeamOutputRepresentation_SlackBridgeSlackTeamOutputRepresentation;
|
|
32
|
-
}
|
package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
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 TTL = 500;
|
|
3
|
-
export declare const VERSION = "d6833ffbee3e599bfdef928466ea65af";
|
|
4
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
-
export declare const RepresentationType: string;
|
|
6
|
-
export declare function normalize(input: SlackBridgeSlackTeamOutputRepresentation, existing: SlackBridgeSlackTeamOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeSlackTeamOutputRepresentationNormalized;
|
|
7
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
-
export declare function equals(existing: SlackBridgeSlackTeamOutputRepresentationNormalized, incoming: SlackBridgeSlackTeamOutputRepresentationNormalized): boolean;
|
|
9
|
-
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeSlackTeamOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
-
/**
|
|
12
|
-
* Contains metadata about the connected slack team
|
|
13
|
-
*
|
|
14
|
-
* Keys:
|
|
15
|
-
* (none)
|
|
16
|
-
*/
|
|
17
|
-
export interface SlackBridgeSlackTeamOutputRepresentationNormalized {
|
|
18
|
-
/** The team connection status */
|
|
19
|
-
status: string;
|
|
20
|
-
/** The full domain name for the connected slack team or enterprise grid */
|
|
21
|
-
teamDomain: string;
|
|
22
|
-
/** The team id */
|
|
23
|
-
teamId: string;
|
|
24
|
-
/** The team name */
|
|
25
|
-
teamName: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Contains metadata about the connected slack team
|
|
29
|
-
*
|
|
30
|
-
* Keys:
|
|
31
|
-
* (none)
|
|
32
|
-
*/
|
|
33
|
-
export interface SlackBridgeSlackTeamOutputRepresentation {
|
|
34
|
-
status: string;
|
|
35
|
-
teamDomain: string;
|
|
36
|
-
teamId: string;
|
|
37
|
-
teamName: string;
|
|
38
|
-
}
|