@salesforce/lds-adapters-platform-slack-bridge 1.364.0 → 1.366.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.
Files changed (22) hide show
  1. package/dist/es/es2018/platform-slack-bridge.js +3192 -1164
  2. package/dist/es/es2018/types/src/generated/adapters/getSlackDisplayLogin.d.ts +26 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getSlackSearchMPIMs.d.ts +29 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
  6. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeSlack_display_login.d.ts +12 -0
  7. package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeTeamSearchMpimsByTeamId.d.ts +19 -0
  8. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationInfoOutputRepresentation.d.ts +23 -1
  9. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOutputRepresentation.d.ts +1 -0
  10. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationPropertiesOutputRepresentation.d.ts +41 -0
  11. package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationRestrictionsOutputRepresentation.d.ts +31 -0
  12. package/dist/es/es2018/types/src/generated/types/SlackBridgeDisplayLoginRepresentation.d.ts +33 -0
  13. package/dist/es/es2018/types/src/generated/types/SlackBridgeEnterpriseUserInfoOutputRepresentation.d.ts +43 -0
  14. package/dist/es/es2018/types/src/generated/types/SlackBridgeFileOutputRepresentation.d.ts +52 -1
  15. package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultOutputRepresentation.d.ts +35 -0
  16. package/dist/es/es2018/types/src/generated/types/SlackBridgeMPIMSearchResultsOutputRepresentation.d.ts +33 -0
  17. package/dist/es/es2018/types/src/generated/types/SlackBridgeSlackTeamOutputRepresentation.d.ts +38 -0
  18. package/dist/es/es2018/types/src/generated/types/SlackBridgeUserInfoOutputRepresentation.d.ts +23 -4
  19. package/package.json +3 -3
  20. package/sfdc/index.js +3067 -1011
  21. package/src/raml/api.raml +237 -2
  22. package/src/raml/luvio.raml +18 -0
@@ -1,7 +1,8 @@
1
+ import { SlackBridgeEnterpriseUserInfoOutputRepresentation as SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation } from './SlackBridgeEnterpriseUserInfoOutputRepresentation';
1
2
  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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
3
  import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
3
4
  export declare const TTL = 900000;
4
- export declare const VERSION = "659332e7c7b6cebe3e1dc23512e2381e";
5
+ export declare const VERSION = "bcaac31b87fd56b593eac50b497f7c53";
5
6
  export declare function validate(obj: any, path?: string): TypeError | null;
6
7
  export declare const RepresentationType: string;
7
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -40,6 +41,8 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
40
41
  displayName: string | null;
41
42
  /** Email of the Slack User */
42
43
  email: string | null;
44
+ /** The enterprise user mapping */
45
+ enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
43
46
  /** 24x24 version of the Slack User image */
44
47
  image24?: string | null;
45
48
  /** Original version of the Slack User image */
@@ -48,10 +51,20 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
48
51
  inHuddle: boolean | null;
49
52
  /** Is this Slack User currently active? */
50
53
  isActive: boolean | null;
54
+ /** Is Slack User an admin? */
55
+ isAdmin: boolean;
51
56
  /** Is Slack User external? */
52
57
  isExternal: boolean | null;
53
- /** Is this a Workflow Bot? */
54
- isWorkflowBot?: boolean;
58
+ /** Is Slack User an owner? */
59
+ isOwner: boolean;
60
+ /** Is Slack User aa primary owner? */
61
+ isPrimaryOwner: boolean;
62
+ /** Is Slack User restricted? */
63
+ isRestricted: boolean;
64
+ /** Is Slack User ultra restricted? */
65
+ isUltraRestricted: boolean;
66
+ /** Is Slack User a workflow bot? */
67
+ isWorkflowBot: boolean;
55
68
  /** Name of the Slack User */
56
69
  name: string;
57
70
  /** Profile image used for this Slack user */
@@ -87,12 +100,18 @@ export interface SlackBridgeUserInfoOutputRepresentation {
87
100
  bot: boolean;
88
101
  displayName: string | null;
89
102
  email: string | null;
103
+ enterpriseUser?: SlackBridgeEnterpriseUserInfoOutputRepresentation_SlackBridgeEnterpriseUserInfoOutputRepresentation | null;
90
104
  image24?: string | null;
91
105
  imageOriginal: string | null;
92
106
  inHuddle: boolean | null;
93
107
  isActive: boolean | null;
108
+ isAdmin: boolean;
94
109
  isExternal: boolean | null;
95
- isWorkflowBot?: boolean;
110
+ isOwner: boolean;
111
+ isPrimaryOwner: boolean;
112
+ isRestricted: boolean;
113
+ isUltraRestricted: boolean;
114
+ isWorkflowBot: boolean;
96
115
  name: string;
97
116
  profileImage?: string | null;
98
117
  profileUrl: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-slack-bridge",
3
- "version": "1.364.0",
3
+ "version": "1.366.0",
4
4
  "description": "API for bridging over to Slack from Salesforce Core",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/platform-slack-bridge.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.364.0"
43
+ "@salesforce/lds-bindings": "^1.366.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.364.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.366.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {