@snugdesk/core 0.2.8 → 0.2.10
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/fesm2022/snugdesk-core.mjs +67 -50
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1892,7 +1892,24 @@ const FIELDS_INTERACTION_EXPANDED = `
|
|
|
1892
1892
|
}
|
|
1893
1893
|
entityConversationId
|
|
1894
1894
|
entityConversation {
|
|
1895
|
-
|
|
1895
|
+
id
|
|
1896
|
+
tenantId
|
|
1897
|
+
entityId
|
|
1898
|
+
entityAddress
|
|
1899
|
+
interactionChannel
|
|
1900
|
+
interactionProvider
|
|
1901
|
+
isCampaignEngaged
|
|
1902
|
+
campaignId
|
|
1903
|
+
lastCampaignFlowNodeId
|
|
1904
|
+
lastInteractionMessageId
|
|
1905
|
+
metadata
|
|
1906
|
+
lastActivityAt
|
|
1907
|
+
lastMessageAt
|
|
1908
|
+
archivedAt
|
|
1909
|
+
blockedAt
|
|
1910
|
+
createdAt
|
|
1911
|
+
updatedAt
|
|
1912
|
+
deletedAt
|
|
1896
1913
|
}
|
|
1897
1914
|
entityId
|
|
1898
1915
|
entity {
|
|
@@ -2479,59 +2496,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2479
2496
|
}], ctorParameters: () => [{ type: AppSyncHelperService }] });
|
|
2480
2497
|
|
|
2481
2498
|
const FIELDS_ENTITY_CONVERSATION = `
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2499
|
+
id
|
|
2500
|
+
tenantId
|
|
2501
|
+
entityId
|
|
2502
|
+
entityAddress
|
|
2503
|
+
interactionChannel
|
|
2504
|
+
interactionProvider
|
|
2505
|
+
isCampaignEngaged
|
|
2506
|
+
campaignId
|
|
2507
|
+
lastCampaignFlowNodeId
|
|
2508
|
+
lastInteractionMessageId
|
|
2509
|
+
metadata
|
|
2510
|
+
lastActivityAt
|
|
2511
|
+
lastMessageAt
|
|
2512
|
+
archivedAt
|
|
2513
|
+
blockedAt
|
|
2514
|
+
createdAt
|
|
2515
|
+
updatedAt
|
|
2516
|
+
deletedAt
|
|
2500
2517
|
`;
|
|
2501
2518
|
const FIELDS_ENTITY_CONVERSATION_EXPANDED = `
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
}
|
|
2527
|
-
nextToken
|
|
2519
|
+
id
|
|
2520
|
+
tenantId
|
|
2521
|
+
entityId
|
|
2522
|
+
entity {
|
|
2523
|
+
${FIELDS_ENTITY}
|
|
2524
|
+
}
|
|
2525
|
+
entityAddress
|
|
2526
|
+
interactionChannel
|
|
2527
|
+
interactionProvider
|
|
2528
|
+
isCampaignEngaged
|
|
2529
|
+
campaignId
|
|
2530
|
+
lastCampaignFlowNodeId
|
|
2531
|
+
lastInteractionMessageId
|
|
2532
|
+
metadata
|
|
2533
|
+
lastActivityAt
|
|
2534
|
+
lastMessageAt
|
|
2535
|
+
archivedAt
|
|
2536
|
+
blockedAt
|
|
2537
|
+
createdAt
|
|
2538
|
+
updatedAt
|
|
2539
|
+
deletedAt
|
|
2540
|
+
interactions (limit: 1, sortDirection: ${ModelSortDirection.DESC}) {
|
|
2541
|
+
items {
|
|
2542
|
+
${FIELDS_INTERACTION}
|
|
2528
2543
|
}
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2544
|
+
nextToken
|
|
2545
|
+
}
|
|
2546
|
+
messages (limit: 1, sortDirection: ${ModelSortDirection.DESC}) {
|
|
2547
|
+
items {
|
|
2548
|
+
${FIELDS_INTERACTION_MESSAGE}
|
|
2534
2549
|
}
|
|
2550
|
+
nextToken
|
|
2551
|
+
}
|
|
2535
2552
|
`;
|
|
2536
2553
|
class EntityConversationService {
|
|
2537
2554
|
appSyncService;
|