@numen-crypto/contract 0.15.3 → 0.17.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;
@@ -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;
@@ -4571,13 +4593,30 @@ declare namespace UnlinkAccountCommand {
4571
4593
  const ResponseSchema: z.ZodVoid;
4572
4594
  type Response = z.infer<typeof ResponseSchema>;
4573
4595
  }
4596
+ declare namespace TelegramLinkCodeCommand {
4597
+ const endpointDetails: EndpointDetails;
4598
+ const ResponseSchema: z.ZodObject<{
4599
+ code: z.ZodString;
4600
+ url: z.ZodString;
4601
+ expiresInSec: z.ZodNumber;
4602
+ }, "strip", z.ZodTypeAny, {
4603
+ code: string;
4604
+ expiresInSec: number;
4605
+ url: string;
4606
+ }, {
4607
+ code: string;
4608
+ expiresInSec: number;
4609
+ url: string;
4610
+ }>;
4611
+ type Response = z.infer<typeof ResponseSchema>;
4612
+ }
4574
4613
 
4575
4614
  declare const TICKET_CATEGORIES: readonly ["account", "deposit", "withdrawal", "trading", "partners", "other"];
4576
4615
  declare const TicketCategorySchema: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4577
4616
  type TicketCategory = z.infer<typeof TicketCategorySchema>;
4578
- declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4617
+ declare const TicketStatusSchema: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4579
4618
  type TicketStatus = z.infer<typeof TicketStatusSchema>;
4580
- declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support"]>;
4619
+ declare const TicketAuthorTypeSchema: z.ZodEnum<["user", "support", "system"]>;
4581
4620
  type TicketAuthorType = z.infer<typeof TicketAuthorTypeSchema>;
4582
4621
  declare const TicketBodySchema: z.ZodString;
