@salesforce/lds-adapters-platform-slack-bridge 1.359.0 → 1.360.1

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.
@@ -495,7 +495,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
495
495
  }
496
496
 
497
497
  const TTL$2 = 900000;
498
- const VERSION$k = "2871ae193ac5e60b5cc0d6c4111e8615";
498
+ const VERSION$k = "659332e7c7b6cebe3e1dc23512e2381e";
499
499
  function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
500
500
  const v_error = (() => {
501
501
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -917,6 +917,62 @@ function validate$k(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
917
917
  message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
918
918
  return new TypeError(message);
919
919
  }
920
+ if (obj.tz !== undefined) {
921
+ const obj_tz = obj.tz;
922
+ const path_tz = path + '.tz';
923
+ let obj_tz_union0 = null;
924
+ const obj_tz_union0_error = (() => {
925
+ if (typeof obj_tz !== 'string') {
926
+ return new TypeError('Expected "string" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
927
+ }
928
+ })();
929
+ if (obj_tz_union0_error != null) {
930
+ obj_tz_union0 = obj_tz_union0_error.message;
931
+ }
932
+ let obj_tz_union1 = null;
933
+ const obj_tz_union1_error = (() => {
934
+ if (obj_tz !== null) {
935
+ return new TypeError('Expected "null" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
936
+ }
937
+ })();
938
+ if (obj_tz_union1_error != null) {
939
+ obj_tz_union1 = obj_tz_union1_error.message;
940
+ }
941
+ if (obj_tz_union0 && obj_tz_union1) {
942
+ let message = 'Object doesn\'t match union (at "' + path_tz + '")';
943
+ message += '\n' + obj_tz_union0.split('\n').map((line) => '\t' + line).join('\n');
944
+ message += '\n' + obj_tz_union1.split('\n').map((line) => '\t' + line).join('\n');
945
+ return new TypeError(message);
946
+ }
947
+ }
948
+ if (obj.tzLabel !== undefined) {
949
+ const obj_tzLabel = obj.tzLabel;
950
+ const path_tzLabel = path + '.tzLabel';
951
+ let obj_tzLabel_union0 = null;
952
+ const obj_tzLabel_union0_error = (() => {
953
+ if (typeof obj_tzLabel !== 'string') {
954
+ return new TypeError('Expected "string" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
955
+ }
956
+ })();
957
+ if (obj_tzLabel_union0_error != null) {
958
+ obj_tzLabel_union0 = obj_tzLabel_union0_error.message;
959
+ }
960
+ let obj_tzLabel_union1 = null;
961
+ const obj_tzLabel_union1_error = (() => {
962
+ if (obj_tzLabel !== null) {
963
+ return new TypeError('Expected "null" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
964
+ }
965
+ })();
966
+ if (obj_tzLabel_union1_error != null) {
967
+ obj_tzLabel_union1 = obj_tzLabel_union1_error.message;
968
+ }
969
+ if (obj_tzLabel_union0 && obj_tzLabel_union1) {
970
+ let message = 'Object doesn\'t match union (at "' + path_tzLabel + '")';
971
+ message += '\n' + obj_tzLabel_union0.split('\n').map((line) => '\t' + line).join('\n');
972
+ message += '\n' + obj_tzLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
973
+ return new TypeError(message);
974
+ }
975
+ }
920
976
  })();
921
977
  return v_error === undefined ? null : v_error;
922
978
  }
@@ -1033,6 +1089,16 @@ const select$F = function SlackBridgeUserInfoOutputRepresentationSelect() {
1033
1089
  {
1034
1090
  name: 'title',
1035
1091
  kind: 'Scalar'
1092
+ },
1093
+ {
1094
+ name: 'tz',
1095
+ kind: 'Scalar',
1096
+ required: false
1097
+ },
1098
+ {
1099
+ name: 'tzLabel',
1100
+ kind: 'Scalar',
1101
+ required: false
1036
1102
  }
1037
1103
  ]
1038
1104
  };
@@ -1162,6 +1228,32 @@ function equals$k(existing, incoming) {
1162
1228
  if (!(existing_title === incoming_title)) {
1163
1229
  return false;
1164
1230
  }
1231
+ const existing_tz = existing.tz;
1232
+ const incoming_tz = incoming.tz;
1233
+ // if at least one of these optionals is defined
1234
+ if (existing_tz !== undefined || incoming_tz !== undefined) {
1235
+ // if one of these is not defined we know the other is defined and therefore
1236
+ // not equal
1237
+ if (existing_tz === undefined || incoming_tz === undefined) {
1238
+ return false;
1239
+ }
1240
+ if (!(existing_tz === incoming_tz)) {
1241
+ return false;
1242
+ }
1243
+ }
1244
+ const existing_tzLabel = existing.tzLabel;
1245
+ const incoming_tzLabel = incoming.tzLabel;
1246
+ // if at least one of these optionals is defined
1247
+ if (existing_tzLabel !== undefined || incoming_tzLabel !== undefined) {
1248
+ // if one of these is not defined we know the other is defined and therefore
1249
+ // not equal
1250
+ if (existing_tzLabel === undefined || incoming_tzLabel === undefined) {
1251
+ return false;
1252
+ }
1253
+ if (!(existing_tzLabel === incoming_tzLabel)) {
1254
+ return false;
1255
+ }
1256
+ }
1165
1257
  return true;
1166
1258
  }
1167
1259
  const ingest$g = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -2161,7 +2253,7 @@ function equals$f(existing, incoming) {
2161
2253
  return true;
2162
2254
  }
2163
2255
 
2164
- const VERSION$e = "15fa7211c500ebba9537b3c9921b39cf";
2256
+ const VERSION$e = "0c63f7d5db21327ed0dd5a3be9ff421a";
2165
2257
  function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2166
2258
  const v_error = (() => {
2167
2259
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2247,6 +2339,214 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
2247
2339
  if (typeof obj_slackPermalink !== 'string') {
2248
2340
  return new TypeError('Expected "string" but received "' + typeof obj_slackPermalink + '" (at "' + path_slackPermalink + '")');
2249
2341
  }
2342
+ const obj_thumb1024 = obj.thumb1024;
2343
+ const path_thumb1024 = path + '.thumb1024';
2344
+ let obj_thumb1024_union0 = null;
2345
+ const obj_thumb1024_union0_error = (() => {
2346
+ if (typeof obj_thumb1024 !== 'string') {
2347
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
2348
+ }
2349
+ })();
2350
+ if (obj_thumb1024_union0_error != null) {
2351
+ obj_thumb1024_union0 = obj_thumb1024_union0_error.message;
2352
+ }
2353
+ let obj_thumb1024_union1 = null;
2354
+ const obj_thumb1024_union1_error = (() => {
2355
+ if (obj_thumb1024 !== null) {
2356
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
2357
+ }
2358
+ })();
2359
+ if (obj_thumb1024_union1_error != null) {
2360
+ obj_thumb1024_union1 = obj_thumb1024_union1_error.message;
2361
+ }
2362
+ if (obj_thumb1024_union0 && obj_thumb1024_union1) {
2363
+ let message = 'Object doesn\'t match union (at "' + path_thumb1024 + '")';
2364
+ message += '\n' + obj_thumb1024_union0.split('\n').map((line) => '\t' + line).join('\n');
2365
+ message += '\n' + obj_thumb1024_union1.split('\n').map((line) => '\t' + line).join('\n');
2366
+ return new TypeError(message);
2367
+ }
2368
+ const obj_thumb360 = obj.thumb360;
2369
+ const path_thumb360 = path + '.thumb360';
2370
+ let obj_thumb360_union0 = null;
2371
+ const obj_thumb360_union0_error = (() => {
2372
+ if (typeof obj_thumb360 !== 'string') {
2373
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
2374
+ }
2375
+ })();
2376
+ if (obj_thumb360_union0_error != null) {
2377
+ obj_thumb360_union0 = obj_thumb360_union0_error.message;
2378
+ }
2379
+ let obj_thumb360_union1 = null;
2380
+ const obj_thumb360_union1_error = (() => {
2381
+ if (obj_thumb360 !== null) {
2382
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
2383
+ }
2384
+ })();
2385
+ if (obj_thumb360_union1_error != null) {
2386
+ obj_thumb360_union1 = obj_thumb360_union1_error.message;
2387
+ }
2388
+ if (obj_thumb360_union0 && obj_thumb360_union1) {
2389
+ let message = 'Object doesn\'t match union (at "' + path_thumb360 + '")';
2390
+ message += '\n' + obj_thumb360_union0.split('\n').map((line) => '\t' + line).join('\n');
2391
+ message += '\n' + obj_thumb360_union1.split('\n').map((line) => '\t' + line).join('\n');
2392
+ return new TypeError(message);
2393
+ }
2394
+ const obj_thumb480 = obj.thumb480;
2395
+ const path_thumb480 = path + '.thumb480';
2396
+ let obj_thumb480_union0 = null;
2397
+ const obj_thumb480_union0_error = (() => {
2398
+ if (typeof obj_thumb480 !== 'string') {
2399
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
2400
+ }
2401
+ })();
2402
+ if (obj_thumb480_union0_error != null) {
2403
+ obj_thumb480_union0 = obj_thumb480_union0_error.message;
2404
+ }
2405
+ let obj_thumb480_union1 = null;
2406
+ const obj_thumb480_union1_error = (() => {
2407
+ if (obj_thumb480 !== null) {
2408
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
2409
+ }
2410
+ })();
2411
+ if (obj_thumb480_union1_error != null) {
2412
+ obj_thumb480_union1 = obj_thumb480_union1_error.message;
2413
+ }
2414
+ if (obj_thumb480_union0 && obj_thumb480_union1) {
2415
+ let message = 'Object doesn\'t match union (at "' + path_thumb480 + '")';
2416
+ message += '\n' + obj_thumb480_union0.split('\n').map((line) => '\t' + line).join('\n');
2417
+ message += '\n' + obj_thumb480_union1.split('\n').map((line) => '\t' + line).join('\n');
2418
+ return new TypeError(message);
2419
+ }
2420
+ const obj_thumb720 = obj.thumb720;
2421
+ const path_thumb720 = path + '.thumb720';
2422
+ let obj_thumb720_union0 = null;
2423
+ const obj_thumb720_union0_error = (() => {
2424
+ if (typeof obj_thumb720 !== 'string') {
2425
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
2426
+ }
2427
+ })();
2428
+ if (obj_thumb720_union0_error != null) {
2429
+ obj_thumb720_union0 = obj_thumb720_union0_error.message;
2430
+ }
2431
+ let obj_thumb720_union1 = null;
2432
+ const obj_thumb720_union1_error = (() => {
2433
+ if (obj_thumb720 !== null) {
2434
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
2435
+ }
2436
+ })();
2437
+ if (obj_thumb720_union1_error != null) {
2438
+ obj_thumb720_union1 = obj_thumb720_union1_error.message;
2439
+ }
2440
+ if (obj_thumb720_union0 && obj_thumb720_union1) {
2441
+ let message = 'Object doesn\'t match union (at "' + path_thumb720 + '")';
2442
+ message += '\n' + obj_thumb720_union0.split('\n').map((line) => '\t' + line).join('\n');
2443
+ message += '\n' + obj_thumb720_union1.split('\n').map((line) => '\t' + line).join('\n');
2444
+ return new TypeError(message);
2445
+ }
2446
+ const obj_thumb960 = obj.thumb960;
2447
+ const path_thumb960 = path + '.thumb960';
2448
+ let obj_thumb960_union0 = null;
2449
+ const obj_thumb960_union0_error = (() => {
2450
+ if (typeof obj_thumb960 !== 'string') {
2451
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
2452
+ }
2453
+ })();
2454
+ if (obj_thumb960_union0_error != null) {
2455
+ obj_thumb960_union0 = obj_thumb960_union0_error.message;
2456
+ }
2457
+ let obj_thumb960_union1 = null;
2458
+ const obj_thumb960_union1_error = (() => {
2459
+ if (obj_thumb960 !== null) {
2460
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
2461
+ }
2462
+ })();
2463
+ if (obj_thumb960_union1_error != null) {
2464
+ obj_thumb960_union1 = obj_thumb960_union1_error.message;
2465
+ }
2466
+ if (obj_thumb960_union0 && obj_thumb960_union1) {
2467
+ let message = 'Object doesn\'t match union (at "' + path_thumb960 + '")';
2468
+ message += '\n' + obj_thumb960_union0.split('\n').map((line) => '\t' + line).join('\n');
2469
+ message += '\n' + obj_thumb960_union1.split('\n').map((line) => '\t' + line).join('\n');
2470
+ return new TypeError(message);
2471
+ }
2472
+ const obj_thumbVideo = obj.thumbVideo;
2473
+ const path_thumbVideo = path + '.thumbVideo';
2474
+ let obj_thumbVideo_union0 = null;
2475
+ const obj_thumbVideo_union0_error = (() => {
2476
+ if (typeof obj_thumbVideo !== 'string') {
2477
+ return new TypeError('Expected "string" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
2478
+ }
2479
+ })();
2480
+ if (obj_thumbVideo_union0_error != null) {
2481
+ obj_thumbVideo_union0 = obj_thumbVideo_union0_error.message;
2482
+ }
2483
+ let obj_thumbVideo_union1 = null;
2484
+ const obj_thumbVideo_union1_error = (() => {
2485
+ if (obj_thumbVideo !== null) {
2486
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
2487
+ }
2488
+ })();
2489
+ if (obj_thumbVideo_union1_error != null) {
2490
+ obj_thumbVideo_union1 = obj_thumbVideo_union1_error.message;
2491
+ }
2492
+ if (obj_thumbVideo_union0 && obj_thumbVideo_union1) {
2493
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideo + '")';
2494
+ message += '\n' + obj_thumbVideo_union0.split('\n').map((line) => '\t' + line).join('\n');
2495
+ message += '\n' + obj_thumbVideo_union1.split('\n').map((line) => '\t' + line).join('\n');
2496
+ return new TypeError(message);
2497
+ }
2498
+ const obj_thumbVideoHeight = obj.thumbVideoHeight;
2499
+ const path_thumbVideoHeight = path + '.thumbVideoHeight';
2500
+ let obj_thumbVideoHeight_union0 = null;
2501
+ const obj_thumbVideoHeight_union0_error = (() => {
2502
+ if (typeof obj_thumbVideoHeight !== 'number' || (typeof obj_thumbVideoHeight === 'number' && Math.floor(obj_thumbVideoHeight) !== obj_thumbVideoHeight)) {
2503
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
2504
+ }
2505
+ })();
2506
+ if (obj_thumbVideoHeight_union0_error != null) {
2507
+ obj_thumbVideoHeight_union0 = obj_thumbVideoHeight_union0_error.message;
2508
+ }
2509
+ let obj_thumbVideoHeight_union1 = null;
2510
+ const obj_thumbVideoHeight_union1_error = (() => {
2511
+ if (obj_thumbVideoHeight !== null) {
2512
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
2513
+ }
2514
+ })();
2515
+ if (obj_thumbVideoHeight_union1_error != null) {
2516
+ obj_thumbVideoHeight_union1 = obj_thumbVideoHeight_union1_error.message;
2517
+ }
2518
+ if (obj_thumbVideoHeight_union0 && obj_thumbVideoHeight_union1) {
2519
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoHeight + '")';
2520
+ message += '\n' + obj_thumbVideoHeight_union0.split('\n').map((line) => '\t' + line).join('\n');
2521
+ message += '\n' + obj_thumbVideoHeight_union1.split('\n').map((line) => '\t' + line).join('\n');
2522
+ return new TypeError(message);
2523
+ }
2524
+ const obj_thumbVideoWidth = obj.thumbVideoWidth;
2525
+ const path_thumbVideoWidth = path + '.thumbVideoWidth';
2526
+ let obj_thumbVideoWidth_union0 = null;
2527
+ const obj_thumbVideoWidth_union0_error = (() => {
2528
+ if (typeof obj_thumbVideoWidth !== 'number' || (typeof obj_thumbVideoWidth === 'number' && Math.floor(obj_thumbVideoWidth) !== obj_thumbVideoWidth)) {
2529
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
2530
+ }
2531
+ })();
2532
+ if (obj_thumbVideoWidth_union0_error != null) {
2533
+ obj_thumbVideoWidth_union0 = obj_thumbVideoWidth_union0_error.message;
2534
+ }
2535
+ let obj_thumbVideoWidth_union1 = null;
2536
+ const obj_thumbVideoWidth_union1_error = (() => {
2537
+ if (obj_thumbVideoWidth !== null) {
2538
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
2539
+ }
2540
+ })();
2541
+ if (obj_thumbVideoWidth_union1_error != null) {
2542
+ obj_thumbVideoWidth_union1 = obj_thumbVideoWidth_union1_error.message;
2543
+ }
2544
+ if (obj_thumbVideoWidth_union0 && obj_thumbVideoWidth_union1) {
2545
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoWidth + '")';
2546
+ message += '\n' + obj_thumbVideoWidth_union0.split('\n').map((line) => '\t' + line).join('\n');
2547
+ message += '\n' + obj_thumbVideoWidth_union1.split('\n').map((line) => '\t' + line).join('\n');
2548
+ return new TypeError(message);
2549
+ }
2250
2550
  const obj_title = obj.title;
2251
2551
  const path_title = path + '.title';
2252
2552
  if (typeof obj_title !== 'string') {
@@ -2383,6 +2683,38 @@ const select$z = function SlackBridgeFileOutputRepresentationSelect() {
2383
2683
  name: 'slackPermalink',
2384
2684
  kind: 'Scalar'
2385
2685
  },
2686
+ {
2687
+ name: 'thumb1024',
2688
+ kind: 'Scalar'
2689
+ },
2690
+ {
2691
+ name: 'thumb360',
2692
+ kind: 'Scalar'
2693
+ },
2694
+ {
2695
+ name: 'thumb480',
2696
+ kind: 'Scalar'
2697
+ },
2698
+ {
2699
+ name: 'thumb720',
2700
+ kind: 'Scalar'
2701
+ },
2702
+ {
2703
+ name: 'thumb960',
2704
+ kind: 'Scalar'
2705
+ },
2706
+ {
2707
+ name: 'thumbVideo',
2708
+ kind: 'Scalar'
2709
+ },
2710
+ {
2711
+ name: 'thumbVideoHeight',
2712
+ kind: 'Scalar'
2713
+ },
2714
+ {
2715
+ name: 'thumbVideoWidth',
2716
+ kind: 'Scalar'
2717
+ },
2386
2718
  {
2387
2719
  name: 'title',
2388
2720
  kind: 'Scalar'
@@ -2446,6 +2778,46 @@ function equals$e(existing, incoming) {
2446
2778
  if (!(existing_size === incoming_size)) {
2447
2779
  return false;
2448
2780
  }
2781
+ const existing_thumb1024 = existing.thumb1024;
2782
+ const incoming_thumb1024 = incoming.thumb1024;
2783
+ if (!(existing_thumb1024 === incoming_thumb1024)) {
2784
+ return false;
2785
+ }
2786
+ const existing_thumb360 = existing.thumb360;
2787
+ const incoming_thumb360 = incoming.thumb360;
2788
+ if (!(existing_thumb360 === incoming_thumb360)) {
2789
+ return false;
2790
+ }
2791
+ const existing_thumb480 = existing.thumb480;
2792
+ const incoming_thumb480 = incoming.thumb480;
2793
+ if (!(existing_thumb480 === incoming_thumb480)) {
2794
+ return false;
2795
+ }
2796
+ const existing_thumb720 = existing.thumb720;
2797
+ const incoming_thumb720 = incoming.thumb720;
2798
+ if (!(existing_thumb720 === incoming_thumb720)) {
2799
+ return false;
2800
+ }
2801
+ const existing_thumb960 = existing.thumb960;
2802
+ const incoming_thumb960 = incoming.thumb960;
2803
+ if (!(existing_thumb960 === incoming_thumb960)) {
2804
+ return false;
2805
+ }
2806
+ const existing_thumbVideo = existing.thumbVideo;
2807
+ const incoming_thumbVideo = incoming.thumbVideo;
2808
+ if (!(existing_thumbVideo === incoming_thumbVideo)) {
2809
+ return false;
2810
+ }
2811
+ const existing_thumbVideoHeight = existing.thumbVideoHeight;
2812
+ const incoming_thumbVideoHeight = incoming.thumbVideoHeight;
2813
+ if (!(existing_thumbVideoHeight === incoming_thumbVideoHeight)) {
2814
+ return false;
2815
+ }
2816
+ const existing_thumbVideoWidth = existing.thumbVideoWidth;
2817
+ const incoming_thumbVideoWidth = incoming.thumbVideoWidth;
2818
+ if (!(existing_thumbVideoWidth === incoming_thumbVideoWidth)) {
2819
+ return false;
2820
+ }
2449
2821
  const existing_token = existing.token;
2450
2822
  const incoming_token = incoming.token;
2451
2823
  if (!(existing_token === incoming_token)) {
@@ -1,6 +1,6 @@
1
1
  import { SlackBridgeContentDocumentOutputRepresentation as SlackBridgeContentDocumentOutputRepresentation_SlackBridgeContentDocumentOutputRepresentation } from './SlackBridgeContentDocumentOutputRepresentation';
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "15fa7211c500ebba9537b3c9921b39cf";
3
+ export declare const VERSION = "0c63f7d5db21327ed0dd5a3be9ff421a";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -18,7 +18,7 @@ export declare function equals(existing: SlackBridgeFileOutputRepresentationNorm
18
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
19
  export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SlackBridgeFileOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
20
  /**
21
- * Contains the details of files attached to the Slack Message
21
+ * Contains the details of a Slack file
22
22
  *
23
23
  * Keys:
24
24
  * uniqueKey (string | null): uniqueKey
@@ -38,6 +38,22 @@ export interface SlackBridgeFileOutputRepresentationNormalized {
38
38
  size: number | null;
39
39
  /** Slack Permalink for the File */
40
40
  slackPermalink: string;
41
+ /** Thumbnail URL (1024 height) */
42
+ thumb1024: string | null;
43
+ /** Thumbnail URL (360 height) */
44
+ thumb360: string | null;
45
+ /** Thumbnail URL (480 height) */
46
+ thumb480: string | null;
47
+ /** Thumbnail URL (720 height) */
48
+ thumb720: string | null;
49
+ /** Thumbnail URL (960 height) */
50
+ thumb960: string | null;
51
+ /** Video thumbnail */
52
+ thumbVideo: string | null;
53
+ /** Video thumbnail height */
54
+ thumbVideoHeight: number | null;
55
+ /** Video thumbnail width */
56
+ thumbVideoWidth: number | null;
41
57
  /** Title of the File */
42
58
  title: string;
43
59
  /** Token used for the File */
@@ -48,7 +64,7 @@ export interface SlackBridgeFileOutputRepresentationNormalized {
48
64
  url: string | null;
49
65
  }
50
66
  /**
51
- * Contains the details of files attached to the Slack Message
67
+ * Contains the details of a Slack file
52
68
  *
53
69
  * Keys:
54
70
  * uniqueKey (string | null): uniqueKey
@@ -61,6 +77,14 @@ export interface SlackBridgeFileOutputRepresentation {
61
77
  name: string;
62
78
  size: number | null;
63
79
  slackPermalink: string;
80
+ thumb1024: string | null;
81
+ thumb360: string | null;
82
+ thumb480: string | null;
83
+ thumb720: string | null;
84
+ thumb960: string | null;
85
+ thumbVideo: string | null;
86
+ thumbVideoHeight: number | null;
87
+ thumbVideoWidth: number | null;
64
88
  title: string;
65
89
  token: string | null;
66
90
  uniqueKey: string | null;
@@ -1,7 +1,7 @@
1
1
  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
2
  import { SlackBridgeEmojiOutputRepresentation as SlackBridgeEmojiOutputRepresentation_SlackBridgeEmojiOutputRepresentation } from './SlackBridgeEmojiOutputRepresentation';
3
3
  export declare const TTL = 900000;
4
- export declare const VERSION = "2871ae193ac5e60b5cc0d6c4111e8615";
4
+ export declare const VERSION = "659332e7c7b6cebe3e1dc23512e2381e";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -72,6 +72,10 @@ export interface SlackBridgeUserInfoOutputRepresentationNormalized {
72
72
  teamId: string | null;
73
73
  /** Title of the Slack User */
74
74
  title: string | null;
75
+ /** Time zone of the Slack user, ie. America/New_York */
76
+ tz?: string | null;
77
+ /** Time zone label of the Slack user, ie. Eastern Daylight Time */
78
+ tzLabel?: string | null;
75
79
  }
76
80
  /**
77
81
  * Contains the details of Slack User
@@ -99,4 +103,6 @@ export interface SlackBridgeUserInfoOutputRepresentation {
99
103
  statusMessage: string | null;
100
104
  teamId: string | null;
101
105
  title: string | null;
106
+ tz?: string | null;
107
+ tzLabel?: string | null;
102
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-slack-bridge",
3
- "version": "1.359.0",
3
+ "version": "1.360.1",
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.359.0"
43
+ "@salesforce/lds-bindings": "^1.360.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.359.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.360.1"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1665,7 +1665,7 @@ function equals$f(existing, incoming) {
1665
1665
  return true;
1666
1666
  }
1667
1667
 
1668
- const VERSION$e = "15fa7211c500ebba9537b3c9921b39cf";
1668
+ const VERSION$e = "0c63f7d5db21327ed0dd5a3be9ff421a";
1669
1669
  function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1670
1670
  const v_error = (() => {
1671
1671
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1751,6 +1751,214 @@ function validate$e(obj, path = 'SlackBridgeFileOutputRepresentation') {
1751
1751
  if (typeof obj_slackPermalink !== 'string') {
1752
1752
  return new TypeError('Expected "string" but received "' + typeof obj_slackPermalink + '" (at "' + path_slackPermalink + '")');
1753
1753
  }
1754
+ const obj_thumb1024 = obj.thumb1024;
1755
+ const path_thumb1024 = path + '.thumb1024';
1756
+ let obj_thumb1024_union0 = null;
1757
+ const obj_thumb1024_union0_error = (() => {
1758
+ if (typeof obj_thumb1024 !== 'string') {
1759
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
1760
+ }
1761
+ })();
1762
+ if (obj_thumb1024_union0_error != null) {
1763
+ obj_thumb1024_union0 = obj_thumb1024_union0_error.message;
1764
+ }
1765
+ let obj_thumb1024_union1 = null;
1766
+ const obj_thumb1024_union1_error = (() => {
1767
+ if (obj_thumb1024 !== null) {
1768
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb1024 + '" (at "' + path_thumb1024 + '")');
1769
+ }
1770
+ })();
1771
+ if (obj_thumb1024_union1_error != null) {
1772
+ obj_thumb1024_union1 = obj_thumb1024_union1_error.message;
1773
+ }
1774
+ if (obj_thumb1024_union0 && obj_thumb1024_union1) {
1775
+ let message = 'Object doesn\'t match union (at "' + path_thumb1024 + '")';
1776
+ message += '\n' + obj_thumb1024_union0.split('\n').map((line) => '\t' + line).join('\n');
1777
+ message += '\n' + obj_thumb1024_union1.split('\n').map((line) => '\t' + line).join('\n');
1778
+ return new TypeError(message);
1779
+ }
1780
+ const obj_thumb360 = obj.thumb360;
1781
+ const path_thumb360 = path + '.thumb360';
1782
+ let obj_thumb360_union0 = null;
1783
+ const obj_thumb360_union0_error = (() => {
1784
+ if (typeof obj_thumb360 !== 'string') {
1785
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
1786
+ }
1787
+ })();
1788
+ if (obj_thumb360_union0_error != null) {
1789
+ obj_thumb360_union0 = obj_thumb360_union0_error.message;
1790
+ }
1791
+ let obj_thumb360_union1 = null;
1792
+ const obj_thumb360_union1_error = (() => {
1793
+ if (obj_thumb360 !== null) {
1794
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb360 + '" (at "' + path_thumb360 + '")');
1795
+ }
1796
+ })();
1797
+ if (obj_thumb360_union1_error != null) {
1798
+ obj_thumb360_union1 = obj_thumb360_union1_error.message;
1799
+ }
1800
+ if (obj_thumb360_union0 && obj_thumb360_union1) {
1801
+ let message = 'Object doesn\'t match union (at "' + path_thumb360 + '")';
1802
+ message += '\n' + obj_thumb360_union0.split('\n').map((line) => '\t' + line).join('\n');
1803
+ message += '\n' + obj_thumb360_union1.split('\n').map((line) => '\t' + line).join('\n');
1804
+ return new TypeError(message);
1805
+ }
1806
+ const obj_thumb480 = obj.thumb480;
1807
+ const path_thumb480 = path + '.thumb480';
1808
+ let obj_thumb480_union0 = null;
1809
+ const obj_thumb480_union0_error = (() => {
1810
+ if (typeof obj_thumb480 !== 'string') {
1811
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
1812
+ }
1813
+ })();
1814
+ if (obj_thumb480_union0_error != null) {
1815
+ obj_thumb480_union0 = obj_thumb480_union0_error.message;
1816
+ }
1817
+ let obj_thumb480_union1 = null;
1818
+ const obj_thumb480_union1_error = (() => {
1819
+ if (obj_thumb480 !== null) {
1820
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb480 + '" (at "' + path_thumb480 + '")');
1821
+ }
1822
+ })();
1823
+ if (obj_thumb480_union1_error != null) {
1824
+ obj_thumb480_union1 = obj_thumb480_union1_error.message;
1825
+ }
1826
+ if (obj_thumb480_union0 && obj_thumb480_union1) {
1827
+ let message = 'Object doesn\'t match union (at "' + path_thumb480 + '")';
1828
+ message += '\n' + obj_thumb480_union0.split('\n').map((line) => '\t' + line).join('\n');
1829
+ message += '\n' + obj_thumb480_union1.split('\n').map((line) => '\t' + line).join('\n');
1830
+ return new TypeError(message);
1831
+ }
1832
+ const obj_thumb720 = obj.thumb720;
1833
+ const path_thumb720 = path + '.thumb720';
1834
+ let obj_thumb720_union0 = null;
1835
+ const obj_thumb720_union0_error = (() => {
1836
+ if (typeof obj_thumb720 !== 'string') {
1837
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
1838
+ }
1839
+ })();
1840
+ if (obj_thumb720_union0_error != null) {
1841
+ obj_thumb720_union0 = obj_thumb720_union0_error.message;
1842
+ }
1843
+ let obj_thumb720_union1 = null;
1844
+ const obj_thumb720_union1_error = (() => {
1845
+ if (obj_thumb720 !== null) {
1846
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb720 + '" (at "' + path_thumb720 + '")');
1847
+ }
1848
+ })();
1849
+ if (obj_thumb720_union1_error != null) {
1850
+ obj_thumb720_union1 = obj_thumb720_union1_error.message;
1851
+ }
1852
+ if (obj_thumb720_union0 && obj_thumb720_union1) {
1853
+ let message = 'Object doesn\'t match union (at "' + path_thumb720 + '")';
1854
+ message += '\n' + obj_thumb720_union0.split('\n').map((line) => '\t' + line).join('\n');
1855
+ message += '\n' + obj_thumb720_union1.split('\n').map((line) => '\t' + line).join('\n');
1856
+ return new TypeError(message);
1857
+ }
1858
+ const obj_thumb960 = obj.thumb960;
1859
+ const path_thumb960 = path + '.thumb960';
1860
+ let obj_thumb960_union0 = null;
1861
+ const obj_thumb960_union0_error = (() => {
1862
+ if (typeof obj_thumb960 !== 'string') {
1863
+ return new TypeError('Expected "string" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
1864
+ }
1865
+ })();
1866
+ if (obj_thumb960_union0_error != null) {
1867
+ obj_thumb960_union0 = obj_thumb960_union0_error.message;
1868
+ }
1869
+ let obj_thumb960_union1 = null;
1870
+ const obj_thumb960_union1_error = (() => {
1871
+ if (obj_thumb960 !== null) {
1872
+ return new TypeError('Expected "null" but received "' + typeof obj_thumb960 + '" (at "' + path_thumb960 + '")');
1873
+ }
1874
+ })();
1875
+ if (obj_thumb960_union1_error != null) {
1876
+ obj_thumb960_union1 = obj_thumb960_union1_error.message;
1877
+ }
1878
+ if (obj_thumb960_union0 && obj_thumb960_union1) {
1879
+ let message = 'Object doesn\'t match union (at "' + path_thumb960 + '")';
1880
+ message += '\n' + obj_thumb960_union0.split('\n').map((line) => '\t' + line).join('\n');
1881
+ message += '\n' + obj_thumb960_union1.split('\n').map((line) => '\t' + line).join('\n');
1882
+ return new TypeError(message);
1883
+ }
1884
+ const obj_thumbVideo = obj.thumbVideo;
1885
+ const path_thumbVideo = path + '.thumbVideo';
1886
+ let obj_thumbVideo_union0 = null;
1887
+ const obj_thumbVideo_union0_error = (() => {
1888
+ if (typeof obj_thumbVideo !== 'string') {
1889
+ return new TypeError('Expected "string" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
1890
+ }
1891
+ })();
1892
+ if (obj_thumbVideo_union0_error != null) {
1893
+ obj_thumbVideo_union0 = obj_thumbVideo_union0_error.message;
1894
+ }
1895
+ let obj_thumbVideo_union1 = null;
1896
+ const obj_thumbVideo_union1_error = (() => {
1897
+ if (obj_thumbVideo !== null) {
1898
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideo + '" (at "' + path_thumbVideo + '")');
1899
+ }
1900
+ })();
1901
+ if (obj_thumbVideo_union1_error != null) {
1902
+ obj_thumbVideo_union1 = obj_thumbVideo_union1_error.message;
1903
+ }
1904
+ if (obj_thumbVideo_union0 && obj_thumbVideo_union1) {
1905
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideo + '")';
1906
+ message += '\n' + obj_thumbVideo_union0.split('\n').map((line) => '\t' + line).join('\n');
1907
+ message += '\n' + obj_thumbVideo_union1.split('\n').map((line) => '\t' + line).join('\n');
1908
+ return new TypeError(message);
1909
+ }
1910
+ const obj_thumbVideoHeight = obj.thumbVideoHeight;
1911
+ const path_thumbVideoHeight = path + '.thumbVideoHeight';
1912
+ let obj_thumbVideoHeight_union0 = null;
1913
+ const obj_thumbVideoHeight_union0_error = (() => {
1914
+ if (typeof obj_thumbVideoHeight !== 'number' || (typeof obj_thumbVideoHeight === 'number' && Math.floor(obj_thumbVideoHeight) !== obj_thumbVideoHeight)) {
1915
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
1916
+ }
1917
+ })();
1918
+ if (obj_thumbVideoHeight_union0_error != null) {
1919
+ obj_thumbVideoHeight_union0 = obj_thumbVideoHeight_union0_error.message;
1920
+ }
1921
+ let obj_thumbVideoHeight_union1 = null;
1922
+ const obj_thumbVideoHeight_union1_error = (() => {
1923
+ if (obj_thumbVideoHeight !== null) {
1924
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoHeight + '" (at "' + path_thumbVideoHeight + '")');
1925
+ }
1926
+ })();
1927
+ if (obj_thumbVideoHeight_union1_error != null) {
1928
+ obj_thumbVideoHeight_union1 = obj_thumbVideoHeight_union1_error.message;
1929
+ }
1930
+ if (obj_thumbVideoHeight_union0 && obj_thumbVideoHeight_union1) {
1931
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoHeight + '")';
1932
+ message += '\n' + obj_thumbVideoHeight_union0.split('\n').map((line) => '\t' + line).join('\n');
1933
+ message += '\n' + obj_thumbVideoHeight_union1.split('\n').map((line) => '\t' + line).join('\n');
1934
+ return new TypeError(message);
1935
+ }
1936
+ const obj_thumbVideoWidth = obj.thumbVideoWidth;
1937
+ const path_thumbVideoWidth = path + '.thumbVideoWidth';
1938
+ let obj_thumbVideoWidth_union0 = null;
1939
+ const obj_thumbVideoWidth_union0_error = (() => {
1940
+ if (typeof obj_thumbVideoWidth !== 'number' || (typeof obj_thumbVideoWidth === 'number' && Math.floor(obj_thumbVideoWidth) !== obj_thumbVideoWidth)) {
1941
+ return new TypeError('Expected "integer" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
1942
+ }
1943
+ })();
1944
+ if (obj_thumbVideoWidth_union0_error != null) {
1945
+ obj_thumbVideoWidth_union0 = obj_thumbVideoWidth_union0_error.message;
1946
+ }
1947
+ let obj_thumbVideoWidth_union1 = null;
1948
+ const obj_thumbVideoWidth_union1_error = (() => {
1949
+ if (obj_thumbVideoWidth !== null) {
1950
+ return new TypeError('Expected "null" but received "' + typeof obj_thumbVideoWidth + '" (at "' + path_thumbVideoWidth + '")');
1951
+ }
1952
+ })();
1953
+ if (obj_thumbVideoWidth_union1_error != null) {
1954
+ obj_thumbVideoWidth_union1 = obj_thumbVideoWidth_union1_error.message;
1955
+ }
1956
+ if (obj_thumbVideoWidth_union0 && obj_thumbVideoWidth_union1) {
1957
+ let message = 'Object doesn\'t match union (at "' + path_thumbVideoWidth + '")';
1958
+ message += '\n' + obj_thumbVideoWidth_union0.split('\n').map((line) => '\t' + line).join('\n');
1959
+ message += '\n' + obj_thumbVideoWidth_union1.split('\n').map((line) => '\t' + line).join('\n');
1960
+ return new TypeError(message);
1961
+ }
1754
1962
  const obj_title = obj.title;
1755
1963
  const path_title = path + '.title';
1756
1964
  if (typeof obj_title !== 'string') {
@@ -1887,6 +2095,38 @@ const select$z = function SlackBridgeFileOutputRepresentationSelect() {
1887
2095
  name: 'slackPermalink',
1888
2096
  kind: 'Scalar'
1889
2097
  },
2098
+ {
2099
+ name: 'thumb1024',
2100
+ kind: 'Scalar'
2101
+ },
2102
+ {
2103
+ name: 'thumb360',
2104
+ kind: 'Scalar'
2105
+ },
2106
+ {
2107
+ name: 'thumb480',
2108
+ kind: 'Scalar'
2109
+ },
2110
+ {
2111
+ name: 'thumb720',
2112
+ kind: 'Scalar'
2113
+ },
2114
+ {
2115
+ name: 'thumb960',
2116
+ kind: 'Scalar'
2117
+ },
2118
+ {
2119
+ name: 'thumbVideo',
2120
+ kind: 'Scalar'
2121
+ },
2122
+ {
2123
+ name: 'thumbVideoHeight',
2124
+ kind: 'Scalar'
2125
+ },
2126
+ {
2127
+ name: 'thumbVideoWidth',
2128
+ kind: 'Scalar'
2129
+ },
1890
2130
  {
1891
2131
  name: 'title',
1892
2132
  kind: 'Scalar'
@@ -1950,6 +2190,46 @@ function equals$e(existing, incoming) {
1950
2190
  if (!(existing_size === incoming_size)) {
1951
2191
  return false;
1952
2192
  }
2193
+ const existing_thumb1024 = existing.thumb1024;
2194
+ const incoming_thumb1024 = incoming.thumb1024;
2195
+ if (!(existing_thumb1024 === incoming_thumb1024)) {
2196
+ return false;
2197
+ }
2198
+ const existing_thumb360 = existing.thumb360;
2199
+ const incoming_thumb360 = incoming.thumb360;
2200
+ if (!(existing_thumb360 === incoming_thumb360)) {
2201
+ return false;
2202
+ }
2203
+ const existing_thumb480 = existing.thumb480;
2204
+ const incoming_thumb480 = incoming.thumb480;
2205
+ if (!(existing_thumb480 === incoming_thumb480)) {
2206
+ return false;
2207
+ }
2208
+ const existing_thumb720 = existing.thumb720;
2209
+ const incoming_thumb720 = incoming.thumb720;
2210
+ if (!(existing_thumb720 === incoming_thumb720)) {
2211
+ return false;
2212
+ }
2213
+ const existing_thumb960 = existing.thumb960;
2214
+ const incoming_thumb960 = incoming.thumb960;
2215
+ if (!(existing_thumb960 === incoming_thumb960)) {
2216
+ return false;
2217
+ }
2218
+ const existing_thumbVideo = existing.thumbVideo;
2219
+ const incoming_thumbVideo = incoming.thumbVideo;
2220
+ if (!(existing_thumbVideo === incoming_thumbVideo)) {
2221
+ return false;
2222
+ }
2223
+ const existing_thumbVideoHeight = existing.thumbVideoHeight;
2224
+ const incoming_thumbVideoHeight = incoming.thumbVideoHeight;
2225
+ if (!(existing_thumbVideoHeight === incoming_thumbVideoHeight)) {
2226
+ return false;
2227
+ }
2228
+ const existing_thumbVideoWidth = existing.thumbVideoWidth;
2229
+ const incoming_thumbVideoWidth = incoming.thumbVideoWidth;
2230
+ if (!(existing_thumbVideoWidth === incoming_thumbVideoWidth)) {
2231
+ return false;
2232
+ }
1953
2233
  const existing_token = existing.token;
1954
2234
  const incoming_token = incoming.token;
1955
2235
  if (!(existing_token === incoming_token)) {
@@ -3324,7 +3604,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
3324
3604
  }
3325
3605
 
3326
3606
  const TTL = 900000;
3327
- const VERSION$9 = "2871ae193ac5e60b5cc0d6c4111e8615";
3607
+ const VERSION$9 = "659332e7c7b6cebe3e1dc23512e2381e";
3328
3608
  function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3329
3609
  const v_error = (() => {
3330
3610
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3746,6 +4026,62 @@ function validate$9(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
3746
4026
  message += '\n' + obj_title_union1.split('\n').map((line) => '\t' + line).join('\n');
3747
4027
  return new TypeError(message);
3748
4028
  }
4029
+ if (obj.tz !== undefined) {
4030
+ const obj_tz = obj.tz;
4031
+ const path_tz = path + '.tz';
4032
+ let obj_tz_union0 = null;
4033
+ const obj_tz_union0_error = (() => {
4034
+ if (typeof obj_tz !== 'string') {
4035
+ return new TypeError('Expected "string" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
4036
+ }
4037
+ })();
4038
+ if (obj_tz_union0_error != null) {
4039
+ obj_tz_union0 = obj_tz_union0_error.message;
4040
+ }
4041
+ let obj_tz_union1 = null;
4042
+ const obj_tz_union1_error = (() => {
4043
+ if (obj_tz !== null) {
4044
+ return new TypeError('Expected "null" but received "' + typeof obj_tz + '" (at "' + path_tz + '")');
4045
+ }
4046
+ })();
4047
+ if (obj_tz_union1_error != null) {
4048
+ obj_tz_union1 = obj_tz_union1_error.message;
4049
+ }
4050
+ if (obj_tz_union0 && obj_tz_union1) {
4051
+ let message = 'Object doesn\'t match union (at "' + path_tz + '")';
4052
+ message += '\n' + obj_tz_union0.split('\n').map((line) => '\t' + line).join('\n');
4053
+ message += '\n' + obj_tz_union1.split('\n').map((line) => '\t' + line).join('\n');
4054
+ return new TypeError(message);
4055
+ }
4056
+ }
4057
+ if (obj.tzLabel !== undefined) {
4058
+ const obj_tzLabel = obj.tzLabel;
4059
+ const path_tzLabel = path + '.tzLabel';
4060
+ let obj_tzLabel_union0 = null;
4061
+ const obj_tzLabel_union0_error = (() => {
4062
+ if (typeof obj_tzLabel !== 'string') {
4063
+ return new TypeError('Expected "string" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
4064
+ }
4065
+ })();
4066
+ if (obj_tzLabel_union0_error != null) {
4067
+ obj_tzLabel_union0 = obj_tzLabel_union0_error.message;
4068
+ }
4069
+ let obj_tzLabel_union1 = null;
4070
+ const obj_tzLabel_union1_error = (() => {
4071
+ if (obj_tzLabel !== null) {
4072
+ return new TypeError('Expected "null" but received "' + typeof obj_tzLabel + '" (at "' + path_tzLabel + '")');
4073
+ }
4074
+ })();
4075
+ if (obj_tzLabel_union1_error != null) {
4076
+ obj_tzLabel_union1 = obj_tzLabel_union1_error.message;
4077
+ }
4078
+ if (obj_tzLabel_union0 && obj_tzLabel_union1) {
4079
+ let message = 'Object doesn\'t match union (at "' + path_tzLabel + '")';
4080
+ message += '\n' + obj_tzLabel_union0.split('\n').map((line) => '\t' + line).join('\n');
4081
+ message += '\n' + obj_tzLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
4082
+ return new TypeError(message);
4083
+ }
4084
+ }
3749
4085
  })();
3750
4086
  return v_error === undefined ? null : v_error;
3751
4087
  }
@@ -3862,6 +4198,16 @@ const select$t = function SlackBridgeUserInfoOutputRepresentationSelect() {
3862
4198
  {
3863
4199
  name: 'title',
3864
4200
  kind: 'Scalar'
4201
+ },
4202
+ {
4203
+ name: 'tz',
4204
+ kind: 'Scalar',
4205
+ required: false
4206
+ },
4207
+ {
4208
+ name: 'tzLabel',
4209
+ kind: 'Scalar',
4210
+ required: false
3865
4211
  }
3866
4212
  ]
3867
4213
  };
@@ -3991,6 +4337,32 @@ function equals$9(existing, incoming) {
3991
4337
  if (!(existing_title === incoming_title)) {
3992
4338
  return false;
3993
4339
  }
4340
+ const existing_tz = existing.tz;
4341
+ const incoming_tz = incoming.tz;
4342
+ // if at least one of these optionals is defined
4343
+ if (existing_tz !== undefined || incoming_tz !== undefined) {
4344
+ // if one of these is not defined we know the other is defined and therefore
4345
+ // not equal
4346
+ if (existing_tz === undefined || incoming_tz === undefined) {
4347
+ return false;
4348
+ }
4349
+ if (!(existing_tz === incoming_tz)) {
4350
+ return false;
4351
+ }
4352
+ }
4353
+ const existing_tzLabel = existing.tzLabel;
4354
+ const incoming_tzLabel = incoming.tzLabel;
4355
+ // if at least one of these optionals is defined
4356
+ if (existing_tzLabel !== undefined || incoming_tzLabel !== undefined) {
4357
+ // if one of these is not defined we know the other is defined and therefore
4358
+ // not equal
4359
+ if (existing_tzLabel === undefined || incoming_tzLabel === undefined) {
4360
+ return false;
4361
+ }
4362
+ if (!(existing_tzLabel === incoming_tzLabel)) {
4363
+ return false;
4364
+ }
4365
+ }
3994
4366
  return true;
3995
4367
  }
3996
4368
  const ingest$9 = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -8345,4 +8717,4 @@ withDefaultLuvio((luvio) => {
8345
8717
  });
8346
8718
 
8347
8719
  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, getSlackEmoji, getSlackEmojiNotifyChange, getSlackEmoji_imperative, getSlackEmojis, getSlackEmojis_imperative, getSlackMessage, getSlackMessageNotifyChange, getSlackMessage_imperative, getSlackRecordChannelInfo, getSlackRecordChannelInfoNotifyChange, getSlackRecordChannelInfo_imperative, getSlackSearchConversation, getSlackSearchConversation_imperative, getSlackSearchEmoji, getSlackSearchEmoji_imperative, getSlackSearchUser, getSlackSearchUser_imperative, getSlackUser, getSlackUserNotifyChange, getSlackUser_imperative, patchSlackMessage, postSlackConversation, postSlackConversationMark, postSlackConversationMembers, postSlackFile, postSlackMessageReactions, postSlackRecordChannelInfos };
8348
- // version: 1.359.0-0fa7873931
8720
+ // version: 1.360.1-0f1676c606
package/src/raml/api.raml CHANGED
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '63.0'
5
+ version: '64.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -327,7 +327,7 @@ types:
327
327
  description: Title of file.
328
328
  type: string
329
329
  SlackBridgeFileOutputRepresentation:
330
- description: Contains the details of files attached to the Slack Message
330
+ description: Contains the details of a Slack file
331
331
  type: object
332
332
  properties:
333
333
  contentDocument:
@@ -351,6 +351,30 @@ types:
351
351
  slackPermalink:
352
352
  description: Slack Permalink for the File
353
353
  type: string
354
+ thumb1024:
355
+ description: Thumbnail URL (1024 height)
356
+ type: string | nil
357
+ thumb360:
358
+ description: Thumbnail URL (360 height)
359
+ type: string | nil
360
+ thumb480:
361
+ description: Thumbnail URL (480 height)
362
+ type: string | nil
363
+ thumb720:
364
+ description: Thumbnail URL (720 height)
365
+ type: string | nil
366
+ thumb960:
367
+ description: Thumbnail URL (960 height)
368
+ type: string | nil
369
+ thumbVideo:
370
+ description: Video thumbnail
371
+ type: string | nil
372
+ thumbVideoHeight:
373
+ description: Video thumbnail height
374
+ type: integer | nil
375
+ thumbVideoWidth:
376
+ description: Video thumbnail width
377
+ type: integer | nil
354
378
  title:
355
379
  description: Title of the File
356
380
  type: string
@@ -663,6 +687,14 @@ types:
663
687
  title:
664
688
  description: Title of the Slack User
665
689
  type: string | nil
690
+ tz:
691
+ description: Time zone of the Slack user, ie. America/New_York
692
+ required: false
693
+ type: string | nil
694
+ tzLabel:
695
+ description: Time zone label of the Slack user, ie. Eastern Daylight Time
696
+ required: false
697
+ type: string | nil
666
698
  SlackBridgeUserInfosOutputRepresentation:
667
699
  description: Contains the list of Slack User Information
668
700
  type: object