@snugdesk/core 0.2.16 → 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 +38 -7
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/index.d.ts +7 -6
- package/package.json +1 -1
|
@@ -1904,8 +1904,12 @@ const FIELDS_INTERACTION = `
|
|
|
1904
1904
|
metadata
|
|
1905
1905
|
subject
|
|
1906
1906
|
summary
|
|
1907
|
-
transcription
|
|
1908
|
-
|
|
1907
|
+
transcription {
|
|
1908
|
+
location
|
|
1909
|
+
}
|
|
1910
|
+
recording {
|
|
1911
|
+
location
|
|
1912
|
+
}
|
|
1909
1913
|
routeConfiguration {
|
|
1910
1914
|
teamId
|
|
1911
1915
|
routingLogic
|
|
@@ -1972,8 +1976,12 @@ const FIELDS_INTERACTION_EXPANDED = `
|
|
|
1972
1976
|
metadata
|
|
1973
1977
|
subject
|
|
1974
1978
|
summary
|
|
1975
|
-
transcription
|
|
1976
|
-
|
|
1979
|
+
transcription {
|
|
1980
|
+
location
|
|
1981
|
+
}
|
|
1982
|
+
recording {
|
|
1983
|
+
location
|
|
1984
|
+
}
|
|
1977
1985
|
routeConfiguration {
|
|
1978
1986
|
teamId
|
|
1979
1987
|
routingLogic
|
|
@@ -2611,6 +2619,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2611
2619
|
}], ctorParameters: () => [{ type: AppSyncHelperService }] });
|
|
2612
2620
|
|
|
2613
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 = `
|
|
2614
2645
|
id
|
|
2615
2646
|
tenantId
|
|
2616
2647
|
entityId
|
|
@@ -2683,7 +2714,7 @@ class EntityConversationService {
|
|
|
2683
2714
|
async CreateEntityConversation(input, condition) {
|
|
2684
2715
|
const statement = `mutation CreateEntityConversation($input: CreateEntityConversationInput!, $condition: ModelEntityConversationConditionInput) {
|
|
2685
2716
|
createEntityConversation(input: $input, condition: $condition) {
|
|
2686
|
-
${
|
|
2717
|
+
${FIELDS_ENTITY_CONVERSATION_MINIMAL}
|
|
2687
2718
|
}
|
|
2688
2719
|
}`;
|
|
2689
2720
|
const gqlAPIServiceArguments = { input };
|
|
@@ -2696,7 +2727,7 @@ class EntityConversationService {
|
|
|
2696
2727
|
async UpdateEntityConversation(input, condition) {
|
|
2697
2728
|
const statement = `mutation UpdateEntityConversation($input: UpdateEntityConversationInput!, $condition: ModelEntityConversationConditionInput) {
|
|
2698
2729
|
updateEntityConversation(input: $input, condition: $condition) {
|
|
2699
|
-
${
|
|
2730
|
+
${FIELDS_ENTITY_CONVERSATION_MINIMAL}
|
|
2700
2731
|
}
|
|
2701
2732
|
}`;
|
|
2702
2733
|
const gqlAPIServiceArguments = { input };
|
|
@@ -3568,5 +3599,5 @@ class CustomValidators {
|
|
|
3568
3599
|
* Generated bundle index. Do not edit.
|
|
3569
3600
|
*/
|
|
3570
3601
|
|
|
3571
|
-
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 };
|
|
3572
3603
|
//# sourceMappingURL=snugdesk-core.mjs.map
|