@salesforce/lds-adapters-platform-slack-bridge 1.354.0-dev13 → 1.354.0-dev15

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.
@@ -601,7 +601,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
601
601
  }
602
602
 
603
603
  const TTL$5 = 900000;
604
- const VERSION$q = "bcaac31b87fd56b593eac50b497f7c53";
604
+ const VERSION$q = "e028e881472367bb6b51398f0ceca161";
605
605
  function validate$q(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
606
606
  const v_error = (() => {
607
607
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -806,6 +806,13 @@ function validate$q(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
806
806
  if (typeof obj_isAdmin !== 'boolean') {
807
807
  return new TypeError('Expected "boolean" but received "' + typeof obj_isAdmin + '" (at "' + path_isAdmin + '")');
808
808
  }
809
+ if (obj.isAgentforceBot !== undefined) {
810
+ const obj_isAgentforceBot = obj.isAgentforceBot;
811
+ const path_isAgentforceBot = path + '.isAgentforceBot';
812
+ if (typeof obj_isAgentforceBot !== 'boolean') {
813
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isAgentforceBot + '" (at "' + path_isAgentforceBot + '")');
814
+ }
815
+ }
809
816
  const obj_isExternal = obj.isExternal;
810
817
  const path_isExternal = path + '.isExternal';
811
818
  let obj_isExternal_union0 = null;
@@ -1210,6 +1217,11 @@ const select$N = function SlackBridgeUserInfoOutputRepresentationSelect() {
1210
1217
  name: 'isAdmin',
1211
1218
  kind: 'Scalar'
1212
1219
  },
1220
+ {
1221
+ name: 'isAgentforceBot',
1222
+ kind: 'Scalar',
1223
+ required: false
1224
+ },
1213
1225
  {
1214
1226
  name: 'isExternal',
1215
1227
  kind: 'Scalar'
@@ -1301,6 +1313,19 @@ function equals$q(existing, incoming) {
1301
1313
  if (!(existing_isAdmin === incoming_isAdmin)) {
1302
1314
  return false;
1303
1315
  }
1316
+ const existing_isAgentforceBot = existing.isAgentforceBot;
1317
+ const incoming_isAgentforceBot = incoming.isAgentforceBot;
1318
+ // if at least one of these optionals is defined
1319
+ if (existing_isAgentforceBot !== undefined || incoming_isAgentforceBot !== undefined) {
1320
+ // if one of these is not defined we know the other is defined and therefore
1321
+ // not equal
1322
+ if (existing_isAgentforceBot === undefined || incoming_isAgentforceBot === undefined) {
1323
+ return false;
1324
+ }
1325
+ if (!(existing_isAgentforceBot === incoming_isAgentforceBot)) {
1326
+ return false;
1327
+ }
1328
+ }
1304
1329
  const existing_isOwner = existing.isOwner;
1305
1330
  const incoming_isOwner = incoming.isOwner;
1306
1331
  if (!(existing_isOwner === incoming_isOwner)) {
@@ -4227,7 +4252,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
4227
4252
  });
4228
4253
  }
4229
4254
 
4230
- const VERSION$h = "cb9ed1d2eccad9c0a25f91c023a3f068";
4255
+ const VERSION$h = "57fae23c7ffb8f67218b25919d2c8e3c";
4231
4256
  function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
4232
4257
  const v_error = (() => {
4233
4258
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4313,6 +4338,34 @@ function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
4313
4338
  return new TypeError('Expected "object" but received "' + typeof obj_files_item + '" (at "' + path_files_item + '")');
4314
4339
  }
4315
4340
  }
4341
+ if (obj.icon !== undefined) {
4342
+ const obj_icon = obj.icon;
4343
+ const path_icon = path + '.icon';
4344
+ let obj_icon_union0 = null;
4345
+ const obj_icon_union0_error = (() => {
4346
+ if (typeof obj_icon !== 'string') {
4347
+ return new TypeError('Expected "string" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
4348
+ }
4349
+ })();
4350
+ if (obj_icon_union0_error != null) {
4351
+ obj_icon_union0 = obj_icon_union0_error.message;
4352
+ }
4353
+ let obj_icon_union1 = null;
4354
+ const obj_icon_union1_error = (() => {
4355
+ if (obj_icon !== null) {
4356
+ return new TypeError('Expected "null" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
4357
+ }
4358
+ })();
4359
+ if (obj_icon_union1_error != null) {
4360
+ obj_icon_union1 = obj_icon_union1_error.message;
4361
+ }
4362
+ if (obj_icon_union0 && obj_icon_union1) {
4363
+ let message = 'Object doesn\'t match union (at "' + path_icon + '")';
4364
+ message += '\n' + obj_icon_union0.split('\n').map((line) => '\t' + line).join('\n');
4365
+ message += '\n' + obj_icon_union1.split('\n').map((line) => '\t' + line).join('\n');
4366
+ return new TypeError(message);
4367
+ }
4368
+ }
4316
4369
  const obj_includesCustomEmoji = obj.includesCustomEmoji;
4317
4370
  const path_includesCustomEmoji = path + '.includesCustomEmoji';
4318
4371
  let obj_includesCustomEmoji_union0 = null;
@@ -4339,6 +4392,34 @@ function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
4339
4392
  message += '\n' + obj_includesCustomEmoji_union1.split('\n').map((line) => '\t' + line).join('\n');
4340
4393
  return new TypeError(message);
4341
4394
  }
4395
+ if (obj.isBeyondFreeLimit !== undefined) {
4396
+ const obj_isBeyondFreeLimit = obj.isBeyondFreeLimit;
4397
+ const path_isBeyondFreeLimit = path + '.isBeyondFreeLimit';
4398
+ let obj_isBeyondFreeLimit_union0 = null;
4399
+ const obj_isBeyondFreeLimit_union0_error = (() => {
4400
+ if (typeof obj_isBeyondFreeLimit !== 'boolean') {
4401
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isBeyondFreeLimit + '" (at "' + path_isBeyondFreeLimit + '")');
4402
+ }
4403
+ })();
4404
+ if (obj_isBeyondFreeLimit_union0_error != null) {
4405
+ obj_isBeyondFreeLimit_union0 = obj_isBeyondFreeLimit_union0_error.message;
4406
+ }
4407
+ let obj_isBeyondFreeLimit_union1 = null;
4408
+ const obj_isBeyondFreeLimit_union1_error = (() => {
4409
+ if (obj_isBeyondFreeLimit !== null) {
4410
+ return new TypeError('Expected "null" but received "' + typeof obj_isBeyondFreeLimit + '" (at "' + path_isBeyondFreeLimit + '")');
4411
+ }
4412
+ })();
4413
+ if (obj_isBeyondFreeLimit_union1_error != null) {
4414
+ obj_isBeyondFreeLimit_union1 = obj_isBeyondFreeLimit_union1_error.message;
4415
+ }
4416
+ if (obj_isBeyondFreeLimit_union0 && obj_isBeyondFreeLimit_union1) {
4417
+ let message = 'Object doesn\'t match union (at "' + path_isBeyondFreeLimit + '")';
4418
+ message += '\n' + obj_isBeyondFreeLimit_union0.split('\n').map((line) => '\t' + line).join('\n');
4419
+ message += '\n' + obj_isBeyondFreeLimit_union1.split('\n').map((line) => '\t' + line).join('\n');
4420
+ return new TypeError(message);
4421
+ }
4422
+ }
4342
4423
  const obj_isBroadcast = obj.isBroadcast;
4343
4424
  const path_isBroadcast = path + '.isBroadcast';
4344
4425
  let obj_isBroadcast_union0 = null;
@@ -4539,8 +4620,29 @@ function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
4539
4620
  }
4540
4621
  const obj_slackUserId = obj.slackUserId;
4541
4622
  const path_slackUserId = path + '.slackUserId';
4542
- if (typeof obj_slackUserId !== 'string') {
4543
- return new TypeError('Expected "string" but received "' + typeof obj_slackUserId + '" (at "' + path_slackUserId + '")');
4623
+ let obj_slackUserId_union0 = null;
4624
+ const obj_slackUserId_union0_error = (() => {
4625
+ if (typeof obj_slackUserId !== 'string') {
4626
+ return new TypeError('Expected "string" but received "' + typeof obj_slackUserId + '" (at "' + path_slackUserId + '")');
4627
+ }
4628
+ })();
4629
+ if (obj_slackUserId_union0_error != null) {
4630
+ obj_slackUserId_union0 = obj_slackUserId_union0_error.message;
4631
+ }
4632
+ let obj_slackUserId_union1 = null;
4633
+ const obj_slackUserId_union1_error = (() => {
4634
+ if (obj_slackUserId !== null) {
4635
+ return new TypeError('Expected "null" but received "' + typeof obj_slackUserId + '" (at "' + path_slackUserId + '")');
4636
+ }
4637
+ })();
4638
+ if (obj_slackUserId_union1_error != null) {
4639
+ obj_slackUserId_union1 = obj_slackUserId_union1_error.message;
4640
+ }
4641
+ if (obj_slackUserId_union0 && obj_slackUserId_union1) {
4642
+ let message = 'Object doesn\'t match union (at "' + path_slackUserId + '")';
4643
+ message += '\n' + obj_slackUserId_union0.split('\n').map((line) => '\t' + line).join('\n');
4644
+ message += '\n' + obj_slackUserId_union1.split('\n').map((line) => '\t' + line).join('\n');
4645
+ return new TypeError(message);
4544
4646
  }
4545
4647
  const obj_subtype = obj.subtype;
4546
4648
  const path_subtype = path + '.subtype';
@@ -4625,6 +4727,34 @@ function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
4625
4727
  if (typeof obj_url !== 'string') {
4626
4728
  return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
4627
4729
  }
4730
+ if (obj.username !== undefined) {
4731
+ const obj_username = obj.username;
4732
+ const path_username = path + '.username';
4733
+ let obj_username_union0 = null;
4734
+ const obj_username_union0_error = (() => {
4735
+ if (typeof obj_username !== 'string') {
4736
+ return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
4737
+ }
4738
+ })();
4739
+ if (obj_username_union0_error != null) {
4740
+ obj_username_union0 = obj_username_union0_error.message;
4741
+ }
4742
+ let obj_username_union1 = null;
4743
+ const obj_username_union1_error = (() => {
4744
+ if (obj_username !== null) {
4745
+ return new TypeError('Expected "null" but received "' + typeof obj_username + '" (at "' + path_username + '")');
4746
+ }
4747
+ })();
4748
+ if (obj_username_union1_error != null) {
4749
+ obj_username_union1 = obj_username_union1_error.message;
4750
+ }
4751
+ if (obj_username_union0 && obj_username_union1) {
4752
+ let message = 'Object doesn\'t match union (at "' + path_username + '")';
4753
+ message += '\n' + obj_username_union0.split('\n').map((line) => '\t' + line).join('\n');
4754
+ message += '\n' + obj_username_union1.split('\n').map((line) => '\t' + line).join('\n');
4755
+ return new TypeError(message);
4756
+ }
4757
+ }
4628
4758
  })();
4629
4759
  return v_error === undefined ? null : v_error;
4630
4760
  }
