@artu-ai/compliance-sdk 0.2.0 → 0.3.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.
Files changed (155) hide show
  1. package/dist/models/Client.d.ts.map +1 -1
  2. package/dist/models/Client.js +21 -3
  3. package/dist/models/ReportItem.d.ts +2 -2
  4. package/dist/models/ReportItem.d.ts.map +1 -1
  5. package/dist/models/ReportItem.js +4 -4
  6. package/dist/models/mex/MexReportItem.js +1 -1
  7. package/dist/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.js +1 -1
  8. package/dist/models/mex/actividad-vulnerable/avi/MexAVIReportItem.js +1 -1
  9. package/dist/models/mex/actividad-vulnerable/jys/MexJYSReportItem.js +1 -1
  10. package/dist/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.js +1 -1
  11. package/dist/resources/addresses.d.ts +3 -3
  12. package/dist/resources/addresses.d.ts.map +1 -1
  13. package/dist/resources/bank-accounts.d.ts +3 -3
  14. package/dist/resources/bank-accounts.d.ts.map +1 -1
  15. package/dist/resources/base.d.ts +7 -6
  16. package/dist/resources/base.d.ts.map +1 -1
  17. package/dist/resources/base.js +3 -0
  18. package/dist/resources/clients.d.ts +3 -3
  19. package/dist/resources/clients.d.ts.map +1 -1
  20. package/dist/resources/contact-methods.d.ts +3 -3
  21. package/dist/resources/contact-methods.d.ts.map +1 -1
  22. package/dist/resources/documents.d.ts +94 -7
  23. package/dist/resources/documents.d.ts.map +1 -1
  24. package/dist/resources/documents.js +107 -0
  25. package/dist/resources/index.d.ts +1 -1
  26. package/dist/resources/index.d.ts.map +1 -1
  27. package/dist/resources/index.js +1 -1
  28. package/dist/resources/mex/actividad-vulnerable/avi/clients.d.ts +9 -3
  29. package/dist/resources/mex/actividad-vulnerable/avi/clients.d.ts.map +1 -1
  30. package/dist/resources/mex/actividad-vulnerable/avi/clients.js +14 -1
  31. package/dist/resources/mex/actividad-vulnerable/avi/reports.d.ts +39 -21
  32. package/dist/resources/mex/actividad-vulnerable/avi/reports.d.ts.map +1 -1
  33. package/dist/resources/mex/actividad-vulnerable/avi/reports.js +88 -20
  34. package/dist/resources/mex/actividad-vulnerable/avi/transactions.d.ts +9 -3
  35. package/dist/resources/mex/actividad-vulnerable/avi/transactions.d.ts.map +1 -1
  36. package/dist/resources/mex/actividad-vulnerable/avi/transactions.js +14 -1
  37. package/dist/resources/mex/actividad-vulnerable/jys/clients.d.ts +10 -3
  38. package/dist/resources/mex/actividad-vulnerable/jys/clients.d.ts.map +1 -1
  39. package/dist/resources/mex/actividad-vulnerable/jys/clients.js +14 -1
  40. package/dist/resources/mex/actividad-vulnerable/jys/reports.d.ts +33 -11
  41. package/dist/resources/mex/actividad-vulnerable/jys/reports.d.ts.map +1 -1
  42. package/dist/resources/mex/actividad-vulnerable/jys/reports.js +82 -10
  43. package/dist/resources/mex/actividad-vulnerable/jys/transactions.d.ts +10 -3
  44. package/dist/resources/mex/actividad-vulnerable/jys/transactions.d.ts.map +1 -1
  45. package/dist/resources/mex/actividad-vulnerable/jys/transactions.js +14 -1
  46. package/dist/resources/mex/actividad-vulnerable/tsc/clients.d.ts +10 -3
  47. package/dist/resources/mex/actividad-vulnerable/tsc/clients.d.ts.map +1 -1
  48. package/dist/resources/mex/actividad-vulnerable/tsc/clients.js +14 -1
  49. package/dist/resources/mex/actividad-vulnerable/tsc/reports.d.ts +33 -11
  50. package/dist/resources/mex/actividad-vulnerable/tsc/reports.d.ts.map +1 -1
  51. package/dist/resources/mex/actividad-vulnerable/tsc/reports.js +82 -10
  52. package/dist/resources/mex/actividad-vulnerable/tsc/transactions.d.ts +10 -3
  53. package/dist/resources/mex/actividad-vulnerable/tsc/transactions.d.ts.map +1 -1
  54. package/dist/resources/mex/actividad-vulnerable/tsc/transactions.js +14 -1
  55. package/dist/resources/mex/addresses.d.ts +11 -3
  56. package/dist/resources/mex/addresses.d.ts.map +1 -1
  57. package/dist/resources/mex/addresses.js +16 -1
  58. package/dist/resources/mex/bank-accounts.d.ts +11 -3
  59. package/dist/resources/mex/bank-accounts.d.ts.map +1 -1
  60. package/dist/resources/mex/bank-accounts.js +16 -0
  61. package/dist/resources/mex/clients.d.ts +12 -3
  62. package/dist/resources/mex/clients.d.ts.map +1 -1
  63. package/dist/resources/mex/clients.js +17 -1
  64. package/dist/resources/mex/reports.d.ts +41 -19
  65. package/dist/resources/mex/reports.d.ts.map +1 -1
  66. package/dist/resources/mex/reports.js +55 -19
  67. package/dist/resources/mex/transactions.d.ts +11 -3
  68. package/dist/resources/mex/transactions.d.ts.map +1 -1
  69. package/dist/resources/mex/transactions.js +16 -1
  70. package/dist/resources/reports.d.ts +33 -39
  71. package/dist/resources/reports.d.ts.map +1 -1
  72. package/dist/resources/reports.js +34 -36
  73. package/dist/resources/transactions.d.ts +3 -3
  74. package/dist/resources/transactions.d.ts.map +1 -1
  75. package/dist/sdk/ComplianceSDK.d.ts +2 -0
  76. package/dist/sdk/ComplianceSDK.d.ts.map +1 -1
  77. package/dist/sdk/ComplianceSDK.js +17 -9
  78. package/dist/sdk/mex/ComplianceSDK.d.ts.map +1 -1
  79. package/dist/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.d.ts.map +1 -1
  80. package/dist/sdk/mex/actividad-vulnerable/avi/types.d.ts +2 -2
  81. package/dist/sdk/mex/actividad-vulnerable/avi/types.d.ts.map +1 -1
  82. package/dist/sdk/mex/actividad-vulnerable/avi/types.js +1 -0
  83. package/dist/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.d.ts.map +1 -1
  84. package/dist/sdk/mex/actividad-vulnerable/jys/types.d.ts +2 -2
  85. package/dist/sdk/mex/actividad-vulnerable/jys/types.d.ts.map +1 -1
  86. package/dist/sdk/mex/actividad-vulnerable/jys/types.js +1 -0
  87. package/dist/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.d.ts.map +1 -1
  88. package/dist/sdk/mex/actividad-vulnerable/tsc/types.d.ts +2 -2
  89. package/dist/sdk/mex/actividad-vulnerable/tsc/types.d.ts.map +1 -1
  90. package/dist/sdk/mex/actividad-vulnerable/tsc/types.js +1 -0
  91. package/dist/sdk/mex/types.d.ts +2 -2
  92. package/dist/sdk/mex/types.d.ts.map +1 -1
  93. package/dist/sdk/types.d.ts +24 -1
  94. package/dist/sdk/types.d.ts.map +1 -1
  95. package/dist/utils/environment.d.ts +24 -0
  96. package/dist/utils/environment.d.ts.map +1 -1
  97. package/dist/utils/environment.js +38 -0
  98. package/dist/utils/index.d.ts +2 -0
  99. package/dist/utils/index.d.ts.map +1 -1
  100. package/dist/utils/index.js +4 -0
  101. package/dist/utils/session.d.ts +20 -2
  102. package/dist/utils/session.d.ts.map +1 -1
  103. package/dist/utils/session.js +9 -1
  104. package/dist/utils/trpc-client.d.ts +370 -200
  105. package/dist/utils/trpc-client.d.ts.map +1 -1
  106. package/dist/utils/trpc-client.js +2 -1
  107. package/dist/utils/upload.d.ts +81 -0
  108. package/dist/utils/upload.d.ts.map +1 -0
  109. package/dist/utils/upload.js +261 -0
  110. package/package.json +9 -8
  111. package/src/models/Client.ts +23 -3
  112. package/src/models/ReportItem.ts +4 -4
  113. package/src/models/mex/MexReportItem.ts +1 -1
  114. package/src/models/mex/actividad-vulnerable/MexActividadVulnerableReportItem.ts +1 -1
  115. package/src/models/mex/actividad-vulnerable/avi/MexAVIReportItem.ts +1 -1
  116. package/src/models/mex/actividad-vulnerable/jys/MexJYSReportItem.ts +1 -1
  117. package/src/models/mex/actividad-vulnerable/tsc/MexTSCReportItem.ts +1 -1
  118. package/src/resources/addresses.ts +8 -4
  119. package/src/resources/bank-accounts.ts +8 -4
  120. package/src/resources/base.ts +9 -4
  121. package/src/resources/clients.ts +10 -4
  122. package/src/resources/contact-methods.ts +4 -2
  123. package/src/resources/documents.ts +185 -5
  124. package/src/resources/index.ts +6 -1
  125. package/src/resources/mex/actividad-vulnerable/avi/clients.ts +30 -8
  126. package/src/resources/mex/actividad-vulnerable/avi/reports.ts +122 -26
  127. package/src/resources/mex/actividad-vulnerable/avi/transactions.ts +20 -2
  128. package/src/resources/mex/actividad-vulnerable/jys/clients.ts +20 -2
  129. package/src/resources/mex/actividad-vulnerable/jys/reports.ts +118 -16
  130. package/src/resources/mex/actividad-vulnerable/jys/transactions.ts +20 -2
  131. package/src/resources/mex/actividad-vulnerable/tsc/clients.ts +20 -2
  132. package/src/resources/mex/actividad-vulnerable/tsc/reports.ts +118 -16
  133. package/src/resources/mex/actividad-vulnerable/tsc/transactions.ts +20 -2
  134. package/src/resources/mex/addresses.ts +24 -2
  135. package/src/resources/mex/bank-accounts.ts +26 -2
  136. package/src/resources/mex/clients.ts +25 -2
  137. package/src/resources/mex/reports.ts +94 -26
  138. package/src/resources/mex/transactions.ts +24 -2
  139. package/src/resources/reports.ts +65 -43
  140. package/src/resources/transactions.ts +8 -4
  141. package/src/sdk/ComplianceSDK.ts +23 -8
  142. package/src/sdk/mex/ComplianceSDK.ts +7 -0
  143. package/src/sdk/mex/actividad-vulnerable/avi/ComplianceSDK.ts +4 -0
  144. package/src/sdk/mex/actividad-vulnerable/avi/types.ts +22 -8
  145. package/src/sdk/mex/actividad-vulnerable/jys/ComplianceSDK.ts +3 -0
  146. package/src/sdk/mex/actividad-vulnerable/jys/types.ts +22 -8
  147. package/src/sdk/mex/actividad-vulnerable/tsc/ComplianceSDK.ts +3 -0
  148. package/src/sdk/mex/actividad-vulnerable/tsc/types.ts +22 -8
  149. package/src/sdk/mex/types.ts +6 -2
  150. package/src/sdk/types.ts +31 -2
  151. package/src/utils/environment.ts +42 -0
  152. package/src/utils/index.ts +19 -0
  153. package/src/utils/session.ts +33 -3
  154. package/src/utils/trpc-client.ts +10 -1
  155. package/src/utils/upload.ts +388 -0
