@numen-crypto/contract 0.15.2 → 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.cts 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;
@@ -2734,18 +2753,21 @@ declare namespace BrowsePartnersCommand {
2734
2753
  const endpointDetails: EndpointDetails;
2735
2754
  const QuerySchema: z.ZodObject<{
2736
2755
  root: z.ZodOptional<z.ZodString>;
2756
+ scope: z.ZodDefault<z.ZodEnum<["direct", "all"]>>;
2737
2757
  page: z.ZodDefault<z.ZodNumber>;
2738
2758
  pageSize: z.ZodDefault<z.ZodNumber>;
2739
2759
  search: z.ZodOptional<z.ZodString>;
2740
2760
  }, "strip", z.ZodTypeAny, {
2741
2761
  page: number;
2742
2762
  pageSize: number;
2763
+ scope: "all" | "direct";
2743
2764
  root?: string | undefined;
2744
2765
  search?: string | undefined;
2745
2766
  }, {
2746
2767
  page?: number | undefined;
2747
2768
  pageSize?: number | undefined;
2748
2769
  root?: string | undefined;
2770
+ scope?: "all" | "direct" | undefined;
2749
2771
  search?: string | undefined;
2750
2772
  }>;
2751
2773
  type Query = z.infer<typeof QuerySchema>;
@@ -3429,6 +3451,7 @@ declare namespace UpdateProfileCommand {
3429
3451
  const ResponseSchema: z.ZodObject<{
3430
3452
  id: z.ZodString;
3431
3453
  email: z.ZodString;
3454
+ role: z.ZodEnum<["user", "support"]>;
3432
3455
  displayName: z.ZodNullable<z.ZodString>;
3433
3456
  avatarUrl: z.ZodNullable<z.ZodString>;
3434
3457
  referrerId: z.ZodNullable<z.ZodString>;
@@ -3440,6 +3463,7 @@ declare namespace UpdateProfileCommand {
3440
3463
  status: "pending" | "active" | "suspended" | "deleted";
3441
3464
  id: string;
3442
3465
  email: string;
3466
+ role: "user" | "support";
3443
3467
  displayName: string | null;
3444
3468
  avatarUrl: string | null;
3445
3469
  referrerId: string | null;
@@ -3450,6 +3474,7 @@ declare namespace UpdateProfileCommand {
3450
3474
  status: "pending" | "active" | "suspended" | "deleted";
3451
3475
  id: string;
3452
3476
  email: string;
3477
+ role: "user" | "support";
3453
3478
  displayName: string | null;
3454
3479
  avatarUrl: string | null;
3455
3480
  referrerId: string | null;
@@ -4572,9 +4597,9 @@ declare namespace UnlinkAccountCommand {
4572
4597
  declare const TICKET_CATEGORIES: readonly ["account", "deposit", "withdrawal", "trading", "partners", "other"];
4573
4598
  declare const TicketCategorySchema: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4574
4599
  type TicketCategory = z.infer<typeof TicketCategorySchema>;
4575
- declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4600
+ declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4576
4601
  type TicketStatus = z.infer<typeof TicketStatusSchema>;
4577
- declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support"]>;
4602
+ declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support", "system"]>;
4578
4603
  type TicketAuthorType = z.infer<typeof TicketAuthorTypeSchema>;
4579
4604
  declare const TicketBodySchema: z.ZodString;
4580
4605
  declare const TicketAttachmentSchema: z.ZodObject<{
@@ -4599,7 +4624,7 @@ declare const TicketAttachmentSchema: z.ZodObject<{
4599
4624
  type TicketAttachment = z.infer<typeof TicketAttachmentSchema>;
4600
4625
  declare const TicketMessageSchema: z.ZodObject<{
4601
4626
  id: z.ZodString;
4602
- authorType: z.ZodEnum<["user", "support"]>;
4627
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4603
4628
  body: z.ZodString;
4604
4629
  attachments: z.ZodArray<z.ZodObject<{
4605
4630
  id: z.ZodString;
@@ -4625,7 +4650,7 @@ declare const TicketMessageSchema: z.ZodObject<{
4625
4650
  id: string;
4626
4651
  createdAt: string;
4627
4652
  body: string;
4628
- authorType: "user" | "support";
4653
+ authorType: "user" | "support" | "system";
4629
4654
  attachments: {
4630
4655
  id: string;
4631
4656
  contentType: string;
@@ -4637,7 +4662,7 @@ declare const TicketMessageSchema: z.ZodObject<{
4637
4662
  id: string;
4638
4663
  createdAt: string;
4639
4664
  body: string;
4640
- authorType: "user" | "support";
4665
+ authorType: "user" | "support" | "system";
4641
4666
  attachments: {
4642
4667
  id: string;
4643
4668
  contentType: string;
@@ -4651,18 +4676,18 @@ declare const TicketSummarySchema: z.ZodObject<{
4651
4676
  id: z.ZodString;
4652
4677
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4653
4678
  title: z.ZodString;
4654
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4679
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4655
4680
  lastMessageAt: z.ZodString;
4656
4681
  createdAt: z.ZodString;
4657
4682
  }, "strip", z.ZodTypeAny, {
4658
- status: "pending" | "open" | "answered" | "resolved";
4683
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4659
4684
  id: string;
4660
4685
  createdAt: string;
4661
4686
  title: string;
4662
4687
  category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4663
4688
  lastMessageAt: string;
4664
4689
  }, {
4665
- status: "pending" | "open" | "answered" | "resolved";
4690
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4666
4691
  id: string;
4667
4692
  createdAt: string;
4668
4693
  title: string;
@@ -4674,13 +4699,13 @@ declare const TicketDetailSchema: z.ZodObject<{
4674
4699
  id: z.ZodString;
4675
4700
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4676
4701
  title: z.ZodString;
4677
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4702
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4678
4703
  lastMessageAt: z.ZodString;
4679
4704
  createdAt: z.ZodString;
4680
4705
  } & {
4681
4706
  messages: z.ZodArray<z.ZodObject<{
4682
4707
  id: z.ZodString;
4683
- authorType: z.ZodEnum<["user", "support"]>;
4708
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4684
4709
  body: z.ZodString;
4685
4710
  attachments: z.ZodArray<z.ZodObject<{
4686
4711
  id: z.ZodString;
@@ -4706,7 +4731,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4706
4731
  id: string;
4707
4732
  createdAt: string;
4708
4733
  body: string;
4709
- authorType: "user" | "support";
4734
+ authorType: "user" | "support" | "system";
4710
4735
  attachments: {
4711
4736
  id: string;
4712
4737
  contentType: string;
@@ -4718,7 +4743,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4718
4743
  id: string;
4719
4744
  createdAt: string;
4720
4745
  body: string;
4721
- authorType: "user" | "support";
4746
+ authorType: "user" | "support" | "system";
4722
4747
  attachments: {
4723
4748
  id: string;
4724
4749
  contentType: string;
@@ -4728,7 +4753,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4728
4753
  }[];
4729
4754
  }>, "many">;
4730
4755
  }, "strip", z.ZodTypeAny, {
4731
- status: "pending" | "open" | "answered" | "resolved";
4756
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4732
4757
  id: string;
4733
4758
  createdAt: string;
4734
4759
  title: string;
@@ -4738,7 +4763,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4738
4763
  id: string;
4739
4764
  createdAt: string;
4740
4765
  body: string;
4741
- authorType: "user" | "support";
4766
+ authorType: "user" | "support" | "system";
4742
4767
  attachments: {
4743
4768
  id: string;
4744
4769
  contentType: string;
@@ -4748,7 +4773,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4748
4773
  }[];
4749
4774
  }[];
4750
4775
  }, {
4751
- status: "pending" | "open" | "answered" | "resolved";
4776
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4752
4777
  id: string;
4753
4778
  createdAt: string;
4754
4779
  title: string;
@@ -4758,7 +4783,7 @@ declare const TicketDetailSchema: z.ZodObject<{
4758
4783
  id: string;
4759
4784
  createdAt: string;
4760
4785
  body: string;
4761
- authorType: "user" | "support";
4786
+ authorType: "user" | "support" | "system";
4762
4787
  attachments: {
4763
4788
  id: string;
4764
4789
  contentType: string;
@@ -4786,6 +4811,961 @@ declare const TicketAttachmentInputSchema: z.ZodObject<{
4786
4811
  fileKey: string;
4787
4812
  }>;
4788
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
+ }
4789
5769
 
4790
5770
  declare namespace ListTicketsCommand {
4791
5771
  const endpointDetails: EndpointDetails;
@@ -4794,18 +5774,18 @@ declare namespace ListTicketsCommand {
4794
5774
  id: z.ZodString;
4795
5775
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4796
5776
  title: z.ZodString;
4797
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5777
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4798
5778
  lastMessageAt: z.ZodString;
4799
5779
  createdAt: z.ZodString;
4800
5780
  }, "strip", z.ZodTypeAny, {
4801
- status: "pending" | "open" | "answered" | "resolved";
5781
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4802
5782
  id: string;
4803
5783
  createdAt: string;
4804
5784
  title: string;
4805
5785
  category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4806
5786
  lastMessageAt: string;
4807
5787
  }, {
4808
- status: "pending" | "open" | "answered" | "resolved";
5788
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4809
5789
  id: string;
4810
5790
  createdAt: string;
4811
5791
  title: string;
@@ -4814,7 +5794,7 @@ declare namespace ListTicketsCommand {
4814
5794
  }>, "many">;
4815
5795
  }, "strip", z.ZodTypeAny, {
4816
5796
  items: {
4817
- status: "pending" | "open" | "answered" | "resolved";
5797
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4818
5798
  id: string;
4819
5799
  createdAt: string;
4820
5800
  title: string;
@@ -4823,7 +5803,7 @@ declare namespace ListTicketsCommand {
4823
5803
  }[];
4824
5804
  }, {
4825
5805
  items: {
4826
- status: "pending" | "open" | "answered" | "resolved";
5806
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4827
5807
  id: string;
4828
5808
  createdAt: string;
4829
5809
  title: string;
@@ -4839,13 +5819,13 @@ declare namespace GetTicketCommand {
4839
5819
  id: z.ZodString;
4840
5820
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4841
5821
  title: z.ZodString;
4842
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5822
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4843
5823
  lastMessageAt: z.ZodString;
4844
5824
  createdAt: z.ZodString;
4845
5825
  } & {
4846
5826
  messages: z.ZodArray<z.ZodObject<{
4847
5827
  id: z.ZodString;
4848
- authorType: z.ZodEnum<["user", "support"]>;
5828
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4849
5829
  body: z.ZodString;
4850
5830
  attachments: z.ZodArray<z.ZodObject<{
4851
5831
  id: z.ZodString;
@@ -4871,7 +5851,7 @@ declare namespace GetTicketCommand {
4871
5851
  id: string;
4872
5852
  createdAt: string;
4873
5853
  body: string;
4874
- authorType: "user" | "support";
5854
+ authorType: "user" | "support" | "system";
4875
5855
  attachments: {
4876
5856
  id: string;
4877
5857
  contentType: string;
@@ -4883,7 +5863,7 @@ declare namespace GetTicketCommand {
4883
5863
  id: string;
4884
5864
  createdAt: string;
4885
5865
  body: string;
4886
- authorType: "user" | "support";
5866
+ authorType: "user" | "support" | "system";
4887
5867
  attachments: {
4888
5868
  id: string;
4889
5869
  contentType: string;
@@ -4893,7 +5873,7 @@ declare namespace GetTicketCommand {
4893
5873
  }[];
4894
5874
  }>, "many">;
4895
5875
  }, "strip", z.ZodTypeAny, {
4896
- status: "pending" | "open" | "answered" | "resolved";
5876
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4897
5877
  id: string;
4898
5878
  createdAt: string;
4899
5879
  title: string;
@@ -4903,7 +5883,7 @@ declare namespace GetTicketCommand {
4903
5883
  id: string;
4904
5884
  createdAt: string;
4905
5885
  body: string;
4906
- authorType: "user" | "support";
5886
+ authorType: "user" | "support" | "system";
4907
5887
  attachments: {
4908
5888
  id: string;
4909
5889
  contentType: string;
@@ -4913,7 +5893,7 @@ declare namespace GetTicketCommand {
4913
5893
  }[];
4914
5894
  }[];
4915
5895
  }, {
4916
- status: "pending" | "open" | "answered" | "resolved";
5896
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4917
5897
  id: string;
4918
5898
  createdAt: string;
4919
5899
  title: string;
@@ -4923,7 +5903,7 @@ declare namespace GetTicketCommand {
4923
5903
  id: string;
4924
5904
  createdAt: string;
4925
5905
  body: string;
4926
- authorType: "user" | "support";
5906
+ authorType: "user" | "support" | "system";
4927
5907
  attachments: {
4928
5908
  id: string;
4929
5909
  contentType: string;
@@ -4983,13 +5963,13 @@ declare namespace CreateTicketCommand {
4983
5963
  id: z.ZodString;
4984
5964
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4985
5965
  title: z.ZodString;
4986
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5966
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4987
5967
  lastMessageAt: z.ZodString;
4988
5968
  createdAt: z.ZodString;
4989
5969
  } & {
4990
5970
  messages: z.ZodArray<z.ZodObject<{
4991
5971
  id: z.ZodString;
4992
- authorType: z.ZodEnum<["user", "support"]>;
5972
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4993
5973
  body: z.ZodString;
4994
5974
  attachments: z.ZodArray<z.ZodObject<{
4995
5975
  id: z.ZodString;
@@ -5015,7 +5995,7 @@ declare namespace CreateTicketCommand {
5015
5995
  id: string;
5016
5996
  createdAt: string;
5017
5997
  body: string;
5018
- authorType: "user" | "support";
5998
+ authorType: "user" | "support" | "system";
5019
5999
  attachments: {
5020
6000
  id: string;
5021
6001
  contentType: string;
@@ -5027,7 +6007,7 @@ declare namespace CreateTicketCommand {
5027
6007
  id: string;
5028
6008
  createdAt: string;
5029
6009
  body: string;
5030
- authorType: "user" | "support";
6010
+ authorType: "user" | "support" | "system";
5031
6011
  attachments: {
5032
6012
  id: string;
5033
6013
  contentType: string;
@@ -5037,7 +6017,7 @@ declare namespace CreateTicketCommand {
5037
6017
  }[];
5038
6018
  }>, "many">;
5039
6019
  }, "strip", z.ZodTypeAny, {
5040
- status: "pending" | "open" | "answered" | "resolved";
6020
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5041
6021
  id: string;
5042
6022
  createdAt: string;
5043
6023
  title: string;
@@ -5047,7 +6027,7 @@ declare namespace CreateTicketCommand {
5047
6027
  id: string;
5048
6028
  createdAt: string;
5049
6029
  body: string;
5050
- authorType: "user" | "support";
6030
+ authorType: "user" | "support" | "system";
5051
6031
  attachments: {
5052
6032
  id: string;
5053
6033
  contentType: string;
@@ -5057,7 +6037,7 @@ declare namespace CreateTicketCommand {
5057
6037
  }[];
5058
6038
  }[];
5059
6039
  }, {
5060
- status: "pending" | "open" | "answered" | "resolved";
6040
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5061
6041
  id: string;
5062
6042
  createdAt: string;
5063
6043
  title: string;
@@ -5067,7 +6047,7 @@ declare namespace CreateTicketCommand {
5067
6047
  id: string;
5068
6048
  createdAt: string;
5069
6049
  body: string;
5070
- authorType: "user" | "support";
6050
+ authorType: "user" | "support" | "system";
5071
6051
  attachments: {
5072
6052
  id: string;
5073
6053
  contentType: string;
@@ -5121,13 +6101,13 @@ declare namespace ReplyTicketCommand {
5121
6101
  id: z.ZodString;
5122
6102
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5123
6103
  title: z.ZodString;
5124
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
6104
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5125
6105
  lastMessageAt: z.ZodString;
5126
6106
  createdAt: z.ZodString;
5127
6107
  } & {
5128
6108
  messages: z.ZodArray<z.ZodObject<{
5129
6109
  id: z.ZodString;
5130
- authorType: z.ZodEnum<["user", "support"]>;
6110
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5131
6111
  body: z.ZodString;
5132
6112
  attachments: z.ZodArray<z.ZodObject<{
5133
6113
  id: z.ZodString;
@@ -5153,7 +6133,7 @@ declare namespace ReplyTicketCommand {
5153
6133
  id: string;
5154
6134
  createdAt: string;
5155
6135
  body: string;
5156
- authorType: "user" | "support";
6136
+ authorType: "user" | "support" | "system";
5157
6137
  attachments: {
5158
6138
  id: string;
5159
6139
  contentType: string;
@@ -5165,7 +6145,7 @@ declare namespace ReplyTicketCommand {
5165
6145
  id: string;
5166
6146
  createdAt: string;
5167
6147
  body: string;
5168
- authorType: "user" | "support";
6148
+ authorType: "user" | "support" | "system";
5169
6149
  attachments: {
5170
6150
  id: string;
5171
6151
  contentType: string;
@@ -5175,7 +6155,7 @@ declare namespace ReplyTicketCommand {
5175
6155
  }[];
5176
6156
  }>, "many">;
5177
6157
  }, "strip", z.ZodTypeAny, {
5178
- status: "pending" | "open" | "answered" | "resolved";
6158
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5179
6159
  id: string;
5180
6160
  createdAt: string;
5181
6161
  title: string;
@@ -5185,7 +6165,7 @@ declare namespace ReplyTicketCommand {
5185
6165
  id: string;
5186
6166
  createdAt: string;
5187
6167
  body: string;
5188
- authorType: "user" | "support";
6168
+ authorType: "user" | "support" | "system";
5189
6169
  attachments: {
5190
6170
  id: string;
5191
6171
  contentType: string;
@@ -5195,7 +6175,7 @@ declare namespace ReplyTicketCommand {
5195
6175
  }[];
5196
6176
  }[];
5197
6177
  }, {
5198
- status: "pending" | "open" | "answered" | "resolved";
6178
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5199
6179
  id: string;
5200
6180
  createdAt: string;
5201
6181
  title: string;
@@ -5205,7 +6185,7 @@ declare namespace ReplyTicketCommand {
5205
6185
  id: string;
5206
6186
  createdAt: string;
5207
6187
  body: string;
5208
- authorType: "user" | "support";
6188
+ authorType: "user" | "support" | "system";
5209
6189
  attachments: {
5210
6190
  id: string;
5211
6191
  contentType: string;
@@ -5345,8 +6325,16 @@ declare const REST_API: {
5345
6325
  readonly REPLY: "/tickets/:id/messages";
5346
6326
  readonly ATTACHMENT_UPLOAD_URL: "/tickets/attachments/upload-url";
5347
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
+ };
5348
6336
  };
5349
6337
  declare const API_PREFIX = "/api";
5350
6338
  declare const API_VERSION = "v1";
5351
6339
 
5352
- 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 };