@snugdesk/core 0.2.15 → 0.2.17
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 +40 -5
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/index.d.ts +23 -14
- package/package.json +1 -1
|
@@ -1903,6 +1903,13 @@ const FIELDS_INTERACTION = `
|
|
|
1903
1903
|
last_status
|
|
1904
1904
|
metadata
|
|
1905
1905
|
subject
|
|
1906
|
+
summary
|
|
1907
|
+
transcription {
|
|
1908
|
+
location
|
|
1909
|
+
}
|
|
1910
|
+
recording {
|
|
1911
|
+
location
|
|
1912
|
+
}
|
|
1906
1913
|
routeConfiguration {
|
|
1907
1914
|
teamId
|
|
1908
1915
|
routingLogic
|
|
@@ -1911,7 +1918,6 @@ const FIELDS_INTERACTION = `
|
|
|
1911
1918
|
startedAt
|
|
1912
1919
|
completedAt
|
|
1913
1920
|
duration
|
|
1914
|
-
summary
|
|
1915
1921
|
createdAt
|
|
1916
1922
|
updatedAt
|
|
1917
1923
|
deletedAt
|
|
@@ -1969,6 +1975,13 @@ const FIELDS_INTERACTION_EXPANDED = `
|
|
|
1969
1975
|
last_status
|
|
1970
1976
|
metadata
|
|
1971
1977
|
subject
|
|
1978
|
+
summary
|
|
1979
|
+
transcription {
|
|
1980
|
+
location
|
|
1981
|
+
}
|
|
1982
|
+
recording {
|
|
1983
|
+
location
|
|
1984
|
+
}
|
|
1972
1985
|
routeConfiguration {
|
|
1973
1986
|
teamId
|
|
1974
1987
|
routingLogic
|
|
@@ -1977,7 +1990,6 @@ const FIELDS_INTERACTION_EXPANDED = `
|
|
|
1977
1990
|
startedAt
|
|
1978
1991
|
completedAt
|
|
1979
1992
|
duration
|
|
1980
|
-
summary
|
|
1981
1993
|
temp_isLocked
|
|
1982
1994
|
temp_isAvailableTenantIdUnion
|
|
1983
1995
|
createdAt
|
|
@@ -2607,6 +2619,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2607
2619
|
}], ctorParameters: () => [{ type: AppSyncHelperService }] });
|
|
2608
2620
|
|
|
2609
2621
|
const FIELDS_ENTITY_CONVERSATION = `
|
|
2622
|
+
id
|
|
2623
|
+
tenantId
|
|
2624
|
+
entityId
|
|
2625
|
+
entity {
|
|
2626
|
+
${FIELDS_ENTITY}
|
|
2627
|
+
}
|
|
2628
|
+
entityAddress
|
|
2629
|
+
interactionChannel
|
|
2630
|
+
interactionProvider
|
|
2631
|
+
isCampaignEngaged
|
|
2632
|
+
campaignId
|
|
2633
|
+
lastCampaignFlowNodeId
|
|
2634
|
+
lastInteractionMessageId
|
|
2635
|
+
metadata
|
|
2636
|
+
lastActivityAt
|
|
2637
|
+
lastMessageAt
|
|
2638
|
+
archivedAt
|
|
2639
|
+
blockedAt
|
|
2640
|
+
createdAt
|
|
2641
|
+
updatedAt
|
|
2642
|
+
deletedAt
|
|
2643
|
+
`;
|
|
2644
|
+
const FIELDS_ENTITY_CONVERSATION_MINIMAL = `
|
|
2610
2645
|
id
|
|
2611
2646
|
tenantId
|
|
2612
2647
|
entityId
|
|
@@ -2679,7 +2714,7 @@ class EntityConversationService {
|
|
|
2679
2714
|
async CreateEntityConversation(input, condition) {
|
|
2680
2715
|
const statement = `mutation CreateEntityConversation($input: CreateEntityConversationInput!, $condition: ModelEntityConversationConditionInput) {
|
|
2681
2716
|
createEntityConversation(input: $input, condition: $condition) {
|
|
2682
|
-
${
|
|
2717
|
+
${FIELDS_ENTITY_CONVERSATION_MINIMAL}
|
|
2683
2718
|
}
|
|
2684
2719
|
}`;
|
|
2685
2720
|
const gqlAPIServiceArguments = { input };
|
|
@@ -2692,7 +2727,7 @@ class EntityConversationService {
|
|
|
2692
2727
|
async UpdateEntityConversation(input, condition) {
|
|
2693
2728
|
const statement = `mutation UpdateEntityConversation($input: UpdateEntityConversationInput!, $condition: ModelEntityConversationConditionInput) {
|
|
2694
2729
|
updateEntityConversation(input: $input, condition: $condition) {
|
|
2695
|
-
${
|
|
2730
|
+
${FIELDS_ENTITY_CONVERSATION_MINIMAL}
|
|
2696
2731
|
}
|
|
2697
2732
|
}`;
|
|
2698
2733
|
const gqlAPIServiceArguments = { input };
|
|
@@ -3564,5 +3599,5 @@ class CustomValidators {
|
|
|
3564
3599
|
* Generated bundle index. Do not edit.
|
|
3565
3600
|
*/
|
|
3566
3601
|
|
|
3567
|
-
export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CustomPipesModule, CustomValidators, DomainNamePipe, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_ENTITY, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_ENTITY_EXPANDED, FIELDS_ENTITY_MINIMAL, FIELDS_ENTITY_TYPE, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_EXPANDED, FIELDS_INTERACTION_HOST, FIELDS_INTERACTION_INVITEE, FIELDS_INTERACTION_MESSAGE, FIELDS_INTERACTION_MESSAGE_ATTACHMENT, FIELDS_INTERACTION_MESSAGE_EXPANDED, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig };
|
|
3602
|
+
export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CustomPipesModule, CustomValidators, DomainNamePipe, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_ENTITY, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_ENTITY_CONVERSATION_MINIMAL, FIELDS_ENTITY_EXPANDED, FIELDS_ENTITY_MINIMAL, FIELDS_ENTITY_TYPE, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_EXPANDED, FIELDS_INTERACTION_HOST, FIELDS_INTERACTION_INVITEE, FIELDS_INTERACTION_MESSAGE, FIELDS_INTERACTION_MESSAGE_ATTACHMENT, FIELDS_INTERACTION_MESSAGE_EXPANDED, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig };
|
|
3568
3603
|
//# sourceMappingURL=snugdesk-core.mjs.map
|