@@ -62,6 +62,12 @@ export type TRPCClientConfig = TRPCAuthConfig & {
62
62
  * @default 30000
63
63
  */
64
64
  timeout?: number;
65
+ /**
66
+ * Organization ID for request validation.
67
+ * When provided, the API validates that the authenticated
68
+ * user/API key belongs to this organization.
69
+ */
70
+ organizationId?: string;
65
71
  };
66
72
  /**
67
73
  * tRPC client type - inferred from AppRouter
@@ -319,12 +325,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
319
325
  type?: import("@artu-ai/shared").AddressType | undefined;
320
326
  metadata?: Record<string, unknown> | undefined;
321
327
  externalId?: string | undefined;
322
- isPrimary?: boolean | undefined;
323
- street?: string | undefined;
324
- city?: string | undefined;
325
- state?: string | undefined;
326
- postalCode?: string | undefined;
327
- country?: string | undefined;
328
328
  jurisdictions?: {
329
329
  MX?: {
330
330
  exteriorNumber?: string | undefined;
@@ -336,6 +336,12 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
336
336
  } | undefined;
337
337
  US?: unknown;
338
338
  } | undefined;
339
+ city?: string | undefined;
340
+ state?: string | undefined;
341
+ country?: string | undefined;
342
+ isPrimary?: boolean | undefined;
343
+ street?: string | undefined;
344
+ postalCode?: string | undefined;
339
345
  };
340
346
  };
341
347
  output: {
@@ -446,6 +452,10 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
446
452
  } | undefined;
447
453
  } | undefined;
448
454
  } | undefined;
455
+ sort?: {
456
+ field: "type" | "createdAt" | "updatedAt" | "city" | "state" | "country" | "jurisdictions.MX.neighborhood" | "jurisdictions.MX.municipality";
457
+ direction: "asc" | "desc";
458
+ }[] | undefined;
449
459
  cursor?: string | undefined;
450
460
  offset?: number | undefined;
451
461
  limit?: number | undefined;
@@ -663,12 +673,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
663
673
  type?: import("@artu-ai/shared").AddressType | undefined;
664
674
  metadata?: Record<string, unknown> | undefined;
665
675
  externalId?: string | undefined;
666
- isPrimary?: boolean | undefined;
667
- street?: string | undefined;
668
- city?: string | undefined;
669
- state?: string | undefined;
670
- postalCode?: string | undefined;
671
- country?: string | undefined;
672
676
  jurisdictions?: {
673
677
  MX?: {
674
678
  exteriorNumber?: string | undefined;
@@ -680,6 +684,12 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
680
684
  } | undefined;
681
685
  US?: unknown;
682
686
  } | undefined;
687
+ city?: string | undefined;
688
+ state?: string | undefined;
689
+ country?: string | undefined;
690
+ isPrimary?: boolean | undefined;
691
+ street?: string | undefined;
692
+ postalCode?: string | undefined;
683
693
  };
684
694
  }[];
685
695
  atomic?: boolean | undefined;
@@ -760,12 +770,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
760
770
  type?: import("@artu-ai/shared").AddressType | undefined;
761
771
  metadata?: Record<string, unknown> | undefined;
762
772
  externalId?: string | undefined;
763
- isPrimary?: boolean | undefined;
764
- street?: string | undefined;
765
- city?: string | undefined;
766
- state?: string | undefined;
767
- postalCode?: string | undefined;
768
- country?: string | undefined;
769
773
  jurisdictions?: {
770
774
  MX?: {
771
775
  exteriorNumber?: string | undefined;
@@ -777,6 +781,12 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
777
781
  } | undefined;
778
782
  US?: unknown;
779
783
  } | undefined;
784
+ city?: string | undefined;
785
+ state?: string | undefined;
786
+ country?: string | undefined;
787
+ isPrimary?: boolean | undefined;
788
+ street?: string | undefined;
789
+ postalCode?: string | undefined;
780
790
  } & {
781
791
  id: string;
782
792
  _delete?: boolean | undefined;
@@ -1247,6 +1257,10 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
1247
1257
  } | undefined;
1248
1258
  } | undefined;
1249
1259
  } | undefined;
1260
+ sort?: {
1261
+ field: "type" | "createdAt" | "updatedAt" | "currency" | "bankName" | "isPrimary" | "isActive" | "jurisdictions.MX.clabe" | "jurisdictions.MX.codigoBanco";
1262
+ direction: "asc" | "desc";
1263
+ }[] | undefined;
1250
1264
  cursor?: string | undefined;
1251
1265
  offset?: number | undefined;
1252
1266
  limit?: number | undefined;
@@ -4744,6 +4758,10 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
4744
4758
  } | undefined;
4745
4759
  } | undefined;
4746
4760
  } | undefined;
4761
+ sort?: {
4762
+ field: "type" | "name" | "email" | "createdAt" | "updatedAt" | "jurisdictions.MX.rfc" | "jurisdictions.MX.curp" | "jurisdictions.MX.actividadVulnerable.AVI.username";
4763
+ direction: "asc" | "desc";
4764
+ }[] | undefined;
4747
4765
  cursor?: string | undefined;
4748
4766
  offset?: number | undefined;
4749
4767
  limit?: number | undefined;
@@ -9553,12 +9571,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
9553
9571
  type?: import("@artu-ai/shared").AddressType | undefined;
9554
9572
  metadata?: Record<string, unknown> | undefined;
9555
9573
  externalId?: string | undefined;
9556
- isPrimary?: boolean | undefined;
9557
- street?: string | undefined;
9558
- city?: string | undefined;
9559
- state?: string | undefined;
9560
- postalCode?: string | undefined;
9561
- country?: string | undefined;
9562
9574
  jurisdictions?: {
9563
9575
  MX?: {
9564
9576
  exteriorNumber?: string | undefined;
@@ -9570,6 +9582,12 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
9570
9582
  } | undefined;
9571
9583
  US?: unknown;
9572
9584
  } | undefined;
9585
+ city?: string | undefined;
9586
+ state?: string | undefined;
9587
+ country?: string | undefined;
9588
+ isPrimary?: boolean | undefined;
9589
+ street?: string | undefined;
9590
+ postalCode?: string | undefined;
9573
9591
  } & {
9574
9592
  id: string;
9575
9593
  _delete?: boolean | undefined;
@@ -10575,6 +10593,10 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10575
10593
  value: string;
10576
10594
  }[] | undefined;
10577
10595
  } | undefined;
10596
+ sort?: {
10597
+ field: "type" | "value" | "createdAt" | "updatedAt" | "isPrimary";
10598
+ direction: "asc" | "desc";
10599
+ }[] | undefined;
10578
10600
  cursor?: string | undefined;
10579
10601
  offset?: number | undefined;
10580
10602
  limit?: number | undefined;
@@ -10876,8 +10898,8 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10876
10898
  jurisdiction: import("@artu-ai/shared").Jurisdiction;
10877
10899
  type: string;
10878
10900
  clientId: string;
10879
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
10880
10901
  fields?: Record<string, unknown> | undefined;
10902
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
10881
10903
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
10882
10904
  expiresAt?: string | undefined;
10883
10905
  externalId?: string | undefined;
@@ -10886,7 +10908,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10886
10908
  type: import("@artu-ai/shared").MexDocumentType.IneFront;
10887
10909
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
10888
10910
  clientId: string;
10889
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
10890
10911
  fields?: {
10891
10912
  claveElector?: string | undefined;
10892
10913
  curp?: unknown;
@@ -10909,6 +10930,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10909
10930
  issueYear?: number | undefined;
10910
10931
  expirationYear?: number | undefined;
10911
10932
  } | undefined;
10933
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
10912
10934
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
10913
10935
  expiresAt?: string | undefined;
10914
10936
  externalId?: string | undefined;
@@ -10917,7 +10939,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10917
10939
  type: import("@artu-ai/shared").MexDocumentType.IneBack;
10918
10940
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
10919
10941
  clientId: string;
10920
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
10921
10942
  fields?: {
10922
10943
  ocrNumber?: string | undefined;
10923
10944
  cicNumber?: string | undefined;
@@ -10926,6 +10947,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10926
10947
  mrzLine2?: string | undefined;
10927
10948
  mrzLine3?: string | undefined;
10928
10949
  } | undefined;
10950
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
10929
10951
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
10930
10952
  expiresAt?: string | undefined;
10931
10953
  externalId?: string | undefined;
@@ -10934,7 +10956,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10934
10956
  type: import("@artu-ai/shared").MexDocumentType.Passport;
10935
10957
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
10936
10958
  clientId: string;
10937
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
10938
10959
  fields?: {
10939
10960
  passportNumber?: string | undefined;
10940
10961
  issuingCountry?: string | undefined;
@@ -10951,6 +10972,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10951
10972
  mrzLine1?: string | undefined;
10952
10973
  mrzLine2?: string | undefined;
10953
10974
  } | undefined;
10975
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
10954
10976
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
10955
10977
  expiresAt?: string | undefined;
10956
10978
  externalId?: string | undefined;
@@ -10959,7 +10981,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10959
10981
  type: import("@artu-ai/shared").MexDocumentType.Curp;
10960
10982
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
10961
10983
  clientId: string;
10962
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
10963
10984
  fields?: {
10964
10985
  curp?: unknown;
10965
10986
  fullName?: string | undefined;
@@ -10973,6 +10994,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10973
10994
  folio?: string | undefined;
10974
10995
  verificationUrl?: string | undefined;
10975
10996
  } | undefined;
10997
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
10976
10998
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
10977
10999
  expiresAt?: string | undefined;
10978
11000
  externalId?: string | undefined;
@@ -10981,7 +11003,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
10981
11003
  type: import("@artu-ai/shared").MexDocumentType.RfcConstancia;
10982
11004
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
10983
11005
  clientId: string;
10984
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
10985
11006
  fields?: {
10986
11007
  rfc?: unknown;
10987
11008
  fullName?: string | undefined;
@@ -11003,6 +11024,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11003
11024
  folio?: string | undefined;
11004
11025
  issueDate?: string | undefined;
11005
11026
  } | undefined;
11027
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
11006
11028
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
11007
11029
  expiresAt?: string | undefined;
11008
11030
  externalId?: string | undefined;
@@ -11011,7 +11033,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11011
11033
  type: import("@artu-ai/shared").MexDocumentType.AddressProof;
11012
11034
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
11013
11035
  clientId: string;
11014
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
11015
11036
  fields?: {
11016
11037
  accountHolderName?: string | undefined;
11017
11038
  serviceType?: import("@artu-ai/shared").AddressProofServiceType | undefined;
@@ -11030,6 +11051,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11030
11051
  amountDue?: number | undefined;
11031
11052
  currency?: string | undefined;
11032
11053
  } | undefined;
11054
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
11033
11055
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
11034
11056
  expiresAt?: string | undefined;
11035
11057
  externalId?: string | undefined;
@@ -11038,7 +11060,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11038
11060
  type: import("@artu-ai/shared").MexDocumentType.ActaConstitutiva;
11039
11061
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
11040
11062
  clientId: string;
11041
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
11042
11063
  fields?: {
11043
11064
  companyName?: string | undefined;
11044
11065
  companyRfc?: unknown;
@@ -11072,6 +11093,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11072
11093
  }[] | undefined;
11073
11094
  legalRepresentatives?: string[] | undefined;
11074
11095
  } | undefined;
11096
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
11075
11097
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
11076
11098
  expiresAt?: string | undefined;
11077
11099
  externalId?: string | undefined;
@@ -11080,7 +11102,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11080
11102
  type: import("@artu-ai/shared").MexDocumentType.PoderNotarial;
11081
11103
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
11082
11104
  clientId: string;
11083
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
11084
11105
  fields?: {
11085
11106
  powerType?: import("@artu-ai/shared").PoderType | undefined;
11086
11107
  grantorName?: string | undefined;
@@ -11104,6 +11125,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11104
11125
  isRevoked?: boolean | undefined;
11105
11126
  revocationDate?: string | undefined;
11106
11127
  } | undefined;
11128
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
11107
11129
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
11108
11130
  expiresAt?: string | undefined;
11109
11131
  externalId?: string | undefined;
@@ -11405,12 +11427,11 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
11405
11427
  createdAt: string;
11406
11428
  updatedAt: string;
11407
11429
  };
11408
- upload: {
11430
+ upload?: {
11409
11431
  url: string;
11410
11432
  expiresAt: string;
11411
11433
  fields: Record<string, string>;
11412
- storagePath: string;
11413
- };
11434
+ } | undefined;
11414
11435
  };
11415
11436
  meta: object;
11416
11437
  }>;
@@ -13193,6 +13214,10 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13193
13214
  value: string;
13194
13215
  }[] | undefined;
13195
13216
  } | undefined;
13217
+ sort?: {
13218
+ field: "type" | "createdAt" | "updatedAt" | "status" | "category" | "expiresAt";
13219
+ direction: "asc" | "desc";
13220
+ }[] | undefined;
13196
13221
  cursor?: string | undefined;
13197
13222
  offset?: number | undefined;
13198
13223
  limit?: number | undefined;
@@ -13817,8 +13842,8 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13817
13842
  jurisdiction: import("@artu-ai/shared").Jurisdiction;
13818
13843
  type: string;
13819
13844
  clientId: string;
13820
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13821
13845
  fields?: Record<string, unknown> | undefined;
13846
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13822
13847
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13823
13848
  expiresAt?: string | undefined;
13824
13849
  externalId?: string | undefined;
@@ -13827,7 +13852,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13827
13852
  type: import("@artu-ai/shared").MexDocumentType.IneFront;
13828
13853
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13829
13854
  clientId: string;
13830
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13831
13855
  fields?: {
13832
13856
  claveElector?: string | undefined;
13833
13857
  curp?: unknown;
@@ -13850,6 +13874,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13850
13874
  issueYear?: number | undefined;
13851
13875
  expirationYear?: number | undefined;
13852
13876
  } | undefined;
13877
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13853
13878
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13854
13879
  expiresAt?: string | undefined;
13855
13880
  externalId?: string | undefined;
@@ -13858,7 +13883,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13858
13883
  type: import("@artu-ai/shared").MexDocumentType.IneBack;
13859
13884
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13860
13885
  clientId: string;
13861
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13862
13886
  fields?: {
13863
13887
  ocrNumber?: string | undefined;
13864
13888
  cicNumber?: string | undefined;
@@ -13867,6 +13891,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13867
13891
  mrzLine2?: string | undefined;
13868
13892
  mrzLine3?: string | undefined;
13869
13893
  } | undefined;
13894
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13870
13895
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13871
13896
  expiresAt?: string | undefined;
13872
13897
  externalId?: string | undefined;
@@ -13875,7 +13900,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13875
13900
  type: import("@artu-ai/shared").MexDocumentType.Passport;
13876
13901
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13877
13902
  clientId: string;
13878
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13879
13903
  fields?: {
13880
13904
  passportNumber?: string | undefined;
13881
13905
  issuingCountry?: string | undefined;
@@ -13892,6 +13916,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13892
13916
  mrzLine1?: string | undefined;
13893
13917
  mrzLine2?: string | undefined;
13894
13918
  } | undefined;
13919
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13895
13920
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13896
13921
  expiresAt?: string | undefined;
13897
13922
  externalId?: string | undefined;
@@ -13900,7 +13925,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13900
13925
  type: import("@artu-ai/shared").MexDocumentType.Curp;
13901
13926
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13902
13927
  clientId: string;
13903
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13904
13928
  fields?: {
13905
13929
  curp?: unknown;
13906
13930
  fullName?: string | undefined;
@@ -13914,6 +13938,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13914
13938
  folio?: string | undefined;
13915
13939
  verificationUrl?: string | undefined;
13916
13940
  } | undefined;
13941
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13917
13942
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13918
13943
  expiresAt?: string | undefined;
13919
13944
  externalId?: string | undefined;
@@ -13922,7 +13947,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13922
13947
  type: import("@artu-ai/shared").MexDocumentType.RfcConstancia;
13923
13948
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13924
13949
  clientId: string;
13925
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13926
13950
  fields?: {
13927
13951
  rfc?: unknown;
13928
13952
  fullName?: string | undefined;
@@ -13944,6 +13968,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13944
13968
  folio?: string | undefined;
13945
13969
  issueDate?: string | undefined;
13946
13970
  } | undefined;
13971
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13947
13972
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13948
13973
  expiresAt?: string | undefined;
13949
13974
  externalId?: string | undefined;
@@ -13952,7 +13977,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13952
13977
  type: import("@artu-ai/shared").MexDocumentType.AddressProof;
13953
13978
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13954
13979
  clientId: string;
13955
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13956
13980
  fields?: {
13957
13981
  accountHolderName?: string | undefined;
13958
13982
  serviceType?: import("@artu-ai/shared").AddressProofServiceType | undefined;
@@ -13971,6 +13995,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13971
13995
  amountDue?: number | undefined;
13972
13996
  currency?: string | undefined;
13973
13997
  } | undefined;
13998
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
13974
13999
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
13975
14000
  expiresAt?: string | undefined;
13976
14001
  externalId?: string | undefined;
@@ -13979,7 +14004,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
13979
14004
  type: import("@artu-ai/shared").MexDocumentType.ActaConstitutiva;
13980
14005
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
13981
14006
  clientId: string;
13982
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
13983
14007
  fields?: {
13984
14008
  companyName?: string | undefined;
13985
14009
  companyRfc?: unknown;
@@ -14013,6 +14037,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
14013
14037
  }[] | undefined;
14014
14038
  legalRepresentatives?: string[] | undefined;
14015
14039
  } | undefined;
14040
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
14016
14041
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
14017
14042
  expiresAt?: string | undefined;
14018
14043
  externalId?: string | undefined;
@@ -14021,7 +14046,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
14021
14046
  type: import("@artu-ai/shared").MexDocumentType.PoderNotarial;
14022
14047
  jurisdiction: import("@artu-ai/shared").Jurisdiction.Mexico;
14023
14048
  clientId: string;
14024
- contentType: "image/jpeg" | "image/png" | "image/webp" | "application/pdf";
14025
14049
  fields?: {
14026
14050
  powerType?: import("@artu-ai/shared").PoderType | undefined;
14027
14051
  grantorName?: string | undefined;
@@ -14045,6 +14069,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
14045
14069
  isRevoked?: boolean | undefined;
14046
14070
  revocationDate?: string | undefined;
14047
14071
  } | undefined;
14072
+ contentType?: "image/jpeg" | "image/png" | "image/webp" | "application/pdf" | undefined;
14048
14073
  category?: import("@artu-ai/shared").DocumentCategory | undefined;
14049
14074
  expiresAt?: string | undefined;
14050
14075
  externalId?: string | undefined;
@@ -15960,6 +15985,42 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
15960
15985
  };
15961
15986
  meta: object;
15962
15987
  }>;
15988
+ updateStatus: import("@trpc/server").TRPCMutationProcedure<{
15989
+ input: {
15990
+ id: string;
15991
+ data: {
15992
+ status: import("@artu-ai/shared").ReportStatus;
15993
+ };
15994
+ };
15995
+ output: {
15996
+ id: string;
15997
+ organizationId: string;
15998
+ environment: "test" | "live";
15999
+ status: import("@artu-ai/shared").ReportStatus;
16000
+ itemCount: number;
16001
+ createdAt: string;
16002
+ updatedAt: string;
16003
+ jurisdictions?: {
16004
+ MX?: {
16005
+ actividadVulnerable?: {
16006
+ AVI?: {
16007
+ mesReportado: string;
16008
+ } | undefined;
16009
+ JYS?: {
16010
+ mesReportado: string;
16011
+ } | undefined;
16012
+ TSC?: {
16013
+ mesReportado: string;
16014
+ } | undefined;
16015
+ } | undefined;
16016
+ } | undefined;
16017
+ US?: unknown;
16018
+ } | undefined;
16019
+ externalId?: string | undefined;
16020
+ metadata?: Record<string, unknown> | undefined;
16021
+ };
16022
+ meta: object;
16023
+ }>;
15963
16024
  delete: import("@trpc/server").TRPCMutationProcedure<{
15964
16025
  input: {
15965
16026
  id: string;
@@ -16018,11 +16079,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16018
16079
  in?: string[] | undefined;
16019
16080
  nin?: string[] | undefined;
16020
16081
  } | undefined;
16021
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | {
16022
- eq?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | undefined;
16023
- in?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta[] | undefined;
16024
- nin?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta[] | undefined;
16025
- } | undefined;
16026
16082
  } | undefined;
16027
16083
  JYS?: {
16028
16084
  mesReportado?: string | {
@@ -16033,11 +16089,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16033
16089
  in?: string[] | undefined;
16034
16090
  nin?: string[] | undefined;
16035
16091
  } | undefined;
16036
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | {
16037
- eq?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | undefined;
16038
- in?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta[] | undefined;
16039
- nin?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta[] | undefined;
16040
- } | undefined;
16041
16092
  } | undefined;
16042
16093
  TSC?: {
16043
16094
  mesReportado?: string | {
@@ -16048,16 +16099,15 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16048
16099
  in?: string[] | undefined;
16049
16100
  nin?: string[] | undefined;
16050
16101
  } | undefined;
16051
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | {
16052
- eq?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | undefined;
16053
- in?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta[] | undefined;
16054
- nin?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta[] | undefined;
16055
- } | undefined;
16056
16102
  } | undefined;
16057
16103
  } | undefined;
16058
16104
  } | undefined;
16059
16105
  } | undefined;
16060
16106
  } | undefined;
16107
+ sort?: {
16108
+ field: "createdAt" | "updatedAt" | "status" | "jurisdictions.MX.actividadVulnerable.AVI.mesReportado" | "jurisdictions.MX.actividadVulnerable.AVI.alertType" | "jurisdictions.MX.actividadVulnerable.JYS.mesReportado" | "jurisdictions.MX.actividadVulnerable.JYS.alertType" | "jurisdictions.MX.actividadVulnerable.TSC.mesReportado" | "jurisdictions.MX.actividadVulnerable.TSC.alertType";
16109
+ direction: "asc" | "desc";
16110
+ }[] | undefined;
16061
16111
  cursor?: string | undefined;
16062
16112
  offset?: number | undefined;
16063
16113
  limit?: number | undefined;
@@ -16177,7 +16227,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16177
16227
  transactionId?: string | undefined;
16178
16228
  clientId?: string | undefined;
16179
16229
  metadata?: Record<string, unknown> | undefined;
16180
- clientName?: string | undefined;
16230
+ clientNames?: string[] | undefined;
16181
16231
  transactionAmount?: number | undefined;
16182
16232
  transactionCurrency?: string | undefined;
16183
16233
  transactionDate?: string | undefined;
@@ -16234,7 +16284,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16234
16284
  transactionId?: string | undefined;
16235
16285
  clientId?: string | undefined;
16236
16286
  metadata?: Record<string, unknown> | undefined;
16237
- clientName?: string | undefined;
16287
+ clientNames?: string[] | undefined;
16238
16288
  transactionAmount?: number | undefined;
16239
16289
  transactionCurrency?: string | undefined;
16240
16290
  transactionDate?: string | undefined;
@@ -16325,7 +16375,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16325
16375
  transactionId?: string | undefined;
16326
16376
  clientId?: string | undefined;
16327
16377
  metadata?: Record<string, unknown> | undefined;
16328
- clientName?: string | undefined;
16378
+ clientNames?: string[] | undefined;
16329
16379
  transactionAmount?: number | undefined;
16330
16380
  transactionCurrency?: string | undefined;
16331
16381
  transactionDate?: string | undefined;
@@ -16349,9 +16399,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16349
16399
  listItems: import("@trpc/server").TRPCQueryProcedure<{
16350
16400
  input: {
16351
16401
  reportId: string;
16352
- cursor?: string | undefined;
16353
- offset?: number | undefined;
16354
- limit?: number | undefined;
16355
16402
  filter?: {
16356
16403
  clientId?: string | {
16357
16404
  eq?: string | undefined;
@@ -16364,7 +16411,112 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16364
16411
  nin?: string[] | undefined;
16365
16412
  } | undefined;
16366
16413
  hasErrors?: boolean | undefined;
16414
+ clientNames?: string | {
16415
+ eq?: string | undefined;
16416
+ contains?: string | undefined;
16417
+ startsWith?: string | undefined;
16418
+ endsWith?: string | undefined;
16419
+ in?: string[] | undefined;
16420
+ nin?: string[] | undefined;
16421
+ } | undefined;
16422
+ transactionAmount?: number | {
16423
+ eq?: number | undefined;
16424
+ gt?: number | undefined;
16425
+ gte?: number | undefined;
16426
+ lt?: number | undefined;
16427
+ lte?: number | undefined;
16428
+ in?: number[] | undefined;
16429
+ nin?: number[] | undefined;
16430
+ } | undefined;
16431
+ transactionCurrency?: string | {
16432
+ eq?: string | undefined;
16433
+ in?: string[] | undefined;
16434
+ nin?: string[] | undefined;
16435
+ } | undefined;
16436
+ transactionDate?: string | {
16437
+ eq?: string | undefined;
16438
+ gt?: string | undefined;
16439
+ gte?: string | undefined;
16440
+ lt?: string | undefined;
16441
+ lte?: string | undefined;
16442
+ } | undefined;
16443
+ createdAt?: string | {
16444
+ eq?: string | undefined;
16445
+ gt?: string | undefined;
16446
+ gte?: string | undefined;
16447
+ lt?: string | undefined;
16448
+ lte?: string | undefined;
16449
+ } | undefined;
16450
+ updatedAt?: string | {
16451
+ eq?: string | undefined;
16452
+ gt?: string | undefined;
16453
+ gte?: string | undefined;
16454
+ lt?: string | undefined;
16455
+ lte?: string | undefined;
16456
+ } | undefined;
16457
+ metadataFilters?: {
16458
+ key: string;
16459
+ value: string;
16460
+ }[] | undefined;
16461
+ jurisdictions?: {
16462
+ MX?: {
16463
+ actividadVulnerable?: {
16464
+ AVI?: {
16465
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | {
16466
+ eq?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | undefined;
16467
+ in?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta[] | undefined;
16468
+ nin?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta[] | undefined;
16469
+ } | undefined;
16470
+ alertDescription?: string | {
16471
+ eq?: string | undefined;
16472
+ contains?: string | undefined;
16473
+ startsWith?: string | undefined;
16474
+ endsWith?: string | undefined;
16475
+ in?: string[] | undefined;
16476
+ nin?: string[] | undefined;
16477
+ } | undefined;
16478
+ } | undefined;
16479
+ JYS?: {
16480
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | {
16481
+ eq?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | undefined;
16482
+ in?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta[] | undefined;
16483
+ nin?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta[] | undefined;
16484
+ } | undefined;
16485
+ alertDescription?: string | {
16486
+ eq?: string | undefined;
16487
+ contains?: string | undefined;
16488
+ startsWith?: string | undefined;
16489
+ endsWith?: string | undefined;
16490
+ in?: string[] | undefined;
16491
+ nin?: string[] | undefined;
16492
+ } | undefined;
16493
+ } | undefined;
16494
+ TSC?: {
16495
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | {
16496
+ eq?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | undefined;
16497
+ in?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta[] | undefined;
16498
+ nin?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta[] | undefined;
16499
+ } | undefined;
16500
+ alertDescription?: string | {
16501
+ eq?: string | undefined;
16502
+ contains?: string | undefined;
16503
+ startsWith?: string | undefined;
16504
+ endsWith?: string | undefined;
16505
+ in?: string[] | undefined;
16506
+ nin?: string[] | undefined;
16507
+ } | undefined;
16508
+ } | undefined;
16509
+ } | undefined;
16510
+ } | undefined;
16511
+ } | undefined;
16367
16512
  } | undefined;
16513
+ sort?: {
16514
+ field: "createdAt" | "updatedAt" | "transactionAmount" | "transactionCurrency" | "transactionDate" | "clientName";
16515
+ direction: "asc" | "desc";
16516
+ }[] | undefined;
16517
+ cursor?: string | undefined;
16518
+ offset?: number | undefined;
16519
+ limit?: number | undefined;
16368
16520
  };
16369
16521
  output: {
16370
16522
  data: {
@@ -16406,7 +16558,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16406
16558
  transactionId?: string | undefined;
16407
16559
  clientId?: string | undefined;
16408
16560
  metadata?: Record<string, unknown> | undefined;
16409
- clientName?: string | undefined;
16561
+ clientNames?: string[] | undefined;
16410
16562
  transactionAmount?: number | undefined;
16411
16563
  transactionCurrency?: string | undefined;
16412
16564
  transactionDate?: string | undefined;
@@ -16506,7 +16658,7 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16506
16658
  transactionId?: string | undefined;
16507
16659
  clientId?: string | undefined;
16508
16660
  metadata?: Record<string, unknown> | undefined;
16509
- clientName?: string | undefined;
16661
+ clientNames?: string[] | undefined;
16510
16662
  transactionAmount?: number | undefined;
16511
16663
  transactionCurrency?: string | undefined;
16512
16664
  transactionDate?: string | undefined;
@@ -16533,51 +16685,39 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16533
16685
  validate: import("@trpc/server").TRPCMutationProcedure<{
16534
16686
  input: {
16535
16687
  reportId: string;
16536
- defaults: {
16537
- rfc: string;
16538
- platformDomain: string;
16539
- collegiateEntityCode?: string | undefined;
16540
- exempt?: boolean | undefined;
16541
- priority?: import("@artu-ai/shared").Prioridad | undefined;
16542
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | undefined;
16543
- alertDescription?: string | undefined;
16544
- monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").InstrumentoMonetario | undefined;
16545
- };
16546
- jurisdiction?: import("@artu-ai/shared").Jurisdiction.Mexico | undefined;
16547
- actividadVulnerable?: import("@artu-ai/shared").CodigoActividad.AVI | undefined;
16548
- } | {
16549
- reportId: string;
16550
- defaults: {
16551
- rfc: string;
16552
- collegiateEntityCode?: string | undefined;
16553
- exempt?: boolean | undefined;
16554
- priority?: import("@artu-ai/shared").Prioridad | undefined;
16555
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | undefined;
16556
- alertDescription?: string | undefined;
16557
- operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoOperacion | undefined;
16558
- businessLine?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").LineaNegocio | undefined;
16559
- operationMethod?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").MedioOperacion | undefined;
16560
- monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").InstrumentoMonetario | undefined;
16561
- currency?: import("@artu-ai/shared").Moneda | undefined;
16562
- assetType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoBien | undefined;
16563
- realEstateType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoInmueble | undefined;
16564
- };
16565
- jurisdiction?: import("@artu-ai/shared").Jurisdiction.Mexico | undefined;
16566
- actividadVulnerable?: import("@artu-ai/shared").CodigoActividad.JYS | undefined;
16567
- } | {
16568
- reportId: string;
16569
- defaults: {
16570
- rfc: string;
16571
- collegiateEntityCode?: string | undefined;
16572
- exempt?: boolean | undefined;
16573
- priority?: import("@artu-ai/shared").Prioridad | undefined;
16574
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | undefined;
16575
- alertDescription?: string | undefined;
16576
- operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoOperacion.CardConsumption | undefined;
16577
- cardType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoTarjeta | undefined;
16578
- };
16579
- jurisdiction?: import("@artu-ai/shared").Jurisdiction.Mexico | undefined;
16580
- actividadVulnerable?: import("@artu-ai/shared").CodigoActividad.TSC | undefined;
16688
+ jurisdictions?: {
16689
+ MX?: {
16690
+ actividadVulnerable?: {
16691
+ rfc: unknown;
16692
+ JYS?: {
16693
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | undefined;
16694
+ alertDescription?: string | undefined;
16695
+ operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoOperacion | undefined;
16696
+ businessLine?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").LineaNegocio | undefined;
16697
+ operationMethod?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").MedioOperacion | undefined;
16698
+ monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").InstrumentoMonetario | undefined;
16699
+ currency?: import("@artu-ai/shared").Moneda | undefined;
16700
+ assetType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoBien | undefined;
16701
+ realEstateType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoInmueble | undefined;
16702
+ } | undefined;
16703
+ TSC?: {
16704
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | undefined;
16705
+ alertDescription?: string | undefined;
16706
+ operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoOperacion.CardConsumption | undefined;
16707
+ cardType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoTarjeta | undefined;
16708
+ } | undefined;
16709
+ AVI?: {
16710
+ platformDomain: string;
16711
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | undefined;
16712
+ alertDescription?: string | undefined;
16713
+ monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").InstrumentoMonetario | undefined;
16714
+ } | undefined;
16715
+ collegiateEntityCode?: string | undefined;
16716
+ exempt?: boolean | undefined;
16717
+ priority?: import("@artu-ai/shared").Prioridad | undefined;
16718
+ } | undefined;
16719
+ } | undefined;
16720
+ } | undefined;
16581
16721
  };
16582
16722
  output: {
16583
16723
  valid: boolean;
@@ -16601,58 +16741,84 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
16601
16741
  generate: import("@trpc/server").TRPCMutationProcedure<{
16602
16742
  input: {
16603
16743
  reportId: string;
16604
- defaults: {
16605
- rfc: string;
16606
- platformDomain: string;
16607
- collegiateEntityCode?: string | undefined;
16608
- exempt?: boolean | undefined;
16609
- priority?: import("@artu-ai/shared").Prioridad | undefined;
16610
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | undefined;
16611
- alertDescription?: string | undefined;
16612
- monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").InstrumentoMonetario | undefined;
16613
- };
16614
- jurisdiction?: import("@artu-ai/shared").Jurisdiction.Mexico | undefined;
16615
- actividadVulnerable?: import("@artu-ai/shared").CodigoActividad.AVI | undefined;
16616
- } | {
16617
- reportId: string;
16618
- defaults: {
16619
- rfc: string;
16620
- collegiateEntityCode?: string | undefined;
16621
- exempt?: boolean | undefined;
16622
- priority?: import("@artu-ai/shared").Prioridad | undefined;
16623
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | undefined;
16624
- alertDescription?: string | undefined;
16625
- operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoOperacion | undefined;
16626
- businessLine?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").LineaNegocio | undefined;
16627
- operationMethod?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").MedioOperacion | undefined;
16628
- monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").InstrumentoMonetario | undefined;
16629
- currency?: import("@artu-ai/shared").Moneda | undefined;
16630
- assetType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoBien | undefined;
16631
- realEstateType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoInmueble | undefined;
16632
- };
16633
- jurisdiction?: import("@artu-ai/shared").Jurisdiction.Mexico | undefined;
16634
- actividadVulnerable?: import("@artu-ai/shared").CodigoActividad.JYS | undefined;
16635
- } | {
16636
- reportId: string;
16637
- defaults: {
16638
- rfc: string;
16639
- collegiateEntityCode?: string | undefined;
16640
- exempt?: boolean | undefined;
16641
- priority?: import("@artu-ai/shared").Prioridad | undefined;
16642
- alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | undefined;
16643
- alertDescription?: string | undefined;
16644
- operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoOperacion.CardConsumption | undefined;
16645
- cardType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoTarjeta | undefined;
16646
- };
16647
- jurisdiction?: import("@artu-ai/shared").Jurisdiction.Mexico | undefined;
16648
- actividadVulnerable?: import("@artu-ai/shared").CodigoActividad.TSC | undefined;
16744
+ jurisdictions?: {
16745
+ MX?: {
16746
+ actividadVulnerable?: {
16747
+ rfc: unknown;
16748
+ JYS?: {
16749
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoAlerta | undefined;
16750
+ alertDescription?: string | undefined;
16751
+ operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoOperacion | undefined;
16752
+ businessLine?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").LineaNegocio | undefined;
16753
+ operationMethod?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").MedioOperacion | undefined;
16754
+ monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").InstrumentoMonetario | undefined;
16755
+ currency?: import("@artu-ai/shared").Moneda | undefined;
16756
+ assetType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoBien | undefined;
16757
+ realEstateType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/jys/index").TipoInmueble | undefined;
16758
+ } | undefined;
16759
+ TSC?: {
16760
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoAlerta | undefined;
16761
+ alertDescription?: string | undefined;
16762
+ operationType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoOperacion.CardConsumption | undefined;
16763
+ cardType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/tsc/index").TipoTarjeta | undefined;
16764
+ } | undefined;
16765
+ AVI?: {
16766
+ platformDomain: string;
16767
+ alertType?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").TipoAlerta | undefined;
16768
+ alertDescription?: string | undefined;
16769
+ monetaryInstrument?: import("@artu-ai/shared/schemas/mex/actividad-vulnerable/avi/index").InstrumentoMonetario | undefined;
16770
+ } | undefined;
16771
+ collegiateEntityCode?: string | undefined;
16772
+ exempt?: boolean | undefined;
16773
+ priority?: import("@artu-ai/shared").Prioridad | undefined;
16774
+ } | undefined;
16775
+ } | undefined;
16776
+ } | undefined;
16649
16777
  };
16650
16778
  output: {
16779
+ status: "success";
16651
16780
  reportId: string;
16781
+ validation: {
16782
+ valid: boolean;
16783
+ reportId: string;
16784
+ summary: {
16785
+ totalItems: number;
16786
+ validItems: number;
16787
+ invalidItems: number;
16788
+ errorCount: number;
16789
+ };
16790
+ errors: {
16791
+ path: string;
16792
+ code: string;
16793
+ message: string;
16794
+ severity: "error" | "warning";
16795
+ itemId?: string | undefined;
16796
+ }[];
16797
+ };
16652
16798
  xml: string;
16653
16799
  hash: string;
16654
16800
  generatedAt: string;
16655
16801
  folio?: string | undefined;
16802
+ } | {
16803
+ status: "validation_failed";
16804
+ reportId: string;
16805
+ validation: {
16806
+ valid: boolean;
16807
+ reportId: string;
16808
+ summary: {
16809
+ totalItems: number;
16810
+ validItems: number;
16811
+ invalidItems: number;
16812
+ errorCount: number;
16813
+ };
16814
+ errors: {
16815
+ path: string;
16816
+ code: string;
16817
+ message: string;
16818
+ severity: "error" | "warning";
16819
+ itemId?: string | undefined;
16820
+ }[];
16821
+ };
16656
16822
  };
16657
16823
  meta: object;
16658
16824
  }>;
@@ -17036,17 +17202,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17036
17202
  metadata?: Record<string, unknown> | undefined;
17037
17203
  };
17038
17204
  output: {
17039
- currency: string;
17040
17205
  status: import("@artu-ai/shared").TransactionStatus;
17041
17206
  amount: number;
17207
+ currency: string;
17042
17208
  id: string;
17043
17209
  timestamp: string;
17044
17210
  createdAt: string;
17045
17211
  updatedAt: string;
17046
17212
  relatedClientIds: string[];
17047
- description?: string | undefined;
17048
17213
  metadata?: Record<string, unknown> | undefined;
17214
+ description?: string | undefined;
17049
17215
  externalId?: string | undefined;
17216
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17050
17217
  jurisdictions?: {
17051
17218
  MX?: {
17052
17219
  actividadVulnerable?: {
@@ -17150,7 +17317,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17150
17317
  } | undefined;
17151
17318
  US?: unknown;
17152
17319
  } | undefined;
17153
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17154
17320
  };
17155
17321
  meta: object;
17156
17322
  }>;
@@ -17159,17 +17325,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17159
17325
  id: string;
17160
17326
  };
17161
17327
  output: {
17162
- currency: string;
17163
17328
  status: import("@artu-ai/shared").TransactionStatus;
17164
17329
  amount: number;
17330
+ currency: string;
17165
17331
  id: string;
17166
17332
  timestamp: string;
17167
17333
  createdAt: string;
17168
17334
  updatedAt: string;
17169
17335
  relatedClientIds: string[];
17170
- description?: string | undefined;
17171
17336
  metadata?: Record<string, unknown> | undefined;
17337
+ description?: string | undefined;
17172
17338
  externalId?: string | undefined;
17339
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17173
17340
  jurisdictions?: {
17174
17341
  MX?: {
17175
17342
  actividadVulnerable?: {
@@ -17273,7 +17440,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17273
17440
  } | undefined;
17274
17441
  US?: unknown;
17275
17442
  } | undefined;
17276
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17277
17443
  };
17278
17444
  meta: object;
17279
17445
  }>;
@@ -17282,17 +17448,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17282
17448
  externalId: string;
17283
17449
  };
17284
17450
  output: {
17285
- currency: string;
17286
17451
  status: import("@artu-ai/shared").TransactionStatus;
17287
17452
  amount: number;
17453
+ currency: string;
17288
17454
  id: string;
17289
17455
  timestamp: string;
17290
17456
  createdAt: string;
17291
17457
  updatedAt: string;
17292
17458
  relatedClientIds: string[];
17293
- description?: string | undefined;
17294
17459
  metadata?: Record<string, unknown> | undefined;
17460
+ description?: string | undefined;
17295
17461
  externalId?: string | undefined;
17462
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17296
17463
  jurisdictions?: {
17297
17464
  MX?: {
17298
17465
  actividadVulnerable?: {
@@ -17396,7 +17563,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17396
17563
  } | undefined;
17397
17564
  US?: unknown;
17398
17565
  } | undefined;
17399
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17400
17566
  };
17401
17567
  meta: object;
17402
17568
  }>;
@@ -17406,17 +17572,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17406
17572
  value: string;
17407
17573
  };
17408
17574
  output: {
17409
- currency: string;
17410
17575
  status: import("@artu-ai/shared").TransactionStatus;
17411
17576
  amount: number;
17577
+ currency: string;
17412
17578
  id: string;
17413
17579
  timestamp: string;
17414
17580
  createdAt: string;
17415
17581
  updatedAt: string;
17416
17582
  relatedClientIds: string[];
17417
- description?: string | undefined;
17418
17583
  metadata?: Record<string, unknown> | undefined;
17584
+ description?: string | undefined;
17419
17585
  externalId?: string | undefined;
17586
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17420
17587
  jurisdictions?: {
17421
17588
  MX?: {
17422
17589
  actividadVulnerable?: {
@@ -17520,7 +17687,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17520
17687
  } | undefined;
17521
17688
  US?: unknown;
17522
17689
  } | undefined;
17523
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17524
17690
  };
17525
17691
  meta: object;
17526
17692
  }>;
@@ -17639,17 +17805,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17639
17805
  };
17640
17806
  };
17641
17807
  output: {
17642
- currency: string;
17643
17808
  status: import("@artu-ai/shared").TransactionStatus;
17644
17809
  amount: number;
17810
+ currency: string;
17645
17811
  id: string;
17646
17812
  timestamp: string;
17647
17813
  createdAt: string;
17648
17814
  updatedAt: string;
17649
17815
  relatedClientIds: string[];
17650
- description?: string | undefined;
17651
17816
  metadata?: Record<string, unknown> | undefined;
17817
+ description?: string | undefined;
17652
17818
  externalId?: string | undefined;
17819
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17653
17820
  jurisdictions?: {
17654
17821
  MX?: {
17655
17822
  actividadVulnerable?: {
@@ -17753,7 +17920,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17753
17920
  } | undefined;
17754
17921
  US?: unknown;
17755
17922
  } | undefined;
17756
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17757
17923
  };
17758
17924
  meta: object;
17759
17925
  }>;
@@ -17923,23 +18089,28 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
17923
18089
  } | undefined;
17924
18090
  } | undefined;
17925
18091
  } | undefined;
18092
+ sort?: {
18093
+ field: "createdAt" | "updatedAt" | "status" | "amount" | "currency" | "timestamp" | "jurisdictions.MX.actividadVulnerable.AVI.operationType" | "jurisdictions.MX.actividadVulnerable.AVI.crypto" | "jurisdictions.MX.actividadVulnerable.JYS.operationType" | "jurisdictions.MX.actividadVulnerable.JYS.businessLine" | "jurisdictions.MX.actividadVulnerable.JYS.operationMethod" | "jurisdictions.MX.actividadVulnerable.TSC.operationType" | "jurisdictions.MX.actividadVulnerable.TSC.cardType";
18094
+ direction: "asc" | "desc";
18095
+ }[] | undefined;
17926
18096
  cursor?: string | undefined;
17927
18097
  offset?: number | undefined;
17928
18098
  limit?: number | undefined;
17929
18099
  } | undefined;
17930
18100
  output: {
17931
18101
  data: {
17932
- currency: string;
17933
18102
  status: import("@artu-ai/shared").TransactionStatus;
17934
18103
  amount: number;
18104
+ currency: string;
17935
18105
  id: string;
17936
18106
  timestamp: string;
17937
18107
  createdAt: string;
17938
18108
  updatedAt: string;
17939
18109
  relatedClientIds: string[];
17940
- description?: string | undefined;
17941
18110
  metadata?: Record<string, unknown> | undefined;
18111
+ description?: string | undefined;
17942
18112
  externalId?: string | undefined;
18113
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
17943
18114
  jurisdictions?: {
17944
18115
  MX?: {
17945
18116
  actividadVulnerable?: {
@@ -18043,7 +18214,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18043
18214
  } | undefined;
18044
18215
  US?: unknown;
18045
18216
  } | undefined;
18046
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18047
18217
  }[];
18048
18218
  pagination: {
18049
18219
  hasMore: boolean;
@@ -18061,17 +18231,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18061
18231
  };
18062
18232
  output: {
18063
18233
  data: {
18064
- currency: string;
18065
18234
  status: import("@artu-ai/shared").TransactionStatus;
18066
18235
  amount: number;
18236
+ currency: string;
18067
18237
  id: string;
18068
18238
  timestamp: string;
18069
18239
  createdAt: string;
18070
18240
  updatedAt: string;
18071
18241
  relatedClientIds: string[];
18072
- description?: string | undefined;
18073
18242
  metadata?: Record<string, unknown> | undefined;
18243
+ description?: string | undefined;
18074
18244
  externalId?: string | undefined;
18245
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18075
18246
  jurisdictions?: {
18076
18247
  MX?: {
18077
18248
  actividadVulnerable?: {
@@ -18175,7 +18346,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18175
18346
  } | undefined;
18176
18347
  US?: unknown;
18177
18348
  } | undefined;
18178
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18179
18349
  }[];
18180
18350
  pagination: {
18181
18351
  hasMore: boolean;
@@ -18193,17 +18363,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18193
18363
  metadata?: Record<string, unknown> | undefined;
18194
18364
  };
18195
18365
  output: {
18196
- currency: string;
18197
18366
  status: import("@artu-ai/shared").TransactionStatus;
18198
18367
  amount: number;
18368
+ currency: string;
18199
18369
  id: string;
18200
18370
  timestamp: string;
18201
18371
  createdAt: string;
18202
18372
  updatedAt: string;
18203
18373
  relatedClientIds: string[];
18204
- description?: string | undefined;
18205
18374
  metadata?: Record<string, unknown> | undefined;
18375
+ description?: string | undefined;
18206
18376
  externalId?: string | undefined;
18377
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18207
18378
  jurisdictions?: {
18208
18379
  MX?: {
18209
18380
  actividadVulnerable?: {
@@ -18307,7 +18478,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18307
18478
  } | undefined;
18308
18479
  US?: unknown;
18309
18480
  } | undefined;
18310
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18311
18481
  };
18312
18482
  meta: object;
18313
18483
  }>;
@@ -18317,17 +18487,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18317
18487
  clientId: string;
18318
18488
  };
18319
18489
  output: {
18320
- currency: string;
18321
18490
  status: import("@artu-ai/shared").TransactionStatus;
18322
18491
  amount: number;
18492
+ currency: string;
18323
18493
  id: string;
18324
18494
  timestamp: string;
18325
18495
  createdAt: string;
18326
18496
  updatedAt: string;
18327
18497
  relatedClientIds: string[];
18328
- description?: string | undefined;
18329
18498
  metadata?: Record<string, unknown> | undefined;
18499
+ description?: string | undefined;
18330
18500
  externalId?: string | undefined;
18501
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18331
18502
  jurisdictions?: {
18332
18503
  MX?: {
18333
18504
  actividadVulnerable?: {
@@ -18431,7 +18602,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18431
18602
  } | undefined;
18432
18603
  US?: unknown;
18433
18604
  } | undefined;
18434
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18435
18605
  };
18436
18606
  meta: object;
18437
18607
  }>;
@@ -18445,17 +18615,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18445
18615
  }[];
18446
18616
  };
18447
18617
  output: {
18448
- currency: string;
18449
18618
  status: import("@artu-ai/shared").TransactionStatus;
18450
18619
  amount: number;
18620
+ currency: string;
18451
18621
  id: string;
18452
18622
  timestamp: string;
18453
18623
  createdAt: string;
18454
18624
  updatedAt: string;
18455
18625
  relatedClientIds: string[];
18456
- description?: string | undefined;
18457
18626
  metadata?: Record<string, unknown> | undefined;
18627
+ description?: string | undefined;
18458
18628
  externalId?: string | undefined;
18629
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18459
18630
  jurisdictions?: {
18460
18631
  MX?: {
18461
18632
  actividadVulnerable?: {
@@ -18559,7 +18730,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18559
18730
  } | undefined;
18560
18731
  US?: unknown;
18561
18732
  } | undefined;
18562
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18563
18733
  };
18564
18734
  meta: object;
18565
18735
  }>;
@@ -18684,17 +18854,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18684
18854
  output: {
18685
18855
  atomic: true;
18686
18856
  data: {
18687
- currency: string;
18688
18857
  status: import("@artu-ai/shared").TransactionStatus;
18689
18858
  amount: number;
18859
+ currency: string;
18690
18860
  id: string;
18691
18861
  timestamp: string;
18692
18862
  createdAt: string;
18693
18863
  updatedAt: string;
18694
18864
  relatedClientIds: string[];
18695
- description?: string | undefined;
18696
18865
  metadata?: Record<string, unknown> | undefined;
18866
+ description?: string | undefined;
18697
18867
  externalId?: string | undefined;
18868
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18698
18869
  jurisdictions?: {
18699
18870
  MX?: {
18700
18871
  actividadVulnerable?: {
@@ -18798,24 +18969,24 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18798
18969
  } | undefined;
18799
18970
  US?: unknown;
18800
18971
  } | undefined;
18801
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18802
18972
  }[];
18803
18973
  } | {
18804
18974
  atomic: false;
18805
18975
  succeeded: {
18806
18976
  index: number;
18807
18977
  data: {
18808
- currency: string;
18809
18978
  status: import("@artu-ai/shared").TransactionStatus;
18810
18979
  amount: number;
18980
+ currency: string;
18811
18981
  id: string;
18812
18982
  timestamp: string;
18813
18983
  createdAt: string;
18814
18984
  updatedAt: string;
18815
18985
  relatedClientIds: string[];
18816
- description?: string | undefined;
18817
18986
  metadata?: Record<string, unknown> | undefined;
18987
+ description?: string | undefined;
18818
18988
  externalId?: string | undefined;
18989
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18819
18990
  jurisdictions?: {
18820
18991
  MX?: {
18821
18992
  actividadVulnerable?: {
@@ -18919,7 +19090,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
18919
19090
  } | undefined;
18920
19091
  US?: unknown;
18921
19092
  } | undefined;
18922
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
18923
19093
  };
18924
19094
  }[];
18925
19095
  failed: {
@@ -19052,17 +19222,18 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
19052
19222
  output: {
19053
19223
  atomic: true;
19054
19224
  data: {
19055
- currency: string;
19056
19225
  status: import("@artu-ai/shared").TransactionStatus;
19057
19226
  amount: number;
19227
+ currency: string;
19058
19228
  id: string;
19059
19229
  timestamp: string;
19060
19230
  createdAt: string;
19061
19231
  updatedAt: string;
19062
19232
  relatedClientIds: string[];
19063
- description?: string | undefined;
19064
19233
  metadata?: Record<string, unknown> | undefined;
19234
+ description?: string | undefined;
19065
19235
  externalId?: string | undefined;
19236
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
19066
19237
  jurisdictions?: {
19067
19238
  MX?: {
19068
19239
  actividadVulnerable?: {
@@ -19166,24 +19337,24 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
19166
19337
  } | undefined;
19167
19338
  US?: unknown;
19168
19339
  } | undefined;
19169
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
19170
19340
  }[];
19171
19341
  } | {
19172
19342
  atomic: false;
19173
19343
  succeeded: {
19174
19344
  index: number;
19175
19345
  data: {
19176
- currency: string;
19177
19346
  status: import("@artu-ai/shared").TransactionStatus;
19178
19347
  amount: number;
19348
+ currency: string;
19179
19349
  id: string;
19180
19350
  timestamp: string;
19181
19351
  createdAt: string;
19182
19352
  updatedAt: string;
19183
19353
  relatedClientIds: string[];
19184
- description?: string | undefined;
19185
19354
  metadata?: Record<string, unknown> | undefined;
19355
+ description?: string | undefined;
19186
19356
  externalId?: string | undefined;
19357
+ primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
19187
19358
  jurisdictions?: {
19188
19359
  MX?: {
19189
19360
  actividadVulnerable?: {
@@ -19287,7 +19458,6 @@ export declare function createAPIClient(config: TRPCClientConfig): import("@trpc
19287
19458
  } | undefined;
19288
19459
  US?: unknown;
19289
19460
  } | undefined;
19290
- primaryJurisdiction?: import("@artu-ai/shared").Jurisdiction | undefined;
19291
19461
  };
19292
19462
  }[];
19293
19463
  failed: {