@snugdesk/core 0.2.18 → 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.
@@ -1321,6 +1321,7 @@ const FIELDS_ENTITY_MINIMAL = `
1321
1321
  id
1322
1322
  externalId
1323
1323
  tenantId
1324
+ entityTypeId
1324
1325
  metadata
1325
1326
  name
1326
1327
  image {
@@ -1375,7 +1376,7 @@ class EntityService {
1375
1376
  const statement = /* GraphQL */ `
1376
1377
  mutation CreateEntity($input: CreateEntityInput!, $condition: ModelEntityConditionInput) {
1377
1378
  createEntity(input: $input, condition: $condition) {
1378
- ${FIELDS_ENTITY}
1379
+ ${FIELDS_ENTITY_MINIMAL}
1379
1380
  }
1380
1381
  }
1381
1382
  `;
@@ -1390,7 +1391,7 @@ class EntityService {
1390
1391
  const statement = /* GraphQL */ `
1391
1392
  mutation UpdateEntity($input: UpdateEntityInput!, $condition: ModelEntityConditionInput) {
1392
1393
  updateEntity(input: $input, condition: $condition) {
1393
- ${FIELDS_ENTITY}
1394
+ ${FIELDS_ENTITY_MINIMAL}
1394
1395
  }
1395
1396
  }
1396
1397
  `;
@@ -1449,7 +1450,7 @@ class EntityService {
1449
1450
  nextToken: $nextToken
1450
1451
  ) {
1451
1452
  items {
1452
- ${FIELDS_ENTITY_EXPANDED}
1453
+ ${FIELDS_ENTITY}
1453
1454
  }
1454
1455
  nextToken
1455
1456
  }
@@ -1882,6 +1883,43 @@ const FIELDS_INTERACTION_HOST = `
1882
1883
  updatedAt
1883
1884
  deletedAt
1884
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
+ `;
1885
1923
  const FIELDS_INTERACTION = `
1886
1924
  id
1887
1925
  tenantId
@@ -2069,8 +2107,6 @@ const FIELDS_INTERACTION_MESSAGE_ATTACHMENT = `
2069
2107
  size
2070
2108
  type
2071
2109
  file {
2072
- key
2073
- bucket
2074
2110
  location
2075
2111
  }
2076
2112
  createdAt
@@ -2168,7 +2204,7 @@ class InteractionService {
2168
2204
  async CreateInteraction(input, condition) {
2169
2205
  const statement = `mutation CreateInteraction($input: CreateInteractionInput!, $condition: ModelInteractionConditionInput) {
2170
2206
  createInteraction(input: $input, condition: $condition) {
2171
- ${FIELDS_INTERACTION}
2207
+ ${FIELDS_INTERACTION_MINIMAL}
2172
2208
  }
2173
2209
  }`;
2174
2210
  const gqlAPIServiceArguments = { input };
@@ -2181,7 +2217,7 @@ class InteractionService {
2181
2217
  async UpdateInteraction(input, condition) {
2182
2218
  const statement = `mutation UpdateInteraction($input: UpdateInteractionInput!, $condition: ModelInteractionConditionInput) {
2183
2219
  updateInteraction(input: $input, condition: $condition) {
2184
- ${FIELDS_INTERACTION}
2220
+ ${FIELDS_INTERACTION_MINIMAL}
2185
2221
  }
2186
2222
  }`;
2187
2223
  const gqlAPIServiceArguments = { input };
@@ -3609,5 +3645,5 @@ class CustomValidators {
3609
3645
  * Generated bundle index. Do not edit.
3610
3646
  */
3611
3647
 
3612
- 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 };
3613
3649
  //# sourceMappingURL=snugdesk-core.mjs.map