@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev1 → 1.380.0-dev3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/platform-slack-bridge.js +540 -376
- package/dist/es/es2018/types/src/generated/adapters/openSlackConversation.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeConversationOpen.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationOpenOutputRepresentation.d.ts +38 -0
- package/package.json +3 -3
- package/sfdc/index.js +1298 -1131
- package/src/raml/api.raml +112 -72
- package/src/raml/luvio.raml +16 -7
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$g, typeCheckConfig as typeCheckConfig$
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$g, typeCheckConfig as typeCheckConfig$r, StoreKeyMap, createResourceParams as createResourceParams$r } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -112,8 +112,8 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
const VERSION$
|
|
116
|
-
function validate$
|
|
115
|
+
const VERSION$u = "d8f70047b26b82f280d95ae8abe94157";
|
|
116
|
+
function validate$u(obj, path = 'SlackBridgeEnterpriseUserInfoOutputRepresentation') {
|
|
117
117
|
const v_error = (() => {
|
|
118
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
119
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -151,10 +151,10 @@ function validate$t(obj, path = 'SlackBridgeEnterpriseUserInfoOutputRepresentati
|
|
|
151
151
|
})();
|
|
152
152
|
return v_error === undefined ? null : v_error;
|
|
153
153
|
}
|
|
154
|
-
const select$
|
|
154
|
+
const select$S = function SlackBridgeEnterpriseUserInfoOutputRepresentationSelect() {
|
|
155
155
|
return {
|
|
156
156
|
kind: 'Fragment',
|
|
157
|
-
version: VERSION$
|
|
157
|
+
version: VERSION$u,
|
|
158
158
|
private: [],
|
|
159
159
|
selections: [
|
|
160
160
|
{
|
|
@@ -184,7 +184,7 @@ const select$Q = function SlackBridgeEnterpriseUserInfoOutputRepresentationSelec
|
|
|
184
184
|
]
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
function equals$
|
|
187
|
+
function equals$u(existing, incoming) {
|
|
188
188
|
const existing_isAdmin = existing.isAdmin;
|
|
189
189
|
const incoming_isAdmin = incoming.isAdmin;
|
|
190
190
|
if (!(existing_isAdmin === incoming_isAdmin)) {
|
|
@@ -218,8 +218,8 @@ function equals$t(existing, incoming) {
|
|
|
218
218
|
return true;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
const VERSION$
|
|
222
|
-
function validate$
|
|
221
|
+
const VERSION$t = "6a2ede1150bccf991e3f6ea7b55a9964";
|
|
222
|
+
function validate$t(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
|
|
223
223
|
const v_error = (() => {
|
|
224
224
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
225
225
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -305,10 +305,10 @@ function validate$s(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
|
|
|
305
305
|
})();
|
|
306
306
|
return v_error === undefined ? null : v_error;
|
|
307
307
|
}
|
|
308
|
-
const select$
|
|
308
|
+
const select$R = function SlackBridgeEmojiValueOutputRepresentationSelect() {
|
|
309
309
|
return {
|
|
310
310
|
kind: 'Fragment',
|
|
311
|
-
version: VERSION$
|
|
311
|
+
version: VERSION$t,
|
|
312
312
|
private: [],
|
|
313
313
|
selections: [
|
|
314
314
|
{
|
|
@@ -326,7 +326,7 @@ const select$P = function SlackBridgeEmojiValueOutputRepresentationSelect() {
|
|
|
326
326
|
]
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
|
-
function equals$
|
|
329
|
+
function equals$t(existing, incoming) {
|
|
330
330
|
const existing_appleUrl = existing.appleUrl;
|
|
331
331
|
const incoming_appleUrl = incoming.appleUrl;
|
|
332
332
|
if (!(existing_appleUrl === incoming_appleUrl)) {
|
|
@@ -345,9 +345,9 @@ function equals$s(existing, incoming) {
|
|
|
345
345
|
return true;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
const TTL$
|
|
349
|
-
const VERSION$
|
|
350
|
-
function validate$
|
|
348
|
+
const TTL$7 = 2592000000;
|
|
349
|
+
const VERSION$s = "a0e1530372a57d61a1264218124bbb5c";
|
|
350
|
+
function validate$s(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
|
|
351
351
|
const v_error = (() => {
|
|
352
352
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
353
353
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -465,7 +465,7 @@ function validate$r(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
|
|
|
465
465
|
const path_value = path + '.value';
|
|
466
466
|
let obj_value_union0 = null;
|
|
467
467
|
const obj_value_union0_error = (() => {
|
|
468
|
-
const referencepath_valueValidationError = validate$
|
|
468
|
+
const referencepath_valueValidationError = validate$t(obj_value, path_value);
|
|
469
469
|
if (referencepath_valueValidationError !== null) {
|
|
470
470
|
let message = 'Object doesn\'t match SlackBridgeEmojiValueOutputRepresentation (at "' + path_value + '")\n';
|
|
471
471
|
message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -493,24 +493,24 @@ function validate$r(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
|
|
|
493
493
|
})();
|
|
494
494
|
return v_error === undefined ? null : v_error;
|
|
495
495
|
}
|
|
496
|
-
const RepresentationType$
|
|
497
|
-
function keyBuilder$
|
|
498
|
-
return keyPrefix + '::' + RepresentationType$
|
|
496
|
+
const RepresentationType$k = 'SlackBridgeEmojiOutputRepresentation';
|
|
497
|
+
function keyBuilder$K(luvio, config) {
|
|
498
|
+
return keyPrefix + '::' + RepresentationType$k + ':' + config.name;
|
|
499
499
|
}
|
|
500
|
-
function keyBuilderFromType$
|
|
500
|
+
function keyBuilderFromType$b(luvio, object) {
|
|
501
501
|
const keyParams = {
|
|
502
502
|
name: object.name
|
|
503
503
|
};
|
|
504
|
-
return keyBuilder$
|
|
504
|
+
return keyBuilder$K(luvio, keyParams);
|
|
505
505
|
}
|
|
506
|
-
function normalize$
|
|
506
|
+
function normalize$k(input, existing, path, luvio, store, timestamp) {
|
|
507
507
|
return input;
|
|
508
508
|
}
|
|
509
|
-
const select$
|
|
510
|
-
const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$
|
|
509
|
+
const select$Q = function SlackBridgeEmojiOutputRepresentationSelect() {
|
|
510
|
+
const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$R();
|
|
511
511
|
return {
|
|
512
512
|
kind: 'Fragment',
|
|
513
|
-
version: VERSION$
|
|
513
|
+
version: VERSION$s,
|
|
514
514
|
private: [],
|
|
515
515
|
selections: [
|
|
516
516
|
{
|
|
@@ -542,7 +542,7 @@ const select$O = function SlackBridgeEmojiOutputRepresentationSelect() {
|
|
|
542
542
|
]
|
|
543
543
|
};
|
|
544
544
|
};
|
|
545
|
-
function equals$
|
|
545
|
+
function equals$s(existing, incoming) {
|
|
546
546
|
const existing_name = existing.name;
|
|
547
547
|
const incoming_name = incoming.name;
|
|
548
548
|
if (!(existing_name === incoming_name)) {
|
|
@@ -573,36 +573,36 @@ function equals$r(existing, incoming) {
|
|
|
573
573
|
if (!(existing_value === incoming_value
|
|
574
574
|
|| (existing_value != null &&
|
|
575
575
|
incoming_value != null &&
|
|
576
|
-
equals$
|
|
576
|
+
equals$t(existing_value, incoming_value)))) {
|
|
577
577
|
return false;
|
|
578
578
|
}
|
|
579
579
|
return true;
|
|
580
580
|
}
|
|
581
|
-
const ingest$
|
|
581
|
+
const ingest$k = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
582
582
|
if (process.env.NODE_ENV !== 'production') {
|
|
583
|
-
const validateError = validate$
|
|
583
|
+
const validateError = validate$s(input);
|
|
584
584
|
if (validateError !== null) {
|
|
585
585
|
throw validateError;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
const key = keyBuilderFromType$
|
|
589
|
-
const ttlToUse = TTL$
|
|
590
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
588
|
+
const key = keyBuilderFromType$b(luvio, input);
|
|
589
|
+
const ttlToUse = TTL$7;
|
|
590
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "SlackBridge", VERSION$s, RepresentationType$k, equals$s);
|
|
591
591
|
return createLink(key);
|
|
592
592
|
};
|
|
593
|
-
function getTypeCacheKeys$
|
|
593
|
+
function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
594
594
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
595
|
-
const rootKey = keyBuilderFromType$
|
|
595
|
+
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
596
596
|
rootKeySet.set(rootKey, {
|
|
597
597
|
namespace: keyPrefix,
|
|
598
|
-
representationName: RepresentationType$
|
|
598
|
+
representationName: RepresentationType$k,
|
|
599
599
|
mergeable: false
|
|
600
600
|
});
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
const TTL$
|
|
604
|
-
const VERSION$
|
|
605
|
-
function validate$
|
|
603
|
+
const TTL$6 = 900000;
|
|
604
|
+
const VERSION$r = "e028e881472367bb6b51398f0ceca161";
|
|
605
|
+
function validate$r(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
606
606
|
const v_error = (() => {
|
|
607
607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
608
608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -669,7 +669,7 @@ function validate$q(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
669
669
|
const path_enterpriseUser = path + '.enterpriseUser';
|
|
670
670
|
let obj_enterpriseUser_union0 = null;
|
|
671
671
|
const obj_enterpriseUser_union0_error = (() => {
|
|
672
|
-
const referencepath_enterpriseUserValidationError = validate$
|
|
672
|
+
const referencepath_enterpriseUserValidationError = validate$u(obj_enterpriseUser, path_enterpriseUser);
|
|
673
673
|
if (referencepath_enterpriseUserValidationError !== null) {
|
|
674
674
|
let message = 'Object doesn\'t match SlackBridgeEnterpriseUserInfoOutputRepresentation (at "' + path_enterpriseUser + '")\n';
|
|
675
675
|
message += referencepath_enterpriseUserValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1143,21 +1143,21 @@ function validate$q(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
1143
1143
|
})();
|
|
1144
1144
|
return v_error === undefined ? null : v_error;
|
|
1145
1145
|
}
|
|
1146
|
-
const RepresentationType$
|
|
1147
|
-
function keyBuilder$
|
|
1148
|
-
return keyPrefix + '::' + RepresentationType$
|
|
1146
|
+
const RepresentationType$j = 'SlackBridgeUserInfoOutputRepresentation';
|
|
1147
|
+
function keyBuilder$J(luvio, config) {
|
|
1148
|
+
return keyPrefix + '::' + RepresentationType$j + ':' + config.slackUserId;
|
|
1149
1149
|
}
|
|
1150
|
-
function keyBuilderFromType$
|
|
1150
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
1151
1151
|
const keyParams = {
|
|
1152
1152
|
slackUserId: object.slackUserId
|
|
1153
1153
|
};
|
|
1154
|
-
return keyBuilder$
|
|
1154
|
+
return keyBuilder$J(luvio, keyParams);
|
|
1155
1155
|
}
|
|
1156
|
-
function normalize$
|
|
1156
|
+
function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
1157
1157
|
const input_statusEmoji = input.statusEmoji;
|
|
1158
1158
|
const input_statusEmoji_id = path.fullPath + '__statusEmoji';
|
|
1159
1159
|
if (!Array.isArray(input_statusEmoji) && input_statusEmoji !== null && typeof input_statusEmoji === 'object') {
|
|
1160
|
-
input.statusEmoji = ingest$
|
|
1160
|
+
input.statusEmoji = ingest$k(input_statusEmoji, {
|
|
1161
1161
|
fullPath: input_statusEmoji_id,
|
|
1162
1162
|
propertyName: 'statusEmoji',
|
|
1163
1163
|
parent: {
|
|
@@ -1170,11 +1170,11 @@ function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
return input;
|
|
1172
1172
|
}
|
|
1173
|
-
const select$
|
|
1174
|
-
const { selections: SlackBridgeEnterpriseUserInfoOutputRepresentation__selections, opaque: SlackBridgeEnterpriseUserInfoOutputRepresentation__opaque, } = select$
|
|
1173
|
+
const select$P = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
1174
|
+
const { selections: SlackBridgeEnterpriseUserInfoOutputRepresentation__selections, opaque: SlackBridgeEnterpriseUserInfoOutputRepresentation__opaque, } = select$S();
|
|
1175
1175
|
return {
|
|
1176
1176
|
kind: 'Fragment',
|
|
1177
|
-
version: VERSION$
|
|
1177
|
+
version: VERSION$r,
|
|
1178
1178
|
private: [],
|
|
1179
1179
|
selections: [
|
|
1180
1180
|
{
|
|
@@ -1275,7 +1275,7 @@ const select$N = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1275
1275
|
name: 'statusEmoji',
|
|
1276
1276
|
kind: 'Link',
|
|
1277
1277
|
nullable: true,
|
|
1278
|
-
fragment: select$
|
|
1278
|
+
fragment: select$Q()
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
1281
|
name: 'statusMessage',
|
|
@@ -1302,7 +1302,7 @@ const select$N = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1302
1302
|
]
|
|
1303
1303
|
};
|
|
1304
1304
|
};
|
|
1305
|
-
function equals$
|
|
1305
|
+
function equals$r(existing, incoming) {
|
|
1306
1306
|
const existing_bot = existing.bot;
|
|
1307
1307
|
const incoming_bot = incoming.bot;
|
|
1308
1308
|
if (!(existing_bot === incoming_bot)) {
|
|
@@ -1383,7 +1383,7 @@ function equals$q(existing, incoming) {
|
|
|
1383
1383
|
if (!(existing_enterpriseUser === incoming_enterpriseUser
|
|
1384
1384
|
|| (existing_enterpriseUser != null &&
|
|
1385
1385
|
incoming_enterpriseUser != null &&
|
|
1386
|
-
equals$
|
|
1386
|
+
equals$u(existing_enterpriseUser, incoming_enterpriseUser)))) {
|
|
1387
1387
|
return false;
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
@@ -1501,33 +1501,33 @@ function equals$q(existing, incoming) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
return true;
|
|
1503
1503
|
}
|
|
1504
|
-
const ingest$
|
|
1504
|
+
const ingest$j = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1505
1505
|
if (process.env.NODE_ENV !== 'production') {
|
|
1506
|
-
const validateError = validate$
|
|
1506
|
+
const validateError = validate$r(input);
|
|
1507
1507
|
if (validateError !== null) {
|
|
1508
1508
|
throw validateError;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
|
-
const key = keyBuilderFromType$
|
|
1512
|
-
const ttlToUse = TTL$
|
|
1513
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
1511
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
1512
|
+
const ttlToUse = TTL$6;
|
|
1513
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SlackBridge", VERSION$r, RepresentationType$j, equals$r);
|
|
1514
1514
|
return createLink(key);
|
|
1515
1515
|
};
|
|
1516
|
-
function getTypeCacheKeys$
|
|
1516
|
+
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
1517
1517
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1518
|
-
const rootKey = keyBuilderFromType$
|
|
1518
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
1519
1519
|
rootKeySet.set(rootKey, {
|
|
1520
1520
|
namespace: keyPrefix,
|
|
1521
|
-
representationName: RepresentationType$
|
|
1521
|
+
representationName: RepresentationType$j,
|
|
1522
1522
|
mergeable: false
|
|
1523
1523
|
});
|
|
1524
1524
|
if (!Array.isArray(input.statusEmoji) && input.statusEmoji !== null && typeof input.statusEmoji === 'object') {
|
|
1525
|
-
getTypeCacheKeys$
|
|
1525
|
+
getTypeCacheKeys$k(rootKeySet, luvio, input.statusEmoji);
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
|
-
const VERSION$
|
|
1530
|
-
function validate$
|
|
1529
|
+
const VERSION$q = "90163ce3734714c2b87ec91b0ae3ff53";
|
|
1530
|
+
function validate$q(obj, path = 'SlackBridgeConversationRestrictionsOutputRepresentation') {
|
|
1531
1531
|
const v_error = (() => {
|
|
1532
1532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1533
1533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1559,10 +1559,10 @@ function validate$p(obj, path = 'SlackBridgeConversationRestrictionsOutputRepres
|
|
|
1559
1559
|
})();
|
|
1560
1560
|
return v_error === undefined ? null : v_error;
|
|
1561
1561
|
}
|
|
1562
|
-
const select$
|
|
1562
|
+
const select$O = function SlackBridgeConversationRestrictionsOutputRepresentationSelect() {
|
|
1563
1563
|
return {
|
|
1564
1564
|
kind: 'Fragment',
|
|
1565
|
-
version: VERSION$
|
|
1565
|
+
version: VERSION$q,
|
|
1566
1566
|
private: [],
|
|
1567
1567
|
selections: [
|
|
1568
1568
|
{
|
|
@@ -1578,7 +1578,7 @@ const select$M = function SlackBridgeConversationRestrictionsOutputRepresentatio
|
|
|
1578
1578
|
]
|
|
1579
1579
|
};
|
|
1580
1580
|
};
|
|
1581
|
-
function equals$
|
|
1581
|
+
function equals$q(existing, incoming) {
|
|
1582
1582
|
const existing_type = existing.type;
|
|
1583
1583
|
const incoming_type = incoming.type;
|
|
1584
1584
|
const equals_type_items = equalsArray(existing_type, incoming_type, (existing_type_item, incoming_type_item) => {
|
|
@@ -1602,8 +1602,8 @@ function equals$p(existing, incoming) {
|
|
|
1602
1602
|
return true;
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
|
-
const VERSION$
|
|
1606
|
-
function validate$
|
|
1605
|
+
const VERSION$p = "139b4530e5abfb4424ce58620c1e6934";
|
|
1606
|
+
function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresentation') {
|
|
1607
1607
|
const v_error = (() => {
|
|
1608
1608
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1609
1609
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1690,7 +1690,7 @@ function validate$o(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
|
|
|
1690
1690
|
const path_postingRestrictedTo = path + '.postingRestrictedTo';
|
|
1691
1691
|
let obj_postingRestrictedTo_union0 = null;
|
|
1692
1692
|
const obj_postingRestrictedTo_union0_error = (() => {
|
|
1693
|
-
const referencepath_postingRestrictedToValidationError = validate$
|
|
1693
|
+
const referencepath_postingRestrictedToValidationError = validate$q(obj_postingRestrictedTo, path_postingRestrictedTo);
|
|
1694
1694
|
if (referencepath_postingRestrictedToValidationError !== null) {
|
|
1695
1695
|
let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_postingRestrictedTo + '")\n';
|
|
1696
1696
|
message += referencepath_postingRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1719,7 +1719,7 @@ function validate$o(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
|
|
|
1719
1719
|
const path_threadsRestrictedTo = path + '.threadsRestrictedTo';
|
|
1720
1720
|
let obj_threadsRestrictedTo_union0 = null;
|
|
1721
1721
|
const obj_threadsRestrictedTo_union0_error = (() => {
|
|
1722
|
-
const referencepath_threadsRestrictedToValidationError = validate$
|
|
1722
|
+
const referencepath_threadsRestrictedToValidationError = validate$q(obj_threadsRestrictedTo, path_threadsRestrictedTo);
|
|
1723
1723
|
if (referencepath_threadsRestrictedToValidationError !== null) {
|
|
1724
1724
|
let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_threadsRestrictedTo + '")\n';
|
|
1725
1725
|
message += referencepath_threadsRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1747,11 +1747,11 @@ function validate$o(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
|
|
|
1747
1747
|
})();
|
|
1748
1748
|
return v_error === undefined ? null : v_error;
|
|
1749
1749
|
}
|
|
1750
|
-
const select$
|
|
1751
|
-
const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$
|
|
1750
|
+
const select$N = function SlackBridgeConversationPropertiesOutputRepresentationSelect() {
|
|
1751
|
+
const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$O();
|
|
1752
1752
|
return {
|
|
1753
1753
|
kind: 'Fragment',
|
|
1754
|
-
version: VERSION$
|
|
1754
|
+
version: VERSION$p,
|
|
1755
1755
|
private: [],
|
|
1756
1756
|
selections: [
|
|
1757
1757
|
{
|
|
@@ -1781,7 +1781,7 @@ const select$L = function SlackBridgeConversationPropertiesOutputRepresentationS
|
|
|
1781
1781
|
]
|
|
1782
1782
|
};
|
|
1783
1783
|
};
|
|
1784
|
-
function equals$
|
|
1784
|
+
function equals$p(existing, incoming) {
|
|
1785
1785
|
const existing_atChannelRestricted = existing.atChannelRestricted;
|
|
1786
1786
|
const incoming_atChannelRestricted = incoming.atChannelRestricted;
|
|
1787
1787
|
if (!(existing_atChannelRestricted === incoming_atChannelRestricted)) {
|
|
@@ -1802,7 +1802,7 @@ function equals$o(existing, incoming) {
|
|
|
1802
1802
|
if (!(existing_postingRestrictedTo === incoming_postingRestrictedTo
|
|
1803
1803
|
|| (existing_postingRestrictedTo != null &&
|
|
1804
1804
|
incoming_postingRestrictedTo != null &&
|
|
1805
|
-
equals$
|
|
1805
|
+
equals$q(existing_postingRestrictedTo, incoming_postingRestrictedTo)))) {
|
|
1806
1806
|
return false;
|
|
1807
1807
|
}
|
|
1808
1808
|
const existing_threadsRestrictedTo = existing.threadsRestrictedTo;
|
|
@@ -1810,15 +1810,15 @@ function equals$o(existing, incoming) {
|
|
|
1810
1810
|
if (!(existing_threadsRestrictedTo === incoming_threadsRestrictedTo
|
|
1811
1811
|
|| (existing_threadsRestrictedTo != null &&
|
|
1812
1812
|
incoming_threadsRestrictedTo != null &&
|
|
1813
|
-
equals$
|
|
1813
|
+
equals$q(existing_threadsRestrictedTo, incoming_threadsRestrictedTo)))) {
|
|
1814
1814
|
return false;
|
|
1815
1815
|
}
|
|
1816
1816
|
return true;
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
|
-
const TTL$
|
|
1820
|
-
const VERSION$
|
|
1821
|
-
function validate$
|
|
1819
|
+
const TTL$5 = 900000;
|
|
1820
|
+
const VERSION$o = "898110c1fd3651e7f407ba56cf0ca85a";
|
|
1821
|
+
function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
|
|
1822
1822
|
const v_error = (() => {
|
|
1823
1823
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1824
1824
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2308,7 +2308,7 @@ function validate$n(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
|
|
|
2308
2308
|
const path_properties = path + '.properties';
|
|
2309
2309
|
let obj_properties_union0 = null;
|
|
2310
2310
|
const obj_properties_union0_error = (() => {
|
|
2311
|
-
const referencepath_propertiesValidationError = validate$
|
|
2311
|
+
const referencepath_propertiesValidationError = validate$p(obj_properties, path_properties);
|
|
2312
2312
|
if (referencepath_propertiesValidationError !== null) {
|
|
2313
2313
|
let message = 'Object doesn\'t match SlackBridgeConversationPropertiesOutputRepresentation (at "' + path_properties + '")\n';
|
|
2314
2314
|
message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2426,24 +2426,24 @@ function validate$n(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
|
|
|
2426
2426
|
})();
|
|
2427
2427
|
return v_error === undefined ? null : v_error;
|
|
2428
2428
|
}
|
|
2429
|
-
const RepresentationType$
|
|
2430
|
-
function keyBuilder$
|
|
2431
|
-
return keyPrefix + '::' + RepresentationType$
|
|
2429
|
+
const RepresentationType$i = 'SlackBridgeConversationInfoOutputRepresentation';
|
|
2430
|
+
function keyBuilder$I(luvio, config) {
|
|
2431
|
+
return keyPrefix + '::' + RepresentationType$i + ':' + config.id;
|
|
2432
2432
|
}
|
|
2433
|
-
function keyBuilderFromType$
|
|
2433
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
2434
2434
|
const keyParams = {
|
|
2435
2435
|
id: object.id
|
|
2436
2436
|
};
|
|
2437
|
-
return keyBuilder$
|
|
2437
|
+
return keyBuilder$I(luvio, keyParams);
|
|
2438
2438
|
}
|
|
2439
|
-
function normalize$
|
|
2439
|
+
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
2440
2440
|
return input;
|
|
2441
2441
|
}
|
|
2442
|
-
const select$
|
|
2443
|
-
const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$
|
|
2442
|
+
const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect() {
|
|
2443
|
+
const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$N();
|
|
2444
2444
|
return {
|
|
2445
2445
|
kind: 'Fragment',
|
|
2446
|
-
version: VERSION$
|
|
2446
|
+
version: VERSION$o,
|
|
2447
2447
|
private: [],
|
|
2448
2448
|
selections: [
|
|
2449
2449
|
{
|
|
@@ -2556,7 +2556,7 @@ const select$K = function SlackBridgeConversationInfoOutputRepresentationSelect(
|
|
|
2556
2556
|
]
|
|
2557
2557
|
};
|
|
2558
2558
|
};
|
|
2559
|
-
function equals$
|
|
2559
|
+
function equals$o(existing, incoming) {
|
|
2560
2560
|
const existing_id = existing.id;
|
|
2561
2561
|
const incoming_id = incoming.id;
|
|
2562
2562
|
if (!(existing_id === incoming_id)) {
|
|
@@ -2690,7 +2690,7 @@ function equals$n(existing, incoming) {
|
|
|
2690
2690
|
if (!(existing_properties === incoming_properties
|
|
2691
2691
|
|| (existing_properties != null &&
|
|
2692
2692
|
incoming_properties != null &&
|
|
2693
|
-
equals$
|
|
2693
|
+
equals$p(existing_properties, incoming_properties)))) {
|
|
2694
2694
|
return false;
|
|
2695
2695
|
}
|
|
2696
2696
|
}
|
|
@@ -2727,30 +2727,30 @@ function equals$n(existing, incoming) {
|
|
|
2727
2727
|
}
|
|
2728
2728
|
return true;
|
|
2729
2729
|
}
|
|
2730
|
-
const ingest$
|
|
2730
|
+
const ingest$i = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2731
2731
|
if (process.env.NODE_ENV !== 'production') {
|
|
2732
|
-
const validateError = validate$
|
|
2732
|
+
const validateError = validate$o(input);
|
|
2733
2733
|
if (validateError !== null) {
|
|
2734
2734
|
throw validateError;
|
|
2735
2735
|
}
|
|
2736
2736
|
}
|
|
2737
|
-
const key = keyBuilderFromType$
|
|
2738
|
-
const ttlToUse = TTL$
|
|
2739
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
2737
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
2738
|
+
const ttlToUse = TTL$5;
|
|
2739
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$o, RepresentationType$i, equals$o);
|
|
2740
2740
|
return createLink(key);
|
|
2741
2741
|
};
|
|
2742
|
-
function getTypeCacheKeys$
|
|
2742
|
+
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
2743
2743
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2744
|
-
const rootKey = keyBuilderFromType$
|
|
2744
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
2745
2745
|
rootKeySet.set(rootKey, {
|
|
2746
2746
|
namespace: keyPrefix,
|
|
2747
|
-
representationName: RepresentationType$
|
|
2747
|
+
representationName: RepresentationType$i,
|
|
2748
2748
|
mergeable: false
|
|
2749
2749
|
});
|
|
2750
2750
|
}
|
|
2751
2751
|
|
|
2752
|
-
const VERSION$
|
|
2753
|
-
function validate$
|
|
2752
|
+
const VERSION$n = "7820a930852347bb0506c08d8b528281";
|
|
2753
|
+
function validate$n(obj, path = 'SlackBridgeReactionOutputRepresentation') {
|
|
2754
2754
|
const v_error = (() => {
|
|
2755
2755
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2756
2756
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2827,10 +2827,10 @@ function validate$m(obj, path = 'SlackBridgeReactionOutputRepresentation') {
|
|
|
2827
2827
|
})();
|
|
2828
2828
|
return v_error === undefined ? null : v_error;
|
|
2829
2829
|
}
|
|
2830
|
-
const select$
|
|
2830
|
+
const select$L = function SlackBridgeReactionOutputRepresentationSelect() {
|
|
2831
2831
|
return {
|
|
2832
2832
|
kind: 'Fragment',
|
|
2833
|
-
version: VERSION$
|
|
2833
|
+
version: VERSION$n,
|
|
2834
2834
|
private: [],
|
|
2835
2835
|
selections: [
|
|
2836
2836
|
{
|
|
@@ -2853,7 +2853,7 @@ const select$J = function SlackBridgeReactionOutputRepresentationSelect() {
|
|
|
2853
2853
|
]
|
|
2854
2854
|
};
|
|
2855
2855
|
};
|
|
2856
|
-
function equals$
|
|
2856
|
+
function equals$n(existing, incoming) {
|
|
2857
2857
|
const existing_name = existing.name;
|
|
2858
2858
|
const incoming_name = incoming.name;
|
|
2859
2859
|
if (!(existing_name === incoming_name)) {
|
|
@@ -2882,8 +2882,8 @@ function equals$m(existing, incoming) {
|
|
|
2882
2882
|
return true;
|
|
2883
2883
|
}
|
|
2884
2884
|
|
|
2885
|
-
const VERSION$
|
|
2886
|
-
function validate$
|
|
2885
|
+
const VERSION$m = "4634cd404d8392ac4ca9f0e1be03bfbd";
|
|
2886
|
+
function validate$m(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
|
|
2887
2887
|
const v_error = (() => {
|
|
2888
2888
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2889
2889
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2901,10 +2901,10 @@ function validate$l(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
|
|
|
2901
2901
|
})();
|
|
2902
2902
|
return v_error === undefined ? null : v_error;
|
|
2903
2903
|
}
|
|
2904
|
-
const select$
|
|
2904
|
+
const select$K = function SlackBridgeFileTypeOutputRepresentationSelect() {
|
|
2905
2905
|
return {
|
|
2906
2906
|
kind: 'Fragment',
|
|
2907
|
-
version: VERSION$
|
|
2907
|
+
version: VERSION$m,
|
|
2908
2908
|
private: [],
|
|
2909
2909
|
selections: [
|
|
2910
2910
|
{
|
|
@@ -2918,7 +2918,7 @@ const select$I = function SlackBridgeFileTypeOutputRepresentationSelect() {
|
|
|
2918
2918
|
]
|
|
2919
2919
|
};
|
|
2920
2920
|
};
|
|
2921
|
-
function equals$
|
|
2921
|
+
function equals$m(existing, incoming) {
|
|
2922
2922
|
const existing_extension = existing.extension;
|
|
2923
2923
|
const incoming_extension = incoming.extension;
|
|
2924
2924
|
if (!(existing_extension === incoming_extension)) {
|
|
@@ -2932,8 +2932,8 @@ function equals$l(existing, incoming) {
|
|
|
2932
2932
|
return true;
|
|
2933
2933
|
}
|
|
2934
2934
|
|
|
2935
|
-
const VERSION$
|
|
2936
|
-
function validate$
|
|
2935
|
+
const VERSION$l = "3ef7c0314c9cc37a0b6c3b0dbd6a76a5";
|
|
2936
|
+
function validate$l(obj, path = 'SlackBridgeContentVersionOutputRepresentation') {
|
|
2937
2937
|
const v_error = (() => {
|
|
2938
2938
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2939
2939
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2947,7 +2947,7 @@ function validate$k(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
|
|
|
2947
2947
|
const path_filetype = path + '.filetype';
|
|
2948
2948
|
let obj_filetype_union0 = null;
|
|
2949
2949
|
const obj_filetype_union0_error = (() => {
|
|
2950
|
-
const referencepath_filetypeValidationError = validate$
|
|
2950
|
+
const referencepath_filetypeValidationError = validate$m(obj_filetype, path_filetype);
|
|
2951
2951
|
if (referencepath_filetypeValidationError !== null) {
|
|
2952
2952
|
let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
2953
2953
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3016,11 +3016,11 @@ function validate$k(obj, path = 'SlackBridgeContentVersionOutputRepresentation')
|
|
|
3016
3016
|
})();
|
|
3017
3017
|
return v_error === undefined ? null : v_error;
|
|
3018
3018
|
}
|
|
3019
|
-
const select$
|
|
3020
|
-
const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$
|
|
3019
|
+
const select$J = function SlackBridgeContentVersionOutputRepresentationSelect() {
|
|
3020
|
+
const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$K();
|
|
3021
3021
|
return {
|
|
3022
3022
|
kind: 'Fragment',
|
|
3023
|
-
version: VERSION$
|
|
3023
|
+
version: VERSION$l,
|
|
3024
3024
|
private: [],
|
|
3025
3025
|
selections: [
|
|
3026
3026
|
{
|
|
@@ -3052,7 +3052,7 @@ const select$H = function SlackBridgeContentVersionOutputRepresentationSelect()
|
|
|
3052
3052
|
]
|
|
3053
3053
|
};
|
|
3054
3054
|
};
|
|
3055
|
-
function equals$
|
|
3055
|
+
function equals$l(existing, incoming) {
|
|
3056
3056
|
const existing_size = existing.size;
|
|
3057
3057
|
const incoming_size = incoming.size;
|
|
3058
3058
|
if (!(existing_size === incoming_size)) {
|
|
@@ -3078,7 +3078,7 @@ function equals$k(existing, incoming) {
|
|
|
3078
3078
|
if (!(existing_filetype === incoming_filetype
|
|
3079
3079
|
|| (existing_filetype != null &&
|
|
3080
3080
|
incoming_filetype != null &&
|
|
3081
|
-
equals$
|
|
3081
|
+
equals$m(existing_filetype, incoming_filetype)))) {
|
|
3082
3082
|
return false;
|
|
3083
3083
|
}
|
|
3084
3084
|
const existing_versionUrl = existing.versionUrl;
|
|
@@ -3089,15 +3089,15 @@ function equals$k(existing, incoming) {
|
|
|
3089
3089
|
return true;
|
|
3090
3090
|
}
|
|
3091
3091
|
|
|
3092
|
-
const VERSION$
|
|
3093
|
-
function validate$
|
|
3092
|
+
const VERSION$k = "effdd259bc622bee05493fc2a3ecd276";
|
|
3093
|
+
function validate$k(obj, path = 'SlackBridgeContentDocumentOutputRepresentation') {
|
|
3094
3094
|
const v_error = (() => {
|
|
3095
3095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3096
3096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3097
3097
|
}
|
|
3098
3098
|
const obj_filetype = obj.filetype;
|
|
3099
3099
|
const path_filetype = path + '.filetype';
|
|
3100
|
-
const referencepath_filetypeValidationError = validate$
|
|
3100
|
+
const referencepath_filetypeValidationError = validate$m(obj_filetype, path_filetype);
|
|
3101
3101
|
if (referencepath_filetypeValidationError !== null) {
|
|
3102
3102
|
let message = 'Object doesn\'t match SlackBridgeFileTypeOutputRepresentation (at "' + path_filetype + '")\n';
|
|
3103
3103
|
message += referencepath_filetypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3110,7 +3110,7 @@ function validate$j(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
|
|
|
3110
3110
|
}
|
|
3111
3111
|
const obj_latestPublishedVersion = obj.latestPublishedVersion;
|
|
3112
3112
|
const path_latestPublishedVersion = path + '.latestPublishedVersion';
|
|
3113
|
-
const referencepath_latestPublishedVersionValidationError = validate$
|
|
3113
|
+
const referencepath_latestPublishedVersionValidationError = validate$l(obj_latestPublishedVersion, path_latestPublishedVersion);
|
|
3114
3114
|
if (referencepath_latestPublishedVersionValidationError !== null) {
|
|
3115
3115
|
let message = 'Object doesn\'t match SlackBridgeContentVersionOutputRepresentation (at "' + path_latestPublishedVersion + '")\n';
|
|
3116
3116
|
message += referencepath_latestPublishedVersionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3129,12 +3129,12 @@ function validate$j(obj, path = 'SlackBridgeContentDocumentOutputRepresentation'
|
|
|
3129
3129
|
})();
|
|
3130
3130
|
return v_error === undefined ? null : v_error;
|
|
3131
3131
|
}
|
|
3132
|
-
const select$
|
|
3133
|
-
const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$
|
|
3134
|
-
const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$
|
|
3132
|
+
const select$I = function SlackBridgeContentDocumentOutputRepresentationSelect() {
|
|
3133
|
+
const { selections: SlackBridgeFileTypeOutputRepresentation__selections, opaque: SlackBridgeFileTypeOutputRepresentation__opaque, } = select$K();
|
|
3134
|
+
const { selections: SlackBridgeContentVersionOutputRepresentation__selections, opaque: SlackBridgeContentVersionOutputRepresentation__opaque, } = select$J();
|
|
3135
3135
|
return {
|
|
3136
3136
|
kind: 'Fragment',
|
|
3137
|
-
version: VERSION$
|
|
3137
|
+
version: VERSION$k,
|
|
3138
3138
|
private: [],
|
|
3139
3139
|
selections: [
|
|
3140
3140
|
{
|
|
@@ -3162,7 +3162,7 @@ const select$G = function SlackBridgeContentDocumentOutputRepresentationSelect()
|
|
|
3162
3162
|
]
|
|
3163
3163
|
};
|
|
3164
3164
|
};
|
|
3165
|
-
function equals$
|
|
3165
|
+
function equals$k(existing, incoming) {
|
|
3166
3166
|
const existing_size = existing.size;
|
|
3167
3167
|
const incoming_size = incoming.size;
|
|
3168
3168
|
if (!(existing_size === incoming_size)) {
|
|
@@ -3180,19 +3180,19 @@ function equals$j(existing, incoming) {
|
|
|
3180
3180
|
}
|
|
3181
3181
|
const existing_filetype = existing.filetype;
|
|
3182
3182
|
const incoming_filetype = incoming.filetype;
|
|
3183
|
-
if (!(equals$
|
|
3183
|
+
if (!(equals$m(existing_filetype, incoming_filetype))) {
|
|
3184
3184
|
return false;
|
|
3185
3185
|
}
|
|
3186
3186
|
const existing_latestPublishedVersion = existing.latestPublishedVersion;
|
|
3187
3187
|
const incoming_latestPublishedVersion = incoming.latestPublishedVersion;
|
|
3188
|
-
if (!(equals$
|
|
3188
|
+
if (!(equals$l(existing_latestPublishedVersion, incoming_latestPublishedVersion))) {
|
|
3189
3189
|
return false;
|
|
3190
3190
|
}
|
|
3191
3191
|
return true;
|
|
3192
3192
|
}
|
|
3193
3193
|
|
|
3194
|
-
const VERSION$
|
|
3195
|
-
function validate$
|
|
3194
|
+
const VERSION$j = "99be0f9126140de113f28042c5c94412";
|
|
3195
|
+
function validate$j(obj, path = 'SlackBridgeFileOutputRepresentation') {
|
|
3196
3196
|
const v_error = (() => {
|
|
3197
3197
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3198
3198
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3201,7 +3201,7 @@ function validate$i(obj, path = 'SlackBridgeFileOutputRepresentation') {
|
|
|
3201
3201
|
const path_contentDocument = path + '.contentDocument';
|
|
3202
3202
|
let obj_contentDocument_union0 = null;
|
|
3203
3203
|
const obj_contentDocument_union0_error = (() => {
|
|
3204
|
-
const referencepath_contentDocumentValidationError = validate$
|
|
3204
|
+
const referencepath_contentDocumentValidationError = validate$k(obj_contentDocument, path_contentDocument);
|
|
3205
3205
|
if (referencepath_contentDocumentValidationError !== null) {
|
|
3206
3206
|
let message = 'Object doesn\'t match SlackBridgeContentDocumentOutputRepresentation (at "' + path_contentDocument + '")\n';
|
|
3207
3207
|
message += referencepath_contentDocumentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4013,24 +4013,24 @@ function validate$i(obj, path = 'SlackBridgeFileOutputRepresentation') {
|
|
|
4013
4013
|
})();
|
|
4014
4014
|
return v_error === undefined ? null : v_error;
|
|
4015
4015
|
}
|
|
4016
|
-
const RepresentationType$
|
|
4017
|
-
function keyBuilder$
|
|
4018
|
-
return keyPrefix + '::' + RepresentationType$
|
|
4016
|
+
const RepresentationType$h = 'SlackBridgeFileOutputRepresentation';
|
|
4017
|
+
function keyBuilder$H(luvio, config) {
|
|
4018
|
+
return keyPrefix + '::' + RepresentationType$h + ':' + (config.uniqueKey === null ? '' : config.uniqueKey);
|
|
4019
4019
|
}
|
|
4020
|
-
function keyBuilderFromType$
|
|
4020
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
4021
4021
|
const keyParams = {
|
|
4022
4022
|
uniqueKey: object.uniqueKey
|
|
4023
4023
|
};
|
|
4024
|
-
return keyBuilder$
|
|
4024
|
+
return keyBuilder$H(luvio, keyParams);
|
|
4025
4025
|
}
|
|
4026
|
-
function normalize$
|
|
4026
|
+
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
4027
4027
|
return input;
|
|
4028
4028
|
}
|
|
4029
|
-
const select$
|
|
4030
|
-
const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$
|
|
4029
|
+
const select$H = function SlackBridgeFileOutputRepresentationSelect() {
|
|
4030
|
+
const { selections: SlackBridgeContentDocumentOutputRepresentation__selections, opaque: SlackBridgeContentDocumentOutputRepresentation__opaque, } = select$I();
|
|
4031
4031
|
return {
|
|
4032
4032
|
kind: 'Fragment',
|
|
4033
|
-
version: VERSION$
|
|
4033
|
+
version: VERSION$j,
|
|
4034
4034
|
private: [],
|
|
4035
4035
|
selections: [
|
|
4036
4036
|
{
|
|
@@ -4182,7 +4182,7 @@ const select$F = function SlackBridgeFileOutputRepresentationSelect() {
|
|
|
4182
4182
|
]
|
|
4183
4183
|
};
|
|
4184
4184
|
};
|
|
4185
|
-
function equals$
|
|
4185
|
+
function equals$j(existing, incoming) {
|
|
4186
4186
|
const existing_filetype = existing.filetype;
|
|
4187
4187
|
const incoming_filetype = incoming.filetype;
|
|
4188
4188
|
if (!(existing_filetype === incoming_filetype)) {
|
|
@@ -4218,7 +4218,7 @@ function equals$i(existing, incoming) {
|
|
|
4218
4218
|
if (!(existing_contentDocument === incoming_contentDocument
|
|
4219
4219
|
|| (existing_contentDocument != null &&
|
|
4220
4220
|
incoming_contentDocument != null &&
|
|
4221
|
-
equals$
|
|
4221
|
+
equals$k(existing_contentDocument, incoming_contentDocument)))) {
|
|
4222
4222
|
return false;
|
|
4223
4223
|
}
|
|
4224
4224
|
const existing_prettyType = existing.prettyType;
|
|
@@ -4368,30 +4368,30 @@ function equals$i(existing, incoming) {
|
|
|
4368
4368
|
}
|
|
4369
4369
|
return true;
|
|
4370
4370
|
}
|
|
4371
|
-
const ingest$
|
|
4371
|
+
const ingest$h = function SlackBridgeFileOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4372
4372
|
if (process.env.NODE_ENV !== 'production') {
|
|
4373
|
-
const validateError = validate$
|
|
4373
|
+
const validateError = validate$j(input);
|
|
4374
4374
|
if (validateError !== null) {
|
|
4375
4375
|
throw validateError;
|
|
4376
4376
|
}
|
|
4377
4377
|
}
|
|
4378
|
-
const key = keyBuilderFromType$
|
|
4378
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
4379
4379
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
|
|
4380
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
4380
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SlackBridge", VERSION$j, RepresentationType$h, equals$j);
|
|
4381
4381
|
return createLink(key);
|
|
4382
4382
|
};
|
|
4383
|
-
function getTypeCacheKeys$
|
|
4383
|
+
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
4384
4384
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4385
|
-
const rootKey = keyBuilderFromType$
|
|
4385
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
4386
4386
|
rootKeySet.set(rootKey, {
|
|
4387
4387
|
namespace: keyPrefix,
|
|
4388
|
-
representationName: RepresentationType$
|
|
4388
|
+
representationName: RepresentationType$h,
|
|
4389
4389
|
mergeable: false
|
|
4390
4390
|
});
|
|
4391
4391
|
}
|
|
4392
4392
|
|
|
4393
|
-
const VERSION$
|
|
4394
|
-
function validate$
|
|
4393
|
+
const VERSION$i = "57fae23c7ffb8f67218b25919d2c8e3c";
|
|
4394
|
+
function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
4395
4395
|
const v_error = (() => {
|
|
4396
4396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4397
4397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4659,7 +4659,7 @@ function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
|
4659
4659
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
4660
4660
|
const obj_reactions_item = obj_reactions[i];
|
|
4661
4661
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
4662
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
4662
|
+
const referencepath_reactions_itemValidationError = validate$n(obj_reactions_item, path_reactions_item);
|
|
4663
4663
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
4664
4664
|
let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
4665
4665
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4896,14 +4896,14 @@ function validate$h(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
|
4896
4896
|
})();
|
|
4897
4897
|
return v_error === undefined ? null : v_error;
|
|
4898
4898
|
}
|
|
4899
|
-
const RepresentationType$
|
|
4900
|
-
function normalize$
|
|
4899
|
+
const RepresentationType$g = 'SlackBridgeMessageOutputRepresentation';
|
|
4900
|
+
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
4901
4901
|
const input_files = input.files;
|
|
4902
4902
|
const input_files_id = path.fullPath + '__files';
|
|
4903
4903
|
for (let i = 0; i < input_files.length; i++) {
|
|
4904
4904
|
const input_files_item = input_files[i];
|
|
4905
4905
|
let input_files_item_id = input_files_id + '__' + i;
|
|
4906
|
-
input_files[i] = ingest$
|
|
4906
|
+
input_files[i] = ingest$h(input_files_item, {
|
|
4907
4907
|
fullPath: input_files_item_id,
|
|
4908
4908
|
propertyName: i,
|
|
4909
4909
|
parent: {
|
|
@@ -4916,11 +4916,11 @@ function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
|
4916
4916
|
}
|
|
4917
4917
|
return input;
|
|
4918
4918
|
}
|
|
4919
|
-
const select$
|
|
4920
|
-
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$
|
|
4919
|
+
const select$G = function SlackBridgeMessageOutputRepresentationSelect() {
|
|
4920
|
+
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$L();
|
|
4921
4921
|
return {
|
|
4922
4922
|
kind: 'Fragment',
|
|
4923
|
-
version: VERSION$
|
|
4923
|
+
version: VERSION$i,
|
|
4924
4924
|
private: [],
|
|
4925
4925
|
selections: [
|
|
4926
4926
|
{
|
|
@@ -4941,7 +4941,7 @@ const select$E = function SlackBridgeMessageOutputRepresentationSelect() {
|
|
|
4941
4941
|
name: 'files',
|
|
4942
4942
|
kind: 'Link',
|
|
4943
4943
|
plural: true,
|
|
4944
|
-
fragment: select$
|
|
4944
|
+
fragment: select$H()
|
|
4945
4945
|
},
|
|
4946
4946
|
{
|
|
4947
4947
|
name: 'icon',
|
|
@@ -5032,7 +5032,7 @@ const select$E = function SlackBridgeMessageOutputRepresentationSelect() {
|
|
|
5032
5032
|
]
|
|
5033
5033
|
};
|
|
5034
5034
|
};
|
|
5035
|
-
function equals$
|
|
5035
|
+
function equals$i(existing, incoming) {
|
|
5036
5036
|
const existing_isEditable = existing.isEditable;
|
|
5037
5037
|
const incoming_isEditable = incoming.isEditable;
|
|
5038
5038
|
if (!(existing_isEditable === incoming_isEditable)) {
|
|
@@ -5147,7 +5147,7 @@ function equals$h(existing, incoming) {
|
|
|
5147
5147
|
const existing_reactions = existing.reactions;
|
|
5148
5148
|
const incoming_reactions = incoming.reactions;
|
|
5149
5149
|
const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
|
|
5150
|
-
if (!(equals$
|
|
5150
|
+
if (!(equals$n(existing_reactions_item, incoming_reactions_item))) {
|
|
5151
5151
|
return false;
|
|
5152
5152
|
}
|
|
5153
5153
|
});
|
|
@@ -5214,34 +5214,34 @@ function equals$h(existing, incoming) {
|
|
|
5214
5214
|
}
|
|
5215
5215
|
return true;
|
|
5216
5216
|
}
|
|
5217
|
-
const ingest$
|
|
5217
|
+
const ingest$g = function SlackBridgeMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5218
5218
|
if (process.env.NODE_ENV !== 'production') {
|
|
5219
|
-
const validateError = validate$
|
|
5219
|
+
const validateError = validate$i(input);
|
|
5220
5220
|
if (validateError !== null) {
|
|
5221
5221
|
throw validateError;
|
|
5222
5222
|
}
|
|
5223
5223
|
}
|
|
5224
5224
|
const key = path.fullPath;
|
|
5225
5225
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
|
|
5226
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
5226
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SlackBridge", VERSION$i, RepresentationType$g, equals$i);
|
|
5227
5227
|
return createLink(key);
|
|
5228
5228
|
};
|
|
5229
|
-
function getTypeCacheKeys$
|
|
5229
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
5230
5230
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5231
5231
|
const rootKey = fullPathFactory();
|
|
5232
5232
|
rootKeySet.set(rootKey, {
|
|
5233
5233
|
namespace: keyPrefix,
|
|
5234
|
-
representationName: RepresentationType$
|
|
5234
|
+
representationName: RepresentationType$g,
|
|
5235
5235
|
mergeable: false
|
|
5236
5236
|
});
|
|
5237
5237
|
const input_files_length = input.files.length;
|
|
5238
5238
|
for (let i = 0; i < input_files_length; i++) {
|
|
5239
|
-
getTypeCacheKeys$
|
|
5239
|
+
getTypeCacheKeys$h(rootKeySet, luvio, input.files[i]);
|
|
5240
5240
|
}
|
|
5241
5241
|
}
|
|
5242
5242
|
|
|
5243
|
-
const VERSION$
|
|
5244
|
-
function validate$
|
|
5243
|
+
const VERSION$h = "d2e4c202fa58b2b21daa0de3b09fc640";
|
|
5244
|
+
function validate$h(obj, path = 'SlackBridgeConversationHistoryOutputRepresentation') {
|
|
5245
5245
|
const v_error = (() => {
|
|
5246
5246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5247
5247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5397,14 +5397,14 @@ function validate$g(obj, path = 'SlackBridgeConversationHistoryOutputRepresentat
|
|
|
5397
5397
|
})();
|
|
5398
5398
|
return v_error === undefined ? null : v_error;
|
|
5399
5399
|
}
|
|
5400
|
-
const RepresentationType$
|
|
5401
|
-
function normalize$
|
|
5400
|
+
const RepresentationType$f = 'SlackBridgeConversationHistoryOutputRepresentation';
|
|
5401
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
5402
5402
|
const input_messages = input.messages;
|
|
5403
5403
|
const input_messages_id = path.fullPath + '__messages';
|
|
5404
5404
|
for (let i = 0; i < input_messages.length; i++) {
|
|
5405
5405
|
const input_messages_item = input_messages[i];
|
|
5406
5406
|
let input_messages_item_id = input_messages_id + '__' + i;
|
|
5407
|
-
input_messages[i] = ingest$
|
|
5407
|
+
input_messages[i] = ingest$g(input_messages_item, {
|
|
5408
5408
|
fullPath: input_messages_item_id,
|
|
5409
5409
|
propertyName: i,
|
|
5410
5410
|
parent: {
|
|
@@ -5417,10 +5417,10 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
5417
5417
|
}
|
|
5418
5418
|
return input;
|
|
5419
5419
|
}
|
|
5420
|
-
const select$
|
|
5420
|
+
const select$F = function SlackBridgeConversationHistoryOutputRepresentationSelect() {
|
|
5421
5421
|
return {
|
|
5422
5422
|
kind: 'Fragment',
|
|
5423
|
-
version: VERSION$
|
|
5423
|
+
version: VERSION$h,
|
|
5424
5424
|
private: [],
|
|
5425
5425
|
selections: [
|
|
5426
5426
|
{
|
|
@@ -5441,7 +5441,7 @@ const select$D = function SlackBridgeConversationHistoryOutputRepresentationSele
|
|
|
5441
5441
|
name: 'messages',
|
|
5442
5442
|
kind: 'Link',
|
|
5443
5443
|
plural: true,
|
|
5444
|
-
fragment: select$
|
|
5444
|
+
fragment: select$G()
|
|
5445
5445
|
},
|
|
5446
5446
|
{
|
|
5447
5447
|
name: 'nextCursor',
|
|
@@ -5455,7 +5455,7 @@ const select$D = function SlackBridgeConversationHistoryOutputRepresentationSele
|
|
|
5455
5455
|
]
|
|
5456
5456
|
};
|
|
5457
5457
|
};
|
|
5458
|
-
function equals$
|
|
5458
|
+
function equals$h(existing, incoming) {
|
|
5459
5459
|
const existing_centerHasMoreLatest = existing.centerHasMoreLatest;
|
|
5460
5460
|
const incoming_centerHasMoreLatest = incoming.centerHasMoreLatest;
|
|
5461
5461
|
// if at least one of these optionals is defined
|
|
@@ -5517,35 +5517,35 @@ function equals$g(existing, incoming) {
|
|
|
5517
5517
|
}
|
|
5518
5518
|
return true;
|
|
5519
5519
|
}
|
|
5520
|
-
const ingest$
|
|
5520
|
+
const ingest$f = function SlackBridgeConversationHistoryOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5521
5521
|
if (process.env.NODE_ENV !== 'production') {
|
|
5522
|
-
const validateError = validate$
|
|
5522
|
+
const validateError = validate$h(input);
|
|
5523
5523
|
if (validateError !== null) {
|
|
5524
5524
|
throw validateError;
|
|
5525
5525
|
}
|
|
5526
5526
|
}
|
|
5527
5527
|
const key = path.fullPath;
|
|
5528
5528
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
|
|
5529
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
5529
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SlackBridge", VERSION$h, RepresentationType$f, equals$h);
|
|
5530
5530
|
return createLink(key);
|
|
5531
5531
|
};
|
|
5532
|
-
function getTypeCacheKeys$
|
|
5532
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
5533
5533
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5534
5534
|
const rootKey = fullPathFactory();
|
|
5535
5535
|
rootKeySet.set(rootKey, {
|
|
5536
5536
|
namespace: keyPrefix,
|
|
5537
|
-
representationName: RepresentationType$
|
|
5537
|
+
representationName: RepresentationType$f,
|
|
5538
5538
|
mergeable: false
|
|
5539
5539
|
});
|
|
5540
5540
|
const input_messages_length = input.messages.length;
|
|
5541
5541
|
for (let i = 0; i < input_messages_length; i++) {
|
|
5542
|
-
getTypeCacheKeys$
|
|
5542
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.messages[i], () => '');
|
|
5543
5543
|
}
|
|
5544
5544
|
}
|
|
5545
5545
|
|
|
5546
|
-
const TTL$
|
|
5547
|
-
const VERSION$
|
|
5548
|
-
function validate$
|
|
5546
|
+
const TTL$4 = 500;
|
|
5547
|
+
const VERSION$g = "1119f2c416d047eefd8303c5a2d590ae";
|
|
5548
|
+
function validate$g(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
5549
5549
|
const v_error = (() => {
|
|
5550
5550
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5551
5551
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5713,12 +5713,12 @@ function validate$f(obj, path = 'SlackBridgeConversationOutputRepresentation') {
|
|
|
5713
5713
|
})();
|
|
5714
5714
|
return v_error === undefined ? null : v_error;
|
|
5715
5715
|
}
|
|
5716
|
-
const RepresentationType$
|
|
5717
|
-
function normalize$
|
|
5716
|
+
const RepresentationType$e = 'SlackBridgeConversationOutputRepresentation';
|
|
5717
|
+
function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
5718
5718
|
const input_contextUserInfo = input.contextUserInfo;
|
|
5719
5719
|
const input_contextUserInfo_id = path.fullPath + '__contextUserInfo';
|
|
5720
5720
|
if (!Array.isArray(input_contextUserInfo) && input_contextUserInfo !== null && typeof input_contextUserInfo === 'object') {
|
|
5721
|
-
input.contextUserInfo = ingest$
|
|
5721
|
+
input.contextUserInfo = ingest$j(input_contextUserInfo, {
|
|
5722
5722
|
fullPath: input_contextUserInfo_id,
|
|
5723
5723
|
propertyName: 'contextUserInfo',
|
|
5724
5724
|
parent: {
|
|
@@ -5732,7 +5732,7 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5732
5732
|
const input_conversationInfo = input.conversationInfo;
|
|
5733
5733
|
const input_conversationInfo_id = path.fullPath + '__conversationInfo';
|
|
5734
5734
|
if (!Array.isArray(input_conversationInfo) && input_conversationInfo !== null && typeof input_conversationInfo === 'object') {
|
|
5735
|
-
input.conversationInfo = ingest$
|
|
5735
|
+
input.conversationInfo = ingest$i(input_conversationInfo, {
|
|
5736
5736
|
fullPath: input_conversationInfo_id,
|
|
5737
5737
|
propertyName: 'conversationInfo',
|
|
5738
5738
|
parent: {
|
|
@@ -5748,7 +5748,7 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5748
5748
|
for (let i = 0; i < input_conversationInfos.length; i++) {
|
|
5749
5749
|
const input_conversationInfos_item = input_conversationInfos[i];
|
|
5750
5750
|
let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
|
|
5751
|
-
input_conversationInfos[i] = ingest$
|
|
5751
|
+
input_conversationInfos[i] = ingest$i(input_conversationInfos_item, {
|
|
5752
5752
|
fullPath: input_conversationInfos_item_id,
|
|
5753
5753
|
propertyName: i,
|
|
5754
5754
|
parent: {
|
|
@@ -5764,7 +5764,7 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5764
5764
|
for (let i = 0; i < input_emojis.length; i++) {
|
|
5765
5765
|
const input_emojis_item = input_emojis[i];
|
|
5766
5766
|
let input_emojis_item_id = input_emojis_id + '__' + i;
|
|
5767
|
-
input_emojis[i] = ingest$
|
|
5767
|
+
input_emojis[i] = ingest$k(input_emojis_item, {
|
|
5768
5768
|
fullPath: input_emojis_item_id,
|
|
5769
5769
|
propertyName: i,
|
|
5770
5770
|
parent: {
|
|
@@ -5777,7 +5777,7 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5777
5777
|
}
|
|
5778
5778
|
const input_history = input.history;
|
|
5779
5779
|
const input_history_id = path.fullPath + '__history';
|
|
5780
|
-
input.history = ingest$
|
|
5780
|
+
input.history = ingest$f(input_history, {
|
|
5781
5781
|
fullPath: input_history_id,
|
|
5782
5782
|
propertyName: 'history',
|
|
5783
5783
|
parent: {
|
|
@@ -5792,7 +5792,7 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5792
5792
|
for (let i = 0; i < input_userInfos.length; i++) {
|
|
5793
5793
|
const input_userInfos_item = input_userInfos[i];
|
|
5794
5794
|
let input_userInfos_item_id = input_userInfos_id + '__' + i;
|
|
5795
|
-
input_userInfos[i] = ingest$
|
|
5795
|
+
input_userInfos[i] = ingest$j(input_userInfos_item, {
|
|
5796
5796
|
fullPath: input_userInfos_item_id,
|
|
5797
5797
|
propertyName: i,
|
|
5798
5798
|
parent: {
|
|
@@ -5805,10 +5805,10 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
|
5805
5805
|
}
|
|
5806
5806
|
return input;
|
|
5807
5807
|
}
|
|
5808
|
-
const select$
|
|
5808
|
+
const select$E = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
5809
5809
|
return {
|
|
5810
5810
|
kind: 'Fragment',
|
|
5811
|
-
version: VERSION$
|
|
5811
|
+
version: VERSION$g,
|
|
5812
5812
|
private: [],
|
|
5813
5813
|
selections: [
|
|
5814
5814
|
{
|
|
@@ -5823,30 +5823,30 @@ const select$C = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
5823
5823
|
name: 'contextUserInfo',
|
|
5824
5824
|
kind: 'Link',
|
|
5825
5825
|
nullable: true,
|
|
5826
|
-
fragment: select$
|
|
5826
|
+
fragment: select$P()
|
|
5827
5827
|
},
|
|
5828
5828
|
{
|
|
5829
5829
|
name: 'conversationInfo',
|
|
5830
5830
|
kind: 'Link',
|
|
5831
5831
|
nullable: true,
|
|
5832
|
-
fragment: select$
|
|
5832
|
+
fragment: select$M()
|
|
5833
5833
|
},
|
|
5834
5834
|
{
|
|
5835
5835
|
name: 'conversationInfos',
|
|
5836
5836
|
kind: 'Link',
|
|
5837
5837
|
plural: true,
|
|
5838
|
-
fragment: select$
|
|
5838
|
+
fragment: select$M()
|
|
5839
5839
|
},
|
|
5840
5840
|
{
|
|
5841
5841
|
name: 'emojis',
|
|
5842
5842
|
kind: 'Link',
|
|
5843
5843
|
plural: true,
|
|
5844
|
-
fragment: select$
|
|
5844
|
+
fragment: select$Q()
|
|
5845
5845
|
},
|
|
5846
5846
|
{
|
|
5847
5847
|
name: 'history',
|
|
5848
5848
|
kind: 'Link',
|
|
5849
|
-
fragment: select$
|
|
5849
|
+
fragment: select$F()
|
|
5850
5850
|
},
|
|
5851
5851
|
{
|
|
5852
5852
|
name: 'teamId',
|
|
@@ -5860,7 +5860,7 @@ const select$C = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
5860
5860
|
name: 'userInfos',
|
|
5861
5861
|
kind: 'Link',
|
|
5862
5862
|
plural: true,
|
|
5863
|
-
fragment: select$
|
|
5863
|
+
fragment: select$P()
|
|
5864
5864
|
},
|
|
5865
5865
|
{
|
|
5866
5866
|
name: 'websocketUrl',
|
|
@@ -5869,7 +5869,7 @@ const select$C = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
5869
5869
|
]
|
|
5870
5870
|
};
|
|
5871
5871
|
};
|
|
5872
|
-
function equals$
|
|
5872
|
+
function equals$g(existing, incoming) {
|
|
5873
5873
|
const existing_channelId = existing.channelId;
|
|
5874
5874
|
const incoming_channelId = incoming.channelId;
|
|
5875
5875
|
if (!(existing_channelId === incoming_channelId)) {
|
|
@@ -5952,63 +5952,63 @@ function equals$f(existing, incoming) {
|
|
|
5952
5952
|
}
|
|
5953
5953
|
return true;
|
|
5954
5954
|
}
|
|
5955
|
-
const ingest$
|
|
5955
|
+
const ingest$e = function SlackBridgeConversationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5956
5956
|
if (process.env.NODE_ENV !== 'production') {
|
|
5957
|
-
const validateError = validate$
|
|
5957
|
+
const validateError = validate$g(input);
|
|
5958
5958
|
if (validateError !== null) {
|
|
5959
5959
|
throw validateError;
|
|
5960
5960
|
}
|
|
5961
5961
|
}
|
|
5962
5962
|
const key = path.fullPath;
|
|
5963
|
-
const ttlToUse = TTL$
|
|
5964
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
5963
|
+
const ttlToUse = TTL$4;
|
|
5964
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SlackBridge", VERSION$g, RepresentationType$e, equals$g);
|
|
5965
5965
|
return createLink(key);
|
|
5966
5966
|
};
|
|
5967
|
-
function getTypeCacheKeys$
|
|
5967
|
+
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
5968
5968
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5969
5969
|
const rootKey = fullPathFactory();
|
|
5970
5970
|
rootKeySet.set(rootKey, {
|
|
5971
5971
|
namespace: keyPrefix,
|
|
5972
|
-
representationName: RepresentationType$
|
|
5972
|
+
representationName: RepresentationType$e,
|
|
5973
5973
|
mergeable: false
|
|
5974
5974
|
});
|
|
5975
5975
|
if (!Array.isArray(input.contextUserInfo) && input.contextUserInfo !== null && typeof input.contextUserInfo === 'object') {
|
|
5976
|
-
getTypeCacheKeys$
|
|
5976
|
+
getTypeCacheKeys$j(rootKeySet, luvio, input.contextUserInfo);
|
|
5977
5977
|
}
|
|
5978
5978
|
if (!Array.isArray(input.conversationInfo) && input.conversationInfo !== null && typeof input.conversationInfo === 'object') {
|
|
5979
|
-
getTypeCacheKeys$
|
|
5979
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.conversationInfo);
|
|
5980
5980
|
}
|
|
5981
5981
|
const input_conversationInfos_length = input.conversationInfos.length;
|
|
5982
5982
|
for (let i = 0; i < input_conversationInfos_length; i++) {
|
|
5983
|
-
getTypeCacheKeys$
|
|
5983
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.conversationInfos[i]);
|
|
5984
5984
|
}
|
|
5985
5985
|
const input_emojis_length = input.emojis.length;
|
|
5986
5986
|
for (let i = 0; i < input_emojis_length; i++) {
|
|
5987
|
-
getTypeCacheKeys$
|
|
5987
|
+
getTypeCacheKeys$k(rootKeySet, luvio, input.emojis[i]);
|
|
5988
5988
|
}
|
|
5989
|
-
getTypeCacheKeys$
|
|
5989
|
+
getTypeCacheKeys$f(rootKeySet, luvio, input.history, () => rootKey + "__" + "history");
|
|
5990
5990
|
const input_userInfos_length = input.userInfos.length;
|
|
5991
5991
|
for (let i = 0; i < input_userInfos_length; i++) {
|
|
5992
|
-
getTypeCacheKeys$
|
|
5992
|
+
getTypeCacheKeys$j(rootKeySet, luvio, input.userInfos[i]);
|
|
5993
5993
|
}
|
|
5994
5994
|
}
|
|
5995
5995
|
|
|
5996
|
-
function select$
|
|
5997
|
-
return select$
|
|
5996
|
+
function select$D(luvio, params) {
|
|
5997
|
+
return select$E();
|
|
5998
5998
|
}
|
|
5999
|
-
function keyBuilder$
|
|
5999
|
+
function keyBuilder$G(luvio, params) {
|
|
6000
6000
|
return keyPrefix + '::SlackBridgeConversationOutputRepresentation:(' + 'centerMessageTs:' + params.queryParams.centerMessageTs + ',' + '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 + ')';
|
|
6001
6001
|
}
|
|
6002
|
-
function getResponseCacheKeys$
|
|
6003
|
-
getTypeCacheKeys$
|
|
6002
|
+
function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
|
|
6003
|
+
getTypeCacheKeys$e(storeKeyMap, luvio, response, () => keyBuilder$G(luvio, resourceParams));
|
|
6004
6004
|
}
|
|
6005
|
-
function ingestSuccess$
|
|
6005
|
+
function ingestSuccess$n(luvio, resourceParams, response, snapshotRefresh) {
|
|
6006
6006
|
const { body } = response;
|
|
6007
|
-
const key = keyBuilder$
|
|
6008
|
-
luvio.storeIngest(key, ingest$
|
|
6007
|
+
const key = keyBuilder$G(luvio, resourceParams);
|
|
6008
|
+
luvio.storeIngest(key, ingest$e, body);
|
|
6009
6009
|
const snapshot = luvio.storeLookup({
|
|
6010
6010
|
recordId: key,
|
|
6011
|
-
node: select$
|
|
6011
|
+
node: select$D(),
|
|
6012
6012
|
variables: {},
|
|
6013
6013
|
}, snapshotRefresh);
|
|
6014
6014
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -6020,18 +6020,18 @@ function ingestSuccess$m(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
6020
6020
|
return snapshot;
|
|
6021
6021
|
}
|
|
6022
6022
|
function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
6023
|
-
const key = keyBuilder$
|
|
6023
|
+
const key = keyBuilder$G(luvio, params);
|
|
6024
6024
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
6025
6025
|
const storeMetadataParams = {
|
|
6026
|
-
ttl: TTL$
|
|
6026
|
+
ttl: TTL$4,
|
|
6027
6027
|
namespace: keyPrefix,
|
|
6028
|
-
version: VERSION$
|
|
6029
|
-
representationName: RepresentationType$
|
|
6028
|
+
version: VERSION$g,
|
|
6029
|
+
representationName: RepresentationType$e
|
|
6030
6030
|
};
|
|
6031
6031
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
6032
6032
|
return errorSnapshot;
|
|
6033
6033
|
}
|
|
6034
|
-
function createResourceRequest$
|
|
6034
|
+
function createResourceRequest$q(config) {
|
|
6035
6035
|
const headers = {};
|
|
6036
6036
|
return {
|
|
6037
6037
|
baseUri: '/services/data/v65.0',
|
|
@@ -6045,7 +6045,7 @@ function createResourceRequest$p(config) {
|
|
|
6045
6045
|
};
|
|
6046
6046
|
}
|
|
6047
6047
|
|
|
6048
|
-
const adapterName$
|
|
6048
|
+
const adapterName$q = 'getSlackConversation';
|
|
6049
6049
|
const getSlackConversation_ConfigPropertyMetadata = [
|
|
6050
6050
|
generateParamConfigMetadata('centerMessageTs', false, 1 /* QueryParameter */, 0 /* String */),
|
|
6051
6051
|
generateParamConfigMetadata('channelId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -6059,56 +6059,56 @@ const getSlackConversation_ConfigPropertyMetadata = [
|
|
|
6059
6059
|
generateParamConfigMetadata('relatedRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
6060
6060
|
generateParamConfigMetadata('teamId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
6061
6061
|
];
|
|
6062
|
-
const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
6063
|
-
const createResourceParams$
|
|
6064
|
-
function keyBuilder$
|
|
6065
|
-
const resourceParams = createResourceParams$
|
|
6066
|
-
return keyBuilder$
|
|
6062
|
+
const getSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getSlackConversation_ConfigPropertyMetadata);
|
|
6063
|
+
const createResourceParams$q = /*#__PURE__*/ createResourceParams$r(getSlackConversation_ConfigPropertyMetadata);
|
|
6064
|
+
function keyBuilder$F(luvio, config) {
|
|
6065
|
+
const resourceParams = createResourceParams$q(config);
|
|
6066
|
+
return keyBuilder$G(luvio, resourceParams);
|
|
6067
6067
|
}
|
|
6068
|
-
function typeCheckConfig$
|
|
6068
|
+
function typeCheckConfig$q(untrustedConfig) {
|
|
6069
6069
|
const config = {};
|
|
6070
|
-
typeCheckConfig$
|
|
6070
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackConversation_ConfigPropertyMetadata);
|
|
6071
6071
|
return config;
|
|
6072
6072
|
}
|
|
6073
|
-
function validateAdapterConfig$
|
|
6073
|
+
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
6074
6074
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
6075
6075
|
return null;
|
|
6076
6076
|
}
|
|
6077
6077
|
if (process.env.NODE_ENV !== 'production') {
|
|
6078
6078
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
6079
6079
|
}
|
|
6080
|
-
const config = typeCheckConfig$
|
|
6080
|
+
const config = typeCheckConfig$q(untrustedConfig);
|
|
6081
6081
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
6082
6082
|
return null;
|
|
6083
6083
|
}
|
|
6084
6084
|
return config;
|
|
6085
6085
|
}
|
|
6086
6086
|
function adapterFragment$f(luvio, config) {
|
|
6087
|
-
createResourceParams$
|
|
6088
|
-
return select$
|
|
6087
|
+
createResourceParams$q(config);
|
|
6088
|
+
return select$D();
|
|
6089
6089
|
}
|
|
6090
6090
|
function onFetchResponseSuccess$f(luvio, config, resourceParams, response) {
|
|
6091
|
-
const snapshot = ingestSuccess$
|
|
6091
|
+
const snapshot = ingestSuccess$n(luvio, resourceParams, response, {
|
|
6092
6092
|
config,
|
|
6093
|
-
resolve: () => buildNetworkSnapshot$
|
|
6093
|
+
resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
|
|
6094
6094
|
});
|
|
6095
6095
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6096
6096
|
}
|
|
6097
6097
|
function onFetchResponseError$f(luvio, config, resourceParams, response) {
|
|
6098
6098
|
const snapshot = ingestError$f(luvio, resourceParams, response, {
|
|
6099
6099
|
config,
|
|
6100
|
-
resolve: () => buildNetworkSnapshot$
|
|
6100
|
+
resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
|
|
6101
6101
|
});
|
|
6102
6102
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6103
6103
|
}
|
|
6104
|
-
function buildNetworkSnapshot$
|
|
6105
|
-
const resourceParams = createResourceParams$
|
|
6106
|
-
const request = createResourceRequest$
|
|
6104
|
+
function buildNetworkSnapshot$q(luvio, config, options) {
|
|
6105
|
+
const resourceParams = createResourceParams$q(config);
|
|
6106
|
+
const request = createResourceRequest$q(resourceParams);
|
|
6107
6107
|
return luvio.dispatchResourceRequest(request, options)
|
|
6108
6108
|
.then((response) => {
|
|
6109
6109
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$f(luvio, config, resourceParams, response), () => {
|
|
6110
6110
|
const cache = new StoreKeyMap();
|
|
6111
|
-
getResponseCacheKeys$
|
|
6111
|
+
getResponseCacheKeys$q(cache, luvio, resourceParams, response.body);
|
|
6112
6112
|
return cache;
|
|
6113
6113
|
});
|
|
6114
6114
|
}, (response) => {
|
|
@@ -6116,23 +6116,23 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
6116
6116
|
});
|
|
6117
6117
|
}
|
|
6118
6118
|
function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
|
|
6119
|
-
return buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
6119
|
+
return buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext, buildNetworkSnapshot$q, undefined, false);
|
|
6120
6120
|
}
|
|
6121
6121
|
function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
6122
6122
|
const { luvio, config } = context;
|
|
6123
6123
|
const selector = {
|
|
6124
|
-
recordId: keyBuilder$
|
|
6124
|
+
recordId: keyBuilder$F(luvio, config),
|
|
6125
6125
|
node: adapterFragment$f(luvio, config),
|
|
6126
6126
|
variables: {},
|
|
6127
6127
|
};
|
|
6128
6128
|
const cacheSnapshot = storeLookup(selector, {
|
|
6129
6129
|
config,
|
|
6130
|
-
resolve: () => buildNetworkSnapshot$
|
|
6130
|
+
resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
|
|
6131
6131
|
});
|
|
6132
6132
|
return cacheSnapshot;
|
|
6133
6133
|
}
|
|
6134
6134
|
const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getSlackConversation(untrustedConfig, requestContext) {
|
|
6135
|
-
const config = validateAdapterConfig$
|
|
6135
|
+
const config = validateAdapterConfig$q(untrustedConfig, getSlackConversation_ConfigPropertyNames);
|
|
6136
6136
|
// Invalid or incomplete config
|
|
6137
6137
|
if (config === null) {
|
|
6138
6138
|
return null;
|
|
@@ -6141,8 +6141,8 @@ const getSlackConversationAdapterFactory = (luvio) => function SlackBridge__getS
|
|
|
6141
6141
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$f);
|
|
6142
6142
|
};
|
|
6143
6143
|
|
|
6144
|
-
const VERSION$
|
|
6145
|
-
function validate$
|
|
6144
|
+
const VERSION$f = "769b5b0ed94219341e9be74c08e63aed";
|
|
6145
|
+
function validate$f(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
|
|
6146
6146
|
const v_error = (() => {
|
|
6147
6147
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6148
6148
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6165,20 +6165,20 @@ function validate$e(obj, path = 'SlackBridgePostMessageOutputRepresentation') {
|
|
|
6165
6165
|
})();
|
|
6166
6166
|
return v_error === undefined ? null : v_error;
|
|
6167
6167
|
}
|
|
6168
|
-
const RepresentationType$
|
|
6169
|
-
function keyBuilder$
|
|
6170
|
-
return keyPrefix + '::' + RepresentationType$
|
|
6168
|
+
const RepresentationType$d = 'SlackBridgePostMessageOutputRepresentation';
|
|
6169
|
+
function keyBuilder$E(luvio, config) {
|
|
6170
|
+
return keyPrefix + '::' + RepresentationType$d + ':' + config.channelId;
|
|
6171
6171
|
}
|
|
6172
|
-
function keyBuilderFromType$
|
|
6172
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
6173
6173
|
const keyParams = {
|
|
6174
6174
|
channelId: object.channelId
|
|
6175
6175
|
};
|
|
6176
|
-
return keyBuilder$
|
|
6176
|
+
return keyBuilder$E(luvio, keyParams);
|
|
6177
6177
|
}
|
|
6178
|
-
function normalize$
|
|
6178
|
+
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
6179
6179
|
const input_postedMessage = input.postedMessage;
|
|
6180
6180
|
const input_postedMessage_id = path.fullPath + '__postedMessage';
|
|
6181
|
-
input.postedMessage = ingest$
|
|
6181
|
+
input.postedMessage = ingest$g(input_postedMessage, {
|
|
6182
6182
|
fullPath: input_postedMessage_id,
|
|
6183
6183
|
propertyName: 'postedMessage',
|
|
6184
6184
|
parent: {
|
|
@@ -6190,10 +6190,10 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
|
6190
6190
|
}, luvio, store, timestamp);
|
|
6191
6191
|
return input;
|
|
6192
6192
|
}
|
|
6193
|
-
const select$
|
|
6193
|
+
const select$C = function SlackBridgePostMessageOutputRepresentationSelect() {
|
|
6194
6194
|
return {
|
|
6195
6195
|
kind: 'Fragment',
|
|
6196
|
-
version: VERSION$
|
|
6196
|
+
version: VERSION$f,
|
|
6197
6197
|
private: [],
|
|
6198
6198
|
selections: [
|
|
6199
6199
|
{
|
|
@@ -6203,7 +6203,7 @@ const select$A = function SlackBridgePostMessageOutputRepresentationSelect() {
|
|
|
6203
6203
|
{
|
|
6204
6204
|
name: 'postedMessage',
|
|
6205
6205
|
kind: 'Link',
|
|
6206
|
-
fragment: select$
|
|
6206
|
+
fragment: select$G()
|
|
6207
6207
|
},
|
|
6208
6208
|
{
|
|
6209
6209
|
name: 'timestamp',
|
|
@@ -6212,7 +6212,7 @@ const select$A = function SlackBridgePostMessageOutputRepresentationSelect() {
|
|
|
6212
6212
|
]
|
|
6213
6213
|
};
|
|
6214
6214
|
};
|
|
6215
|
-
function equals$
|
|
6215
|
+
function equals$f(existing, incoming) {
|
|
6216
6216
|
const existing_channelId = existing.channelId;
|
|
6217
6217
|
const incoming_channelId = incoming.channelId;
|
|
6218
6218
|
if (!(existing_channelId === incoming_channelId)) {
|
|
@@ -6230,7 +6230,174 @@ function equals$e(existing, incoming) {
|
|
|
6230
6230
|
}
|
|
6231
6231
|
return true;
|
|
6232
6232
|
}
|
|
6233
|
-
const ingest$
|
|
6233
|
+
const ingest$d = function SlackBridgePostMessageOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6234
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6235
|
+
const validateError = validate$f(input);
|
|
6236
|
+
if (validateError !== null) {
|
|
6237
|
+
throw validateError;
|
|
6238
|
+
}
|
|
6239
|
+
}
|
|
6240
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
6241
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 60000;
|
|
6242
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SlackBridge", VERSION$f, RepresentationType$d, equals$f);
|
|
6243
|
+
return createLink(key);
|
|
6244
|
+
};
|
|
6245
|
+
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
6246
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6247
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
6248
|
+
rootKeySet.set(rootKey, {
|
|
6249
|
+
namespace: keyPrefix,
|
|
6250
|
+
representationName: RepresentationType$d,
|
|
6251
|
+
mergeable: false
|
|
6252
|
+
});
|
|
6253
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6256
|
+
function select$B(luvio, params) {
|
|
6257
|
+
return select$C();
|
|
6258
|
+
}
|
|
6259
|
+
function getResponseCacheKeys$p(storeKeyMap, luvio, resourceParams, response) {
|
|
6260
|
+
getTypeCacheKeys$d(storeKeyMap, luvio, response);
|
|
6261
|
+
}
|
|
6262
|
+
function ingestSuccess$m(luvio, resourceParams, response) {
|
|
6263
|
+
const { body } = response;
|
|
6264
|
+
const key = keyBuilderFromType$7(luvio, body);
|
|
6265
|
+
luvio.storeIngest(key, ingest$d, body);
|
|
6266
|
+
const snapshot = luvio.storeLookup({
|
|
6267
|
+
recordId: key,
|
|
6268
|
+
node: select$B(),
|
|
6269
|
+
variables: {},
|
|
6270
|
+
});
|
|
6271
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6272
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
6273
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
6274
|
+
}
|
|
6275
|
+
}
|
|
6276
|
+
deepFreeze(snapshot.data);
|
|
6277
|
+
return snapshot;
|
|
6278
|
+
}
|
|
6279
|
+
function createResourceRequest$p(config) {
|
|
6280
|
+
const headers = {};
|
|
6281
|
+
return {
|
|
6282
|
+
baseUri: '/services/data/v65.0',
|
|
6283
|
+
basePath: '/connect/slackbridge/conversation/messages',
|
|
6284
|
+
method: 'post',
|
|
6285
|
+
body: config.body,
|
|
6286
|
+
urlParams: {},
|
|
6287
|
+
queryParams: {},
|
|
6288
|
+
headers,
|
|
6289
|
+
priority: 'normal',
|
|
6290
|
+
};
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6293
|
+
const adapterName$p = 'postSlackConversation';
|
|
6294
|
+
const postSlackConversation_ConfigPropertyMetadata = [
|
|
6295
|
+
generateParamConfigMetadata('channelId', true, 2 /* Body */, 0 /* String */),
|
|
6296
|
+
generateParamConfigMetadata('linkNames', false, 2 /* Body */, 1 /* Boolean */),
|
|
6297
|
+
generateParamConfigMetadata('replyBroadcast', false, 2 /* Body */, 1 /* Boolean */),
|
|
6298
|
+
generateParamConfigMetadata('teamId', true, 2 /* Body */, 0 /* String */),
|
|
6299
|
+
generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
|
|
6300
|
+
generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
|
|
6301
|
+
];
|
|
6302
|
+
const postSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, postSlackConversation_ConfigPropertyMetadata);
|
|
6303
|
+
const createResourceParams$p = /*#__PURE__*/ createResourceParams$r(postSlackConversation_ConfigPropertyMetadata);
|
|
6304
|
+
function typeCheckConfig$p(untrustedConfig) {
|
|
6305
|
+
const config = {};
|
|
6306
|
+
typeCheckConfig$r(untrustedConfig, config, postSlackConversation_ConfigPropertyMetadata);
|
|
6307
|
+
return config;
|
|
6308
|
+
}
|
|
6309
|
+
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
6310
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
6311
|
+
return null;
|
|
6312
|
+
}
|
|
6313
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6314
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
6315
|
+
}
|
|
6316
|
+
const config = typeCheckConfig$p(untrustedConfig);
|
|
6317
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
6318
|
+
return null;
|
|
6319
|
+
}
|
|
6320
|
+
return config;
|
|
6321
|
+
}
|
|
6322
|
+
function buildNetworkSnapshot$p(luvio, config, options) {
|
|
6323
|
+
const resourceParams = createResourceParams$p(config);
|
|
6324
|
+
const request = createResourceRequest$p(resourceParams);
|
|
6325
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
6326
|
+
.then((response) => {
|
|
6327
|
+
return luvio.handleSuccessResponse(() => {
|
|
6328
|
+
const snapshot = ingestSuccess$m(luvio, resourceParams, response);
|
|
6329
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
6330
|
+
}, () => {
|
|
6331
|
+
const cache = new StoreKeyMap();
|
|
6332
|
+
getResponseCacheKeys$p(cache, luvio, resourceParams, response.body);
|
|
6333
|
+
return cache;
|
|
6334
|
+
});
|
|
6335
|
+
}, (response) => {
|
|
6336
|
+
deepFreeze(response);
|
|
6337
|
+
throw response;
|
|
6338
|
+
});
|
|
6339
|
+
}
|
|
6340
|
+
const postSlackConversationAdapterFactory = (luvio) => {
|
|
6341
|
+
return function postSlackConversation(untrustedConfig) {
|
|
6342
|
+
const config = validateAdapterConfig$p(untrustedConfig, postSlackConversation_ConfigPropertyNames);
|
|
6343
|
+
// Invalid or incomplete config
|
|
6344
|
+
if (config === null) {
|
|
6345
|
+
throw new Error('Invalid config for "postSlackConversation"');
|
|
6346
|
+
}
|
|
6347
|
+
return buildNetworkSnapshot$p(luvio, config);
|
|
6348
|
+
};
|
|
6349
|
+
};
|
|
6350
|
+
|
|
6351
|
+
const TTL$3 = 500;
|
|
6352
|
+
const VERSION$e = "ab23daeef684a6ee9d5922f63d4a673c";
|
|
6353
|
+
function validate$e(obj, path = 'SlackBridgeConversationOpenOutputRepresentation') {
|
|
6354
|
+
const v_error = (() => {
|
|
6355
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6356
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6357
|
+
}
|
|
6358
|
+
const obj_channelId = obj.channelId;
|
|
6359
|
+
const path_channelId = path + '.channelId';
|
|
6360
|
+
if (typeof obj_channelId !== 'string') {
|
|
6361
|
+
return new TypeError('Expected "string" but received "' + typeof obj_channelId + '" (at "' + path_channelId + '")');
|
|
6362
|
+
}
|
|
6363
|
+
})();
|
|
6364
|
+
return v_error === undefined ? null : v_error;
|
|
6365
|
+
}
|
|
6366
|
+
const RepresentationType$c = 'SlackBridgeConversationOpenOutputRepresentation';
|
|
6367
|
+
function keyBuilder$D(luvio, config) {
|
|
6368
|
+
return keyPrefix + '::' + RepresentationType$c + ':' + config.channelId;
|
|
6369
|
+
}
|
|
6370
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
6371
|
+
const keyParams = {
|
|
6372
|
+
channelId: object.channelId
|
|
6373
|
+
};
|
|
6374
|
+
return keyBuilder$D(luvio, keyParams);
|
|
6375
|
+
}
|
|
6376
|
+
function normalize$c(input, existing, path, luvio, store, timestamp) {
|
|
6377
|
+
return input;
|
|
6378
|
+
}
|
|
6379
|
+
const select$A = function SlackBridgeConversationOpenOutputRepresentationSelect() {
|
|
6380
|
+
return {
|
|
6381
|
+
kind: 'Fragment',
|
|
6382
|
+
version: VERSION$e,
|
|
6383
|
+
private: [],
|
|
6384
|
+
selections: [
|
|
6385
|
+
{
|
|
6386
|
+
name: 'channelId',
|
|
6387
|
+
kind: 'Scalar'
|
|
6388
|
+
}
|
|
6389
|
+
]
|
|
6390
|
+
};
|
|
6391
|
+
};
|
|
6392
|
+
function equals$e(existing, incoming) {
|
|
6393
|
+
const existing_channelId = existing.channelId;
|
|
6394
|
+
const incoming_channelId = incoming.channelId;
|
|
6395
|
+
if (!(existing_channelId === incoming_channelId)) {
|
|
6396
|
+
return false;
|
|
6397
|
+
}
|
|
6398
|
+
return true;
|
|
6399
|
+
}
|
|
6400
|
+
const ingest$c = function SlackBridgeConversationOpenOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6234
6401
|
if (process.env.NODE_ENV !== 'production') {
|
|
6235
6402
|
const validateError = validate$e(input);
|
|
6236
6403
|
if (validateError !== null) {
|
|
@@ -6238,7 +6405,7 @@ const ingest$c = function SlackBridgePostMessageOutputRepresentationIngest(input
|
|
|
6238
6405
|
}
|
|
6239
6406
|
}
|
|
6240
6407
|
const key = keyBuilderFromType$6(luvio, input);
|
|
6241
|
-
const ttlToUse =
|
|
6408
|
+
const ttlToUse = TTL$3;
|
|
6242
6409
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SlackBridge", VERSION$e, RepresentationType$c, equals$e);
|
|
6243
6410
|
return createLink(key);
|
|
6244
6411
|
};
|
|
@@ -6250,7 +6417,6 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6250
6417
|
representationName: RepresentationType$c,
|
|
6251
6418
|
mergeable: false
|
|
6252
6419
|
});
|
|
6253
|
-
getTypeCacheKeys$f(rootKeySet, luvio, input.postedMessage, () => rootKey + "__" + "postedMessage");
|
|
6254
6420
|
}
|
|
6255
6421
|
|
|
6256
6422
|
function select$z(luvio, params) {
|
|
@@ -6280,7 +6446,7 @@ function createResourceRequest$o(config) {
|
|
|
6280
6446
|
const headers = {};
|
|
6281
6447
|
return {
|
|
6282
6448
|
baseUri: '/services/data/v65.0',
|
|
6283
|
-
basePath: '/connect/slackbridge/conversation/
|
|
6449
|
+
basePath: '/connect/slackbridge/conversation/open',
|
|
6284
6450
|
method: 'post',
|
|
6285
6451
|
body: config.body,
|
|
6286
6452
|
urlParams: {},
|
|
@@ -6290,20 +6456,18 @@ function createResourceRequest$o(config) {
|
|
|
6290
6456
|
};
|
|
6291
6457
|
}
|
|
6292
6458
|
|
|
6293
|
-
const adapterName$o = '
|
|
6294
|
-
const
|
|
6295
|
-
generateParamConfigMetadata('
|
|
6296
|
-
generateParamConfigMetadata('
|
|
6297
|
-
generateParamConfigMetadata('
|
|
6298
|
-
generateParamConfigMetadata('
|
|
6299
|
-
generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
|
|
6300
|
-
generateParamConfigMetadata('threadTs', false, 2 /* Body */, 0 /* String */),
|
|
6459
|
+
const adapterName$o = 'openSlackConversation';
|
|
6460
|
+
const openSlackConversation_ConfigPropertyMetadata = [
|
|
6461
|
+
generateParamConfigMetadata('channel', true, 2 /* Body */, 0 /* String */),
|
|
6462
|
+
generateParamConfigMetadata('users', true, 2 /* Body */, 0 /* String */, true),
|
|
6463
|
+
generateParamConfigMetadata('preventCreation', true, 2 /* Body */, 1 /* Boolean */),
|
|
6464
|
+
generateParamConfigMetadata('returnIm', true, 2 /* Body */, 1 /* Boolean */),
|
|
6301
6465
|
];
|
|
6302
|
-
const
|
|
6303
|
-
const createResourceParams$o = /*#__PURE__*/ createResourceParams$
|
|
6466
|
+
const openSlackConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, openSlackConversation_ConfigPropertyMetadata);
|
|
6467
|
+
const createResourceParams$o = /*#__PURE__*/ createResourceParams$r(openSlackConversation_ConfigPropertyMetadata);
|
|
6304
6468
|
function typeCheckConfig$o(untrustedConfig) {
|
|
6305
6469
|
const config = {};
|
|
6306
|
-
typeCheckConfig$
|
|
6470
|
+
typeCheckConfig$r(untrustedConfig, config, openSlackConversation_ConfigPropertyMetadata);
|
|
6307
6471
|
return config;
|
|
6308
6472
|
}
|
|
6309
6473
|
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
@@ -6337,27 +6501,27 @@ function buildNetworkSnapshot$o(luvio, config, options) {
|
|
|
6337
6501
|
throw response;
|
|
6338
6502
|
});
|
|
6339
6503
|
}
|
|
6340
|
-
const
|
|
6341
|
-
return function
|
|
6342
|
-
const config = validateAdapterConfig$o(untrustedConfig,
|
|
6504
|
+
const openSlackConversationAdapterFactory = (luvio) => {
|
|
6505
|
+
return function openSlackConversation(untrustedConfig) {
|
|
6506
|
+
const config = validateAdapterConfig$o(untrustedConfig, openSlackConversation_ConfigPropertyNames);
|
|
6343
6507
|
// Invalid or incomplete config
|
|
6344
6508
|
if (config === null) {
|
|
6345
|
-
throw new Error('Invalid config for "
|
|
6509
|
+
throw new Error('Invalid config for "openSlackConversation"');
|
|
6346
6510
|
}
|
|
6347
6511
|
return buildNetworkSnapshot$o(luvio, config);
|
|
6348
6512
|
};
|
|
6349
6513
|
};
|
|
6350
6514
|
|
|
6351
6515
|
function select$y(luvio, params) {
|
|
6352
|
-
return select$
|
|
6516
|
+
return select$H();
|
|
6353
6517
|
}
|
|
6354
6518
|
function getResponseCacheKeys$n(storeKeyMap, luvio, resourceParams, response) {
|
|
6355
|
-
getTypeCacheKeys$
|
|
6519
|
+
getTypeCacheKeys$h(storeKeyMap, luvio, response);
|
|
6356
6520
|
}
|
|
6357
6521
|
function ingestSuccess$k(luvio, resourceParams, response) {
|
|
6358
6522
|
const { body } = response;
|
|
6359
|
-
const key = keyBuilderFromType$
|
|
6360
|
-
luvio.storeIngest(key, ingest$
|
|
6523
|
+
const key = keyBuilderFromType$8(luvio, body);
|
|
6524
|
+
luvio.storeIngest(key, ingest$h, body);
|
|
6361
6525
|
const snapshot = luvio.storeLookup({
|
|
6362
6526
|
recordId: key,
|
|
6363
6527
|
node: select$y(),
|
|
@@ -6397,10 +6561,10 @@ const postSlackFile_ConfigPropertyMetadata = [
|
|
|
6397
6561
|
generateParamConfigMetadata('title', true, 2 /* Body */, 0 /* String */),
|
|
6398
6562
|
];
|
|
6399
6563
|
const postSlackFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, postSlackFile_ConfigPropertyMetadata);
|
|
6400
|
-
const createResourceParams$n = /*#__PURE__*/ createResourceParams$
|
|
6564
|
+
const createResourceParams$n = /*#__PURE__*/ createResourceParams$r(postSlackFile_ConfigPropertyMetadata);
|
|
6401
6565
|
function typeCheckConfig$n(untrustedConfig) {
|
|
6402
6566
|
const config = {};
|
|
6403
|
-
typeCheckConfig$
|
|
6567
|
+
typeCheckConfig$r(untrustedConfig, config, postSlackFile_ConfigPropertyMetadata);
|
|
6404
6568
|
return config;
|
|
6405
6569
|
}
|
|
6406
6570
|
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
@@ -6482,7 +6646,7 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
6482
6646
|
function normalize$b(input, existing, path, luvio, store, timestamp) {
|
|
6483
6647
|
const input_conversationInfo = input.conversationInfo;
|
|
6484
6648
|
const input_conversationInfo_id = path.fullPath + '__conversationInfo';
|
|
6485
|
-
input.conversationInfo = ingest$
|
|
6649
|
+
input.conversationInfo = ingest$i(input_conversationInfo, {
|
|
6486
6650
|
fullPath: input_conversationInfo_id,
|
|
6487
6651
|
propertyName: 'conversationInfo',
|
|
6488
6652
|
parent: {
|
|
@@ -6503,7 +6667,7 @@ const select$x = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
|
|
|
6503
6667
|
{
|
|
6504
6668
|
name: 'conversationInfo',
|
|
6505
6669
|
kind: 'Link',
|
|
6506
|
-
fragment: select$
|
|
6670
|
+
fragment: select$M()
|
|
6507
6671
|
},
|
|
6508
6672
|
{
|
|
6509
6673
|
name: 'relatedRecordId',
|
|
@@ -6554,7 +6718,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6554
6718
|
representationName: RepresentationType$b,
|
|
6555
6719
|
mergeable: false
|
|
6556
6720
|
});
|
|
6557
|
-
getTypeCacheKeys$
|
|
6721
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.conversationInfo);
|
|
6558
6722
|
}
|
|
6559
6723
|
|
|
6560
6724
|
function select$w(luvio, params) {
|
|
@@ -6600,10 +6764,10 @@ const postSlackRecordChannelInfos_ConfigPropertyMetadata = [
|
|
|
6600
6764
|
generateParamConfigMetadata('relatedRecordId', true, 2 /* Body */, 0 /* String */),
|
|
6601
6765
|
];
|
|
6602
6766
|
const postSlackRecordChannelInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, postSlackRecordChannelInfos_ConfigPropertyMetadata);
|
|
6603
|
-
const createResourceParams$m = /*#__PURE__*/ createResourceParams$
|
|
6767
|
+
const createResourceParams$m = /*#__PURE__*/ createResourceParams$r(postSlackRecordChannelInfos_ConfigPropertyMetadata);
|
|
6604
6768
|
function typeCheckConfig$m(untrustedConfig) {
|
|
6605
6769
|
const config = {};
|
|
6606
|
-
typeCheckConfig$
|
|
6770
|
+
typeCheckConfig$r(untrustedConfig, config, postSlackRecordChannelInfos_ConfigPropertyMetadata);
|
|
6607
6771
|
const untrustedConfig_conversationInfo = untrustedConfig.conversationInfo;
|
|
6608
6772
|
if (untrustedIsObject(untrustedConfig_conversationInfo)) {
|
|
6609
6773
|
const untrustedConfig_conversationInfo_object = {};
|
|
@@ -6712,14 +6876,14 @@ const getSlackRecordChannelInfo_ConfigPropertyMetadata = [
|
|
|
6712
6876
|
generateParamConfigMetadata('relatedRecordId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
6713
6877
|
];
|
|
6714
6878
|
const getSlackRecordChannelInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getSlackRecordChannelInfo_ConfigPropertyMetadata);
|
|
6715
|
-
const createResourceParams$l = /*#__PURE__*/ createResourceParams$
|
|
6879
|
+
const createResourceParams$l = /*#__PURE__*/ createResourceParams$r(getSlackRecordChannelInfo_ConfigPropertyMetadata);
|
|
6716
6880
|
function keyBuilder$A(luvio, config) {
|
|
6717
6881
|
const resourceParams = createResourceParams$l(config);
|
|
6718
6882
|
return keyBuilder$B(luvio, resourceParams);
|
|
6719
6883
|
}
|
|
6720
6884
|
function typeCheckConfig$l(untrustedConfig) {
|
|
6721
6885
|
const config = {};
|
|
6722
|
-
typeCheckConfig$
|
|
6886
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackRecordChannelInfo_ConfigPropertyMetadata);
|
|
6723
6887
|
return config;
|
|
6724
6888
|
}
|
|
6725
6889
|
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
@@ -6839,7 +7003,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
6839
7003
|
for (let i = 0; i < input_conversations.length; i++) {
|
|
6840
7004
|
const input_conversations_item = input_conversations[i];
|
|
6841
7005
|
let input_conversations_item_id = input_conversations_id + '__' + i;
|
|
6842
|
-
input_conversations[i] = ingest$
|
|
7006
|
+
input_conversations[i] = ingest$i(input_conversations_item, {
|
|
6843
7007
|
fullPath: input_conversations_item_id,
|
|
6844
7008
|
propertyName: i,
|
|
6845
7009
|
parent: {
|
|
@@ -6855,7 +7019,7 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
|
|
|
6855
7019
|
for (let i = 0; i < input_messages.length; i++) {
|
|
6856
7020
|
const input_messages_item = input_messages[i];
|
|
6857
7021
|
let input_messages_item_id = input_messages_id + '__' + i;
|
|
6858
|
-
input_messages[i] = ingest$
|
|
7022
|
+
input_messages[i] = ingest$g(input_messages_item, {
|
|
6859
7023
|
fullPath: input_messages_item_id,
|
|
6860
7024
|
propertyName: i,
|
|
6861
7025
|
parent: {
|
|
@@ -6878,13 +7042,13 @@ const select$u = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
|
|
|
6878
7042
|
name: 'conversations',
|
|
6879
7043
|
kind: 'Link',
|
|
6880
7044
|
plural: true,
|
|
6881
|
-
fragment: select$
|
|
7045
|
+
fragment: select$M()
|
|
6882
7046
|
},
|
|
6883
7047
|
{
|
|
6884
7048
|
name: 'messages',
|
|
6885
7049
|
kind: 'Link',
|
|
6886
7050
|
plural: true,
|
|
6887
|
-
fragment: select$
|
|
7051
|
+
fragment: select$G()
|
|
6888
7052
|
},
|
|
6889
7053
|
{
|
|
6890
7054
|
name: 'teamId',
|
|
@@ -6943,11 +7107,11 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6943
7107
|
});
|
|
6944
7108
|
const input_conversations_length = input.conversations.length;
|
|
6945
7109
|
for (let i = 0; i < input_conversations_length; i++) {
|
|
6946
|
-
getTypeCacheKeys$
|
|
7110
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.conversations[i]);
|
|
6947
7111
|
}
|
|
6948
7112
|
const input_messages_length = input.messages.length;
|
|
6949
7113
|
for (let i = 0; i < input_messages_length; i++) {
|
|
6950
|
-
getTypeCacheKeys$
|
|
7114
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.messages[i], () => '');
|
|
6951
7115
|
}
|
|
6952
7116
|
}
|
|
6953
7117
|
|
|
@@ -7008,14 +7172,14 @@ const getRelatedThreads_ConfigPropertyMetadata = [
|
|
|
7008
7172
|
generateParamConfigMetadata('entityId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7009
7173
|
];
|
|
7010
7174
|
const getRelatedThreads_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getRelatedThreads_ConfigPropertyMetadata);
|
|
7011
|
-
const createResourceParams$k = /*#__PURE__*/ createResourceParams$
|
|
7175
|
+
const createResourceParams$k = /*#__PURE__*/ createResourceParams$r(getRelatedThreads_ConfigPropertyMetadata);
|
|
7012
7176
|
function keyBuilder$y(luvio, config) {
|
|
7013
7177
|
const resourceParams = createResourceParams$k(config);
|
|
7014
7178
|
return keyBuilder$z(luvio, resourceParams);
|
|
7015
7179
|
}
|
|
7016
7180
|
function typeCheckConfig$k(untrustedConfig) {
|
|
7017
7181
|
const config = {};
|
|
7018
|
-
typeCheckConfig$
|
|
7182
|
+
typeCheckConfig$r(untrustedConfig, config, getRelatedThreads_ConfigPropertyMetadata);
|
|
7019
7183
|
return config;
|
|
7020
7184
|
}
|
|
7021
7185
|
function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
|
|
@@ -7328,7 +7492,7 @@ function createResourceRequest$j(config) {
|
|
|
7328
7492
|
const adapterName$j = 'getSlackDisplayLogin';
|
|
7329
7493
|
const getSlackDisplayLogin_ConfigPropertyMetadata = [];
|
|
7330
7494
|
const getSlackDisplayLogin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSlackDisplayLogin_ConfigPropertyMetadata);
|
|
7331
|
-
const createResourceParams$j = /*#__PURE__*/ createResourceParams$
|
|
7495
|
+
const createResourceParams$j = /*#__PURE__*/ createResourceParams$r(getSlackDisplayLogin_ConfigPropertyMetadata);
|
|
7332
7496
|
function keyBuilder$w(luvio, config) {
|
|
7333
7497
|
createResourceParams$j(config);
|
|
7334
7498
|
return keyBuilder$x();
|
|
@@ -7536,10 +7700,10 @@ const postSlackConversationMark_ConfigPropertyMetadata = [
|
|
|
7536
7700
|
generateParamConfigMetadata('messageTs', true, 1 /* QueryParameter */, 0 /* String */),
|
|
7537
7701
|
];
|
|
7538
7702
|
const postSlackConversationMark_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, postSlackConversationMark_ConfigPropertyMetadata);
|
|
7539
|
-
const createResourceParams$i = /*#__PURE__*/ createResourceParams$
|
|
7703
|
+
const createResourceParams$i = /*#__PURE__*/ createResourceParams$r(postSlackConversationMark_ConfigPropertyMetadata);
|
|
7540
7704
|
function typeCheckConfig$i(untrustedConfig) {
|
|
7541
7705
|
const config = {};
|
|
7542
|
-
typeCheckConfig$
|
|
7706
|
+
typeCheckConfig$r(untrustedConfig, config, postSlackConversationMark_ConfigPropertyMetadata);
|
|
7543
7707
|
return config;
|
|
7544
7708
|
}
|
|
7545
7709
|
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
@@ -7770,14 +7934,14 @@ const getSlackConversationMembers_ConfigPropertyMetadata = [
|
|
|
7770
7934
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7771
7935
|
];
|
|
7772
7936
|
const getSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSlackConversationMembers_ConfigPropertyMetadata);
|
|
7773
|
-
const createResourceParams$h = /*#__PURE__*/ createResourceParams$
|
|
7937
|
+
const createResourceParams$h = /*#__PURE__*/ createResourceParams$r(getSlackConversationMembers_ConfigPropertyMetadata);
|
|
7774
7938
|
function keyBuilder$s(luvio, config) {
|
|
7775
7939
|
const resourceParams = createResourceParams$h(config);
|
|
7776
7940
|
return keyBuilder$t(luvio, resourceParams);
|
|
7777
7941
|
}
|
|
7778
7942
|
function typeCheckConfig$h(untrustedConfig) {
|
|
7779
7943
|
const config = {};
|
|
7780
|
-
typeCheckConfig$
|
|
7944
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackConversationMembers_ConfigPropertyMetadata);
|
|
7781
7945
|
return config;
|
|
7782
7946
|
}
|
|
7783
7947
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -7895,10 +8059,10 @@ const postSlackConversationMembers_ConfigPropertyMetadata = [
|
|
|
7895
8059
|
generateParamConfigMetadata('slackUserIds', true, 2 /* Body */, 0 /* String */, true),
|
|
7896
8060
|
];
|
|
7897
8061
|
const postSlackConversationMembers_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, postSlackConversationMembers_ConfigPropertyMetadata);
|
|
7898
|
-
const createResourceParams$g = /*#__PURE__*/ createResourceParams$
|
|
8062
|
+
const createResourceParams$g = /*#__PURE__*/ createResourceParams$r(postSlackConversationMembers_ConfigPropertyMetadata);
|
|
7899
8063
|
function typeCheckConfig$g(untrustedConfig) {
|
|
7900
8064
|
const config = {};
|
|
7901
|
-
typeCheckConfig$
|
|
8065
|
+
typeCheckConfig$r(untrustedConfig, config, postSlackConversationMembers_ConfigPropertyMetadata);
|
|
7902
8066
|
return config;
|
|
7903
8067
|
}
|
|
7904
8068
|
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
@@ -8065,10 +8229,10 @@ const deleteSlackConversationMember_ConfigPropertyMetadata = [
|
|
|
8065
8229
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
8066
8230
|
];
|
|
8067
8231
|
const deleteSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, deleteSlackConversationMember_ConfigPropertyMetadata);
|
|
8068
|
-
const createResourceParams$f = /*#__PURE__*/ createResourceParams$
|
|
8232
|
+
const createResourceParams$f = /*#__PURE__*/ createResourceParams$r(deleteSlackConversationMember_ConfigPropertyMetadata);
|
|
8069
8233
|
function typeCheckConfig$f(untrustedConfig) {
|
|
8070
8234
|
const config = {};
|
|
8071
|
-
typeCheckConfig$
|
|
8235
|
+
typeCheckConfig$r(untrustedConfig, config, deleteSlackConversationMember_ConfigPropertyMetadata);
|
|
8072
8236
|
return config;
|
|
8073
8237
|
}
|
|
8074
8238
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -8168,14 +8332,14 @@ const getSlackConversationMember_ConfigPropertyMetadata = [
|
|
|
8168
8332
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
8169
8333
|
];
|
|
8170
8334
|
const getSlackConversationMember_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSlackConversationMember_ConfigPropertyMetadata);
|
|
8171
|
-
const createResourceParams$e = /*#__PURE__*/ createResourceParams$
|
|
8335
|
+
const createResourceParams$e = /*#__PURE__*/ createResourceParams$r(getSlackConversationMember_ConfigPropertyMetadata);
|
|
8172
8336
|
function keyBuilder$o(luvio, config) {
|
|
8173
8337
|
const resourceParams = createResourceParams$e(config);
|
|
8174
8338
|
return keyBuilder$p(luvio, resourceParams);
|
|
8175
8339
|
}
|
|
8176
8340
|
function typeCheckConfig$e(untrustedConfig) {
|
|
8177
8341
|
const config = {};
|
|
8178
|
-
typeCheckConfig$
|
|
8342
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackConversationMember_ConfigPropertyMetadata);
|
|
8179
8343
|
return config;
|
|
8180
8344
|
}
|
|
8181
8345
|
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
@@ -8385,10 +8549,10 @@ const deleteSlackMessage_ConfigPropertyMetadata = [
|
|
|
8385
8549
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
8386
8550
|
];
|
|
8387
8551
|
const deleteSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteSlackMessage_ConfigPropertyMetadata);
|
|
8388
|
-
const createResourceParams$d = /*#__PURE__*/ createResourceParams$
|
|
8552
|
+
const createResourceParams$d = /*#__PURE__*/ createResourceParams$r(deleteSlackMessage_ConfigPropertyMetadata);
|
|
8389
8553
|
function typeCheckConfig$d(untrustedConfig) {
|
|
8390
8554
|
const config = {};
|
|
8391
|
-
typeCheckConfig$
|
|
8555
|
+
typeCheckConfig$r(untrustedConfig, config, deleteSlackMessage_ConfigPropertyMetadata);
|
|
8392
8556
|
return config;
|
|
8393
8557
|
}
|
|
8394
8558
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -8488,14 +8652,14 @@ const getSlackMessage_ConfigPropertyMetadata = [
|
|
|
8488
8652
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
8489
8653
|
];
|
|
8490
8654
|
const getSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSlackMessage_ConfigPropertyMetadata);
|
|
8491
|
-
const createResourceParams$c = /*#__PURE__*/ createResourceParams$
|
|
8655
|
+
const createResourceParams$c = /*#__PURE__*/ createResourceParams$r(getSlackMessage_ConfigPropertyMetadata);
|
|
8492
8656
|
function keyBuilder$k(luvio, config) {
|
|
8493
8657
|
const resourceParams = createResourceParams$c(config);
|
|
8494
8658
|
return keyBuilder$l(luvio, resourceParams);
|
|
8495
8659
|
}
|
|
8496
8660
|
function typeCheckConfig$c(untrustedConfig) {
|
|
8497
8661
|
const config = {};
|
|
8498
|
-
typeCheckConfig$
|
|
8662
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackMessage_ConfigPropertyMetadata);
|
|
8499
8663
|
return config;
|
|
8500
8664
|
}
|
|
8501
8665
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -8614,10 +8778,10 @@ const patchSlackMessage_ConfigPropertyMetadata = [
|
|
|
8614
8778
|
generateParamConfigMetadata('text', true, 2 /* Body */, 0 /* String */),
|
|
8615
8779
|
];
|
|
8616
8780
|
const patchSlackMessage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, patchSlackMessage_ConfigPropertyMetadata);
|
|
8617
|
-
const createResourceParams$b = /*#__PURE__*/ createResourceParams$
|
|
8781
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$r(patchSlackMessage_ConfigPropertyMetadata);
|
|
8618
8782
|
function typeCheckConfig$b(untrustedConfig) {
|
|
8619
8783
|
const config = {};
|
|
8620
|
-
typeCheckConfig$
|
|
8784
|
+
typeCheckConfig$r(untrustedConfig, config, patchSlackMessage_ConfigPropertyMetadata);
|
|
8621
8785
|
return config;
|
|
8622
8786
|
}
|
|
8623
8787
|
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
@@ -8686,7 +8850,7 @@ function validate$5(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
|
|
|
8686
8850
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
8687
8851
|
const obj_reactions_item = obj_reactions[i];
|
|
8688
8852
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
8689
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
8853
|
+
const referencepath_reactions_itemValidationError = validate$n(obj_reactions_item, path_reactions_item);
|
|
8690
8854
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
8691
8855
|
let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
8692
8856
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8715,7 +8879,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
8715
8879
|
return input;
|
|
8716
8880
|
}
|
|
8717
8881
|
const select$f = function SlackBridgeReactionsOutputRepresentationSelect() {
|
|
8718
|
-
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$
|
|
8882
|
+
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$L();
|
|
8719
8883
|
return {
|
|
8720
8884
|
kind: 'Fragment',
|
|
8721
8885
|
version: VERSION$5,
|
|
@@ -8761,7 +8925,7 @@ function equals$5(existing, incoming) {
|
|
|
8761
8925
|
const existing_reactions = existing.reactions;
|
|
8762
8926
|
const incoming_reactions = incoming.reactions;
|
|
8763
8927
|
const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
|
|
8764
|
-
if (!(equals$
|
|
8928
|
+
if (!(equals$n(existing_reactions_item, incoming_reactions_item))) {
|
|
8765
8929
|
return false;
|
|
8766
8930
|
}
|
|
8767
8931
|
});
|
|
@@ -8831,10 +8995,10 @@ const deleteSlackMessageReactions_ConfigPropertyMetadata = [
|
|
|
8831
8995
|
generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8832
8996
|
];
|
|
8833
8997
|
const deleteSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, deleteSlackMessageReactions_ConfigPropertyMetadata);
|
|
8834
|
-
const createResourceParams$a = /*#__PURE__*/ createResourceParams$
|
|
8998
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$r(deleteSlackMessageReactions_ConfigPropertyMetadata);
|
|
8835
8999
|
function typeCheckConfig$a(untrustedConfig) {
|
|
8836
9000
|
const config = {};
|
|
8837
|
-
typeCheckConfig$
|
|
9001
|
+
typeCheckConfig$r(untrustedConfig, config, deleteSlackMessageReactions_ConfigPropertyMetadata);
|
|
8838
9002
|
return config;
|
|
8839
9003
|
}
|
|
8840
9004
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -8924,10 +9088,10 @@ const postSlackMessageReactions_ConfigPropertyMetadata = [
|
|
|
8924
9088
|
generateParamConfigMetadata('name', false, 1 /* QueryParameter */, 0 /* String */),
|
|
8925
9089
|
];
|
|
8926
9090
|
const postSlackMessageReactions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, postSlackMessageReactions_ConfigPropertyMetadata);
|
|
8927
|
-
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$
|
|
9091
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$r(postSlackMessageReactions_ConfigPropertyMetadata);
|
|
8928
9092
|
function typeCheckConfig$9(untrustedConfig) {
|
|
8929
9093
|
const config = {};
|
|
8930
|
-
typeCheckConfig$
|
|
9094
|
+
typeCheckConfig$r(untrustedConfig, config, postSlackMessageReactions_ConfigPropertyMetadata);
|
|
8931
9095
|
return config;
|
|
8932
9096
|
}
|
|
8933
9097
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -9026,7 +9190,7 @@ function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
|
9026
9190
|
for (let i = 0; i < input_conversationInfos.length; i++) {
|
|
9027
9191
|
const input_conversationInfos_item = input_conversationInfos[i];
|
|
9028
9192
|
let input_conversationInfos_item_id = input_conversationInfos_id + '__' + i;
|
|
9029
|
-
input_conversationInfos[i] = ingest$
|
|
9193
|
+
input_conversationInfos[i] = ingest$i(input_conversationInfos_item, {
|
|
9030
9194
|
fullPath: input_conversationInfos_item_id,
|
|
9031
9195
|
propertyName: i,
|
|
9032
9196
|
parent: {
|
|
@@ -9049,7 +9213,7 @@ const select$d = function SlackBridgeConversationInfosOutputRepresentationSelect
|
|
|
9049
9213
|
name: 'conversationInfos',
|
|
9050
9214
|
kind: 'Link',
|
|
9051
9215
|
plural: true,
|
|
9052
|
-
fragment: select$
|
|
9216
|
+
fragment: select$M()
|
|
9053
9217
|
},
|
|
9054
9218
|
{
|
|
9055
9219
|
name: 'searchString',
|
|
@@ -9098,7 +9262,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9098
9262
|
});
|
|
9099
9263
|
const input_conversationInfos_length = input.conversationInfos.length;
|
|
9100
9264
|
for (let i = 0; i < input_conversationInfos_length; i++) {
|
|
9101
|
-
getTypeCacheKeys$
|
|
9265
|
+
getTypeCacheKeys$i(rootKeySet, luvio, input.conversationInfos[i]);
|
|
9102
9266
|
}
|
|
9103
9267
|
}
|
|
9104
9268
|
|
|
@@ -9154,14 +9318,14 @@ const getSlackConversationInfos_ConfigPropertyMetadata = [
|
|
|
9154
9318
|
generateParamConfigMetadata('channelIds', true, 1 /* QueryParameter */, 0 /* String */, true),
|
|
9155
9319
|
];
|
|
9156
9320
|
const getSlackConversationInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSlackConversationInfos_ConfigPropertyMetadata);
|
|
9157
|
-
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$
|
|
9321
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$r(getSlackConversationInfos_ConfigPropertyMetadata);
|
|
9158
9322
|
function keyBuilder$g(luvio, config) {
|
|
9159
9323
|
const resourceParams = createResourceParams$8(config);
|
|
9160
9324
|
return keyBuilder$h(luvio, resourceParams);
|
|
9161
9325
|
}
|
|
9162
9326
|
function typeCheckConfig$8(untrustedConfig) {
|
|
9163
9327
|
const config = {};
|
|
9164
|
-
typeCheckConfig$
|
|
9328
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackConversationInfos_ConfigPropertyMetadata);
|
|
9165
9329
|
return config;
|
|
9166
9330
|
}
|
|
9167
9331
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -9236,20 +9400,20 @@ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge_
|
|
|
9236
9400
|
};
|
|
9237
9401
|
|
|
9238
9402
|
function select$b(luvio, params) {
|
|
9239
|
-
return select$
|
|
9403
|
+
return select$M();
|
|
9240
9404
|
}
|
|
9241
9405
|
function keyBuilder$f(luvio, params) {
|
|
9242
|
-
return keyBuilder$
|
|
9406
|
+
return keyBuilder$I(luvio, {
|
|
9243
9407
|
id: params.urlParams.channelId
|
|
9244
9408
|
});
|
|
9245
9409
|
}
|
|
9246
9410
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
9247
|
-
getTypeCacheKeys$
|
|
9411
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
9248
9412
|
}
|
|
9249
9413
|
function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
|
|
9250
9414
|
const { body } = response;
|
|
9251
9415
|
const key = keyBuilder$f(luvio, resourceParams);
|
|
9252
|
-
luvio.storeIngest(key, ingest$
|
|
9416
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
9253
9417
|
const snapshot = luvio.storeLookup({
|
|
9254
9418
|
recordId: key,
|
|
9255
9419
|
node: select$b(),
|
|
@@ -9267,10 +9431,10 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
9267
9431
|
const key = keyBuilder$f(luvio, params);
|
|
9268
9432
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
9269
9433
|
const storeMetadataParams = {
|
|
9270
|
-
ttl: TTL$
|
|
9434
|
+
ttl: TTL$5,
|
|
9271
9435
|
namespace: keyPrefix,
|
|
9272
|
-
version: VERSION$
|
|
9273
|
-
representationName: RepresentationType$
|
|
9436
|
+
version: VERSION$o,
|
|
9437
|
+
representationName: RepresentationType$i
|
|
9274
9438
|
};
|
|
9275
9439
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
9276
9440
|
return errorSnapshot;
|
|
@@ -9295,14 +9459,14 @@ const getSlackConversationInfo_ConfigPropertyMetadata = [
|
|
|
9295
9459
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9296
9460
|
];
|
|
9297
9461
|
const getSlackConversationInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSlackConversationInfo_ConfigPropertyMetadata);
|
|
9298
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$
|
|
9462
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$r(getSlackConversationInfo_ConfigPropertyMetadata);
|
|
9299
9463
|
function keyBuilder$e(luvio, config) {
|
|
9300
9464
|
const resourceParams = createResourceParams$7(config);
|
|
9301
9465
|
return keyBuilder$f(luvio, resourceParams);
|
|
9302
9466
|
}
|
|
9303
9467
|
function typeCheckConfig$7(untrustedConfig) {
|
|
9304
9468
|
const config = {};
|
|
9305
|
-
typeCheckConfig$
|
|
9469
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackConversationInfo_ConfigPropertyMetadata);
|
|
9306
9470
|
return config;
|
|
9307
9471
|
}
|
|
9308
9472
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -9404,7 +9568,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
|
9404
9568
|
for (let i = 0; i < input_emojis.length; i++) {
|
|
9405
9569
|
const input_emojis_item = input_emojis[i];
|
|
9406
9570
|
let input_emojis_item_id = input_emojis_id + '__' + i;
|
|
9407
|
-
input_emojis[i] = ingest$
|
|
9571
|
+
input_emojis[i] = ingest$k(input_emojis_item, {
|
|
9408
9572
|
fullPath: input_emojis_item_id,
|
|
9409
9573
|
propertyName: i,
|
|
9410
9574
|
parent: {
|
|
@@ -9427,7 +9591,7 @@ const select$a = function SlackBridgeEmojisOutputRepresentationSelect() {
|
|
|
9427
9591
|
name: 'emojis',
|
|
9428
9592
|
kind: 'Link',
|
|
9429
9593
|
plural: true,
|
|
9430
|
-
fragment: select$
|
|
9594
|
+
fragment: select$Q()
|
|
9431
9595
|
}
|
|
9432
9596
|
]
|
|
9433
9597
|
};
|
|
@@ -9467,7 +9631,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9467
9631
|
});
|
|
9468
9632
|
const input_emojis_length = input.emojis.length;
|
|
9469
9633
|
for (let i = 0; i < input_emojis_length; i++) {
|
|
9470
|
-
getTypeCacheKeys$
|
|
9634
|
+
getTypeCacheKeys$k(rootKeySet, luvio, input.emojis[i]);
|
|
9471
9635
|
}
|
|
9472
9636
|
}
|
|
9473
9637
|
|
|
@@ -9523,14 +9687,14 @@ const getSlackEmojis_ConfigPropertyMetadata = [
|
|
|
9523
9687
|
generateParamConfigMetadata('slackEmojiIds', true, 1 /* QueryParameter */, 0 /* String */, true),
|
|
9524
9688
|
];
|
|
9525
9689
|
const getSlackEmojis_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSlackEmojis_ConfigPropertyMetadata);
|
|
9526
|
-
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$
|
|
9690
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$r(getSlackEmojis_ConfigPropertyMetadata);
|
|
9527
9691
|
function keyBuilder$c(luvio, config) {
|
|
9528
9692
|
const resourceParams = createResourceParams$6(config);
|
|
9529
9693
|
return keyBuilder$d(luvio, resourceParams);
|
|
9530
9694
|
}
|
|
9531
9695
|
function typeCheckConfig$6(untrustedConfig) {
|
|
9532
9696
|
const config = {};
|
|
9533
|
-
typeCheckConfig$
|
|
9697
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackEmojis_ConfigPropertyMetadata);
|
|
9534
9698
|
return config;
|
|
9535
9699
|
}
|
|
9536
9700
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -9605,20 +9769,20 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
|
|
|
9605
9769
|
};
|
|
9606
9770
|
|
|
9607
9771
|
function select$8(luvio, params) {
|
|
9608
|
-
return select$
|
|
9772
|
+
return select$Q();
|
|
9609
9773
|
}
|
|
9610
9774
|
function keyBuilder$b(luvio, params) {
|
|
9611
|
-
return keyBuilder$
|
|
9775
|
+
return keyBuilder$K(luvio, {
|
|
9612
9776
|
name: params.urlParams.slackEmojiId
|
|
9613
9777
|
});
|
|
9614
9778
|
}
|
|
9615
9779
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
9616
|
-
getTypeCacheKeys$
|
|
9780
|
+
getTypeCacheKeys$k(storeKeyMap, luvio, response);
|
|
9617
9781
|
}
|
|
9618
9782
|
function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
9619
9783
|
const { body } = response;
|
|
9620
9784
|
const key = keyBuilder$b(luvio, resourceParams);
|
|
9621
|
-
luvio.storeIngest(key, ingest$
|
|
9785
|
+
luvio.storeIngest(key, ingest$k, body);
|
|
9622
9786
|
const snapshot = luvio.storeLookup({
|
|
9623
9787
|
recordId: key,
|
|
9624
9788
|
node: select$8(),
|
|
@@ -9636,10 +9800,10 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
9636
9800
|
const key = keyBuilder$b(luvio, params);
|
|
9637
9801
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
9638
9802
|
const storeMetadataParams = {
|
|
9639
|
-
ttl: TTL$
|
|
9803
|
+
ttl: TTL$7,
|
|
9640
9804
|
namespace: keyPrefix,
|
|
9641
|
-
version: VERSION$
|
|
9642
|
-
representationName: RepresentationType$
|
|
9805
|
+
version: VERSION$s,
|
|
9806
|
+
representationName: RepresentationType$k
|
|
9643
9807
|
};
|
|
9644
9808
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
9645
9809
|
return errorSnapshot;
|
|
@@ -9664,14 +9828,14 @@ const getSlackEmoji_ConfigPropertyMetadata = [
|
|
|
9664
9828
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9665
9829
|
];
|
|
9666
9830
|
const getSlackEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSlackEmoji_ConfigPropertyMetadata);
|
|
9667
|
-
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$
|
|
9831
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$r(getSlackEmoji_ConfigPropertyMetadata);
|
|
9668
9832
|
function keyBuilder$a(luvio, config) {
|
|
9669
9833
|
const resourceParams = createResourceParams$5(config);
|
|
9670
9834
|
return keyBuilder$b(luvio, resourceParams);
|
|
9671
9835
|
}
|
|
9672
9836
|
function typeCheckConfig$5(untrustedConfig) {
|
|
9673
9837
|
const config = {};
|
|
9674
|
-
typeCheckConfig$
|
|
9838
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackEmoji_ConfigPropertyMetadata);
|
|
9675
9839
|
return config;
|
|
9676
9840
|
}
|
|
9677
9841
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -9797,14 +9961,14 @@ const getSlackSearchConversation_ConfigPropertyMetadata = [
|
|
|
9797
9961
|
generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9798
9962
|
];
|
|
9799
9963
|
const getSlackSearchConversation_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSlackSearchConversation_ConfigPropertyMetadata);
|
|
9800
|
-
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$
|
|
9964
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$r(getSlackSearchConversation_ConfigPropertyMetadata);
|
|
9801
9965
|
function keyBuilder$8(luvio, config) {
|
|
9802
9966
|
const resourceParams = createResourceParams$4(config);
|
|
9803
9967
|
return keyBuilder$9(luvio, resourceParams);
|
|
9804
9968
|
}
|
|
9805
9969
|
function typeCheckConfig$4(untrustedConfig) {
|
|
9806
9970
|
const config = {};
|
|
9807
|
-
typeCheckConfig$
|
|
9971
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackSearchConversation_ConfigPropertyMetadata);
|
|
9808
9972
|
return config;
|
|
9809
9973
|
}
|
|
9810
9974
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -9930,14 +10094,14 @@ const getSlackSearchEmoji_ConfigPropertyMetadata = [
|
|
|
9930
10094
|
generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9931
10095
|
];
|
|
9932
10096
|
const getSlackSearchEmoji_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSlackSearchEmoji_ConfigPropertyMetadata);
|
|
9933
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$
|
|
10097
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$r(getSlackSearchEmoji_ConfigPropertyMetadata);
|
|
9934
10098
|
function keyBuilder$6(luvio, config) {
|
|
9935
10099
|
const resourceParams = createResourceParams$3(config);
|
|
9936
10100
|
return keyBuilder$7(luvio, resourceParams);
|
|
9937
10101
|
}
|
|
9938
10102
|
function typeCheckConfig$3(untrustedConfig) {
|
|
9939
10103
|
const config = {};
|
|
9940
|
-
typeCheckConfig$
|
|
10104
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackSearchEmoji_ConfigPropertyMetadata);
|
|
9941
10105
|
return config;
|
|
9942
10106
|
}
|
|
9943
10107
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -10262,14 +10426,14 @@ const getSlackSearchMPIMs_ConfigPropertyMetadata = [
|
|
|
10262
10426
|
generateParamConfigMetadata('useDisplayName', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
10263
10427
|
];
|
|
10264
10428
|
const getSlackSearchMPIMs_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSlackSearchMPIMs_ConfigPropertyMetadata);
|
|
10265
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$
|
|
10429
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$r(getSlackSearchMPIMs_ConfigPropertyMetadata);
|
|
10266
10430
|
function keyBuilder$4(luvio, config) {
|
|
10267
10431
|
const resourceParams = createResourceParams$2(config);
|
|
10268
10432
|
return keyBuilder$5(luvio, resourceParams);
|
|
10269
10433
|
}
|
|
10270
10434
|
function typeCheckConfig$2(untrustedConfig) {
|
|
10271
10435
|
const config = {};
|
|
10272
|
-
typeCheckConfig$
|
|
10436
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackSearchMPIMs_ConfigPropertyMetadata);
|
|
10273
10437
|
return config;
|
|
10274
10438
|
}
|
|
10275
10439
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -10423,7 +10587,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
|
|
|
10423
10587
|
for (let i = 0; i < input_userInfos.length; i++) {
|
|
10424
10588
|
const input_userInfos_item = input_userInfos[i];
|
|
10425
10589
|
let input_userInfos_item_id = input_userInfos_id + '__' + i;
|
|
10426
|
-
input_userInfos[i] = ingest$
|
|
10590
|
+
input_userInfos[i] = ingest$j(input_userInfos_item, {
|
|
10427
10591
|
fullPath: input_userInfos_item_id,
|
|
10428
10592
|
propertyName: i,
|
|
10429
10593
|
parent: {
|
|
@@ -10454,7 +10618,7 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
|
|
|
10454
10618
|
name: 'userInfos',
|
|
10455
10619
|
kind: 'Link',
|
|
10456
10620
|
plural: true,
|
|
10457
|
-
fragment: select$
|
|
10621
|
+
fragment: select$P()
|
|
10458
10622
|
}
|
|
10459
10623
|
]
|
|
10460
10624
|
};
|
|
@@ -10504,7 +10668,7 @@ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10504
10668
|
});
|
|
10505
10669
|
const input_userInfos_length = input.userInfos.length;
|
|
10506
10670
|
for (let i = 0; i < input_userInfos_length; i++) {
|
|
10507
|
-
getTypeCacheKeys$
|
|
10671
|
+
getTypeCacheKeys$j(rootKeySet, luvio, input.userInfos[i]);
|
|
10508
10672
|
}
|
|
10509
10673
|
}
|
|
10510
10674
|
|
|
@@ -10563,14 +10727,14 @@ const getSlackSearchUser_ConfigPropertyMetadata = [
|
|
|
10563
10727
|
generateParamConfigMetadata('search', false, 1 /* QueryParameter */, 0 /* String */),
|
|
10564
10728
|
];
|
|
10565
10729
|
const getSlackSearchUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSlackSearchUser_ConfigPropertyMetadata);
|
|
10566
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
10730
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$r(getSlackSearchUser_ConfigPropertyMetadata);
|
|
10567
10731
|
function keyBuilder$2(luvio, config) {
|
|
10568
10732
|
const resourceParams = createResourceParams$1(config);
|
|
10569
10733
|
return keyBuilder$3(luvio, resourceParams);
|
|
10570
10734
|
}
|
|
10571
10735
|
function typeCheckConfig$1(untrustedConfig) {
|
|
10572
10736
|
const config = {};
|
|
10573
|
-
typeCheckConfig$
|
|
10737
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackSearchUser_ConfigPropertyMetadata);
|
|
10574
10738
|
return config;
|
|
10575
10739
|
}
|
|
10576
10740
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -10645,20 +10809,20 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
|
|
|
10645
10809
|
};
|
|
10646
10810
|
|
|
10647
10811
|
function select(luvio, params) {
|
|
10648
|
-
return select$
|
|
10812
|
+
return select$P();
|
|
10649
10813
|
}
|
|
10650
10814
|
function keyBuilder$1(luvio, params) {
|
|
10651
|
-
return keyBuilder$
|
|
10815
|
+
return keyBuilder$J(luvio, {
|
|
10652
10816
|
slackUserId: params.urlParams.slackUserId
|
|
10653
10817
|
});
|
|
10654
10818
|
}
|
|
10655
10819
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
10656
|
-
getTypeCacheKeys$
|
|
10820
|
+
getTypeCacheKeys$j(storeKeyMap, luvio, response);
|
|
10657
10821
|
}
|
|
10658
10822
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
10659
10823
|
const { body } = response;
|
|
10660
10824
|
const key = keyBuilder$1(luvio, resourceParams);
|
|
10661
|
-
luvio.storeIngest(key, ingest$
|
|
10825
|
+
luvio.storeIngest(key, ingest$j, body);
|
|
10662
10826
|
const snapshot = luvio.storeLookup({
|
|
10663
10827
|
recordId: key,
|
|
10664
10828
|
node: select(),
|
|
@@ -10676,10 +10840,10 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
10676
10840
|
const key = keyBuilder$1(luvio, params);
|
|
10677
10841
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
10678
10842
|
const storeMetadataParams = {
|
|
10679
|
-
ttl: TTL$
|
|
10843
|
+
ttl: TTL$6,
|
|
10680
10844
|
namespace: keyPrefix,
|
|
10681
|
-
version: VERSION$
|
|
10682
|
-
representationName: RepresentationType$
|
|
10845
|
+
version: VERSION$r,
|
|
10846
|
+
representationName: RepresentationType$j
|
|
10683
10847
|
};
|
|
10684
10848
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
10685
10849
|
return errorSnapshot;
|
|
@@ -10704,14 +10868,14 @@ const getSlackUser_ConfigPropertyMetadata = [
|
|
|
10704
10868
|
generateParamConfigMetadata('teamId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10705
10869
|
];
|
|
10706
10870
|
const getSlackUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSlackUser_ConfigPropertyMetadata);
|
|
10707
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
10871
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$r(getSlackUser_ConfigPropertyMetadata);
|
|
10708
10872
|
function keyBuilder(luvio, config) {
|
|
10709
10873
|
const resourceParams = createResourceParams(config);
|
|
10710
10874
|
return keyBuilder$1(luvio, resourceParams);
|
|
10711
10875
|
}
|
|
10712
10876
|
function typeCheckConfig(untrustedConfig) {
|
|
10713
10877
|
const config = {};
|
|
10714
|
-
typeCheckConfig$
|
|
10878
|
+
typeCheckConfig$r(untrustedConfig, config, getSlackUser_ConfigPropertyMetadata);
|
|
10715
10879
|
return config;
|
|
10716
10880
|
}
|
|
10717
10881
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -10785,4 +10949,4 @@ const getSlackUserAdapterFactory = (luvio) => function SlackBridge__getSlackUser
|
|
|
10785
10949
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
10786
10950
|
};
|
|
10787
10951
|
|
|
10788
|
-
export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationInfoAdapterFactory, getSlackConversationInfosAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackDisplayLoginAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchMPIMsAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
|
|
10952
|
+
export { deleteSlackConversationMemberAdapterFactory, deleteSlackMessageAdapterFactory, deleteSlackMessageReactionsAdapterFactory, getRelatedThreadsAdapterFactory, getSlackConversationAdapterFactory, getSlackConversationInfoAdapterFactory, getSlackConversationInfosAdapterFactory, getSlackConversationMemberAdapterFactory, getSlackConversationMembersAdapterFactory, getSlackDisplayLoginAdapterFactory, getSlackEmojiAdapterFactory, getSlackEmojisAdapterFactory, getSlackMessageAdapterFactory, getSlackRecordChannelInfoAdapterFactory, getSlackSearchConversationAdapterFactory, getSlackSearchEmojiAdapterFactory, getSlackSearchMPIMsAdapterFactory, getSlackSearchUserAdapterFactory, getSlackUserAdapterFactory, openSlackConversationAdapterFactory, patchSlackMessageAdapterFactory, postSlackConversationAdapterFactory, postSlackConversationMarkAdapterFactory, postSlackConversationMembersAdapterFactory, postSlackFileAdapterFactory, postSlackMessageReactionsAdapterFactory, postSlackRecordChannelInfosAdapterFactory };
|