@snugdesk/core 0.2.21 → 0.2.23

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;
@@ -707,6 +717,69 @@ type InteractionEndpointRegulatoryComplianceDocument = {
707
717
  contentType?: string | null;
708
718
  file?: S3Object | null;
709
719
  };
720
+ type CreateInteractionEndpointInput = {
721
+ id?: string | null;
722
+ externalId: string;
723
+ tenantId: string;
724
+ widgetId: string;
725
+ address: string;
726
+ configuration?: string | null;
727
+ buyPrice?: InteractionEndpointPriceDetails | null;
728
+ sellPrice?: InteractionEndpointPriceDetails | null;
729
+ documents?: Array<InteractionEndpointRegulatoryComplianceDocument | null> | null;
730
+ createdAt: number;
731
+ updatedAt: number;
732
+ deletedAt?: number | null;
733
+ updatedByUserId: string;
734
+ updatedByUserSessionId?: string | null;
735
+ };
736
+ type UpdateInteractionEndpointInput = {
737
+ id: string;
738
+ externalId?: string | null;
739
+ tenantId?: string | null;
740
+ widgetId?: string | null;
741
+ address?: string | null;
742
+ configuration?: string | null;
743
+ buyPrice?: InteractionEndpointPriceDetails | null;
744
+ sellPrice?: InteractionEndpointPriceDetails | null;
745
+ documents?: Array<InteractionEndpointRegulatoryComplianceDocument | null> | null;
746
+ createdAt?: number | null;
747
+ updatedAt?: number | null;
748
+ deletedAt?: number | null;
749
+ updatedByUserId?: string | null;
750
+ updatedByUserSessionId?: string | null;
751
+ };
752
+ type ModelInteractionEndpointConditionInput = {
753
+ externalId?: ModelStringInput | null;
754
+ tenantId?: ModelIDInput | null;
755
+ widgetId?: ModelIDInput | null;
756
+ address?: ModelStringInput | null;
757
+ configuration?: ModelStringInput | null;
758
+ createdAt?: ModelIntInput | null;
759
+ updatedAt?: ModelIntInput | null;
760
+ deletedAt?: ModelIntInput | null;
761
+ updatedByUserId?: ModelIDInput | null;
762
+ updatedByUserSessionId?: ModelIDInput | null;
763
+ and?: Array<ModelInteractionEndpointConditionInput | null> | null;
764
+ or?: Array<ModelInteractionEndpointConditionInput | null> | null;
765
+ not?: ModelInteractionEndpointConditionInput | null;
766
+ };
767
+ type ModelInteractionEndpointFilterInput = {
768
+ id?: ModelIDInput | null;
769
+ externalId?: ModelStringInput | null;
770
+ tenantId?: ModelIDInput | null;
771
+ widgetId?: ModelIDInput | null;
772
+ address?: ModelStringInput | null;
773
+ configuration?: ModelStringInput | null;
774
+ createdAt?: ModelIntInput | null;
775
+ updatedAt?: ModelIntInput | null;
776
+ deletedAt?: ModelIntInput | null;
777
+ updatedByUserId?: ModelIDInput | null;
778
+ updatedByUserSessionId?: ModelIDInput | null;
779
+ and?: Array<ModelInteractionEndpointFilterInput | null> | null;
780
+ or?: Array<ModelInteractionEndpointFilterInput | null> | null;
781
+ not?: ModelInteractionEndpointFilterInput | null;
782
+ };
710
783
 
