@numen-crypto/contract 0.15.3 → 0.16.0

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/dist/index.d.ts CHANGED
@@ -74,6 +74,10 @@ declare const ERROR_CODE: {
74
74
  readonly LINK_PROVIDER_DISABLED: "LINK_PROVIDER_DISABLED";
75
75
  readonly LINK_VERIFICATION_FAILED: "LINK_VERIFICATION_FAILED";
76
76
  readonly LINK_ALREADY_USED: "LINK_ALREADY_USED";
77
+ readonly TICKET_ALREADY_ASSIGNED: "TICKET_ALREADY_ASSIGNED";
78
+ readonly TICKET_NOT_ASSIGNEE: "TICKET_NOT_ASSIGNEE";
79
+ readonly TICKET_CLOSED: "TICKET_CLOSED";
80
+ readonly SUPPORT_ROLE_REQUIRED: "SUPPORT_ROLE_REQUIRED";
77
81
  };
78
82
  type ErrorCode = (typeof ERROR_CODE)[keyof typeof ERROR_CODE];
79
83
 
@@ -139,9 +143,12 @@ declare function PaginatedSchema<T extends z.ZodTypeAny>(item: T): z.ZodObject<{
139
143
 
140
144
  declare const UserStatusSchema: z.ZodEnum<["pending", "active", "suspended", "deleted"]>;
141
145
  type UserStatus = z.infer<typeof UserStatusSchema>;
146
+ declare const UserRoleSchema: z.ZodEnum<["user", "support"]>;
147
+ type UserRole = z.infer<typeof UserRoleSchema>;
142
148
  declare const UserProfileSchema: z.ZodObject<{
143
149
  id: z.ZodString;
144
150
  email: z.ZodString;
151
+ role: z.ZodEnum<["user", "support"]>;
145
152
  displayName: z.ZodNullable<z.ZodString>;
146
153
  avatarUrl: z.ZodNullable<z.ZodString>;
147
154
  referrerId: z.ZodNullable<z.ZodString>;
@@ -153,6 +160,7 @@ declare const UserProfileSchema: z.ZodObject<{
153
160
  status: "pending" | "active" | "suspended" | "deleted";
154
161
  id: string;
155
162
  email: string;
163
+ role: "user" | "support";
156
164
  displayName: string | null;
157
165
  avatarUrl: string | null;
158
166
  referrerId: string | null;
@@ -163,6 +171,7 @@ declare const UserProfileSchema: z.ZodObject<{
163
171
  status: "pending" | "active" | "suspended" | "deleted";
164
172
  id: string;
165
173
  email: string;
174
+ role: "user" | "support";
166
175
  displayName: string | null;
167
176
  avatarUrl: string | null;
168
177
  referrerId: string | null;
@@ -1596,6 +1605,7 @@ declare namespace LoginCommand {
1596
1605
  user: z.ZodObject<{
1597
1606
  id: z.ZodString;
1598
1607
  email: z.ZodString;
1608
+ role: z.ZodEnum<["user", "support"]>;
1599
1609
  displayName: z.ZodNullable<z.ZodString>;
1600
1610
  avatarUrl: z.ZodNullable<z.ZodString>;
1601
1611
  referrerId: z.ZodNullable<z.ZodString>;
@@ -1607,6 +1617,7 @@ declare namespace LoginCommand {
1607
1617
  status: "pending" | "active" | "suspended" | "deleted";
1608
1618
  id: string;
1609
1619
  email: string;
1620
+ role: "user" | "support";
1610
1621
  displayName: string | null;
1611
1622
  avatarUrl: string | null;
1612
1623
  referrerId: string | null;
@@ -1617,6 +1628,7 @@ declare namespace LoginCommand {
1617
1628
  status: "pending" | "active" | "suspended" | "deleted";
1618
1629
  id: string;
1619
1630
  email: string;
1631
+ role: "user" | "support";
1620
1632
  displayName: string | null;
1621
1633
  avatarUrl: string | null;
1622
1634
  referrerId: string | null;
@@ -1629,6 +1641,7 @@ declare namespace LoginCommand {
1629
1641
  status: "pending" | "active" | "suspended" | "deleted";
1630
1642
  id: string;
1631
1643
  email: string;
1644
+ role: "user" | "support";
1632
1645
  displayName: string | null;
1633
1646
  avatarUrl: string | null;
1634
1647
  referrerId: string | null;
@@ -1641,6 +1654,7 @@ declare namespace LoginCommand {
1641
1654
  status: "pending" | "active" | "suspended" | "deleted";
1642
1655
  id: string;
1643
1656
  email: string;
1657
+ role: "user" | "support";
1644
1658
  displayName: string | null;
1645
1659
  avatarUrl: string | null;
1646
1660
  referrerId: string | null;
@@ -1672,6 +1686,7 @@ declare namespace MeCommand {
1672
1686
  user: z.ZodObject<{
1673
1687
  id: z.ZodString;
1674
1688
  email: z.ZodString;
1689
+ role: z.ZodEnum<["user", "support"]>;
1675
1690
  displayName: z.ZodNullable<z.ZodString>;
1676
1691
  avatarUrl: z.ZodNullable<z.ZodString>;
1677
1692
  referrerId: z.ZodNullable<z.ZodString>;
@@ -1683,6 +1698,7 @@ declare namespace MeCommand {
1683
1698
  status: "pending" | "active" | "suspended" | "deleted";
1684
1699
  id: string;
1685
1700
  email: string;
1701
+ role: "user" | "support";
1686
1702
  displayName: string | null;
1687
1703
  avatarUrl: string | null;
1688
1704
  referrerId: string | null;
@@ -1693,6 +1709,7 @@ declare namespace MeCommand {
1693
1709
  status: "pending" | "active" | "suspended" | "deleted";
1694
1710
  id: string;
1695
1711
  email: string;
1712
+ role: "user" | "support";
1696
1713
  displayName: string | null;
1697
1714
  avatarUrl: string | null;
1698
1715
  referrerId: string | null;
@@ -1705,6 +1722,7 @@ declare namespace MeCommand {
1705
1722
  status: "pending" | "active" | "suspended" | "deleted";
1706
1723
  id: string;
1707
1724
  email: string;
1725
+ role: "user" | "support";
1708
1726
  displayName: string | null;
1709
1727
  avatarUrl: string | null;
1710
1728
  referrerId: string | null;
@@ -1717,6 +1735,7 @@ declare namespace MeCommand {
1717
1735
  status: "pending" | "active" | "suspended" | "deleted";
1718
1736
  id: string;
1719
1737
  email: string;
1738
+ role: "user" | "support";
1720
1739
  displayName: string | null;
1721
1740
  avatarUrl: string | null;
1722
1741
  referrerId: string | null;
@@ -3432,6 +3451,7 @@ declare namespace UpdateProfileCommand {
3432
3451
  const ResponseSchema: z.ZodObject<{
3433
3452
  id: z.ZodString;
3434
3453
  email: z.ZodString;
3454
+ role: z.ZodEnum<["user", "support"]>;
3435
3455
  displayName: z.ZodNullable<z.ZodString>;
3436
3456
  avatarUrl: z.ZodNullable<z.ZodString>;
3437
3457
  referrerId: z.ZodNullable<z.ZodString>;
@@ -3443,6 +3463,7 @@ declare namespace UpdateProfileCommand {
3443
3463
  status: "pending" | "active" | "suspended" | "deleted";
3444
3464
  id: string;
3445
3465
  email: string;
3466
+ role: "user" | "support";
3446
3467
  displayName: string | null;
3447
3468
  avatarUrl: string | null;
3448
3469
  referrerId: string | null;
@@ -3453,6 +3474,7 @@ declare namespace UpdateProfileCommand {
3453
3474
  status: "pending" | "active" | "suspended" | "deleted";
3454
3475
  id: string;
3455
3476
  email: string;
3477
+ role: "user" | "support";
3456
3478
  displayName: string | null;
3457
3479
  avatarUrl: string | null;
3458
3480
  referrerId: string | null;
@@ -4575,9 +4597,9 @@ declare namespace UnlinkAccountCommand {
4575
4597
  declare const TICKET_CATEGORIES: readonly ["account", "deposit", "withdrawal", "trading", "partners", "other"];
4576
4598
  declare const TicketCategorySchema: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4577
4599
  type TicketCategory = z.infer<typeof TicketCategorySchema>;
4578
- declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4600
+ declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4579
4601
  type TicketStatus = z.infer<typeof TicketStatusSchema>;
4580
- declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support"]>;
4602
+ declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support", "system"]>;
4581
4603
  type TicketAuthorType = z.infer<typeof TicketAuthorTypeSchema>;
4582
4604
  declare const TicketBodySchema: z.ZodString;
4583
4605
  declare const TicketAttachmentSchema: z.ZodObject<{
@@ -4602,7 +4624,7 @@ declare const TicketAttachmentSchema: z.ZodObject<{
4602
4624
  type TicketAttachment = z.infer<typeof TicketAttachmentSchema>;
4603
4625
  declare const TicketMessageSchema: z.ZodObject<{
4604
4626
  id: z.ZodString;
4605
- authorType: z.ZodEnum<["user", "support"]>;
4627
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4606
4628
  body: z.ZodString;
4607
4629
  attachments: z.ZodArray<z.ZodObject<{
4608
4630
  id: z.ZodString;
@@ -4628,7 +4650,7 @@ declare const TicketMessageSchema: z.ZodObject<{
4628
4650
  id: string;
4629
4651
  createdAt: string;
4630
4652
  body: string;
4631
- authorType: "user" | "support";
4653
+ authorType: "user" | "support" | "system";
4632
4654
  attachments: {
4633
4655
  id: string;
4634
4656
  contentType: string;
@@ -4640,7 +4662,7 @@ declare const TicketMessageSchema: z.ZodObject<{
4640
4662
  id: string;
4641
4663
  createdAt: string;
4642
4664
  body: string;
4643
- authorType: "user" | "support";
4665
+ authorType: "user" | "support" | "system";
4644
4666
  attachments: {
4645
4667
  id: string;
4646
4668
  contentType: string;
@@ -4654,18 +4676,18 @@ declare const TicketSummarySchema: z.ZodObject<{
4654
4676
  id: z.ZodString;
4655
4677
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4656
4678
  title: z.ZodString;
4657
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4679
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4658
4680
  lastMessageAt: z.ZodString;
4659
4681
  createdAt: z.ZodString;
4660
4682
  }, "strip", z.ZodTypeAny, {
4661
- status: "pending" | "open" | "answered" | "resolved";
4683
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4662
4684
  id: string;
4663
4685
  createdAt: string;
4664
4686
  title: string;
4665
4687
  category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4666
4688
  lastMessageAt: string;
4667
4689
  }, {
4668
- status: "pending" | "open" | "answered" | "resolved";
4690
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4669
4691
  id: string;
4670
4692
  createdAt: string;
4671
4693
  title: string;
@@ -4677,13 +4699,13 @@ declare const TicketDetailSchema: z.ZodObject<{
4677
4699
  id: z.ZodString;
4678
4700
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4679
4701
  title: z.ZodString;
4680
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4702
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4681
4703
  lastMessageAt: z.ZodString;
4682
4704
  createdAt: z.ZodString;
4683
4705
  } & {
4684
4706
  messages: z.ZodArray<z.ZodObject<{
4685
4707
  id: z.ZodString;
4686
- authorType: z.ZodEnum<["user", "support"]>;
4708
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4687
4709
  body: z.ZodString;
4688
4710
  attachments: z.ZodArray<z.ZodObject<{
4689
4711
  id: z.ZodString;
@@ -4709,7 +4731,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4709
4731
  id: string;
4710
4732
  createdAt: string;
4711
4733
  body: string;
4712
- authorType: "user" | "support";
4734
+ authorType: "user" | "support" | "system";
4713
4735
  attachments: {
4714
4736
  id: string;
4715
4737
  contentType: string;
@@ -4721,7 +4743,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4721
4743
  id: string;
4722
4744
  createdAt: string;
4723
4745
  body: string;
4724
- authorType: "user" | "support";
4746
+ authorType: "user" | "support" | "system";
4725
4747
  attachments: {
4726
4748
  id: string;
4727
4749
  contentType: string;
@@ -4731,7 +4753,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4731
4753
  }[];
4732
4754
  }>, "many">;
4733
4755
  }, "strip", z.ZodTypeAny, {
4734
- status: "pending" | "open" | "answered" | "resolved";
4756
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4735
4757
  id: string;
4736
4758
  createdAt: string;
4737
4759
  title: string;
@@ -4741,7 +4763,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4741
4763
  id: string;
4742
4764
  createdAt: string;
4743
4765
  body: string;
4744
- authorType: "user" | "support";
4766
+ authorType: "user" | "support" | "system";
4745
4767
  attachments: {
4746
4768
  id: string;
4747
4769
  contentType: string;
@@ -4751,7 +4773,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4751
4773
  }[];
4752
4774
  }[];
4753
4775
  }, {
4754
- status: "pending" | "open" | "answered" | "resolved";
4776
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4755
4777
  id: string;
4756
4778
  createdAt: string;
4757
4779
  title: string;
@@ -4761,7 +4783,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4761
4783
  id: string;
4762
4784
  createdAt: string;
4763
4785
  body: string;
4764
- authorType: "user" | "support";
4786
+ authorType: "user" | "support" | "system";
4765
4787
  attachments: {
4766
4788
  id: string;
4767
4789
  contentType: string;
@@ -4789,6 +4811,961 @@ declare const TicketAttachmentInputSchema: z.ZodObject<{
4789
4811
  fileKey: string;
4790
4812
  }>;
4791
4813
  type TicketAttachmentInput = z.infer<typeof TicketAttachmentInputSchema>;
4814
+ declare const SupportTicketScopeSchema: z.ZodEnum<["pool", "mine", "closed"]>;
4815
+ type SupportTicketScope = z.infer<typeof SupportTicketScopeSchema>;
4816
+ declare const SupportTicketSummarySchema: z.ZodObject<{
4817
+ id: z.ZodString;
4818
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4819
+ title: z.ZodString;
4820
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4821
+ lastMessageAt: z.ZodString;
4822
+ createdAt: z.ZodString;
4823
+ } & {
4824
+ userEmail: z.ZodString;
4825
+ assignedTo: z.ZodNullable<z.ZodString>;
4826
+ assignedEmail: z.ZodNullable<z.ZodString>;
4827
+ }, "strip", z.ZodTypeAny, {
4828
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4829
+ id: string;
4830
+ createdAt: string;
4831
+ title: string;
4832
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4833
+ lastMessageAt: string;
4834
+ userEmail: string;
4835
+ assignedTo: string | null;
4836
+ assignedEmail: string | null;
4837
+ }, {
4838
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4839
+ id: string;
4840
+ createdAt: string;
4841
+ title: string;
4842
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4843
+ lastMessageAt: string;
4844
+ userEmail: string;
4845
+ assignedTo: string | null;
4846
+ assignedEmail: string | null;
4847
+ }>;
4848
+ type SupportTicketSummary = z.infer<typeof SupportTicketSummarySchema>;
4849
+ declare const SupportTicketUserSchema: z.ZodObject<{
4850
+ id: z.ZodString;
4851
+ email: z.ZodString;
4852
+ displayName: z.ZodNullable<z.ZodString>;
4853
+ memberSince: z.ZodString;
4854
+ rankName: z.ZodNullable<z.ZodString>;
4855
+ packageTier: z.ZodNullable<z.ZodNumber>;
4856
+ ticketsTotal: z.ZodNumber;
4857
+ }, "strip", z.ZodTypeAny, {
4858
+ id: string;
4859
+ email: string;
4860
+ displayName: string | null;
4861
+ memberSince: string;
4862
+ rankName: string | null;
4863
+ packageTier: number | null;
4864
+ ticketsTotal: number;
4865
+ }, {
4866
+ id: string;
4867
+ email: string;
4868
+ displayName: string | null;
4869
+ memberSince: string;
4870
+ rankName: string | null;
4871
+ packageTier: number | null;
4872
+ ticketsTotal: number;
4873
+ }>;
4874
+ type SupportTicketUser = z.infer<typeof SupportTicketUserSchema>;
4875
+ declare const SupportTicketDetailSchema: z.ZodObject<{
4876
+ id: z.ZodString;
4877
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4878
+ title: z.ZodString;
4879
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4880
+ lastMessageAt: z.ZodString;
4881
+ createdAt: z.ZodString;
4882
+ } & {
4883
+ messages: z.ZodArray<z.ZodObject<{
4884
+ id: z.ZodString;
4885
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4886
+ body: z.ZodString;
4887
+ attachments: z.ZodArray<z.ZodObject<{
4888
+ id: z.ZodString;
4889
+ fileName: z.ZodString;
4890
+ contentType: z.ZodString;
4891
+ sizeBytes: z.ZodNumber;
4892
+ url: z.ZodString;
4893
+ }, "strip", z.ZodTypeAny, {
4894
+ id: string;
4895
+ contentType: string;
4896
+ fileName: string;
4897
+ sizeBytes: number;
4898
+ url: string;
4899
+ }, {
4900
+ id: string;
4901
+ contentType: string;
4902
+ fileName: string;
4903
+ sizeBytes: number;
4904
+ url: string;
4905
+ }>, "many">;
4906
+ createdAt: z.ZodString;
4907
+ }, "strip", z.ZodTypeAny, {
4908
+ id: string;
4909
+ createdAt: string;
4910
+ body: string;
4911
+ authorType: "user" | "support" | "system";
4912
+ attachments: {
4913
+ id: string;
4914
+ contentType: string;
4915
+ fileName: string;
4916
+ sizeBytes: number;
4917
+ url: string;
4918
+ }[];
4919
+ }, {
4920
+ id: string;
4921
+ createdAt: string;
4922
+ body: string;
4923
+ authorType: "user" | "support" | "system";
4924
+ attachments: {
4925
+ id: string;
4926
+ contentType: string;
4927
+ fileName: string;
4928
+ sizeBytes: number;
4929
+ url: string;
4930
+ }[];
4931
+ }>, "many">;
4932
+ } & {
4933
+ userEmail: z.ZodString;
4934
+ assignedTo: z.ZodNullable<z.ZodString>;
4935
+ assignedEmail: z.ZodNullable<z.ZodString>;
4936
+ user: z.ZodObject<{
4937
+ id: z.ZodString;
4938
+ email: z.ZodString;
4939
+ displayName: z.ZodNullable<z.ZodString>;
4940
+ memberSince: z.ZodString;
4941
+ rankName: z.ZodNullable<z.ZodString>;
4942
+ packageTier: z.ZodNullable<z.ZodNumber>;
4943
+ ticketsTotal: z.ZodNumber;
4944
+ }, "strip", z.ZodTypeAny, {
4945
+ id: string;
4946
+ email: string;
4947
+ displayName: string | null;
4948
+ memberSince: string;
4949
+ rankName: string | null;
4950
+ packageTier: number | null;
4951
+ ticketsTotal: number;
4952
+ }, {
4953
+ id: string;
4954
+ email: string;
4955
+ displayName: string | null;
4956
+ memberSince: string;
4957
+ rankName: string | null;
4958
+ packageTier: number | null;
4959
+ ticketsTotal: number;
4960
+ }>;
4961
+ }, "strip", z.ZodTypeAny, {
4962
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4963
+ user: {
4964
+ id: string;
4965
+ email: string;
4966
+ displayName: string | null;
4967
+ memberSince: string;
4968
+ rankName: string | null;
4969
+ packageTier: number | null;
4970
+ ticketsTotal: number;
4971
+ };
4972
+ id: string;
4973
+ createdAt: string;
4974
+ title: string;
4975
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4976
+ lastMessageAt: string;
4977
+ messages: {
4978
+ id: string;
4979
+ createdAt: string;
4980
+ body: string;
4981
+ authorType: "user" | "support" | "system";
4982
+ attachments: {
4983
+ id: string;
4984
+ contentType: string;
4985
+ fileName: string;
4986
+ sizeBytes: number;
4987
+ url: string;
4988
+ }[];
4989
+ }[];
4990
+ userEmail: string;
4991
+ assignedTo: string | null;
4992
+ assignedEmail: string | null;
4993
+ }, {
4994
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4995
+ user: {
4996
+ id: string;
4997
+ email: string;
4998
+ displayName: string | null;
4999
+ memberSince: string;
5000
+ rankName: string | null;
5001
+ packageTier: number | null;
5002
+ ticketsTotal: number;
5003
+ };
5004
+ id: string;
5005
+ createdAt: string;
5006
+ title: string;
5007
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5008
+ lastMessageAt: string;
5009
+ messages: {
5010
+ id: string;
5011
+ createdAt: string;
5012
+ body: string;
5013
+ authorType: "user" | "support" | "system";
5014
+ attachments: {
5015
+ id: string;
5016
+ contentType: string;
5017
+ fileName: string;
5018
+ sizeBytes: number;
5019
+ url: string;
5020
+ }[];
5021
+ }[];
5022
+ userEmail: string;
5023
+ assignedTo: string | null;
5024
+ assignedEmail: string | null;
5025
+ }>;
5026
+ type SupportTicketDetail = z.infer<typeof SupportTicketDetailSchema>;
5027
+
5028
+ declare namespace ListSupportTicketsCommand {
5029
+ const endpointDetails: EndpointDetails;
5030
+ const QuerySchema: z.ZodObject<{
5031
+ scope: z.ZodDefault<z.ZodEnum<["pool", "mine", "closed"]>>;
5032
+ page: z.ZodDefault<z.ZodNumber>;
5033
+ pageSize: z.ZodDefault<z.ZodNumber>;
5034
+ }, "strip", z.ZodTypeAny, {
5035
+ page: number;
5036
+ pageSize: number;
5037
+ scope: "closed" | "pool" | "mine";
5038
+ }, {
5039
+ page?: number | undefined;
5040
+ pageSize?: number | undefined;
5041
+ scope?: "closed" | "pool" | "mine" | undefined;
5042
+ }>;
5043
+ type Query = z.infer<typeof QuerySchema>;
5044
+ const ResponseSchema: z.ZodObject<{
5045
+ items: z.ZodArray<z.ZodObject<{
5046
+ id: z.ZodString;
5047
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5048
+ title: z.ZodString;
5049
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5050
+ lastMessageAt: z.ZodString;
5051
+ createdAt: z.ZodString;
5052
+ } & {
5053
+ userEmail: z.ZodString;
5054
+ assignedTo: z.ZodNullable<z.ZodString>;
5055
+ assignedEmail: z.ZodNullable<z.ZodString>;
5056
+ }, "strip", z.ZodTypeAny, {
5057
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5058
+ id: string;
5059
+ createdAt: string;
5060
+ title: string;
5061
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5062
+ lastMessageAt: string;
5063
+ userEmail: string;
5064
+ assignedTo: string | null;
5065
+ assignedEmail: string | null;
5066
+ }, {
5067
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5068
+ id: string;
5069
+ createdAt: string;
5070
+ title: string;
5071
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5072
+ lastMessageAt: string;
5073
+ userEmail: string;
5074
+ assignedTo: string | null;
5075
+ assignedEmail: string | null;
5076
+ }>, "many">;
5077
+ total: z.ZodNumber;
5078
+ poolCount: z.ZodNumber;
5079
+ mineCount: z.ZodNumber;
5080
+ }, "strip", z.ZodTypeAny, {
5081
+ items: {
5082
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5083
+ id: string;
5084
+ createdAt: string;
5085
+ title: string;
5086
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5087
+ lastMessageAt: string;
5088
+ userEmail: string;
5089
+ assignedTo: string | null;
5090
+ assignedEmail: string | null;
5091
+ }[];
5092
+ total: number;
5093
+ poolCount: number;
5094
+ mineCount: number;
5095
+ }, {
5096
+ items: {
5097
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5098
+ id: string;
5099
+ createdAt: string;
5100
+ title: string;
5101
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5102
+ lastMessageAt: string;
5103
+ userEmail: string;
5104
+ assignedTo: string | null;
5105
+ assignedEmail: string | null;
5106
+ }[];
5107
+ total: number;
5108
+ poolCount: number;
5109
+ mineCount: number;
5110
+ }>;
5111
+ type Response = z.infer<typeof ResponseSchema>;
5112
+ }
5113
+ declare namespace GetSupportTicketCommand {
5114
+ const endpointDetails: EndpointDetails;
5115
+ const ResponseSchema: z.ZodObject<{
5116
+ id: z.ZodString;
5117
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5118
+ title: z.ZodString;
5119
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5120
+ lastMessageAt: z.ZodString;
5121
+ createdAt: z.ZodString;
5122
+ } & {
5123
+ messages: z.ZodArray<z.ZodObject<{
5124
+ id: z.ZodString;
5125
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5126
+ body: z.ZodString;
5127
+ attachments: z.ZodArray<z.ZodObject<{
5128
+ id: z.ZodString;
5129
+ fileName: z.ZodString;
5130
+ contentType: z.ZodString;
5131
+ sizeBytes: z.ZodNumber;
5132
+ url: z.ZodString;
5133
+ }, "strip", z.ZodTypeAny, {
5134
+ id: string;
5135
+ contentType: string;
5136
+ fileName: string;
5137
+ sizeBytes: number;
5138
+ url: string;
5139
+ }, {
5140
+ id: string;
5141
+ contentType: string;
5142
+ fileName: string;
5143
+ sizeBytes: number;
5144
+ url: string;
5145
+ }>, "many">;
5146
+ createdAt: z.ZodString;
5147
+ }, "strip", z.ZodTypeAny, {
5148
+ id: string;
5149
+ createdAt: string;
5150
+ body: string;
5151
+ authorType: "user" | "support" | "system";
5152
+ attachments: {
5153
+ id: string;
5154
+ contentType: string;
5155
+ fileName: string;
5156
+ sizeBytes: number;
5157
+ url: string;
5158
+ }[];
5159
+ }, {
5160
+ id: string;
5161
+ createdAt: string;
5162
+ body: string;
5163
+ authorType: "user" | "support" | "system";
5164
+ attachments: {
5165
+ id: string;
5166
+ contentType: string;
5167
+ fileName: string;
5168
+ sizeBytes: number;
5169
+ url: string;
5170
+ }[];
5171
+ }>, "many">;
5172
+ } & {
5173
+ userEmail: z.ZodString;
5174
+ assignedTo: z.ZodNullable<z.ZodString>;
5175
+ assignedEmail: z.ZodNullable<z.ZodString>;
5176
+ user: z.ZodObject<{
5177
+ id: z.ZodString;
5178
+ email: z.ZodString;
5179
+ displayName: z.ZodNullable<z.ZodString>;
5180
+ memberSince: z.ZodString;
5181
+ rankName: z.ZodNullable<z.ZodString>;
5182
+ packageTier: z.ZodNullable<z.ZodNumber>;
5183
+ ticketsTotal: z.ZodNumber;
5184
+ }, "strip", z.ZodTypeAny, {
5185
+ id: string;
5186
+ email: string;
5187
+ displayName: string | null;
5188
+ memberSince: string;
5189
+ rankName: string | null;
5190
+ packageTier: number | null;
5191
+ ticketsTotal: number;
5192
+ }, {
5193
+ id: string;
5194
+ email: string;
5195
+ displayName: string | null;
5196
+ memberSince: string;
5197
+ rankName: string | null;
5198
+ packageTier: number | null;
5199
+ ticketsTotal: number;
5200
+ }>;
5201
+ }, "strip", z.ZodTypeAny, {
5202
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5203
+ user: {
5204
+ id: string;
5205
+ email: string;
5206
+ displayName: string | null;
5207
+ memberSince: string;
5208
+ rankName: string | null;
5209
+ packageTier: number | null;
5210
+ ticketsTotal: number;
5211
+ };
5212
+ id: string;
5213
+ createdAt: string;
5214
+ title: string;
5215
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5216
+ lastMessageAt: string;
5217
+ messages: {
5218
+ id: string;
5219
+ createdAt: string;
5220
+ body: string;
5221
+ authorType: "user" | "support" | "system";
5222
+ attachments: {
5223
+ id: string;
5224
+ contentType: string;
5225
+ fileName: string;
5226
+ sizeBytes: number;
5227
+ url: string;
5228
+ }[];
5229
+ }[];
5230
+ userEmail: string;
5231
+ assignedTo: string | null;
5232
+ assignedEmail: string | null;
5233
+ }, {
5234
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5235
+ user: {
5236
+ id: string;
5237
+ email: string;
5238
+ displayName: string | null;
5239
+ memberSince: string;
5240
+ rankName: string | null;
5241
+ packageTier: number | null;
5242
+ ticketsTotal: number;
5243
+ };
5244
+ id: string;
5245
+ createdAt: string;
5246
+ title: string;
5247
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5248
+ lastMessageAt: string;
5249
+ messages: {
5250
+ id: string;
5251
+ createdAt: string;
5252
+ body: string;
5253
+ authorType: "user" | "support" | "system";
5254
+ attachments: {
5255
+ id: string;
5256
+ contentType: string;
5257
+ fileName: string;
5258
+ sizeBytes: number;
5259
+ url: string;
5260
+ }[];
5261
+ }[];
5262
+ userEmail: string;
5263
+ assignedTo: string | null;
5264
+ assignedEmail: string | null;
5265
+ }>;
5266
+ type Response = z.infer<typeof ResponseSchema>;
5267
+ }
5268
+ declare namespace ClaimTicketCommand {
5269
+ const endpointDetails: EndpointDetails;
5270
+ const ResponseSchema: z.ZodObject<{
5271
+ id: z.ZodString;
5272
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5273
+ title: z.ZodString;
5274
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5275
+ lastMessageAt: z.ZodString;
5276
+ createdAt: z.ZodString;
5277
+ } & {
5278
+ messages: z.ZodArray<z.ZodObject<{
5279
+ id: z.ZodString;
5280
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5281
+ body: z.ZodString;
5282
+ attachments: z.ZodArray<z.ZodObject<{
5283
+ id: z.ZodString;
5284
+ fileName: z.ZodString;
5285
+ contentType: z.ZodString;
5286
+ sizeBytes: z.ZodNumber;
5287
+ url: z.ZodString;
5288
+ }, "strip", z.ZodTypeAny, {
5289
+ id: string;
5290
+ contentType: string;
5291
+ fileName: string;
5292
+ sizeBytes: number;
5293
+ url: string;
5294
+ }, {
5295
+ id: string;
5296
+ contentType: string;
5297
+ fileName: string;
5298
+ sizeBytes: number;
5299
+ url: string;
5300
+ }>, "many">;
5301
+ createdAt: z.ZodString;
5302
+ }, "strip", z.ZodTypeAny, {
5303
+ id: string;
5304
+ createdAt: string;
5305
+ body: string;
5306
+ authorType: "user" | "support" | "system";
5307
+ attachments: {
5308
+ id: string;
5309
+ contentType: string;
5310
+ fileName: string;
5311
+ sizeBytes: number;
5312
+ url: string;
5313
+ }[];
5314
+ }, {
5315
+ id: string;
5316
+ createdAt: string;
5317
+ body: string;
5318
+ authorType: "user" | "support" | "system";
5319
+ attachments: {
5320
+ id: string;
5321
+ contentType: string;
5322
+ fileName: string;
5323
+ sizeBytes: number;
5324
+ url: string;
5325
+ }[];
5326
+ }>, "many">;
5327
+ } & {
5328
+ userEmail: z.ZodString;
5329
+ assignedTo: z.ZodNullable<z.ZodString>;
5330
+ assignedEmail: z.ZodNullable<z.ZodString>;
5331
+ user: z.ZodObject<{
5332
+ id: z.ZodString;
5333
+ email: z.ZodString;
5334
+ displayName: z.ZodNullable<z.ZodString>;
5335
+ memberSince: z.ZodString;
5336
+ rankName: z.ZodNullable<z.ZodString>;
5337
+ packageTier: z.ZodNullable<z.ZodNumber>;
5338
+ ticketsTotal: z.ZodNumber;
5339
+ }, "strip", z.ZodTypeAny, {
5340
+ id: string;
5341
+ email: string;
5342
+ displayName: string | null;
5343
+ memberSince: string;
5344
+ rankName: string | null;
5345
+ packageTier: number | null;
5346
+ ticketsTotal: number;
5347
+ }, {
5348
+ id: string;
5349
+ email: string;
5350
+ displayName: string | null;
5351
+ memberSince: string;
5352
+ rankName: string | null;
5353
+ packageTier: number | null;
5354
+ ticketsTotal: number;
5355
+ }>;
5356
+ }, "strip", z.ZodTypeAny, {
5357
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5358
+ user: {
5359
+ id: string;
5360
+ email: string;
5361
+ displayName: string | null;
5362
+ memberSince: string;
5363
+ rankName: string | null;
5364
+ packageTier: number | null;
5365
+ ticketsTotal: number;
5366
+ };
5367
+ id: string;
5368
+ createdAt: string;
5369
+ title: string;
5370
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5371
+ lastMessageAt: string;
5372
+ messages: {
5373
+ id: string;
5374
+ createdAt: string;
5375
+ body: string;
5376
+ authorType: "user" | "support" | "system";
5377
+ attachments: {
5378
+ id: string;
5379
+ contentType: string;
5380
+ fileName: string;
5381
+ sizeBytes: number;
5382
+ url: string;
5383
+ }[];
5384
+ }[];
5385
+ userEmail: string;
5386
+ assignedTo: string | null;
5387
+ assignedEmail: string | null;
5388
+ }, {
5389
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5390
+ user: {
5391
+ id: string;
5392
+ email: string;
5393
+ displayName: string | null;
5394
+ memberSince: string;
5395
+ rankName: string | null;
5396
+ packageTier: number | null;
5397
+ ticketsTotal: number;
5398
+ };
5399
+ id: string;
5400
+ createdAt: string;
5401
+ title: string;
5402
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5403
+ lastMessageAt: string;
5404
+ messages: {
5405
+ id: string;
5406
+ createdAt: string;
5407
+ body: string;
5408
+ authorType: "user" | "support" | "system";
5409
+ attachments: {
5410
+ id: string;
5411
+ contentType: string;
5412
+ fileName: string;
5413
+ sizeBytes: number;
5414
+ url: string;
5415
+ }[];
5416
+ }[];
5417
+ userEmail: string;
5418
+ assignedTo: string | null;
5419
+ assignedEmail: string | null;
5420
+ }>;
5421
+ type Response = z.infer<typeof ResponseSchema>;
5422
+ }
5423
+ declare namespace SupportReplyTicketCommand {
5424
+ const endpointDetails: EndpointDetails;
5425
+ const RequestSchema: z.ZodObject<{
5426
+ body: z.ZodString;
5427
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
5428
+ fileKey: z.ZodString;
5429
+ fileName: z.ZodString;
5430
+ contentType: z.ZodString;
5431
+ sizeBytes: z.ZodNumber;
5432
+ }, "strip", z.ZodTypeAny, {
5433
+ contentType: string;
5434
+ fileName: string;
5435
+ sizeBytes: number;
5436
+ fileKey: string;
5437
+ }, {
5438
+ contentType: string;
5439
+ fileName: string;
5440
+ sizeBytes: number;
5441
+ fileKey: string;
5442
+ }>, "many">>;
5443
+ }, "strip", z.ZodTypeAny, {
5444
+ body: string;
5445
+ attachments?: {
5446
+ contentType: string;
5447
+ fileName: string;
5448
+ sizeBytes: number;
5449
+ fileKey: string;
5450
+ }[] | undefined;
5451
+ }, {
5452
+ body: string;
5453
+ attachments?: {
5454
+ contentType: string;
5455
+ fileName: string;
5456
+ sizeBytes: number;
5457
+ fileKey: string;
5458
+ }[] | undefined;
5459
+ }>;
5460
+ type Request = z.infer<typeof RequestSchema>;
5461
+ const ResponseSchema: z.ZodObject<{
5462
+ id: z.ZodString;
5463
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5464
+ title: z.ZodString;
5465
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5466
+ lastMessageAt: z.ZodString;
5467
+ createdAt: z.ZodString;
5468
+ } & {
5469
+ messages: z.ZodArray<z.ZodObject<{
5470
+ id: z.ZodString;
5471
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5472
+ body: z.ZodString;
5473
+ attachments: z.ZodArray<z.ZodObject<{
5474
+ id: z.ZodString;
5475
+ fileName: z.ZodString;
5476
+ contentType: z.ZodString;
5477
+ sizeBytes: z.ZodNumber;
5478
+ url: z.ZodString;
5479
+ }, "strip", z.ZodTypeAny, {
5480
+ id: string;
5481
+ contentType: string;
5482
+ fileName: string;
5483
+ sizeBytes: number;
5484
+ url: string;
5485
+ }, {
5486
+ id: string;
5487
+ contentType: string;
5488
+ fileName: string;
5489
+ sizeBytes: number;
5490
+ url: string;
5491
+ }>, "many">;
5492
+ createdAt: z.ZodString;
5493
+ }, "strip", z.ZodTypeAny, {
5494
+ id: string;
5495
+ createdAt: string;
5496
+ body: string;
5497
+ authorType: "user" | "support" | "system";
5498
+ attachments: {
5499
+ id: string;
5500
+ contentType: string;
5501
+ fileName: string;
5502
+ sizeBytes: number;
5503
+ url: string;
5504
+ }[];
5505
+ }, {
5506
+ id: string;
5507
+ createdAt: string;
5508
+ body: string;
5509
+ authorType: "user" | "support" | "system";
5510
+ attachments: {
5511
+ id: string;
5512
+ contentType: string;
5513
+ fileName: string;
5514
+ sizeBytes: number;
5515
+ url: string;
5516
+ }[];
5517
+ }>, "many">;
5518
+ } & {
5519
+ userEmail: z.ZodString;
5520
+ assignedTo: z.ZodNullable<z.ZodString>;
5521
+ assignedEmail: z.ZodNullable<z.ZodString>;
5522
+ user: z.ZodObject<{
5523
+ id: z.ZodString;
5524
+ email: z.ZodString;
5525
+ displayName: z.ZodNullable<z.ZodString>;
5526
+ memberSince: z.ZodString;
5527
+ rankName: z.ZodNullable<z.ZodString>;
5528
+ packageTier: z.ZodNullable<z.ZodNumber>;
5529
+ ticketsTotal: z.ZodNumber;
5530
+ }, "strip", z.ZodTypeAny, {
5531
+ id: string;
5532
+ email: string;
5533
+ displayName: string | null;
5534
+ memberSince: string;
5535
+ rankName: string | null;
5536
+ packageTier: number | null;
5537
+ ticketsTotal: number;
5538
+ }, {
5539
+ id: string;
5540
+ email: string;
5541
+ displayName: string | null;
5542
+ memberSince: string;
5543
+ rankName: string | null;
5544
+ packageTier: number | null;
5545
+ ticketsTotal: number;
5546
+ }>;
5547
+ }, "strip", z.ZodTypeAny, {
5548
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5549
+ user: {
5550
+ id: string;
5551
+ email: string;
5552
+ displayName: string | null;
5553
+ memberSince: string;
5554
+ rankName: string | null;
5555
+ packageTier: number | null;
5556
+ ticketsTotal: number;
5557
+ };
5558
+ id: string;
5559
+ createdAt: string;
5560
+ title: string;
5561
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5562
+ lastMessageAt: string;
5563
+ messages: {
5564
+ id: string;
5565
+ createdAt: string;
5566
+ body: string;
5567
+ authorType: "user" | "support" | "system";
5568
+ attachments: {
5569
+ id: string;
5570
+ contentType: string;
5571
+ fileName: string;
5572
+ sizeBytes: number;
5573
+ url: string;
5574
+ }[];
5575
+ }[];
5576
+ userEmail: string;
5577
+ assignedTo: string | null;
5578
+ assignedEmail: string | null;
5579
+ }, {
5580
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5581
+ user: {
5582
+ id: string;
5583
+ email: string;
5584
+ displayName: string | null;
5585
+ memberSince: string;
5586
+ rankName: string | null;
5587
+ packageTier: number | null;
5588
+ ticketsTotal: number;
5589
+ };
5590
+ id: string;
5591
+ createdAt: string;
5592
+ title: string;
5593
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5594
+ lastMessageAt: string;
5595
+ messages: {
5596
+ id: string;
5597
+ createdAt: string;
5598
+ body: string;
5599
+ authorType: "user" | "support" | "system";
5600
+ attachments: {
5601
+ id: string;
5602
+ contentType: string;
5603
+ fileName: string;
5604
+ sizeBytes: number;
5605
+ url: string;
5606
+ }[];
5607
+ }[];
5608
+ userEmail: string;
5609
+ assignedTo: string | null;
5610
+ assignedEmail: string | null;
5611
+ }>;
5612
+ type Response = z.infer<typeof ResponseSchema>;
5613
+ }
5614
+ declare namespace ResolveTicketCommand {
5615
+ const endpointDetails: EndpointDetails;
5616
+ const ResponseSchema: z.ZodObject<{
5617
+ id: z.ZodString;
5618
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5619
+ title: z.ZodString;
5620
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5621
+ lastMessageAt: z.ZodString;
5622
+ createdAt: z.ZodString;
5623
+ } & {
5624
+ messages: z.ZodArray<z.ZodObject<{
5625
+ id: z.ZodString;
5626
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5627
+ body: z.ZodString;
5628
+ attachments: z.ZodArray<z.ZodObject<{
5629
+ id: z.ZodString;
5630
+ fileName: z.ZodString;
5631
+ contentType: z.ZodString;
5632
+ sizeBytes: z.ZodNumber;
5633
+ url: z.ZodString;
5634
+ }, "strip", z.ZodTypeAny, {
5635
+ id: string;
5636
+ contentType: string;
5637
+ fileName: string;
5638
+ sizeBytes: number;
5639
+ url: string;
5640
+ }, {
5641
+ id: string;
5642
+ contentType: string;
5643
+ fileName: string;
5644
+ sizeBytes: number;
5645
+ url: string;
5646
+ }>, "many">;
5647
+ createdAt: z.ZodString;
5648
+ }, "strip", z.ZodTypeAny, {
5649
+ id: string;
5650
+ createdAt: string;
5651
+ body: string;
5652
+ authorType: "user" | "support" | "system";
5653
+ attachments: {
5654
+ id: string;
5655
+ contentType: string;
5656
+ fileName: string;
5657
+ sizeBytes: number;
5658
+ url: string;
5659
+ }[];
5660
+ }, {
5661
+ id: string;
5662
+ createdAt: string;
5663
+ body: string;
5664
+ authorType: "user" | "support" | "system";
5665
+ attachments: {
5666
+ id: string;
5667
+ contentType: string;
5668
+ fileName: string;
5669
+ sizeBytes: number;
5670
+ url: string;
5671
+ }[];
5672
+ }>, "many">;
5673
+ } & {
5674
+ userEmail: z.ZodString;
5675
+ assignedTo: z.ZodNullable<z.ZodString>;
5676
+ assignedEmail: z.ZodNullable<z.ZodString>;
5677
+ user: z.ZodObject<{
5678
+ id: z.ZodString;
5679
+ email: z.ZodString;
5680
+ displayName: z.ZodNullable<z.ZodString>;
5681
+ memberSince: z.ZodString;
5682
+ rankName: z.ZodNullable<z.ZodString>;
5683
+ packageTier: z.ZodNullable<z.ZodNumber>;
5684
+ ticketsTotal: z.ZodNumber;
5685
+ }, "strip", z.ZodTypeAny, {
5686
+ id: string;
5687
+ email: string;
5688
+ displayName: string | null;
5689
+ memberSince: string;
5690
+ rankName: string | null;
5691
+ packageTier: number | null;
5692
+ ticketsTotal: number;
5693
+ }, {
5694
+ id: string;
5695
+ email: string;
5696
+ displayName: string | null;
5697
+ memberSince: string;
5698
+ rankName: string | null;
5699
+ packageTier: number | null;
5700
+ ticketsTotal: number;
5701
+ }>;
5702
+ }, "strip", z.ZodTypeAny, {
5703
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5704
+ user: {
5705
+ id: string;
5706
+ email: string;
5707
+ displayName: string | null;
5708
+ memberSince: string;
5709
+ rankName: string | null;
5710
+ packageTier: number | null;
5711
+ ticketsTotal: number;
5712
+ };
5713
+ id: string;
5714
+ createdAt: string;
5715
+ title: string;
5716
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5717
+ lastMessageAt: string;
5718
+ messages: {
5719
+ id: string;
5720
+ createdAt: string;
5721
+ body: string;
5722
+ authorType: "user" | "support" | "system";
5723
+ attachments: {
5724
+ id: string;
5725
+ contentType: string;
5726
+ fileName: string;
5727
+ sizeBytes: number;
5728
+ url: string;
5729
+ }[];
5730
+ }[];
5731
+ userEmail: string;
5732
+ assignedTo: string | null;
5733
+ assignedEmail: string | null;
5734
+ }, {
5735
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5736
+ user: {
5737
+ id: string;
5738
+ email: string;
5739
+ displayName: string | null;
5740
+ memberSince: string;
5741
+ rankName: string | null;
5742
+ packageTier: number | null;
5743
+ ticketsTotal: number;
5744
+ };
5745
+ id: string;
5746
+ createdAt: string;
5747
+ title: string;
5748
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5749
+ lastMessageAt: string;
5750
+ messages: {
5751
+ id: string;
5752
+ createdAt: string;
5753
+ body: string;
5754
+ authorType: "user" | "support" | "system";
5755
+ attachments: {
5756
+ id: string;
5757
+ contentType: string;
5758
+ fileName: string;
5759
+ sizeBytes: number;
5760
+ url: string;
5761
+ }[];
5762
+ }[];
5763
+ userEmail: string;
5764
+ assignedTo: string | null;
5765
+ assignedEmail: string | null;
5766
+ }>;
5767
+ type Response = z.infer<typeof ResponseSchema>;
5768
+ }
4792
5769
 
4793
5770
  declare namespace ListTicketsCommand {
4794
5771
  const endpointDetails: EndpointDetails;
@@ -4797,18 +5774,18 @@ declare namespace ListTicketsCommand {
4797
5774
  id: z.ZodString;
4798
5775
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4799
5776
  title: z.ZodString;
4800
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5777
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4801
5778
  lastMessageAt: z.ZodString;
4802
5779
  createdAt: z.ZodString;
4803
5780
  }, "strip", z.ZodTypeAny, {
4804
- status: "pending" | "open" | "answered" | "resolved";
5781
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4805
5782
  id: string;
4806
5783
  createdAt: string;
4807
5784
  title: string;
4808
5785
  category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4809
5786
  lastMessageAt: string;
4810
5787
  }, {
4811
- status: "pending" | "open" | "answered" | "resolved";
5788
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4812
5789
  id: string;
4813
5790
  createdAt: string;
4814
5791
  title: string;
@@ -4817,7 +5794,7 @@ declare namespace ListTicketsCommand {
4817
5794
  }>, "many">;
4818
5795
  }, "strip", z.ZodTypeAny, {
4819
5796
  items: {
4820
- status: "pending" | "open" | "answered" | "resolved";
5797
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4821
5798
  id: string;
4822
5799
  createdAt: string;
4823
5800
  title: string;
@@ -4826,7 +5803,7 @@ declare namespace ListTicketsCommand {
4826
5803
  }[];
4827
5804
  }, {
4828
5805
  items: {
4829
- status: "pending" | "open" | "answered" | "resolved";
5806
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4830
5807
  id: string;
4831
5808
  createdAt: string;
4832
5809
  title: string;
@@ -4842,13 +5819,13 @@ declare namespace GetTicketCommand {
4842
5819
  id: z.ZodString;
4843
5820
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4844
5821
  title: z.ZodString;
4845
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5822
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4846
5823
  lastMessageAt: z.ZodString;
4847
5824
  createdAt: z.ZodString;
4848
5825
  } & {
4849
5826
  messages: z.ZodArray<z.ZodObject<{
4850
5827
  id: z.ZodString;
4851
- authorType: z.ZodEnum<["user", "support"]>;
5828
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4852
5829
  body: z.ZodString;
4853
5830
  attachments: z.ZodArray<z.ZodObject<{
4854
5831
  id: z.ZodString;
@@ -4874,7 +5851,7 @@ declare namespace GetTicketCommand {
4874
5851
  id: string;
4875
5852
  createdAt: string;
4876
5853
  body: string;
4877
- authorType: "user" | "support";
5854
+ authorType: "user" | "support" | "system";
4878
5855
  attachments: {
4879
5856
  id: string;
4880
5857
  contentType: string;
@@ -4886,7 +5863,7 @@ declare namespace GetTicketCommand {
4886
5863
  id: string;
4887
5864
  createdAt: string;
4888
5865
  body: string;
4889
- authorType: "user" | "support";
5866
+ authorType: "user" | "support" | "system";
4890
5867
  attachments: {
4891
5868
  id: string;
4892
5869
  contentType: string;
@@ -4896,7 +5873,7 @@ declare namespace GetTicketCommand {
4896
5873
  }[];
4897
5874
  }>, "many">;
4898
5875
  }, "strip", z.ZodTypeAny, {
4899
- status: "pending" | "open" | "answered" | "resolved";
5876
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4900
5877
  id: string;
4901
5878
  createdAt: string;
4902
5879
  title: string;
@@ -4906,7 +5883,7 @@ declare namespace GetTicketCommand {
4906
5883
  id: string;
4907
5884
  createdAt: string;
4908
5885
  body: string;
4909
- authorType: "user" | "support";
5886
+ authorType: "user" | "support" | "system";
4910
5887
  attachments: {
4911
5888
  id: string;
4912
5889
  contentType: string;
@@ -4916,7 +5893,7 @@ declare namespace GetTicketCommand {
4916
5893
  }[];
4917
5894
  }[];
4918
5895
  }, {
4919
- status: "pending" | "open" | "answered" | "resolved";
5896
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4920
5897
  id: string;
4921
5898
  createdAt: string;
4922
5899
  title: string;
@@ -4926,7 +5903,7 @@ declare namespace GetTicketCommand {
4926
5903
  id: string;
4927
5904
  createdAt: string;
4928
5905
  body: string;
4929
- authorType: "user" | "support";
5906
+ authorType: "user" | "support" | "system";
4930
5907
  attachments: {
4931
5908
  id: string;
4932
5909
  contentType: string;
@@ -4986,13 +5963,13 @@ declare namespace CreateTicketCommand {
4986
5963
  id: z.ZodString;
4987
5964
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4988
5965
  title: z.ZodString;
4989
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5966
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4990
5967
  lastMessageAt: z.ZodString;
4991
5968
  createdAt: z.ZodString;
4992
5969
  } & {
4993
5970
  messages: z.ZodArray<z.ZodObject<{
4994
5971
  id: z.ZodString;
4995
- authorType: z.ZodEnum<["user", "support"]>;
5972
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4996
5973
  body: z.ZodString;
4997
5974
  attachments: z.ZodArray<z.ZodObject<{
4998
5975
  id: z.ZodString;
@@ -5018,7 +5995,7 @@ declare namespace CreateTicketCommand {
5018
5995
  id: string;
5019
5996
  createdAt: string;
5020
5997
  body: string;
5021
- authorType: "user" | "support";
5998
+ authorType: "user" | "support" | "system";
5022
5999
  attachments: {
5023
6000
  id: string;
5024
6001
  contentType: string;
@@ -5030,7 +6007,7 @@ declare namespace CreateTicketCommand {
5030
6007
  id: string;
5031
6008
  createdAt: string;
5032
6009
  body: string;
5033
- authorType: "user" | "support";
6010
+ authorType: "user" | "support" | "system";
5034
6011
  attachments: {
5035
6012
  id: string;
5036
6013
  contentType: string;
@@ -5040,7 +6017,7 @@ declare namespace CreateTicketCommand {
5040
6017
  }[];
5041
6018
  }>, "many">;
5042
6019
  }, "strip", z.ZodTypeAny, {
5043
- status: "pending" | "open" | "answered" | "resolved";
6020
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5044
6021
  id: string;
5045
6022
  createdAt: string;
5046
6023
  title: string;
@@ -5050,7 +6027,7 @@ declare namespace CreateTicketCommand {
5050
6027
  id: string;
5051
6028
  createdAt: string;
5052
6029
  body: string;
5053
- authorType: "user" | "support";
6030
+ authorType: "user" | "support" | "system";
5054
6031
  attachments: {
5055
6032
  id: string;
5056
6033
  contentType: string;
@@ -5060,7 +6037,7 @@ declare namespace CreateTicketCommand {
5060
6037
  }[];
5061
6038
  }[];
5062
6039
  }, {
5063
- status: "pending" | "open" | "answered" | "resolved";
6040
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5064
6041
  id: string;
5065
6042
  createdAt: string;
5066
6043
  title: string;
@@ -5070,7 +6047,7 @@ declare namespace CreateTicketCommand {
5070
6047
  id: string;
5071
6048
  createdAt: string;
5072
6049
  body: string;
5073
- authorType: "user" | "support";
6050
+ authorType: "user" | "support" | "system";
5074
6051
  attachments: {
5075
6052
  id: string;
5076
6053
  contentType: string;
@@ -5124,13 +6101,13 @@ declare namespace ReplyTicketCommand {
5124
6101
  id: z.ZodString;
5125
6102
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5126
6103
  title: z.ZodString;
5127
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
6104
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5128
6105
  lastMessageAt: z.ZodString;
5129
6106
  createdAt: z.ZodString;
5130
6107
  } & {
5131
6108
  messages: z.ZodArray<z.ZodObject<{
5132
6109
  id: z.ZodString;
5133
- authorType: z.ZodEnum<["user", "support"]>;
6110
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5134
6111
  body: z.ZodString;
5135
6112
  attachments: z.ZodArray<z.ZodObject<{
5136
6113
  id: z.ZodString;
@@ -5156,7 +6133,7 @@ declare namespace ReplyTicketCommand {
5156
6133
  id: string;
5157
6134
  createdAt: string;
5158
6135
  body: string;
5159
- authorType: "user" | "support";
6136
+ authorType: "user" | "support" | "system";
5160
6137
  attachments: {
5161
6138
  id: string;
5162
6139
  contentType: string;
@@ -5168,7 +6145,7 @@ declare namespace ReplyTicketCommand {
5168
6145
  id: string;
5169
6146
  createdAt: string;
5170
6147
  body: string;
5171
- authorType: "user" | "support";
6148
+ authorType: "user" | "support" | "system";
5172
6149
  attachments: {
5173
6150
  id: string;
5174
6151
  contentType: string;
@@ -5178,7 +6155,7 @@ declare namespace ReplyTicketCommand {
5178
6155
  }[];
5179
6156
  }>, "many">;
5180
6157
  }, "strip", z.ZodTypeAny, {
5181
- status: "pending" | "open" | "answered" | "resolved";
6158
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5182
6159
  id: string;
5183
6160
  createdAt: string;
5184
6161
  title: string;
@@ -5188,7 +6165,7 @@ declare namespace ReplyTicketCommand {
5188
6165
  id: string;
5189
6166
  createdAt: string;
5190
6167
  body: string;
5191
- authorType: "user" | "support";
6168
+ authorType: "user" | "support" | "system";
5192
6169
  attachments: {
5193
6170
  id: string;
5194
6171
  contentType: string;
@@ -5198,7 +6175,7 @@ declare namespace ReplyTicketCommand {
5198
6175
  }[];
5199
6176
  }[];
5200
6177
  }, {
5201
- status: "pending" | "open" | "answered" | "resolved";
6178
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5202
6179
  id: string;
5203
6180
  createdAt: string;
5204
6181
  title: string;
@@ -5208,7 +6185,7 @@ declare namespace ReplyTicketCommand {
5208
6185
  id: string;
5209
6186
  createdAt: string;
5210
6187
  body: string;
5211
- authorType: "user" | "support";
6188
+ authorType: "user" | "support" | "system";
5212
6189
  attachments: {
5213
6190
  id: string;
5214
6191
  contentType: string;
@@ -5348,8 +6325,16 @@ declare const REST_API: {
5348
6325
  readonly REPLY: "/tickets/:id/messages";
5349
6326
  readonly ATTACHMENT_UPLOAD_URL: "/tickets/attachments/upload-url";
5350
6327
  };
6328
+ readonly SUPPORT_TICKETS: {
6329
+ readonly LIST: "/support/tickets";
6330
+ readonly STREAM: "/support/tickets/stream";
6331
+ readonly GET: "/support/tickets/:id";
6332
+ readonly CLAIM: "/support/tickets/:id/claim";
6333
+ readonly REPLY: "/support/tickets/:id/messages";
6334
+ readonly RESOLVE: "/support/tickets/:id/resolve";
6335
+ };
5351
6336
  };
5352
6337
  declare const API_PREFIX = "/api";
5353
6338
  declare const API_VERSION = "v1";
5354
6339
 
5355
- export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BrowsePartnersCommand, BuyPackageCommand, CONTENT_LOCALES, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChangePasswordCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ClaimTutorialRewardCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, type ContentLocale, ContentLocaleSchema, CreateTicketCommand, DEFAULT_CONTENT_LOCALE, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetTutorialRewardCommand, GetWalletCommand, GetWheelCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerBranch, type PartnerBranchRoot, PartnerBranchRootSchema, PartnerBranchSchema, type PartnerLevel, PartnerLevelSchema, type PartnerNode, PartnerNodeSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestPasswordChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SpinWheelCommand, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type ThreatLevel, ThreatLevelSchema, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, WHEEL_SLOT_COUNT, type WalletOverview, WalletOverviewSchema, type WheelAmountMode, WheelAmountModeSchema, type WheelPrize, WheelPrizeSchema, WheelSlotSchema, type WheelSpinKind, WheelSpinKindSchema, type WheelSpinResult, WheelSpinResultSchema, type WheelStatus, WheelStatusSchema, type WheelWin, WheelWinSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint, isContentLocale };
6340
+ export { API_PREFIX, API_VERSION, ASSET_DECIMALS, ASSET_SYMBOLS, AVATAR_CONTENT_TYPES, type AssetBalance, AssetBalanceSchema, type AssetSymbol, AssetSymbolSchema, AvatarContentTypeSchema, AvatarUploadUrlCommand, BrowsePartnersCommand, BuyPackageCommand, CONTENT_LOCALES, CancelOrderCommand, CancelWithdrawalCommand, CaptchaPolicyCommand, ChangePasswordCommand, type ChartPeriod, ChartPeriodSchema, type ChartPoint, ChartPointSchema, ClaimDailyBonusCommand, ClaimTicketCommand, ClaimTutorialRewardCommand, ConfirmEmailChangeCommand, ConfirmTotpCommand, ConfirmWithdrawalCommand, type ContentLocale, ContentLocaleSchema, CreateTicketCommand, DEFAULT_CONTENT_LOCALE, DEPOSITABLE_ASSETS, type DailyBonusClaimResult, DailyBonusClaimResultSchema, type DailyBonusDay, DailyBonusDaySchema, type DailyBonusStatus, DailyBonusStatusSchema, type DepositAddress, DepositAddressCommand, DepositAddressSchema, type DepositEntry, DepositEntrySchema, type DepositStatus, DepositStatusSchema, type DepositableAsset, DepositableAssetSchema, DisableTotpCommand, ERROR_CODE, type EarningsOverview, EarningsOverviewSchema, type EndpointDetails, type ErrorCode, type ErrorResponse, ErrorResponseSchema, FUNDING_ASSET, ForgotPasswordCommand, GetDailyBonusCommand, GetEarningsCommand, GetIncomeCommand, GetLeaderboardCommand, GetOrderBookCommand, GetPackagesCommand, GetPartnersCommand, GetRanksCommand, GetSettingsCommand, GetSlidesCommand, GetSupportTicketCommand, GetTicketCommand, GetTokenChartCommand, GetTokenPriceCommand, GetTransactionsCommand, GetTutorialRewardCommand, GetWalletCommand, GetWheelCommand, type HttpMethod, type IncomeOverview, IncomeOverviewSchema, type IncomePeriod, IncomePeriodSchema, type Leaderboard, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardPeriod, LeaderboardPeriodSchema, LeaderboardSchema, LinkGoogleCommand, type LinkProvider, LinkProviderSchema, LinkTelegramCommand, type LinkedAccount, LinkedAccountSchema, ListDepositsCommand, ListLinkedAccountsCommand, ListMyOrdersCommand, ListNotificationsCommand, ListSupportTicketsCommand, ListTicketsCommand, ListTradesCommand, ListWithdrawalsCommand, LoginCommand, LogoutCommand, MONEY_REGEX, MarkNotificationsReadCommand, MeCommand, MoneyStringSchema, type MonthlyPricePoint, MonthlyPricePointSchema, NMN_PRICE_DECIMALS, type Notification, NotificationSchema, type NotificationType, NotificationTypeSchema, type Order, type OrderBook, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, OrderSchema, type OrderSide, OrderSideSchema, type OrderStatus, OrderStatusSchema, type OrderType, OrderTypeSchema, type Package, PackageSchema, type PackageStatus, PackageStatusSchema, type PackagesOverview, PackagesOverviewSchema, PaginatedSchema, type PaginationQuery, PaginationQuerySchema, type PartnerAccrual, PartnerAccrualSchema, type PartnerBranch, type PartnerBranchRoot, PartnerBranchRootSchema, PartnerBranchSchema, type PartnerLevel, PartnerLevelSchema, type PartnerNode, PartnerNodeSchema, type PartnersOverview, PartnersOverviewSchema, type Period, PeriodSchema, PlaceOrderCommand, PositiveMoneyStringSchema, type PublicTrade, PublicTradeSchema, REST_API, type RankDef, RankDefSchema, RegisterCommand, ReplyTicketCommand, RequestEmailChangeCommand, RequestPasswordChangeCommand, RequestWithdrawalCommand, ResendVerificationCommand, ResetPasswordCommand, ResolveTicketCommand, type SessionInfo, SessionInfoSchema, SetupTotpCommand, type Slide, type SlideButtonStyle, SlideButtonStyleSchema, type SlideKind, SlideKindSchema, type SlideLinkTarget, SlideLinkTargetSchema, SlideSchema, type SlidesResponse, SlidesResponseSchema, SpinWheelCommand, SupportReplyTicketCommand, type SupportTicketDetail, SupportTicketDetailSchema, type SupportTicketScope, SupportTicketScopeSchema, type SupportTicketSummary, SupportTicketSummarySchema, type SupportTicketUser, SupportTicketUserSchema, SwapCommand, type SwapSide, SwapSideSchema, TICKET_CATEGORIES, TOKEN_ASSET, type ThreatLevel, ThreatLevelSchema, type TicketAttachment, type TicketAttachmentInput, TicketAttachmentInputSchema, TicketAttachmentSchema, TicketAttachmentUploadCommand, type TicketAuthorType, TicketAuthorTypeSchema, TicketBodySchema, type TicketCategory, TicketCategorySchema, type TicketDetail, TicketDetailSchema, type TicketMessage, TicketMessageSchema, type TicketStatus, TicketStatusSchema, type TicketSummary, TicketSummarySchema, type TokenPrice, TokenPriceSchema, type TradeLimits, TradeLimitsSchema, type TradeResult, TradeResultSchema, type Transaction, TransactionSchema, type TransactionStatus, TransactionStatusSchema, type TransactionType, TransactionTypeSchema, UnlinkAccountCommand, UpdateProfileCommand, UpdateSettingsCommand, UpgradePackageCommand, type UserProfile, UserProfileSchema, type UserRank, UserRankSchema, type UserRole, UserRoleSchema, type UserSettings, UserSettingsSchema, type UserStatus, UserStatusSchema, UuidSchema, VerifyEmailCommand, WHEEL_SLOT_COUNT, type WalletOverview, WalletOverviewSchema, type WheelAmountMode, WheelAmountModeSchema, type WheelPrize, WheelPrizeSchema, WheelSlotSchema, type WheelSpinKind, WheelSpinKindSchema, type WheelSpinResult, WheelSpinResultSchema, type WheelStatus, WheelStatusSchema, type WheelWin, WheelWinSchema, type Withdrawal, WithdrawalSchema, type WithdrawalStatus, WithdrawalStatusSchema, assetDecimals, endpoint, isContentLocale };