@snugdesk/core 0.2.19 → 0.2.20
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 +6 -5
- package/package.json +1 -1
|
@@ -1883,6 +1883,43 @@ const FIELDS_INTERACTION_HOST = `
|
|
|
1883
1883
|
updatedAt
|
|
1884
1884
|
deletedAt
|
|
1885
1885
|
`;
|
|
1886
|
+
const FIELDS_INTERACTION_MINIMAL = `
|
|
1887
|
+
id
|
|
1888
|
+
tenantId
|
|
1889
|
+
widgetId
|
|
1890
|
+
endpointId
|
|
1891
|
+
entityConversationId
|
|
1892
|
+
entityId
|
|
1893
|
+
teamId
|
|
1894
|
+
hostId
|
|
1895
|
+
providerInteractionId
|
|
1896
|
+
channel
|
|
1897
|
+
provider
|
|
1898
|
+
context
|
|
1899
|
+
direction
|
|
1900
|
+
status
|
|
1901
|
+
last_status
|
|
1902
|
+
metadata
|
|
1903
|
+
subject
|
|
1904
|
+
summary
|
|
1905
|
+
transcription {
|
|
1906
|
+
location
|
|
1907
|
+
}
|
|
1908
|
+
recording {
|
|
1909
|
+
location
|
|
1910
|
+
}
|
|
1911
|
+
routeConfiguration {
|
|
1912
|
+
teamId
|
|
1913
|
+
routingLogic
|
|
1914
|
+
maxWaitTimeoutSeconds
|
|
1915
|
+
}
|
|
1916
|
+
startedAt
|
|
1917
|
+
completedAt
|
|
1918
|
+
duration
|
|
1919
|
+
createdAt
|
|
1920
|
+
updatedAt
|
|
1921
|
+
deletedAt
|
|
1922
|
+
`;
|
|
1886
1923
|
const FIELDS_INTERACTION = `
|
|
1887
1924
|
id
|
|
1888
1925
|
tenantId
|
|
@@ -2070,8 +2107,6 @@ const FIELDS_INTERACTION_MESSAGE_ATTACHMENT = `
|
|
|
2070
2107
|
size
|
|
2071
2108
|
type
|
|
2072
2109
|
file {
|
|
2073
|
-
key
|
|
2074
|
-
bucket
|
|
2075
2110
|
location
|
|
2076
2111
|
}
|
|
2077
2112
|
createdAt
|
|
@@ -2169,7 +2204,7 @@ class InteractionService {
|
|
|
2169
2204
|
async CreateInteraction(input, condition) {
|
|
2170
2205
|
const statement = `mutation CreateInteraction($input: CreateInteractionInput!, $condition: ModelInteractionConditionInput) {
|
|
2171
2206
|
createInteraction(input: $input, condition: $condition) {
|
|
2172
|
-
${
|
|
2207
|
+
${FIELDS_INTERACTION_MINIMAL}
|
|
2173
2208
|
}
|
|
2174
2209
|
}`;
|
|
2175
2210
|
const gqlAPIServiceArguments = { input };
|
|
@@ -2182,7 +2217,7 @@ class InteractionService {
|
|
|
2182
2217
|
async UpdateInteraction(input, condition) {
|
|
2183
2218
|
const statement = `mutation UpdateInteraction($input: UpdateInteractionInput!, $condition: ModelInteractionConditionInput) {
|
|
2184
2219
|
updateInteraction(input: $input, condition: $condition) {
|
|
2185
|
-
${
|
|
2220
|
+
${FIELDS_INTERACTION_MINIMAL}
|
|
2186
2221
|
}
|
|
2187
2222
|
}`;
|
|
2188
2223
|
const gqlAPIServiceArguments = { input };
|
|
@@ -3610,5 +3645,5 @@ class CustomValidators {
|
|
|
3610
3645
|
* Generated bundle index. Do not edit.
|
|
3611
3646
|
*/
|
|
3612
3647
|
|
|
3613
|
-
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 };
|
|
3648
|
+
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_MINIMAL, 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 };
|
|
3614
3649
|
//# sourceMappingURL=snugdesk-core.mjs.map
|