@snugdesk/core 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/snugdesk-core.mjs +1111 -1079
- package/fesm2022/snugdesk-core.mjs.map +1 -1
- package/index.d.ts +725 -195
- package/package.json +1 -5
- package/fesm2022/snugdesk-core-src-lib-models-dynamodb.mjs +0 -25
- package/fesm2022/snugdesk-core-src-lib-models-dynamodb.mjs.map +0 -1
- package/src/lib/models/dynamodb/index.d.ts +0 -176
package/index.d.ts
CHANGED
|
@@ -325,6 +325,20 @@ type List<T> = {
|
|
|
325
325
|
interface SubscriptionResponse<T> {
|
|
326
326
|
value: GraphQLResult<T>;
|
|
327
327
|
}
|
|
328
|
+
type Country = {
|
|
329
|
+
code: string;
|
|
330
|
+
nameEn: string;
|
|
331
|
+
nameLocal?: string | null;
|
|
332
|
+
currency?: CountryCurrency | null;
|
|
333
|
+
officialLanguage?: Language | null;
|
|
334
|
+
callingCode?: string | null;
|
|
335
|
+
region?: string | null;
|
|
336
|
+
flag?: string | null;
|
|
337
|
+
};
|
|
338
|
+
type CountryCurrency = {
|
|
339
|
+
code: string;
|
|
340
|
+
nameEn: string;
|
|
341
|
+
};
|
|
328
342
|
type Language = {
|
|
329
343
|
code: string;
|
|
330
344
|
nameEn: string;
|
|
@@ -348,17 +362,40 @@ type Entity = {
|
|
|
348
362
|
id: string;
|
|
349
363
|
externalId?: string | null;
|
|
350
364
|
tenantId: string;
|
|
365
|
+
entityTypeId?: string | null;
|
|
366
|
+
entityType?: EntityType | null;
|
|
367
|
+
parentId?: string | null;
|
|
368
|
+
parent?: Entity | null;
|
|
351
369
|
name: string;
|
|
352
370
|
image?: S3Object | null;
|
|
353
371
|
email?: string | null;
|
|
354
372
|
phoneNumber?: PhoneNumber | null;
|
|
355
373
|
phoneNumberE164?: string | null;
|
|
374
|
+
isOrganization: boolean;
|
|
375
|
+
metadata?: string;
|
|
376
|
+
notes?: string | null;
|
|
377
|
+
customFields?: Array<string | null> | null;
|
|
356
378
|
preferences?: EntityPreferences | null;
|
|
357
379
|
contactPreferences?: EntityContactPreferences | null;
|
|
358
380
|
createdAt: number;
|
|
359
381
|
updatedAt: number;
|
|
360
382
|
blockedAt?: number | null;
|
|
361
383
|
deletedAt?: number | null;
|
|
384
|
+
updatedByUserId: string;
|
|
385
|
+
updatedByUserSessionId?: string | null;
|
|
386
|
+
};
|
|
387
|
+
type EntityType = {
|
|
388
|
+
id: string;
|
|
389
|
+
externalId?: string | null;
|
|
390
|
+
tenantId: string;
|
|
391
|
+
name: string;
|
|
392
|
+
description?: string | null;
|
|
393
|
+
image?: S3Object | null;
|
|
394
|
+
createdAt: number;
|
|
395
|
+
updatedAt: number;
|
|
396
|
+
deletedAt?: number | null;
|
|
397
|
+
entityFields?: Array<string | null> | null;
|
|
398
|
+
organizationFields?: Array<string | null> | null;
|
|
362
399
|
};
|
|
363
400
|
type EntityPreferences = {
|
|
364
401
|
timezoneName?: string | null;
|
|
@@ -374,12 +411,19 @@ type CreateEntityInput = {
|
|
|
374
411
|
id?: string | null;
|
|
375
412
|
externalId?: string | null;
|
|
376
413
|
tenantId: string;
|
|
414
|
+
entityTypeId?: string | null;
|
|
415
|
+
parentId?: string | null;
|
|
377
416
|
name: string;
|
|
378
417
|
image?: S3Object | null;
|
|
379
418
|
email?: string | null;
|
|
380
419
|
phoneNumber?: PhoneNumber | null;
|
|
381
420
|
phoneNumberE164?: string | null;
|
|
382
421
|
isOrganization: boolean;
|
|
422
|
+
notes?: string | null;
|
|
423
|
+
metadata?: Array<string | null> | null;
|
|
424
|
+
customFields?: Array<string | null> | null;
|
|
425
|
+
preferences?: EntityPreferences | null;
|
|
426
|
+
contactPreferences?: EntityContactPreferences | null;
|
|
383
427
|
createdAt: number;
|
|
384
428
|
updatedAt: number;
|
|
385
429
|
blockedAt?: number | null;
|
|
@@ -391,12 +435,19 @@ type UpdateEntityInput = {
|
|
|
391
435
|
id: string;
|
|
392
436
|
externalId?: string | null;
|
|
393
437
|
tenantId?: string | null;
|
|
438
|
+
entityTypeId?: string | null;
|
|
439
|
+
parentId?: string | null;
|
|
394
440
|
name?: string | null;
|
|
395
441
|
image?: S3Object | null;
|
|
396
442
|
email?: string | null;
|
|
397
443
|
phoneNumber?: PhoneNumber | null;
|
|
398
444
|
phoneNumberE164?: string | null;
|
|
399
445
|
isOrganization?: boolean | null;
|
|
446
|
+
notes?: string | null;
|
|
447
|
+
metadata?: Array<string | null> | null;
|
|
448
|
+
customFields?: Array<string | null> | null;
|
|
449
|
+
preferences?: EntityPreferences | null;
|
|
450
|
+
contactPreferences?: EntityContactPreferences | null;
|
|
400
451
|
createdAt?: number | null;
|
|
401
452
|
updatedAt: number;
|
|
402
453
|
blockedAt?: number | null;
|
|
@@ -413,10 +464,15 @@ type ModelEntityConditionInput = {
|
|
|
413
464
|
email?: ModelStringInput | null;
|
|
414
465
|
phoneNumberE164?: ModelStringInput | null;
|
|
415
466
|
isOrganization?: ModelBooleanInput | null;
|
|
467
|
+
notes?: ModelStringInput | null;
|
|
468
|
+
metadata?: ModelStringInput | null;
|
|
469
|
+
customFields?: ModelStringInput | null;
|
|
416
470
|
createdAt?: ModelIntInput | null;
|
|
417
471
|
updatedAt?: ModelIntInput | null;
|
|
418
472
|
blockedAt?: ModelIntInput | null;
|
|
419
473
|
deletedAt?: ModelIntInput | null;
|
|
474
|
+
updatedByUserId?: ModelIDInput | null;
|
|
475
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
420
476
|
and?: Array<ModelEntityConditionInput | null> | null;
|
|
421
477
|
or?: Array<ModelEntityConditionInput | null> | null;
|
|
422
478
|
not?: ModelEntityConditionInput | null;
|
|
@@ -431,26 +487,69 @@ type ModelEntityFilterInput = {
|
|
|
431
487
|
email?: ModelStringInput | null;
|
|
432
488
|
phoneNumberE164?: ModelStringInput | null;
|
|
433
489
|
isOrganization?: ModelBooleanInput | null;
|
|
490
|
+
notes?: ModelStringInput | null;
|
|
491
|
+
metadata?: ModelStringInput | null;
|
|
492
|
+
customFields?: ModelStringInput | null;
|
|
434
493
|
createdAt?: ModelIntInput | null;
|
|
435
494
|
updatedAt?: ModelIntInput | null;
|
|
436
495
|
blockedAt?: ModelIntInput | null;
|
|
437
496
|
deletedAt?: ModelIntInput | null;
|
|
497
|
+
updatedByUserId?: ModelIDInput | null;
|
|
498
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
438
499
|
and?: Array<ModelEntityFilterInput | null> | null;
|
|
439
500
|
or?: Array<ModelEntityFilterInput | null> | null;
|
|
440
501
|
not?: ModelEntityFilterInput | null;
|
|
441
502
|
};
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
503
|
+
type ModelEntityTypeConditionInput = {
|
|
504
|
+
externalId?: ModelStringInput | null;
|
|
505
|
+
tenantId?: ModelIDInput | null;
|
|
506
|
+
name?: ModelStringInput | null;
|
|
507
|
+
description?: ModelStringInput | null;
|
|
508
|
+
createdAt?: ModelIntInput | null;
|
|
509
|
+
updatedAt?: ModelIntInput | null;
|
|
510
|
+
deletedAt?: ModelIntInput | null;
|
|
511
|
+
entityFields?: ModelStringInput | null;
|
|
512
|
+
organizationFields?: ModelStringInput | null;
|
|
513
|
+
and?: Array<ModelEntityTypeConditionInput | null> | null;
|
|
514
|
+
or?: Array<ModelEntityTypeConditionInput | null> | null;
|
|
515
|
+
not?: ModelEntityTypeConditionInput | null;
|
|
516
|
+
};
|
|
517
|
+
type ModelEntityTypeFilterInput = {
|
|
518
|
+
id?: ModelIDInput | null;
|
|
519
|
+
externalId?: ModelStringInput | null;
|
|
520
|
+
tenantId?: ModelIDInput | null;
|
|
521
|
+
name?: ModelStringInput | null;
|
|
522
|
+
description?: ModelStringInput | null;
|
|
523
|
+
createdAt?: ModelIntInput | null;
|
|
524
|
+
updatedAt?: ModelIntInput | null;
|
|
525
|
+
deletedAt?: ModelIntInput | null;
|
|
526
|
+
entityFields?: ModelStringInput | null;
|
|
527
|
+
organizationFields?: ModelStringInput | null;
|
|
528
|
+
and?: Array<ModelEntityTypeFilterInput | null> | null;
|
|
529
|
+
or?: Array<ModelEntityTypeFilterInput | null> | null;
|
|
530
|
+
not?: ModelEntityTypeFilterInput | null;
|
|
531
|
+
};
|
|
453
532
|
|
|
533
|
+
type TenantBillingInformation = {
|
|
534
|
+
companyName: string;
|
|
535
|
+
address?: string | null;
|
|
536
|
+
state?: string | null;
|
|
537
|
+
city?: string | null;
|
|
538
|
+
postalCode?: string | null;
|
|
539
|
+
country?: Country | null;
|
|
540
|
+
companyIdentificationNumber?: string | null;
|
|
541
|
+
taxIdentificationNumber?: string | null;
|
|
542
|
+
};
|
|
543
|
+
type TenantContactInformation = {
|
|
544
|
+
name: string;
|
|
545
|
+
email: string;
|
|
546
|
+
phoneNumber?: PhoneNumber | null;
|
|
547
|
+
address?: string | null;
|
|
548
|
+
state?: string | null;
|
|
549
|
+
city?: string | null;
|
|
550
|
+
postalCode?: string | null;
|
|
551
|
+
country?: Country | null;
|
|
552
|
+
};
|
|
454
553
|
type TenantPreferences = {
|
|
455
554
|
timezoneName?: string | null;
|
|
456
555
|
language?: Language | null;
|
|
@@ -463,6 +562,18 @@ type TenantSecurity = {
|
|
|
463
562
|
sessionTokenExpiry?: number | null;
|
|
464
563
|
sessionIdleTimeout?: number | null;
|
|
465
564
|
};
|
|
565
|
+
type TenantSSOConfiguration = {
|
|
566
|
+
provider: string;
|
|
567
|
+
protocol?: TenantSSOConfigurationProtocol | null;
|
|
568
|
+
displayName?: string | null;
|
|
569
|
+
configuration?: string | null;
|
|
570
|
+
isEnabled?: boolean | null;
|
|
571
|
+
isDefaultLoginMode?: boolean | null;
|
|
572
|
+
};
|
|
573
|
+
declare enum TenantSSOConfigurationProtocol {
|
|
574
|
+
SAML = "SAML",
|
|
575
|
+
OIDC = "OIDC"
|
|
576
|
+
}
|
|
466
577
|
type Tenant = {
|
|
467
578
|
id: string;
|
|
468
579
|
externalId?: string | null;
|
|
@@ -478,18 +589,6 @@ type Tenant = {
|
|
|
478
589
|
updatedAt: number;
|
|
479
590
|
deletedAt?: number | null;
|
|
480
591
|
};
|
|
481
|
-
type __SubscriptionContainer$4 = {
|
|
482
|
-
OnTenantById: Tenant;
|
|
483
|
-
};
|
|
484
|
-
declare class TenantService {
|
|
485
|
-
private readonly appSyncService;
|
|
486
|
-
constructor(appSyncService: AppSyncHelperService);
|
|
487
|
-
getTenantById(id: string): Promise<Tenant>;
|
|
488
|
-
private GetTenant;
|
|
489
|
-
OnTenantByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$4, 'OnTenantById'>>>;
|
|
490
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TenantService, never>;
|
|
491
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TenantService>;
|
|
492
|
-
}
|
|
493
592
|
|
|
494
593
|
type InteractionWidget = {
|
|
495
594
|
id: string;
|
|
@@ -510,6 +609,18 @@ type InteractionWidget = {
|
|
|
510
609
|
updatedAt: number;
|
|
511
610
|
deletedAt?: number | null;
|
|
512
611
|
};
|
|
612
|
+
type InteractionWidgetUserSetting = {
|
|
613
|
+
id: string;
|
|
614
|
+
widgetId: string;
|
|
615
|
+
userId: string;
|
|
616
|
+
configuration?: string | null;
|
|
617
|
+
allowOverride?: boolean | null;
|
|
618
|
+
createdAt: number;
|
|
619
|
+
updatedAt: number;
|
|
620
|
+
deletedAt?: number | null;
|
|
621
|
+
updatedByUserId?: string | null;
|
|
622
|
+
updatedByUserSessionId?: string | null;
|
|
623
|
+
};
|
|
513
624
|
type ModelInteractionWidgetConditionInput = {
|
|
514
625
|
tenantId?: ModelIDInput | null;
|
|
515
626
|
channel?: ModelInteractionChannelInput | null;
|
|
@@ -553,15 +664,21 @@ type ModelInteractionWidgetFilterInput = {
|
|
|
553
664
|
or?: Array<ModelInteractionWidgetFilterInput | null> | null;
|
|
554
665
|
not?: ModelInteractionWidgetFilterInput | null;
|
|
555
666
|
};
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
667
|
+
type ModelInteractionWidgetUserSettingFilterInput = {
|
|
668
|
+
id?: ModelIDInput | null;
|
|
669
|
+
widgetId?: ModelIDInput | null;
|
|
670
|
+
userId?: ModelIDInput | null;
|
|
671
|
+
configuration?: ModelStringInput | null;
|
|
672
|
+
allowOverride?: ModelBooleanInput | null;
|
|
673
|
+
createdAt?: ModelIntInput | null;
|
|
674
|
+
updatedAt?: ModelIntInput | null;
|
|
675
|
+
deletedAt?: ModelIntInput | null;
|
|
676
|
+
updatedByUserId?: ModelIDInput | null;
|
|
677
|
+
updatedByUserSessionId?: ModelIDInput | null;
|
|
678
|
+
and?: Array<ModelInteractionWidgetUserSettingFilterInput | null> | null;
|
|
679
|
+
or?: Array<ModelInteractionWidgetUserSettingFilterInput | null> | null;
|
|
680
|
+
not?: ModelInteractionWidgetUserSettingFilterInput | null;
|
|
681
|
+
};
|
|
565
682
|
|
|
566
683
|
type InteractionEndpoint = {
|
|
567
684
|
id: string;
|
|
@@ -590,15 +707,23 @@ type InteractionEndpointRegulatoryComplianceDocument = {
|
|
|
590
707
|
contentType?: string | null;
|
|
591
708
|
file?: S3Object | null;
|
|
592
709
|
};
|
|
593
|
-
declare class InteractionEndpointService {
|
|
594
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEndpointService, never>;
|
|
595
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionEndpointService>;
|
|
596
|
-
}
|
|
597
710
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
711
|
+
type User = {
|
|
712
|
+
id: string;
|
|
713
|
+
externalId?: string | null;
|
|
714
|
+
tenantId: string;
|
|
715
|
+
email: string;
|
|
716
|
+
name?: string | null;
|
|
717
|
+
image?: S3Object | null;
|
|
718
|
+
phoneNumber?: PhoneNumber | null;
|
|
719
|
+
preferences?: UserPreferences | null;
|
|
720
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
721
|
+
type?: UserType | null;
|
|
722
|
+
activatedAt?: number | null;
|
|
723
|
+
blockedAt?: number | null;
|
|
724
|
+
createdAt: number;
|
|
725
|
+
updatedAt: number;
|
|
726
|
+
deletedAt?: number | null;
|
|
602
727
|
};
|
|
603
728
|
type UserNotificationSettings = {
|
|
604
729
|
allowPush?: boolean | null;
|
|
@@ -606,6 +731,10 @@ type UserNotificationSettings = {
|
|
|
606
731
|
allowSMS?: boolean | null;
|
|
607
732
|
allowWhatsApp?: boolean | null;
|
|
608
733
|
};
|
|
734
|
+
type UserPreferences = {
|
|
735
|
+
timezoneName?: string | null;
|
|
736
|
+
language?: Language | null;
|
|
737
|
+
};
|
|
609
738
|
declare enum UserStatus {
|
|
610
739
|
READY = "READY",
|
|
611
740
|
NOT_READY = "NOT_READY",
|
|
@@ -618,39 +747,121 @@ declare enum UserType {
|
|
|
618
747
|
SUPERVISOR = "SUPERVISOR",
|
|
619
748
|
ADMINISTRATOR = "ADMINISTRATOR"
|
|
620
749
|
}
|
|
621
|
-
type
|
|
750
|
+
type ModelUserStatusInput = {
|
|
751
|
+
eq?: UserStatus | null;
|
|
752
|
+
ne?: UserStatus | null;
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
type Team = {
|
|
622
756
|
id: string;
|
|
623
|
-
externalId?: string | null;
|
|
624
757
|
tenantId: string;
|
|
625
|
-
|
|
758
|
+
name: string;
|
|
759
|
+
description?: string | null;
|
|
760
|
+
image?: S3Object | null;
|
|
761
|
+
ticketFields?: Array<string | null> | null;
|
|
762
|
+
createdAt: number;
|
|
763
|
+
updatedAt: number;
|
|
764
|
+
deletedAt?: number | null;
|
|
765
|
+
};
|
|
766
|
+
type TeamMember = {
|
|
767
|
+
id: string;
|
|
768
|
+
teamId: string;
|
|
769
|
+
team?: Team | null;
|
|
770
|
+
userId: string;
|
|
771
|
+
user?: User | null;
|
|
772
|
+
isManager: boolean;
|
|
773
|
+
createdAt: number;
|
|
774
|
+
updatedAt: number;
|
|
775
|
+
deletedAt?: number | null;
|
|
776
|
+
};
|
|
777
|
+
type CreateTeamInput = {
|
|
778
|
+
id?: string | null;
|
|
779
|
+
tenantId: string;
|
|
780
|
+
name: string;
|
|
781
|
+
description?: string | null;
|
|
782
|
+
image?: S3Object | null;
|
|
783
|
+
ticketFields?: Array<string | null> | null;
|
|
784
|
+
createdAt: number;
|
|
785
|
+
updatedAt: number;
|
|
786
|
+
deletedAt?: number | null;
|
|
787
|
+
};
|
|
788
|
+
type UpdateTeamInput = {
|
|
789
|
+
id: string;
|
|
790
|
+
tenantId?: string | null;
|
|
626
791
|
name?: string | null;
|
|
792
|
+
description?: string | null;
|
|
627
793
|
image?: S3Object | null;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
794
|
+
ticketFields?: Array<string | null> | null;
|
|
795
|
+
createdAt?: number | null;
|
|
796
|
+
updatedAt?: number | null;
|
|
797
|
+
deletedAt?: number | null;
|
|
798
|
+
};
|
|
799
|
+
type ModelTeamConditionInput = {
|
|
800
|
+
tenantId?: ModelIDInput | null;
|
|
801
|
+
name?: ModelStringInput | null;
|
|
802
|
+
description?: ModelStringInput | null;
|
|
803
|
+
ticketFields?: ModelStringInput | null;
|
|
804
|
+
createdAt?: ModelIntInput | null;
|
|
805
|
+
updatedAt?: ModelIntInput | null;
|
|
806
|
+
deletedAt?: ModelIntInput | null;
|
|
807
|
+
and?: Array<ModelTeamConditionInput | null> | null;
|
|
808
|
+
or?: Array<ModelTeamConditionInput | null> | null;
|
|
809
|
+
not?: ModelTeamConditionInput | null;
|
|
810
|
+
};
|
|
811
|
+
type ModelTeamFilterInput = {
|
|
812
|
+
id?: ModelIDInput | null;
|
|
813
|
+
tenantId?: ModelIDInput | null;
|
|
814
|
+
name?: ModelStringInput | null;
|
|
815
|
+
description?: ModelStringInput | null;
|
|
816
|
+
ticketFields?: ModelStringInput | null;
|
|
817
|
+
createdAt?: ModelIntInput | null;
|
|
818
|
+
updatedAt?: ModelIntInput | null;
|
|
819
|
+
deletedAt?: ModelIntInput | null;
|
|
820
|
+
and?: Array<ModelTeamFilterInput | null> | null;
|
|
821
|
+
or?: Array<ModelTeamFilterInput | null> | null;
|
|
822
|
+
not?: ModelTeamFilterInput | null;
|
|
823
|
+
};
|
|
824
|
+
type CreateTeamMemberInput = {
|
|
825
|
+
id?: string | null;
|
|
826
|
+
teamId: string;
|
|
827
|
+
userId: string;
|
|
828
|
+
isManager: boolean;
|
|
634
829
|
createdAt: number;
|
|
635
830
|
updatedAt: number;
|
|
636
831
|
deletedAt?: number | null;
|
|
637
832
|
};
|
|
638
|
-
type
|
|
639
|
-
|
|
640
|
-
|
|
833
|
+
type UpdateTeamMemberInput = {
|
|
834
|
+
id: string;
|
|
835
|
+
teamId?: string | null;
|
|
836
|
+
userId?: string | null;
|
|
837
|
+
isManager?: boolean | null;
|
|
838
|
+
createdAt?: number | null;
|
|
839
|
+
updatedAt?: number | null;
|
|
840
|
+
deletedAt?: number | null;
|
|
641
841
|
};
|
|
642
|
-
type
|
|
643
|
-
|
|
842
|
+
type ModelTeamMemberConditionInput = {
|
|
843
|
+
teamId?: ModelIDInput | null;
|
|
844
|
+
userId?: ModelIDInput | null;
|
|
845
|
+
isManager?: ModelBooleanInput | null;
|
|
846
|
+
createdAt?: ModelIntInput | null;
|
|
847
|
+
updatedAt?: ModelIntInput | null;
|
|
848
|
+
deletedAt?: ModelIntInput | null;
|
|
849
|
+
and?: Array<ModelTeamMemberConditionInput | null> | null;
|
|
850
|
+
or?: Array<ModelTeamMemberConditionInput | null> | null;
|
|
851
|
+
not?: ModelTeamMemberConditionInput | null;
|
|
852
|
+
};
|
|
853
|
+
type ModelTeamMemberFilterInput = {
|
|
854
|
+
id?: ModelIDInput | null;
|
|
855
|
+
teamId?: ModelIDInput | null;
|
|
856
|
+
userId?: ModelIDInput | null;
|
|
857
|
+
isManager?: ModelBooleanInput | null;
|
|
858
|
+
createdAt?: ModelIntInput | null;
|
|
859
|
+
updatedAt?: ModelIntInput | null;
|
|
860
|
+
deletedAt?: ModelIntInput | null;
|
|
861
|
+
and?: Array<ModelTeamMemberFilterInput | null> | null;
|
|
862
|
+
or?: Array<ModelTeamMemberFilterInput | null> | null;
|
|
863
|
+
not?: ModelTeamMemberFilterInput | null;
|
|
644
864
|
};
|
|
645
|
-
declare class UserService {
|
|
646
|
-
private readonly appSyncService;
|
|
647
|
-
constructor(appSyncService: AppSyncHelperService);
|
|
648
|
-
getUserById(id: string): Promise<User>;
|
|
649
|
-
GetUser(id: string): Promise<User>;
|
|
650
|
-
OnUserByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnUserById'>>>;
|
|
651
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
652
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
653
|
-
}
|
|
654
865
|
|
|
655
866
|
type UserSession = {
|
|
656
867
|
id: string;
|
|
@@ -718,54 +929,6 @@ type ModelUserSessionFilterInput = {
|
|
|
718
929
|
or?: Array<ModelUserSessionFilterInput | null> | null;
|
|
719
930
|
not?: ModelUserSessionFilterInput | null;
|
|
720
931
|
};
|
|
721
|
-
type __SubscriptionContainer$2 = {
|
|
722
|
-
OnUserSessionById: UserSession;
|
|
723
|
-
};
|
|
724
|
-
declare class UserSessionService {
|
|
725
|
-
private readonly appSyncService;
|
|
726
|
-
constructor(appSyncService: AppSyncHelperService);
|
|
727
|
-
getUserSessionById(id: string): Promise<UserSession>;
|
|
728
|
-
GetUserSession(id: string): Promise<UserSession>;
|
|
729
|
-
ListUserSessionsByUserId(userId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelUserSessionFilterInput, limit?: number, nextToken?: string): Promise<List<UserSession>>;
|
|
730
|
-
UpdateUserSession(input: UpdateUserSessionInput, condition?: ModelUserSessionConditionInput): Promise<UserSession>;
|
|
731
|
-
OnUserSessionByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$2, 'OnUserSessionById'>>>;
|
|
732
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSessionService, never>;
|
|
733
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserSessionService>;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
type Team = {
|
|
737
|
-
id: string;
|
|
738
|
-
tenantId: string;
|
|
739
|
-
name: string;
|
|
740
|
-
description?: string | null;
|
|
741
|
-
image?: S3Object | null;
|
|
742
|
-
ticketFields?: Array<string | null> | null;
|
|
743
|
-
createdAt: number;
|
|
744
|
-
updatedAt: number;
|
|
745
|
-
deletedAt?: number | null;
|
|
746
|
-
};
|
|
747
|
-
type TeamMember = {
|
|
748
|
-
id: string;
|
|
749
|
-
teamId: string;
|
|
750
|
-
team?: Team | null;
|
|
751
|
-
userId: string;
|
|
752
|
-
isManager: boolean;
|
|
753
|
-
createdAt: number;
|
|
754
|
-
updatedAt: number;
|
|
755
|
-
deletedAt?: number | null;
|
|
756
|
-
};
|
|
757
|
-
type ModelTeamMemberFilterInput = {
|
|
758
|
-
id?: ModelIDInput | null;
|
|
759
|
-
teamId?: ModelIDInput | null;
|
|
760
|
-
userId?: ModelIDInput | null;
|
|
761
|
-
isManager?: ModelBooleanInput | null;
|
|
762
|
-
createdAt?: ModelIntInput | null;
|
|
763
|
-
updatedAt?: ModelIntInput | null;
|
|
764
|
-
deletedAt?: ModelIntInput | null;
|
|
765
|
-
and?: Array<ModelTeamMemberFilterInput | null> | null;
|
|
766
|
-
or?: Array<ModelTeamMemberFilterInput | null> | null;
|
|
767
|
-
not?: ModelTeamMemberFilterInput | null;
|
|
768
|
-
};
|
|
769
932
|
|
|
770
933
|
declare enum InteractionChannel {
|
|
771
934
|
EMAIL = "EMAIL",
|
|
@@ -995,53 +1158,6 @@ type UpdateInteractionInput = {
|
|
|
995
1158
|
updatedAt?: number | null;
|
|
996
1159
|
deletedAt?: number | null;
|
|
997
1160
|
};
|
|
998
|
-
type CreateInteractionAttendeeInput = {
|
|
999
|
-
id?: string | null;
|
|
1000
|
-
interactionId: string;
|
|
1001
|
-
entityId?: string | null;
|
|
1002
|
-
interactionWidgetSessionId?: string | null;
|
|
1003
|
-
teamId?: string | null;
|
|
1004
|
-
userId?: string | null;
|
|
1005
|
-
userSessionId?: string | null;
|
|
1006
|
-
name: string;
|
|
1007
|
-
metadata?: string | null;
|
|
1008
|
-
customFields?: Array<string | null> | null;
|
|
1009
|
-
isAdministrator: boolean;
|
|
1010
|
-
joinedAt?: number | null;
|
|
1011
|
-
exitedAt?: number | null;
|
|
1012
|
-
createdAt: number;
|
|
1013
|
-
updatedAt: number;
|
|
1014
|
-
deletedAt?: number | null;
|
|
1015
|
-
};
|
|
1016
|
-
type CreateInteractionMessageInput = {
|
|
1017
|
-
id?: string | null;
|
|
1018
|
-
externalId?: string | null;
|
|
1019
|
-
endpointId?: string | null;
|
|
1020
|
-
campaignId?: string | null;
|
|
1021
|
-
campaignFlowNodeId?: string | null;
|
|
1022
|
-
entityConversationId: string;
|
|
1023
|
-
interactionId: string;
|
|
1024
|
-
interactionAttendeeId?: string | null;
|
|
1025
|
-
referenceMessageId?: string | null;
|
|
1026
|
-
body?: string | null;
|
|
1027
|
-
metadata?: string | null;
|
|
1028
|
-
createdAt: number;
|
|
1029
|
-
updatedAt: number;
|
|
1030
|
-
deletedAt?: number | null;
|
|
1031
|
-
};
|
|
1032
|
-
type CreateInteractionMessageAttachmentInput = {
|
|
1033
|
-
id?: string | null;
|
|
1034
|
-
externalId?: string | null;
|
|
1035
|
-
interactionId: string;
|
|
1036
|
-
interactionMessageId: string;
|
|
1037
|
-
name: string;
|
|
1038
|
-
size?: number | null;
|
|
1039
|
-
type?: string | null;
|
|
1040
|
-
file: S3Object;
|
|
1041
|
-
createdAt: number;
|
|
1042
|
-
updatedAt: number;
|
|
1043
|
-
deletedAt?: number | null;
|
|
1044
|
-
};
|
|
1045
1161
|
type ModelInteractionConditionInput = {
|
|
1046
1162
|
tenantId?: ModelIDInput | null;
|
|
1047
1163
|
widgetId?: ModelIDInput | null;
|
|
@@ -1072,6 +1188,123 @@ type ModelInteractionConditionInput = {
|
|
|
1072
1188
|
or?: Array<ModelInteractionConditionInput | null> | null;
|
|
1073
1189
|
not?: ModelInteractionConditionInput | null;
|
|
1074
1190
|
};
|
|
1191
|
+
type ModelInteractionFilterInput = {
|
|
1192
|
+
id?: ModelIDInput | null;
|
|
1193
|
+
tenantId?: ModelIDInput | null;
|
|
1194
|
+
widgetId?: ModelIDInput | null;
|
|
1195
|
+
endpointId?: ModelIDInput | null;
|
|
1196
|
+
entityConversationId?: ModelIDInput | null;
|
|
1197
|
+
entityId?: ModelIDInput | null;
|
|
1198
|
+
teamId?: ModelIDInput | null;
|
|
1199
|
+
hostId?: ModelIDInput | null;
|
|
1200
|
+
providerInteractionId?: ModelStringInput | null;
|
|
1201
|
+
channel?: ModelInteractionChannelInput | null;
|
|
1202
|
+
provider?: ModelInteractionProviderInput | null;
|
|
1203
|
+
context?: ModelInteractionContextInput | null;
|
|
1204
|
+
direction?: ModelInteractionDirectionInput | null;
|
|
1205
|
+
status?: ModelInteractionStatusInput | null;
|
|
1206
|
+
last_status?: ModelInteractionStatusInput | null;
|
|
1207
|
+
metadata?: ModelStringInput | null;
|
|
1208
|
+
subject?: ModelStringInput | null;
|
|
1209
|
+
startedAt?: ModelIntInput | null;
|
|
1210
|
+
completedAt?: ModelIntInput | null;
|
|
1211
|
+
duration?: ModelIntInput | null;
|
|
1212
|
+
summary?: ModelStringInput | null;
|
|
1213
|
+
temp_isLocked?: ModelBooleanInput | null;
|
|
1214
|
+
temp_isAvailableTenantIdUnion?: ModelStringInput | null;
|
|
1215
|
+
createdAt?: ModelIntInput | null;
|
|
1216
|
+
updatedAt?: ModelIntInput | null;
|
|
1217
|
+
deletedAt?: ModelIntInput | null;
|
|
1218
|
+
and?: Array<ModelInteractionFilterInput | null> | null;
|
|
1219
|
+
or?: Array<ModelInteractionFilterInput | null> | null;
|
|
1220
|
+
not?: ModelInteractionFilterInput | null;
|
|
1221
|
+
};
|
|
1222
|
+
type CreateInteractionHostInput = {
|
|
1223
|
+
id?: string | null;
|
|
1224
|
+
interactionId: string;
|
|
1225
|
+
entityId?: string | null;
|
|
1226
|
+
teamId?: string | null;
|
|
1227
|
+
userId?: string | null;
|
|
1228
|
+
createdAt: number;
|
|
1229
|
+
updatedAt: number;
|
|
1230
|
+
deletedAt?: number | null;
|
|
1231
|
+
};
|
|
1232
|
+
type UpdateInteractionHostInput = {
|
|
1233
|
+
id: string;
|
|
1234
|
+
interactionId?: string | null;
|
|
1235
|
+
entityId?: string | null;
|
|
1236
|
+
teamId?: string | null;
|
|
1237
|
+
userId?: string | null;
|
|
1238
|
+
createdAt?: number | null;
|
|
1239
|
+
updatedAt?: number | null;
|
|
1240
|
+
deletedAt?: number | null;
|
|
1241
|
+
};
|
|
1242
|
+
type ModelInteractionHostConditionInput = {
|
|
1243
|
+
interactionId?: ModelIDInput | null;
|
|
1244
|
+
entityId?: ModelIDInput | null;
|
|
1245
|
+
teamId?: ModelIDInput | null;
|
|
1246
|
+
userId?: ModelIDInput | null;
|
|
1247
|
+
createdAt?: ModelIntInput | null;
|
|
1248
|
+
updatedAt?: ModelIntInput | null;
|
|
1249
|
+
deletedAt?: ModelIntInput | null;
|
|
1250
|
+
and?: Array<ModelInteractionHostConditionInput | null> | null;
|
|
1251
|
+
or?: Array<ModelInteractionHostConditionInput | null> | null;
|
|
1252
|
+
not?: ModelInteractionHostConditionInput | null;
|
|
1253
|
+
};
|
|
1254
|
+
type ModelInteractionHostFilterInput = {
|
|
1255
|
+
id?: ModelIDInput | null;
|
|
1256
|
+
interactionId?: ModelIDInput | null;
|
|
1257
|
+
entityId?: ModelIDInput | null;
|
|
1258
|
+
teamId?: ModelIDInput | null;
|
|
1259
|
+
userId?: ModelIDInput | null;
|
|
1260
|
+
createdAt?: ModelIntInput | null;
|
|
1261
|
+
updatedAt?: ModelIntInput | null;
|
|
1262
|
+
deletedAt?: ModelIntInput | null;
|
|
1263
|
+
and?: Array<ModelInteractionHostFilterInput | null> | null;
|
|
1264
|
+
or?: Array<ModelInteractionHostFilterInput | null> | null;
|
|
1265
|
+
not?: ModelInteractionHostFilterInput | null;
|
|
1266
|
+
};
|
|
1267
|
+
type CreateInteractionInviteeInput = {
|
|
1268
|
+
id?: string | null;
|
|
1269
|
+
interactionId: string;
|
|
1270
|
+
entityId?: string | null;
|
|
1271
|
+
teamId?: string | null;
|
|
1272
|
+
userId?: string | null;
|
|
1273
|
+
isAdministrator: boolean;
|
|
1274
|
+
temp_expiringAt?: number | null;
|
|
1275
|
+
expiredAt?: number | null;
|
|
1276
|
+
createdAt: number;
|
|
1277
|
+
updatedAt: number;
|
|
1278
|
+
deletedAt?: number | null;
|
|
1279
|
+
};
|
|
1280
|
+
type UpdateInteractionInviteeInput = {
|
|
1281
|
+
id: string;
|
|
1282
|
+
interactionId?: string | null;
|
|
1283
|
+
entityId?: string | null;
|
|
1284
|
+
teamId?: string | null;
|
|
1285
|
+
userId?: string | null;
|
|
1286
|
+
isAdministrator?: boolean | null;
|
|
1287
|
+
temp_expiringAt?: number | null;
|
|
1288
|
+
expiredAt?: number | null;
|
|
1289
|
+
createdAt?: number | null;
|
|
1290
|
+
updatedAt?: number | null;
|
|
1291
|
+
deletedAt?: number | null;
|
|
1292
|
+
};
|
|
1293
|
+
type ModelInteractionInviteeConditionInput = {
|
|
1294
|
+
interactionId?: ModelIDInput | null;
|
|
1295
|
+
entityId?: ModelIDInput | null;
|
|
1296
|
+
teamId?: ModelIDInput | null;
|
|
1297
|
+
userId?: ModelIDInput | null;
|
|
1298
|
+
isAdministrator?: ModelBooleanInput | null;
|
|
1299
|
+
temp_expiringAt?: ModelIntInput | null;
|
|
1300
|
+
expiredAt?: ModelIntInput | null;
|
|
1301
|
+
createdAt?: ModelIntInput | null;
|
|
1302
|
+
updatedAt?: ModelIntInput | null;
|
|
1303
|
+
deletedAt?: ModelIntInput | null;
|
|
1304
|
+
and?: Array<ModelInteractionInviteeConditionInput | null> | null;
|
|
1305
|
+
or?: Array<ModelInteractionInviteeConditionInput | null> | null;
|
|
1306
|
+
not?: ModelInteractionInviteeConditionInput | null;
|
|
1307
|
+
};
|
|
1075
1308
|
type ModelInteractionInviteeFilterInput = {
|
|
1076
1309
|
id?: ModelIDInput | null;
|
|
1077
1310
|
interactionId?: ModelIDInput | null;
|
|
@@ -1088,6 +1321,42 @@ type ModelInteractionInviteeFilterInput = {
|
|
|
1088
1321
|
or?: Array<ModelInteractionInviteeFilterInput | null> | null;
|
|
1089
1322
|
not?: ModelInteractionInviteeFilterInput | null;
|
|
1090
1323
|
};
|
|
1324
|
+
type CreateInteractionAttendeeInput = {
|
|
1325
|
+
id?: string | null;
|
|
1326
|
+
interactionId: string;
|
|
1327
|
+
entityId?: string | null;
|
|
1328
|
+
interactionWidgetSessionId?: string | null;
|
|
1329
|
+
teamId?: string | null;
|
|
1330
|
+
userId?: string | null;
|
|
1331
|
+
userSessionId?: string | null;
|
|
1332
|
+
name: string;
|
|
1333
|
+
metadata?: string | null;
|
|
1334
|
+
customFields?: Array<string | null> | null;
|
|
1335
|
+
isAdministrator: boolean;
|
|
1336
|
+
joinedAt?: number | null;
|
|
1337
|
+
exitedAt?: number | null;
|
|
1338
|
+
createdAt: number;
|
|
1339
|
+
updatedAt: number;
|
|
1340
|
+
deletedAt?: number | null;
|
|
1341
|
+
};
|
|
1342
|
+
type UpdateInteractionAttendeeInput = {
|
|
1343
|
+
id: string;
|
|
1344
|
+
interactionId?: string | null;
|
|
1345
|
+
entityId?: string | null;
|
|
1346
|
+
interactionWidgetSessionId?: string | null;
|
|
1347
|
+
teamId?: string | null;
|
|
1348
|
+
userId?: string | null;
|
|
1349
|
+
userSessionId?: string | null;
|
|
1350
|
+
name?: string | null;
|
|
1351
|
+
metadata?: string | null;
|
|
1352
|
+
customFields?: Array<string | null> | null;
|
|
1353
|
+
isAdministrator?: boolean | null;
|
|
1354
|
+
joinedAt?: number | null;
|
|
1355
|
+
exitedAt?: number | null;
|
|
1356
|
+
createdAt?: number | null;
|
|
1357
|
+
updatedAt?: number | null;
|
|
1358
|
+
deletedAt?: number | null;
|
|
1359
|
+
};
|
|
1091
1360
|
type ModelInteractionAttendeeConditionInput = {
|
|
1092
1361
|
interactionId?: ModelIDInput | null;
|
|
1093
1362
|
entityId?: ModelIDInput | null;
|
|
@@ -1129,6 +1398,22 @@ type ModelInteractionAttendeeFilterInput = {
|
|
|
1129
1398
|
or?: Array<ModelInteractionAttendeeFilterInput | null> | null;
|
|
1130
1399
|
not?: ModelInteractionAttendeeFilterInput | null;
|
|
1131
1400
|
};
|
|
1401
|
+
type CreateInteractionMessageInput = {
|
|
1402
|
+
id?: string | null;
|
|
1403
|
+
externalId?: string | null;
|
|
1404
|
+
endpointId?: string | null;
|
|
1405
|
+
campaignId?: string | null;
|
|
1406
|
+
campaignFlowNodeId?: string | null;
|
|
1407
|
+
entityConversationId: string;
|
|
1408
|
+
interactionId: string;
|
|
1409
|
+
interactionAttendeeId?: string | null;
|
|
1410
|
+
referenceMessageId?: string | null;
|
|
1411
|
+
body?: string | null;
|
|
1412
|
+
metadata?: string | null;
|
|
1413
|
+
createdAt: number;
|
|
1414
|
+
updatedAt: number;
|
|
1415
|
+
deletedAt?: number | null;
|
|
1416
|
+
};
|
|
1132
1417
|
type ModelInteractionMessageConditionInput = {
|
|
1133
1418
|
externalId?: ModelStringInput | null;
|
|
1134
1419
|
endpointId?: ModelIDInput | null;
|
|
@@ -1166,6 +1451,19 @@ type ModelInteractionMessageFilterInput = {
|
|
|
1166
1451
|
or?: Array<ModelInteractionMessageFilterInput | null> | null;
|
|
1167
1452
|
not?: ModelInteractionMessageFilterInput | null;
|
|
1168
1453
|
};
|
|
1454
|
+
type CreateInteractionMessageAttachmentInput = {
|
|
1455
|
+
id?: string | null;
|
|
1456
|
+
externalId?: string | null;
|
|
1457
|
+
interactionId: string;
|
|
1458
|
+
interactionMessageId: string;
|
|
1459
|
+
name: string;
|
|
1460
|
+
size?: number | null;
|
|
1461
|
+
type?: string | null;
|
|
1462
|
+
file: S3Object;
|
|
1463
|
+
createdAt: number;
|
|
1464
|
+
updatedAt: number;
|
|
1465
|
+
deletedAt?: number | null;
|
|
1466
|
+
};
|
|
1169
1467
|
type ModelInteractionMessageAttachmentConditionInput = {
|
|
1170
1468
|
externalId?: ModelStringInput | null;
|
|
1171
1469
|
interactionId?: ModelIDInput | null;
|
|
@@ -1220,34 +1518,6 @@ type InteractionRouteConfigurationInput = {
|
|
|
1220
1518
|
routingLogic?: InteractionRouteLogic | null;
|
|
1221
1519
|
maxWaitTimeoutSeconds?: number | null;
|
|
1222
1520
|
};
|
|
1223
|
-
type __SubscriptionContainer$1 = {
|
|
1224
|
-
OnInteractionInviteeByUserId: InteractionInvitee;
|
|
1225
|
-
OnInteractionMessageByEntityConversationId: InteractionMessage;
|
|
1226
|
-
};
|
|
1227
|
-
declare class InteractionService {
|
|
1228
|
-
private readonly appSyncService;
|
|
1229
|
-
newInteractionInviteObservable$: BehaviorSubject<any>;
|
|
1230
|
-
constructor(appSyncService: AppSyncHelperService);
|
|
1231
|
-
GetInteraction(id: string): Promise<Interaction>;
|
|
1232
|
-
GetInteractionAttendee(id: string): Promise<InteractionAttendee>;
|
|
1233
|
-
GetInteractionMessage(id: string): Promise<InteractionMessage>;
|
|
1234
|
-
CreateInteraction(input: CreateInteractionInput, condition?: ModelInteractionConditionInput): Promise<Interaction>;
|
|
1235
|
-
UpdateInteraction(input: UpdateInteractionInput, condition?: ModelInteractionConditionInput): Promise<Interaction>;
|
|
1236
|
-
CreateInteractionAttendee(input: CreateInteractionAttendeeInput, condition?: ModelInteractionAttendeeConditionInput): Promise<InteractionAttendee>;
|
|
1237
|
-
CreateInteractionMessage(input: CreateInteractionMessageInput, condition?: ModelInteractionMessageConditionInput): Promise<InteractionMessage>;
|
|
1238
|
-
CreateInteractionMessageAttachment(input: CreateInteractionMessageAttachmentInput, condition?: ModelInteractionMessageAttachmentConditionInput): Promise<InteractionMessageAttachment>;
|
|
1239
|
-
ListInteractionInviteesByUserId(userId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionInviteeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionInvitee>>;
|
|
1240
|
-
ListInteractionAttendeesByInteractionIdAndEntityId(interactionId: string, entityId?: ModelIDKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
1241
|
-
ListInteractionAttendeesByInteractionIdAndUserId(interactionId: string, userId?: ModelIDKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
1242
|
-
ListInteractionMessagesByEntityConversationId(entityConversationId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
1243
|
-
ListInteractionMessagesByExternalMessageId(externalMessageId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
1244
|
-
ListInteractionMessagesByInteractionAttendeeId(interactionAttendeeId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
1245
|
-
ListInteractionMessageAttachmentsByInteractionMessageId(interactionMessageId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageAttachmentFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessageAttachment>>;
|
|
1246
|
-
OnInteractionInviteeByUserIdListener(userId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$1, 'OnInteractionInviteeByUserId'>>>;
|
|
1247
|
-
OnInteractionMessageByEntityConversationIdListener(entityConversationId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$1, 'OnInteractionMessageByEntityConversationId'>>>;
|
|
1248
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionService, never>;
|
|
1249
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionService>;
|
|
1250
|
-
}
|
|
1251
1521
|
|
|
1252
1522
|
type EntityConversation = {
|
|
1253
1523
|
id: string;
|
|
@@ -1357,25 +1627,233 @@ type ModelEntityConversationFilterInput = {
|
|
|
1357
1627
|
or?: Array<ModelEntityConversationFilterInput | null> | null;
|
|
1358
1628
|
not?: ModelEntityConversationFilterInput | null;
|
|
1359
1629
|
};
|
|
1360
|
-
|
|
1630
|
+
|
|
1631
|
+
type TicketPriority = {
|
|
1632
|
+
id: string;
|
|
1633
|
+
externalId?: string | null;
|
|
1634
|
+
tenantId: string;
|
|
1635
|
+
teamId?: string | null;
|
|
1636
|
+
team?: Team | null;
|
|
1637
|
+
name: string;
|
|
1638
|
+
description?: string | null;
|
|
1639
|
+
colorCode?: string | null;
|
|
1640
|
+
createdAt: number;
|
|
1641
|
+
updatedAt: number;
|
|
1642
|
+
deletedAt?: number | null;
|
|
1643
|
+
};
|
|
1644
|
+
type TicketStatus = {
|
|
1645
|
+
id: string;
|
|
1646
|
+
externalId?: string | null;
|
|
1647
|
+
tenantId: string;
|
|
1648
|
+
teamId?: string | null;
|
|
1649
|
+
team?: Team | null;
|
|
1650
|
+
name: string;
|
|
1651
|
+
description?: string | null;
|
|
1652
|
+
percent?: number | null;
|
|
1653
|
+
colorCode?: string | null;
|
|
1654
|
+
createdAt: number;
|
|
1655
|
+
updatedAt: number;
|
|
1656
|
+
deletedAt?: number | null;
|
|
1657
|
+
};
|
|
1658
|
+
type TicketType = {
|
|
1659
|
+
id: string;
|
|
1660
|
+
externalId?: string | null;
|
|
1661
|
+
tenantId: string;
|
|
1662
|
+
teamId?: string | null;
|
|
1663
|
+
team?: Team | null;
|
|
1664
|
+
name: string;
|
|
1665
|
+
description?: string | null;
|
|
1666
|
+
colorCode?: string | null;
|
|
1667
|
+
createdAt: number;
|
|
1668
|
+
updatedAt: number;
|
|
1669
|
+
deletedAt?: number | null;
|
|
1670
|
+
};
|
|
1671
|
+
type ModelTicketPriorityConditionInput = {
|
|
1672
|
+
externalId?: ModelStringInput | null;
|
|
1673
|
+
tenantId?: ModelIDInput | null;
|
|
1674
|
+
teamId?: ModelIDInput | null;
|
|
1675
|
+
name?: ModelStringInput | null;
|
|
1676
|
+
description?: ModelStringInput | null;
|
|
1677
|
+
colorCode?: ModelStringInput | null;
|
|
1678
|
+
createdAt?: ModelIntInput | null;
|
|
1679
|
+
updatedAt?: ModelIntInput | null;
|
|
1680
|
+
deletedAt?: ModelIntInput | null;
|
|
1681
|
+
and?: Array<ModelTicketPriorityConditionInput | null> | null;
|
|
1682
|
+
or?: Array<ModelTicketPriorityConditionInput | null> | null;
|
|
1683
|
+
not?: ModelTicketPriorityConditionInput | null;
|
|
1684
|
+
};
|
|
1685
|
+
type ModelTicketPriorityFilterInput = {
|
|
1686
|
+
id?: ModelIDInput | null;
|
|
1687
|
+
externalId?: ModelStringInput | null;
|
|
1688
|
+
tenantId?: ModelIDInput | null;
|
|
1689
|
+
teamId?: ModelIDInput | null;
|
|
1690
|
+
name?: ModelStringInput | null;
|
|
1691
|
+
description?: ModelStringInput | null;
|
|
1692
|
+
colorCode?: ModelStringInput | null;
|
|
1693
|
+
createdAt?: ModelIntInput | null;
|
|
1694
|
+
updatedAt?: ModelIntInput | null;
|
|
1695
|
+
deletedAt?: ModelIntInput | null;
|
|
1696
|
+
and?: Array<ModelTicketPriorityFilterInput | null> | null;
|
|
1697
|
+
or?: Array<ModelTicketPriorityFilterInput | null> | null;
|
|
1698
|
+
not?: ModelTicketPriorityFilterInput | null;
|
|
1699
|
+
};
|
|
1700
|
+
type ModelTicketStatusConditionInput = {
|
|
1701
|
+
externalId?: ModelStringInput | null;
|
|
1702
|
+
tenantId?: ModelIDInput | null;
|
|
1703
|
+
teamId?: ModelIDInput | null;
|
|
1704
|
+
name?: ModelStringInput | null;
|
|
1705
|
+
description?: ModelStringInput | null;
|
|
1706
|
+
percent?: ModelIntInput | null;
|
|
1707
|
+
colorCode?: ModelStringInput | null;
|
|
1708
|
+
createdAt?: ModelIntInput | null;
|
|
1709
|
+
updatedAt?: ModelIntInput | null;
|
|
1710
|
+
deletedAt?: ModelIntInput | null;
|
|
1711
|
+
and?: Array<ModelTicketStatusConditionInput | null> | null;
|
|
1712
|
+
or?: Array<ModelTicketStatusConditionInput | null> | null;
|
|
1713
|
+
not?: ModelTicketStatusConditionInput | null;
|
|
1714
|
+
};
|
|
1715
|
+
type ModelTicketStatusFilterInput = {
|
|
1716
|
+
id?: ModelIDInput | null;
|
|
1717
|
+
externalId?: ModelStringInput | null;
|
|
1718
|
+
tenantId?: ModelIDInput | null;
|
|
1719
|
+
teamId?: ModelIDInput | null;
|
|
1720
|
+
name?: ModelStringInput | null;
|
|
1721
|
+
description?: ModelStringInput | null;
|
|
1722
|
+
percent?: ModelIntInput | null;
|
|
1723
|
+
colorCode?: ModelStringInput | null;
|
|
1724
|
+
createdAt?: ModelIntInput | null;
|
|
1725
|
+
updatedAt?: ModelIntInput | null;
|
|
1726
|
+
deletedAt?: ModelIntInput | null;
|
|
1727
|
+
and?: Array<ModelTicketStatusFilterInput | null> | null;
|
|
1728
|
+
or?: Array<ModelTicketStatusFilterInput | null> | null;
|
|
1729
|
+
not?: ModelTicketStatusFilterInput | null;
|
|
1730
|
+
};
|
|
1731
|
+
type ModelTicketTypeConditionInput = {
|
|
1732
|
+
externalId?: ModelStringInput | null;
|
|
1733
|
+
tenantId?: ModelIDInput | null;
|
|
1734
|
+
teamId?: ModelIDInput | null;
|
|
1735
|
+
name?: ModelStringInput | null;
|
|
1736
|
+
description?: ModelStringInput | null;
|
|
1737
|
+
colorCode?: ModelStringInput | null;
|
|
1738
|
+
createdAt?: ModelIntInput | null;
|
|
1739
|
+
updatedAt?: ModelIntInput | null;
|
|
1740
|
+
deletedAt?: ModelIntInput | null;
|
|
1741
|
+
and?: Array<ModelTicketTypeConditionInput | null> | null;
|
|
1742
|
+
or?: Array<ModelTicketTypeConditionInput | null> | null;
|
|
1743
|
+
not?: ModelTicketTypeConditionInput | null;
|
|
1744
|
+
};
|
|
1745
|
+
type ModelTicketTypeFilterInput = {
|
|
1746
|
+
id?: ModelIDInput | null;
|
|
1747
|
+
externalId?: ModelStringInput | null;
|
|
1748
|
+
tenantId?: ModelIDInput | null;
|
|
1749
|
+
teamId?: ModelIDInput | null;
|
|
1750
|
+
name?: ModelStringInput | null;
|
|
1751
|
+
description?: ModelStringInput | null;
|
|
1752
|
+
colorCode?: ModelStringInput | null;
|
|
1753
|
+
createdAt?: ModelIntInput | null;
|
|
1754
|
+
updatedAt?: ModelIntInput | null;
|
|
1755
|
+
deletedAt?: ModelIntInput | null;
|
|
1756
|
+
and?: Array<ModelTicketTypeFilterInput | null> | null;
|
|
1757
|
+
or?: Array<ModelTicketTypeFilterInput | null> | null;
|
|
1758
|
+
not?: ModelTicketTypeFilterInput | null;
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
type __SubscriptionContainer$4 = {
|
|
1361
1762
|
OnEntityConversationByTenantId: EntityConversation;
|
|
1362
1763
|
};
|
|
1363
1764
|
declare const FIELDS_ENTITY_CONVERSATION: string;
|
|
1364
|
-
declare const FIELDS_ENTITY_CONVERSATION_EXPANDED = "\n id\n tenantId\n entityId\n entity {\n id\n
|
|
1765
|
+
declare const FIELDS_ENTITY_CONVERSATION_EXPANDED = "\n id\n tenantId\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n entityAddress\n interactionChannel\n interactionProvider\n isCampaignEngaged\n campaignId\n lastCampaignFlowNodeId\n lastInteractionMessageId\n metadata\n lastActivityAt\n lastMessageAt\n archivedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n interactions (limit: 1, sortDirection: DESC) {\n items {\n \n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n summary\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n messages (limit: 1, sortDirection: DESC) {\n items {\n \n id\n externalId\n endpointId\n campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n body\n metadata\n referenceMessageId\n createdAt\n updatedAt\n deletedAt\n messageAttachments {\n items {\n \n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n\n }\n nextToken\n }\n";
|
|
1365
1766
|
declare class EntityConversationService {
|
|
1366
1767
|
private readonly appSyncService;
|
|
1367
1768
|
constructor(appSyncService: AppSyncHelperService);
|
|
1368
1769
|
GetEntityConversation(id: string): Promise<EntityConversation>;
|
|
1369
1770
|
CreateEntityConversation(input: CreateEntityConversationInput, condition?: ModelEntityConversationConditionInput): Promise<EntityConversation>;
|
|
1370
1771
|
UpdateEntityConversation(input: UpdateEntityConversationInput, condition?: ModelEntityConversationConditionInput): Promise<EntityConversation>;
|
|
1772
|
+
ListEntityConversationsByEntityId(entityId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityConversationFilterInput, limit?: number, nextToken?: string): Promise<List<EntityConversation>>;
|
|
1371
1773
|
ListEntityConversationsByTenantIdAndEntityAddress(tenantId: string, entityAddress?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityConversationFilterInput, limit?: number, nextToken?: string): Promise<List<EntityConversation>>;
|
|
1372
1774
|
ListEntityConversationsByTenantIdAndArchivedAt(tenantId: string, archivedAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityConversationFilterInput, limit?: number, nextToken?: string): Promise<List<EntityConversation>>;
|
|
1373
1775
|
ListEntityConversationsByTenantIdAndLastMessageAt(tenantId: string, lastMessageAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityConversationFilterInput, limit?: number, nextToken?: string): Promise<List<EntityConversation>>;
|
|
1374
|
-
OnEntityConversationByTenantIdListener(tenantId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer, 'OnEntityConversationByTenantId'>>>;
|
|
1776
|
+
OnEntityConversationByTenantIdListener(tenantId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$4, 'OnEntityConversationByTenantId'>>>;
|
|
1375
1777
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityConversationService, never>;
|
|
1376
1778
|
static ɵprov: i0.ɵɵInjectableDeclaration<EntityConversationService>;
|
|
1377
1779
|
}
|
|
1378
1780
|
|
|
1781
|
+
declare const FIELDS_ENTITY_TYPE = "\n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n";
|
|
1782
|
+
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 location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n isOrganization\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n";
|
|
1783
|
+
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 location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n parent {\n id\n externalId\n tenantId\n entityTypeId\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n createdAt\n updatedAt\n blockedAt\n deletedAt\n }\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n";
|
|
1784
|
+
declare const FIELDS_ENTITY_MINIMAL = "\n id\n externalId\n tenantId\n metadata\n name\n image {\n location\n }\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n";
|
|
1785
|
+
declare class EntityService {
|
|
1786
|
+
private readonly appSyncService;
|
|
1787
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1788
|
+
GetEntity(id: string): Promise<Entity>;
|
|
1789
|
+
CreateEntity(input: CreateEntityInput, condition?: ModelEntityConditionInput): Promise<Entity>;
|
|
1790
|
+
UpdateEntity(input: UpdateEntityInput, condition?: ModelEntityConditionInput): Promise<Entity>;
|
|
1791
|
+
ListEntitiesByTenantId(tenantId: string, name?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityFilterInput, limit?: number, nextToken?: string): Promise<List<Entity>>;
|
|
1792
|
+
ListEntitiesByTenantIdAndPhoneNumberE164(tenantId: string, phoneNumberE164?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityFilterInput, limit?: number, nextToken?: string): Promise<List<Entity>>;
|
|
1793
|
+
ListEntityTypesByTenantId(tenantId: string, name?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelEntityTypeFilterInput, limit?: number, nextToken?: string): Promise<List<EntityType>>;
|
|
1794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityService, never>;
|
|
1795
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EntityService>;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
declare const FIELDS_INTERACTION_ENDPOINT = "\n id\n externalId\n tenantId\n widgetId\n address\n configuration\n createdAt\n updatedAt\n deletedAt\n";
|
|
1799
|
+
declare class InteractionEndpointService {
|
|
1800
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionEndpointService, never>;
|
|
1801
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionEndpointService>;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
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";
|
|
1805
|
+
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";
|
|
1806
|
+
declare class InteractionWidgetService {
|
|
1807
|
+
private readonly appSyncService;
|
|
1808
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1809
|
+
GetInteractionWidget(id: string): Promise<InteractionWidget>;
|
|
1810
|
+
ListInteractionWidgetsByTenantId(tenantId: string, name?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionWidgetFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionWidget>>;
|
|
1811
|
+
ListInteractionWidgetUserSettingsByUserId(userId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionWidgetUserSettingFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionWidget>>;
|
|
1812
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionWidgetService, never>;
|
|
1813
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionWidgetService>;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
type __SubscriptionContainer$3 = {
|
|
1817
|
+
OnInteractionInviteeByUserId: InteractionInvitee;
|
|
1818
|
+
OnInteractionMessageByEntityConversationId: InteractionMessage;
|
|
1819
|
+
};
|
|
1820
|
+
declare const FIELDS_INTERACTION_HOST = "\n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n";
|
|
1821
|
+
declare const FIELDS_INTERACTION = "\n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n summary\n createdAt\n updatedAt\n deletedAt\n";
|
|
1822
|
+
declare const FIELDS_INTERACTION_EXPANDED: string;
|
|
1823
|
+
declare const FIELDS_INTERACTION_INVITEE = "\n id\n interactionId\n interaction {\n \n id\n tenantId\n widgetId\n endpointId\n entityConversationId\n entityId\n teamId\n hostId\n host {\n \n id\n interactionId\n entityId\n teamId\n userId\n createdAt\n updatedAt\n deletedAt\n\n }\n providerInteractionId\n channel\n provider\n context\n direction\n status\n last_status\n metadata\n subject\n routeConfiguration {\n teamId\n routingLogic\n maxWaitTimeoutSeconds\n }\n startedAt\n completedAt\n duration\n summary\n createdAt\n updatedAt\n deletedAt\n\n }\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n parent {\n id\n externalId\n tenantId\n entityTypeId\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n createdAt\n updatedAt\n blockedAt\n deletedAt\n }\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n teamId\n userId\n isAdministrator\n temp_expiringAt\n expiredAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
1824
|
+
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";
|
|
1825
|
+
declare const FIELDS_INTERACTION_ATTENDEE_EXPANDED = "\n id\n interactionId\n entityId\n entity {\n \n id\n externalId\n tenantId\n entityTypeId\n entityType {\n \n id\n externalId\n tenantId\n name\n description\n image {\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n parentId\n parent {\n id\n externalId\n tenantId\n entityTypeId\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n createdAt\n updatedAt\n blockedAt\n deletedAt\n }\n name\n image {\n location\n }\n isOrganization\n email\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n phoneNumberE164\n customFields\n metadata\n notes\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n contactPreferences {\n allowCall\n allowEmail\n allowSMS\n allowWhatsApp\n }\n createdAt\n updatedAt\n blockedAt\n deletedAt\n\n }\n interactionWidgetSessionId\n teamId\n team {\n \n id\n tenantId\n name\n description\n image {\n key\n bucket\n location\n }\n ticketFields\n createdAt\n updatedAt\n deletedAt\n\n }\n userId\n user {\n \n id\n externalId\n tenantId\n email\n name\n image {\n key\n bucket\n location\n }\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n notificationSettings {\n allowPush\n allowEmail\n allowSMS\n allowWhatsApp\n }\n type\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n\n }\n userSessionId\n name\n metadata\n customFields\n isAdministrator\n joinedAt\n exitedAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
1826
|
+
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";
|
|
1827
|
+
declare const FIELDS_INTERACTION_MESSAGE = "\n id\n externalId\n endpointId\n campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n body\n metadata\n referenceMessageId\n createdAt\n updatedAt\n deletedAt\n messageAttachments {\n items {\n \n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n";
|
|
1828
|
+
declare const FIELDS_INTERACTION_MESSAGE_EXPANDED = "\n id\n externalId\n endpointId\n endpoint {\n \n id\n externalId\n tenantId\n widgetId\n address\n configuration\n createdAt\n updatedAt\n deletedAt\n\n }\n campaignId\n campaignFlowNodeId\n entityConversationId\n interactionId\n interactionAttendeeId\n interactionAttendee {\n \n id\n interactionId\n entityId\n interactionWidgetSessionId\n teamId\n userId\n userSessionId\n name\n metadata\n customFields\n isAdministrator\n joinedAt\n exitedAt\n createdAt\n updatedAt\n deletedAt\n\n }\n body\n metadata\n referenceMessageId\n createdAt\n updatedAt\n deletedAt\n messageAttachments {\n items {\n \n id\n externalId\n interactionId\n interactionMessageId\n name\n size\n type\n file {\n key\n bucket\n location\n }\n createdAt\n updatedAt\n deletedAt\n\n }\n nextToken\n }\n";
|
|
1829
|
+
declare class InteractionService {
|
|
1830
|
+
private readonly appSyncService;
|
|
1831
|
+
newInteractionInviteObservable$: BehaviorSubject<any>;
|
|
1832
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1833
|
+
GetInteraction(id: string): Promise<Interaction>;
|
|
1834
|
+
GetInteractionAttendee(id: string): Promise<InteractionAttendee>;
|
|
1835
|
+
GetInteractionMessage(id: string): Promise<InteractionMessage>;
|
|
1836
|
+
CreateInteraction(input: CreateInteractionInput, condition?: ModelInteractionConditionInput): Promise<Interaction>;
|
|
1837
|
+
UpdateInteraction(input: UpdateInteractionInput, condition?: ModelInteractionConditionInput): Promise<Interaction>;
|
|
1838
|
+
CreateInteractionAttendee(input: CreateInteractionAttendeeInput, condition?: ModelInteractionAttendeeConditionInput): Promise<InteractionAttendee>;
|
|
1839
|
+
CreateInteractionMessage(input: CreateInteractionMessageInput, condition?: ModelInteractionMessageConditionInput): Promise<InteractionMessage>;
|
|
1840
|
+
CreateInteractionMessageAttachment(input: CreateInteractionMessageAttachmentInput, condition?: ModelInteractionMessageAttachmentConditionInput): Promise<InteractionMessageAttachment>;
|
|
1841
|
+
ListInteractionsByTenantId(tenantId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionFilterInput, limit?: number, nextToken?: string): Promise<List<Interaction>>;
|
|
1842
|
+
ListInteractionInviteesByUserId(userId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionInviteeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionInvitee>>;
|
|
1843
|
+
ListInteractionAttendeesByInteractionIdAndEntityId(interactionId: string, entityId?: ModelIDKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
1844
|
+
ListInteractionAttendeesByInteractionIdAndUserId(interactionId: string, userId?: ModelIDKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionAttendeeFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionAttendee>>;
|
|
1845
|
+
ListInteractionMessagesByEntityConversationId(entityConversationId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
1846
|
+
ListInteractionMessagesByExternalMessageId(externalMessageId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
1847
|
+
ListInteractionMessagesByInteractionAttendeeId(interactionAttendeeId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessage>>;
|
|
1848
|
+
ListInteractionMessageAttachmentsByInteractionMessageId(interactionMessageId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelInteractionMessageAttachmentFilterInput, limit?: number, nextToken?: string): Promise<List<InteractionMessageAttachment>>;
|
|
1849
|
+
OnInteractionInviteeByUserIdListener(userId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionInviteeByUserId'>>>;
|
|
1850
|
+
OnInteractionMessageByEntityConversationIdListener(entityConversationId: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$3, 'OnInteractionMessageByEntityConversationId'>>>;
|
|
1851
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractionService, never>;
|
|
1852
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InteractionService>;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
declare const FIELDS_TEAM = "\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";
|
|
1856
|
+
declare const FIELDS_TEAM_MEMBER = "\n id\n teamId\n team {\n \n id\n tenantId\n name\n description\n image {\n key\n bucket\n location\n }\n ticketFields\n createdAt\n updatedAt\n deletedAt\n\n }\n userId\n user {\n \n id\n externalId\n tenantId\n email\n name\n image {\n key\n bucket\n location\n }\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n notificationSettings {\n allowPush\n allowEmail\n allowSMS\n allowWhatsApp\n }\n type\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n\n }\n isManager\n createdAt\n updatedAt\n deletedAt\n";
|
|
1379
1857
|
declare class TeamService {
|
|
1380
1858
|
private readonly appSyncService;
|
|
1381
1859
|
constructor(appSyncService: AppSyncHelperService);
|
|
@@ -1385,6 +1863,62 @@ declare class TeamService {
|
|
|
1385
1863
|
static ɵprov: i0.ɵɵInjectableDeclaration<TeamService>;
|
|
1386
1864
|
}
|
|
1387
1865
|
|
|
1866
|
+
type __SubscriptionContainer$2 = {
|
|
1867
|
+
OnTenantById: Tenant;
|
|
1868
|
+
};
|
|
1869
|
+
declare class TenantService {
|
|
1870
|
+
private readonly appSyncService;
|
|
1871
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1872
|
+
GetTenant(id: string): Promise<Tenant>;
|
|
1873
|
+
OnTenantByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$2, 'OnTenantById'>>>;
|
|
1874
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TenantService, never>;
|
|
1875
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TenantService>;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
declare const FIELDS_TICKET_PRIORITY: string;
|
|
1879
|
+
declare const FIELDS_TICKET_STATUS: string;
|
|
1880
|
+
declare const FIELDS_TICKET_TYPE: string;
|
|
1881
|
+
declare class TicketService {
|
|
1882
|
+
private readonly appSyncService;
|
|
1883
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1884
|
+
ListTicketPrioritiesByTenantId(tenantId: string, name?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelTicketPriorityFilterInput, limit?: number, nextToken?: string): Promise<List<TicketPriority>>;
|
|
1885
|
+
ListTicketStatusesByTenantId(tenantId: string, name?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelTicketStatusFilterInput, limit?: number, nextToken?: string): Promise<List<TicketStatus>>;
|
|
1886
|
+
ListTicketTypesByTenantId(tenantId: string, name?: ModelStringKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelTicketTypeFilterInput, limit?: number, nextToken?: string): Promise<List<TicketType>>;
|
|
1887
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketService, never>;
|
|
1888
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketService>;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
type __SubscriptionContainer$1 = {
|
|
1892
|
+
OnUserSessionById: UserSession;
|
|
1893
|
+
};
|
|
1894
|
+
declare class UserSessionService {
|
|
1895
|
+
private readonly appSyncService;
|
|
1896
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1897
|
+
GetUserSession(id: string): Promise<UserSession>;
|
|
1898
|
+
UpdateUserSession(input: UpdateUserSessionInput, condition?: ModelUserSessionConditionInput): Promise<UserSession>;
|
|
1899
|
+
ListUserSessionsByUserId(userId: string, createdAt?: ModelIntKeyConditionInput, sortDirection?: ModelSortDirection, filter?: ModelUserSessionFilterInput, limit?: number, nextToken?: string): Promise<List<UserSession>>;
|
|
1900
|
+
OnUserSessionByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer$1, 'OnUserSessionById'>>>;
|
|
1901
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSessionService, never>;
|
|
1902
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserSessionService>;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
declare const FIELDS_USER = "\n id\n externalId\n tenantId\n email\n name\n image {\n key\n bucket\n location\n }\n phoneNumber {\n countryCode\n dialCode\n e164Number\n internationalNumber\n nationalNumber\n number\n }\n preferences {\n timezoneName\n language {\n code\n nameEn\n nameLocal\n }\n }\n notificationSettings {\n allowPush\n allowEmail\n allowSMS\n allowWhatsApp\n }\n type\n activatedAt\n blockedAt\n createdAt\n updatedAt\n deletedAt\n";
|
|
1906
|
+
type __SubscriptionContainer = {
|
|
1907
|
+
OnUserById: User;
|
|
1908
|
+
};
|
|
1909
|
+
declare class UserService {
|
|
1910
|
+
private readonly appSyncService;
|
|
1911
|
+
constructor(appSyncService: AppSyncHelperService);
|
|
1912
|
+
GetUser(id: string): Promise<User>;
|
|
1913
|
+
OnUserByIdListener(id: string): Observable<SubscriptionResponse<Pick<__SubscriptionContainer, 'OnUserById'>>>;
|
|
1914
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
1915
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
declare class CleanDeep {
|
|
1919
|
+
static clean(obj: any): typeof obj;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1388
1922
|
declare class CustomValidators {
|
|
1389
1923
|
#private;
|
|
1390
1924
|
/**
|
|
@@ -1410,9 +1944,5 @@ declare class CustomValidators {
|
|
|
1410
1944
|
static trimLength(minLength: number): ValidatorFn;
|
|
1411
1945
|
}
|
|
1412
1946
|
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CustomPipesModule, CustomValidators, DomainNamePipe, EntityConversationService, EntityService, ErrorComponent, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_INTERACTION_WIDGET, FIELDS_USER, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, OpenSearchHelperService, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, TeamService, TenantService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig };
|
|
1418
|
-
export type { AmplifyConfig, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, ModelEntityConditionInput, ModelEntityConversationConditionInput, ModelEntityConversationFilterInput, ModelEntityFilterInput, ModelInteractionAttendeeConditionInput, ModelInteractionAttendeeFilterInput, ModelInteractionChannelInput, ModelInteractionConditionInput, ModelInteractionContextInput, ModelInteractionDirectionInput, ModelInteractionInviteeFilterInput, ModelInteractionMessageAttachmentConditionInput, ModelInteractionMessageAttachmentFilterInput, ModelInteractionMessageConditionInput, ModelInteractionMessageFilterInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, OpenSearchHit, OpenSearchResponse, S3Config, S3Credentials, Tenant, TenantPreferences, TenantSecurity, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
|
|
1947
|
+
export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CustomPipesModule, CustomValidators, DomainNamePipe, EntityConversationService, EntityService, ErrorComponent, FIELDS_ENTITY, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_ENTITY_EXPANDED, FIELDS_ENTITY_MINIMAL, FIELDS_ENTITY_TYPE, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_EXPANDED, FIELDS_INTERACTION_HOST, FIELDS_INTERACTION_INVITEE, FIELDS_INTERACTION_MESSAGE, FIELDS_INTERACTION_MESSAGE_ATTACHMENT, FIELDS_INTERACTION_MESSAGE_EXPANDED, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, TeamService, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig };
|
|
1948
|
+
export type { AmplifyConfig, Country, CountryCurrency, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionHostInput, CreateInteractionInput, CreateInteractionInviteeInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, CreateTeamInput, CreateTeamMemberInput, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, EntityType, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetUserSetting, Language, List, ModelBooleanInput, ModelEntityConditionInput, ModelEntityConversationConditionInput, ModelEntityConversationFilterInput, ModelEntityFilterInput, ModelEntityTypeConditionInput, ModelEntityTypeFilterInput, ModelIDInput, ModelIDKeyConditionInput, ModelIntInput, ModelIntKeyConditionInput, ModelInteractionAttendeeConditionInput, ModelInteractionAttendeeFilterInput, ModelInteractionChannelInput, ModelInteractionConditionInput, ModelInteractionContextInput, ModelInteractionDirectionInput, ModelInteractionFilterInput, ModelInteractionHostConditionInput, ModelInteractionHostFilterInput, ModelInteractionInviteeConditionInput, ModelInteractionInviteeFilterInput, ModelInteractionMessageAttachmentConditionInput, ModelInteractionMessageAttachmentFilterInput, ModelInteractionMessageConditionInput, ModelInteractionMessageFilterInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelInteractionWidgetUserSettingFilterInput, ModelSizeInput, ModelStringInput, ModelStringKeyConditionInput, ModelTeamConditionInput, ModelTeamFilterInput, ModelTeamMemberConditionInput, ModelTeamMemberFilterInput, ModelTicketPriorityConditionInput, ModelTicketPriorityFilterInput, ModelTicketStatusConditionInput, ModelTicketStatusFilterInput, ModelTicketTypeConditionInput, ModelTicketTypeFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, OpenSearchHit, OpenSearchResponse, PhoneNumber, S3Config, S3Credentials, S3Object, SubscriptionResponse, Team, TeamMember, Tenant, TenantBillingInformation, TenantContactInformation, TenantPreferences, TenantSSOConfiguration, TenantSecurity, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
|