@@ -4675,10 +4805,20 @@ const select$E = function SlackBridgeMessageOutputRepresentationSelect() {
4675
4805
  plural: true,
4676
4806
  fragment: select$F()
4677
4807
  },
4808
+ {
4809
+ name: 'icon',
4810
+ kind: 'Scalar',
4811
+ required: false
4812
+ },
4678
4813
  {
4679
4814
  name: 'includesCustomEmoji',
4680
4815
  kind: 'Scalar'
4681
4816
  },
4817
+ {
4818
+ name: 'isBeyondFreeLimit',
4819
+ kind: 'Scalar',
4820
+ required: false
4821
+ },
4682
4822
  {
4683
4823
  name: 'isBroadcast',
4684
4824
  kind: 'Scalar'
@@ -4745,6 +4885,11 @@ const select$E = function SlackBridgeMessageOutputRepresentationSelect() {
4745
4885
  {
4746
4886
  name: 'url',
4747
4887
  kind: 'Scalar'
4888
+ },
4889
+ {
4890
+ name: 'username',
4891
+ kind: 'Scalar',
4892
+ required: false
4748
4893
  }
4749
4894
  ]
4750
4895
  };
@@ -4765,11 +4910,6 @@ function equals$h(existing, incoming) {
4765
4910
  if (!(existing_messageTs === incoming_messageTs)) {
4766
4911
  return false;
4767
4912
  }
4768
- const existing_slackUserId = existing.slackUserId;
4769
- const incoming_slackUserId = incoming.slackUserId;
4770
- if (!(existing_slackUserId === incoming_slackUserId)) {
4771
- return false;
4772
- }
4773
4913
  const existing_url = existing.url;
4774
4914
  const incoming_url = incoming.url;
4775
4915
  if (!(existing_url === incoming_url)) {
@@ -4820,11 +4960,37 @@ function equals$h(existing, incoming) {
4820
4960
  if (equals_files_items === false) {
4821
4961
  return false;
4822
4962
  }
4963
+ const existing_icon = existing.icon;
4964
+ const incoming_icon = incoming.icon;
4965
+ // if at least one of these optionals is defined
4966
+ if (existing_icon !== undefined || incoming_icon !== undefined) {
4967
+ // if one of these is not defined we know the other is defined and therefore
4968
+ // not equal
4969
+ if (existing_icon === undefined || incoming_icon === undefined) {
4970
+ return false;
4971
+ }
4972
+ if (!(existing_icon === incoming_icon)) {
4973
+ return false;
4974
+ }
4975
+ }
4823
4976
  const existing_includesCustomEmoji = existing.includesCustomEmoji;
4824
4977
  const incoming_includesCustomEmoji = incoming.includesCustomEmoji;
4825
4978
  if (!(existing_includesCustomEmoji === incoming_includesCustomEmoji)) {
4826
4979
  return false;
4827
4980
  }
4981
+ const existing_isBeyondFreeLimit = existing.isBeyondFreeLimit;
4982
+ const incoming_isBeyondFreeLimit = incoming.isBeyondFreeLimit;
4983
+ // if at least one of these optionals is defined
4984
+ if (existing_isBeyondFreeLimit !== undefined || incoming_isBeyondFreeLimit !== undefined) {
4985
+ // if one of these is not defined we know the other is defined and therefore
4986
+ // not equal
4987
+ if (existing_isBeyondFreeLimit === undefined || incoming_isBeyondFreeLimit === undefined) {
4988
+ return false;
4989
+ }
4990
+ if (!(existing_isBeyondFreeLimit === incoming_isBeyondFreeLimit)) {
4991
+ return false;
4992
+ }
4993
+ }
4828
4994
  const existing_isBroadcast = existing.isBroadcast;
4829
4995
  const incoming_isBroadcast = incoming.isBroadcast;
4830
4996
  if (!(existing_isBroadcast === incoming_isBroadcast)) {
@@ -4875,6 +5041,11 @@ function equals$h(existing, incoming) {
4875
5041
  if (!(existing_slackInviterId === incoming_slackInviterId)) {
4876
5042
  return false;
4877
5043
  }
5044
+ const existing_slackUserId = existing.slackUserId;
5045
+ const incoming_slackUserId = incoming.slackUserId;
5046
+ if (!(existing_slackUserId === incoming_slackUserId)) {
5047
+ return false;
5048
+ }
4878
5049
  const existing_subtype = existing.subtype;
4879
5050
  const incoming_subtype = incoming.subtype;
4880
5051
  if (!(existing_subtype === incoming_subtype)) {
@@ -4890,6 +5061,19 @@ function equals$h(existing, incoming) {
4890
5061
  if (!(existing_type === incoming_type)) {
4891
5062
  return false;
4892
5063
  }
5064
+ const existing_username = existing.username;
5065
+ const incoming_username = incoming.username;
5066
+ // if at least one of these optionals is defined
5067
+ if (existing_username !== undefined || incoming_username !== undefined) {
5068
+ // if one of these is not defined we know the other is defined and therefore
5069
+ // not equal
5070
+ if (existing_username === undefined || incoming_username === undefined) {
5071
+ return false;
5072
+ }
5073
+ if (!(existing_username === incoming_username)) {
5074
+ return false;
5075
+ }
5076
+ }
4893
5077
  return true;
4894
5078
  }
4895
5079
  const ingest$f = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -5516,7 +5700,7 @@ function select$B(luvio, params) {
5516
5700
  return select$C();
5517
5701
  }
5518
5702
  function keyBuilder$F(luvio, params) {
5519
- return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
5703
+ return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'noEmojis:' + params.queryParams.noEmojis + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
5520
5704
  }
5521
5705
  function getResponseCacheKeys$p(storeKeyMap, luvio, resourceParams, response) {
5522
5706
  getTypeCacheKeys$d(storeKeyMap, luvio, response, () => keyBuilder$F(luvio, resourceParams));
@@ -5571,6 +5755,7 @@ const getSlackConversation_ConfigPropertyMetadata = [
5571
5755
  generateParamConfigMetadata('inclusive', false, 1 /* QueryParameter */, 1 /* Boolean */),
5572
5756
  generateParamConfigMetadata('latestMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
5573
5757
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
5758
+ generateParamConfigMetadata('noEmojis', false, 1 /* QueryParameter */, 1 /* Boolean */),
5574
5759
  generateParamConfigMetadata('oldestMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
5575
5760
  generateParamConfigMetadata('parentMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
5576
5761
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
@@ -11,6 +11,7 @@ export interface GetSlackConversationConfig {
11
11
  inclusive?: boolean;
12
12
  latestMessageTs?: string;
13
13
  limit?: number;
14
+ noEmojis?: boolean;
14
15
  oldestMessageTs?: string;
15
16
  parentMessageTs?: string;
16
17
  relatedRecordId?: string;
@@ -7,6 +7,7 @@ export interface ResourceRequestConfig {
7
7
  inclusive?: boolean;
8
8
  latestMessageTs?: string;
9
9
  limit?: number;
10
+ noEmojis?: boolean;
10
11
  oldestMessageTs?: string;
11
12
  parentMessageTs?: string;
12
13
  relatedRecordId?: string;
@@ -1,7 +1,7 @@
1
1
  import { SlackBridgeReactionOutputRepresentation as SlackBridgeReactionOutputRepresentation_SlackBridgeReactionOutputRepresentation } from './SlackBridgeReactionOutputRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, 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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
3
  import { SlackBridgeFileOutputRepresentation as SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation } from './SlackBridgeFileOutputRepresentation';
4
- export declare const VERSION = "cb9ed1d2eccad9c0a25f91c023a3f068";
4
+ export declare const VERSION = "57fae23c7ffb8f67218b25919d2c8e3c";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: SlackBridgeMessageOutputRepresentation, existing: SlackBridgeMessageOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SlackBridgeMessageOutputRepresentationNormalized;
@@ -37,8 +37,12 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
37
37
  channelId: string | null;
38
38
  /** List of files attached to this message */
39
39
  files: Array<$64$luvio_engine_StoreLink>;
40
+ /** Sender icon url for demo bot messages */
41
+ icon?: string | null;
40
42
  /** Does this message includes Custom emoji? */
41
43
  includesCustomEmoji: boolean | null;
44
+ /** Is this message older than the limit for free teams? */
45
+ isBeyondFreeLimit?: boolean | null;
42
46
  /** Is this a reply also sent to the Channel? */
43
47
  isBroadcast: boolean | null;
44
48
  /** Can this message be edited? */
@@ -62,7 +66,7 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
62
66
  /** Details of the Slack User who invited the user described by slackUserId */
63
67
  slackInviterId: string | null;
64
68
  /** Details of the Slack User who posted this message */
65
- slackUserId: string;
69
+ slackUserId: string | null;
66
70
  /** Sub-type of Message */
67
71
  subtype: string | null;
68
72
  /** Timestamp of the thread to which this message belong to */
@@ -71,6 +75,8 @@ export interface SlackBridgeMessageOutputRepresentationNormalized {
71
75
  type: string | null;
72
76
  /** Url for this message */
73
77
  url: string;
78
+ /** Sender username for demo bot messages */
79
+ username?: string | null;
74
80
  }
75
81
  /**
76
82
  * Contains the details of Slack Message
@@ -87,7 +93,9 @@ export interface SlackBridgeMessageOutputRepresentation {
87
93
  }>;
88
94
  channelId: string | null;
89
95
  files: Array<SlackBridgeFileOutputRepresentation_SlackBridgeFileOutputRepresentation>;
96
+ icon?: string | null;
90
97
  includesCustomEmoji: boolean | null;
98
+ isBeyondFreeLimit?: boolean | null;
91
99
  isBroadcast: boolean | null;
92
100
  isEditable: boolean;
93
101
  isEdited: boolean | null;
@@ -99,9 +107,10 @@ export interface SlackBridgeMessageOutputRepresentation {
99
107
  replyUsers: Array<string>;
100
108
  replyUsersCount: number | null;
101
109
  slackInviterId: string | null;
102
- slackUserId: string;
110
+ slackUserId: string | null;
103
111
  subtype: string | null;
104
112
  threadTs: string | null;
105
113
  type: string | null;
106
114
  url: string;
115
+ username?: string | null;
107
116
  }
@@ -2,7 +2,7 @@ import { SlackBridgeEnterpriseUserInfoOutputRepresentation as SlackBridgeEnterpr
2
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';
3
3
  import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
4
4
  export declare const TTL = 900000;
5
- export declare const VERSION = "bcaac31b87fd56b593eac50b497f7c53";
5
+ export declare const VERSION = "e028e881472367bb6b51398f0ceca161";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -53,6 +53,8 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
53
53
  isActive: boolean | null;
54
54
  /** Is Slack User an admin? */
55
55
  isAdmin: boolean;
56
+ /** Is Slack User an Agentforce bot? */
57
+ isAgentforceBot?: boolean;
56
58
  /** Is Slack User external? */
57
59
  isExternal: boolean | null;
58
60
  /** Is Slack User an owner? */
@@ -106,6 +108,7 @@ export interface SlackBridgeUserInfoOutputRepresentation {
106
108
  inHuddle: boolean | null;
107
109
  isActive: boolean | null;
108
110
  isAdmin: boolean;
111
+ isAgentforceBot?: boolean;
109
112
  isExternal: boolean | null;
110
113
  isOwner: boolean;
111
114
  isPrimaryOwner: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-slack-bridge",
3
- "version": "1.354.0-dev13",
3
+ "version": "1.354.0-dev15",
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.354.0-dev13"
43
+ "@salesforce/lds-bindings": "^1.354.0-dev15"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.354.0-dev13"
46
+ "@salesforce/lds-compiler-plugins": "^1.354.0-dev15"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -3419,7 +3419,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3419
3419
  });
3420
3420
  }
3421
3421
 
3422
- const VERSION$i = "cb9ed1d2eccad9c0a25f91c023a3f068";
3422
+ const VERSION$i = "57fae23c7ffb8f67218b25919d2c8e3c";
3423
3423
  function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3424
3424
  const v_error = (() => {
3425
3425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3505,6 +3505,34 @@ function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3505
3505
  return new TypeError('Expected "object" but received "' + typeof obj_files_item + '" (at "' + path_files_item + '")');
3506
3506
  }
3507
3507
  }
3508
+ if (obj.icon !== undefined) {
3509
+ const obj_icon = obj.icon;
3510
+ const path_icon = path + '.icon';
3511
+ let obj_icon_union0 = null;
3512
+ const obj_icon_union0_error = (() => {
3513
+ if (typeof obj_icon !== 'string') {
3514
+ return new TypeError('Expected "string" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
3515
+ }
3516
+ })();
3517
+ if (obj_icon_union0_error != null) {
3518
+ obj_icon_union0 = obj_icon_union0_error.message;
3519
+ }
3520
+ let obj_icon_union1 = null;
3521
+ const obj_icon_union1_error = (() => {
3522
+ if (obj_icon !== null) {
3523
+ return new TypeError('Expected "null" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
3524
+ }
3525
+ })();
3526
+ if (obj_icon_union1_error != null) {
3527
+ obj_icon_union1 = obj_icon_union1_error.message;
3528
+ }
3529
+ if (obj_icon_union0 && obj_icon_union1) {
3530
+ let message = 'Object doesn\'t match union (at "' + path_icon + '")';
3531
+ message += '\n' + obj_icon_union0.split('\n').map((line) => '\t' + line).join('\n');
3532
+ message += '\n' + obj_icon_union1.split('\n').map((line) => '\t' + line).join('\n');
3533
+ return new TypeError(message);
3534
+ }
3535
+ }
3508
3536
  const obj_includesCustomEmoji = obj.includesCustomEmoji;
3509
3537
  const path_includesCustomEmoji = path + '.includesCustomEmoji';
3510
3538
  let obj_includesCustomEmoji_union0 = null;
@@ -3531,6 +3559,34 @@ function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3531
3559
  message += '\n' + obj_includesCustomEmoji_union1.split('\n').map((line) => '\t' + line).join('\n');
3532
3560
  return new TypeError(message);
3533
3561
  }
3562
+ if (obj.isBeyondFreeLimit !== undefined) {
3563
+ const obj_isBeyondFreeLimit = obj.isBeyondFreeLimit;
3564
+ const path_isBeyondFreeLimit = path + '.isBeyondFreeLimit';
3565
+ let obj_isBeyondFreeLimit_union0 = null;
3566
+ const obj_isBeyondFreeLimit_union0_error = (() => {
3567
+ if (typeof obj_isBeyondFreeLimit !== 'boolean') {
3568
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isBeyondFreeLimit + '" (at "' + path_isBeyondFreeLimit + '")');
3569
+ }
3570
+ })();
3571
+ if (obj_isBeyondFreeLimit_union0_error != null) {
3572
+ obj_isBeyondFreeLimit_union0 = obj_isBeyondFreeLimit_union0_error.message;
3573
+ }
3574
+ let obj_isBeyondFreeLimit_union1 = null;
3575
+ const obj_isBeyondFreeLimit_union1_error = (() => {
3576
+ if (obj_isBeyondFreeLimit !== null) {
3577
+ return new TypeError('Expected "null" but received "' + typeof obj_isBeyondFreeLimit + '" (at "' + path_isBeyondFreeLimit + '")');
3578
+ }
3579
+ })();
3580
+ if (obj_isBeyondFreeLimit_union1_error != null) {
3581
+ obj_isBeyondFreeLimit_union1 = obj_isBeyondFreeLimit_union1_error.message;
3582
+ }
3583
+ if (obj_isBeyondFreeLimit_union0 && obj_isBeyondFreeLimit_union1) {
3584
+ let message = 'Object doesn\'t match union (at "' + path_isBeyondFreeLimit + '")';
3585
+ message += '\n' + obj_isBeyondFreeLimit_union0.split('\n').map((line) => '\t' + line).join('\n');
3586
+ message += '\n' + obj_isBeyondFreeLimit_union1.split('\n').map((line) => '\t' + line).join('\n');
3587
+ return new TypeError(message);
3588
+ }
3589
+ }
3534
3590
  const obj_isBroadcast = obj.isBroadcast;
3535
3591
  const path_isBroadcast = path + '.isBroadcast';
3536
3592
  let obj_isBroadcast_union0 = null;
@@ -3731,8 +3787,29 @@ function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3731
3787
  }
3732
3788
  const obj_slackUserId = obj.slackUserId;
3733
3789
  const path_slackUserId = path + '.slackUserId';
3734
- if (typeof obj_slackUserId !== 'string') {
3735
- return new TypeError('Expected "string" but received "' + typeof obj_slackUserId + '" (at "' + path_slackUserId + '")');
3790
+ let obj_slackUserId_union0 = null;
3791
+ const obj_slackUserId_union0_error = (() => {
3792
+ if (typeof obj_slackUserId !== 'string') {
3793
+ return new TypeError('Expected "string" but received "' + typeof obj_slackUserId + '" (at "' + path_slackUserId + '")');
3794
+ }
3795
+ })();
3796
+ if (obj_slackUserId_union0_error != null) {
3797
+ obj_slackUserId_union0 = obj_slackUserId_union0_error.message;
3798
+ }
3799
+ let obj_slackUserId_union1 = null;
3800
+ const obj_slackUserId_union1_error = (() => {
3801
+ if (obj_slackUserId !== null) {
3802
+ return new TypeError('Expected "null" but received "' + typeof obj_slackUserId + '" (at "' + path_slackUserId + '")');
3803
+ }
3804
+ })();
3805
+ if (obj_slackUserId_union1_error != null) {
3806
+ obj_slackUserId_union1 = obj_slackUserId_union1_error.message;
3807
+ }
3808
+ if (obj_slackUserId_union0 && obj_slackUserId_union1) {
3809
+ let message = 'Object doesn\'t match union (at "' + path_slackUserId + '")';
3810
+ message += '\n' + obj_slackUserId_union0.split('\n').map((line) => '\t' + line).join('\n');
3811
+ message += '\n' + obj_slackUserId_union1.split('\n').map((line) => '\t' + line).join('\n');
3812
+ return new TypeError(message);
3736
3813
  }
3737
3814
  const obj_subtype = obj.subtype;
3738
3815
  const path_subtype = path + '.subtype';
@@ -3817,6 +3894,34 @@ function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
3817
3894
  if (typeof obj_url !== 'string') {
3818
3895
  return new TypeError('Expected "string" but received "' + typeof obj_url + '" (at "' + path_url + '")');
3819
3896
  }
3897
+ if (obj.username !== undefined) {
3898
+ const obj_username = obj.username;
3899
+ const path_username = path + '.username';
3900
+ let obj_username_union0 = null;
3901
+ const obj_username_union0_error = (() => {
3902
+ if (typeof obj_username !== 'string') {
3903
+ return new TypeError('Expected "string" but received "' + typeof obj_username + '" (at "' + path_username + '")');
3904
+ }
3905
+ })();
3906
+ if (obj_username_union0_error != null) {
3907
+ obj_username_union0 = obj_username_union0_error.message;
3908
+ }
3909
+ let obj_username_union1 = null;
3910
+ const obj_username_union1_error = (() => {
3911
+ if (obj_username !== null) {
3912
+ return new TypeError('Expected "null" but received "' + typeof obj_username + '" (at "' + path_username + '")');
3913
+ }
3914
+ })();
3915
+ if (obj_username_union1_error != null) {
3916
+ obj_username_union1 = obj_username_union1_error.message;
3917
+ }
3918
+ if (obj_username_union0 && obj_username_union1) {
3919
+ let message = 'Object doesn\'t match union (at "' + path_username + '")';
3920
+ message += '\n' + obj_username_union0.split('\n').map((line) => '\t' + line).join('\n');
3921
+ message += '\n' + obj_username_union1.split('\n').map((line) => '\t' + line).join('\n');
3922
+ return new TypeError(message);
3923
+ }
3924
+ }
3820
3925
  })();
3821
3926
  return v_error === undefined ? null : v_error;
3822
3927
  }
@@ -3867,10 +3972,20 @@ const select$F = function SlackBridgeMessageOutputRepresentationSelect() {
3867
3972
  plural: true,
3868
3973
  fragment: select$G()
3869
3974
  },
3975
+ {
3976
+ name: 'icon',
3977
+ kind: 'Scalar',
3978
+ required: false
3979
+ },
3870
3980
  {
3871
3981
  name: 'includesCustomEmoji',
3872
3982
  kind: 'Scalar'
3873
3983
  },
3984
+ {
3985
+ name: 'isBeyondFreeLimit',
3986
+ kind: 'Scalar',
3987
+ required: false
3988
+ },
3874
3989
  {
3875
3990
  name: 'isBroadcast',
3876
3991
  kind: 'Scalar'
@@ -3937,6 +4052,11 @@ const select$F = function SlackBridgeMessageOutputRepresentationSelect() {
3937
4052
  {
3938
4053
  name: 'url',
3939
4054
  kind: 'Scalar'
4055
+ },
4056
+ {
4057
+ name: 'username',
4058
+ kind: 'Scalar',
4059
+ required: false
3940
4060
  }
3941
4061
  ]
3942
4062
  };
@@ -3957,11 +4077,6 @@ function equals$i(existing, incoming) {
3957
4077
  if (!(existing_messageTs === incoming_messageTs)) {
3958
4078
  return false;
3959
4079
  }
3960
- const existing_slackUserId = existing.slackUserId;
3961
- const incoming_slackUserId = incoming.slackUserId;
3962
- if (!(existing_slackUserId === incoming_slackUserId)) {
3963
- return false;
3964
- }
3965
4080
  const existing_url = existing.url;
3966
4081
  const incoming_url = incoming.url;
3967
4082
  if (!(existing_url === incoming_url)) {
@@ -4012,11 +4127,37 @@ function equals$i(existing, incoming) {
4012
4127
  if (equals_files_items === false) {
4013
4128
  return false;
4014
4129
  }
4130
+ const existing_icon = existing.icon;
4131
+ const incoming_icon = incoming.icon;
4132
+ // if at least one of these optionals is defined
4133
+ if (existing_icon !== undefined || incoming_icon !== undefined) {
4134
+ // if one of these is not defined we know the other is defined and therefore
4135
+ // not equal
4136
+ if (existing_icon === undefined || incoming_icon === undefined) {
4137
+ return false;
4138
+ }
4139
+ if (!(existing_icon === incoming_icon)) {
4140
+ return false;
4141
+ }
4142
+ }
4015
4143
  const existing_includesCustomEmoji = existing.includesCustomEmoji;
4016
4144
  const incoming_includesCustomEmoji = incoming.includesCustomEmoji;
4017
4145
  if (!(existing_includesCustomEmoji === incoming_includesCustomEmoji)) {
4018
4146
  return false;
4019
4147
  }
4148
+ const existing_isBeyondFreeLimit = existing.isBeyondFreeLimit;
4149
+ const incoming_isBeyondFreeLimit = incoming.isBeyondFreeLimit;
4150
+ // if at least one of these optionals is defined
4151
+ if (existing_isBeyondFreeLimit !== undefined || incoming_isBeyondFreeLimit !== undefined) {
4152
+ // if one of these is not defined we know the other is defined and therefore
4153
+ // not equal
4154
+ if (existing_isBeyondFreeLimit === undefined || incoming_isBeyondFreeLimit === undefined) {
4155
+ return false;
4156
+ }
4157
+ if (!(existing_isBeyondFreeLimit === incoming_isBeyondFreeLimit)) {
4158
+ return false;
4159
+ }
4160
+ }
4020
4161
  const existing_isBroadcast = existing.isBroadcast;
4021
4162
  const incoming_isBroadcast = incoming.isBroadcast;
4022
4163
  if (!(existing_isBroadcast === incoming_isBroadcast)) {
@@ -4067,6 +4208,11 @@ function equals$i(existing, incoming) {
4067
4208
  if (!(existing_slackInviterId === incoming_slackInviterId)) {
4068
4209
  return false;
4069
4210
  }
4211
+ const existing_slackUserId = existing.slackUserId;
4212
+ const incoming_slackUserId = incoming.slackUserId;
4213
+ if (!(existing_slackUserId === incoming_slackUserId)) {
4214
+ return false;
4215
+ }
4070
4216
  const existing_subtype = existing.subtype;
4071
4217
  const incoming_subtype = incoming.subtype;
4072
4218
  if (!(existing_subtype === incoming_subtype)) {
@@ -4082,6 +4228,19 @@ function equals$i(existing, incoming) {
4082
4228
  if (!(existing_type === incoming_type)) {
4083
4229
  return false;
4084
4230
  }
4231
+ const existing_username = existing.username;
4232
+ const incoming_username = incoming.username;
4233
+ // if at least one of these optionals is defined
4234
+ if (existing_username !== undefined || incoming_username !== undefined) {
4235
+ // if one of these is not defined we know the other is defined and therefore
4236
+ // not equal
4237
+ if (existing_username === undefined || incoming_username === undefined) {
4238
+ return false;
4239
+ }
4240
+ if (!(existing_username === incoming_username)) {
4241
+ return false;
4242
+ }
4243
+ }
4085
4244
  return true;
4086
4245
  }
4087
4246
  const ingest$e = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -4895,7 +5054,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
4895
5054
  }
4896
5055
 
4897
5056
  const TTL$3 = 900000;
4898
- const VERSION$d = "bcaac31b87fd56b593eac50b497f7c53";
5057
+ const VERSION$d = "e028e881472367bb6b51398f0ceca161";
4899
5058
  function validate$d(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
4900
5059
  const v_error = (() => {
4901
5060
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5100,6 +5259,13 @@ function validate$d(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
5100
5259
  if (typeof obj_isAdmin !== 'boolean') {
5101
5260
  return new TypeError('Expected "boolean" but received "' + typeof obj_isAdmin + '" (at "' + path_isAdmin + '")');
5102
5261
  }
5262
+ if (obj.isAgentforceBot !== undefined) {
5263
+ const obj_isAgentforceBot = obj.isAgentforceBot;
5264
+ const path_isAgentforceBot = path + '.isAgentforceBot';
5265
+ if (typeof obj_isAgentforceBot !== 'boolean') {
5266
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isAgentforceBot + '" (at "' + path_isAgentforceBot + '")');
5267
+ }
5268
+ }
5103
5269
  const obj_isExternal = obj.isExternal;
5104
5270
  const path_isExternal = path + '.isExternal';
5105
5271
  let obj_isExternal_union0 = null;
@@ -5504,6 +5670,11 @@ const select$z = function SlackBridgeUserInfoOutputRepresentationSelect() {
5504
5670
  name: 'isAdmin',
5505
5671
  kind: 'Scalar'
5506
5672
  },
5673
+ {
5674
+ name: 'isAgentforceBot',
5675
+ kind: 'Scalar',
5676
+ required: false
5677
+ },
5507
5678
  {
5508
5679
  name: 'isExternal',
5509
5680
  kind: 'Scalar'
@@ -5595,6 +5766,19 @@ function equals$d(existing, incoming) {
5595
5766
  if (!(existing_isAdmin === incoming_isAdmin)) {
5596
5767
  return false;
5597
5768
  }
5769
+ const existing_isAgentforceBot = existing.isAgentforceBot;
5770
+ const incoming_isAgentforceBot = incoming.isAgentforceBot;
5771
+ // if at least one of these optionals is defined
5772
+ if (existing_isAgentforceBot !== undefined || incoming_isAgentforceBot !== undefined) {
5773
+ // if one of these is not defined we know the other is defined and therefore
5774
+ // not equal
5775
+ if (existing_isAgentforceBot === undefined || incoming_isAgentforceBot === undefined) {
5776
+ return false;
5777
+ }
5778
+ if (!(existing_isAgentforceBot === incoming_isAgentforceBot)) {
5779
+ return false;
5780
+ }
5781
+ }
5598
5782
  const existing_isOwner = existing.isOwner;
5599
5783
  const incoming_isOwner = incoming.isOwner;
5600
5784
  if (!(existing_isOwner === incoming_isOwner)) {
@@ -6393,7 +6577,7 @@ function select$w(luvio, params) {
6393
6577
  return select$x();
6394
6578
  }
6395
6579
  function keyBuilder$x(luvio, params) {
6396
- return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
6580
+ return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'includeView:' + params.queryParams.includeView + ',' + 'inclusive:' + params.queryParams.inclusive + ',' + 'latestMessageTs:' + params.queryParams.latestMessageTs + ',' + 'limit:' + params.queryParams.limit + ',' + 'noEmojis:' + params.queryParams.noEmojis + ',' + 'oldestMessageTs:' + params.queryParams.oldestMessageTs + ',' + 'parentMessageTs:' + params.queryParams.parentMessageTs + ',' + 'relatedRecordId:' + params.queryParams.relatedRecordId + ',' + 'teamId:' + params.queryParams.teamId + ')';
6397
6581
  }
6398
6582
  function getResponseCacheKeys$l(storeKeyMap, luvio, resourceParams, response) {
6399
6583
  getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
@@ -6448,6 +6632,7 @@ const getSlackConversation_ConfigPropertyMetadata = [
6448
6632
  generateParamConfigMetadata('inclusive', false, 1 /* QueryParameter */, 1 /* Boolean */),
6449
6633
  generateParamConfigMetadata('latestMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
6450
6634
  generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
6635
+ generateParamConfigMetadata('noEmojis', false, 1 /* QueryParameter */, 1 /* Boolean */),
6451
6636
  generateParamConfigMetadata('oldestMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
6452
6637
  generateParamConfigMetadata('parentMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
6453
6638
  generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
@@ -10808,4 +10993,4 @@ withDefaultLuvio((luvio) => {
10808
10993
  });
10809
10994
 
10810
10995
  export { deleteSlackConversationMember, deleteSlackMessage, deleteSlackMessageReactions, getRelatedThreads, getRelatedThreads_imperative, getSlackConversation, getSlackConversationInfo, getSlackConversationInfoNotifyChange, getSlackConversationInfo_imperative, getSlackConversationInfos, getSlackConversationInfos_imperative, getSlackConversationMember, getSlackConversationMemberNotifyChange, getSlackConversationMember_imperative, getSlackConversationMembers, getSlackConversationMembersNotifyChange, getSlackConversationMembers_imperative, getSlackConversation_imperative, getSlackDisplayLogin, getSlackDisplayLogin_imperative, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchMPIMs, getSlackSearchMPIMs_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
10811
- // version: 1.354.0-dev13-272d3dd416
10996
+ // version: 1.354.0-dev15-ede2ceb2bc
package/src/raml/api.raml CHANGED
@@ -605,9 +605,17 @@ types:
605
605
  type: array
606
606
  items:
607
607
  type: SlackBridgeFileOutputRepresentation
608
+ icon:
609
+ description: Sender icon url for demo bot messages
610
+ type: string | nil
611
+ required: false
608
612
  includesCustomEmoji:
609
613
  description: Does this message includes Custom emoji?
610
614
  type: boolean | nil
615
+ isBeyondFreeLimit:
616
+ description: Is this message older than the limit for free teams?
617
+ type: boolean | nil
618
+ required: false
611
619
  isBroadcast:
612
620
  description: Is this a reply also sent to the Channel?
613
621
  type: boolean | nil
@@ -647,7 +655,7 @@ types:
647
655
  type: string | nil
648
656
  slackUserId:
649
657
  description: Details of the Slack User who posted this message
650
- type: string
658
+ type: string | nil
651
659
  subtype:
652
660
  description: Sub-type of Message
653
661
  type: string | nil
@@ -660,6 +668,10 @@ types:
660
668
  url:
661
669
  description: Url for this message
662
670
  type: string
671
+ username:
672
+ description: Sender username for demo bot messages
673
+ type: string | nil
674
+ required: false
663
675
  SlackBridgePostMessageInputRepresentation:
664
676
  description: Contains the parameters to post a message to Slack
665
677
  type: object
@@ -864,6 +876,10 @@ types:
864
876
  isWorkflowBot:
865
877
  description: Is Slack User a workflow bot?
866
878
  type: boolean
879
+ isAgentforceBot:
880
+ description: Is Slack User an Agentforce bot?
881
+ type: boolean
882
+ required: false
867
883
  name:
868
884
  description: Name of the Slack User
869
885
  type: string
@@ -949,6 +965,10 @@ types:
949
965
  number of messages may be returned.
950
966
  type: integer
951
967
  required: false
968
+ noEmojis:
969
+ description: Do not search for references to custom emojis
970
+ type: boolean
971
+ required: false
952
972
  oldestMessageTs:
953
973
  description: Only messages after this Unix timestamp will be included in
954
974
  results. Default is the current time.