@snugdesk/core 0.2.22 → 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/fesm2022/snugdesk-core.mjs +150 -5
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/index.d.ts +74 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -717,6 +717,69 @@ type InteractionEndpointRegulatoryComplianceDocument = {
|
|
|
717
717
|
contentType?: string | null;
|
|
718
718
|
file?: S3Object | null;
|
|
719
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
|
+
};
|
|
720
783
|
|
|
721
784
|
type User = {
|
|
722
785
|
id: string;
|
|
@@ -1915,8 +1978,16 @@ declare class EntityService {
|
|
|
1915
1978
|
static ɵprov: i0.ɵɵInjectableDeclaration<EntityService>;
|
|
1916
1979
|
}
|
|
1917
1980
|
|
|
1918
|
-
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";
|
|
1919
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>>;
|
|
1920
1991
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEndpointService, never>;
|
|
1921
1992
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionEndpointService>;
|
|
1922
1993
|
}
|
|
@@ -2109,5 +2180,5 @@ declare class CustomValidators {
|
|
|
2109
2180
|
static trimLength(minLength: number): ValidatorFn;
|
|
2110
2181
|
}
|
|
2111
2182
|
|
|
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 };
|
|
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.
|
|
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",
|