@snugdesk/core 0.2.32 → 0.2.33
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 +110 -105
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/index.d.ts +128 -127
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1285,6 +1285,10 @@ declare enum InteractionDirection {
|
|
|
1285
1285
|
IN = "IN",
|
|
1286
1286
|
OUT = "OUT"
|
|
1287
1287
|
}
|
|
1288
|
+
declare enum InteractionMessageDirection {
|
|
1289
|
+
IN = "IN",
|
|
1290
|
+
OUT = "OUT"
|
|
1291
|
+
}
|
|
1288
1292
|
declare enum InteractionStatus {
|
|
1289
1293
|
INITIATED = "INITIATED",
|
|
1290
1294
|
QUEUED = "QUEUED",
|
|
@@ -1434,6 +1438,7 @@ type InteractionMessage = {
|
|
|
1434
1438
|
referenceMessageId?: string | null;
|
|
1435
1439
|
body?: string | null;
|
|
1436
1440
|
metadata?: string | null;
|
|
1441
|
+
direction?: InteractionMessageDirection | null;
|
|
1437
1442
|
createdAt: number;
|
|
1438
1443
|
updatedAt: number;
|
|
1439
1444
|
deletedAt?: number | null;
|
|
@@ -1795,6 +1800,7 @@ type CreateInteractionMessageInput = {
|
|
|
1795
1800
|
referenceMessageId?: string | null;
|
|
1796
1801
|
body?: string | null;
|
|
1797
1802
|
metadata?: string | null;
|
|
1803
|
+
direction?: InteractionMessageDirection | null;
|
|
1798
1804
|
createdAt: number;
|
|
1799
1805
|
updatedAt: number;
|
|
1800
1806
|
deletedAt?: number | null;
|
|
@@ -1810,6 +1816,7 @@ type ModelInteractionMessageConditionInput = {
|
|
|
1810
1816
|
referenceMessageId?: ModelIDInput | null;
|
|
1811
1817
|
body?: ModelStringInput | null;
|
|
1812
1818
|
metadata?: ModelStringInput | null;
|
|
1819
|
+
direction?: ModelInteractionMessageDirectionInput | null;
|
|
1813
1820
|
createdAt?: ModelIntInput | null;
|
|
1814
1821
|
updatedAt?: ModelIntInput | null;
|
|
1815
1822
|
deletedAt?: ModelIntInput | null;
|
|
@@ -1829,6 +1836,7 @@ type ModelInteractionMessageFilterInput = {
|
|
|
1829
1836
|
referenceMessageId?: ModelIDInput | null;
|
|
1830
1837
|
body?: ModelStringInput | null;
|
|
1831
1838
|
metadata?: ModelStringInput | null;
|
|
1839
|
+
direction?: ModelInteractionMessageDirectionInput | null;
|
|
1832
1840
|
createdAt?: ModelIntInput | null;
|
|
1833
1841
|
updatedAt?: ModelIntInput | null;
|
|
1834
1842
|
deletedAt?: ModelIntInput | null;
|
|
@@ -1890,6 +1898,10 @@ type ModelInteractionDirectionInput = {
|
|
|
1890
1898
|
eq?: InteractionDirection | null;
|
|
1891
1899
|
ne?: InteractionDirection | null;
|
|
1892
1900
|
};
|
|
1901
|
+
type ModelInteractionMessageDirectionInput = {
|
|
1902
|
+
eq?: InteractionMessageDirection | null;
|
|
1903
|
+
ne?: InteractionMessageDirection | null;
|
|
1904
|
+
};
|
|
1893
1905
|
type ModelInteractionProviderInput = {
|
|
1894
1906
|
eq?: InteractionProvider | null;
|
|
1895
1907
|
ne?: InteractionProvider | null;
|
|
@@ -1904,6 +1916,115 @@ type InteractionRouteConfigurationInput = {
|
|
|
1904
1916
|
maxWaitTimeoutSeconds?: number | null;
|
|
1905
1917
|
};
|
|
1906
1918
|
|
|
1919
|
+
type EntityConversation = {
|
|
1920
|
+
id: string;
|
|
1921
|
+
tenantId: string;
|
|
1922
|
+
entityId?: string | null;
|
|
1923
|
+
entity?: Entity | null;
|
|
1924
|
+
entityAddress: string;
|
|
1925
|
+
interactionChannel: InteractionChannel;
|
|
1926
|
+
interactionProvider: InteractionProvider;
|
|
1927
|
+
isCampaignEngaged: boolean;
|
|
1928
|
+
campaignId?: string | null;
|
|
1929
|
+
lastCampaignFlowNodeId?: string | null;
|
|
1930
|
+
lastInteractionMessageId?: string | null;
|
|
1931
|
+
metadata?: string | null;
|
|
1932
|
+
lastActivityAt?: number | null;
|
|
1933
|
+
lastMessageAt?: number | null;
|
|
1934
|
+
archivedAt?: number | null;
|
|
1935
|
+
blockedAt?: number | null;
|
|
1936
|
+
createdAt: number;
|
|
1937
|
+
updatedAt: number;
|
|
1938
|
+
deletedAt?: number | null;
|
|
1939
|
+
interactions?: List<Interaction> | null;
|
|
1940
|
+
messages?: List<InteractionMessage> | null;
|
|
1941
|
+
};
|
|
1942
|
+
type CreateEntityConversationInput = {
|
|
1943
|
+
id?: string | null;
|
|
1944
|
+
tenantId: string;
|
|
1945
|
+
entityId?: string | null;
|
|
1946
|
+
entityAddress: string;
|
|
1947
|
+
interactionChannel: InteractionChannel;
|
|
1948
|
+
interactionProvider: InteractionProvider;
|
|
1949
|
+
isCampaignEngaged: boolean;
|
|
1950
|
+
campaignId?: string | null;
|
|
1951
|
+
lastCampaignFlowNodeId?: string | null;
|
|
1952
|
+
lastInteractionMessageId?: string | null;
|
|
1953
|
+
metadata?: string | null;
|
|
1954
|
+
lastActivityAt?: number | null;
|
|
1955
|
+
lastMessageAt?: number | null;
|
|
1956
|
+
archivedAt?: number | null;
|
|
1957
|
+
blockedAt?: number | null;
|
|
1958
|
+
createdAt: number;
|
|
1959
|
+
updatedAt: number;
|
|
1960
|
+
deletedAt?: number | null;
|
|
1961
|
+
};
|
|
1962
|
+
type UpdateEntityConversationInput = {
|
|
1963
|
+
id: string;
|
|
1964
|
+
tenantId?: string | null;
|
|
1965
|
+
entityId?: string | null;
|
|
1966
|
+
entityAddress?: string | null;
|
|
1967
|
+
interactionChannel?: InteractionChannel | null;
|
|
1968
|
+
interactionProvider?: InteractionProvider | null;
|
|
1969
|
+
isCampaignEngaged?: boolean | null;
|
|
1970
|
+
campaignId?: string | null;
|
|
1971
|
+
lastCampaignFlowNodeId?: string | null;
|
|
1972
|
+
lastInteractionMessageId?: string | null;
|
|
1973
|
+
metadata?: string | null;
|
|
1974
|
+
lastActivityAt?: number | null;
|
|
1975
|
+
lastMessageAt?: number | null;
|
|
1976
|
+
archivedAt?: number | null;
|
|
1977
|
+
blockedAt?: number | null;
|
|
1978
|
+
createdAt?: number | null;
|
|
1979
|
+
updatedAt?: number | null;
|
|
1980
|
+
deletedAt?: number | null;
|
|
1981
|
+
};
|
|
1982
|
+
type ModelEntityConversationConditionInput = {
|
|
1983
|
+
tenantId?: ModelIDInput | null;
|
|
1984
|
+
entityId?: ModelIDInput | null;
|
|
1985
|
+
entityAddress?: ModelStringInput | null;
|
|
1986
|
+
interactionChannel?: ModelInteractionChannelInput | null;
|
|
1987
|
+
interactionProvider?: ModelInteractionProviderInput | null;
|
|
1988
|
+
isCampaignEngaged?: ModelBooleanInput | null;
|
|
1989
|
+
campaignId?: ModelIDInput | null;
|
|
1990
|
+
lastCampaignFlowNodeId?: ModelIDInput | null;
|
|
1991
|
+
lastInteractionMessageId?: ModelIDInput | null;
|
|
1992
|
+
metadata?: ModelStringInput | null;
|
|
1993
|
+
lastActivityAt?: ModelIntInput | null;
|
|
1994
|
+
lastMessageAt?: ModelIntInput | null;
|
|
1995
|
+
archivedAt?: ModelIntInput | null;
|
|
1996
|
+
blockedAt?: ModelIntInput | null;
|
|
1997
|
+
createdAt?: ModelIntInput | null;
|
|
1998
|
+
updatedAt?: ModelIntInput | null;
|
|
1999
|
+
deletedAt?: ModelIntInput | null;
|
|
2000
|
+
and?: Array<ModelEntityConversationConditionInput | null> | null;
|
|
2001
|
+
or?: Array<ModelEntityConversationConditionInput | null> | null;
|
|
2002
|
+
not?: ModelEntityConversationConditionInput | null;
|
|
2003
|
+
};
|
|
2004
|
+
type ModelEntityConversationFilterInput = {
|
|
2005
|
+
id?: ModelIDInput | null;
|
|
2006
|
+
tenantId?: ModelIDInput | null;
|
|
2007
|
+
entityId?: ModelIDInput | null;
|
|
2008
|
+
entityAddress?: ModelStringInput | null;
|
|
2009
|
+
interactionChannel?: ModelInteractionChannelInput | null;
|
|
2010
|
+
interactionProvider?: ModelInteractionProviderInput | null;
|
|
2011
|
+
isCampaignEngaged?: ModelBooleanInput | null;
|
|
2012
|
+
campaignId?: ModelIDInput | null;
|
|
2013
|
+
lastCampaignFlowNodeId?: ModelIDInput | null;
|
|
2014
|
+
lastInteractionMessageId?: ModelIDInput | null;
|
|
2015
|
+
metadata?: ModelStringInput | null;
|
|
2016
|
+
lastActivityAt?: ModelIntInput | null;
|
|
2017
|
+
lastMessageAt?: ModelIntInput | null;
|
|
2018
|
+
archivedAt?: ModelIntInput | null;
|
|
2019
|
+
blockedAt?: ModelIntInput | null;
|
|
2020
|
+
createdAt?: ModelIntInput | null;
|
|
2021
|
+
updatedAt?: ModelIntInput | null;
|
|
2022
|
+
deletedAt?: ModelIntInput | null;
|
|
2023
|
+
and?: Array<ModelEntityConversationFilterInput | null> | null;
|
|
2024
|
+
or?: Array<ModelEntityConversationFilterInput | null> | null;
|
|
2025
|
+
not?: ModelEntityConversationFilterInput | null;
|
|
2026
|
+
};
|
|
2027
|
+
|
|
1907
2028
|
type Ticket = {
|
|
1908
2029
|
id: string;
|
|
1909
2030
|
externalId?: string | null;
|
|
@@ -2099,126 +2220,6 @@ type ModelTicketTypeFilterInput = {
|
|
|
2099
2220
|
not?: ModelTicketTypeFilterInput | null;
|
|
2100
2221
|
};
|
|
2101
2222
|
|
|
2102
|
-
type EntityConversation = {
|
|
2103
|
-
id: string;
|
|
2104
|
-
tenantId: string;
|
|
2105
|
-
entityId?: string | null;
|
|
2106
|
-
entity?: Entity | null;
|
|
2107
|
-
entityAddress: string;
|
|
2108
|
-
interactionChannel: InteractionChannel;
|
|
2109
|
-
interactionProvider: InteractionProvider;
|
|
2110
|
-
isCampaignEngaged: boolean;
|
|
2111
|
-
campaignId?: string | null;
|
|
2112
|
-
lastCampaignFlowNodeId?: string | null;
|
|
2113
|
-
lastInteractionMessageId?: string | null;
|
|
2114
|
-
metadata?: string | null;
|
|
2115
|
-
lastActivityAt?: number | null;
|
|
2116
|
-
lastMessageAt?: number | null;
|
|
2117
|
-
archivedAt?: number | null;
|
|
2118
|
-
blockedAt?: number | null;
|
|
2119
|
-
isTicketCreated: boolean;
|
|
2120
|
-
ticketId?: string | null;
|
|
2121
|
-
ticket?: Ticket | null;
|
|
2122
|
-
createdAt: number;
|
|
2123
|
-
updatedAt: number;
|
|
2124
|
-
deletedAt?: number | null;
|
|
2125
|
-
interactions?: List<Interaction> | null;
|
|
2126
|
-
messages?: List<InteractionMessage> | null;
|
|
2127
|
-
};
|
|
2128
|
-
type CreateEntityConversationInput = {
|
|
2129
|
-
id?: string | null;
|
|
2130
|
-
tenantId: string;
|
|
2131
|
-
entityId?: string | null;
|
|
2132
|
-
entityAddress: string;
|
|
2133
|
-
interactionChannel: InteractionChannel;
|
|
2134
|
-
interactionProvider: InteractionProvider;
|
|
2135
|
-
isCampaignEngaged: boolean;
|
|
2136
|
-
campaignId?: string | null;
|
|
2137
|
-
lastCampaignFlowNodeId?: string | null;
|
|
2138
|
-
lastInteractionMessageId?: string | null;
|
|
2139
|
-
metadata?: string | null;
|
|
2140
|
-
lastActivityAt?: number | null;
|
|
2141
|
-
lastMessageAt?: number | null;
|
|
2142
|
-
archivedAt?: number | null;
|
|
2143
|
-
blockedAt?: number | null;
|
|
2144
|
-
isTicketCreated: boolean;
|
|
2145
|
-
ticketId?: string | null;
|
|
2146
|
-
createdAt: number;
|
|
2147
|
-
updatedAt: number;
|
|
2148
|
-
deletedAt?: number | null;
|
|
2149
|
-
};
|
|
2150
|
-
type UpdateEntityConversationInput = {
|
|
2151
|
-
id: string;
|
|
2152
|
-
tenantId?: string | null;
|
|
2153
|
-
entityId?: string | null;
|
|
2154
|
-
entityAddress?: string | null;
|
|
2155
|
-
interactionChannel?: InteractionChannel | null;
|
|
2156
|
-
interactionProvider?: InteractionProvider | null;
|
|
2157
|
-
isCampaignEngaged?: boolean | null;
|
|
2158
|
-
campaignId?: string | null;
|
|
2159
|
-
lastCampaignFlowNodeId?: string | null;
|
|
2160
|
-
lastInteractionMessageId?: string | null;
|
|
2161
|
-
metadata?: string | null;
|
|
2162
|
-
lastActivityAt?: number | null;
|
|
2163
|
-
lastMessageAt?: number | null;
|
|
2164
|
-
archivedAt?: number | null;
|
|
2165
|
-
blockedAt?: number | null;
|
|
2166
|
-
isTicketCreated?: boolean | null;
|
|
2167
|
-
ticketId?: string | null;
|
|
2168
|
-
createdAt?: number | null;
|
|
2169
|
-
updatedAt?: number | null;
|
|
2170
|
-
deletedAt?: number | null;
|
|
2171
|
-
};
|
|
2172
|
-
type ModelEntityConversationConditionInput = {
|
|
2173
|
-
tenantId?: ModelIDInput | null;
|
|
2174
|
-
entityId?: ModelIDInput | null;
|
|
2175
|
-
entityAddress?: ModelStringInput | null;
|
|
2176
|
-
interactionChannel?: ModelInteractionChannelInput | null;
|
|
2177
|
-
interactionProvider?: ModelInteractionProviderInput | null;
|
|
2178
|
-
isCampaignEngaged?: ModelBooleanInput | null;
|
|
2179
|
-
campaignId?: ModelIDInput | null;
|
|
2180
|
-
lastCampaignFlowNodeId?: ModelIDInput | null;
|
|
2181
|
-
lastInteractionMessageId?: ModelIDInput | null;
|
|
2182
|
-
metadata?: ModelStringInput | null;
|
|
2183
|
-
lastActivityAt?: ModelIntInput | null;
|
|
2184
|
-
lastMessageAt?: ModelIntInput | null;
|
|
2185
|
-
archivedAt?: ModelIntInput | null;
|
|
2186
|
-
blockedAt?: ModelIntInput | null;
|
|
2187
|
-
isTicketCreated?: ModelBooleanInput | null;
|
|
2188
|
-
ticketId?: ModelIDInput | null;
|
|
2189
|
-
createdAt?: ModelIntInput | null;
|
|
2190
|
-
updatedAt?: ModelIntInput | null;
|
|
2191
|
-
deletedAt?: ModelIntInput | null;
|
|
2192
|
-
and?: Array<ModelEntityConversationConditionInput | null> | null;
|
|
2193
|
-
or?: Array<ModelEntityConversationConditionInput | null> | null;
|
|
2194
|
-
not?: ModelEntityConversationConditionInput | null;
|
|
2195
|
-
};
|
|
2196
|
-
type ModelEntityConversationFilterInput = {
|
|
2197
|
-
id?: ModelIDInput | null;
|
|
2198
|
-
tenantId?: ModelIDInput | null;
|
|
2199
|
-
entityId?: ModelIDInput | null;
|
|
2200
|
-
entityAddress?: ModelStringInput | null;
|
|
2201
|
-
interactionChannel?: ModelInteractionChannelInput | null;
|
|
2202
|
-
interactionProvider?: ModelInteractionProviderInput | null;
|
|
2203
|
-
isCampaignEngaged?: ModelBooleanInput | null;
|
|
2204
|
-
campaignId?: ModelIDInput | null;
|
|
2205
|
-
lastCampaignFlowNodeId?: ModelIDInput | null;
|
|
2206
|
-
lastInteractionMessageId?: ModelIDInput | null;
|
|
2207
|
-
metadata?: ModelStringInput | null;
|
|
2208
|
-
lastActivityAt?: ModelIntInput | null;
|
|
2209
|
-
lastMessageAt?: ModelIntInput | null;
|
|
2210
|
-
archivedAt?: ModelIntInput | null;
|
|
2211
|
-
blockedAt?: ModelIntInput | null;
|
|
2212
|
-
isTicketCreated?: ModelBooleanInput | null;
|
|
2213
|
-
ticketId?: ModelIDInput | null;
|
|
2214
|
-
createdAt?: ModelIntInput | null;
|
|
2215
|
-
updatedAt?: ModelIntInput | null;
|
|
2216
|
-
deletedAt?: ModelIntInput | null;
|
|
2217
|
-
and?: Array<ModelEntityConversationFilterInput | null> | null;
|
|
2218
|
-
or?: Array<ModelEntityConversationFilterInput | null> | null;
|
|
2219
|
-
not?: ModelEntityConversationFilterInput | null;
|
|
2220
|
-
};
|
|
2221
|
-
|
|
2222
2223
|
declare const FIELDS_LANGUAGE = "\n code\n nameEn\n nameLocal\n";
|
|
2223
2224
|
declare const FIELDS_COUNTRY = "\n code\n nameEn\n nameLocal\n currency {\n code\n nameEn\n }\n officialLanguage {\n \n code\n nameEn\n nameLocal\n\n }\n callingCode\n region\n flag\n";
|
|
2224
2225
|
declare const FIELDS_PHONE_NUMBER = "\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n";
|
|
@@ -2263,9 +2264,9 @@ declare class EntityService {
|
|
|
2263
2264
|
type __SubscriptionContainer$4 = {
|
|
2264
2265
|
OnEntityConversationByTenantId: EntityConversation;
|
|
2265
2266
|
};
|
|
2266
|
-
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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n key\n bucket\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
|
|
2267
|
-
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
|
|
2268
|
-
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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n key\n bucket\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
|
|
2267
|
+
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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n key\n bucket\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";
|
|
2268
|
+
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";
|
|
2269
|
+
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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n key\n bucket\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 key\n bucket\n location\n }\n recording {\n key\n bucket\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 direction\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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n\n }\n nextToken\n }\n";
|
|
2269
2270
|
declare class EntityConversationService {
|
|
2270
2271
|
private readonly appSyncService;
|
|
2271
2272
|
constructor(appSyncService: AppSyncHelperService);
|
|
@@ -2294,8 +2295,8 @@ declare const FIELDS_INTERACTION_INVITEE = "\n id\n interactionId\n interacti
|
|
|
2294
2295
|
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";
|
|
2295
2296
|
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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n key\n bucket\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 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 \n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n\n }\n preferences {\n timezoneName\n language {\n \n code\n nameEn\n nameLocal\n\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 updatedByUserId\n updatedByUserSessionId\n\n }\n userSessionId\n name\n metadata\n customFields\n isAdministrator\n joinedAt\n exitedAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
2296
2297
|
declare const FIELDS_INTERACTION_MESSAGE_ATTACHMENT = "\n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n";
|
|
2297
|
-
declare const FIELDS_INTERACTION_MESSAGE = "\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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n";
|
|
2298
|
-
declare const FIELDS_INTERACTION_MESSAGE_EXPANDED = "\n id\n externalId\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 campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n interactionAttendee {\n \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\n }\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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n";
|
|
2298
|
+
declare const FIELDS_INTERACTION_MESSAGE = "\n id\n externalId\n endpointId\n campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n body\n metadata\n referenceMessageId\n direction\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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n";
|
|
2299
|
+
declare const FIELDS_INTERACTION_MESSAGE_EXPANDED = "\n id\n externalId\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 campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n interactionAttendee {\n \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\n }\n body\n metadata\n referenceMessageId\n direction\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 key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n";
|
|
2299
2300
|
declare class InteractionService {
|
|
2300
2301
|
private readonly appSyncService;
|
|
2301
2302
|
newInteractionInviteObservable$: BehaviorSubject<any>;
|
|
@@ -2617,5 +2618,5 @@ declare class InteractionMessageTemplateService {
|
|
|
2617
2618
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionMessageTemplateService>;
|
|
2618
2619
|
}
|
|
2619
2620
|
|
|
2620
|
-
export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CommonService, CustomPipesModule, CustomValidators, DomainNamePipe, EmailConversationResolverService, EmailEntityResolverService, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_COUNTRY, 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_MESSAGE_TEMPLATE, FIELDS_INTERACTION_MINIMAL, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_LANGUAGE, FIELDS_PHONE_NUMBER, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TENANT_COMPLIANCE_DOCUMENT, FIELDS_TENANT_EXPANDED, FIELDS_TENANT_MINIMAL, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig, sanitizeHtmlBody };
|
|
2621
|
-
export type { AmplifyConfig, Country, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionEndpointInput, CreateInteractionHostInput, CreateInteractionInput, CreateInteractionInviteeInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, CreateTeamInput, CreateTeamMemberInput, CreateTenantComplianceDocumentInput, CreateTenantInput, CreateUserInput, Currency, EmailConversationFilters, EmailHeaders, EmailMessageMetadata, EncryptedStorageKeys, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, EntityType, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionMessageTemplate, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetUserSetting, Language, List, MailboxConfig, 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, ModelTenantComplianceDocumentConditionInput, ModelTenantComplianceDocumentFilterInput, ModelTenantComplianceDocumentStatusInput, ModelTenantComplianceDocumentTypeInput, ModelTenantConditionInput, ModelTicketConditionInput, ModelTicketFilterInput, ModelTicketPriorityConditionInput, ModelTicketPriorityFilterInput, ModelTicketStatusConditionInput, ModelTicketStatusFilterInput, ModelTicketTypeConditionInput, ModelTicketTypeFilterInput, ModelUserConditionInput, ModelUserFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, ModelUserTypeInput, OAuthConfig, OpenSearchHit, OpenSearchResponse, PhoneNumber, S3Config, S3Credentials, S3Object, SubscriptionResponse, Team, TeamMember, Tenant, TenantBillingInformation, TenantComplianceDocument, TenantContactInformation, TenantPreferences, TenantSSOConfiguration, TenantSecurity, Ticket, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionEndpointInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateTenantComplianceDocumentInput, UpdateTenantInput, UpdateUserInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
|
|
2621
|
+
export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CommonService, CustomPipesModule, CustomValidators, DomainNamePipe, EmailConversationResolverService, EmailEntityResolverService, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_COUNTRY, 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_MESSAGE_TEMPLATE, FIELDS_INTERACTION_MINIMAL, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_LANGUAGE, FIELDS_PHONE_NUMBER, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TENANT_COMPLIANCE_DOCUMENT, FIELDS_TENANT_EXPANDED, FIELDS_TENANT_MINIMAL, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionMessageDirection, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig, sanitizeHtmlBody };
|
|
2622
|
+
export type { AmplifyConfig, Country, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionEndpointInput, CreateInteractionHostInput, CreateInteractionInput, CreateInteractionInviteeInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, CreateTeamInput, CreateTeamMemberInput, CreateTenantComplianceDocumentInput, CreateTenantInput, CreateUserInput, Currency, EmailConversationFilters, EmailHeaders, EmailMessageMetadata, EncryptedStorageKeys, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, EntityType, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionMessageTemplate, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetUserSetting, Language, List, MailboxConfig, 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, ModelInteractionMessageDirectionInput, ModelInteractionMessageFilterInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelInteractionWidgetUserSettingFilterInput, ModelProcessingStatusInput, ModelSizeInput, ModelStringInput, ModelStringKeyConditionInput, ModelTeamConditionInput, ModelTeamFilterInput, ModelTeamMemberConditionInput, ModelTeamMemberFilterInput, ModelTenantComplianceDocumentConditionInput, ModelTenantComplianceDocumentFilterInput, ModelTenantComplianceDocumentStatusInput, ModelTenantComplianceDocumentTypeInput, ModelTenantConditionInput, ModelTicketConditionInput, ModelTicketFilterInput, ModelTicketPriorityConditionInput, ModelTicketPriorityFilterInput, ModelTicketStatusConditionInput, ModelTicketStatusFilterInput, ModelTicketTypeConditionInput, ModelTicketTypeFilterInput, ModelUserConditionInput, ModelUserFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, ModelUserTypeInput, OAuthConfig, OpenSearchHit, OpenSearchResponse, PhoneNumber, S3Config, S3Credentials, S3Object, SubscriptionResponse, Team, TeamMember, Tenant, TenantBillingInformation, TenantComplianceDocument, TenantContactInformation, TenantPreferences, TenantSSOConfiguration, TenantSecurity, Ticket, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionEndpointInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateTenantComplianceDocumentInput, UpdateTenantInput, UpdateUserInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snugdesk/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
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",
|