@snugdesk/core 0.2.20 → 0.2.22

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/index.d.ts CHANGED
@@ -357,6 +357,16 @@ type S3Object = {
357
357
  bucket: string;
358
358
  location: string;
359
359
  };
360
+ declare enum ProcessingStatus {
361
+ PENDING = "PENDING",
362
+ SUCCESS = "SUCCESS",
363
+ FAILED = "FAILED",
364
+ RETRYING = "RETRYING"
365
+ }
366
+ type ModelProcessingStatusInput = {
367
+ eq?: ProcessingStatus | null;
368
+ ne?: ProcessingStatus | null;
369
+ };
360
370
 
361
371
  type Entity = {
362
372
  id: string;
@@ -1000,14 +1010,21 @@ type Interaction = {
1000
1010
  direction: InteractionDirection;
1001
1011
  status?: InteractionStatus | null;
1002
1012
  last_status?: InteractionStatus | null;
1003
- metadata?: string | null;
1004
1013
  subject?: string | null;
1014
+ metadata?: string | null;
1015
+ notes?: string | null;
1005
1016
  summary?: string | null;
1006
- transcription?: S3Object | null;
1007
1017
  recording?: S3Object | null;
1018
+ transcription?: S3Object | null;
1008
1019
  startedAt?: number | null;
1009
1020
  completedAt?: number | null;
1010
1021
  duration?: number | null;
1022
+ aiProcessingStatus?: ProcessingStatus | null;
1023
+ aiProcessingCompletedAt?: number | null;
1024
+ postProcessingStatus?: ProcessingStatus | null;
1025
+ postProcessingCompletedAt?: number | null;
1026
+ reportProcessingStatus?: ProcessingStatus | null;
1027
+ reportProcessingCompletedAt?: number | null;
1011
1028
  routeConfiguration?: InteractionRouteConfiguration | null;
1012
1029
  temp_isLocked?: boolean | null;
1013
1030
  temp_isAvailableTenantIdUnion?: string | null;
@@ -1120,14 +1137,21 @@ type CreateInteractionInput = {
1120
1137
  direction: InteractionDirection;
1121
1138
  status?: InteractionStatus | null;
1122
1139
  last_status?: InteractionStatus | null;
1123
- metadata?: string | null;
1124
1140
  subject?: string | null;
1141
+ metadata?: string | null;
1142
+ notes?: string | null;
1125
1143
  summary?: string | null;
1126
- transcription?: S3Object | null;
1127
1144
  recording?: S3Object | null;
1145
+ transcription?: S3Object | null;
1128
1146
  startedAt?: number | null;
1129
1147
  completedAt?: number | null;
1130
1148
  duration?: number | null;
1149
+ aiProcessingStatus?: ProcessingStatus | null;
1150
+ aiProcessingCompletedAt?: number | null;
1151
+ postProcessingStatus?: ProcessingStatus | null;
1152
+ postProcessingCompletedAt?: number | null;
1153
+ reportProcessingStatus?: ProcessingStatus | null;
1154
+ reportProcessingCompletedAt?: number | null;
1131
1155
  routeConfiguration?: InteractionRouteConfigurationInput | null;
1132
1156
  temp_isLocked?: boolean | null;
1133
1157
  temp_isAvailableTenantIdUnion?: string | null;
@@ -1151,14 +1175,21 @@ type UpdateInteractionInput = {
1151
1175
  direction?: InteractionDirection | null;
1152
1176
  status?: InteractionStatus | null;
1153
1177
  last_status?: InteractionStatus | null;
1154
- metadata?: string | null;
1155
1178
  subject?: string | null;
1179
+ metadata?: string | null;
1180
+ notes?: string | null;
1156
1181
  summary?: string | null;
1157
- transcription?: S3Object | null;
1158
1182
  recording?: S3Object | null;
1183
+ transcription?: S3Object | null;
1159
1184
  startedAt?: number | null;
1160
1185
  completedAt?: number | null;
1161
1186
  duration?: number | null;
1187
+ aiProcessingStatus?: ProcessingStatus | null;
1188
+ aiProcessingCompletedAt?: number | null;
1189
+ postProcessingStatus?: ProcessingStatus | null;
1190
+ postProcessingCompletedAt?: number | null;
1191
+ reportProcessingStatus?: ProcessingStatus | null;
1192
+ reportProcessingCompletedAt?: number | null;
1162
1193
  routeConfiguration?: InteractionRouteConfigurationInput | null;
1163
1194
  temp_isLocked?: boolean | null;
1164
1195
  temp_isAvailableTenantIdUnion?: string | null;
@@ -1181,12 +1212,19 @@ type ModelInteractionConditionInput = {
1181
1212
  direction?: ModelInteractionDirectionInput | null;
1182
1213
  status?: ModelInteractionStatusInput | null;
1183
1214
  last_status?: ModelInteractionStatusInput | null;
1184
- metadata?: ModelStringInput | null;
1185
1215
  subject?: ModelStringInput | null;
1216
+ metadata?: ModelStringInput | null;
1217
+ notes?: ModelStringInput | null;
1186
1218
  summary?: ModelStringInput | null;
1187
1219
  startedAt?: ModelIntInput | null;
1188
1220
  completedAt?: ModelIntInput | null;
1189
1221
  duration?: ModelIntInput | null;
1222
+ aiProcessingStatus?: ModelProcessingStatusInput | null;
1223
+ aiProcessingCompletedAt?: ModelIntInput | null;
1224
+ postProcessingStatus?: ModelProcessingStatusInput | null;
1225
+ postProcessingCompletedAt?: ModelIntInput | null;
1226
+ reportProcessingStatus?: ModelProcessingStatusInput | null;
1227
+ reportProcessingCompletedAt?: ModelIntInput | null;
1190
1228
  temp_isLocked?: ModelBooleanInput | null;
1191
1229
  temp_isAvailableTenantIdUnion?: ModelStringInput | null;
1192
1230
  createdAt?: ModelIntInput | null;
@@ -1212,12 +1250,19 @@ type ModelInteractionFilterInput = {
1212
1250
  direction?: ModelInteractionDirectionInput | null;
1213
1251
  status?: ModelInteractionStatusInput | null;
1214
1252
  last_status?: ModelInteractionStatusInput | null;
1215
- metadata?: ModelStringInput | null;
1216
1253
  subject?: ModelStringInput | null;
1254
+ metadata?: ModelStringInput | null;
1255
+ notes?: ModelStringInput | null;
1217
1256
  summary?: ModelStringInput | null;
1218
1257
  startedAt?: ModelIntInput | null;
1219
1258
  completedAt?: ModelIntInput | null;
1220
1259
  duration?: ModelIntInput | null;
1260
+ aiProcessingStatus?: ModelProcessingStatusInput | null;
1261
+ aiProcessingCompletedAt?: ModelIntInput | null;
1262
+ postProcessingStatus?: ModelProcessingStatusInput | null;
1263
+ postProcessingCompletedAt?: ModelIntInput | null;
1264
+ reportProcessingStatus?: ModelProcessingStatusInput | null;
1265
+ reportProcessingCompletedAt?: ModelIntInput | null;
1221
1266
  temp_isLocked?: ModelBooleanInput | null;
1222
1267
  temp_isAvailableTenantIdUnion?: ModelStringInput | null;
1223
1268
  createdAt?: ModelIntInput | null;
@@ -1836,7 +1881,7 @@ type __SubscriptionContainer$4 = {
1836
1881
  };
1837
1882
  declare const FIELDS_ENTITY_CONVERSATION = "\n id\n tenantId\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n";
1838
1883
  declare const FIELDS_ENTITY_CONVERSATION_MINIMAL = "\n id\n tenantId\n entityId\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n";
1839
- declare const FIELDS_ENTITY_CONVERSATION_EXPANDED = "\n id\n tenantId\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n interactions (limit: 1, sortDirection: DESC) {\n items {\n \n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n messages (limit: 1, sortDirection: DESC) {\n items {\n \n id\n externalId\n endpointId\n campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n body\n metadata\n referenceMessageId\n createdAt\n updatedAt\n deletedAt\n messageAttachments {\n items {\n \n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n\n }\n nextToken\n }\n";
1884
+ declare const FIELDS_ENTITY_CONVERSATION_EXPANDED = "\n id\n tenantId\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n interactions (limit: 1, sortDirection: DESC) {\n items {\n \n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n subject\n metadata\n notes\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n aiProcessingStatus\n aiProcessingCompletedAt\n postProcessingStatus\n postProcessingCompletedAt\n reportProcessingStatus\n reportProcessingCompletedAt\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n messages (limit: 1, sortDirection: DESC) {\n items {\n \n id\n externalId\n endpointId\n campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n body\n metadata\n referenceMessageId\n createdAt\n updatedAt\n deletedAt\n messageAttachments {\n items {\n \n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n\n }\n nextToken\n }\n";
1840
1885
  declare class EntityConversationService {
1841
1886
  private readonly appSyncService;
1842
1887
  constructor(appSyncService: AppSyncHelperService);
@@ -1894,10 +1939,10 @@ type __SubscriptionContainer$3 = {
1894
1939
  OnInteractionMessageByEntityConversationId: InteractionMessage;
1895
1940
  };
1896
1941
  declare const FIELDS_INTERACTION_HOST = "\n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n";
1897
- declare const FIELDS_INTERACTION_MINIMAL = "\n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n createdAt\n updatedAt\n deletedAt\n";
1898
- declare const FIELDS_INTERACTION = "\n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n createdAt\n updatedAt\n deletedAt\n";
1899
- declare const FIELDS_INTERACTION_EXPANDED = "\n id\n tenantId\n widgetId\n widget {\n \n id\n tenantId\n channel\n provider\n providerAccountId\n name\n description\n configuration\n isRecordingEnabledByDefault\n isRecordingEnabledOnDemand\n isTranscriptionEnabledByDefault\n isTranscriptionEnabledOnDemand\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n endpointId\n endpoint {\n \n id\n externalId\n tenantId\n widgetId\n address\n configuration\n createdAt\n updatedAt\n deletedAt\n\n }\n entityConversationId\n entityConversation {\n id\n tenantId\n entityId\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n }\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n teamId\n team {\n \n id\n tenantId\n name\n description\n image {\n key\n bucket\n location\n }\n ticketFields\n createdAt\n updatedAt\n deletedAt\n\n }\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n deletedAt\n";
1900
- declare const FIELDS_INTERACTION_INVITEE = "\n id\n interactionId\n interaction {\n \n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n createdAt\n updatedAt\n deletedAt\n\n }\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n metadata\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n teamId\n userId\n isAdministrator\n temp_expiringAt\n expiredAt\n createdAt\n updatedAt\n deletedAt\n";
1942
+ declare const FIELDS_INTERACTION_MINIMAL = "\n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n subject\n metadata\n notes\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n aiProcessingStatus\n aiProcessingCompletedAt\n postProcessingStatus\n postProcessingCompletedAt\n reportProcessingStatus\n reportProcessingCompletedAt\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n deletedAt\n";
1943
+ declare const FIELDS_INTERACTION = "\n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n subject\n metadata\n notes\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n aiProcessingStatus\n aiProcessingCompletedAt\n postProcessingStatus\n postProcessingCompletedAt\n reportProcessingStatus\n reportProcessingCompletedAt\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n deletedAt\n";
1944
+ declare const FIELDS_INTERACTION_EXPANDED = "\n id\n tenantId\n widgetId\n widget {\n \n id\n tenantId\n channel\n provider\n providerAccountId\n name\n description\n configuration\n isRecordingEnabledByDefault\n isRecordingEnabledOnDemand\n isTranscriptionEnabledByDefault\n isTranscriptionEnabledOnDemand\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n endpointId\n endpoint {\n \n id\n externalId\n tenantId\n widgetId\n address\n configuration\n createdAt\n updatedAt\n deletedAt\n\n }\n entityConversationId\n entityConversation {\n id\n tenantId\n entityId\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n }\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n teamId\n team {\n \n id\n tenantId\n name\n description\n image {\n key\n bucket\n location\n }\n ticketFields\n createdAt\n updatedAt\n deletedAt\n\n }\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n subject\n metadata\n notes\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n aiProcessingStatus\n aiProcessingCompletedAt\n postProcessingStatus\n postProcessingCompletedAt\n reportProcessingStatus\n reportProcessingCompletedAt\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n deletedAt\n";
1945
+ declare const FIELDS_INTERACTION_INVITEE = "\n id\n interactionId\n interaction {\n \n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n subject\n metadata\n notes\n summary\n transcription {\n location\n }\n recording {\n location\n }\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n aiProcessingStatus\n aiProcessingCompletedAt\n postProcessingStatus\n postProcessingCompletedAt\n reportProcessingStatus\n reportProcessingCompletedAt\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n deletedAt\n\n }\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n metadata\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n teamId\n userId\n isAdministrator\n temp_expiringAt\n expiredAt\n createdAt\n updatedAt\n deletedAt\n";
1901
1946
  declare const FIELDS_INTERACTION_ATTENDEE = "\n id\n interactionId\n entityId\n interactionWidgetSessionId\n teamId\n userId\n userSessionId\n name\n metadata\n customFields\n isAdministrator\n joinedAt\n exitedAt\n createdAt\n updatedAt\n deletedAt\n";
1902
1947
  declare const FIELDS_INTERACTION_ATTENDEE_EXPANDED = "\n id\n interactionId\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n parent {\n id\n externalId\n tenantId\n entityTypeId\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n createdAt\n updatedAt\n blockedAt\n deletedAt\n }\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n interactionWidgetSessionId\n teamId\n team {\n \n id\n tenantId\n name\n description\n image {\n key\n bucket\n location\n }\n ticketFields\n createdAt\n updatedAt\n deletedAt\n\n }\n userId\n user {\n \n id\n externalId\n tenantId\n email\n name\n image {\n key\n bucket\n location\n }\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n notificationSettings {\n allowPush\n allowEmail\n allowSMS\n allowWhatsApp\n }\n type\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n\n }\n userSessionId\n name\n metadata\n customFields\n isAdministrator\n joinedAt\n exitedAt\n createdAt\n updatedAt\n deletedAt\n";
1903
1948
  declare const FIELDS_INTERACTION_MESSAGE_ATTACHMENT = "\n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n location\n }\n createdAt\n updatedAt\n deletedAt\n";
@@ -2064,5 +2109,5 @@ declare class CustomValidators {
2064
2109
  static trimLength(minLength: number): ValidatorFn;
2065
2110
  }
2066
2111
 
2067
- 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 };
2068
- export type { AmplifyConfig, Country, CountryCurrency, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionHostInput, CreateInteractionInput, CreateInteractionInviteeInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, CreateTeamInput, CreateTeamMemberInput, EncryptedStorageKeys, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, EntityType, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetUserSetting, Language, List, ModelBooleanInput, ModelEntityConditionInput, ModelEntityConversationConditionInput, ModelEntityConversationFilterInput, ModelEntityFilterInput, ModelEntityTypeConditionInput, ModelEntityTypeFilterInput, ModelIDInput, ModelIDKeyConditionInput, ModelIntInput, ModelIntKeyConditionInput, ModelInteractionAttendeeConditionInput, ModelInteractionAttendeeFilterInput, ModelInteractionChannelInput, ModelInteractionConditionInput, ModelInteractionContextInput, ModelInteractionDirectionInput, ModelInteractionFilterInput, ModelInteractionHostConditionInput, ModelInteractionHostFilterInput, ModelInteractionInviteeConditionInput, ModelInteractionInviteeFilterInput, ModelInteractionMessageAttachmentConditionInput, ModelInteractionMessageAttachmentFilterInput, ModelInteractionMessageConditionInput, ModelInteractionMessageFilterInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelInteractionWidgetUserSettingFilterInput, ModelSizeInput, ModelStringInput, ModelStringKeyConditionInput, ModelTeamConditionInput, ModelTeamFilterInput, ModelTeamMemberConditionInput, ModelTeamMemberFilterInput, ModelTicketConditionInput, ModelTicketFilterInput, ModelTicketPriorityConditionInput, ModelTicketPriorityFilterInput, ModelTicketStatusConditionInput, ModelTicketStatusFilterInput, ModelTicketTypeConditionInput, ModelTicketTypeFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, OpenSearchHit, OpenSearchResponse, PhoneNumber, S3Config, S3Credentials, S3Object, SubscriptionResponse, Team, TeamMember, Tenant, TenantBillingInformation, TenantContactInformation, TenantPreferences, TenantSSOConfiguration, TenantSecurity, Ticket, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
2112
+ 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, ProcessingStatus, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig };
2113
+ export type { AmplifyConfig, Country, CountryCurrency, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionHostInput, CreateInteractionInput, CreateInteractionInviteeInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, CreateTeamInput, CreateTeamMemberInput, EncryptedStorageKeys, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, EntityType, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetUserSetting, Language, List, ModelBooleanInput, ModelEntityConditionInput, ModelEntityConversationConditionInput, ModelEntityConversationFilterInput, ModelEntityFilterInput, ModelEntityTypeConditionInput, ModelEntityTypeFilterInput, ModelIDInput, ModelIDKeyConditionInput, ModelIntInput, ModelIntKeyConditionInput, ModelInteractionAttendeeConditionInput, ModelInteractionAttendeeFilterInput, ModelInteractionChannelInput, ModelInteractionConditionInput, ModelInteractionContextInput, ModelInteractionDirectionInput, ModelInteractionFilterInput, ModelInteractionHostConditionInput, ModelInteractionHostFilterInput, ModelInteractionInviteeConditionInput, ModelInteractionInviteeFilterInput, ModelInteractionMessageAttachmentConditionInput, ModelInteractionMessageAttachmentFilterInput, ModelInteractionMessageConditionInput, ModelInteractionMessageFilterInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelInteractionWidgetUserSettingFilterInput, ModelProcessingStatusInput, ModelSizeInput, ModelStringInput, ModelStringKeyConditionInput, ModelTeamConditionInput, ModelTeamFilterInput, ModelTeamMemberConditionInput, ModelTeamMemberFilterInput, ModelTicketConditionInput, ModelTicketFilterInput, ModelTicketPriorityConditionInput, ModelTicketPriorityFilterInput, ModelTicketStatusConditionInput, ModelTicketStatusFilterInput, ModelTicketTypeConditionInput, ModelTicketTypeFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, OpenSearchHit, OpenSearchResponse, PhoneNumber, S3Config, S3Credentials, S3Object, SubscriptionResponse, Team, TeamMember, Tenant, TenantBillingInformation, TenantContactInformation, TenantPreferences, TenantSSOConfiguration, TenantSecurity, Ticket, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snugdesk/core",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "description": "Core utility and session management library required for all Snugdesk widgets. Handles authentication, configuration, and shared services.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=19.0.0",