4583
4622
  declare const TicketAttachmentSchema: z.ZodObject<{
@@ -4589,20 +4628,20 @@ declare const TicketAttachmentSchema: z.ZodObject<{
4589
4628
  }, "strip", z.ZodTypeAny, {
4590
4629
  id: string;
4591
4630
  contentType: string;
4631
+ url: string;
4592
4632
  fileName: string;
4593
4633
  sizeBytes: number;
4594
- url: string;
4595
4634
  }, {
4596
4635
  id: string;
4597
4636
  contentType: string;
4637
+ url: string;
4598
4638
  fileName: string;
4599
4639
  sizeBytes: number;
4600
- url: string;
4601
4640
  }>;
4602
4641
  type TicketAttachment = z.infer<typeof TicketAttachmentSchema>;
4603
4642
  declare const TicketMessageSchema: z.ZodObject<{
4604
4643
  id: z.ZodString;
4605
- authorType: z.ZodEnum<["user", "support"]>;
4644
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4606
4645
  body: z.ZodString;
4607
4646
  attachments: z.ZodArray<z.ZodObject<{
4608
4647
  id: z.ZodString;
@@ -4613,40 +4652,40 @@ declare const TicketMessageSchema: z.ZodObject<{
4613
4652
  }, "strip", z.ZodTypeAny, {
4614
4653
  id: string;
4615
4654
  contentType: string;
4655
+ url: string;
4616
4656
  fileName: string;
4617
4657
  sizeBytes: number;
4618
- url: string;
4619
4658
  }, {
4620
4659
  id: string;
4621
4660
  contentType: string;
4661
+ url: string;
4622
4662
  fileName: string;
4623
4663
  sizeBytes: number;
4624
- url: string;
4625
4664
  }>, "many">;
4626
4665
  createdAt: z.ZodString;
4627
4666
  }, "strip", z.ZodTypeAny, {
4628
4667
  id: string;
4629
4668
  createdAt: string;
4630
4669
  body: string;
4631
- authorType: "user" | "support";
4670
+ authorType: "user" | "support" | "system";
4632
4671
  attachments: {
4633
4672
  id: string;
4634
4673
  contentType: string;
4674
+ url: string;
4635
4675
  fileName: string;
4636
4676
  sizeBytes: number;
4637
- url: string;
4638
4677
  }[];
4639
4678
  }, {
4640
4679
  id: string;
4641
4680
  createdAt: string;
4642
4681
  body: string;
4643
- authorType: "user" | "support";
4682
+ authorType: "user" | "support" | "system";
4644
4683
  attachments: {
4645
4684
  id: string;
4646
4685
  contentType: string;
4686
+ url: string;
4647
4687
  fileName: string;
4648
4688
  sizeBytes: number;
4649
- url: string;
4650
4689
  }[];
4651
4690
  }>;
4652
4691
  type TicketMessage = z.infer<typeof TicketMessageSchema>;
@@ -4654,18 +4693,18 @@ declare const TicketSummarySchema: z.ZodObject<{
4654
4693
  id: z.ZodString;
4655
4694
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4656
4695
  title: z.ZodString;
4657
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4696
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4658
4697
  lastMessageAt: z.ZodString;
4659
4698
  createdAt: z.ZodString;
4660
4699
  }, "strip", z.ZodTypeAny, {
4661
- status: "pending" | "open" | "answered" | "resolved";
4700
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4662
4701
  id: string;
4663
4702
  createdAt: string;
4664
4703
  title: string;
4665
4704
  category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4666
4705
  lastMessageAt: string;
4667
4706
  }, {
4668
- status: "pending" | "open" | "answered" | "resolved";
4707
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4669
4708
  id: string;
4670
4709
  createdAt: string;
4671
4710
  title: string;
@@ -4677,13 +4716,190 @@ declare const TicketDetailSchema: z.ZodObject<{
4677
4716
  id: z.ZodString;
4678
4717
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4679
4718
  title: z.ZodString;
4680
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
4719
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4720
+ lastMessageAt: z.ZodString;
4721
+ createdAt: z.ZodString;
4722
+ } & {
4723
+ messages: z.ZodArray<z.ZodObject<{
4724
+ id: z.ZodString;
4725
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4726
+ body: z.ZodString;
4727
+ attachments: z.ZodArray<z.ZodObject<{
4728
+ id: z.ZodString;
4729
+ fileName: z.ZodString;
4730
+ contentType: z.ZodString;
4731
+ sizeBytes: z.ZodNumber;
4732
+ url: z.ZodString;
4733
+ }, "strip", z.ZodTypeAny, {
4734
+ id: string;
4735
+ contentType: string;
4736
+ url: string;
4737
+ fileName: string;
4738
+ sizeBytes: number;
4739
+ }, {
4740
+ id: string;
4741
+ contentType: string;
4742
+ url: string;
4743
+ fileName: string;
4744
+ sizeBytes: number;
4745
+ }>, "many">;
4746
+ createdAt: z.ZodString;
4747
+ }, "strip", z.ZodTypeAny, {
4748
+ id: string;
4749
+ createdAt: string;
4750
+ body: string;
4751
+ authorType: "user" | "support" | "system";
4752
+ attachments: {
4753
+ id: string;
4754
+ contentType: string;
4755
+ url: string;
4756
+ fileName: string;
4757
+ sizeBytes: number;
4758
+ }[];
4759
+ }, {
4760
+ id: string;
4761
+ createdAt: string;
4762
+ body: string;
4763
+ authorType: "user" | "support" | "system";
4764
+ attachments: {
4765
+ id: string;
4766
+ contentType: string;
4767
+ url: string;
4768
+ fileName: string;
4769
+ sizeBytes: number;
4770
+ }[];
4771
+ }>, "many">;
4772
+ }, "strip", z.ZodTypeAny, {
4773
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4774
+ id: string;
4775
+ createdAt: string;
4776
+ title: string;
4777
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4778
+ lastMessageAt: string;
4779
+ messages: {
4780
+ id: string;
4781
+ createdAt: string;
4782
+ body: string;
4783
+ authorType: "user" | "support" | "system";
4784
+ attachments: {
4785
+ id: string;
4786
+ contentType: string;
4787
+ url: string;
4788
+ fileName: string;
4789
+ sizeBytes: number;
4790
+ }[];
4791
+ }[];
4792
+ }, {
4793
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4794
+ id: string;
4795
+ createdAt: string;
4796
+ title: string;
4797
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4798
+ lastMessageAt: string;
4799
+ messages: {
4800
+ id: string;
4801
+ createdAt: string;
4802
+ body: string;
4803
+ authorType: "user" | "support" | "system";
4804
+ attachments: {
4805
+ id: string;
4806
+ contentType: string;
4807
+ url: string;
4808
+ fileName: string;
4809
+ sizeBytes: number;
4810
+ }[];
4811
+ }[];
4812
+ }>;
4813
+ type TicketDetail = z.infer<typeof TicketDetailSchema>;
4814
+ declare const TicketAttachmentInputSchema: z.ZodObject<{
4815
+ fileKey: z.ZodString;
4816
+ fileName: z.ZodString;
4817
+ contentType: z.ZodString;
4818
+ sizeBytes: z.ZodNumber;
4819
+ }, "strip", z.ZodTypeAny, {
4820
+ contentType: string;
4821
+ fileName: string;
4822
+ sizeBytes: number;
4823
+ fileKey: string;
4824
+ }, {
4825
+ contentType: string;
4826
+ fileName: string;
4827
+ sizeBytes: number;
4828
+ fileKey: string;
4829
+ }>;
4830
+ type TicketAttachmentInput = z.infer<typeof TicketAttachmentInputSchema>;
4831
+ declare const SupportTicketScopeSchema: z.ZodEnum<["pool", "mine", "closed"]>;
4832
+ type SupportTicketScope = z.infer<typeof SupportTicketScopeSchema>;
4833
+ declare const SupportTicketSummarySchema: z.ZodObject<{
4834
+ id: z.ZodString;
4835
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4836
+ title: z.ZodString;
4837
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4838
+ lastMessageAt: z.ZodString;
4839
+ createdAt: z.ZodString;
4840
+ } & {
4841
+ userEmail: z.ZodString;
4842
+ assignedTo: z.ZodNullable<z.ZodString>;
4843
+ assignedEmail: z.ZodNullable<z.ZodString>;
4844
+ }, "strip", z.ZodTypeAny, {
4845
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4846
+ id: string;
4847
+ createdAt: string;
4848
+ title: string;
4849
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4850
+ lastMessageAt: string;
4851
+ userEmail: string;
4852
+ assignedTo: string | null;
4853
+ assignedEmail: string | null;
4854
+ }, {
4855
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4856
+ id: string;
4857
+ createdAt: string;
4858
+ title: string;
4859
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4860
+ lastMessageAt: string;
4861
+ userEmail: string;
4862
+ assignedTo: string | null;
4863
+ assignedEmail: string | null;
4864
+ }>;
4865
+ type SupportTicketSummary = z.infer<typeof SupportTicketSummarySchema>;
4866
+ declare const SupportTicketUserSchema: z.ZodObject<{
4867
+ id: z.ZodString;
4868
+ email: z.ZodString;
4869
+ displayName: z.ZodNullable<z.ZodString>;
4870
+ memberSince: z.ZodString;
4871
+ rankName: z.ZodNullable<z.ZodString>;
4872
+ packageTier: z.ZodNullable<z.ZodNumber>;
4873
+ ticketsTotal: z.ZodNumber;
4874
+ }, "strip", z.ZodTypeAny, {
4875
+ id: string;
4876
+ email: string;
4877
+ displayName: string | null;
4878
+ memberSince: string;
4879
+ rankName: string | null;
4880
+ packageTier: number | null;
4881
+ ticketsTotal: number;
4882
+ }, {
4883
+ id: string;
4884
+ email: string;
4885
+ displayName: string | null;
4886
+ memberSince: string;
4887
+ rankName: string | null;
4888
+ packageTier: number | null;
4889
+ ticketsTotal: number;
4890
+ }>;
4891
+ type SupportTicketUser = z.infer<typeof SupportTicketUserSchema>;
4892
+ declare const SupportTicketDetailSchema: z.ZodObject<{
4893
+ id: z.ZodString;
4894
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4895
+ title: z.ZodString;
4896
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4681
4897
  lastMessageAt: z.ZodString;
4682
4898
  createdAt: z.ZodString;
4683
4899
  } & {
4684
4900
  messages: z.ZodArray<z.ZodObject<{
4685
4901
  id: z.ZodString;
4686
- authorType: z.ZodEnum<["user", "support"]>;
4902
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4687
4903
  body: z.ZodString;
4688
4904
  attachments: z.ZodArray<z.ZodObject<{
4689
4905
  id: z.ZodString;
@@ -4694,101 +4910,879 @@ declare const TicketDetailSchema: z.ZodObject<{
4694
4910
  }, "strip", z.ZodTypeAny, {
4695
4911
  id: string;
4696
4912
  contentType: string;
4913
+ url: string;
4914
+ fileName: string;
4915
+ sizeBytes: number;
4916
+ }, {
4917
+ id: string;
4918
+ contentType: string;
4919
+ url: string;
4920
+ fileName: string;
4921
+ sizeBytes: number;
4922
+ }>, "many">;
4923
+ createdAt: z.ZodString;
4924
+ }, "strip", z.ZodTypeAny, {
4925
+ id: string;
4926
+ createdAt: string;
4927
+ body: string;
4928
+ authorType: "user" | "support" | "system";
4929
+ attachments: {
4930
+ id: string;
4931
+ contentType: string;
4932
+ url: string;
4933
+ fileName: string;
4934
+ sizeBytes: number;
4935
+ }[];
4936
+ }, {
4937
+ id: string;
4938
+ createdAt: string;
4939
+ body: string;
4940
+ authorType: "user" | "support" | "system";
4941
+ attachments: {
4942
+ id: string;
4943
+ contentType: string;
4944
+ url: string;
4945
+ fileName: string;
4946
+ sizeBytes: number;
4947
+ }[];
4948
+ }>, "many">;
4949
+ } & {
4950
+ userEmail: z.ZodString;
4951
+ assignedTo: z.ZodNullable<z.ZodString>;
4952
+ assignedEmail: z.ZodNullable<z.ZodString>;
4953
+ user: z.ZodObject<{
4954
+ id: z.ZodString;
4955
+ email: z.ZodString;
4956
+ displayName: z.ZodNullable<z.ZodString>;
4957
+ memberSince: z.ZodString;
4958
+ rankName: z.ZodNullable<z.ZodString>;
4959
+ packageTier: z.ZodNullable<z.ZodNumber>;
4960
+ ticketsTotal: z.ZodNumber;
4961
+ }, "strip", z.ZodTypeAny, {
4962
+ id: string;
4963
+ email: string;
4964
+ displayName: string | null;
4965
+ memberSince: string;
4966
+ rankName: string | null;
4967
+ packageTier: number | null;
4968
+ ticketsTotal: number;
4969
+ }, {
4970
+ id: string;
4971
+ email: string;
4972
+ displayName: string | null;
4973
+ memberSince: string;
4974
+ rankName: string | null;
4975
+ packageTier: number | null;
4976
+ ticketsTotal: number;
4977
+ }>;
4978
+ }, "strip", z.ZodTypeAny, {
4979
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4980
+ user: {
4981
+ id: string;
4982
+ email: string;
4983
+ displayName: string | null;
4984
+ memberSince: string;
4985
+ rankName: string | null;
4986
+ packageTier: number | null;
4987
+ ticketsTotal: number;
4988
+ };
4989
+ id: string;
4990
+ createdAt: string;
4991
+ title: string;
4992
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4993
+ lastMessageAt: string;
4994
+ messages: {
4995
+ id: string;
4996
+ createdAt: string;
4997
+ body: string;
4998
+ authorType: "user" | "support" | "system";
4999
+ attachments: {
5000
+ id: string;
5001
+ contentType: string;
5002
+ url: string;
4697
5003
  fileName: string;
4698
5004
  sizeBytes: number;
5005
+ }[];
5006
+ }[];
5007
+ userEmail: string;
5008
+ assignedTo: string | null;
5009
+ assignedEmail: string | null;
5010
+ }, {
5011
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5012
+ user: {
5013
+ id: string;
5014
+ email: string;
5015
+ displayName: string | null;
5016
+ memberSince: string;
5017
+ rankName: string | null;
5018
+ packageTier: number | null;
5019
+ ticketsTotal: number;
5020
+ };
5021
+ id: string;
5022
+ createdAt: string;
5023
+ title: string;
5024
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5025
+ lastMessageAt: string;
5026
+ messages: {
5027
+ id: string;
5028
+ createdAt: string;
5029
+ body: string;
5030
+ authorType: "user" | "support" | "system";
5031
+ attachments: {
5032
+ id: string;
5033
+ contentType: string;
4699
5034
  url: string;
5035
+ fileName: string;
5036
+ sizeBytes: number;
5037
+ }[];
5038
+ }[];
5039
+ userEmail: string;
5040
+ assignedTo: string | null;
5041
+ assignedEmail: string | null;
5042
+ }>;
5043
+ type SupportTicketDetail = z.infer<typeof SupportTicketDetailSchema>;
5044
+
5045
+ declare namespace ListSupportTicketsCommand {
5046
+ const endpointDetails: EndpointDetails;
5047
+ const QuerySchema: z.ZodObject<{
5048
+ scope: z.ZodDefault<z.ZodEnum<["pool", "mine", "closed"]>>;
5049
+ page: z.ZodDefault<z.ZodNumber>;
5050
+ pageSize: z.ZodDefault<z.ZodNumber>;
5051
+ }, "strip", z.ZodTypeAny, {
5052
+ page: number;
5053
+ pageSize: number;
5054
+ scope: "closed" | "pool" | "mine";
5055
+ }, {
5056
+ page?: number | undefined;
5057
+ pageSize?: number | undefined;
5058
+ scope?: "closed" | "pool" | "mine" | undefined;
5059
+ }>;
5060
+ type Query = z.infer<typeof QuerySchema>;
5061
+ const ResponseSchema: z.ZodObject<{
5062
+ items: z.ZodArray<z.ZodObject<{
5063
+ id: z.ZodString;
5064
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5065
+ title: z.ZodString;
5066
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5067
+ lastMessageAt: z.ZodString;
5068
+ createdAt: z.ZodString;
5069
+ } & {
5070
+ userEmail: z.ZodString;
5071
+ assignedTo: z.ZodNullable<z.ZodString>;
5072
+ assignedEmail: z.ZodNullable<z.ZodString>;
5073
+ }, "strip", z.ZodTypeAny, {
5074
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5075
+ id: string;
5076
+ createdAt: string;
5077
+ title: string;
5078
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5079
+ lastMessageAt: string;
5080
+ userEmail: string;
5081
+ assignedTo: string | null;
5082
+ assignedEmail: string | null;
5083
+ }, {
5084
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5085
+ id: string;
5086
+ createdAt: string;
5087
+ title: string;
5088
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5089
+ lastMessageAt: string;
5090
+ userEmail: string;
5091
+ assignedTo: string | null;
5092
+ assignedEmail: string | null;
5093
+ }>, "many">;
5094
+ total: z.ZodNumber;
5095
+ poolCount: z.ZodNumber;
5096
+ mineCount: z.ZodNumber;
5097
+ }, "strip", z.ZodTypeAny, {
5098
+ items: {
5099
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5100
+ id: string;
5101
+ createdAt: string;
5102
+ title: string;
5103
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5104
+ lastMessageAt: string;
5105
+ userEmail: string;
5106
+ assignedTo: string | null;
5107
+ assignedEmail: string | null;
5108
+ }[];
5109
+ total: number;
5110
+ poolCount: number;
5111
+ mineCount: number;
5112
+ }, {
5113
+ items: {
5114
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5115
+ id: string;
5116
+ createdAt: string;
5117
+ title: string;
5118
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5119
+ lastMessageAt: string;
5120
+ userEmail: string;
5121
+ assignedTo: string | null;
5122
+ assignedEmail: string | null;
5123
+ }[];
5124
+ total: number;
5125
+ poolCount: number;
5126
+ mineCount: number;
5127
+ }>;
5128
+ type Response = z.infer<typeof ResponseSchema>;
5129
+ }
5130
+ declare namespace GetSupportTicketCommand {
5131
+ const endpointDetails: EndpointDetails;
5132
+ const ResponseSchema: z.ZodObject<{
5133
+ id: z.ZodString;
5134
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5135
+ title: z.ZodString;
5136
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5137
+ lastMessageAt: z.ZodString;
5138
+ createdAt: z.ZodString;
5139
+ } & {
5140
+ messages: z.ZodArray<z.ZodObject<{
5141
+ id: z.ZodString;
5142
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5143
+ body: z.ZodString;
5144
+ attachments: z.ZodArray<z.ZodObject<{
5145
+ id: z.ZodString;
5146
+ fileName: z.ZodString;
5147
+ contentType: z.ZodString;
5148
+ sizeBytes: z.ZodNumber;
5149
+ url: z.ZodString;
5150
+ }, "strip", z.ZodTypeAny, {
5151
+ id: string;
5152
+ contentType: string;
5153
+ url: string;
5154
+ fileName: string;
5155
+ sizeBytes: number;
5156
+ }, {
5157
+ id: string;
5158
+ contentType: string;
5159
+ url: string;
5160
+ fileName: string;
5161
+ sizeBytes: number;
5162
+ }>, "many">;
5163
+ createdAt: z.ZodString;
5164
+ }, "strip", z.ZodTypeAny, {
5165
+ id: string;
5166
+ createdAt: string;
5167
+ body: string;
5168
+ authorType: "user" | "support" | "system";
5169
+ attachments: {
5170
+ id: string;
5171
+ contentType: string;
5172
+ url: string;
5173
+ fileName: string;
5174
+ sizeBytes: number;
5175
+ }[];
5176
+ }, {
5177
+ id: string;
5178
+ createdAt: string;
5179
+ body: string;
5180
+ authorType: "user" | "support" | "system";
5181
+ attachments: {
5182
+ id: string;
5183
+ contentType: string;
5184
+ url: string;
5185
+ fileName: string;
5186
+ sizeBytes: number;
5187
+ }[];
5188
+ }>, "many">;
5189
+ } & {
5190
+ userEmail: z.ZodString;
5191
+ assignedTo: z.ZodNullable<z.ZodString>;
5192
+ assignedEmail: z.ZodNullable<z.ZodString>;
5193
+ user: z.ZodObject<{
5194
+ id: z.ZodString;
5195
+ email: z.ZodString;
5196
+ displayName: z.ZodNullable<z.ZodString>;
5197
+ memberSince: z.ZodString;
5198
+ rankName: z.ZodNullable<z.ZodString>;
5199
+ packageTier: z.ZodNullable<z.ZodNumber>;
5200
+ ticketsTotal: z.ZodNumber;
5201
+ }, "strip", z.ZodTypeAny, {
5202
+ id: string;
5203
+ email: string;
5204
+ displayName: string | null;
5205
+ memberSince: string;
5206
+ rankName: string | null;
5207
+ packageTier: number | null;
5208
+ ticketsTotal: number;
5209
+ }, {
5210
+ id: string;
5211
+ email: string;
5212
+ displayName: string | null;
5213
+ memberSince: string;
5214
+ rankName: string | null;
5215
+ packageTier: number | null;
5216
+ ticketsTotal: number;
5217
+ }>;
5218
+ }, "strip", z.ZodTypeAny, {
5219
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5220
+ user: {
5221
+ id: string;
5222
+ email: string;
5223
+ displayName: string | null;
5224
+ memberSince: string;
5225
+ rankName: string | null;
5226
+ packageTier: number | null;
5227
+ ticketsTotal: number;
5228
+ };
5229
+ id: string;
5230
+ createdAt: string;
5231
+ title: string;
5232
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5233
+ lastMessageAt: string;
5234
+ messages: {
5235
+ id: string;
5236
+ createdAt: string;
5237
+ body: string;
5238
+ authorType: "user" | "support" | "system";
5239
+ attachments: {
5240
+ id: string;
5241
+ contentType: string;
5242
+ url: string;
5243
+ fileName: string;
5244
+ sizeBytes: number;
5245
+ }[];
5246
+ }[];
5247
+ userEmail: string;
5248
+ assignedTo: string | null;
5249
+ assignedEmail: string | null;
5250
+ }, {
5251
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5252
+ user: {
5253
+ id: string;
5254
+ email: string;
5255
+ displayName: string | null;
5256
+ memberSince: string;
5257
+ rankName: string | null;
5258
+ packageTier: number | null;
5259
+ ticketsTotal: number;
5260
+ };
5261
+ id: string;
5262
+ createdAt: string;
5263
+ title: string;
5264
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5265
+ lastMessageAt: string;
5266
+ messages: {
5267
+ id: string;
5268
+ createdAt: string;
5269
+ body: string;
5270
+ authorType: "user" | "support" | "system";
5271
+ attachments: {
5272
+ id: string;
5273
+ contentType: string;
5274
+ url: string;
5275
+ fileName: string;
5276
+ sizeBytes: number;
5277
+ }[];
5278
+ }[];
5279
+ userEmail: string;
5280
+ assignedTo: string | null;
5281
+ assignedEmail: string | null;
5282
+ }>;
5283
+ type Response = z.infer<typeof ResponseSchema>;
5284
+ }
5285
+ declare namespace ClaimTicketCommand {
5286
+ const endpointDetails: EndpointDetails;
5287
+ const ResponseSchema: z.ZodObject<{
5288
+ id: z.ZodString;
5289
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5290
+ title: z.ZodString;
5291
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5292
+ lastMessageAt: z.ZodString;
5293
+ createdAt: z.ZodString;
5294
+ } & {
5295
+ messages: z.ZodArray<z.ZodObject<{
5296
+ id: z.ZodString;
5297
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5298
+ body: z.ZodString;
5299
+ attachments: z.ZodArray<z.ZodObject<{
5300
+ id: z.ZodString;
5301
+ fileName: z.ZodString;
5302
+ contentType: z.ZodString;
5303
+ sizeBytes: z.ZodNumber;
5304
+ url: z.ZodString;
5305
+ }, "strip", z.ZodTypeAny, {
5306
+ id: string;
5307
+ contentType: string;
5308
+ url: string;
5309
+ fileName: string;
5310
+ sizeBytes: number;
5311
+ }, {
5312
+ id: string;
5313
+ contentType: string;
5314
+ url: string;
5315
+ fileName: string;
5316
+ sizeBytes: number;
5317
+ }>, "many">;
5318
+ createdAt: z.ZodString;
5319
+ }, "strip", z.ZodTypeAny, {
5320
+ id: string;
5321
+ createdAt: string;
5322
+ body: string;
5323
+ authorType: "user" | "support" | "system";
5324
+ attachments: {
5325
+ id: string;
5326
+ contentType: string;
5327
+ url: string;
5328
+ fileName: string;
5329
+ sizeBytes: number;
5330
+ }[];
5331
+ }, {
5332
+ id: string;
5333
+ createdAt: string;
5334
+ body: string;
5335
+ authorType: "user" | "support" | "system";
5336
+ attachments: {
5337
+ id: string;
5338
+ contentType: string;
5339
+ url: string;
5340
+ fileName: string;
5341
+ sizeBytes: number;
5342
+ }[];
5343
+ }>, "many">;
5344
+ } & {
5345
+ userEmail: z.ZodString;
5346
+ assignedTo: z.ZodNullable<z.ZodString>;
5347
+ assignedEmail: z.ZodNullable<z.ZodString>;
5348
+ user: z.ZodObject<{
5349
+ id: z.ZodString;
5350
+ email: z.ZodString;
5351
+ displayName: z.ZodNullable<z.ZodString>;
5352
+ memberSince: z.ZodString;
5353
+ rankName: z.ZodNullable<z.ZodString>;
5354
+ packageTier: z.ZodNullable<z.ZodNumber>;
5355
+ ticketsTotal: z.ZodNumber;
5356
+ }, "strip", z.ZodTypeAny, {
5357
+ id: string;
5358
+ email: string;
5359
+ displayName: string | null;
5360
+ memberSince: string;
5361
+ rankName: string | null;
5362
+ packageTier: number | null;
5363
+ ticketsTotal: number;
5364
+ }, {
5365
+ id: string;
5366
+ email: string;
5367
+ displayName: string | null;
5368
+ memberSince: string;
5369
+ rankName: string | null;
5370
+ packageTier: number | null;
5371
+ ticketsTotal: number;
5372
+ }>;
5373
+ }, "strip", z.ZodTypeAny, {
5374
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5375
+ user: {
5376
+ id: string;
5377
+ email: string;
5378
+ displayName: string | null;
5379
+ memberSince: string;
5380
+ rankName: string | null;
5381
+ packageTier: number | null;
5382
+ ticketsTotal: number;
5383
+ };
5384
+ id: string;
5385
+ createdAt: string;
5386
+ title: string;
5387
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5388
+ lastMessageAt: string;
5389
+ messages: {
5390
+ id: string;
5391
+ createdAt: string;
5392
+ body: string;
5393
+ authorType: "user" | "support" | "system";
5394
+ attachments: {
5395
+ id: string;
5396
+ contentType: string;
5397
+ url: string;
5398
+ fileName: string;
5399
+ sizeBytes: number;
5400
+ }[];
5401
+ }[];
5402
+ userEmail: string;
5403
+ assignedTo: string | null;
5404
+ assignedEmail: string | null;
5405
+ }, {
5406
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5407
+ user: {
5408
+ id: string;
5409
+ email: string;
5410
+ displayName: string | null;
5411
+ memberSince: string;
5412
+ rankName: string | null;
5413
+ packageTier: number | null;
5414
+ ticketsTotal: number;
5415
+ };
5416
+ id: string;
5417
+ createdAt: string;
5418
+ title: string;
5419
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5420
+ lastMessageAt: string;
5421
+ messages: {
5422
+ id: string;
5423
+ createdAt: string;
5424
+ body: string;
5425
+ authorType: "user" | "support" | "system";
5426
+ attachments: {
5427
+ id: string;
5428
+ contentType: string;
5429
+ url: string;
5430
+ fileName: string;
5431
+ sizeBytes: number;
5432
+ }[];
5433
+ }[];
5434
+ userEmail: string;
5435
+ assignedTo: string | null;
5436
+ assignedEmail: string | null;
5437
+ }>;
5438
+ type Response = z.infer<typeof ResponseSchema>;
5439
+ }
5440
+ declare namespace SupportReplyTicketCommand {
5441
+ const endpointDetails: EndpointDetails;
5442
+ const RequestSchema: z.ZodObject<{
5443
+ body: z.ZodString;
5444
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
5445
+ fileKey: z.ZodString;
5446
+ fileName: z.ZodString;
5447
+ contentType: z.ZodString;
5448
+ sizeBytes: z.ZodNumber;
5449
+ }, "strip", z.ZodTypeAny, {
5450
+ contentType: string;
5451
+ fileName: string;
5452
+ sizeBytes: number;
5453
+ fileKey: string;
5454
+ }, {
5455
+ contentType: string;
5456
+ fileName: string;
5457
+ sizeBytes: number;
5458
+ fileKey: string;
5459
+ }>, "many">>;
5460
+ }, "strip", z.ZodTypeAny, {
5461
+ body: string;
5462
+ attachments?: {
5463
+ contentType: string;
5464
+ fileName: string;
5465
+ sizeBytes: number;
5466
+ fileKey: string;
5467
+ }[] | undefined;
5468
+ }, {
5469
+ body: string;
5470
+ attachments?: {
5471
+ contentType: string;
5472
+ fileName: string;
5473
+ sizeBytes: number;
5474
+ fileKey: string;
5475
+ }[] | undefined;
5476
+ }>;
5477
+ type Request = z.infer<typeof RequestSchema>;
5478
+ const ResponseSchema: z.ZodObject<{
5479
+ id: z.ZodString;
5480
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5481
+ title: z.ZodString;
5482
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5483
+ lastMessageAt: z.ZodString;
5484
+ createdAt: z.ZodString;
5485
+ } & {
5486
+ messages: z.ZodArray<z.ZodObject<{
5487
+ id: z.ZodString;
5488
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5489
+ body: z.ZodString;
5490
+ attachments: z.ZodArray<z.ZodObject<{
5491
+ id: z.ZodString;
5492
+ fileName: z.ZodString;
5493
+ contentType: z.ZodString;
5494
+ sizeBytes: z.ZodNumber;
5495
+ url: z.ZodString;
5496
+ }, "strip", z.ZodTypeAny, {
5497
+ id: string;
5498
+ contentType: string;
5499
+ url: string;
5500
+ fileName: string;
5501
+ sizeBytes: number;
5502
+ }, {
5503
+ id: string;
5504
+ contentType: string;
5505
+ url: string;
5506
+ fileName: string;
5507
+ sizeBytes: number;
5508
+ }>, "many">;
5509
+ createdAt: z.ZodString;
5510
+ }, "strip", z.ZodTypeAny, {
5511
+ id: string;
5512
+ createdAt: string;
5513
+ body: string;
5514
+ authorType: "user" | "support" | "system";
5515
+ attachments: {
5516
+ id: string;
5517
+ contentType: string;
5518
+ url: string;
5519
+ fileName: string;
5520
+ sizeBytes: number;
5521
+ }[];
5522
+ }, {
5523
+ id: string;
5524
+ createdAt: string;
5525
+ body: string;
5526
+ authorType: "user" | "support" | "system";
5527
+ attachments: {
5528
+ id: string;
5529
+ contentType: string;
5530
+ url: string;
5531
+ fileName: string;
5532
+ sizeBytes: number;
5533
+ }[];
5534
+ }>, "many">;
5535
+ } & {
5536
+ userEmail: z.ZodString;
5537
+ assignedTo: z.ZodNullable<z.ZodString>;
5538
+ assignedEmail: z.ZodNullable<z.ZodString>;
5539
+ user: z.ZodObject<{
5540
+ id: z.ZodString;
5541
+ email: z.ZodString;
5542
+ displayName: z.ZodNullable<z.ZodString>;
5543
+ memberSince: z.ZodString;
5544
+ rankName: z.ZodNullable<z.ZodString>;
5545
+ packageTier: z.ZodNullable<z.ZodNumber>;
5546
+ ticketsTotal: z.ZodNumber;
5547
+ }, "strip", z.ZodTypeAny, {
5548
+ id: string;
5549
+ email: string;
5550
+ displayName: string | null;
5551
+ memberSince: string;
5552
+ rankName: string | null;
5553
+ packageTier: number | null;
5554
+ ticketsTotal: number;
4700
5555
  }, {
4701
5556
  id: string;
4702
- contentType: string;
4703
- fileName: string;
4704
- sizeBytes: number;
4705
- url: string;
4706
- }>, "many">;
4707
- createdAt: z.ZodString;
5557
+ email: string;
5558
+ displayName: string | null;
5559
+ memberSince: string;
5560
+ rankName: string | null;
5561
+ packageTier: number | null;
5562
+ ticketsTotal: number;
5563
+ }>;
4708
5564
  }, "strip", z.ZodTypeAny, {
5565
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5566
+ user: {
5567
+ id: string;
5568
+ email: string;
5569
+ displayName: string | null;
5570
+ memberSince: string;
5571
+ rankName: string | null;
5572
+ packageTier: number | null;
5573
+ ticketsTotal: number;
5574
+ };
4709
5575
  id: string;
4710
5576
  createdAt: string;
4711
- body: string;
4712
- authorType: "user" | "support";
4713
- attachments: {
5577
+ title: string;
5578
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5579
+ lastMessageAt: string;
5580
+ messages: {
4714
5581
  id: string;
4715
- contentType: string;
4716
- fileName: string;
4717
- sizeBytes: number;
4718
- url: string;
5582
+ createdAt: string;
5583
+ body: string;
5584
+ authorType: "user" | "support" | "system";
5585
+ attachments: {
5586
+ id: string;
5587
+ contentType: string;
5588
+ url: string;
5589
+ fileName: string;
5590
+ sizeBytes: number;
5591
+ }[];
4719
5592
  }[];
5593
+ userEmail: string;
5594
+ assignedTo: string | null;
5595
+ assignedEmail: string | null;
4720
5596
  }, {
5597
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5598
+ user: {
5599
+ id: string;
5600
+ email: string;
5601
+ displayName: string | null;
5602
+ memberSince: string;
5603
+ rankName: string | null;
5604
+ packageTier: number | null;
5605
+ ticketsTotal: number;
5606
+ };
4721
5607
  id: string;
4722
5608
  createdAt: string;
4723
- body: string;
4724
- authorType: "user" | "support";
4725
- attachments: {
5609
+ title: string;
5610
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5611
+ lastMessageAt: string;
5612
+ messages: {
4726
5613
  id: string;
4727
- contentType: string;
4728
- fileName: string;
4729
- sizeBytes: number;
4730
- url: string;
5614
+ createdAt: string;
5615
+ body: string;
5616
+ authorType: "user" | "support" | "system";
5617
+ attachments: {
5618
+ id: string;
5619
+ contentType: string;
5620
+ url: string;
5621
+ fileName: string;
5622
+ sizeBytes: number;
5623
+ }[];
4731
5624
  }[];
4732
- }>, "many">;
4733
- }, "strip", z.ZodTypeAny, {
4734
- status: "pending" | "open" | "answered" | "resolved";
4735
- id: string;
4736
- createdAt: string;
4737
- title: string;
4738
- category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4739
- lastMessageAt: string;
4740
- messages: {
5625
+ userEmail: string;
5626
+ assignedTo: string | null;
5627
+ assignedEmail: string | null;
5628
+ }>;
5629
+ type Response = z.infer<typeof ResponseSchema>;
5630
+ }
5631
+ declare namespace ResolveTicketCommand {
5632
+ const endpointDetails: EndpointDetails;
5633
+ const ResponseSchema: z.ZodObject<{
5634
+ id: z.ZodString;
5635
+ category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5636
+ title: z.ZodString;
5637
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5638
+ lastMessageAt: z.ZodString;
5639
+ createdAt: z.ZodString;
5640
+ } & {
5641
+ messages: z.ZodArray<z.ZodObject<{
5642
+ id: z.ZodString;
5643
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5644
+ body: z.ZodString;
5645
+ attachments: z.ZodArray<z.ZodObject<{
5646
+ id: z.ZodString;
5647
+ fileName: z.ZodString;
5648
+ contentType: z.ZodString;
5649
+ sizeBytes: z.ZodNumber;
5650
+ url: z.ZodString;
5651
+ }, "strip", z.ZodTypeAny, {
5652
+ id: string;
5653
+ contentType: string;
5654
+ url: string;
5655
+ fileName: string;
5656
+ sizeBytes: number;
5657
+ }, {
5658
+ id: string;
5659
+ contentType: string;
5660
+ url: string;
5661
+ fileName: string;
5662
+ sizeBytes: number;
5663
+ }>, "many">;
5664
+ createdAt: z.ZodString;
5665
+ }, "strip", z.ZodTypeAny, {
5666
+ id: string;
5667
+ createdAt: string;
5668
+ body: string;
5669
+ authorType: "user" | "support" | "system";
5670
+ attachments: {
5671
+ id: string;
5672
+ contentType: string;
5673
+ url: string;
5674
+ fileName: string;
5675
+ sizeBytes: number;
5676
+ }[];
5677
+ }, {
5678
+ id: string;
5679
+ createdAt: string;
5680
+ body: string;
5681
+ authorType: "user" | "support" | "system";
5682
+ attachments: {
5683
+ id: string;
5684
+ contentType: string;
5685
+ url: string;
5686
+ fileName: string;
5687
+ sizeBytes: number;
5688
+ }[];
5689
+ }>, "many">;
5690
+ } & {
5691
+ userEmail: z.ZodString;
5692
+ assignedTo: z.ZodNullable<z.ZodString>;
5693
+ assignedEmail: z.ZodNullable<z.ZodString>;
5694
+ user: z.ZodObject<{
5695
+ id: z.ZodString;
5696
+ email: z.ZodString;
5697
+ displayName: z.ZodNullable<z.ZodString>;
5698
+ memberSince: z.ZodString;
5699
+ rankName: z.ZodNullable<z.ZodString>;
5700
+ packageTier: z.ZodNullable<z.ZodNumber>;
5701
+ ticketsTotal: z.ZodNumber;
5702
+ }, "strip", z.ZodTypeAny, {
5703
+ id: string;
5704
+ email: string;
5705
+ displayName: string | null;
5706
+ memberSince: string;
5707
+ rankName: string | null;
5708
+ packageTier: number | null;
5709
+ ticketsTotal: number;
5710
+ }, {
5711
+ id: string;
5712
+ email: string;
5713
+ displayName: string | null;
5714
+ memberSince: string;
5715
+ rankName: string | null;
5716
+ packageTier: number | null;
5717
+ ticketsTotal: number;
5718
+ }>;
5719
+ }, "strip", z.ZodTypeAny, {
5720
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5721
+ user: {
5722
+ id: string;
5723
+ email: string;
5724
+ displayName: string | null;
5725
+ memberSince: string;
5726
+ rankName: string | null;
5727
+ packageTier: number | null;
5728
+ ticketsTotal: number;
5729
+ };
4741
5730
  id: string;
4742
5731
  createdAt: string;
4743
- body: string;
4744
- authorType: "user" | "support";
4745
- attachments: {
5732
+ title: string;
5733
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5734
+ lastMessageAt: string;
5735
+ messages: {
4746
5736
  id: string;
4747
- contentType: string;
4748
- fileName: string;
4749
- sizeBytes: number;
4750
- url: string;
5737
+ createdAt: string;
5738
+ body: string;
5739
+ authorType: "user" | "support" | "system";
5740
+ attachments: {
5741
+ id: string;
5742
+ contentType: string;
5743
+ url: string;
5744
+ fileName: string;
5745
+ sizeBytes: number;
5746
+ }[];
4751
5747
  }[];
4752
- }[];
4753
- }, {
4754
- status: "pending" | "open" | "answered" | "resolved";
4755
- id: string;
4756
- createdAt: string;
4757
- title: string;
4758
- category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4759
- lastMessageAt: string;
4760
- messages: {
5748
+ userEmail: string;
5749
+ assignedTo: string | null;
5750
+ assignedEmail: string | null;
5751
+ }, {
5752
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5753
+ user: {
5754
+ id: string;
5755
+ email: string;
5756
+ displayName: string | null;
5757
+ memberSince: string;
5758
+ rankName: string | null;
5759
+ packageTier: number | null;
5760
+ ticketsTotal: number;
5761
+ };
4761
5762
  id: string;
4762
5763
  createdAt: string;
4763
- body: string;
4764
- authorType: "user" | "support";
4765
- attachments: {
5764
+ title: string;
5765
+ category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
5766
+ lastMessageAt: string;
5767
+ messages: {
4766
5768
  id: string;
4767
- contentType: string;
4768
- fileName: string;
4769
- sizeBytes: number;
4770
- url: string;
5769
+ createdAt: string;
5770
+ body: string;
5771
+ authorType: "user" | "support" | "system";
5772
+ attachments: {
5773
+ id: string;
5774
+ contentType: string;
5775
+ url: string;
5776
+ fileName: string;
5777
+ sizeBytes: number;
5778
+ }[];
4771
5779
  }[];
4772
- }[];
4773
- }>;
4774
- type TicketDetail = z.infer<typeof TicketDetailSchema>;
4775
- declare const TicketAttachmentInputSchema: z.ZodObject<{
4776
- fileKey: z.ZodString;
4777
- fileName: z.ZodString;
4778
- contentType: z.ZodString;
4779
- sizeBytes: z.ZodNumber;
4780
- }, "strip", z.ZodTypeAny, {
4781
- contentType: string;
4782
- fileName: string;
4783
- sizeBytes: number;
4784
- fileKey: string;
4785
- }, {
4786
- contentType: string;
4787
- fileName: string;
4788
- sizeBytes: number;
4789
- fileKey: string;
4790
- }>;
4791
- type TicketAttachmentInput = z.infer<typeof TicketAttachmentInputSchema>;
5780
+ userEmail: string;
5781
+ assignedTo: string | null;
5782
+ assignedEmail: string | null;
5783
+ }>;
5784
+ type Response = z.infer<typeof ResponseSchema>;
5785
+ }
4792
5786
 
4793
5787
  declare namespace ListTicketsCommand {
4794
5788
  const endpointDetails: EndpointDetails;
@@ -4797,18 +5791,18 @@ declare namespace ListTicketsCommand {
4797
5791
  id: z.ZodString;
4798
5792
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4799
5793
  title: z.ZodString;
4800
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5794
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4801
5795
  lastMessageAt: z.ZodString;
4802
5796
  createdAt: z.ZodString;
4803
5797
  }, "strip", z.ZodTypeAny, {
4804
- status: "pending" | "open" | "answered" | "resolved";
5798
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4805
5799
  id: string;
4806
5800
  createdAt: string;
4807
5801
  title: string;
4808
5802
  category: "partners" | "account" | "deposit" | "withdrawal" | "trading" | "other";
4809
5803
  lastMessageAt: string;
4810
5804
  }, {
4811
- status: "pending" | "open" | "answered" | "resolved";
5805
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4812
5806
  id: string;
4813
5807
  createdAt: string;
4814
5808
  title: string;
@@ -4817,7 +5811,7 @@ declare namespace ListTicketsCommand {
4817
5811
  }>, "many">;
4818
5812
  }, "strip", z.ZodTypeAny, {
4819
5813
  items: {
4820
- status: "pending" | "open" | "answered" | "resolved";
5814
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4821
5815
  id: string;
4822
5816
  createdAt: string;
4823
5817
  title: string;
@@ -4826,7 +5820,7 @@ declare namespace ListTicketsCommand {
4826
5820
  }[];
4827
5821
  }, {
4828
5822
  items: {
4829
- status: "pending" | "open" | "answered" | "resolved";
5823
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4830
5824
  id: string;
4831
5825
  createdAt: string;
4832
5826
  title: string;
@@ -4842,13 +5836,13 @@ declare namespace GetTicketCommand {
4842
5836
  id: z.ZodString;
4843
5837
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4844
5838
  title: z.ZodString;
4845
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5839
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4846
5840
  lastMessageAt: z.ZodString;
4847
5841
  createdAt: z.ZodString;
4848
5842
  } & {
4849
5843
  messages: z.ZodArray<z.ZodObject<{
4850
5844
  id: z.ZodString;
4851
- authorType: z.ZodEnum<["user", "support"]>;
5845
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4852
5846
  body: z.ZodString;
4853
5847
  attachments: z.ZodArray<z.ZodObject<{
4854
5848
  id: z.ZodString;
@@ -4859,44 +5853,44 @@ declare namespace GetTicketCommand {
4859
5853
  }, "strip", z.ZodTypeAny, {
4860
5854
  id: string;
4861
5855
  contentType: string;
5856
+ url: string;
4862
5857
  fileName: string;
4863
5858
  sizeBytes: number;
4864
- url: string;
4865
5859
  }, {
4866
5860
  id: string;
4867
5861
  contentType: string;
5862
+ url: string;
4868
5863
  fileName: string;
4869
5864
  sizeBytes: number;
4870
- url: string;
4871
5865
  }>, "many">;
4872
5866
  createdAt: z.ZodString;
4873
5867
  }, "strip", z.ZodTypeAny, {
4874
5868
  id: string;
4875
5869
  createdAt: string;
4876
5870
  body: string;
4877
- authorType: "user" | "support";
5871
+ authorType: "user" | "support" | "system";
4878
5872
  attachments: {
4879
5873
  id: string;
4880
5874
  contentType: string;
5875
+ url: string;
4881
5876
  fileName: string;
4882
5877
  sizeBytes: number;
4883
- url: string;
4884
5878
  }[];
4885
5879
  }, {
4886
5880
  id: string;
4887
5881
  createdAt: string;
4888
5882
  body: string;
4889
- authorType: "user" | "support";
5883
+ authorType: "user" | "support" | "system";
4890
5884
  attachments: {
4891
5885
  id: string;
4892
5886
  contentType: string;
5887
+ url: string;
4893
5888
  fileName: string;
4894
5889
  sizeBytes: number;
4895
- url: string;
4896
5890
  }[];
4897
5891
  }>, "many">;
4898
5892
  }, "strip", z.ZodTypeAny, {
4899
- status: "pending" | "open" | "answered" | "resolved";
5893
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4900
5894
  id: string;
4901
5895
  createdAt: string;
4902
5896
  title: string;
@@ -4906,17 +5900,17 @@ declare namespace GetTicketCommand {
4906
5900
  id: string;
4907
5901
  createdAt: string;
4908
5902
  body: string;
4909
- authorType: "user" | "support";
5903
+ authorType: "user" | "support" | "system";
4910
5904
  attachments: {
4911
5905
  id: string;
4912
5906
  contentType: string;
5907
+ url: string;
4913
5908
  fileName: string;
4914
5909
  sizeBytes: number;
4915
- url: string;
4916
5910
  }[];
4917
5911
  }[];
4918
5912
  }, {
4919
- status: "pending" | "open" | "answered" | "resolved";
5913
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
4920
5914
  id: string;
4921
5915
  createdAt: string;
4922
5916
  title: string;
@@ -4926,13 +5920,13 @@ declare namespace GetTicketCommand {
4926
5920
  id: string;
4927
5921
  createdAt: string;
4928
5922
  body: string;
4929
- authorType: "user" | "support";
5923
+ authorType: "user" | "support" | "system";
4930
5924
  attachments: {
4931
5925
  id: string;
4932
5926
  contentType: string;
5927
+ url: string;
4933
5928
  fileName: string;
4934
5929
  sizeBytes: number;
4935
- url: string;
4936
5930
  }[];
4937
5931
  }[];
4938
5932
  }>;
@@ -4986,13 +5980,13 @@ declare namespace CreateTicketCommand {
4986
5980
  id: z.ZodString;
4987
5981
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
4988
5982
  title: z.ZodString;
4989
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
5983
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
4990
5984
  lastMessageAt: z.ZodString;
4991
5985
  createdAt: z.ZodString;
4992
5986
  } & {
4993
5987
  messages: z.ZodArray<z.ZodObject<{
4994
5988
  id: z.ZodString;
4995
- authorType: z.ZodEnum<["user", "support"]>;
5989
+ authorType: z.ZodEnum<["user", "support", "system"]>;
4996
5990
  body: z.ZodString;
4997
5991
  attachments: z.ZodArray<z.ZodObject<{
4998
5992
  id: z.ZodString;
@@ -5003,44 +5997,44 @@ declare namespace CreateTicketCommand {
5003
5997
  }, "strip", z.ZodTypeAny, {
5004
5998
  id: string;
5005
5999
  contentType: string;
6000
+ url: string;
5006
6001
  fileName: string;
5007
6002
  sizeBytes: number;
5008
- url: string;
5009
6003
  }, {
5010
6004
  id: string;
5011
6005
  contentType: string;
6006
+ url: string;
5012
6007
  fileName: string;
5013
6008
  sizeBytes: number;
5014
- url: string;
5015
6009
  }>, "many">;
5016
6010
  createdAt: z.ZodString;
5017
6011
  }, "strip", z.ZodTypeAny, {
5018
6012
  id: string;
5019
6013
  createdAt: string;
5020
6014
  body: string;
5021
- authorType: "user" | "support";
6015
+ authorType: "user" | "support" | "system";
5022
6016
  attachments: {
5023
6017
  id: string;
5024
6018
  contentType: string;
6019
+ url: string;
5025
6020
  fileName: string;
5026
6021
  sizeBytes: number;
5027
- url: string;
5028
6022
  }[];
5029
6023
  }, {
5030
6024
  id: string;
5031
6025
  createdAt: string;
5032
6026
  body: string;
5033
- authorType: "user" | "support";
6027
+ authorType: "user" | "support" | "system";
5034
6028
  attachments: {
5035
6029
  id: string;
5036
6030
  contentType: string;
6031
+ url: string;
5037
6032
  fileName: string;
5038
6033
  sizeBytes: number;
5039
- url: string;
5040
6034
  }[];
5041
6035
  }>, "many">;
5042
6036
  }, "strip", z.ZodTypeAny, {
5043
- status: "pending" | "open" | "answered" | "resolved";
6037
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5044
6038
  id: string;
5045
6039
  createdAt: string;
5046
6040
  title: string;
@@ -5050,17 +6044,17 @@ declare namespace CreateTicketCommand {
5050
6044
  id: string;
5051
6045
  createdAt: string;
5052
6046
  body: string;
5053
- authorType: "user" | "support";
6047
+ authorType: "user" | "support" | "system";
5054
6048
  attachments: {
5055
6049
  id: string;
5056
6050
  contentType: string;
6051
+ url: string;
5057
6052
  fileName: string;
5058
6053
  sizeBytes: number;
5059
- url: string;
5060
6054
  }[];
5061
6055
  }[];
5062
6056
  }, {
5063
- status: "pending" | "open" | "answered" | "resolved";
6057
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5064
6058
  id: string;
5065
6059
  createdAt: string;
5066
6060
  title: string;
@@ -5070,13 +6064,13 @@ declare namespace CreateTicketCommand {
5070
6064
  id: string;
5071
6065
  createdAt: string;
5072
6066
  body: string;
5073
- authorType: "user" | "support";
6067
+ authorType: "user" | "support" | "system";
5074
6068
  attachments: {
5075
6069
  id: string;
5076
6070
  contentType: string;
6071
+ url: string;
5077
6072
  fileName: string;
5078
6073
  sizeBytes: number;
5079
- url: string;
5080
6074
  }[];
5081
6075
  }[];
5082
6076
  }>;
@@ -5124,13 +6118,13 @@ declare namespace ReplyTicketCommand {
5124
6118
  id: z.ZodString;
5125
6119
  category: z.ZodEnum<["account", "deposit", "withdrawal", "trading", "partners", "other"]>;
5126
6120
  title: z.ZodString;
5127
- status: z.ZodEnum<["open", "pending", "answered", "resolved"]>;
6121
+ status: z.ZodEnum<["open", "pending", "answered", "resolved", "closed"]>;
5128
6122
  lastMessageAt: z.ZodString;
5129
6123
  createdAt: z.ZodString;
5130
6124
  } & {
5131
6125
  messages: z.ZodArray<z.ZodObject<{
5132
6126
  id: z.ZodString;
5133
- authorType: z.ZodEnum<["user", "support"]>;
6127
+ authorType: z.ZodEnum<["user", "support", "system"]>;
5134
6128
  body: z.ZodString;
5135
6129
  attachments: z.ZodArray<z.ZodObject<{
5136
6130
  id: z.ZodString;
@@ -5141,44 +6135,44 @@ declare namespace ReplyTicketCommand {
5141
6135
  }, "strip", z.ZodTypeAny, {
5142
6136
  id: string;
5143
6137
  contentType: string;
6138
+ url: string;
5144
6139
  fileName: string;
5145
6140
  sizeBytes: number;
5146
- url: string;
5147
6141
  }, {
5148
6142
  id: string;
5149
6143
  contentType: string;
6144
+ url: string;
5150
6145
  fileName: string;
5151
6146
  sizeBytes: number;
5152
- url: string;
5153
6147
  }>, "many">;
5154
6148
  createdAt: z.ZodString;
5155
6149
  }, "strip", z.ZodTypeAny, {
5156
6150
  id: string;
5157
6151
  createdAt: string;
5158
6152
  body: string;
5159
- authorType: "user" | "support";
6153
+ authorType: "user" | "support" | "system";
5160
6154
  attachments: {
5161
6155
  id: string;
5162
6156
  contentType: string;
6157
+ url: string;
5163
6158
  fileName: string;
5164
6159
  sizeBytes: number;
5165
- url: string;
5166
6160
  }[];
5167
6161
  }, {
5168
6162
  id: string;
5169
6163
  createdAt: string;
5170
6164
  body: string;
5171
- authorType: "user" | "support";
6165
+ authorType: "user" | "support" | "system";
5172
6166
  attachments: {
5173
6167
  id: string;
5174
6168
  contentType: string;
6169
+ url: string;
5175
6170
  fileName: string;
5176
6171
  sizeBytes: number;
5177
- url: string;
5178
6172
  }[];
5179
6173
  }>, "many">;
5180
6174
  }, "strip", z.ZodTypeAny, {
5181
- status: "pending" | "open" | "answered" | "resolved";
6175
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5182
6176
  id: string;
5183
6177
  createdAt: string;
5184
6178
  title: string;
@@ -5188,17 +6182,17 @@ declare namespace ReplyTicketCommand {
5188
6182
  id: string;
5189
6183
  createdAt: string;
5190
6184
  body: string;
5191
- authorType: "user" | "support";
6185
+ authorType: "user" | "support" | "system";
5192
6186
  attachments: {
5193
6187
  id: string;
5194
6188
  contentType: string;
6189
+ url: string;
5195
6190
  fileName: string;
5196
6191
  sizeBytes: number;
5197
- url: string;
5198
6192
  }[];
5199
6193
  }[];
5200
6194
  }, {
5201
- status: "pending" | "open" | "answered" | "resolved";
6195
+ status: "pending" | "open" | "answered" | "resolved" | "closed";
5202
6196
  id: string;
5203
6197
  createdAt: string;
5204
6198
  title: string;
@@ -5208,13 +6202,13 @@ declare namespace ReplyTicketCommand {
5208
6202
  id: string;
5209
6203
  createdAt: string;
5210
6204
  body: string;
5211
- authorType: "user" | "support";
6205
+ authorType: "user" | "support" | "system";
5212
6206
  attachments: {
5213
6207
  id: string;
5214
6208
  contentType: string;
6209
+ url: string;
5215
6210
  fileName: string;
5216
6211
  sizeBytes: number;
5217
- url: string;
5218
6212
  }[];
5219
6213
  }[];
5220
6214
  }>;
@@ -5320,6 +6314,7 @@ declare const REST_API: {
5320
6314
  readonly PREFERENCES: "/settings";
5321
6315
  readonly LINKS: "/settings/links";
5322
6316
  readonly LINK_TELEGRAM: "/settings/link/telegram";
6317
+ readonly LINK_TELEGRAM_CODE: "/settings/link/telegram/code";
5323
6318
  readonly LINK_GOOGLE: "/settings/link/google";
5324
6319
  readonly UNLINK: "/settings/link/:provider";
5325
6320
  };
@@ -5348,8 +6343,16 @@ declare const REST_API: {
5348
6343
  readonly REPLY: "/tickets/:id/messages";
5349
6344
  readonly ATTACHMENT_UPLOAD_URL: "/tickets/attachments/upload-url";
5350
6345
  };
6346
+ readonly SUPPORT_TICKETS: {
6347
+ readonly LIST: "/support/tickets";
6348
+ readonly STREAM: "/support/tickets/stream";
6349
+ readonly GET: "/support/tickets/:id";
6350
+ readonly CLAIM: "/support/tickets/:id/claim";
6351
+ readonly REPLY: "/support/tickets/:id/messages";
6352
+ readonly RESOLVE: "/support/tickets/:id/resolve";
6353
+ };
5351
6354
  };
5352
6355
  declare const API_PREFIX = "/api";
5353
6356
  declare const API_VERSION = "v1";
5354
6357
 
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 };
6358
+ 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, TelegramLinkCodeCommand, 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 };