711
784
  type User = {
712
785
  id: string;
@@ -1000,14 +1073,21 @@ type Interaction = {
1000
1073
  direction: InteractionDirection;
1001
1074
  status?: InteractionStatus | null;
1002
1075
  last_status?: InteractionStatus | null;
1003
- metadata?: string | null;
1004
1076
  subject?: string | null;
1077
+ metadata?: string | null;
1078
+ notes?: string | null;
1005
1079
  summary?: string | null;
1006
- transcription?: S3Object | null;
1007
1080
  recording?: S3Object | null;
1081
+ transcription?: S3Object | null;
1008
1082
  startedAt?: number | null;
1009
1083
  completedAt?: number | null;
1010
1084
  duration?: number | null;
1085
+ aiProcessingStatus?: ProcessingStatus | null;
1086
+ aiProcessingCompletedAt?: number | null;
1087
+ postProcessingStatus?: ProcessingStatus | null;
1088
+ postProcessingCompletedAt?: number | null;
1089
+ reportProcessingStatus?: ProcessingStatus | null;
1090
+ reportProcessingCompletedAt?: number | null;
1011
1091
  routeConfiguration?: InteractionRouteConfiguration | null;
1012
1092
  temp_isLocked?: boolean | null;
1013
1093
  temp_isAvailableTenantIdUnion?: string | null;
@@ -1120,14 +1200,21 @@ type CreateInteractionInput = {
1120
1200
  direction: InteractionDirection;
1121
1201
  status?: InteractionStatus | null;
1122
1202
  last_status?: InteractionStatus | null;
1123
- metadata?: string | null;
1124
1203
  subject?: string | null;
1204
+ metadata?: string | null;
1205
+ notes?: string | null;
1125
1206
  summary?: string | null;
1126
- transcription?: S3Object | null;
1127
1207
  recording?: S3Object | null;
1208
+ transcription?: S3Object | null;
1128
1209
  startedAt?: number | null;
1129
1210
  completedAt?: number | null;
1130
1211
  duration?: number | null;
1212
+ aiProcessingStatus?: ProcessingStatus | null;
1213
+ aiProcessingCompletedAt?: number | null;
1214
+ postProcessingStatus?: ProcessingStatus | null;
1215
+ postProcessingCompletedAt?: number | null;
1216
+ reportProcessingStatus?: ProcessingStatus | null;
1217
+ reportProcessingCompletedAt?: number | null;
1131
1218
  routeConfiguration?: InteractionRouteConfigurationInput | null;
1132
1219
  temp_isLocked?: boolean | null;
1133
1220
  temp_isAvailableTenantIdUnion?: string | null;
@@ -1151,14 +1238,21 @@ type UpdateInteractionInput = {
1151
1238
  direction?: InteractionDirection | null;
1152
1239
  status?: InteractionStatus | null;
1153
1240
  last_status?: InteractionStatus | null;
1154
- metadata?: string | null;
1155
1241
  subject?: string | null;
1242
+ metadata?: string | null;
1243
+ notes?: string | null;
1156
1244
  summary?: string | null;
1157
- transcription?: S3Object | null;
1158
1245
  recording?: S3Object | null;
1246
+ transcription?: S3Object | null;
1159
1247
  startedAt?: number | null;
1160
1248
  completedAt?: number | null;
1161
1249
  duration?: number | null;
1250
+ aiProcessingStatus?: ProcessingStatus | null;
1251
+ aiProcessingCompletedAt?: number | null;
1252
+ postProcessingStatus?: ProcessingStatus | null;
1253
+ postProcessingCompletedAt?: number | null;
1254
+ reportProcessingStatus?: ProcessingStatus | null;
1255
+ reportProcessingCompletedAt?: number | null;
1162
1256
  routeConfiguration?: InteractionRouteConfigurationInput | null;
1163
1257
  temp_isLocked?: boolean | null;
1164
1258
  temp_isAvailableTenantIdUnion?: string | null;
@@ -1181,12 +1275,19 @@ type ModelInteractionConditionInput = {
1181
1275
  direction?: ModelInteractionDirectionInput | null;
1182
1276
  status?: ModelInteractionStatusInput | null;
1183
1277
  last_status?: ModelInteractionStatusInput | null;
1184
- metadata?: ModelStringInput | null;
1185
1278
  subject?: ModelStringInput | null;
1279
+ metadata?: ModelStringInput | null;
1280
+ notes?: ModelStringInput | null;
1186
1281
  summary?: ModelStringInput | null;
1187
1282
  startedAt?: ModelIntInput | null;
1188
1283
  completedAt?: ModelIntInput | null;
1189
1284
  duration?: ModelIntInput | null;
1285
+ aiProcessingStatus?: ModelProcessingStatusInput | null;
1286
+ aiProcessingCompletedAt?: ModelIntInput | null;
1287
+ postProcessingStatus?: ModelProcessingStatusInput | null;
1288
+ postProcessingCompletedAt?: ModelIntInput | null;
1289
+ reportProcessingStatus?: ModelProcessingStatusInput | null;
1290
+ reportProcessingCompletedAt?: ModelIntInput | null;
1190
1291
  temp_isLocked?: ModelBooleanInput | null;
1191
1292
  temp_isAvailableTenantIdUnion?: ModelStringInput | null;
1192
1293
  createdAt?: ModelIntInput | null;
@@ -1212,12 +1313,19 @@ type ModelInteractionFilterInput = {
1212
1313
  direction?: ModelInteractionDirectionInput | null;
1213
1314
  status?: ModelInteractionStatusInput | null;
1214
1315
  last_status?: ModelInteractionStatusInput | null;
1215
- metadata?: ModelStringInput | null;
1216
1316
  subject?: ModelStringInput | null;
1317
+ metadata?: ModelStringInput | null;
1318
+ notes?: ModelStringInput | null;
1217
1319
  summary?: ModelStringInput | null;
1218
1320
  startedAt?: ModelIntInput | null;
1219
1321
  completedAt?: ModelIntInput | null;
1220
1322
  duration?: ModelIntInput | null;
1323
+ aiProcessingStatus?: ModelProcessingStatusInput | null;
1324
+ aiProcessingCompletedAt?: ModelIntInput | null;
1325
+ postProcessingStatus?: ModelProcessingStatusInput | null;
1326
+ postProcessingCompletedAt?: ModelIntInput | null;
1327
+ reportProcessingStatus?: ModelProcessingStatusInput | null;
1328
+ reportProcessingCompletedAt?: ModelIntInput | null;
1221
1329
  temp_isLocked?: ModelBooleanInput | null;
1222
1330
  temp_isAvailableTenantIdUnion?: ModelStringInput | null;
1223
1331
  createdAt?: ModelIntInput | null;
@@ -1836,7 +1944,7 @@ type __SubscriptionContainer$4 = {
1836
1944
  };
1837
1945
  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
1946
  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";
1947
+ 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
1948
  declare class EntityConversationService {
1841
1949
  private readonly appSyncService;
1842
1950
  constructor(appSyncService: AppSyncHelperService);
@@ -1870,8 +1978,16 @@ declare class EntityService {
1870
1978
  static ɵprov: i0.ɵɵInjectableDeclaration<EntityService>;
1871
1979
  }
1872
1980
 
1873
- declare const FIELDS_INTERACTION_ENDPOINT = "\n id\n externalId\n tenantId\n widgetId\n address\n configuration\n createdAt\n updatedAt\n deletedAt\n";
1981
+ declare const FIELDS_INTERACTION_ENDPOINT = "\n id\n externalId\n tenantId\n widgetId\n address\n configuration\n sellPrice {\n currency\n upfrontCost\n monthlyCost\n inboundCost\n outboundCost\n }\n documents {\n fileName\n documentType\n contentType\n }\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
1982
+ declare const FIELDS_INTERACTION_ENDPOINT_MINIMAL = "\n id\n externalId\n tenantId\n widgetId\n address\n configuration\n createdAt\n updatedAt\n deletedAt\n";
1874
1983
  declare class InteractionEndpointService {
1984
+ private readonly appSyncService;
1985
+ constructor(appSyncService: AppSyncHelperService);
1986
+ GetInteractionEndpoint(id: string): Promise<InteractionEndpoint>;
1987
+ CreateInteractionEndpoint(input: CreateInteractionEndpointInput, condition?: ModelInteractionEndpointConditionInput): Promise<InteractionEndpoint>;
1988
+ UpdateInteractionEndpoint(input: UpdateInteractionEndpointInput, condition?: ModelInteractionEndpointConditionInput): Promise<InteractionEndpoint>;
1989
+ ListInteractionEndpointsByTenantId(tenantId: string, address?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionEndpointFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionEndpoint>>;
1990
+ ListInteractionEndpointsByWidgetId(widgetId: string, address?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionEndpointFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionEndpoint>>;
1875
1991
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEndpointService, never>;
1876
1992
  static ɵprov: i0.ɵɵInjectableDeclaration<InteractionEndpointService>;
1877
1993
  }
@@ -1894,10 +2010,10 @@ type __SubscriptionContainer$3 = {
1894
2010
  OnInteractionMessageByEntityConversationId: InteractionMessage;
1895
2011
  };
1896
2012
  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";
2013
+ 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";
2014
+ 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";
2015
+ 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";
2016
+ 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
2017
  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
2018
  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
2019
  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 +2180,5 @@ declare class CustomValidators {
2064
2180
  static trimLength(minLength: number): ValidatorFn;
2065
2181
  }
2066
2182
 
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 };
2183
+ 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_ENDPOINT_MINIMAL, 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 };
2184
+ export type { AmplifyConfig, Country, CountryCurrency, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionEndpointInput, 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, ModelInteractionEndpointConditionInput, ModelInteractionEndpointFilterInput, 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, UpdateInteractionEndpointInput, 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.21",
3
+ "version": "0.2.23",
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",