@snugdesk/core 0.2.33 → 0.2.34

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/index.d.ts CHANGED
@@ -369,178 +369,6 @@ type ModelProcessingStatusInput = {
369
369
  ne?: ProcessingStatus | null;
370
370
  };
371
371
 
372
- type Entity = {
373
- id: string;
374
- externalId?: string | null;
375
- tenantId: string;
376
- entityTypeId?: string | null;
377
- entityType?: EntityType | null;
378
- parentId?: string | null;
379
- parent?: Entity | null;
380
- name: string;
381
- image?: S3Object | null;
382
- email?: string | null;
383
- phoneNumber?: PhoneNumber | null;
384
- phoneNumberE164?: string | null;
385
- isOrganization: boolean;
386
- metadata?: string;
387
- notes?: string | null;
388
- customFields?: Array<string | null> | null;
389
- preferences?: EntityPreferences | null;
390
- contactPreferences?: EntityContactPreferences | null;
391
- createdAt: number;
392
- updatedAt: number;
393
- blockedAt?: number | null;
394
- deletedAt?: number | null;
395
- updatedByUserId: string;
396
- updatedByUserSessionId?: string | null;
397
- };
398
- type EntityType = {
399
- id: string;
400
- externalId?: string | null;
401
- tenantId: string;
402
- name: string;
403
- description?: string | null;
404
- image?: S3Object | null;
405
- createdAt: number;
406
- updatedAt: number;
407
- deletedAt?: number | null;
408
- entityFields?: Array<string | null> | null;
409
- organizationFields?: Array<string | null> | null;
410
- };
411
- type EntityPreferences = {
412
- timezoneName?: string | null;
413
- language?: Language | null;
414
- };
415
- type EntityContactPreferences = {
416
- allowCall?: boolean | null;
417
- allowEmail?: boolean | null;
418
- allowSMS?: boolean | null;
419
- allowWhatsApp?: boolean | null;
420
- };
421
- type CreateEntityInput = {
422
- id?: string | null;
423
- externalId?: string | null;
424
- tenantId: string;
425
- entityTypeId?: string | null;
426
- parentId?: string | null;
427
- name: string;
428
- image?: S3Object | null;
429
- email?: string | null;
430
- phoneNumber?: PhoneNumber | null;
431
- phoneNumberE164?: string | null;
432
- isOrganization: boolean;
433
- notes?: string | null;
434
- metadata?: Array<string | null> | null;
435
- customFields?: Array<string | null> | null;
436
- preferences?: EntityPreferences | null;
437
- contactPreferences?: EntityContactPreferences | null;
438
- createdAt: number;
439
- updatedAt: number;
440
- blockedAt?: number | null;
441
- deletedAt?: number | null;
442
- updatedByUserId: string;
443
- updatedByUserSessionId?: string | null;
444
- };
445
- type UpdateEntityInput = {
446
- id: string;
447
- externalId?: string | null;
448
- tenantId?: string | null;
449
- entityTypeId?: string | null;
450
- parentId?: string | null;
451
- name?: string | null;
452
- image?: S3Object | null;
453
- email?: string | null;
454
- phoneNumber?: PhoneNumber | null;
455
- phoneNumberE164?: string | null;
456
- isOrganization?: boolean | null;
457
- notes?: string | null;
458
- metadata?: Array<string | null> | null;
459
- customFields?: Array<string | null> | null;
460
- preferences?: EntityPreferences | null;
461
- contactPreferences?: EntityContactPreferences | null;
462
- createdAt?: number | null;
463
- updatedAt: number;
464
- blockedAt?: number | null;
465
- deletedAt?: number | null;
466
- updatedByUserId?: string | null;
467
- updatedByUserSessionId?: string | null;
468
- };
469
- type ModelEntityConditionInput = {
470
- externalId?: ModelStringInput | null;
471
- tenantId?: ModelIDInput | null;
472
- entityTypeId?: ModelIDInput | null;
473
- parentId?: ModelIDInput | null;
474
- name?: ModelStringInput | null;
475
- email?: ModelStringInput | null;
476
- phoneNumberE164?: ModelStringInput | null;
477
- isOrganization?: ModelBooleanInput | null;
478
- notes?: ModelStringInput | null;
479
- metadata?: ModelStringInput | null;
480
- customFields?: ModelStringInput | null;
481
- createdAt?: ModelIntInput | null;
482
- updatedAt?: ModelIntInput | null;
483
- blockedAt?: ModelIntInput | null;
484
- deletedAt?: ModelIntInput | null;
485
- updatedByUserId?: ModelIDInput | null;
486
- updatedByUserSessionId?: ModelIDInput | null;
487
- and?: Array<ModelEntityConditionInput | null> | null;
488
- or?: Array<ModelEntityConditionInput | null> | null;
489
- not?: ModelEntityConditionInput | null;
490
- };
491
- type ModelEntityFilterInput = {
492
- id?: ModelIDInput | null;
493
- externalId?: ModelStringInput | null;
494
- tenantId?: ModelIDInput | null;
495
- entityTypeId?: ModelIDInput | null;
496
- parentId?: ModelIDInput | null;
497
- name?: ModelStringInput | null;
498
- email?: ModelStringInput | null;
499
- phoneNumberE164?: ModelStringInput | null;
500
- isOrganization?: ModelBooleanInput | null;
501
- notes?: ModelStringInput | null;
502
- metadata?: ModelStringInput | null;
503
- customFields?: ModelStringInput | null;
504
- createdAt?: ModelIntInput | null;
505
- updatedAt?: ModelIntInput | null;
506
- blockedAt?: ModelIntInput | null;
507
- deletedAt?: ModelIntInput | null;
508
- updatedByUserId?: ModelIDInput | null;
509
- updatedByUserSessionId?: ModelIDInput | null;
510
- and?: Array<ModelEntityFilterInput | null> | null;
511
- or?: Array<ModelEntityFilterInput | null> | null;
512
- not?: ModelEntityFilterInput | null;
513
- };
514
- type ModelEntityTypeConditionInput = {
515
- externalId?: ModelStringInput | null;
516
- tenantId?: ModelIDInput | null;
517
- name?: ModelStringInput | null;
518
- description?: ModelStringInput | null;
519
- createdAt?: ModelIntInput | null;
520
- updatedAt?: ModelIntInput | null;
521
- deletedAt?: ModelIntInput | null;
522
- entityFields?: ModelStringInput | null;
523
- organizationFields?: ModelStringInput | null;
524
- and?: Array<ModelEntityTypeConditionInput | null> | null;
525
- or?: Array<ModelEntityTypeConditionInput | null> | null;
526
- not?: ModelEntityTypeConditionInput | null;
527
- };
528
- type ModelEntityTypeFilterInput = {
529
- id?: ModelIDInput | null;
530
- externalId?: ModelStringInput | null;
531
- tenantId?: ModelIDInput | null;
532
- name?: ModelStringInput | null;
533
- description?: ModelStringInput | null;
534
- createdAt?: ModelIntInput | null;
535
- updatedAt?: ModelIntInput | null;
536
- deletedAt?: ModelIntInput | null;
537
- entityFields?: ModelStringInput | null;
538
- organizationFields?: ModelStringInput | null;
539
- and?: Array<ModelEntityTypeFilterInput | null> | null;
540
- or?: Array<ModelEntityTypeFilterInput | null> | null;
541
- not?: ModelEntityTypeFilterInput | null;
542
- };
543
-
544
372
  declare enum TenantComplianceDocumentStatus {
545
373
  ACTIVE = "ACTIVE",
546
374
  EXPIRED = "EXPIRED",
@@ -606,6 +434,8 @@ type TenantBillingInformation = {
606
434
  country?: Country | null;
607
435
  companyIdentificationNumber?: string | null;
608
436
  taxIdentificationNumber?: string | null;
437
+ billingEmail?: string | null;
438
+ website?: string | null;
609
439
  };
610
440
  type TenantContactInformation = {
611
441
  name: string;
@@ -784,6 +614,639 @@ type ModelTenantComplianceDocumentStatusInput = {
784
614
  ne?: TenantComplianceDocumentStatus | null;
785
615
  };
786
616
 
617
+ /**
618
+ * Billing platform models (Stage 1) — mirrors the Amplify schema Billing* types.
619
+ * Conventions: micros & timestamps are `number`; AWSJSON is `string | null`.
620
+ * Reference: SNUGDESK_BILLING_PLATFORM_DESIGN.md v2.3.
621
+ */
622
+
623
+ declare enum BillingAccountStatus {
624
+ PENDING_KYC = "PENDING_KYC",
625
+ ACTIVE = "ACTIVE",
626
+ NO_BALANCE = "NO_BALANCE",
627
+ BLOCKED = "BLOCKED",
628
+ TERMINATED = "TERMINATED"
629
+ }
630
+ declare enum BillingLedgerDirection {
631
+ DEBIT = "DEBIT",
632
+ CREDIT = "CREDIT"
633
+ }
634
+ declare enum BillingCreditClass {
635
+ PAID = "PAID",
636
+ PROMO = "PROMO",
637
+ GOODWILL = "GOODWILL"
638
+ }
639
+ declare enum BillingLedgerEntryType {
640
+ TOPUP = "TOPUP",
641
+ USAGE_CHARGE = "USAGE_CHARGE",
642
+ SUBSCRIPTION_CHARGE = "SUBSCRIPTION_CHARGE",
643
+ REFUND = "REFUND",
644
+ ADJUSTMENT = "ADJUSTMENT",
645
+ CREDIT_NOTE = "CREDIT_NOTE",
646
+ REVERSAL = "REVERSAL",
647
+ RESERVATION = "RESERVATION",
648
+ RESERVATION_RELEASE = "RESERVATION_RELEASE",
649
+ WRITEOFF = "WRITEOFF",
650
+ FX_NOTE = "FX_NOTE"
651
+ }
652
+ declare enum BillingEntityStatus {
653
+ ACTIVE = "ACTIVE",
654
+ INACTIVE = "INACTIVE",
655
+ RETIRED = "RETIRED"
656
+ }
657
+ declare enum BillingPriceBookType {
658
+ DEFAULT_RETAIL = "DEFAULT_RETAIL",
659
+ CONTRACT = "CONTRACT",
660
+ PROMO = "PROMO"
661
+ }
662
+ declare enum BillingPricingType {
663
+ FLAT = "FLAT",
664
+ TIERED_VOLUME = "TIERED_VOLUME",
665
+ TIERED_GRADUATED = "TIERED_GRADUATED"
666
+ }
667
+ declare enum BillingPeriodType {
668
+ MONTHLY = "MONTHLY",
669
+ ANNUAL = "ANNUAL"
670
+ }
671
+ declare enum BillingSubscriptionStatus {
672
+ TRIALING = "TRIALING",
673
+ ACTIVE = "ACTIVE",
674
+ PAST_DUE = "PAST_DUE",
675
+ SUSPENDED = "SUSPENDED",
676
+ CANCELLED = "CANCELLED"
677
+ }
678
+ declare enum BillingRatingStatus {
679
+ PENDING = "PENDING",
680
+ RATED = "RATED",
681
+ UNRATABLE = "UNRATABLE",
682
+ ZERO_RATED = "ZERO_RATED"
683
+ }
684
+ declare enum BillingChargeStatus {
685
+ WALLET_DEBITED = "WALLET_DEBITED",
686
+ ACCRUED = "ACCRUED",
687
+ INCLUDED = "INCLUDED",
688
+ FAILED_NSF = "FAILED_NSF"
689
+ }
690
+ declare enum BillingInvoiceType {
691
+ SUBSCRIPTION = "SUBSCRIPTION",
692
+ USAGE = "USAGE",
693
+ TOPUP_RECEIPT = "TOPUP_RECEIPT",
694
+ CREDIT_NOTE = "CREDIT_NOTE"
695
+ }
696
+ declare enum BillingInvoiceStatus {
697
+ DRAFT = "DRAFT",
698
+ PENDING_APPROVAL = "PENDING_APPROVAL",
699
+ ISSUED = "ISSUED",
700
+ PAID = "PAID",
701
+ VOID = "VOID"
702
+ }
703
+ declare enum BillingTaxTreatment {
704
+ STANDARD = "STANDARD",
705
+ ZERO_RATED_EXPORT = "ZERO_RATED_EXPORT",
706
+ NOT_REGISTERED = "NOT_REGISTERED",
707
+ OUT_OF_SCOPE = "OUT_OF_SCOPE"
708
+ }
709
+ declare enum BillingPaymentPurpose {
710
+ TOPUP = "TOPUP",
711
+ AUTO_TOPUP = "AUTO_TOPUP",
712
+ MANUAL = "MANUAL"
713
+ }
714
+ declare enum BillingPaymentRail {
715
+ CARD = "CARD",
716
+ BANK_TRANSFER = "BANK_TRANSFER",
717
+ MANUAL = "MANUAL"
718
+ }
719
+ declare enum BillingPaymentDirection {
720
+ CHARGE = "CHARGE",
721
+ REFUND = "REFUND"
722
+ }
723
+ declare enum BillingPaymentStatus {
724
+ REQUIRES_ACTION = "REQUIRES_ACTION",
725
+ PROCESSING = "PROCESSING",
726
+ SUCCEEDED = "SUCCEEDED",
727
+ FAILED = "FAILED",
728
+ EXPIRED = "EXPIRED",
729
+ DISPUTED = "DISPUTED",
730
+ REFUNDED = "REFUNDED"
731
+ }
732
+ declare enum BillingPaymentMethodStatus {
733
+ ACTIVE = "ACTIVE",
734
+ DETACHED = "DETACHED",
735
+ EXPIRED = "EXPIRED"
736
+ }
737
+ declare enum BillingReceiptMatchStatus {
738
+ AUTO_MATCHED = "AUTO_MATCHED",
739
+ UNMATCHED = "UNMATCHED",
740
+ MANUALLY_MATCHED = "MANUALLY_MATCHED",
741
+ REFUND_REQUIRED = "REFUND_REQUIRED"
742
+ }
743
+ declare enum BillingAdminActionType {
744
+ MANUAL_CREDIT = "MANUAL_CREDIT",
745
+ MANUAL_DEBIT = "MANUAL_DEBIT",
746
+ REFUND = "REFUND",
747
+ WRITEOFF = "WRITEOFF",
748
+ RATE_OVERRIDE = "RATE_OVERRIDE",
749
+ BALANCE_ADJUST = "BALANCE_ADJUST",
750
+ CONFIG_CHANGE = "CONFIG_CHANGE",
751
+ PERIOD_LOCK = "PERIOD_LOCK",
752
+ RERATE_PERIOD = "RERATE_PERIOD"
753
+ }
754
+ declare enum BillingAdminActionStatus {
755
+ PENDING_APPROVAL = "PENDING_APPROVAL",
756
+ APPROVED = "APPROVED",
757
+ EXECUTED = "EXECUTED",
758
+ REJECTED = "REJECTED",
759
+ EXPIRED = "EXPIRED"
760
+ }
761
+ declare enum BillingKycCaseType {
762
+ ONBOARDING = "ONBOARDING",
763
+ RE_KYC = "RE_KYC"
764
+ }
765
+ declare enum BillingKycCaseStatus {
766
+ PENDING_SUBMISSION = "PENDING_SUBMISSION",
767
+ SUBMITTED = "SUBMITTED",
768
+ IN_REVIEW = "IN_REVIEW",
769
+ AUTO_APPROVED = "AUTO_APPROVED",
770
+ APPROVED = "APPROVED",
771
+ REJECTED = "REJECTED",
772
+ NEEDS_MORE_INFO = "NEEDS_MORE_INFO",
773
+ EXPIRED = "EXPIRED"
774
+ }
775
+ type BillingAccount = {
776
+ id: string;
777
+ tenantId: string;
778
+ accountStatus: BillingAccountStatus;
779
+ blockReason?: string | null;
780
+ profile?: TenantBillingInformation | null;
781
+ contractPriceBookId?: string | null;
782
+ gatewayCustomerId?: string | null;
783
+ bankTransferCode?: string | null;
784
+ createdAt: number;
785
+ updatedAt: number;
786
+ updatedByUserId?: string | null;
787
+ };
788
+ type BillingWalletBalance = {
789
+ billingAccountId: string;
790
+ balanceMicros: number;
791
+ reservedMicros: number;
792
+ paidCreditMicros?: number | null;
793
+ promoCreditMicros?: number | null;
794
+ version: number;
795
+ lastLedgerSeq?: string | null;
796
+ lowBalanceThresholdMicros?: number | null;
797
+ autoTopupConfig?: string | null;
798
+ updatedAt: number;
799
+ };
800
+ type BillingLedgerEntry = {
801
+ billingAccountId: string;
802
+ sk: string;
803
+ entryId: string;
804
+ txnId: string;
805
+ idempotencyKey: string;
806
+ direction: BillingLedgerDirection;
807
+ account: string;
808
+ amountMicros: number;
809
+ balanceAfterMicros?: number | null;
810
+ creditClass?: BillingCreditClass | null;
811
+ entryType: BillingLedgerEntryType;
812
+ refType?: string | null;
813
+ refId?: string | null;
814
+ description?: string | null;
815
+ metadata?: string | null;
816
+ createdAt: number;
817
+ createdBy: string;
818
+ approvedBy?: string | null;
819
+ entryHash: string;
820
+ prevHash: string;
821
+ };
822
+ type BillingIdempotencyKey = {
823
+ idemKey: string;
824
+ scope?: string | null;
825
+ resultRef?: string | null;
826
+ expiresAt?: number | null;
827
+ };
828
+ type BillingProduct = {
829
+ id: string;
830
+ productCode: string;
831
+ name: string;
832
+ unit: string;
833
+ meterConfig?: string | null;
834
+ taxCategory?: string | null;
835
+ productStatus?: BillingEntityStatus | null;
836
+ effectiveFrom?: number | null;
837
+ effectiveTo?: number | null;
838
+ };
839
+ type BillingPriceBook = {
840
+ id: string;
841
+ name: string;
842
+ bookType: BillingPriceBookType;
843
+ bookStatus?: BillingEntityStatus | null;
844
+ effectiveFrom?: number | null;
845
+ effectiveTo?: number | null;
846
+ };
847
+ type BillingRateCard = {
848
+ priceBookId: string;
849
+ sk: string;
850
+ productCode: string;
851
+ dimensionKey: string;
852
+ pricingType: BillingPricingType;
853
+ unitPriceMicros?: number | null;
854
+ tiers?: string | null;
855
+ minChargeMicros?: number | null;
856
+ incrementOverride?: string | null;
857
+ buyPriceMicros?: number | null;
858
+ fxCapture?: string | null;
859
+ effectiveFrom: number;
860
+ effectiveTo?: number | null;
861
+ };
862
+ type BillingPlanDefinition = {
863
+ id: string;
864
+ version: string;
865
+ name: string;
866
+ billingPeriod: BillingPeriodType;
867
+ baseFeeMicros?: number | null;
868
+ perSeatFeeMicros?: number | null;
869
+ includedAllowances?: string | null;
870
+ featureFlags?: string | null;
871
+ trialDays?: number | null;
872
+ planStatus?: BillingEntityStatus | null;
873
+ };
874
+ type BillingSubscription = {
875
+ billingAccountId: string;
876
+ sk: string;
877
+ planId: string;
878
+ planVersion: string;
879
+ seats: number;
880
+ subStatus: BillingSubscriptionStatus;
881
+ currentPeriodStart?: number | null;
882
+ currentPeriodEnd?: number | null;
883
+ cancelAtPeriodEnd?: boolean | null;
884
+ allowanceUsage?: string | null;
885
+ createdAt: number;
886
+ updatedAt: number;
887
+ };
888
+ type BillingUsageEvent = {
889
+ billingAccountId: string;
890
+ sk: string;
891
+ eventId: string;
892
+ tenantId: string;
893
+ productCode: string;
894
+ quantity: number;
895
+ rawUnit?: string | null;
896
+ dimensions?: string | null;
897
+ sourceService?: string | null;
898
+ sourceRef?: string | null;
899
+ buyCostHint?: string | null;
900
+ occurredAt: number;
901
+ receivedAt: number;
902
+ ratingStatus: BillingRatingStatus;
903
+ };
904
+ type BillingRatedCharge = {
905
+ billingAccountId: string;
906
+ sk: string;
907
+ tenantId: string;
908
+ period: string;
909
+ usageEventId?: string | null;
910
+ productCode: string;
911
+ quantity: number;
912
+ rateCardRef?: string | null;
913
+ grossMicros: number;
914
+ allowanceAppliedMicros?: number | null;
915
+ netMicros: number;
916
+ marginMicros?: number | null;
917
+ chargeStatus: BillingChargeStatus;
918
+ ledgerTxnId?: string | null;
919
+ invoiceId?: string | null;
920
+ createdAt: number;
921
+ };
922
+ type BillingInvoice = {
923
+ id: string;
924
+ invoiceNumber?: string | null;
925
+ billingAccountId: string;
926
+ periodStart?: number | null;
927
+ periodEnd: number;
928
+ invoiceType: BillingInvoiceType;
929
+ invoiceStatus: BillingInvoiceStatus;
930
+ profileSnapshot?: TenantBillingInformation | null;
931
+ subtotalMicros?: number | null;
932
+ taxMicros?: number | null;
933
+ totalMicros?: number | null;
934
+ taxTreatment?: BillingTaxTreatment | null;
935
+ fxDisplay?: string | null;
936
+ pdfKey?: string | null;
937
+ peppolPayloadKey?: string | null;
938
+ itemizedCsvKey?: string | null;
939
+ dueAt?: number | null;
940
+ issuedAt?: number | null;
941
+ paidAt?: number | null;
942
+ createdAt: number;
943
+ updatedAt: number;
944
+ };
945
+ type BillingInvoiceLine = {
946
+ invoiceId: string;
947
+ sk: string;
948
+ productCode?: string | null;
949
+ description?: string | null;
950
+ quantity?: number | null;
951
+ unitPriceMicros?: number | null;
952
+ amountMicros: number;
953
+ taxCode?: string | null;
954
+ sourceChargeCount?: number | null;
955
+ tenantId?: string | null;
956
+ };
957
+ type BillingPayment = {
958
+ id: string;
959
+ billingAccountId: string;
960
+ rail: BillingPaymentRail;
961
+ provider?: string | null;
962
+ direction: BillingPaymentDirection;
963
+ purpose?: BillingPaymentPurpose | null;
964
+ amountMicros: number;
965
+ payerCurrency?: string | null;
966
+ payerAmountMinor?: number | null;
967
+ fxRateMicros?: number | null;
968
+ paymentStatus: BillingPaymentStatus;
969
+ gatewayRefs?: string | null;
970
+ feeMicros?: number | null;
971
+ failureCode?: string | null;
972
+ ledgerTxnId?: string | null;
973
+ idempotencyKey?: string | null;
974
+ createdAt: number;
975
+ updatedAt: number;
976
+ };
977
+ type BillingPaymentMethod = {
978
+ billingAccountId: string;
979
+ sk: string;
980
+ gatewayPaymentMethodId: string;
981
+ displayBrand?: string | null;
982
+ displayLast4?: string | null;
983
+ displayExpMonth?: number | null;
984
+ displayExpYear?: number | null;
985
+ isDefault?: boolean | null;
986
+ methodStatus?: BillingPaymentMethodStatus | null;
987
+ billingAddress?: string | null;
988
+ createdAt: number;
989
+ };
990
+ type BillingBankReceipt = {
991
+ id: string;
992
+ amountMicros: number;
993
+ payerName?: string | null;
994
+ payerBank?: string | null;
995
+ referenceText?: string | null;
996
+ matchStatus: BillingReceiptMatchStatus;
997
+ receivedAt: number;
998
+ provider?: string | null;
999
+ matchedBillingAccountId?: string | null;
1000
+ matchedBy?: string | null;
1001
+ matchedAt?: number | null;
1002
+ ledgerTxnId?: string | null;
1003
+ };
1004
+ type BillingAdminAction = {
1005
+ id: string;
1006
+ actionType: BillingAdminActionType;
1007
+ payload?: string | null;
1008
+ makerUserId: string;
1009
+ makerAt: number;
1010
+ checkerUserId?: string | null;
1011
+ checkerAt?: number | null;
1012
+ actionStatus: BillingAdminActionStatus;
1013
+ ledgerTxnId?: string | null;
1014
+ reason?: string | null;
1015
+ };
1016
+ type BillingTaxRule = {
1017
+ jurisdiction: string;
1018
+ sk: string;
1019
+ rateBps: number;
1020
+ treatment: BillingTaxTreatment;
1021
+ f5Box?: string | null;
1022
+ invoiceWording?: string | null;
1023
+ notes?: string | null;
1024
+ };
1025
+ type BillingFxRate = {
1026
+ pair: string;
1027
+ fetchedAt: number;
1028
+ midRateMicros: number;
1029
+ source: string;
1030
+ providerPayloadRef?: string | null;
1031
+ };
1032
+ type BillingAuditLog = {
1033
+ id: string;
1034
+ objectRef: string;
1035
+ actorUserId: string;
1036
+ action: string;
1037
+ before?: string | null;
1038
+ after?: string | null;
1039
+ requestId?: string | null;
1040
+ sourceIp?: string | null;
1041
+ createdAt: number;
1042
+ };
1043
+ type BillingPlatformConfig = {
1044
+ configKey: string;
1045
+ value?: string | null;
1046
+ valueType?: string | null;
1047
+ notes?: string | null;
1048
+ updatedBy?: string | null;
1049
+ updatedAt?: number | null;
1050
+ version?: number | null;
1051
+ };
1052
+ type BillingKycCase = {
1053
+ id: string;
1054
+ billingAccountId: string;
1055
+ tenantId: string;
1056
+ caseType: BillingKycCaseType;
1057
+ caseStatus: BillingKycCaseStatus;
1058
+ submittedAt?: number | null;
1059
+ declaredProfile?: TenantBillingInformation | null;
1060
+ documents?: string | null;
1061
+ checks?: string | null;
1062
+ riskScore?: number | null;
1063
+ riskFactors?: string | null;
1064
+ decision?: string | null;
1065
+ slaDueAt?: number | null;
1066
+ createdAt: number;
1067
+ updatedAt: number;
1068
+ };
1069
+ type TenantBillingSnapshot = {
1070
+ id: string;
1071
+ billingAccountId: string;
1072
+ balanceMicros?: number | null;
1073
+ accountStatus?: BillingAccountStatus | null;
1074
+ lowBalance?: boolean | null;
1075
+ updatedAt: number;
1076
+ };
1077
+
1078
+ type Entity = {
1079
+ id: string;
1080
+ externalId?: string | null;
1081
+ tenantId: string;
1082
+ entityTypeId?: string | null;
1083
+ entityType?: EntityType | null;
1084
+ parentId?: string | null;
1085
+ parent?: Entity | null;
1086
+ name: string;
1087
+ image?: S3Object | null;
1088
+ email?: string | null;
1089
+ phoneNumber?: PhoneNumber | null;
1090
+ phoneNumberE164?: string | null;
1091
+ isOrganization: boolean;
1092
+ metadata?: string;
1093
+ notes?: string | null;
1094
+ customFields?: Array<string | null> | null;
1095
+ preferences?: EntityPreferences | null;
1096
+ contactPreferences?: EntityContactPreferences | null;
1097
+ createdAt: number;
1098
+ updatedAt: number;
1099
+ blockedAt?: number | null;
1100
+ deletedAt?: number | null;
1101
+ updatedByUserId: string;
1102
+ updatedByUserSessionId?: string | null;
1103
+ };
1104
+ type EntityType = {
1105
+ id: string;
1106
+ externalId?: string | null;
1107
+ tenantId: string;
1108
+ name: string;
1109
+ description?: string | null;
1110
+ image?: S3Object | null;
1111
+ createdAt: number;
1112
+ updatedAt: number;
1113
+ deletedAt?: number | null;
1114
+ entityFields?: Array<string | null> | null;
1115
+ organizationFields?: Array<string | null> | null;
1116
+ };
1117
+ type EntityPreferences = {
1118
+ timezoneName?: string | null;
1119
+ language?: Language | null;
1120
+ };
1121
+ type EntityContactPreferences = {
1122
+ allowCall?: boolean | null;
1123
+ allowEmail?: boolean | null;
1124
+ allowSMS?: boolean | null;
1125
+ allowWhatsApp?: boolean | null;
1126
+ };
1127
+ type CreateEntityInput = {
1128
+ id?: string | null;
1129
+ externalId?: string | null;
1130
+ tenantId: string;
1131
+ entityTypeId?: string | null;
1132
+ parentId?: string | null;
1133
+ name: string;
1134
+ image?: S3Object | null;
1135
+ email?: string | null;
1136
+ phoneNumber?: PhoneNumber | null;
1137
+ phoneNumberE164?: string | null;
1138
+ isOrganization: boolean;
1139
+ notes?: string | null;
1140
+ metadata?: Array<string | null> | null;
1141
+ customFields?: Array<string | null> | null;
1142
+ preferences?: EntityPreferences | null;
1143
+ contactPreferences?: EntityContactPreferences | null;
1144
+ createdAt: number;
1145
+ updatedAt: number;
1146
+ blockedAt?: number | null;
1147
+ deletedAt?: number | null;
1148
+ updatedByUserId: string;
1149
+ updatedByUserSessionId?: string | null;
1150
+ };
1151
+ type UpdateEntityInput = {
1152
+ id: string;
1153
+ externalId?: string | null;
1154
+ tenantId?: string | null;
1155
+ entityTypeId?: string | null;
1156
+ parentId?: string | null;
1157
+ name?: string | null;
1158
+ image?: S3Object | null;
1159
+ email?: string | null;
1160
+ phoneNumber?: PhoneNumber | null;
1161
+ phoneNumberE164?: string | null;
1162
+ isOrganization?: boolean | null;
1163
+ notes?: string | null;
1164
+ metadata?: Array<string | null> | null;
1165
+ customFields?: Array<string | null> | null;
1166
+ preferences?: EntityPreferences | null;
1167
+ contactPreferences?: EntityContactPreferences | null;
1168
+ createdAt?: number | null;
1169
+ updatedAt: number;
1170
+ blockedAt?: number | null;
1171
+ deletedAt?: number | null;
1172
+ updatedByUserId?: string | null;
1173
+ updatedByUserSessionId?: string | null;
1174
+ };
1175
+ type ModelEntityConditionInput = {
1176
+ externalId?: ModelStringInput | null;
1177
+ tenantId?: ModelIDInput | null;
1178
+ entityTypeId?: ModelIDInput | null;
1179
+ parentId?: ModelIDInput | null;
1180
+ name?: ModelStringInput | null;
1181
+ email?: ModelStringInput | null;
1182
+ phoneNumberE164?: ModelStringInput | null;
1183
+ isOrganization?: ModelBooleanInput | null;
1184
+ notes?: ModelStringInput | null;
1185
+ metadata?: ModelStringInput | null;
1186
+ customFields?: ModelStringInput | null;
1187
+ createdAt?: ModelIntInput | null;
1188
+ updatedAt?: ModelIntInput | null;
1189
+ blockedAt?: ModelIntInput | null;
1190
+ deletedAt?: ModelIntInput | null;
1191
+ updatedByUserId?: ModelIDInput | null;
1192
+ updatedByUserSessionId?: ModelIDInput | null;
1193
+ and?: Array<ModelEntityConditionInput | null> | null;
1194
+ or?: Array<ModelEntityConditionInput | null> | null;
1195
+ not?: ModelEntityConditionInput | null;
1196
+ };
1197
+ type ModelEntityFilterInput = {
1198
+ id?: ModelIDInput | null;
1199
+ externalId?: ModelStringInput | null;
1200
+ tenantId?: ModelIDInput | null;
1201
+ entityTypeId?: ModelIDInput | null;
1202
+ parentId?: ModelIDInput | null;
1203
+ name?: ModelStringInput | null;
1204
+ email?: ModelStringInput | null;
1205
+ phoneNumberE164?: ModelStringInput | null;
1206
+ isOrganization?: ModelBooleanInput | null;
1207
+ notes?: ModelStringInput | null;
1208
+ metadata?: ModelStringInput | null;
1209
+ customFields?: ModelStringInput | null;
1210
+ createdAt?: ModelIntInput | null;
1211
+ updatedAt?: ModelIntInput | null;
1212
+ blockedAt?: ModelIntInput | null;
1213
+ deletedAt?: ModelIntInput | null;
1214
+ updatedByUserId?: ModelIDInput | null;
1215
+ updatedByUserSessionId?: ModelIDInput | null;
1216
+ and?: Array<ModelEntityFilterInput | null> | null;
1217
+ or?: Array<ModelEntityFilterInput | null> | null;
1218
+ not?: ModelEntityFilterInput | null;
1219
+ };
1220
+ type ModelEntityTypeConditionInput = {
1221
+ externalId?: ModelStringInput | null;
1222
+ tenantId?: ModelIDInput | null;
1223
+ name?: ModelStringInput | null;
1224
+ description?: ModelStringInput | null;
1225
+ createdAt?: ModelIntInput | null;
1226
+ updatedAt?: ModelIntInput | null;
1227
+ deletedAt?: ModelIntInput | null;
1228
+ entityFields?: ModelStringInput | null;
1229
+ organizationFields?: ModelStringInput | null;
1230
+ and?: Array<ModelEntityTypeConditionInput | null> | null;
1231
+ or?: Array<ModelEntityTypeConditionInput | null> | null;
1232
+ not?: ModelEntityTypeConditionInput | null;
1233
+ };
1234
+ type ModelEntityTypeFilterInput = {
1235
+ id?: ModelIDInput | null;
1236
+ externalId?: ModelStringInput | null;
1237
+ tenantId?: ModelIDInput | null;
1238
+ name?: ModelStringInput | null;
1239
+ description?: ModelStringInput | null;
1240
+ createdAt?: ModelIntInput | null;
1241
+ updatedAt?: ModelIntInput | null;
1242
+ deletedAt?: ModelIntInput | null;
1243
+ entityFields?: ModelStringInput | null;
1244
+ organizationFields?: ModelStringInput | null;
1245
+ and?: Array<ModelEntityTypeFilterInput | null> | null;
1246
+ or?: Array<ModelEntityTypeFilterInput | null> | null;
1247
+ not?: ModelEntityTypeFilterInput | null;
1248
+ };
1249
+
787
1250
  type InteractionWidget = {
788
1251
  id: string;
789
1252
  tenantId: string;
@@ -2618,5 +3081,5 @@ declare class InteractionMessageTemplateService {
2618
3081
  static ɵprov: i0.ɵɵInjectableDeclaration<InteractionMessageTemplateService>;
2619
3082
  }
2620
3083
 
2621
- export { AMPLIFY_CONFIG, AppSyncHelperService, CleanDeep, CommonService, CustomPipesModule, CustomValidators, DomainNamePipe, EmailConversationResolverService, EmailEntityResolverService, EncryptedStorageService, EntityConversationService, EntityService, ErrorComponent, FIELDS_COUNTRY, FIELDS_ENTITY, FIELDS_ENTITY_CONVERSATION, FIELDS_ENTITY_CONVERSATION_EXPANDED, FIELDS_ENTITY_CONVERSATION_MINIMAL, FIELDS_ENTITY_EXPANDED, FIELDS_ENTITY_MINIMAL, FIELDS_ENTITY_TYPE, FIELDS_INTERACTION, FIELDS_INTERACTION_ATTENDEE, FIELDS_INTERACTION_ATTENDEE_EXPANDED, FIELDS_INTERACTION_ENDPOINT, FIELDS_INTERACTION_ENDPOINT_MINIMAL, FIELDS_INTERACTION_EXPANDED, FIELDS_INTERACTION_HOST, FIELDS_INTERACTION_INVITEE, FIELDS_INTERACTION_MESSAGE, FIELDS_INTERACTION_MESSAGE_ATTACHMENT, FIELDS_INTERACTION_MESSAGE_EXPANDED, FIELDS_INTERACTION_MESSAGE_TEMPLATE, FIELDS_INTERACTION_MINIMAL, FIELDS_INTERACTION_WIDGET, FIELDS_INTERACTION_WIDGET_USER_SETTING, FIELDS_LANGUAGE, FIELDS_PHONE_NUMBER, FIELDS_TEAM, FIELDS_TEAM_MEMBER, FIELDS_TENANT, FIELDS_TENANT_COMPLIANCE_DOCUMENT, FIELDS_TENANT_EXPANDED, FIELDS_TENANT_MINIMAL, FIELDS_TICKET, FIELDS_TICKET_PRIORITY, FIELDS_TICKET_STATUS, FIELDS_TICKET_TYPE, FIELDS_USER, FIELDS_USER_SESSION, FooterComponent, FormatEpochTimestampPipe, InteractionChannel, InteractionContext, InteractionDirection, InteractionEndpointService, InteractionMessageDirection, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig, sanitizeHtmlBody };
2622
- export type { AmplifyConfig, Country, CreateEntityConversationInput, CreateEntityInput, CreateInteractionAttendeeInput, CreateInteractionEndpointInput, CreateInteractionHostInput, CreateInteractionInput, CreateInteractionInviteeInput, CreateInteractionMessageAttachmentInput, CreateInteractionMessageInput, CreateTeamInput, CreateTeamMemberInput, CreateTenantComplianceDocumentInput, CreateTenantInput, CreateUserInput, Currency, EmailConversationFilters, EmailHeaders, EmailMessageMetadata, EncryptedStorageKeys, Entity, EntityContactPreferences, EntityConversation, EntityPreferences, EntityType, Interaction, InteractionAttendee, InteractionEndpoint, InteractionEndpointPriceDetails, InteractionEndpointRegulatoryComplianceDocument, InteractionHost, InteractionInvitee, InteractionMessage, InteractionMessageAttachment, InteractionMessageTemplate, InteractionRouteConfiguration, InteractionRouteConfigurationInput, InteractionWidget, InteractionWidgetUserSetting, Language, List, MailboxConfig, ModelBooleanInput, ModelEntityConditionInput, ModelEntityConversationConditionInput, ModelEntityConversationFilterInput, ModelEntityFilterInput, ModelEntityTypeConditionInput, ModelEntityTypeFilterInput, ModelIDInput, ModelIDKeyConditionInput, ModelIntInput, ModelIntKeyConditionInput, ModelInteractionAttendeeConditionInput, ModelInteractionAttendeeFilterInput, ModelInteractionChannelInput, ModelInteractionConditionInput, ModelInteractionContextInput, ModelInteractionDirectionInput, ModelInteractionEndpointConditionInput, ModelInteractionEndpointFilterInput, ModelInteractionFilterInput, ModelInteractionHostConditionInput, ModelInteractionHostFilterInput, ModelInteractionInviteeConditionInput, ModelInteractionInviteeFilterInput, ModelInteractionMessageAttachmentConditionInput, ModelInteractionMessageAttachmentFilterInput, ModelInteractionMessageConditionInput, ModelInteractionMessageDirectionInput, ModelInteractionMessageFilterInput, ModelInteractionProviderInput, ModelInteractionStatusInput, ModelInteractionWidgetConditionInput, ModelInteractionWidgetFilterInput, ModelInteractionWidgetUserSettingFilterInput, ModelProcessingStatusInput, ModelSizeInput, ModelStringInput, ModelStringKeyConditionInput, ModelTeamConditionInput, ModelTeamFilterInput, ModelTeamMemberConditionInput, ModelTeamMemberFilterInput, ModelTenantComplianceDocumentConditionInput, ModelTenantComplianceDocumentFilterInput, ModelTenantComplianceDocumentStatusInput, ModelTenantComplianceDocumentTypeInput, ModelTenantConditionInput, ModelTicketConditionInput, ModelTicketFilterInput, ModelTicketPriorityConditionInput, ModelTicketPriorityFilterInput, ModelTicketStatusConditionInput, ModelTicketStatusFilterInput, ModelTicketTypeConditionInput, ModelTicketTypeFilterInput, ModelUserConditionInput, ModelUserFilterInput, ModelUserSessionConditionInput, ModelUserSessionFilterInput, ModelUserStatusInput, ModelUserTypeInput, OAuthConfig, OpenSearchHit, OpenSearchResponse, PhoneNumber, S3Config, S3Credentials, S3Object, SubscriptionResponse, Team, TeamMember, Tenant, TenantBillingInformation, TenantComplianceDocument, TenantContactInformation, TenantPreferences, TenantSSOConfiguration, TenantSecurity, Ticket, TicketPriority, TicketStatus, TicketType, UpdateEntityConversationInput, UpdateEntityInput, UpdateInteractionAttendeeInput, UpdateInteractionEndpointInput, UpdateInteractionHostInput, UpdateInteractionInput, UpdateInteractionInviteeInput, UpdateTeamInput, UpdateTeamMemberInput, UpdateTenantComplianceDocumentInput, UpdateTenantInput, UpdateUserInput, UpdateUserSessionInput, User, UserNotificationSettings, UserPreferences, UserSession };
3084
+ 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, InteractionMessageTemplateService, InteractionProvider, InteractionRouteLogic, InteractionService, InteractionStatus, InteractionWidgetService, LoaderComponent, ModelAttributeTypes, ModelSortDirection, OpenSearchHelperService, ProcessingStatus, S3HelperService, SafeHtmlPipe, SearchInnerFieldPipe, SearchPipe, SingularizePipe, SnugdeskAuthenticationService, SnugdeskCoreModule, SnugdeskIPRegistryService, StorageType, TeamService, TenantComplianceDocumentStatus, TenantComplianceDocumentType, TenantSSOConfigurationProtocol, TenantService, TicketService, UserService, UserSessionService, UserStatus, UserType, provideAmplifyConfig, sanitizeHtmlBody };
3085
+ 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 };