@snugdesk/core 0.2.41 → 0.2.43
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/README.md +152 -10
- package/fesm2022/snugdesk-core.mjs +615 -258
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/package.json +5 -4
- package/{index.d.ts → types/snugdesk-core.d.ts} +489 -64
|
@@ -5,8 +5,8 @@ import * as i5 from '@angular/forms';
|
|
|
5
5
|
import { ValidatorFn, FormGroup } from '@angular/forms';
|
|
6
6
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
7
|
import { BehaviorSubject, Subscription, Observable } from 'rxjs';
|
|
8
|
-
import { HttpClient } from '@angular/common/http';
|
|
9
8
|
import { GraphQLResult } from '@aws-amplify/api-graphql';
|
|
9
|
+
import { HttpClient } from '@angular/common/http';
|
|
10
10
|
|
|
11
11
|
declare class ErrorComponent implements OnChanges {
|
|
12
12
|
private cdr;
|
|
@@ -86,31 +86,7 @@ declare class SnugdeskCoreModule {
|
|
|
86
86
|
static ɵinj: i0.ɵɵInjectorDeclaration<SnugdeskCoreModule>;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
declare class SnugdeskIPRegistryService {
|
|
90
|
-
private http;
|
|
91
|
-
private readonly IP_REGISTRY_API;
|
|
92
|
-
private readonly SESSION_KEY;
|
|
93
|
-
constructor(http: HttpClient);
|
|
94
|
-
private get cachedIPDetails();
|
|
95
|
-
private set cachedIPDetails(value);
|
|
96
|
-
getIPDetails(): Promise<any>;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnugdeskIPRegistryService, never>;
|
|
98
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SnugdeskIPRegistryService>;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
declare class SnugdeskAuthenticationHelperService {
|
|
102
|
-
private httpClient;
|
|
103
|
-
private ipRegistryService;
|
|
104
|
-
private readonly headers;
|
|
105
|
-
private readonly authEndpointURL;
|
|
106
|
-
constructor(httpClient: HttpClient, ipRegistryService: SnugdeskIPRegistryService);
|
|
107
|
-
getSessionToken(tenantId: string, userId: string): Promise<any>;
|
|
108
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnugdeskAuthenticationHelperService, never>;
|
|
109
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SnugdeskAuthenticationHelperService>;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
89
|
declare class SnugdeskAuthenticationService {
|
|
113
|
-
private authenticationHelperService;
|
|
114
90
|
isAuthenticated$: BehaviorSubject<boolean>;
|
|
115
91
|
tenant$: BehaviorSubject<any>;
|
|
116
92
|
user$: BehaviorSubject<any>;
|
|
@@ -120,7 +96,7 @@ declare class SnugdeskAuthenticationService {
|
|
|
120
96
|
userSessionSubscription: Subscription;
|
|
121
97
|
private readonly jwtHelper;
|
|
122
98
|
private readonly TOKEN_KEY;
|
|
123
|
-
constructor(
|
|
99
|
+
constructor();
|
|
124
100
|
getToken(): string | null;
|
|
125
101
|
setToken(token: string): void;
|
|
126
102
|
checkToken(token: string): boolean;
|
|
@@ -130,8 +106,12 @@ declare class SnugdeskAuthenticationService {
|
|
|
130
106
|
getUserSessionId(): string;
|
|
131
107
|
getUserPreferences(): any;
|
|
132
108
|
isAuthenticated(): boolean;
|
|
133
|
-
|
|
134
|
-
|
|
109
|
+
/**
|
|
110
|
+
* Establishes a session from a token issued by the host's backend. The token
|
|
111
|
+
* carries tenantId, userId and userSessionId, so nothing else is needed — read
|
|
112
|
+
* them back with getTenantId() / getUserId() once this resolves.
|
|
113
|
+
*/
|
|
114
|
+
authenticate(token: string): Promise<boolean>;
|
|
135
115
|
logout(userSessionId?: string): Promise<void>;
|
|
136
116
|
endUserSession(userSessionId?: string): Promise<void>;
|
|
137
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<SnugdeskAuthenticationService, never>;
|
|
@@ -386,9 +366,19 @@ declare enum TenantSSOConfigurationProtocol {
|
|
|
386
366
|
SAML = "SAML",
|
|
387
367
|
OIDC = "OIDC"
|
|
388
368
|
}
|
|
369
|
+
declare enum TenantExternalCrmProvider {
|
|
370
|
+
SAP = "SAP",
|
|
371
|
+
SALESFORCE = "SALESFORCE"
|
|
372
|
+
}
|
|
373
|
+
declare enum TenantOnboardingStatus {
|
|
374
|
+
NOT_STARTED = "NOT_STARTED",
|
|
375
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
376
|
+
COMPLETED = "COMPLETED"
|
|
377
|
+
}
|
|
389
378
|
type Tenant = {
|
|
390
379
|
id: string;
|
|
391
380
|
externalId?: string | null;
|
|
381
|
+
externalCrmProvider?: TenantExternalCrmProvider | null;
|
|
392
382
|
tenantDomain: string;
|
|
393
383
|
organizationName: string;
|
|
394
384
|
websiteURL?: string | null;
|
|
@@ -398,6 +388,8 @@ type Tenant = {
|
|
|
398
388
|
preferences?: TenantPreferences | null;
|
|
399
389
|
ssoConfiguration?: TenantSSOConfiguration | null;
|
|
400
390
|
security?: TenantSecurity | null;
|
|
391
|
+
profile?: TenantProfile | null;
|
|
392
|
+
onboarding?: TenantOnboarding | null;
|
|
401
393
|
activatedAt?: number | null;
|
|
402
394
|
blockedAt?: number | null;
|
|
403
395
|
createdAt: number;
|
|
@@ -452,6 +444,44 @@ type TenantPreferences = {
|
|
|
452
444
|
language?: Language | null;
|
|
453
445
|
allowUserToChangePreferences?: boolean | null;
|
|
454
446
|
brandColor?: string | null;
|
|
447
|
+
workingHours?: TenantWorkingHours | null;
|
|
448
|
+
availabilityConfig?: TenantAvailabilityCallingConfig | null;
|
|
449
|
+
recordingExcludedUserIds?: Array<string | null> | null;
|
|
450
|
+
};
|
|
451
|
+
type TenantWorkingHours = {
|
|
452
|
+
timezone?: string | null;
|
|
453
|
+
days?: Array<TenantWorkingHoursDay | null> | null;
|
|
454
|
+
};
|
|
455
|
+
type TenantWorkingHoursDay = {
|
|
456
|
+
day?: string | null;
|
|
457
|
+
open?: boolean | null;
|
|
458
|
+
start?: string | null;
|
|
459
|
+
end?: string | null;
|
|
460
|
+
};
|
|
461
|
+
type TenantAvailabilityCallingConfig = {
|
|
462
|
+
customStatuses?: Array<TenantAvailabilityStatus | null> | null;
|
|
463
|
+
allowDialUnsavedNumber?: boolean | null;
|
|
464
|
+
acwTime?: number | null;
|
|
465
|
+
ringtone?: string | null;
|
|
466
|
+
};
|
|
467
|
+
type TenantAvailabilityStatus = {
|
|
468
|
+
key?: string | null;
|
|
469
|
+
name?: string | null;
|
|
470
|
+
colour?: string | null;
|
|
471
|
+
available?: boolean | null;
|
|
472
|
+
};
|
|
473
|
+
type TenantProfile = {
|
|
474
|
+
businessType?: string | null;
|
|
475
|
+
industry?: string | null;
|
|
476
|
+
teamSize?: string | null;
|
|
477
|
+
goals?: Array<string | null> | null;
|
|
478
|
+
};
|
|
479
|
+
type TenantOnboarding = {
|
|
480
|
+
status: TenantOnboardingStatus;
|
|
481
|
+
currentStep?: string | null;
|
|
482
|
+
completedSteps?: Array<string | null> | null;
|
|
483
|
+
startedAt?: number | null;
|
|
484
|
+
completedAt?: number | null;
|
|
455
485
|
};
|
|
456
486
|
type TenantSecurity = {
|
|
457
487
|
domainValidationTokenExpiry?: number | null;
|
|
@@ -471,6 +501,7 @@ type TenantSSOConfiguration = {
|
|
|
471
501
|
type CreateTenantInput = {
|
|
472
502
|
id?: string | null;
|
|
473
503
|
externalId?: string | null;
|
|
504
|
+
externalCrmProvider?: TenantExternalCrmProvider | null;
|
|
474
505
|
tenantDomain: string;
|
|
475
506
|
organizationName: string;
|
|
476
507
|
websiteURL?: string | null;
|
|
@@ -480,7 +511,8 @@ type CreateTenantInput = {
|
|
|
480
511
|
preferences?: TenantPreferences | null;
|
|
481
512
|
ssoConfiguration?: TenantSSOConfiguration | null;
|
|
482
513
|
security?: TenantSecurity | null;
|
|
483
|
-
|
|
514
|
+
profile?: TenantProfile | null;
|
|
515
|
+
onboarding?: TenantOnboarding | null;
|
|
484
516
|
activatedAt?: number | null;
|
|
485
517
|
blockedAt?: number | null;
|
|
486
518
|
createdAt: number;
|
|
@@ -492,6 +524,7 @@ type CreateTenantInput = {
|
|
|
492
524
|
type UpdateTenantInput = {
|
|
493
525
|
id: string;
|
|
494
526
|
externalId?: string | null;
|
|
527
|
+
externalCrmProvider?: TenantExternalCrmProvider | null;
|
|
495
528
|
tenantDomain?: string | null;
|
|
496
529
|
organizationName?: string | null;
|
|
497
530
|
websiteURL?: string | null;
|
|
@@ -501,7 +534,8 @@ type UpdateTenantInput = {
|
|
|
501
534
|
preferences?: TenantPreferences | null;
|
|
502
535
|
ssoConfiguration?: TenantSSOConfiguration | null;
|
|
503
536
|
security?: TenantSecurity | null;
|
|
504
|
-
|
|
537
|
+
profile?: TenantProfile | null;
|
|
538
|
+
onboarding?: TenantOnboarding | null;
|
|
505
539
|
activatedAt?: number | null;
|
|
506
540
|
blockedAt?: number | null;
|
|
507
541
|
createdAt?: number | null;
|
|
@@ -512,10 +546,10 @@ type UpdateTenantInput = {
|
|
|
512
546
|
};
|
|
513
547
|
type ModelTenantConditionInput = {
|
|
514
548
|
externalId?: ModelStringInput | null;
|
|
549
|
+
externalCrmProvider?: ModelTenantExternalCrmProviderInput | null;
|
|
515
550
|
tenantDomain?: ModelStringInput | null;
|
|
516
551
|
organizationName?: ModelStringInput | null;
|
|
517
552
|
websiteURL?: ModelStringInput | null;
|
|
518
|
-
temp_activationToken?: ModelStringInput | null;
|
|
519
553
|
activatedAt?: ModelIntInput | null;
|
|
520
554
|
blockedAt?: ModelIntInput | null;
|
|
521
555
|
createdAt?: ModelIntInput | null;
|
|
@@ -527,6 +561,28 @@ type ModelTenantConditionInput = {
|
|
|
527
561
|
or?: Array<ModelTenantConditionInput | null> | null;
|
|
528
562
|
not?: ModelTenantConditionInput | null;
|
|
529
563
|
};
|
|
564
|
+
type ModelTenantFilterInput = {
|
|
565
|
+
id?: ModelIDInput | null;
|
|
566
|
+
externalId?: ModelStringInput | null;
|
|
567
|
+
externalCrmProvider?: ModelTenantExternalCrmProviderInput | null;
|
|
568
|
+
tenantDomain?: ModelStringInput | null;
|
|
569
|
+
organizationName?: ModelStringInput | null;
|
|
570
|
+
websiteURL?: ModelStringInput | null;
|
|
571
|
+
activatedAt?: ModelIntInput | null;
|
|
572
|
+
blockedAt?: ModelIntInput | null;
|
|
573
|
+
createdAt?: ModelIntInput | null;
|
|
574
|
+
updatedAt?: ModelIntInput | null;
|
|
575
|
+
deletedAt?: ModelIntInput | null;
|
|
576
|
+
updatedByUserId?: ModelIDInput | null;
|
|
577
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
578
|
+
and?: Array<ModelTenantFilterInput | null> | null;
|
|
579
|
+
or?: Array<ModelTenantFilterInput | null> | null;
|
|
580
|
+
not?: ModelTenantFilterInput | null;
|
|
581
|
+
};
|
|
582
|
+
type ModelTenantExternalCrmProviderInput = {
|
|
583
|
+
eq?: TenantExternalCrmProvider | null;
|
|
584
|
+
ne?: TenantExternalCrmProvider | null;
|
|
585
|
+
};
|
|
530
586
|
type CreateTenantComplianceDocumentInput = {
|
|
531
587
|
id?: string | null;
|
|
532
588
|
tenantId: string;
|
|
@@ -625,9 +681,14 @@ declare enum BillingAccountStatus {
|
|
|
625
681
|
PENDING_KYC = "PENDING_KYC",
|
|
626
682
|
ACTIVE = "ACTIVE",
|
|
627
683
|
NO_BALANCE = "NO_BALANCE",
|
|
684
|
+
SUSPENDED = "SUSPENDED",
|
|
628
685
|
BLOCKED = "BLOCKED",
|
|
629
686
|
TERMINATED = "TERMINATED"
|
|
630
687
|
}
|
|
688
|
+
declare enum BillingMode {
|
|
689
|
+
PREPAID = "PREPAID",
|
|
690
|
+
POSTPAID = "POSTPAID"
|
|
691
|
+
}
|
|
631
692
|
declare enum BillingLedgerDirection {
|
|
632
693
|
DEBIT = "DEBIT",
|
|
633
694
|
CREDIT = "CREDIT"
|
|
@@ -777,11 +838,15 @@ type BillingAccount = {
|
|
|
777
838
|
id: string;
|
|
778
839
|
tenantId: string;
|
|
779
840
|
accountStatus: BillingAccountStatus;
|
|
780
|
-
blockReason?: string | null;
|
|
781
841
|
profile?: TenantBillingInformation | null;
|
|
782
842
|
contractPriceBookId?: string | null;
|
|
783
843
|
gatewayCustomerId?: string | null;
|
|
784
844
|
bankTransferCode?: string | null;
|
|
845
|
+
suspendedReason?: string | null;
|
|
846
|
+
blockReason?: string | null;
|
|
847
|
+
billingMode?: BillingMode | null;
|
|
848
|
+
creditLimitMicros?: number | null;
|
|
849
|
+
billingExempt?: boolean | null;
|
|
785
850
|
createdAt: number;
|
|
786
851
|
updatedAt: number;
|
|
787
852
|
updatedByUserId?: string | null;
|
|
@@ -797,6 +862,7 @@ type BillingWalletBalance = {
|
|
|
797
862
|
lowBalanceThresholdMicros?: number | null;
|
|
798
863
|
autoTopupConfig?: string | null;
|
|
799
864
|
updatedAt: number;
|
|
865
|
+
createdAt: number;
|
|
800
866
|
};
|
|
801
867
|
type BillingLedgerEntry = {
|
|
802
868
|
billingAccountId: string;
|
|
@@ -819,12 +885,15 @@ type BillingLedgerEntry = {
|
|
|
819
885
|
approvedBy?: string | null;
|
|
820
886
|
entryHash: string;
|
|
821
887
|
prevHash: string;
|
|
888
|
+
updatedAt: number;
|
|
822
889
|
};
|
|
823
890
|
type BillingIdempotencyKey = {
|
|
824
891
|
idemKey: string;
|
|
825
892
|
scope?: string | null;
|
|
826
893
|
resultRef?: string | null;
|
|
827
894
|
expiresAt?: number | null;
|
|
895
|
+
createdAt: number;
|
|
896
|
+
updatedAt: number;
|
|
828
897
|
};
|
|
829
898
|
type BillingProduct = {
|
|
830
899
|
id: string;
|
|
@@ -836,6 +905,8 @@ type BillingProduct = {
|
|
|
836
905
|
productStatus?: BillingEntityStatus | null;
|
|
837
906
|
effectiveFrom?: number | null;
|
|
838
907
|
effectiveTo?: number | null;
|
|
908
|
+
createdAt: number;
|
|
909
|
+
updatedAt: number;
|
|
839
910
|
};
|
|
840
911
|
type BillingPriceBook = {
|
|
841
912
|
id: string;
|
|
@@ -844,6 +915,8 @@ type BillingPriceBook = {
|
|
|
844
915
|
bookStatus?: BillingEntityStatus | null;
|
|
845
916
|
effectiveFrom?: number | null;
|
|
846
917
|
effectiveTo?: number | null;
|
|
918
|
+
createdAt: number;
|
|
919
|
+
updatedAt: number;
|
|
847
920
|
};
|
|
848
921
|
type BillingRateCard = {
|
|
849
922
|
priceBookId: string;
|
|
@@ -859,6 +932,8 @@ type BillingRateCard = {
|
|
|
859
932
|
fxCapture?: string | null;
|
|
860
933
|
effectiveFrom: number;
|
|
861
934
|
effectiveTo?: number | null;
|
|
935
|
+
createdAt: number;
|
|
936
|
+
updatedAt: number;
|
|
862
937
|
};
|
|
863
938
|
type BillingPlanDefinition = {
|
|
864
939
|
id: string;
|
|
@@ -871,6 +946,8 @@ type BillingPlanDefinition = {
|
|
|
871
946
|
featureFlags?: string | null;
|
|
872
947
|
trialDays?: number | null;
|
|
873
948
|
planStatus?: BillingEntityStatus | null;
|
|
949
|
+
createdAt: number;
|
|
950
|
+
updatedAt: number;
|
|
874
951
|
};
|
|
875
952
|
type BillingSubscription = {
|
|
876
953
|
billingAccountId: string;
|
|
@@ -901,6 +978,8 @@ type BillingUsageEvent = {
|
|
|
901
978
|
occurredAt: number;
|
|
902
979
|
receivedAt: number;
|
|
903
980
|
ratingStatus: BillingRatingStatus;
|
|
981
|
+
createdAt: number;
|
|
982
|
+
updatedAt: number;
|
|
904
983
|
};
|
|
905
984
|
type BillingRatedCharge = {
|
|
906
985
|
billingAccountId: string;
|
|
@@ -919,6 +998,7 @@ type BillingRatedCharge = {
|
|
|
919
998
|
ledgerTxnId?: string | null;
|
|
920
999
|
invoiceId?: string | null;
|
|
921
1000
|
createdAt: number;
|
|
1001
|
+
updatedAt: number;
|
|
922
1002
|
};
|
|
923
1003
|
type BillingInvoice = {
|
|
924
1004
|
id: string;
|
|
@@ -954,6 +1034,8 @@ type BillingInvoiceLine = {
|
|
|
954
1034
|
taxCode?: string | null;
|
|
955
1035
|
sourceChargeCount?: number | null;
|
|
956
1036
|
tenantId?: string | null;
|
|
1037
|
+
createdAt: number;
|
|
1038
|
+
updatedAt: number;
|
|
957
1039
|
};
|
|
958
1040
|
type BillingPayment = {
|
|
959
1041
|
id: string;
|
|
@@ -987,6 +1069,7 @@ type BillingPaymentMethod = {
|
|
|
987
1069
|
methodStatus?: BillingPaymentMethodStatus | null;
|
|
988
1070
|
billingAddress?: string | null;
|
|
989
1071
|
createdAt: number;
|
|
1072
|
+
updatedAt: number;
|
|
990
1073
|
};
|
|
991
1074
|
type BillingBankReceipt = {
|
|
992
1075
|
id: string;
|
|
@@ -1001,6 +1084,8 @@ type BillingBankReceipt = {
|
|
|
1001
1084
|
matchedBy?: string | null;
|
|
1002
1085
|
matchedAt?: number | null;
|
|
1003
1086
|
ledgerTxnId?: string | null;
|
|
1087
|
+
createdAt: number;
|
|
1088
|
+
updatedAt: number;
|
|
1004
1089
|
};
|
|
1005
1090
|
type BillingAdminAction = {
|
|
1006
1091
|
id: string;
|
|
@@ -1013,6 +1098,8 @@ type BillingAdminAction = {
|
|
|
1013
1098
|
actionStatus: BillingAdminActionStatus;
|
|
1014
1099
|
ledgerTxnId?: string | null;
|
|
1015
1100
|
reason?: string | null;
|
|
1101
|
+
createdAt: number;
|
|
1102
|
+
updatedAt: number;
|
|
1016
1103
|
};
|
|
1017
1104
|
type BillingTaxRule = {
|
|
1018
1105
|
jurisdiction: string;
|
|
@@ -1022,6 +1109,8 @@ type BillingTaxRule = {
|
|
|
1022
1109
|
f5Box?: string | null;
|
|
1023
1110
|
invoiceWording?: string | null;
|
|
1024
1111
|
notes?: string | null;
|
|
1112
|
+
createdAt: number;
|
|
1113
|
+
updatedAt: number;
|
|
1025
1114
|
};
|
|
1026
1115
|
type BillingFxRate = {
|
|
1027
1116
|
pair: string;
|
|
@@ -1029,6 +1118,8 @@ type BillingFxRate = {
|
|
|
1029
1118
|
midRateMicros: number;
|
|
1030
1119
|
source: string;
|
|
1031
1120
|
providerPayloadRef?: string | null;
|
|
1121
|
+
createdAt: number;
|
|
1122
|
+
updatedAt: number;
|
|
1032
1123
|
};
|
|
1033
1124
|
type BillingAuditLog = {
|
|
1034
1125
|
id: string;
|
|
@@ -1040,6 +1131,7 @@ type BillingAuditLog = {
|
|
|
1040
1131
|
requestId?: string | null;
|
|
1041
1132
|
sourceIp?: string | null;
|
|
1042
1133
|
createdAt: number;
|
|
1134
|
+
updatedAt: number;
|
|
1043
1135
|
};
|
|
1044
1136
|
type BillingPlatformConfig = {
|
|
1045
1137
|
configKey: string;
|
|
@@ -1049,6 +1141,7 @@ type BillingPlatformConfig = {
|
|
|
1049
1141
|
updatedBy?: string | null;
|
|
1050
1142
|
updatedAt?: number | null;
|
|
1051
1143
|
version?: number | null;
|
|
1144
|
+
createdAt: number;
|
|
1052
1145
|
};
|
|
1053
1146
|
type BillingKycCase = {
|
|
1054
1147
|
id: string;
|
|
@@ -1074,6 +1167,7 @@ type TenantBillingSnapshot = {
|
|
|
1074
1167
|
accountStatus?: BillingAccountStatus | null;
|
|
1075
1168
|
lowBalance?: boolean | null;
|
|
1076
1169
|
updatedAt: number;
|
|
1170
|
+
createdAt: number;
|
|
1077
1171
|
};
|
|
1078
1172
|
|
|
1079
1173
|
type Entity = {
|
|
@@ -1090,7 +1184,7 @@ type Entity = {
|
|
|
1090
1184
|
phoneNumber?: PhoneNumber | null;
|
|
1091
1185
|
phoneNumberE164?: string | null;
|
|
1092
1186
|
isOrganization: boolean;
|
|
1093
|
-
metadata?: string;
|
|
1187
|
+
metadata?: string | null;
|
|
1094
1188
|
notes?: string | null;
|
|
1095
1189
|
customFields?: Array<string | null> | null;
|
|
1096
1190
|
preferences?: EntityPreferences | null;
|
|
@@ -1138,7 +1232,7 @@ type CreateEntityInput = {
|
|
|
1138
1232
|
phoneNumberE164?: string | null;
|
|
1139
1233
|
isOrganization: boolean;
|
|
1140
1234
|
notes?: string | null;
|
|
1141
|
-
metadata?:
|
|
1235
|
+
metadata?: string | null;
|
|
1142
1236
|
customFields?: Array<string | null> | null;
|
|
1143
1237
|
preferences?: EntityPreferences | null;
|
|
1144
1238
|
contactPreferences?: EntityContactPreferences | null;
|
|
@@ -1162,12 +1256,12 @@ type UpdateEntityInput = {
|
|
|
1162
1256
|
phoneNumberE164?: string | null;
|
|
1163
1257
|
isOrganization?: boolean | null;
|
|
1164
1258
|
notes?: string | null;
|
|
1165
|
-
metadata?:
|
|
1259
|
+
metadata?: string | null;
|
|
1166
1260
|
customFields?: Array<string | null> | null;
|
|
1167
1261
|
preferences?: EntityPreferences | null;
|
|
1168
1262
|
contactPreferences?: EntityContactPreferences | null;
|
|
1169
1263
|
createdAt?: number | null;
|
|
1170
|
-
updatedAt
|
|
1264
|
+
updatedAt?: number | null;
|
|
1171
1265
|
blockedAt?: number | null;
|
|
1172
1266
|
deletedAt?: number | null;
|
|
1173
1267
|
updatedByUserId?: string | null;
|
|
@@ -1266,6 +1360,19 @@ type InteractionWidget = {
|
|
|
1266
1360
|
createdAt: number;
|
|
1267
1361
|
updatedAt: number;
|
|
1268
1362
|
deletedAt?: number | null;
|
|
1363
|
+
updatedByUserId: string;
|
|
1364
|
+
updatedByUserSessionId?: string | null;
|
|
1365
|
+
};
|
|
1366
|
+
type InteractionWidgetSession = {
|
|
1367
|
+
id: string;
|
|
1368
|
+
tenantId: string;
|
|
1369
|
+
widgetId: string;
|
|
1370
|
+
widget?: InteractionWidget | null;
|
|
1371
|
+
entityId: string;
|
|
1372
|
+
entity?: Entity | null;
|
|
1373
|
+
ipDetails?: string | null;
|
|
1374
|
+
createdAt: number;
|
|
1375
|
+
updatedAt: number;
|
|
1269
1376
|
};
|
|
1270
1377
|
type InteractionWidgetUserSetting = {
|
|
1271
1378
|
id: string;
|
|
@@ -1276,7 +1383,7 @@ type InteractionWidgetUserSetting = {
|
|
|
1276
1383
|
createdAt: number;
|
|
1277
1384
|
updatedAt: number;
|
|
1278
1385
|
deletedAt?: number | null;
|
|
1279
|
-
updatedByUserId
|
|
1386
|
+
updatedByUserId: string;
|
|
1280
1387
|
updatedByUserSessionId?: string | null;
|
|
1281
1388
|
};
|
|
1282
1389
|
type ModelInteractionWidgetConditionInput = {
|
|
@@ -1322,6 +1429,18 @@ type ModelInteractionWidgetFilterInput = {
|
|
|
1322
1429
|
or?: Array<ModelInteractionWidgetFilterInput | null> | null;
|
|
1323
1430
|
not?: ModelInteractionWidgetFilterInput | null;
|
|
1324
1431
|
};
|
|
1432
|
+
type ModelInteractionWidgetSessionFilterInput = {
|
|
1433
|
+
id?: ModelIDInput | null;
|
|
1434
|
+
tenantId?: ModelIDInput | null;
|
|
1435
|
+
widgetId?: ModelIDInput | null;
|
|
1436
|
+
entityId?: ModelIDInput | null;
|
|
1437
|
+
ipDetails?: ModelStringInput | null;
|
|
1438
|
+
createdAt?: ModelIntInput | null;
|
|
1439
|
+
updatedAt?: ModelIntInput | null;
|
|
1440
|
+
and?: Array<ModelInteractionWidgetSessionFilterInput | null> | null;
|
|
1441
|
+
or?: Array<ModelInteractionWidgetSessionFilterInput | null> | null;
|
|
1442
|
+
not?: ModelInteractionWidgetSessionFilterInput | null;
|
|
1443
|
+
};
|
|
1325
1444
|
type ModelInteractionWidgetUserSettingFilterInput = {
|
|
1326
1445
|
id?: ModelIDInput | null;
|
|
1327
1446
|
widgetId?: ModelIDInput | null;
|
|
@@ -1337,7 +1456,81 @@ type ModelInteractionWidgetUserSettingFilterInput = {
|
|
|
1337
1456
|
or?: Array<ModelInteractionWidgetUserSettingFilterInput | null> | null;
|
|
1338
1457
|
not?: ModelInteractionWidgetUserSettingFilterInput | null;
|
|
1339
1458
|
};
|
|
1459
|
+
type WebChatWidgetCustomField = {
|
|
1460
|
+
element?: {
|
|
1461
|
+
field_name?: string;
|
|
1462
|
+
is_required?: boolean;
|
|
1463
|
+
[key: string]: any;
|
|
1464
|
+
};
|
|
1465
|
+
type?: string;
|
|
1466
|
+
addedComponents?: Array<Array<WebChatWidgetCustomField>>;
|
|
1467
|
+
[key: string]: any;
|
|
1468
|
+
};
|
|
1469
|
+
type WebChatWidgetConfiguration = {
|
|
1470
|
+
primaryColorCode?: string | null;
|
|
1471
|
+
welcomeTitle?: string | null;
|
|
1472
|
+
welcomeMessage?: string | null;
|
|
1473
|
+
imageURL?: string | null;
|
|
1474
|
+
isChatEnabled?: boolean | null;
|
|
1475
|
+
isVoiceEnabled?: boolean | null;
|
|
1476
|
+
isVideoEnabled?: boolean | null;
|
|
1477
|
+
isScreenShareEnabled?: boolean | null;
|
|
1478
|
+
isFileShareEnabled?: boolean | null;
|
|
1479
|
+
sessionTimeout?: number | null;
|
|
1480
|
+
customFields?: Array<WebChatWidgetCustomField> | null;
|
|
1481
|
+
};
|
|
1482
|
+
declare const DEFAULT_WEB_CHAT_WIDGET_CONFIGURATION: Required<Pick<WebChatWidgetConfiguration, 'primaryColorCode' | 'welcomeTitle' | 'welcomeMessage'>>;
|
|
1483
|
+
/**
|
|
1484
|
+
* Reads InteractionWidget.configuration into a typed object. Accepts the raw
|
|
1485
|
+
* AWSJSON string, an already-parsed object, or null/undefined, and never throws
|
|
1486
|
+
* — malformed JSON yields {} so a bad record degrades to defaults instead of
|
|
1487
|
+
* taking the widget down.
|
|
1488
|
+
*
|
|
1489
|
+
* customFields entries are tolerated as either objects or JSON strings, because
|
|
1490
|
+
* the legacy InteractionWidget.customFields column stored [AWSJSON] (a list of
|
|
1491
|
+
* encoded strings) and older records were migrated across verbatim.
|
|
1492
|
+
*/
|
|
1493
|
+
declare function parseWebChatWidgetConfiguration(configuration?: string | WebChatWidgetConfiguration | null): WebChatWidgetConfiguration;
|
|
1340
1494
|
|
|
1495
|
+
declare enum RecordingMode {
|
|
1496
|
+
OFF = "OFF",
|
|
1497
|
+
INBOUND = "INBOUND",
|
|
1498
|
+
OUTBOUND = "OUTBOUND",
|
|
1499
|
+
BOTH = "BOTH"
|
|
1500
|
+
}
|
|
1501
|
+
declare enum RecordingNotify {
|
|
1502
|
+
NONE = "NONE",
|
|
1503
|
+
ANNOUNCE = "ANNOUNCE",
|
|
1504
|
+
CONSENT = "CONSENT"
|
|
1505
|
+
}
|
|
1506
|
+
declare enum WorkingHoursFallbackAction {
|
|
1507
|
+
PLAY_MESSAGE = "PLAY_MESSAGE",
|
|
1508
|
+
VOICEMAIL = "VOICEMAIL"
|
|
1509
|
+
}
|
|
1510
|
+
declare enum RoutingRole {
|
|
1511
|
+
AGENT = "AGENT",
|
|
1512
|
+
SUPERVISOR = "SUPERVISOR",
|
|
1513
|
+
ADMINISTRATOR = "ADMINISTRATOR"
|
|
1514
|
+
}
|
|
1515
|
+
declare enum RoutingStrategy {
|
|
1516
|
+
TICKET_ASSIGNEE = "TICKET_ASSIGNEE",
|
|
1517
|
+
LAST_TALKED_TO = "LAST_TALKED_TO",
|
|
1518
|
+
MOST_IDLE = "MOST_IDLE",
|
|
1519
|
+
RANDOM_ACTIVE = "RANDOM_ACTIVE",
|
|
1520
|
+
ROUND_ROBIN = "ROUND_ROBIN"
|
|
1521
|
+
}
|
|
1522
|
+
declare enum RoutingFallback {
|
|
1523
|
+
ANNOUNCE_DISCONNECT = "ANNOUNCE_DISCONNECT",
|
|
1524
|
+
VOICEMAIL_TICKET = "VOICEMAIL_TICKET",
|
|
1525
|
+
VOICEMAIL = "VOICEMAIL"
|
|
1526
|
+
}
|
|
1527
|
+
declare enum RoutingNoPickup {
|
|
1528
|
+
ANNOUNCE_DISCONNECT = "ANNOUNCE_DISCONNECT",
|
|
1529
|
+
DISCONNECT = "DISCONNECT",
|
|
1530
|
+
TRY_OTHERS = "TRY_OTHERS",
|
|
1531
|
+
VOICEMAIL = "VOICEMAIL",
|
|
1532
|
+
VOICEMAIL_TICKET = "VOICEMAIL_TICKET"
|
|
1533
|
+
}
|
|
1341
1534
|
type InteractionEndpoint = {
|
|
1342
1535
|
id: string;
|
|
1343
1536
|
externalId: string;
|
|
@@ -1346,11 +1539,17 @@ type InteractionEndpoint = {
|
|
|
1346
1539
|
widget?: InteractionWidget | null;
|
|
1347
1540
|
address: string;
|
|
1348
1541
|
configuration?: string | null;
|
|
1542
|
+
recordingConfig?: InteractionEndpointRecordingConfig | null;
|
|
1543
|
+
workingHoursActionConfig?: InteractionEndpointWorkingHoursActionConfig | null;
|
|
1544
|
+
routingConfig?: InteractionEndpointRoutingConfig | null;
|
|
1545
|
+
buyPrice?: InteractionEndpointPriceDetails | null;
|
|
1349
1546
|
sellPrice?: InteractionEndpointPriceDetails | null;
|
|
1350
1547
|
documents?: Array<InteractionEndpointRegulatoryComplianceDocument | null> | null;
|
|
1351
1548
|
createdAt: number;
|
|
1352
1549
|
updatedAt: number;
|
|
1353
1550
|
deletedAt?: number | null;
|
|
1551
|
+
updatedByUserId: string;
|
|
1552
|
+
updatedByUserSessionId?: string | null;
|
|
1354
1553
|
};
|
|
1355
1554
|
type InteractionEndpointPriceDetails = {
|
|
1356
1555
|
currency: string;
|
|
@@ -1365,6 +1564,40 @@ type InteractionEndpointRegulatoryComplianceDocument = {
|
|
|
1365
1564
|
contentType?: string | null;
|
|
1366
1565
|
file?: S3Object | null;
|
|
1367
1566
|
};
|
|
1567
|
+
type InteractionEndpointRecordingConfig = {
|
|
1568
|
+
mode?: RecordingMode | null;
|
|
1569
|
+
notify?: RecordingNotify | null;
|
|
1570
|
+
audioMediaName?: string | null;
|
|
1571
|
+
audioUrl?: string | null;
|
|
1572
|
+
};
|
|
1573
|
+
type InteractionEndpointWorkingHoursAction = {
|
|
1574
|
+
action?: WorkingHoursFallbackAction | null;
|
|
1575
|
+
audioMediaName?: string | null;
|
|
1576
|
+
audioUrl?: string | null;
|
|
1577
|
+
};
|
|
1578
|
+
type InteractionEndpointWorkingHoursActionConfig = {
|
|
1579
|
+
duringHours?: InteractionEndpointWorkingHoursAction | null;
|
|
1580
|
+
afterHours?: InteractionEndpointWorkingHoursAction | null;
|
|
1581
|
+
whenClosed?: InteractionEndpointWorkingHoursAction | null;
|
|
1582
|
+
};
|
|
1583
|
+
type InteractionEndpointRoutingAction = {
|
|
1584
|
+
action?: RoutingFallback | null;
|
|
1585
|
+
audioMediaName?: string | null;
|
|
1586
|
+
audioUrl?: string | null;
|
|
1587
|
+
};
|
|
1588
|
+
type InteractionEndpointRoutingFirstAction = {
|
|
1589
|
+
action?: RoutingNoPickup | null;
|
|
1590
|
+
audioMediaName?: string | null;
|
|
1591
|
+
audioUrl?: string | null;
|
|
1592
|
+
};
|
|
1593
|
+
type InteractionEndpointRoutingConfig = {
|
|
1594
|
+
answeringRoles?: Array<RoutingRole | null> | null;
|
|
1595
|
+
knownCallerStrategy?: RoutingStrategy | null;
|
|
1596
|
+
unknownCallerStrategy?: RoutingStrategy | null;
|
|
1597
|
+
ifNoPickup?: InteractionEndpointRoutingFirstAction | null;
|
|
1598
|
+
escalationRoles?: Array<RoutingRole | null> | null;
|
|
1599
|
+
noAnswer?: InteractionEndpointRoutingAction | null;
|
|
1600
|
+
};
|
|
1368
1601
|
type CreateInteractionEndpointInput = {
|
|
1369
1602
|
id?: string | null;
|
|
1370
1603
|
externalId: string;
|
|
@@ -1372,6 +1605,9 @@ type CreateInteractionEndpointInput = {
|
|
|
1372
1605
|
widgetId: string;
|
|
1373
1606
|
address: string;
|
|
1374
1607
|
configuration?: string | null;
|
|
1608
|
+
recordingConfig?: InteractionEndpointRecordingConfig | null;
|
|
1609
|
+
workingHoursActionConfig?: InteractionEndpointWorkingHoursActionConfig | null;
|
|
1610
|
+
routingConfig?: InteractionEndpointRoutingConfig | null;
|
|
1375
1611
|
buyPrice?: InteractionEndpointPriceDetails | null;
|
|
1376
1612
|
sellPrice?: InteractionEndpointPriceDetails | null;
|
|
1377
1613
|
documents?: Array<InteractionEndpointRegulatoryComplianceDocument | null> | null;
|
|
@@ -1388,6 +1624,9 @@ type UpdateInteractionEndpointInput = {
|
|
|
1388
1624
|
widgetId?: string | null;
|
|
1389
1625
|
address?: string | null;
|
|
1390
1626
|
configuration?: string | null;
|
|
1627
|
+
recordingConfig?: InteractionEndpointRecordingConfig | null;
|
|
1628
|
+
workingHoursActionConfig?: InteractionEndpointWorkingHoursActionConfig | null;
|
|
1629
|
+
routingConfig?: InteractionEndpointRoutingConfig | null;
|
|
1391
1630
|
buyPrice?: InteractionEndpointPriceDetails | null;
|
|
1392
1631
|
sellPrice?: InteractionEndpointPriceDetails | null;
|
|
1393
1632
|
documents?: Array<InteractionEndpointRegulatoryComplianceDocument | null> | null;
|
|
@@ -1481,7 +1720,6 @@ type CreateUserInput = {
|
|
|
1481
1720
|
preferences?: UserPreferences | null;
|
|
1482
1721
|
notificationSettings?: UserNotificationSettings | null;
|
|
1483
1722
|
type?: UserType | null;
|
|
1484
|
-
temp_activationToken?: string | null;
|
|
1485
1723
|
activatedAt?: number | null;
|
|
1486
1724
|
blockedAt?: number | null;
|
|
1487
1725
|
createdAt: number;
|
|
@@ -1501,7 +1739,6 @@ type UpdateUserInput = {
|
|
|
1501
1739
|
preferences?: UserPreferences | null;
|
|
1502
1740
|
notificationSettings?: UserNotificationSettings | null;
|
|
1503
1741
|
type?: UserType | null;
|
|
1504
|
-
temp_activationToken?: string | null;
|
|
1505
1742
|
activatedAt?: number | null;
|
|
1506
1743
|
blockedAt?: number | null;
|
|
1507
1744
|
createdAt?: number | null;
|
|
@@ -1516,7 +1753,6 @@ type ModelUserConditionInput = {
|
|
|
1516
1753
|
email?: ModelStringInput | null;
|
|
1517
1754
|
name?: ModelStringInput | null;
|
|
1518
1755
|
type?: ModelUserTypeInput | null;
|
|
1519
|
-
temp_activationToken?: ModelStringInput | null;
|
|
1520
1756
|
activatedAt?: ModelIntInput | null;
|
|
1521
1757
|
blockedAt?: ModelIntInput | null;
|
|
1522
1758
|
createdAt?: ModelIntInput | null;
|
|
@@ -1535,7 +1771,6 @@ type ModelUserFilterInput = {
|
|
|
1535
1771
|
email?: ModelStringInput | null;
|
|
1536
1772
|
name?: ModelStringInput | null;
|
|
1537
1773
|
type?: ModelUserTypeInput | null;
|
|
1538
|
-
temp_activationToken?: ModelStringInput | null;
|
|
1539
1774
|
activatedAt?: ModelIntInput | null;
|
|
1540
1775
|
blockedAt?: ModelIntInput | null;
|
|
1541
1776
|
createdAt?: ModelIntInput | null;
|
|
@@ -1674,6 +1909,8 @@ type UserSession = {
|
|
|
1674
1909
|
user?: User | null;
|
|
1675
1910
|
ipDetails?: string | null;
|
|
1676
1911
|
status?: UserStatus | null;
|
|
1912
|
+
statusKey?: string | null;
|
|
1913
|
+
lastInteractionHandledAt?: number | null;
|
|
1677
1914
|
teamIds?: Array<string | null> | null;
|
|
1678
1915
|
temp_isLocked?: boolean | null;
|
|
1679
1916
|
temp_isAvailableTenantIdUnion?: string | null;
|
|
@@ -1689,6 +1926,8 @@ type UpdateUserSessionInput = {
|
|
|
1689
1926
|
userId?: string | null;
|
|
1690
1927
|
ipDetails?: string | null;
|
|
1691
1928
|
status?: UserStatus | null;
|
|
1929
|
+
statusKey?: string | null;
|
|
1930
|
+
lastInteractionHandledAt?: number | null;
|
|
1692
1931
|
teamIds?: Array<string | null> | null;
|
|
1693
1932
|
temp_isLocked?: boolean | null;
|
|
1694
1933
|
temp_isAvailableTenantIdUnion?: string | null;
|
|
@@ -1703,6 +1942,8 @@ type ModelUserSessionConditionInput = {
|
|
|
1703
1942
|
userId?: ModelIDInput | null;
|
|
1704
1943
|
ipDetails?: ModelStringInput | null;
|
|
1705
1944
|
status?: ModelUserStatusInput | null;
|
|
1945
|
+
statusKey?: ModelStringInput | null;
|
|
1946
|
+
lastInteractionHandledAt?: ModelIntInput | null;
|
|
1706
1947
|
teamIds?: ModelStringInput | null;
|
|
1707
1948
|
temp_isLocked?: ModelBooleanInput | null;
|
|
1708
1949
|
temp_isAvailableTenantIdUnion?: ModelStringInput | null;
|
|
@@ -1721,6 +1962,8 @@ type ModelUserSessionFilterInput = {
|
|
|
1721
1962
|
userId?: ModelIDInput | null;
|
|
1722
1963
|
ipDetails?: ModelStringInput | null;
|
|
1723
1964
|
status?: ModelUserStatusInput | null;
|
|
1965
|
+
statusKey?: ModelStringInput | null;
|
|
1966
|
+
lastInteractionHandledAt?: ModelIntInput | null;
|
|
1724
1967
|
teamIds?: ModelStringInput | null;
|
|
1725
1968
|
temp_isLocked?: ModelBooleanInput | null;
|
|
1726
1969
|
temp_isAvailableTenantIdUnion?: ModelStringInput | null;
|
|
@@ -1768,11 +2011,21 @@ declare enum InteractionStatus {
|
|
|
1768
2011
|
FAILED = "FAILED"
|
|
1769
2012
|
}
|
|
1770
2013
|
declare enum InteractionMessageStatus {
|
|
1771
|
-
|
|
2014
|
+
QUEUED = "QUEUED",
|
|
1772
2015
|
SENT = "SENT",
|
|
1773
2016
|
DELIVERED = "DELIVERED",
|
|
1774
2017
|
READ = "READ",
|
|
1775
|
-
FAILED = "FAILED"
|
|
2018
|
+
FAILED = "FAILED",
|
|
2019
|
+
RECEIVED = "RECEIVED"
|
|
2020
|
+
}
|
|
2021
|
+
declare enum FlowRuntimeStatus {
|
|
2022
|
+
AWAITING_DISPATCH = "AWAITING_DISPATCH",
|
|
2023
|
+
AWAITING_REPLY = "AWAITING_REPLY",
|
|
2024
|
+
AWAITING_TIMER = "AWAITING_TIMER",
|
|
2025
|
+
PAUSED_BY_AGENT = "PAUSED_BY_AGENT",
|
|
2026
|
+
COMPLETED = "COMPLETED",
|
|
2027
|
+
FAILED = "FAILED",
|
|
2028
|
+
ABANDONED = "ABANDONED"
|
|
1776
2029
|
}
|
|
1777
2030
|
declare enum InteractionProvider {
|
|
1778
2031
|
AVAYA_IPO = "AVAYA_IPO",
|
|
@@ -1835,6 +2088,19 @@ type Interaction = {
|
|
|
1835
2088
|
routeConfiguration?: InteractionRouteConfiguration | null;
|
|
1836
2089
|
temp_isLocked?: boolean | null;
|
|
1837
2090
|
temp_isAvailableTenantIdUnion?: string | null;
|
|
2091
|
+
campaignId?: string | null;
|
|
2092
|
+
flowVersion?: number | null;
|
|
2093
|
+
currentCampaignFlowNodeId?: string | null;
|
|
2094
|
+
flowVariables?: string | null;
|
|
2095
|
+
flowStatus?: FlowRuntimeStatus | null;
|
|
2096
|
+
flowRetryCount?: number | null;
|
|
2097
|
+
flowReminderIndex?: number | null;
|
|
2098
|
+
flowTimeoutAt?: number | null;
|
|
2099
|
+
flowTimerScheduleArn?: string | null;
|
|
2100
|
+
isAgentHandling?: boolean | null;
|
|
2101
|
+
assignedAgentId?: string | null;
|
|
2102
|
+
agentHandlingStartedAt?: number | null;
|
|
2103
|
+
agentHandlingEndedAt?: number | null;
|
|
1838
2104
|
createdAt: number;
|
|
1839
2105
|
updatedAt: number;
|
|
1840
2106
|
deletedAt?: number | null;
|
|
@@ -1893,6 +2159,22 @@ type InteractionAttendee = {
|
|
|
1893
2159
|
updatedAt: number;
|
|
1894
2160
|
deletedAt?: number | null;
|
|
1895
2161
|
};
|
|
2162
|
+
type InteractionAttendeeConnection = {
|
|
2163
|
+
id: string;
|
|
2164
|
+
connectionId: string;
|
|
2165
|
+
interactionId: string;
|
|
2166
|
+
interaction?: Interaction | null;
|
|
2167
|
+
interactionAttendeeId: string;
|
|
2168
|
+
interactionAttendee?: InteractionAttendee | null;
|
|
2169
|
+
connectedAt?: number | null;
|
|
2170
|
+
disconnectedAt?: number | null;
|
|
2171
|
+
duration?: number | null;
|
|
2172
|
+
metadata?: string | null;
|
|
2173
|
+
recording?: S3Object | null;
|
|
2174
|
+
transcript?: S3Object | null;
|
|
2175
|
+
createdAt: number;
|
|
2176
|
+
updatedAt: number;
|
|
2177
|
+
};
|
|
1896
2178
|
type InteractionMessage = {
|
|
1897
2179
|
id: string;
|
|
1898
2180
|
externalId?: string | null;
|
|
@@ -1911,6 +2193,7 @@ type InteractionMessage = {
|
|
|
1911
2193
|
metadata?: string | null;
|
|
1912
2194
|
direction?: InteractionMessageDirection | null;
|
|
1913
2195
|
status?: InteractionMessageStatus | null;
|
|
2196
|
+
statusUpdatedAt?: number | null;
|
|
1914
2197
|
createdAt: number;
|
|
1915
2198
|
updatedAt: number;
|
|
1916
2199
|
deletedAt?: number | null;
|
|
@@ -1964,6 +2247,19 @@ type CreateInteractionInput = {
|
|
|
1964
2247
|
routeConfiguration?: InteractionRouteConfigurationInput | null;
|
|
1965
2248
|
temp_isLocked?: boolean | null;
|
|
1966
2249
|
temp_isAvailableTenantIdUnion?: string | null;
|
|
2250
|
+
campaignId?: string | null;
|
|
2251
|
+
flowVersion?: number | null;
|
|
2252
|
+
currentCampaignFlowNodeId?: string | null;
|
|
2253
|
+
flowVariables?: string | null;
|
|
2254
|
+
flowStatus?: FlowRuntimeStatus | null;
|
|
2255
|
+
flowRetryCount?: number | null;
|
|
2256
|
+
flowReminderIndex?: number | null;
|
|
2257
|
+
flowTimeoutAt?: number | null;
|
|
2258
|
+
flowTimerScheduleArn?: string | null;
|
|
2259
|
+
isAgentHandling?: boolean | null;
|
|
2260
|
+
assignedAgentId?: string | null;
|
|
2261
|
+
agentHandlingStartedAt?: number | null;
|
|
2262
|
+
agentHandlingEndedAt?: number | null;
|
|
1967
2263
|
createdAt: number;
|
|
1968
2264
|
updatedAt: number;
|
|
1969
2265
|
deletedAt?: number | null;
|
|
@@ -2002,6 +2298,19 @@ type UpdateInteractionInput = {
|
|
|
2002
2298
|
routeConfiguration?: InteractionRouteConfigurationInput | null;
|
|
2003
2299
|
temp_isLocked?: boolean | null;
|
|
2004
2300
|
temp_isAvailableTenantIdUnion?: string | null;
|
|
2301
|
+
campaignId?: string | null;
|
|
2302
|
+
flowVersion?: number | null;
|
|
2303
|
+
currentCampaignFlowNodeId?: string | null;
|
|
2304
|
+
flowVariables?: string | null;
|
|
2305
|
+
flowStatus?: FlowRuntimeStatus | null;
|
|
2306
|
+
flowRetryCount?: number | null;
|
|
2307
|
+
flowReminderIndex?: number | null;
|
|
2308
|
+
flowTimeoutAt?: number | null;
|
|
2309
|
+
flowTimerScheduleArn?: string | null;
|
|
2310
|
+
isAgentHandling?: boolean | null;
|
|
2311
|
+
assignedAgentId?: string | null;
|
|
2312
|
+
agentHandlingStartedAt?: number | null;
|
|
2313
|
+
agentHandlingEndedAt?: number | null;
|
|
2005
2314
|
createdAt?: number | null;
|
|
2006
2315
|
updatedAt?: number | null;
|
|
2007
2316
|
deletedAt?: number | null;
|
|
@@ -2036,6 +2345,19 @@ type ModelInteractionConditionInput = {
|
|
|
2036
2345
|
reportProcessingCompletedAt?: ModelIntInput | null;
|
|
2037
2346
|
temp_isLocked?: ModelBooleanInput | null;
|
|
2038
2347
|
temp_isAvailableTenantIdUnion?: ModelStringInput | null;
|
|
2348
|
+
campaignId?: ModelIDInput | null;
|
|
2349
|
+
flowVersion?: ModelIntInput | null;
|
|
2350
|
+
currentCampaignFlowNodeId?: ModelIDInput | null;
|
|
2351
|
+
flowVariables?: ModelStringInput | null;
|
|
2352
|
+
flowStatus?: ModelFlowRuntimeStatusInput | null;
|
|
2353
|
+
flowRetryCount?: ModelIntInput | null;
|
|
2354
|
+
flowReminderIndex?: ModelIntInput | null;
|
|
2355
|
+
flowTimeoutAt?: ModelIntInput | null;
|
|
2356
|
+
flowTimerScheduleArn?: ModelStringInput | null;
|
|
2357
|
+
isAgentHandling?: ModelBooleanInput | null;
|
|
2358
|
+
assignedAgentId?: ModelIDInput | null;
|
|
2359
|
+
agentHandlingStartedAt?: ModelIntInput | null;
|
|
2360
|
+
agentHandlingEndedAt?: ModelIntInput | null;
|
|
2039
2361
|
createdAt?: ModelIntInput | null;
|
|
2040
2362
|
updatedAt?: ModelIntInput | null;
|
|
2041
2363
|
deletedAt?: ModelIntInput | null;
|
|
@@ -2074,6 +2396,19 @@ type ModelInteractionFilterInput = {
|
|
|
2074
2396
|
reportProcessingCompletedAt?: ModelIntInput | null;
|
|
2075
2397
|
temp_isLocked?: ModelBooleanInput | null;
|
|
2076
2398
|
temp_isAvailableTenantIdUnion?: ModelStringInput | null;
|
|
2399
|
+
campaignId?: ModelIDInput | null;
|
|
2400
|
+
flowVersion?: ModelIntInput | null;
|
|
2401
|
+
currentCampaignFlowNodeId?: ModelIDInput | null;
|
|
2402
|
+
flowVariables?: ModelStringInput | null;
|
|
2403
|
+
flowStatus?: ModelFlowRuntimeStatusInput | null;
|
|
2404
|
+
flowRetryCount?: ModelIntInput | null;
|
|
2405
|
+
flowReminderIndex?: ModelIntInput | null;
|
|
2406
|
+
flowTimeoutAt?: ModelIntInput | null;
|
|
2407
|
+
flowTimerScheduleArn?: ModelStringInput | null;
|
|
2408
|
+
isAgentHandling?: ModelBooleanInput | null;
|
|
2409
|
+
assignedAgentId?: ModelIDInput | null;
|
|
2410
|
+
agentHandlingStartedAt?: ModelIntInput | null;
|
|
2411
|
+
agentHandlingEndedAt?: ModelIntInput | null;
|
|
2077
2412
|
createdAt?: ModelIntInput | null;
|
|
2078
2413
|
updatedAt?: ModelIntInput | null;
|
|
2079
2414
|
deletedAt?: ModelIntInput | null;
|
|
@@ -2273,10 +2608,31 @@ type CreateInteractionMessageInput = {
|
|
|
2273
2608
|
body?: string | null;
|
|
2274
2609
|
metadata?: string | null;
|
|
2275
2610
|
direction?: InteractionMessageDirection | null;
|
|
2611
|
+
status?: InteractionMessageStatus | null;
|
|
2612
|
+
statusUpdatedAt?: number | null;
|
|
2276
2613
|
createdAt: number;
|
|
2277
2614
|
updatedAt: number;
|
|
2278
2615
|
deletedAt?: number | null;
|
|
2279
2616
|
};
|
|
2617
|
+
type UpdateInteractionMessageInput = {
|
|
2618
|
+
id: string;
|
|
2619
|
+
externalId?: string | null;
|
|
2620
|
+
endpointId?: string | null;
|
|
2621
|
+
campaignId?: string | null;
|
|
2622
|
+
campaignFlowNodeId?: string | null;
|
|
2623
|
+
entityConversationId?: string | null;
|
|
2624
|
+
interactionId?: string | null;
|
|
2625
|
+
interactionAttendeeId?: string | null;
|
|
2626
|
+
referenceMessageId?: string | null;
|
|
2627
|
+
body?: string | null;
|
|
2628
|
+
metadata?: string | null;
|
|
2629
|
+
direction?: InteractionMessageDirection | null;
|
|
2630
|
+
status?: InteractionMessageStatus | null;
|
|
2631
|
+
statusUpdatedAt?: number | null;
|
|
2632
|
+
createdAt?: number | null;
|
|
2633
|
+
updatedAt?: number | null;
|
|
2634
|
+
deletedAt?: number | null;
|
|
2635
|
+
};
|
|
2280
2636
|
type ModelInteractionMessageConditionInput = {
|
|
2281
2637
|
externalId?: ModelStringInput | null;
|
|
2282
2638
|
endpointId?: ModelIDInput | null;
|
|
@@ -2289,6 +2645,8 @@ type ModelInteractionMessageConditionInput = {
|
|
|
2289
2645
|
body?: ModelStringInput | null;
|
|
2290
2646
|
metadata?: ModelStringInput | null;
|
|
2291
2647
|
direction?: ModelInteractionMessageDirectionInput | null;
|
|
2648
|
+
status?: ModelInteractionMessageStatusInput | null;
|
|
2649
|
+
statusUpdatedAt?: ModelIntInput | null;
|
|
2292
2650
|
createdAt?: ModelIntInput | null;
|
|
2293
2651
|
updatedAt?: ModelIntInput | null;
|
|
2294
2652
|
deletedAt?: ModelIntInput | null;
|
|
@@ -2309,6 +2667,8 @@ type ModelInteractionMessageFilterInput = {
|
|
|
2309
2667
|
body?: ModelStringInput | null;
|
|
2310
2668
|
metadata?: ModelStringInput | null;
|
|
2311
2669
|
direction?: ModelInteractionMessageDirectionInput | null;
|
|
2670
|
+
status?: ModelInteractionMessageStatusInput | null;
|
|
2671
|
+
statusUpdatedAt?: ModelIntInput | null;
|
|
2312
2672
|
createdAt?: ModelIntInput | null;
|
|
2313
2673
|
updatedAt?: ModelIntInput | null;
|
|
2314
2674
|
deletedAt?: ModelIntInput | null;
|
|
@@ -2374,6 +2734,14 @@ type ModelInteractionMessageDirectionInput = {
|
|
|
2374
2734
|
eq?: InteractionMessageDirection | null;
|
|
2375
2735
|
ne?: InteractionMessageDirection | null;
|
|
2376
2736
|
};
|
|
2737
|
+
type ModelInteractionMessageStatusInput = {
|
|
2738
|
+
eq?: InteractionMessageStatus | null;
|
|
2739
|
+
ne?: InteractionMessageStatus | null;
|
|
2740
|
+
};
|
|
2741
|
+
type ModelFlowRuntimeStatusInput = {
|
|
2742
|
+
eq?: FlowRuntimeStatus | null;
|
|
2743
|
+
ne?: FlowRuntimeStatus | null;
|
|
2744
|
+
};
|
|
2377
2745
|
type ModelInteractionProviderInput = {
|
|
2378
2746
|
eq?: InteractionProvider | null;
|
|
2379
2747
|
ne?: InteractionProvider | null;
|
|
@@ -2525,6 +2893,8 @@ type Ticket = {
|
|
|
2525
2893
|
createdByUser?: User | null;
|
|
2526
2894
|
createdAt: number;
|
|
2527
2895
|
updatedAt: number;
|
|
2896
|
+
updatedByUserId: string;
|
|
2897
|
+
updatedByUserSessionId?: string | null;
|
|
2528
2898
|
deletedAt?: number | null;
|
|
2529
2899
|
};
|
|
2530
2900
|
type TicketPriority = {
|
|
@@ -2538,6 +2908,8 @@ type TicketPriority = {
|
|
|
2538
2908
|
colorCode?: string | null;
|
|
2539
2909
|
createdAt: number;
|
|
2540
2910
|
updatedAt: number;
|
|
2911
|
+
updatedByUserId: string;
|
|
2912
|
+
updatedByUserSessionId?: string | null;
|
|
2541
2913
|
deletedAt?: number | null;
|
|
2542
2914
|
};
|
|
2543
2915
|
type TicketStatus = {
|
|
@@ -2552,6 +2924,8 @@ type TicketStatus = {
|
|
|
2552
2924
|
colorCode?: string | null;
|
|
2553
2925
|
createdAt: number;
|
|
2554
2926
|
updatedAt: number;
|
|
2927
|
+
updatedByUserId: string;
|
|
2928
|
+
updatedByUserSessionId?: string | null;
|
|
2555
2929
|
deletedAt?: number | null;
|
|
2556
2930
|
};
|
|
2557
2931
|
type TicketType = {
|
|
@@ -2565,10 +2939,13 @@ type TicketType = {
|
|
|
2565
2939
|
colorCode?: string | null;
|
|
2566
2940
|
createdAt: number;
|
|
2567
2941
|
updatedAt: number;
|
|
2942
|
+
updatedByUserId: string;
|
|
2943
|
+
updatedByUserSessionId?: string | null;
|
|
2568
2944
|
deletedAt?: number | null;
|
|
2569
2945
|
};
|
|
2570
2946
|
type ModelTicketConditionInput = {
|
|
2571
2947
|
externalId?: ModelStringInput | null;
|
|
2948
|
+
referenceNumber?: ModelStringInput | null;
|
|
2572
2949
|
tenantId?: ModelIDInput | null;
|
|
2573
2950
|
entityId?: ModelIDInput | null;
|
|
2574
2951
|
parentEntityId?: ModelIDInput | null;
|
|
@@ -2582,6 +2959,8 @@ type ModelTicketConditionInput = {
|
|
|
2582
2959
|
createdByUserId?: ModelIDInput | null;
|
|
2583
2960
|
createdAt?: ModelIntInput | null;
|
|
2584
2961
|
updatedAt?: ModelIntInput | null;
|
|
2962
|
+
updatedByUserId?: ModelIDInput | null;
|
|
2963
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2585
2964
|
deletedAt?: ModelIntInput | null;
|
|
2586
2965
|
and?: Array<ModelTicketConditionInput | null> | null;
|
|
2587
2966
|
or?: Array<ModelTicketConditionInput | null> | null;
|
|
@@ -2590,6 +2969,7 @@ type ModelTicketConditionInput = {
|
|
|
2590
2969
|
type ModelTicketFilterInput = {
|
|
2591
2970
|
id?: ModelIDInput | null;
|
|
2592
2971
|
externalId?: ModelStringInput | null;
|
|
2972
|
+
referenceNumber?: ModelStringInput | null;
|
|
2593
2973
|
tenantId?: ModelIDInput | null;
|
|
2594
2974
|
entityId?: ModelIDInput | null;
|
|
2595
2975
|
parentEntityId?: ModelIDInput | null;
|
|
@@ -2603,6 +2983,8 @@ type ModelTicketFilterInput = {
|
|
|
2603
2983
|
createdByUserId?: ModelIDInput | null;
|
|
2604
2984
|
createdAt?: ModelIntInput | null;
|
|
2605
2985
|
updatedAt?: ModelIntInput | null;
|
|
2986
|
+
updatedByUserId?: ModelIDInput | null;
|
|
2987
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2606
2988
|
deletedAt?: ModelIntInput | null;
|
|
2607
2989
|
and?: Array<ModelTicketFilterInput | null> | null;
|
|
2608
2990
|
or?: Array<ModelTicketFilterInput | null> | null;
|
|
@@ -2617,6 +2999,8 @@ type ModelTicketPriorityConditionInput = {
|
|
|
2617
2999
|
colorCode?: ModelStringInput | null;
|
|
2618
3000
|
createdAt?: ModelIntInput | null;
|
|
2619
3001
|
updatedAt?: ModelIntInput | null;
|
|
3002
|
+
updatedByUserId?: ModelIDInput | null;
|
|
3003
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2620
3004
|
deletedAt?: ModelIntInput | null;
|
|
2621
3005
|
and?: Array<ModelTicketPriorityConditionInput | null> | null;
|
|
2622
3006
|
or?: Array<ModelTicketPriorityConditionInput | null> | null;
|
|
@@ -2632,6 +3016,8 @@ type ModelTicketPriorityFilterInput = {
|
|
|
2632
3016
|
colorCode?: ModelStringInput | null;
|
|
2633
3017
|
createdAt?: ModelIntInput | null;
|
|
2634
3018
|
updatedAt?: ModelIntInput | null;
|
|
3019
|
+
updatedByUserId?: ModelIDInput | null;
|
|
3020
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2635
3021
|
deletedAt?: ModelIntInput | null;
|
|
2636
3022
|
and?: Array<ModelTicketPriorityFilterInput | null> | null;
|
|
2637
3023
|
or?: Array<ModelTicketPriorityFilterInput | null> | null;
|
|
@@ -2647,6 +3033,8 @@ type ModelTicketStatusConditionInput = {
|
|
|
2647
3033
|
colorCode?: ModelStringInput | null;
|
|
2648
3034
|
createdAt?: ModelIntInput | null;
|
|
2649
3035
|
updatedAt?: ModelIntInput | null;
|
|
3036
|
+
updatedByUserId?: ModelIDInput | null;
|
|
3037
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2650
3038
|
deletedAt?: ModelIntInput | null;
|
|
2651
3039
|
and?: Array<ModelTicketStatusConditionInput | null> | null;
|
|
2652
3040
|
or?: Array<ModelTicketStatusConditionInput | null> | null;
|
|
@@ -2663,6 +3051,8 @@ type ModelTicketStatusFilterInput = {
|
|
|
2663
3051
|
colorCode?: ModelStringInput | null;
|
|
2664
3052
|
createdAt?: ModelIntInput | null;
|
|
2665
3053
|
updatedAt?: ModelIntInput | null;
|
|
3054
|
+
updatedByUserId?: ModelIDInput | null;
|
|
3055
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2666
3056
|
deletedAt?: ModelIntInput | null;
|
|
2667
3057
|
and?: Array<ModelTicketStatusFilterInput | null> | null;
|
|
2668
3058
|
or?: Array<ModelTicketStatusFilterInput | null> | null;
|
|
@@ -2677,6 +3067,8 @@ type ModelTicketTypeConditionInput = {
|
|
|
2677
3067
|
colorCode?: ModelStringInput | null;
|
|
2678
3068
|
createdAt?: ModelIntInput | null;
|
|
2679
3069
|
updatedAt?: ModelIntInput | null;
|
|
3070
|
+
updatedByUserId?: ModelIDInput | null;
|
|
3071
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2680
3072
|
deletedAt?: ModelIntInput | null;
|
|
2681
3073
|
and?: Array<ModelTicketTypeConditionInput | null> | null;
|
|
2682
3074
|
or?: Array<ModelTicketTypeConditionInput | null> | null;
|
|
@@ -2692,6 +3084,8 @@ type ModelTicketTypeFilterInput = {
|
|
|
2692
3084
|
colorCode?: ModelStringInput | null;
|
|
2693
3085
|
createdAt?: ModelIntInput | null;
|
|
2694
3086
|
updatedAt?: ModelIntInput | null;
|
|
3087
|
+
updatedByUserId?: ModelIDInput | null;
|
|
3088
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
2695
3089
|
deletedAt?: ModelIntInput | null;
|
|
2696
3090
|
and?: Array<ModelTicketTypeFilterInput | null> | null;
|
|
2697
3091
|
or?: Array<ModelTicketTypeFilterInput | null> | null;
|
|
@@ -2718,9 +3112,10 @@ declare class CommonService {
|
|
|
2718
3112
|
}
|
|
2719
3113
|
|
|
2720
3114
|
declare const FIELDS_ENTITY_TYPE = "\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";
|
|
2721
|
-
declare const
|
|
2722
|
-
declare const
|
|
2723
|
-
declare const
|
|
3115
|
+
declare const FIELDS_ENTITY_TYPE_EXPANDED = "\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 entityFields\n organizationFields\n";
|
|
3116
|
+
declare const FIELDS_ENTITY = "\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 updatedByUserId\n updatedByUserSessionId\n";
|
|
3117
|
+
declare const FIELDS_ENTITY_EXPANDED = "\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 parent {\n id\n externalId\n tenantId\n entityTypeId\n name\n image {\n key\n bucket\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 key\n bucket\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 updatedByUserId\n updatedByUserSessionId\n";
|
|
3118
|
+
declare const FIELDS_ENTITY_MINIMAL = "\n id\n externalId\n tenantId\n entityTypeId\n metadata\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 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 updatedByUserId\n updatedByUserSessionId\n";
|
|
2724
3119
|
type __SubscriptionContainer$5 = {
|
|
2725
3120
|
OnEntityById: Entity;
|
|
2726
3121
|
};
|
|
@@ -2742,9 +3137,9 @@ declare class EntityService {
|
|
|
2742
3137
|
type __SubscriptionContainer$4 = {
|
|
2743
3138
|
OnEntityConversationByTenantId: EntityConversation;
|
|
2744
3139
|
};
|
|
2745
|
-
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 interactionWidgetId\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";
|
|
3140
|
+
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 updatedByUserId\n updatedByUserSessionId\n\n }\n entityAddress\n interactionWidgetId\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";
|
|
2746
3141
|
declare const FIELDS_ENTITY_CONVERSATION_MINIMAL = "\n id\n tenantId\n entityId\n entityAddress\n interactionWidgetId\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";
|
|
2747
|
-
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 interactionWidgetId\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 status\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";
|
|
3142
|
+
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 updatedByUserId\n updatedByUserSessionId\n\n }\n entityAddress\n interactionWidgetId\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 campaignId\n flowVersion\n currentCampaignFlowNodeId\n flowVariables\n flowStatus\n flowRetryCount\n flowReminderIndex\n flowTimeoutAt\n flowTimerScheduleArn\n isAgentHandling\n assignedAgentId\n agentHandlingStartedAt\n agentHandlingEndedAt\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 status\n statusUpdatedAt\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";
|
|
2748
3143
|
declare class EntityConversationService {
|
|
2749
3144
|
private readonly appSyncService;
|
|
2750
3145
|
constructor(appSyncService: AppSyncHelperService);
|
|
@@ -2761,20 +3156,24 @@ declare class EntityConversationService {
|
|
|
2761
3156
|
}
|
|
2762
3157
|
|
|
2763
3158
|
type __SubscriptionContainer$3 = {
|
|
3159
|
+
OnInteractionById: Interaction;
|
|
2764
3160
|
OnInteractionByEntityId: Interaction;
|
|
3161
|
+
OnInteractionInviteeByInteractionId: InteractionInvitee;
|
|
2765
3162
|
OnInteractionInviteeByUserId: InteractionInvitee;
|
|
3163
|
+
OnInteractionAttendeeByInteractionId: InteractionAttendee;
|
|
3164
|
+
OnInteractionMessageByInteractionId: InteractionMessage;
|
|
2766
3165
|
OnInteractionMessageByEntityConversationId: InteractionMessage;
|
|
2767
3166
|
};
|
|
2768
3167
|
declare const FIELDS_INTERACTION_HOST = "\n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n";
|
|
2769
|
-
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 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";
|
|
2770
|
-
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 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";
|
|
2771
|
-
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 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 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 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";
|
|
2772
|
-
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 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 entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n metadata\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 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";
|
|
3168
|
+
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 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 campaignId\n flowVersion\n currentCampaignFlowNodeId\n flowVariables\n flowStatus\n flowRetryCount\n flowReminderIndex\n flowTimeoutAt\n flowTimerScheduleArn\n isAgentHandling\n assignedAgentId\n agentHandlingStartedAt\n agentHandlingEndedAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
3169
|
+
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 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 campaignId\n flowVersion\n currentCampaignFlowNodeId\n flowVariables\n flowStatus\n flowRetryCount\n flowReminderIndex\n flowTimeoutAt\n flowTimerScheduleArn\n isAgentHandling\n assignedAgentId\n agentHandlingStartedAt\n agentHandlingEndedAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
3170
|
+
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 updatedByUserId\n updatedByUserSessionId\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 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 updatedByUserId\n updatedByUserSessionId\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 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 campaignId\n flowVersion\n currentCampaignFlowNodeId\n flowVariables\n flowStatus\n flowRetryCount\n flowReminderIndex\n flowTimeoutAt\n flowTimerScheduleArn\n isAgentHandling\n assignedAgentId\n agentHandlingStartedAt\n agentHandlingEndedAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
3171
|
+
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 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 campaignId\n flowVersion\n currentCampaignFlowNodeId\n flowVariables\n flowStatus\n flowRetryCount\n flowReminderIndex\n flowTimeoutAt\n flowTimerScheduleArn\n isAgentHandling\n assignedAgentId\n agentHandlingStartedAt\n agentHandlingEndedAt\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 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 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 updatedByUserId\n updatedByUserSessionId\n\n }\n teamId\n userId\n isAdministrator\n temp_expiringAt\n expiredAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
2773
3172
|
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";
|
|
2774
|
-
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";
|
|
3173
|
+
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 updatedByUserId\n updatedByUserSessionId\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";
|
|
2775
3174
|
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";
|
|
2776
|
-
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 status\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";
|
|
2777
|
-
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 status\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";
|
|
3175
|
+
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 status\n statusUpdatedAt\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";
|
|
3176
|
+
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 status\n statusUpdatedAt\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";
|
|
2778
3177
|
declare class InteractionService {
|
|
2779
3178
|
private readonly appSyncService;
|
|
2780
3179
|
newInteractionInviteObservable$: BehaviorSubject<any>;
|
|
@@ -2785,18 +3184,25 @@ declare class InteractionService {
|
|
|
2785
3184
|
CreateInteraction(input: CreateInteractionInput, condition?: ModelInteractionConditionInput): Promise<Interaction>;
|
|
2786
3185
|
UpdateInteraction(input: UpdateInteractionInput, condition?: ModelInteractionConditionInput): Promise<Interaction>;
|
|
2787
3186
|
CreateInteractionAttendee(input: CreateInteractionAttendeeInput, condition?: ModelInteractionAttendeeConditionInput): Promise<InteractionAttendee>;
|
|
3187
|
+
UpdateInteractionAttendee(input: UpdateInteractionAttendeeInput, condition?: ModelInteractionAttendeeConditionInput): Promise<InteractionAttendee>;
|
|
2788
3188
|
CreateInteractionMessage(input: CreateInteractionMessageInput, condition?: ModelInteractionMessageConditionInput): Promise<InteractionMessage>;
|
|
2789
3189
|
CreateInteractionMessageAttachment(input: CreateInteractionMessageAttachmentInput, condition?: ModelInteractionMessageAttachmentConditionInput): Promise<InteractionMessageAttachment>;
|
|
2790
3190
|
ListInteractionsByTenantId(tenantId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionFilterInput, limit?: number, nextToken?: string): Promise<List<Interaction>>;
|
|
2791
3191
|
ListInteractionsByEntityId(entityId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionFilterInput, limit?: number, nextToken?: string): Promise<List<Interaction>>;
|
|
2792
3192
|
ListInteractionsByEntityConversationId(entityConversationId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionFilterInput, limit?: number, nextToken?: string): Promise<List<Interaction>>;
|
|
2793
3193
|
ListInteractionInviteesByUserId(userId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionInviteeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionInvitee>>;
|
|
3194
|
+
ListInteractionAttendeesByInteractionId(interactionId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
2794
3195
|
ListInteractionAttendeesByInteractionIdAndEntityId(interactionId: string, entityId?: ModelIDKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
2795
3196
|
ListInteractionAttendeesByInteractionIdAndUserId(interactionId: string, userId?: ModelIDKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
3197
|
+
ListInteractionMessagesByInteractionId(interactionId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
2796
3198
|
ListInteractionMessagesByEntityConversationId(entityConversationId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
2797
|
-
|
|
3199
|
+
ListInteractionMessagesByExternalId(externalId: string, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
2798
3200
|
ListInteractionMessagesByInteractionAttendeeId(interactionAttendeeId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
2799
3201
|
ListInteractionMessageAttachmentsByInteractionMessageId(interactionMessageId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageAttachmentFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessageAttachment>>;
|
|
3202
|
+
OnInteractionByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionById'>>>;
|
|
3203
|
+
OnInteractionInviteeByInteractionIdListener(interactionId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionInviteeByInteractionId'>>>;
|
|
3204
|
+
OnInteractionAttendeeByInteractionIdListener(interactionId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionAttendeeByInteractionId'>>>;
|
|
3205
|
+
OnInteractionMessageByInteractionIdListener(interactionId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionMessageByInteractionId'>>>;
|
|
2800
3206
|
OnInteractionByEntityIdListener(entityId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionByEntityId'>>>;
|
|
2801
3207
|
OnInteractionInviteeByUserIdListener(userId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionInviteeByUserId'>>>;
|
|
2802
3208
|
OnInteractionMessageByEntityConversationIdListener(entityConversationId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionMessageByEntityConversationId'>>>;
|
|
@@ -2804,7 +3210,10 @@ declare class InteractionService {
|
|
|
2804
3210
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionService>;
|
|
2805
3211
|
}
|
|
2806
3212
|
|
|
2807
|
-
declare const
|
|
3213
|
+
declare const FIELDS_INTERACTION_ENDPOINT_RECORDING_CONFIG = "\n mode\n notify\n audioMediaName\n audioUrl\n";
|
|
3214
|
+
declare const FIELDS_INTERACTION_ENDPOINT_WORKING_HOURS_ACTION_CONFIG = "\n duringHours {\n \n action\n audioMediaName\n audioUrl\n\n }\n afterHours {\n \n action\n audioMediaName\n audioUrl\n\n }\n whenClosed {\n \n action\n audioMediaName\n audioUrl\n\n }\n";
|
|
3215
|
+
declare const FIELDS_INTERACTION_ENDPOINT_ROUTING_CONFIG = "\n answeringRoles\n knownCallerStrategy\n unknownCallerStrategy\n ifNoPickup {\n \n action\n audioMediaName\n audioUrl\n\n }\n escalationRoles\n noAnswer {\n \n action\n audioMediaName\n audioUrl\n\n }\n";
|
|
3216
|
+
declare const FIELDS_INTERACTION_ENDPOINT = "\n id\n externalId\n tenantId\n widgetId\n address\n configuration\n recordingConfig {\n \n mode\n notify\n audioMediaName\n audioUrl\n\n }\n workingHoursActionConfig {\n \n duringHours {\n \n action\n audioMediaName\n audioUrl\n\n }\n afterHours {\n \n action\n audioMediaName\n audioUrl\n\n }\n whenClosed {\n \n action\n audioMediaName\n audioUrl\n\n }\n\n }\n routingConfig {\n \n answeringRoles\n knownCallerStrategy\n unknownCallerStrategy\n ifNoPickup {\n \n action\n audioMediaName\n audioUrl\n\n }\n escalationRoles\n noAnswer {\n \n action\n audioMediaName\n audioUrl\n\n }\n\n }\n # buyPrice is intentionally not selected here \u2014 it is our cost, not the tenant's price.\n sellPrice {\n \n currency\n upfrontCost\n monthlyCost\n inboundCost\n outboundCost\n\n }\n documents {\n fileName\n documentType\n contentType\n file {\n key\n bucket\n location\n }\n }\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
|
|
2808
3217
|
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";
|
|
2809
3218
|
declare class InteractionEndpointService {
|
|
2810
3219
|
private readonly appSyncService;
|
|
@@ -2818,7 +3227,8 @@ declare class InteractionEndpointService {
|
|
|
2818
3227
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionEndpointService>;
|
|
2819
3228
|
}
|
|
2820
3229
|
|
|
2821
|
-
declare const FIELDS_INTERACTION_WIDGET = "\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";
|
|
3230
|
+
declare const FIELDS_INTERACTION_WIDGET = "\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 updatedByUserId\n updatedByUserSessionId\n";
|
|
3231
|
+
declare const FIELDS_INTERACTION_WIDGET_SESSION = "\n id\n tenantId\n widgetId\n entityId\n ipDetails\n createdAt\n updatedAt\n";
|
|
2822
3232
|
declare const FIELDS_INTERACTION_WIDGET_USER_SETTING = "\n id\n widgetId\n userId\n configuration\n allowOverride\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
|
|
2823
3233
|
declare class InteractionWidgetService {
|
|
2824
3234
|
private readonly appSyncService;
|
|
@@ -2843,9 +3253,12 @@ declare class TeamService {
|
|
|
2843
3253
|
static ɵprov: i0.ɵɵInjectableDeclaration<TeamService>;
|
|
2844
3254
|
}
|
|
2845
3255
|
|
|
2846
|
-
declare const
|
|
2847
|
-
declare const
|
|
2848
|
-
declare const
|
|
3256
|
+
declare const FIELDS_TENANT_PREFERENCES = "\n timezoneName\n language {\n \n code\n nameEn\n nameLocal\n\n }\n allowUserToChangePreferences\n brandColor\n workingHours {\n timezone\n days {\n day\n open\n start\n end\n }\n }\n availabilityConfig {\n customStatuses {\n key\n name\n colour\n available\n }\n allowDialUnsavedNumber\n acwTime\n ringtone\n }\n recordingExcludedUserIds\n";
|
|
3257
|
+
declare const FIELDS_TENANT_PROFILE = "\n businessType\n industry\n teamSize\n goals\n";
|
|
3258
|
+
declare const FIELDS_TENANT_ONBOARDING = "\n status\n currentStep\n completedSteps\n startedAt\n completedAt\n";
|
|
3259
|
+
declare const FIELDS_TENANT = "\n id\n externalId\n externalCrmProvider\n tenantDomain\n organizationName\n websiteURL\n image {\n key\n bucket\n location\n }\n preferences {\n \n timezoneName\n language {\n \n code\n nameEn\n nameLocal\n\n }\n allowUserToChangePreferences\n brandColor\n workingHours {\n timezone\n days {\n day\n open\n start\n end\n }\n }\n availabilityConfig {\n customStatuses {\n key\n name\n colour\n available\n }\n allowDialUnsavedNumber\n acwTime\n ringtone\n }\n recordingExcludedUserIds\n\n }\n security {\n domainValidationTokenExpiry\n userValidationTokenExpiry\n secretTokenExpiry\n sessionTokenExpiry\n sessionIdleTimeout\n }\n profile {\n \n businessType\n industry\n teamSize\n goals\n\n }\n onboarding {\n \n status\n currentStep\n completedSteps\n startedAt\n completedAt\n\n }\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
|
|
3260
|
+
declare const FIELDS_TENANT_MINIMAL = "\n id\n externalId\n externalCrmProvider\n tenantDomain\n organizationName\n websiteURL\n image {\n key\n bucket\n location\n }\n preferences {\n \n timezoneName\n language {\n \n code\n nameEn\n nameLocal\n\n }\n allowUserToChangePreferences\n brandColor\n workingHours {\n timezone\n days {\n day\n open\n start\n end\n }\n }\n availabilityConfig {\n customStatuses {\n key\n name\n colour\n available\n }\n allowDialUnsavedNumber\n acwTime\n ringtone\n }\n recordingExcludedUserIds\n\n }\n onboarding {\n \n status\n currentStep\n completedSteps\n startedAt\n completedAt\n\n }\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
|
|
3261
|
+
declare const FIELDS_TENANT_EXPANDED = "\n id\n externalId\n externalCrmProvider\n tenantDomain\n organizationName\n websiteURL\n image {\n key\n bucket\n location\n }\n billingInformation {\n companyName\n address\n state\n city\n postalCode\n country {\n \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\n }\n companyIdentificationNumber\n taxIdentificationNumber\n billingEmail\n website\n }\n contactInformation {\n name\n email\n phoneNumber {\n \n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n\n }\n address\n state\n city\n postalCode\n country {\n \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\n }\n }\n preferences {\n \n timezoneName\n language {\n \n code\n nameEn\n nameLocal\n\n }\n allowUserToChangePreferences\n brandColor\n workingHours {\n timezone\n days {\n day\n open\n start\n end\n }\n }\n availabilityConfig {\n customStatuses {\n key\n name\n colour\n available\n }\n allowDialUnsavedNumber\n acwTime\n ringtone\n }\n recordingExcludedUserIds\n\n }\n ssoConfiguration {\n provider\n protocol\n displayName\n configuration\n isEnabled\n isDefaultLoginMode\n }\n security {\n domainValidationTokenExpiry\n userValidationTokenExpiry\n secretTokenExpiry\n sessionTokenExpiry\n sessionIdleTimeout\n }\n profile {\n \n businessType\n industry\n teamSize\n goals\n\n }\n onboarding {\n \n status\n currentStep\n completedSteps\n startedAt\n completedAt\n\n }\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
|
|
2849
3262
|
declare const FIELDS_TENANT_COMPLIANCE_DOCUMENT = "\n id\n tenantId\n documentName\n documentType\n documentNumber\n legalEntityName\n issuedBy\n issueDate\n expiryDate\n status\n notes\n file {\n key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n updatedByUserId\n updatedByUserSessionId\n";
|
|
2850
3263
|
type __SubscriptionContainer$2 = {
|
|
2851
3264
|
OnTenantById: Tenant;
|
|
@@ -2881,7 +3294,7 @@ declare class TicketService {
|
|
|
2881
3294
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketService>;
|
|
2882
3295
|
}
|
|
2883
3296
|
|
|
2884
|
-
declare const FIELDS_USER_SESSION = "\n id\n tenantId\n userId\n ipDetails\n status\n teamIds\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n expiryAt\n loggedOutAt\n blockedAt\n";
|
|
3297
|
+
declare const FIELDS_USER_SESSION = "\n id\n tenantId\n userId\n ipDetails\n status\n statusKey\n lastInteractionHandledAt\n teamIds\n temp_isLocked\n temp_isAvailableTenantIdUnion\n createdAt\n updatedAt\n expiryAt\n loggedOutAt\n blockedAt\n";
|
|
2885
3298
|
type __SubscriptionContainer$1 = {
|
|
2886
3299
|
OnUserSessionById: UserSession;
|
|
2887
3300
|
};
|
|
@@ -2949,6 +3362,18 @@ declare class EncryptedStorageService {
|
|
|
2949
3362
|
static ɵprov: i0.ɵɵInjectableDeclaration<EncryptedStorageService>;
|
|
2950
3363
|
}
|
|
2951
3364
|
|
|
3365
|
+
declare class SnugdeskIPRegistryService {
|
|
3366
|
+
private http;
|
|
3367
|
+
private readonly IP_REGISTRY_API;
|
|
3368
|
+
private readonly SESSION_KEY;
|
|
3369
|
+
constructor(http: HttpClient);
|
|
3370
|
+
private get cachedIPDetails();
|
|
3371
|
+
private set cachedIPDetails(value);
|
|
3372
|
+
getIPDetails(): Promise<any>;
|
|
3373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnugdeskIPRegistryService, never>;
|
|
3374
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SnugdeskIPRegistryService>;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
2952
3377
|
declare class CleanDeep {
|
|
2953
3378
|
static clean(obj: any): typeof obj;
|
|
2954
3379
|
}
|
|
@@ -3098,5 +3523,5 @@ declare class InteractionMessageTemplateService {
|
|
|
3098
3523
|
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionMessageTemplateService>;
|
|
3099
3524
|
}
|
|
3100
3525
|
|
|
3101
|
-
export { AMPLIFY_CONFIG, AppSyncHelperService, BillingAccountStatus, BillingAdminActionStatus, BillingAdminActionType, BillingChargeStatus, BillingCreditClass, BillingEntityStatus, BillingInvoiceStatus, BillingInvoiceType, BillingKycCaseStatus, BillingKycCaseType, BillingLedgerDirection, BillingLedgerEntryType, BillingPaymentDirection, BillingPaymentMethodStatus, BillingPaymentPurpose, BillingPaymentRail, BillingPaymentStatus, BillingPeriodType, BillingPriceBookType, BillingPricingType, BillingRatingStatus, BillingReceiptMatchStatus, BillingSubscriptionStatus, BillingTaxTreatment, 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, InteractionMessageStatus, 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, generateReferenceNumber, provideAmplifyConfig, sanitizeHtmlBody };
|
|
3102
|
-
export type { AmplifyConfig, BillingAccount, BillingAdminAction, BillingAuditLog, BillingBankReceipt, BillingFxRate, BillingIdempotencyKey, BillingInvoice, BillingInvoiceLine, BillingKycCase, BillingLedgerEntry, BillingPayment, BillingPaymentMethod, BillingPlanDefinition, BillingPlatformConfig, BillingPriceBook, BillingProduct, BillingRateCard, BillingRatedCharge, BillingSubscription, BillingTaxRule, BillingUsageEvent, BillingWalletBalance, 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, TenantBillingSnapshot, 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 };
|
|
3526
|
+
export { AMPLIFY_CONFIG, AppSyncHelperService, BillingAccountStatus, BillingAdminActionStatus, BillingAdminActionType, BillingChargeStatus, BillingCreditClass, BillingEntityStatus, BillingInvoiceStatus, BillingInvoiceType, BillingKycCaseStatus, BillingKycCaseType, BillingLedgerDirection, BillingLedgerEntryType, BillingMode, BillingPaymentDirection, BillingPaymentMethodStatus, BillingPaymentPurpose, BillingPaymentRail, BillingPaymentStatus, BillingPeriodType, BillingPriceBookType, BillingPricingType, BillingRatingStatus, BillingReceiptMatchStatus, BillingSubscriptionStatus, BillingTaxTreatment, CleanDeep, CommonService, CustomPipesModule, CustomValidators, DEFAULT_WEB_CHAT_WIDGET_CONFIGURATION, 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_ENTITY_TYPE_EXPANDED, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_ENDPOINT_MINIMAL, FIELDS_INTERACTION_ENDPOINT_RECORDING_CONFIG, FIELDS_INTERACTION_ENDPOINT_ROUTING_CONFIG, FIELDS_INTERACTION_ENDPOINT_WORKING_HOURS_ACTION_CONFIG, 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_SESSION, 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_TENANT_ONBOARDING, FIELDS_TENANT_PREFERENCES, FIELDS_TENANT_PROFILE, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FlowRuntimeStatus, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionMessageDirection, InteractionMessageStatus, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, RecordingMode, RecordingNotify, RoutingFallback, RoutingNoPickup, RoutingRole, RoutingStrategy, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantExternalCrmProvider, TenantOnboardingStatus, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, WorkingHoursFallbackAction, generateReferenceNumber, parseWebChatWidgetConfiguration, provideAmplifyConfig, sanitizeHtmlBody };
|
|
3527
|
+
export type { AmplifyConfig, BillingAccount, BillingAdminAction, BillingAuditLog, BillingBankReceipt, BillingFxRate, BillingIdempotencyKey, BillingInvoice, BillingInvoiceLine, BillingKycCase, BillingLedgerEntry, BillingPayment, BillingPaymentMethod, BillingPlanDefinition, BillingPlatformConfig, BillingPriceBook, BillingProduct, BillingRateCard, BillingRatedCharge, BillingSubscription, BillingTaxRule, BillingUsageEvent, BillingWalletBalance, 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, InteractionAttendeeConnection, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRecordingConfig, InteractionEndpointRegulatoryComplianceDocument, InteractionEndpointRoutingAction, InteractionEndpointRoutingConfig, InteractionEndpointRoutingFirstAction, InteractionEndpointWorkingHoursAction, InteractionEndpointWorkingHoursActionConfig, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionMessageTemplate, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetSession, InteractionWidgetUserSetting, Language, List, MailboxConfig, ModelBooleanInput, ModelEntityConditionInput, ModelEntityConversationConditionInput, ModelEntityConversationFilterInput, ModelEntityFilterInput, ModelEntityTypeConditionInput, ModelEntityTypeFilterInput, ModelFlowRuntimeStatusInput, ModelIDInput, ModelIDKeyConditionInput, ModelIntInput, ModelIntKeyConditionInput, ModelInteractionAttendeeConditionInput, ModelInteractionAttendeeFilterInput, ModelInteractionChannelInput, ModelInteractionConditionInput, ModelInteractionContextInput, ModelInteractionDirectionInput, ModelInteractionEndpointConditionInput, ModelInteractionEndpointFilterInput, ModelInteractionFilterInput, ModelInteractionHostConditionInput, ModelInteractionHostFilterInput, ModelInteractionInviteeConditionInput, ModelInteractionInviteeFilterInput, ModelInteractionMessageAttachmentConditionInput, ModelInteractionMessageAttachmentFilterInput, ModelInteractionMessageConditionInput, ModelInteractionMessageDirectionInput, ModelInteractionMessageFilterInput, ModelInteractionMessageStatusInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelInteractionWidgetSessionFilterInput, ModelInteractionWidgetUserSettingFilterInput, ModelProcessingStatusInput, ModelSizeInput, ModelStringInput, ModelStringKeyConditionInput, ModelTeamConditionInput, ModelTeamFilterInput, ModelTeamMemberConditionInput, ModelTeamMemberFilterInput, ModelTenantComplianceDocumentConditionInput, ModelTenantComplianceDocumentFilterInput, ModelTenantComplianceDocumentStatusInput, ModelTenantComplianceDocumentTypeInput, ModelTenantConditionInput, ModelTenantExternalCrmProviderInput, ModelTenantFilterInput, 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, TenantAvailabilityCallingConfig, TenantAvailabilityStatus, TenantBillingInformation, TenantBillingSnapshot, TenantComplianceDocument, TenantContactInformation, TenantOnboarding, TenantPreferences, TenantProfile, TenantSSOConfiguration, TenantSecurity, TenantWorkingHours, TenantWorkingHoursDay, Ticket, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionEndpointInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateInteractionMessageInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateTenantComplianceDocumentInput, UpdateTenantInput, UpdateUserInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession, WebChatWidgetConfiguration, WebChatWidgetCustomField };
|