@nexeraid/identity-schemas 1.12.29-dev → 1.12.31-dev

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 (23) hide show
  1. package/dist/{customers.schema-fbb55a96.cjs.dev.js → customers.schema-bfd75809.cjs.dev.js} +3 -4
  2. package/dist/{customers.schema-d0525150.cjs.prod.js → customers.schema-c1a71aac.cjs.prod.js} +3 -4
  3. package/dist/{customers.schema-dcae7bd5.esm.js → customers.schema-f232e577.esm.js} +3 -4
  4. package/dist/declarations/src/providers/big/BIGBitRankVerifiedScore.schema.d.ts +2 -0
  5. package/dist/declarations/src/providers/big/BIGBitRankVerifiedScore.schema.d.ts.map +1 -1
  6. package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts +14 -262
  7. package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +1 -0
  9. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts.map +1 -1
  10. package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts +1 -0
  11. package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts.map +1 -1
  12. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +732 -0
  13. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts.map +1 -1
  14. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +4116 -7
  15. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
  16. package/dist/package.json +1 -1
  17. package/package.json +1 -1
  18. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
  19. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
  20. package/providers/dist/nexeraid-identity-schemas-providers.esm.js +1 -1
  21. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +4 -1
  22. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +4 -1
  23. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +4 -1
@@ -2790,7 +2790,11 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
2790
2790
  statusCode: 500;
2791
2791
  errorCode: "INTERNAL_SERVER_ERROR";
2792
2792
  }>, z.ZodObject<{
2793
- statusCode: z.ZodLiteral<500>;
2793
+ statusCode: z.ZodLiteral<500>; /**
2794
+ *
2795
+ * Send Messages Types
2796
+ *
2797
+ */
2794
2798
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
2795
2799
  message: z.ZodString;
2796
2800
  }, "strip", z.ZodTypeAny, {
@@ -4115,6 +4119,323 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
4115
4119
  risk_level?: number | null | undefined;
4116
4120
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
4117
4121
  };
4122
+ }>, z.ZodObject<{
4123
+ type: z.ZodEnum<["chainalysis"]>;
4124
+ data: z.ZodUnion<[z.ZodObject<{
4125
+ address: z.ZodString;
4126
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
4127
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4128
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4129
+ name: z.ZodString;
4130
+ category: z.ZodString;
4131
+ }, "strip", z.ZodTypeAny, {
4132
+ name: string;
4133
+ category: string;
4134
+ }, {
4135
+ name: string;
4136
+ category: string;
4137
+ }>>>;
4138
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
4139
+ addressIdentifications: z.ZodArray<z.ZodObject<{
4140
+ name: z.ZodString;
4141
+ address: z.ZodString;
4142
+ category: z.ZodString;
4143
+ description: z.ZodString;
4144
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4145
+ createdAt: z.ZodNumber;
4146
+ }, "strip", z.ZodTypeAny, {
4147
+ name: string;
4148
+ description: string;
4149
+ address: string;
4150
+ createdAt: number;
4151
+ category: string;
4152
+ url?: string | null | undefined;
4153
+ }, {
4154
+ name: string;
4155
+ description: string;
4156
+ address: string;
4157
+ createdAt: number;
4158
+ category: string;
4159
+ url?: string | null | undefined;
4160
+ }>, "many">;
4161
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4162
+ category: z.ZodString;
4163
+ value: z.ZodNumber;
4164
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
4165
+ direction: z.ZodLiteral<"both_directions">;
4166
+ }, "strip", z.ZodTypeAny, {
4167
+ value: number;
4168
+ category: string;
4169
+ exposureType: "direct" | "indirect";
4170
+ direction: "both_directions";
4171
+ }, {
4172
+ value: number;
4173
+ category: string;
4174
+ exposureType: "direct" | "indirect";
4175
+ direction: "both_directions";
4176
+ }>, "many">>>;
4177
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4178
+ category: z.ZodString;
4179
+ percentage: z.ZodNumber;
4180
+ message: z.ZodString;
4181
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4182
+ risk: z.ZodString;
4183
+ minThreshold: z.ZodNumber;
4184
+ maxThreshold: z.ZodNumber;
4185
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
4186
+ direction: z.ZodLiteral<"both_directions">;
4187
+ }, "strip", z.ZodTypeAny, {
4188
+ risk: string;
4189
+ exposureType: "direct" | "indirect";
4190
+ direction: "both_directions";
4191
+ minThreshold: number;
4192
+ maxThreshold: number;
4193
+ }, {
4194
+ risk: string;
4195
+ exposureType: "direct" | "indirect";
4196
+ direction: "both_directions";
4197
+ minThreshold: number;
4198
+ maxThreshold: number;
4199
+ }>>>;
4200
+ }, "strip", z.ZodTypeAny, {
4201
+ message: string;
4202
+ category: string;
4203
+ percentage: number;
4204
+ ruleTriggered?: {
4205
+ risk: string;
4206
+ exposureType: "direct" | "indirect";
4207
+ direction: "both_directions";
4208
+ minThreshold: number;
4209
+ maxThreshold: number;
4210
+ } | null | undefined;
4211
+ }, {
4212
+ message: string;
4213
+ category: string;
4214
+ percentage: number;
4215
+ ruleTriggered?: {
4216
+ risk: string;
4217
+ exposureType: "direct" | "indirect";
4218
+ direction: "both_directions";
4219
+ minThreshold: number;
4220
+ maxThreshold: number;
4221
+ } | null | undefined;
4222
+ }>, "many">>>;
4223
+ status: z.ZodLiteral<"COMPLETE">;
4224
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4225
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4226
+ tokens: z.ZodArray<z.ZodString, "many">;
4227
+ }, "strip", z.ZodTypeAny, {
4228
+ tokens: string[];
4229
+ fees?: number | null | undefined;
4230
+ }, {
4231
+ tokens: string[];
4232
+ fees?: number | null | undefined;
4233
+ }>>>;
4234
+ }, "strip", z.ZodTypeAny, {
4235
+ status: "COMPLETE";
4236
+ address: string;
4237
+ risk: "Low" | "Medium" | "High" | "Severe";
4238
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4239
+ addressIdentifications: {
4240
+ name: string;
4241
+ description: string;
4242
+ address: string;
4243
+ createdAt: number;
4244
+ category: string;
4245
+ url?: string | null | undefined;
4246
+ }[];
4247
+ cluster?: {
4248
+ name: string;
4249
+ category: string;
4250
+ } | null | undefined;
4251
+ riskReason?: string | null | undefined;
4252
+ exposures?: {
4253
+ value: number;
4254
+ category: string;
4255
+ exposureType: "direct" | "indirect";
4256
+ direction: "both_directions";
4257
+ }[] | null | undefined;
4258
+ triggers?: {
4259
+ message: string;
4260
+ category: string;
4261
+ percentage: number;
4262
+ ruleTriggered?: {
4263
+ risk: string;
4264
+ exposureType: "direct" | "indirect";
4265
+ direction: "both_directions";
4266
+ minThreshold: number;
4267
+ maxThreshold: number;
4268
+ } | null | undefined;
4269
+ }[] | null | undefined;
4270
+ poolMetadata?: {
4271
+ tokens: string[];
4272
+ fees?: number | null | undefined;
4273
+ } | null | undefined;
4274
+ }, {
4275
+ status: "COMPLETE";
4276
+ address: string;
4277
+ risk: "Low" | "Medium" | "High" | "Severe";
4278
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4279
+ addressIdentifications: {
4280
+ name: string;
4281
+ description: string;
4282
+ address: string;
4283
+ createdAt: number;
4284
+ category: string;
4285
+ url?: string | null | undefined;
4286
+ }[];
4287
+ cluster?: {
4288
+ name: string;
4289
+ category: string;
4290
+ } | null | undefined;
4291
+ riskReason?: string | null | undefined;
4292
+ exposures?: {
4293
+ value: number;
4294
+ category: string;
4295
+ exposureType: "direct" | "indirect";
4296
+ direction: "both_directions";
4297
+ }[] | null | undefined;
4298
+ triggers?: {
4299
+ message: string;
4300
+ category: string;
4301
+ percentage: number;
4302
+ ruleTriggered?: {
4303
+ risk: string;
4304
+ exposureType: "direct" | "indirect";
4305
+ direction: "both_directions";
4306
+ minThreshold: number;
4307
+ maxThreshold: number;
4308
+ } | null | undefined;
4309
+ }[] | null | undefined;
4310
+ poolMetadata?: {
4311
+ tokens: string[];
4312
+ fees?: number | null | undefined;
4313
+ } | null | undefined;
4314
+ }>, z.ZodObject<{
4315
+ error: z.ZodObject<{
4316
+ error: z.ZodString;
4317
+ message: z.ZodString;
4318
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4319
+ }, "strip", z.ZodTypeAny, {
4320
+ message: string;
4321
+ error: string;
4322
+ data?: string | null | undefined;
4323
+ }, {
4324
+ message: string;
4325
+ error: string;
4326
+ data?: string | null | undefined;
4327
+ }>;
4328
+ }, "strip", z.ZodTypeAny, {
4329
+ error: {
4330
+ message: string;
4331
+ error: string;
4332
+ data?: string | null | undefined;
4333
+ };
4334
+ }, {
4335
+ error: {
4336
+ message: string;
4337
+ error: string;
4338
+ data?: string | null | undefined;
4339
+ };
4340
+ }>]>;
4341
+ }, "strip", z.ZodTypeAny, {
4342
+ type: "chainalysis";
4343
+ data: {
4344
+ status: "COMPLETE";
4345
+ address: string;
4346
+ risk: "Low" | "Medium" | "High" | "Severe";
4347
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4348
+ addressIdentifications: {
4349
+ name: string;
4350
+ description: string;
4351
+ address: string;
4352
+ createdAt: number;
4353
+ category: string;
4354
+ url?: string | null | undefined;
4355
+ }[];
4356
+ cluster?: {
4357
+ name: string;
4358
+ category: string;
4359
+ } | null | undefined;
4360
+ riskReason?: string | null | undefined;
4361
+ exposures?: {
4362
+ value: number;
4363
+ category: string;
4364
+ exposureType: "direct" | "indirect";
4365
+ direction: "both_directions";
4366
+ }[] | null | undefined;
4367
+ triggers?: {
4368
+ message: string;
4369
+ category: string;
4370
+ percentage: number;
4371
+ ruleTriggered?: {
4372
+ risk: string;
4373
+ exposureType: "direct" | "indirect";
4374
+ direction: "both_directions";
4375
+ minThreshold: number;
4376
+ maxThreshold: number;
4377
+ } | null | undefined;
4378
+ }[] | null | undefined;
4379
+ poolMetadata?: {
4380
+ tokens: string[];
4381
+ fees?: number | null | undefined;
4382
+ } | null | undefined;
4383
+ } | {
4384
+ error: {
4385
+ message: string;
4386
+ error: string;
4387
+ data?: string | null | undefined;
4388
+ };
4389
+ };
4390
+ }, {
4391
+ type: "chainalysis";
4392
+ data: {
4393
+ status: "COMPLETE";
4394
+ address: string;
4395
+ risk: "Low" | "Medium" | "High" | "Severe";
4396
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4397
+ addressIdentifications: {
4398
+ name: string;
4399
+ description: string;
4400
+ address: string;
4401
+ createdAt: number;
4402
+ category: string;
4403
+ url?: string | null | undefined;
4404
+ }[];
4405
+ cluster?: {
4406
+ name: string;
4407
+ category: string;
4408
+ } | null | undefined;
4409
+ riskReason?: string | null | undefined;
4410
+ exposures?: {
4411
+ value: number;
4412
+ category: string;
4413
+ exposureType: "direct" | "indirect";
4414
+ direction: "both_directions";
4415
+ }[] | null | undefined;
4416
+ triggers?: {
4417
+ message: string;
4418
+ category: string;
4419
+ percentage: number;
4420
+ ruleTriggered?: {
4421
+ risk: string;
4422
+ exposureType: "direct" | "indirect";
4423
+ direction: "both_directions";
4424
+ minThreshold: number;
4425
+ maxThreshold: number;
4426
+ } | null | undefined;
4427
+ }[] | null | undefined;
4428
+ poolMetadata?: {
4429
+ tokens: string[];
4430
+ fees?: number | null | undefined;
4431
+ } | null | undefined;
4432
+ } | {
4433
+ error: {
4434
+ message: string;
4435
+ error: string;
4436
+ data?: string | null | undefined;
4437
+ };
4438
+ };
4118
4439
  }>, z.ZodObject<{
4119
4440
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
4120
4441
  data: z.ZodUnion<[z.ZodObject<{
@@ -6488,6 +6809,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
6488
6809
  risk_level?: number | null | undefined;
6489
6810
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
6490
6811
  };
6812
+ } | {
6813
+ type: "chainalysis";
6814
+ data: {
6815
+ status: "COMPLETE";
6816
+ address: string;
6817
+ risk: "Low" | "Medium" | "High" | "Severe";
6818
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
6819
+ addressIdentifications: {
6820
+ name: string;
6821
+ description: string;
6822
+ address: string;
6823
+ createdAt: number;
6824
+ category: string;
6825
+ url?: string | null | undefined;
6826
+ }[];
6827
+ cluster?: {
6828
+ name: string;
6829
+ category: string;
6830
+ } | null | undefined;
6831
+ riskReason?: string | null | undefined;
6832
+ exposures?: {
6833
+ value: number;
6834
+ category: string;
6835
+ exposureType: "direct" | "indirect";
6836
+ direction: "both_directions";
6837
+ }[] | null | undefined;
6838
+ triggers?: {
6839
+ message: string;
6840
+ category: string;
6841
+ percentage: number;
6842
+ ruleTriggered?: {
6843
+ risk: string;
6844
+ exposureType: "direct" | "indirect";
6845
+ direction: "both_directions";
6846
+ minThreshold: number;
6847
+ maxThreshold: number;
6848
+ } | null | undefined;
6849
+ }[] | null | undefined;
6850
+ poolMetadata?: {
6851
+ tokens: string[];
6852
+ fees?: number | null | undefined;
6853
+ } | null | undefined;
6854
+ } | {
6855
+ error: {
6856
+ message: string;
6857
+ error: string;
6858
+ data?: string | null | undefined;
6859
+ };
6860
+ };
6491
6861
  } | {
6492
6862
  type: "ipQualityScore" | "integratedIpqualityscore";
6493
6863
  data: {
@@ -7101,6 +7471,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
7101
7471
  risk_level?: number | null | undefined;
7102
7472
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
7103
7473
  };
7474
+ } | {
7475
+ type: "chainalysis";
7476
+ data: {
7477
+ status: "COMPLETE";
7478
+ address: string;
7479
+ risk: "Low" | "Medium" | "High" | "Severe";
7480
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
7481
+ addressIdentifications: {
7482
+ name: string;
7483
+ description: string;
7484
+ address: string;
7485
+ createdAt: number;
7486
+ category: string;
7487
+ url?: string | null | undefined;
7488
+ }[];
7489
+ cluster?: {
7490
+ name: string;
7491
+ category: string;
7492
+ } | null | undefined;
7493
+ riskReason?: string | null | undefined;
7494
+ exposures?: {
7495
+ value: number;
7496
+ category: string;
7497
+ exposureType: "direct" | "indirect";
7498
+ direction: "both_directions";
7499
+ }[] | null | undefined;
7500
+ triggers?: {
7501
+ message: string;
7502
+ category: string;
7503
+ percentage: number;
7504
+ ruleTriggered?: {
7505
+ risk: string;
7506
+ exposureType: "direct" | "indirect";
7507
+ direction: "both_directions";
7508
+ minThreshold: number;
7509
+ maxThreshold: number;
7510
+ } | null | undefined;
7511
+ }[] | null | undefined;
7512
+ poolMetadata?: {
7513
+ tokens: string[];
7514
+ fees?: number | null | undefined;
7515
+ } | null | undefined;
7516
+ } | {
7517
+ error: {
7518
+ message: string;
7519
+ error: string;
7520
+ data?: string | null | undefined;
7521
+ };
7522
+ };
7104
7523
  } | {
7105
7524
  type: "ipQualityScore" | "integratedIpqualityscore";
7106
7525
  data: {
@@ -7716,6 +8135,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
7716
8135
  risk_level?: number | null | undefined;
7717
8136
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
7718
8137
  };
8138
+ } | {
8139
+ type: "chainalysis";
8140
+ data: {
8141
+ status: "COMPLETE";
8142
+ address: string;
8143
+ risk: "Low" | "Medium" | "High" | "Severe";
8144
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
8145
+ addressIdentifications: {
8146
+ name: string;
8147
+ description: string;
8148
+ address: string;
8149
+ createdAt: number;
8150
+ category: string;
8151
+ url?: string | null | undefined;
8152
+ }[];
8153
+ cluster?: {
8154
+ name: string;
8155
+ category: string;
8156
+ } | null | undefined;
8157
+ riskReason?: string | null | undefined;
8158
+ exposures?: {
8159
+ value: number;
8160
+ category: string;
8161
+ exposureType: "direct" | "indirect";
8162
+ direction: "both_directions";
8163
+ }[] | null | undefined;
8164
+ triggers?: {
8165
+ message: string;
8166
+ category: string;
8167
+ percentage: number;
8168
+ ruleTriggered?: {
8169
+ risk: string;
8170
+ exposureType: "direct" | "indirect";
8171
+ direction: "both_directions";
8172
+ minThreshold: number;
8173
+ maxThreshold: number;
8174
+ } | null | undefined;
8175
+ }[] | null | undefined;
8176
+ poolMetadata?: {
8177
+ tokens: string[];
8178
+ fees?: number | null | undefined;
8179
+ } | null | undefined;
8180
+ } | {
8181
+ error: {
8182
+ message: string;
8183
+ error: string;
8184
+ data?: string | null | undefined;
8185
+ };
8186
+ };
7719
8187
  } | {
7720
8188
  type: "ipQualityScore" | "integratedIpqualityscore";
7721
8189
  data: {
@@ -8332,6 +8800,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
8332
8800
  risk_level?: number | null | undefined;
8333
8801
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
8334
8802
  };
8803
+ } | {
8804
+ type: "chainalysis";
8805
+ data: {
8806
+ status: "COMPLETE";
8807
+ address: string;
8808
+ risk: "Low" | "Medium" | "High" | "Severe";
8809
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
8810
+ addressIdentifications: {
8811
+ name: string;
8812
+ description: string;
8813
+ address: string;
8814
+ createdAt: number;
8815
+ category: string;
8816
+ url?: string | null | undefined;
8817
+ }[];
8818
+ cluster?: {
8819
+ name: string;
8820
+ category: string;
8821
+ } | null | undefined;
8822
+ riskReason?: string | null | undefined;
8823
+ exposures?: {
8824
+ value: number;
8825
+ category: string;
8826
+ exposureType: "direct" | "indirect";
8827
+ direction: "both_directions";
8828
+ }[] | null | undefined;
8829
+ triggers?: {
8830
+ message: string;
8831
+ category: string;
8832
+ percentage: number;
8833
+ ruleTriggered?: {
8834
+ risk: string;
8835
+ exposureType: "direct" | "indirect";
8836
+ direction: "both_directions";
8837
+ minThreshold: number;
8838
+ maxThreshold: number;
8839
+ } | null | undefined;
8840
+ }[] | null | undefined;
8841
+ poolMetadata?: {
8842
+ tokens: string[];
8843
+ fees?: number | null | undefined;
8844
+ } | null | undefined;
8845
+ } | {
8846
+ error: {
8847
+ message: string;
8848
+ error: string;
8849
+ data?: string | null | undefined;
8850
+ };
8851
+ };
8335
8852
  } | {
8336
8853
  type: "ipQualityScore" | "integratedIpqualityscore";
8337
8854
  data: {
@@ -11708,7 +12225,11 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
11708
12225
  statusCode: 500;
11709
12226
  errorCode: "INTERNAL_SERVER_ERROR";
11710
12227
  }>, z.ZodObject<{
11711
- statusCode: z.ZodLiteral<500>;
12228
+ statusCode: z.ZodLiteral<500>; /**
12229
+ *
12230
+ * Send Messages Types
12231
+ *
12232
+ */
11712
12233
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
11713
12234
  message: z.ZodString;
11714
12235
  }, "strip", z.ZodTypeAny, {
@@ -13033,6 +13554,323 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
13033
13554
  risk_level?: number | null | undefined;
13034
13555
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
13035
13556
  };
13557
+ }>, z.ZodObject<{
13558
+ type: z.ZodEnum<["chainalysis"]>;
13559
+ data: z.ZodUnion<[z.ZodObject<{
13560
+ address: z.ZodString;
13561
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
13562
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13563
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13564
+ name: z.ZodString;
13565
+ category: z.ZodString;
13566
+ }, "strip", z.ZodTypeAny, {
13567
+ name: string;
13568
+ category: string;
13569
+ }, {
13570
+ name: string;
13571
+ category: string;
13572
+ }>>>;
13573
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
13574
+ addressIdentifications: z.ZodArray<z.ZodObject<{
13575
+ name: z.ZodString;
13576
+ address: z.ZodString;
13577
+ category: z.ZodString;
13578
+ description: z.ZodString;
13579
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13580
+ createdAt: z.ZodNumber;
13581
+ }, "strip", z.ZodTypeAny, {
13582
+ name: string;
13583
+ description: string;
13584
+ address: string;
13585
+ createdAt: number;
13586
+ category: string;
13587
+ url?: string | null | undefined;
13588
+ }, {
13589
+ name: string;
13590
+ description: string;
13591
+ address: string;
13592
+ createdAt: number;
13593
+ category: string;
13594
+ url?: string | null | undefined;
13595
+ }>, "many">;
13596
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13597
+ category: z.ZodString;
13598
+ value: z.ZodNumber;
13599
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
13600
+ direction: z.ZodLiteral<"both_directions">;
13601
+ }, "strip", z.ZodTypeAny, {
13602
+ value: number;
13603
+ category: string;
13604
+ exposureType: "direct" | "indirect";
13605
+ direction: "both_directions";
13606
+ }, {
13607
+ value: number;
13608
+ category: string;
13609
+ exposureType: "direct" | "indirect";
13610
+ direction: "both_directions";
13611
+ }>, "many">>>;
13612
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13613
+ category: z.ZodString;
13614
+ percentage: z.ZodNumber;
13615
+ message: z.ZodString;
13616
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13617
+ risk: z.ZodString;
13618
+ minThreshold: z.ZodNumber;
13619
+ maxThreshold: z.ZodNumber;
13620
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
13621
+ direction: z.ZodLiteral<"both_directions">;
13622
+ }, "strip", z.ZodTypeAny, {
13623
+ risk: string;
13624
+ exposureType: "direct" | "indirect";
13625
+ direction: "both_directions";
13626
+ minThreshold: number;
13627
+ maxThreshold: number;
13628
+ }, {
13629
+ risk: string;
13630
+ exposureType: "direct" | "indirect";
13631
+ direction: "both_directions";
13632
+ minThreshold: number;
13633
+ maxThreshold: number;
13634
+ }>>>;
13635
+ }, "strip", z.ZodTypeAny, {
13636
+ message: string;
13637
+ category: string;
13638
+ percentage: number;
13639
+ ruleTriggered?: {
13640
+ risk: string;
13641
+ exposureType: "direct" | "indirect";
13642
+ direction: "both_directions";
13643
+ minThreshold: number;
13644
+ maxThreshold: number;
13645
+ } | null | undefined;
13646
+ }, {
13647
+ message: string;
13648
+ category: string;
13649
+ percentage: number;
13650
+ ruleTriggered?: {
13651
+ risk: string;
13652
+ exposureType: "direct" | "indirect";
13653
+ direction: "both_directions";
13654
+ minThreshold: number;
13655
+ maxThreshold: number;
13656
+ } | null | undefined;
13657
+ }>, "many">>>;
13658
+ status: z.ZodLiteral<"COMPLETE">;
13659
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13660
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13661
+ tokens: z.ZodArray<z.ZodString, "many">;
13662
+ }, "strip", z.ZodTypeAny, {
13663
+ tokens: string[];
13664
+ fees?: number | null | undefined;
13665
+ }, {
13666
+ tokens: string[];
13667
+ fees?: number | null | undefined;
13668
+ }>>>;
13669
+ }, "strip", z.ZodTypeAny, {
13670
+ status: "COMPLETE";
13671
+ address: string;
13672
+ risk: "Low" | "Medium" | "High" | "Severe";
13673
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13674
+ addressIdentifications: {
13675
+ name: string;
13676
+ description: string;
13677
+ address: string;
13678
+ createdAt: number;
13679
+ category: string;
13680
+ url?: string | null | undefined;
13681
+ }[];
13682
+ cluster?: {
13683
+ name: string;
13684
+ category: string;
13685
+ } | null | undefined;
13686
+ riskReason?: string | null | undefined;
13687
+ exposures?: {
13688
+ value: number;
13689
+ category: string;
13690
+ exposureType: "direct" | "indirect";
13691
+ direction: "both_directions";
13692
+ }[] | null | undefined;
13693
+ triggers?: {
13694
+ message: string;
13695
+ category: string;
13696
+ percentage: number;
13697
+ ruleTriggered?: {
13698
+ risk: string;
13699
+ exposureType: "direct" | "indirect";
13700
+ direction: "both_directions";
13701
+ minThreshold: number;
13702
+ maxThreshold: number;
13703
+ } | null | undefined;
13704
+ }[] | null | undefined;
13705
+ poolMetadata?: {
13706
+ tokens: string[];
13707
+ fees?: number | null | undefined;
13708
+ } | null | undefined;
13709
+ }, {
13710
+ status: "COMPLETE";
13711
+ address: string;
13712
+ risk: "Low" | "Medium" | "High" | "Severe";
13713
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13714
+ addressIdentifications: {
13715
+ name: string;
13716
+ description: string;
13717
+ address: string;
13718
+ createdAt: number;
13719
+ category: string;
13720
+ url?: string | null | undefined;
13721
+ }[];
13722
+ cluster?: {
13723
+ name: string;
13724
+ category: string;
13725
+ } | null | undefined;
13726
+ riskReason?: string | null | undefined;
13727
+ exposures?: {
13728
+ value: number;
13729
+ category: string;
13730
+ exposureType: "direct" | "indirect";
13731
+ direction: "both_directions";
13732
+ }[] | null | undefined;
13733
+ triggers?: {
13734
+ message: string;
13735
+ category: string;
13736
+ percentage: number;
13737
+ ruleTriggered?: {
13738
+ risk: string;
13739
+ exposureType: "direct" | "indirect";
13740
+ direction: "both_directions";
13741
+ minThreshold: number;
13742
+ maxThreshold: number;
13743
+ } | null | undefined;
13744
+ }[] | null | undefined;
13745
+ poolMetadata?: {
13746
+ tokens: string[];
13747
+ fees?: number | null | undefined;
13748
+ } | null | undefined;
13749
+ }>, z.ZodObject<{
13750
+ error: z.ZodObject<{
13751
+ error: z.ZodString;
13752
+ message: z.ZodString;
13753
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13754
+ }, "strip", z.ZodTypeAny, {
13755
+ message: string;
13756
+ error: string;
13757
+ data?: string | null | undefined;
13758
+ }, {
13759
+ message: string;
13760
+ error: string;
13761
+ data?: string | null | undefined;
13762
+ }>;
13763
+ }, "strip", z.ZodTypeAny, {
13764
+ error: {
13765
+ message: string;
13766
+ error: string;
13767
+ data?: string | null | undefined;
13768
+ };
13769
+ }, {
13770
+ error: {
13771
+ message: string;
13772
+ error: string;
13773
+ data?: string | null | undefined;
13774
+ };
13775
+ }>]>;
13776
+ }, "strip", z.ZodTypeAny, {
13777
+ type: "chainalysis";
13778
+ data: {
13779
+ status: "COMPLETE";
13780
+ address: string;
13781
+ risk: "Low" | "Medium" | "High" | "Severe";
13782
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13783
+ addressIdentifications: {
13784
+ name: string;
13785
+ description: string;
13786
+ address: string;
13787
+ createdAt: number;
13788
+ category: string;
13789
+ url?: string | null | undefined;
13790
+ }[];
13791
+ cluster?: {
13792
+ name: string;
13793
+ category: string;
13794
+ } | null | undefined;
13795
+ riskReason?: string | null | undefined;
13796
+ exposures?: {
13797
+ value: number;
13798
+ category: string;
13799
+ exposureType: "direct" | "indirect";
13800
+ direction: "both_directions";
13801
+ }[] | null | undefined;
13802
+ triggers?: {
13803
+ message: string;
13804
+ category: string;
13805
+ percentage: number;
13806
+ ruleTriggered?: {
13807
+ risk: string;
13808
+ exposureType: "direct" | "indirect";
13809
+ direction: "both_directions";
13810
+ minThreshold: number;
13811
+ maxThreshold: number;
13812
+ } | null | undefined;
13813
+ }[] | null | undefined;
13814
+ poolMetadata?: {
13815
+ tokens: string[];
13816
+ fees?: number | null | undefined;
13817
+ } | null | undefined;
13818
+ } | {
13819
+ error: {
13820
+ message: string;
13821
+ error: string;
13822
+ data?: string | null | undefined;
13823
+ };
13824
+ };
13825
+ }, {
13826
+ type: "chainalysis";
13827
+ data: {
13828
+ status: "COMPLETE";
13829
+ address: string;
13830
+ risk: "Low" | "Medium" | "High" | "Severe";
13831
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13832
+ addressIdentifications: {
13833
+ name: string;
13834
+ description: string;
13835
+ address: string;
13836
+ createdAt: number;
13837
+ category: string;
13838
+ url?: string | null | undefined;
13839
+ }[];
13840
+ cluster?: {
13841
+ name: string;
13842
+ category: string;
13843
+ } | null | undefined;
13844
+ riskReason?: string | null | undefined;
13845
+ exposures?: {
13846
+ value: number;
13847
+ category: string;
13848
+ exposureType: "direct" | "indirect";
13849
+ direction: "both_directions";
13850
+ }[] | null | undefined;
13851
+ triggers?: {
13852
+ message: string;
13853
+ category: string;
13854
+ percentage: number;
13855
+ ruleTriggered?: {
13856
+ risk: string;
13857
+ exposureType: "direct" | "indirect";
13858
+ direction: "both_directions";
13859
+ minThreshold: number;
13860
+ maxThreshold: number;
13861
+ } | null | undefined;
13862
+ }[] | null | undefined;
13863
+ poolMetadata?: {
13864
+ tokens: string[];
13865
+ fees?: number | null | undefined;
13866
+ } | null | undefined;
13867
+ } | {
13868
+ error: {
13869
+ message: string;
13870
+ error: string;
13871
+ data?: string | null | undefined;
13872
+ };
13873
+ };
13036
13874
  }>, z.ZodObject<{
13037
13875
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
13038
13876
  data: z.ZodUnion<[z.ZodObject<{
@@ -15406,6 +16244,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
15406
16244
  risk_level?: number | null | undefined;
15407
16245
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
15408
16246
  };
16247
+ } | {
16248
+ type: "chainalysis";
16249
+ data: {
16250
+ status: "COMPLETE";
16251
+ address: string;
16252
+ risk: "Low" | "Medium" | "High" | "Severe";
16253
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
16254
+ addressIdentifications: {
16255
+ name: string;
16256
+ description: string;
16257
+ address: string;
16258
+ createdAt: number;
16259
+ category: string;
16260
+ url?: string | null | undefined;
16261
+ }[];
16262
+ cluster?: {
16263
+ name: string;
16264
+ category: string;
16265
+ } | null | undefined;
16266
+ riskReason?: string | null | undefined;
16267
+ exposures?: {
16268
+ value: number;
16269
+ category: string;
16270
+ exposureType: "direct" | "indirect";
16271
+ direction: "both_directions";
16272
+ }[] | null | undefined;
16273
+ triggers?: {
16274
+ message: string;
16275
+ category: string;
16276
+ percentage: number;
16277
+ ruleTriggered?: {
16278
+ risk: string;
16279
+ exposureType: "direct" | "indirect";
16280
+ direction: "both_directions";
16281
+ minThreshold: number;
16282
+ maxThreshold: number;
16283
+ } | null | undefined;
16284
+ }[] | null | undefined;
16285
+ poolMetadata?: {
16286
+ tokens: string[];
16287
+ fees?: number | null | undefined;
16288
+ } | null | undefined;
16289
+ } | {
16290
+ error: {
16291
+ message: string;
16292
+ error: string;
16293
+ data?: string | null | undefined;
16294
+ };
16295
+ };
15409
16296
  } | {
15410
16297
  type: "ipQualityScore" | "integratedIpqualityscore";
15411
16298
  data: {
@@ -16019,6 +16906,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
16019
16906
  risk_level?: number | null | undefined;
16020
16907
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
16021
16908
  };
16909
+ } | {
16910
+ type: "chainalysis";
16911
+ data: {
16912
+ status: "COMPLETE";
16913
+ address: string;
16914
+ risk: "Low" | "Medium" | "High" | "Severe";
16915
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
16916
+ addressIdentifications: {
16917
+ name: string;
16918
+ description: string;
16919
+ address: string;
16920
+ createdAt: number;
16921
+ category: string;
16922
+ url?: string | null | undefined;
16923
+ }[];
16924
+ cluster?: {
16925
+ name: string;
16926
+ category: string;
16927
+ } | null | undefined;
16928
+ riskReason?: string | null | undefined;
16929
+ exposures?: {
16930
+ value: number;
16931
+ category: string;
16932
+ exposureType: "direct" | "indirect";
16933
+ direction: "both_directions";
16934
+ }[] | null | undefined;
16935
+ triggers?: {
16936
+ message: string;
16937
+ category: string;
16938
+ percentage: number;
16939
+ ruleTriggered?: {
16940
+ risk: string;
16941
+ exposureType: "direct" | "indirect";
16942
+ direction: "both_directions";
16943
+ minThreshold: number;
16944
+ maxThreshold: number;
16945
+ } | null | undefined;
16946
+ }[] | null | undefined;
16947
+ poolMetadata?: {
16948
+ tokens: string[];
16949
+ fees?: number | null | undefined;
16950
+ } | null | undefined;
16951
+ } | {
16952
+ error: {
16953
+ message: string;
16954
+ error: string;
16955
+ data?: string | null | undefined;
16956
+ };
16957
+ };
16022
16958
  } | {
16023
16959
  type: "ipQualityScore" | "integratedIpqualityscore";
16024
16960
  data: {
@@ -16634,6 +17570,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
16634
17570
  risk_level?: number | null | undefined;
16635
17571
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
16636
17572
  };
17573
+ } | {
17574
+ type: "chainalysis";
17575
+ data: {
17576
+ status: "COMPLETE";
17577
+ address: string;
17578
+ risk: "Low" | "Medium" | "High" | "Severe";
17579
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
17580
+ addressIdentifications: {
17581
+ name: string;
17582
+ description: string;
17583
+ address: string;
17584
+ createdAt: number;
17585
+ category: string;
17586
+ url?: string | null | undefined;
17587
+ }[];
17588
+ cluster?: {
17589
+ name: string;
17590
+ category: string;
17591
+ } | null | undefined;
17592
+ riskReason?: string | null | undefined;
17593
+ exposures?: {
17594
+ value: number;
17595
+ category: string;
17596
+ exposureType: "direct" | "indirect";
17597
+ direction: "both_directions";
17598
+ }[] | null | undefined;
17599
+ triggers?: {
17600
+ message: string;
17601
+ category: string;
17602
+ percentage: number;
17603
+ ruleTriggered?: {
17604
+ risk: string;
17605
+ exposureType: "direct" | "indirect";
17606
+ direction: "both_directions";
17607
+ minThreshold: number;
17608
+ maxThreshold: number;
17609
+ } | null | undefined;
17610
+ }[] | null | undefined;
17611
+ poolMetadata?: {
17612
+ tokens: string[];
17613
+ fees?: number | null | undefined;
17614
+ } | null | undefined;
17615
+ } | {
17616
+ error: {
17617
+ message: string;
17618
+ error: string;
17619
+ data?: string | null | undefined;
17620
+ };
17621
+ };
16637
17622
  } | {
16638
17623
  type: "ipQualityScore" | "integratedIpqualityscore";
16639
17624
  data: {
@@ -17250,6 +18235,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
17250
18235
  risk_level?: number | null | undefined;
17251
18236
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
17252
18237
  };
18238
+ } | {
18239
+ type: "chainalysis";
18240
+ data: {
18241
+ status: "COMPLETE";
18242
+ address: string;
18243
+ risk: "Low" | "Medium" | "High" | "Severe";
18244
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
18245
+ addressIdentifications: {
18246
+ name: string;
18247
+ description: string;
18248
+ address: string;
18249
+ createdAt: number;
18250
+ category: string;
18251
+ url?: string | null | undefined;
18252
+ }[];
18253
+ cluster?: {
18254
+ name: string;
18255
+ category: string;
18256
+ } | null | undefined;
18257
+ riskReason?: string | null | undefined;
18258
+ exposures?: {
18259
+ value: number;
18260
+ category: string;
18261
+ exposureType: "direct" | "indirect";
18262
+ direction: "both_directions";
18263
+ }[] | null | undefined;
18264
+ triggers?: {
18265
+ message: string;
18266
+ category: string;
18267
+ percentage: number;
18268
+ ruleTriggered?: {
18269
+ risk: string;
18270
+ exposureType: "direct" | "indirect";
18271
+ direction: "both_directions";
18272
+ minThreshold: number;
18273
+ maxThreshold: number;
18274
+ } | null | undefined;
18275
+ }[] | null | undefined;
18276
+ poolMetadata?: {
18277
+ tokens: string[];
18278
+ fees?: number | null | undefined;
18279
+ } | null | undefined;
18280
+ } | {
18281
+ error: {
18282
+ message: string;
18283
+ error: string;
18284
+ data?: string | null | undefined;
18285
+ };
18286
+ };
17253
18287
  } | {
17254
18288
  type: "ipQualityScore" | "integratedIpqualityscore";
17255
18289
  data: {
@@ -20623,7 +21657,11 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
20623
21657
  statusCode: 500;
20624
21658
  errorCode: "INTERNAL_SERVER_ERROR";
20625
21659
  }>, z.ZodObject<{
20626
- statusCode: z.ZodLiteral<500>;
21660
+ statusCode: z.ZodLiteral<500>; /**
21661
+ *
21662
+ * Send Messages Types
21663
+ *
21664
+ */
20627
21665
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
20628
21666
  message: z.ZodString;
20629
21667
  }, "strip", z.ZodTypeAny, {
@@ -21948,6 +22986,323 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
21948
22986
  risk_level?: number | null | undefined;
21949
22987
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
21950
22988
  };
22989
+ }>, z.ZodObject<{
22990
+ type: z.ZodEnum<["chainalysis"]>;
22991
+ data: z.ZodUnion<[z.ZodObject<{
22992
+ address: z.ZodString;
22993
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
22994
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22995
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22996
+ name: z.ZodString;
22997
+ category: z.ZodString;
22998
+ }, "strip", z.ZodTypeAny, {
22999
+ name: string;
23000
+ category: string;
23001
+ }, {
23002
+ name: string;
23003
+ category: string;
23004
+ }>>>;
23005
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
23006
+ addressIdentifications: z.ZodArray<z.ZodObject<{
23007
+ name: z.ZodString;
23008
+ address: z.ZodString;
23009
+ category: z.ZodString;
23010
+ description: z.ZodString;
23011
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23012
+ createdAt: z.ZodNumber;
23013
+ }, "strip", z.ZodTypeAny, {
23014
+ name: string;
23015
+ description: string;
23016
+ address: string;
23017
+ createdAt: number;
23018
+ category: string;
23019
+ url?: string | null | undefined;
23020
+ }, {
23021
+ name: string;
23022
+ description: string;
23023
+ address: string;
23024
+ createdAt: number;
23025
+ category: string;
23026
+ url?: string | null | undefined;
23027
+ }>, "many">;
23028
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23029
+ category: z.ZodString;
23030
+ value: z.ZodNumber;
23031
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
23032
+ direction: z.ZodLiteral<"both_directions">;
23033
+ }, "strip", z.ZodTypeAny, {
23034
+ value: number;
23035
+ category: string;
23036
+ exposureType: "direct" | "indirect";
23037
+ direction: "both_directions";
23038
+ }, {
23039
+ value: number;
23040
+ category: string;
23041
+ exposureType: "direct" | "indirect";
23042
+ direction: "both_directions";
23043
+ }>, "many">>>;
23044
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23045
+ category: z.ZodString;
23046
+ percentage: z.ZodNumber;
23047
+ message: z.ZodString;
23048
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23049
+ risk: z.ZodString;
23050
+ minThreshold: z.ZodNumber;
23051
+ maxThreshold: z.ZodNumber;
23052
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
23053
+ direction: z.ZodLiteral<"both_directions">;
23054
+ }, "strip", z.ZodTypeAny, {
23055
+ risk: string;
23056
+ exposureType: "direct" | "indirect";
23057
+ direction: "both_directions";
23058
+ minThreshold: number;
23059
+ maxThreshold: number;
23060
+ }, {
23061
+ risk: string;
23062
+ exposureType: "direct" | "indirect";
23063
+ direction: "both_directions";
23064
+ minThreshold: number;
23065
+ maxThreshold: number;
23066
+ }>>>;
23067
+ }, "strip", z.ZodTypeAny, {
23068
+ message: string;
23069
+ category: string;
23070
+ percentage: number;
23071
+ ruleTriggered?: {
23072
+ risk: string;
23073
+ exposureType: "direct" | "indirect";
23074
+ direction: "both_directions";
23075
+ minThreshold: number;
23076
+ maxThreshold: number;
23077
+ } | null | undefined;
23078
+ }, {
23079
+ message: string;
23080
+ category: string;
23081
+ percentage: number;
23082
+ ruleTriggered?: {
23083
+ risk: string;
23084
+ exposureType: "direct" | "indirect";
23085
+ direction: "both_directions";
23086
+ minThreshold: number;
23087
+ maxThreshold: number;
23088
+ } | null | undefined;
23089
+ }>, "many">>>;
23090
+ status: z.ZodLiteral<"COMPLETE">;
23091
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23092
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23093
+ tokens: z.ZodArray<z.ZodString, "many">;
23094
+ }, "strip", z.ZodTypeAny, {
23095
+ tokens: string[];
23096
+ fees?: number | null | undefined;
23097
+ }, {
23098
+ tokens: string[];
23099
+ fees?: number | null | undefined;
23100
+ }>>>;
23101
+ }, "strip", z.ZodTypeAny, {
23102
+ status: "COMPLETE";
23103
+ address: string;
23104
+ risk: "Low" | "Medium" | "High" | "Severe";
23105
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23106
+ addressIdentifications: {
23107
+ name: string;
23108
+ description: string;
23109
+ address: string;
23110
+ createdAt: number;
23111
+ category: string;
23112
+ url?: string | null | undefined;
23113
+ }[];
23114
+ cluster?: {
23115
+ name: string;
23116
+ category: string;
23117
+ } | null | undefined;
23118
+ riskReason?: string | null | undefined;
23119
+ exposures?: {
23120
+ value: number;
23121
+ category: string;
23122
+ exposureType: "direct" | "indirect";
23123
+ direction: "both_directions";
23124
+ }[] | null | undefined;
23125
+ triggers?: {
23126
+ message: string;
23127
+ category: string;
23128
+ percentage: number;
23129
+ ruleTriggered?: {
23130
+ risk: string;
23131
+ exposureType: "direct" | "indirect";
23132
+ direction: "both_directions";
23133
+ minThreshold: number;
23134
+ maxThreshold: number;
23135
+ } | null | undefined;
23136
+ }[] | null | undefined;
23137
+ poolMetadata?: {
23138
+ tokens: string[];
23139
+ fees?: number | null | undefined;
23140
+ } | null | undefined;
23141
+ }, {
23142
+ status: "COMPLETE";
23143
+ address: string;
23144
+ risk: "Low" | "Medium" | "High" | "Severe";
23145
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23146
+ addressIdentifications: {
23147
+ name: string;
23148
+ description: string;
23149
+ address: string;
23150
+ createdAt: number;
23151
+ category: string;
23152
+ url?: string | null | undefined;
23153
+ }[];
23154
+ cluster?: {
23155
+ name: string;
23156
+ category: string;
23157
+ } | null | undefined;
23158
+ riskReason?: string | null | undefined;
23159
+ exposures?: {
23160
+ value: number;
23161
+ category: string;
23162
+ exposureType: "direct" | "indirect";
23163
+ direction: "both_directions";
23164
+ }[] | null | undefined;
23165
+ triggers?: {
23166
+ message: string;
23167
+ category: string;
23168
+ percentage: number;
23169
+ ruleTriggered?: {
23170
+ risk: string;
23171
+ exposureType: "direct" | "indirect";
23172
+ direction: "both_directions";
23173
+ minThreshold: number;
23174
+ maxThreshold: number;
23175
+ } | null | undefined;
23176
+ }[] | null | undefined;
23177
+ poolMetadata?: {
23178
+ tokens: string[];
23179
+ fees?: number | null | undefined;
23180
+ } | null | undefined;
23181
+ }>, z.ZodObject<{
23182
+ error: z.ZodObject<{
23183
+ error: z.ZodString;
23184
+ message: z.ZodString;
23185
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23186
+ }, "strip", z.ZodTypeAny, {
23187
+ message: string;
23188
+ error: string;
23189
+ data?: string | null | undefined;
23190
+ }, {
23191
+ message: string;
23192
+ error: string;
23193
+ data?: string | null | undefined;
23194
+ }>;
23195
+ }, "strip", z.ZodTypeAny, {
23196
+ error: {
23197
+ message: string;
23198
+ error: string;
23199
+ data?: string | null | undefined;
23200
+ };
23201
+ }, {
23202
+ error: {
23203
+ message: string;
23204
+ error: string;
23205
+ data?: string | null | undefined;
23206
+ };
23207
+ }>]>;
23208
+ }, "strip", z.ZodTypeAny, {
23209
+ type: "chainalysis";
23210
+ data: {
23211
+ status: "COMPLETE";
23212
+ address: string;
23213
+ risk: "Low" | "Medium" | "High" | "Severe";
23214
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23215
+ addressIdentifications: {
23216
+ name: string;
23217
+ description: string;
23218
+ address: string;
23219
+ createdAt: number;
23220
+ category: string;
23221
+ url?: string | null | undefined;
23222
+ }[];
23223
+ cluster?: {
23224
+ name: string;
23225
+ category: string;
23226
+ } | null | undefined;
23227
+ riskReason?: string | null | undefined;
23228
+ exposures?: {
23229
+ value: number;
23230
+ category: string;
23231
+ exposureType: "direct" | "indirect";
23232
+ direction: "both_directions";
23233
+ }[] | null | undefined;
23234
+ triggers?: {
23235
+ message: string;
23236
+ category: string;
23237
+ percentage: number;
23238
+ ruleTriggered?: {
23239
+ risk: string;
23240
+ exposureType: "direct" | "indirect";
23241
+ direction: "both_directions";
23242
+ minThreshold: number;
23243
+ maxThreshold: number;
23244
+ } | null | undefined;
23245
+ }[] | null | undefined;
23246
+ poolMetadata?: {
23247
+ tokens: string[];
23248
+ fees?: number | null | undefined;
23249
+ } | null | undefined;
23250
+ } | {
23251
+ error: {
23252
+ message: string;
23253
+ error: string;
23254
+ data?: string | null | undefined;
23255
+ };
23256
+ };
23257
+ }, {
23258
+ type: "chainalysis";
23259
+ data: {
23260
+ status: "COMPLETE";
23261
+ address: string;
23262
+ risk: "Low" | "Medium" | "High" | "Severe";
23263
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23264
+ addressIdentifications: {
23265
+ name: string;
23266
+ description: string;
23267
+ address: string;
23268
+ createdAt: number;
23269
+ category: string;
23270
+ url?: string | null | undefined;
23271
+ }[];
23272
+ cluster?: {
23273
+ name: string;
23274
+ category: string;
23275
+ } | null | undefined;
23276
+ riskReason?: string | null | undefined;
23277
+ exposures?: {
23278
+ value: number;
23279
+ category: string;
23280
+ exposureType: "direct" | "indirect";
23281
+ direction: "both_directions";
23282
+ }[] | null | undefined;
23283
+ triggers?: {
23284
+ message: string;
23285
+ category: string;
23286
+ percentage: number;
23287
+ ruleTriggered?: {
23288
+ risk: string;
23289
+ exposureType: "direct" | "indirect";
23290
+ direction: "both_directions";
23291
+ minThreshold: number;
23292
+ maxThreshold: number;
23293
+ } | null | undefined;
23294
+ }[] | null | undefined;
23295
+ poolMetadata?: {
23296
+ tokens: string[];
23297
+ fees?: number | null | undefined;
23298
+ } | null | undefined;
23299
+ } | {
23300
+ error: {
23301
+ message: string;
23302
+ error: string;
23303
+ data?: string | null | undefined;
23304
+ };
23305
+ };
21951
23306
  }>, z.ZodObject<{
21952
23307
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
21953
23308
  data: z.ZodUnion<[z.ZodObject<{
@@ -24321,6 +25676,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
24321
25676
  risk_level?: number | null | undefined;
24322
25677
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
24323
25678
  };
25679
+ } | {
25680
+ type: "chainalysis";
25681
+ data: {
25682
+ status: "COMPLETE";
25683
+ address: string;
25684
+ risk: "Low" | "Medium" | "High" | "Severe";
25685
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
25686
+ addressIdentifications: {
25687
+ name: string;
25688
+ description: string;
25689
+ address: string;
25690
+ createdAt: number;
25691
+ category: string;
25692
+ url?: string | null | undefined;
25693
+ }[];
25694
+ cluster?: {
25695
+ name: string;
25696
+ category: string;
25697
+ } | null | undefined;
25698
+ riskReason?: string | null | undefined;
25699
+ exposures?: {
25700
+ value: number;
25701
+ category: string;
25702
+ exposureType: "direct" | "indirect";
25703
+ direction: "both_directions";
25704
+ }[] | null | undefined;
25705
+ triggers?: {
25706
+ message: string;
25707
+ category: string;
25708
+ percentage: number;
25709
+ ruleTriggered?: {
25710
+ risk: string;
25711
+ exposureType: "direct" | "indirect";
25712
+ direction: "both_directions";
25713
+ minThreshold: number;
25714
+ maxThreshold: number;
25715
+ } | null | undefined;
25716
+ }[] | null | undefined;
25717
+ poolMetadata?: {
25718
+ tokens: string[];
25719
+ fees?: number | null | undefined;
25720
+ } | null | undefined;
25721
+ } | {
25722
+ error: {
25723
+ message: string;
25724
+ error: string;
25725
+ data?: string | null | undefined;
25726
+ };
25727
+ };
24324
25728
  } | {
24325
25729
  type: "ipQualityScore" | "integratedIpqualityscore";
24326
25730
  data: {
@@ -24934,6 +26338,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
24934
26338
  risk_level?: number | null | undefined;
24935
26339
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
24936
26340
  };
26341
+ } | {
26342
+ type: "chainalysis";
26343
+ data: {
26344
+ status: "COMPLETE";
26345
+ address: string;
26346
+ risk: "Low" | "Medium" | "High" | "Severe";
26347
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
26348
+ addressIdentifications: {
26349
+ name: string;
26350
+ description: string;
26351
+ address: string;
26352
+ createdAt: number;
26353
+ category: string;
26354
+ url?: string | null | undefined;
26355
+ }[];
26356
+ cluster?: {
26357
+ name: string;
26358
+ category: string;
26359
+ } | null | undefined;
26360
+ riskReason?: string | null | undefined;
26361
+ exposures?: {
26362
+ value: number;
26363
+ category: string;
26364
+ exposureType: "direct" | "indirect";
26365
+ direction: "both_directions";
26366
+ }[] | null | undefined;
26367
+ triggers?: {
26368
+ message: string;
26369
+ category: string;
26370
+ percentage: number;
26371
+ ruleTriggered?: {
26372
+ risk: string;
26373
+ exposureType: "direct" | "indirect";
26374
+ direction: "both_directions";
26375
+ minThreshold: number;
26376
+ maxThreshold: number;
26377
+ } | null | undefined;
26378
+ }[] | null | undefined;
26379
+ poolMetadata?: {
26380
+ tokens: string[];
26381
+ fees?: number | null | undefined;
26382
+ } | null | undefined;
26383
+ } | {
26384
+ error: {
26385
+ message: string;
26386
+ error: string;
26387
+ data?: string | null | undefined;
26388
+ };
26389
+ };
24937
26390
  } | {
24938
26391
  type: "ipQualityScore" | "integratedIpqualityscore";
24939
26392
  data: {
@@ -25549,6 +27002,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
25549
27002
  risk_level?: number | null | undefined;
25550
27003
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
25551
27004
  };
27005
+ } | {
27006
+ type: "chainalysis";
27007
+ data: {
27008
+ status: "COMPLETE";
27009
+ address: string;
27010
+ risk: "Low" | "Medium" | "High" | "Severe";
27011
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
27012
+ addressIdentifications: {
27013
+ name: string;
27014
+ description: string;
27015
+ address: string;
27016
+ createdAt: number;
27017
+ category: string;
27018
+ url?: string | null | undefined;
27019
+ }[];
27020
+ cluster?: {
27021
+ name: string;
27022
+ category: string;
27023
+ } | null | undefined;
27024
+ riskReason?: string | null | undefined;
27025
+ exposures?: {
27026
+ value: number;
27027
+ category: string;
27028
+ exposureType: "direct" | "indirect";
27029
+ direction: "both_directions";
27030
+ }[] | null | undefined;
27031
+ triggers?: {
27032
+ message: string;
27033
+ category: string;
27034
+ percentage: number;
27035
+ ruleTriggered?: {
27036
+ risk: string;
27037
+ exposureType: "direct" | "indirect";
27038
+ direction: "both_directions";
27039
+ minThreshold: number;
27040
+ maxThreshold: number;
27041
+ } | null | undefined;
27042
+ }[] | null | undefined;
27043
+ poolMetadata?: {
27044
+ tokens: string[];
27045
+ fees?: number | null | undefined;
27046
+ } | null | undefined;
27047
+ } | {
27048
+ error: {
27049
+ message: string;
27050
+ error: string;
27051
+ data?: string | null | undefined;
27052
+ };
27053
+ };
25552
27054
  } | {
25553
27055
  type: "ipQualityScore" | "integratedIpqualityscore";
25554
27056
  data: {
@@ -26165,6 +27667,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
26165
27667
  risk_level?: number | null | undefined;
26166
27668
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
26167
27669
  };
27670
+ } | {
27671
+ type: "chainalysis";
27672
+ data: {
27673
+ status: "COMPLETE";
27674
+ address: string;
27675
+ risk: "Low" | "Medium" | "High" | "Severe";
27676
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
27677
+ addressIdentifications: {
27678
+ name: string;
27679
+ description: string;
27680
+ address: string;
27681
+ createdAt: number;
27682
+ category: string;
27683
+ url?: string | null | undefined;
27684
+ }[];
27685
+ cluster?: {
27686
+ name: string;
27687
+ category: string;
27688
+ } | null | undefined;
27689
+ riskReason?: string | null | undefined;
27690
+ exposures?: {
27691
+ value: number;
27692
+ category: string;
27693
+ exposureType: "direct" | "indirect";
27694
+ direction: "both_directions";
27695
+ }[] | null | undefined;
27696
+ triggers?: {
27697
+ message: string;
27698
+ category: string;
27699
+ percentage: number;
27700
+ ruleTriggered?: {
27701
+ risk: string;
27702
+ exposureType: "direct" | "indirect";
27703
+ direction: "both_directions";
27704
+ minThreshold: number;
27705
+ maxThreshold: number;
27706
+ } | null | undefined;
27707
+ }[] | null | undefined;
27708
+ poolMetadata?: {
27709
+ tokens: string[];
27710
+ fees?: number | null | undefined;
27711
+ } | null | undefined;
27712
+ } | {
27713
+ error: {
27714
+ message: string;
27715
+ error: string;
27716
+ data?: string | null | undefined;
27717
+ };
27718
+ };
26168
27719
  } | {
26169
27720
  type: "ipQualityScore" | "integratedIpqualityscore";
26170
27721
  data: {
@@ -29813,7 +31364,11 @@ export declare const MessageDataOut: z.ZodObject<{
29813
31364
  statusCode: 500;
29814
31365
  errorCode: "INTERNAL_SERVER_ERROR";
29815
31366
  }>, z.ZodObject<{
29816
- statusCode: z.ZodLiteral<500>;
31367
+ statusCode: z.ZodLiteral<500>; /**
31368
+ *
31369
+ * Send Messages Types
31370
+ *
31371
+ */
29817
31372
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
29818
31373
  message: z.ZodString;
29819
31374
  }, "strip", z.ZodTypeAny, {
@@ -31138,6 +32693,323 @@ export declare const MessageDataOut: z.ZodObject<{
31138
32693
  risk_level?: number | null | undefined;
31139
32694
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
31140
32695
  };
32696
+ }>, z.ZodObject<{
32697
+ type: z.ZodEnum<["chainalysis"]>;
32698
+ data: z.ZodUnion<[z.ZodObject<{
32699
+ address: z.ZodString;
32700
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
32701
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32702
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32703
+ name: z.ZodString;
32704
+ category: z.ZodString;
32705
+ }, "strip", z.ZodTypeAny, {
32706
+ name: string;
32707
+ category: string;
32708
+ }, {
32709
+ name: string;
32710
+ category: string;
32711
+ }>>>;
32712
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
32713
+ addressIdentifications: z.ZodArray<z.ZodObject<{
32714
+ name: z.ZodString;
32715
+ address: z.ZodString;
32716
+ category: z.ZodString;
32717
+ description: z.ZodString;
32718
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32719
+ createdAt: z.ZodNumber;
32720
+ }, "strip", z.ZodTypeAny, {
32721
+ name: string;
32722
+ description: string;
32723
+ address: string;
32724
+ createdAt: number;
32725
+ category: string;
32726
+ url?: string | null | undefined;
32727
+ }, {
32728
+ name: string;
32729
+ description: string;
32730
+ address: string;
32731
+ createdAt: number;
32732
+ category: string;
32733
+ url?: string | null | undefined;
32734
+ }>, "many">;
32735
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32736
+ category: z.ZodString;
32737
+ value: z.ZodNumber;
32738
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
32739
+ direction: z.ZodLiteral<"both_directions">;
32740
+ }, "strip", z.ZodTypeAny, {
32741
+ value: number;
32742
+ category: string;
32743
+ exposureType: "direct" | "indirect";
32744
+ direction: "both_directions";
32745
+ }, {
32746
+ value: number;
32747
+ category: string;
32748
+ exposureType: "direct" | "indirect";
32749
+ direction: "both_directions";
32750
+ }>, "many">>>;
32751
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32752
+ category: z.ZodString;
32753
+ percentage: z.ZodNumber;
32754
+ message: z.ZodString;
32755
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32756
+ risk: z.ZodString;
32757
+ minThreshold: z.ZodNumber;
32758
+ maxThreshold: z.ZodNumber;
32759
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
32760
+ direction: z.ZodLiteral<"both_directions">;
32761
+ }, "strip", z.ZodTypeAny, {
32762
+ risk: string;
32763
+ exposureType: "direct" | "indirect";
32764
+ direction: "both_directions";
32765
+ minThreshold: number;
32766
+ maxThreshold: number;
32767
+ }, {
32768
+ risk: string;
32769
+ exposureType: "direct" | "indirect";
32770
+ direction: "both_directions";
32771
+ minThreshold: number;
32772
+ maxThreshold: number;
32773
+ }>>>;
32774
+ }, "strip", z.ZodTypeAny, {
32775
+ message: string;
32776
+ category: string;
32777
+ percentage: number;
32778
+ ruleTriggered?: {
32779
+ risk: string;
32780
+ exposureType: "direct" | "indirect";
32781
+ direction: "both_directions";
32782
+ minThreshold: number;
32783
+ maxThreshold: number;
32784
+ } | null | undefined;
32785
+ }, {
32786
+ message: string;
32787
+ category: string;
32788
+ percentage: number;
32789
+ ruleTriggered?: {
32790
+ risk: string;
32791
+ exposureType: "direct" | "indirect";
32792
+ direction: "both_directions";
32793
+ minThreshold: number;
32794
+ maxThreshold: number;
32795
+ } | null | undefined;
32796
+ }>, "many">>>;
32797
+ status: z.ZodLiteral<"COMPLETE">;
32798
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32799
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32800
+ tokens: z.ZodArray<z.ZodString, "many">;
32801
+ }, "strip", z.ZodTypeAny, {
32802
+ tokens: string[];
32803
+ fees?: number | null | undefined;
32804
+ }, {
32805
+ tokens: string[];
32806
+ fees?: number | null | undefined;
32807
+ }>>>;
32808
+ }, "strip", z.ZodTypeAny, {
32809
+ status: "COMPLETE";
32810
+ address: string;
32811
+ risk: "Low" | "Medium" | "High" | "Severe";
32812
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32813
+ addressIdentifications: {
32814
+ name: string;
32815
+ description: string;
32816
+ address: string;
32817
+ createdAt: number;
32818
+ category: string;
32819
+ url?: string | null | undefined;
32820
+ }[];
32821
+ cluster?: {
32822
+ name: string;
32823
+ category: string;
32824
+ } | null | undefined;
32825
+ riskReason?: string | null | undefined;
32826
+ exposures?: {
32827
+ value: number;
32828
+ category: string;
32829
+ exposureType: "direct" | "indirect";
32830
+ direction: "both_directions";
32831
+ }[] | null | undefined;
32832
+ triggers?: {
32833
+ message: string;
32834
+ category: string;
32835
+ percentage: number;
32836
+ ruleTriggered?: {
32837
+ risk: string;
32838
+ exposureType: "direct" | "indirect";
32839
+ direction: "both_directions";
32840
+ minThreshold: number;
32841
+ maxThreshold: number;
32842
+ } | null | undefined;
32843
+ }[] | null | undefined;
32844
+ poolMetadata?: {
32845
+ tokens: string[];
32846
+ fees?: number | null | undefined;
32847
+ } | null | undefined;
32848
+ }, {
32849
+ status: "COMPLETE";
32850
+ address: string;
32851
+ risk: "Low" | "Medium" | "High" | "Severe";
32852
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32853
+ addressIdentifications: {
32854
+ name: string;
32855
+ description: string;
32856
+ address: string;
32857
+ createdAt: number;
32858
+ category: string;
32859
+ url?: string | null | undefined;
32860
+ }[];
32861
+ cluster?: {
32862
+ name: string;
32863
+ category: string;
32864
+ } | null | undefined;
32865
+ riskReason?: string | null | undefined;
32866
+ exposures?: {
32867
+ value: number;
32868
+ category: string;
32869
+ exposureType: "direct" | "indirect";
32870
+ direction: "both_directions";
32871
+ }[] | null | undefined;
32872
+ triggers?: {
32873
+ message: string;
32874
+ category: string;
32875
+ percentage: number;
32876
+ ruleTriggered?: {
32877
+ risk: string;
32878
+ exposureType: "direct" | "indirect";
32879
+ direction: "both_directions";
32880
+ minThreshold: number;
32881
+ maxThreshold: number;
32882
+ } | null | undefined;
32883
+ }[] | null | undefined;
32884
+ poolMetadata?: {
32885
+ tokens: string[];
32886
+ fees?: number | null | undefined;
32887
+ } | null | undefined;
32888
+ }>, z.ZodObject<{
32889
+ error: z.ZodObject<{
32890
+ error: z.ZodString;
32891
+ message: z.ZodString;
32892
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32893
+ }, "strip", z.ZodTypeAny, {
32894
+ message: string;
32895
+ error: string;
32896
+ data?: string | null | undefined;
32897
+ }, {
32898
+ message: string;
32899
+ error: string;
32900
+ data?: string | null | undefined;
32901
+ }>;
32902
+ }, "strip", z.ZodTypeAny, {
32903
+ error: {
32904
+ message: string;
32905
+ error: string;
32906
+ data?: string | null | undefined;
32907
+ };
32908
+ }, {
32909
+ error: {
32910
+ message: string;
32911
+ error: string;
32912
+ data?: string | null | undefined;
32913
+ };
32914
+ }>]>;
32915
+ }, "strip", z.ZodTypeAny, {
32916
+ type: "chainalysis";
32917
+ data: {
32918
+ status: "COMPLETE";
32919
+ address: string;
32920
+ risk: "Low" | "Medium" | "High" | "Severe";
32921
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32922
+ addressIdentifications: {
32923
+ name: string;
32924
+ description: string;
32925
+ address: string;
32926
+ createdAt: number;
32927
+ category: string;
32928
+ url?: string | null | undefined;
32929
+ }[];
32930
+ cluster?: {
32931
+ name: string;
32932
+ category: string;
32933
+ } | null | undefined;
32934
+ riskReason?: string | null | undefined;
32935
+ exposures?: {
32936
+ value: number;
32937
+ category: string;
32938
+ exposureType: "direct" | "indirect";
32939
+ direction: "both_directions";
32940
+ }[] | null | undefined;
32941
+ triggers?: {
32942
+ message: string;
32943
+ category: string;
32944
+ percentage: number;
32945
+ ruleTriggered?: {
32946
+ risk: string;
32947
+ exposureType: "direct" | "indirect";
32948
+ direction: "both_directions";
32949
+ minThreshold: number;
32950
+ maxThreshold: number;
32951
+ } | null | undefined;
32952
+ }[] | null | undefined;
32953
+ poolMetadata?: {
32954
+ tokens: string[];
32955
+ fees?: number | null | undefined;
32956
+ } | null | undefined;
32957
+ } | {
32958
+ error: {
32959
+ message: string;
32960
+ error: string;
32961
+ data?: string | null | undefined;
32962
+ };
32963
+ };
32964
+ }, {
32965
+ type: "chainalysis";
32966
+ data: {
32967
+ status: "COMPLETE";
32968
+ address: string;
32969
+ risk: "Low" | "Medium" | "High" | "Severe";
32970
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32971
+ addressIdentifications: {
32972
+ name: string;
32973
+ description: string;
32974
+ address: string;
32975
+ createdAt: number;
32976
+ category: string;
32977
+ url?: string | null | undefined;
32978
+ }[];
32979
+ cluster?: {
32980
+ name: string;
32981
+ category: string;
32982
+ } | null | undefined;
32983
+ riskReason?: string | null | undefined;
32984
+ exposures?: {
32985
+ value: number;
32986
+ category: string;
32987
+ exposureType: "direct" | "indirect";
32988
+ direction: "both_directions";
32989
+ }[] | null | undefined;
32990
+ triggers?: {
32991
+ message: string;
32992
+ category: string;
32993
+ percentage: number;
32994
+ ruleTriggered?: {
32995
+ risk: string;
32996
+ exposureType: "direct" | "indirect";
32997
+ direction: "both_directions";
32998
+ minThreshold: number;
32999
+ maxThreshold: number;
33000
+ } | null | undefined;
33001
+ }[] | null | undefined;
33002
+ poolMetadata?: {
33003
+ tokens: string[];
33004
+ fees?: number | null | undefined;
33005
+ } | null | undefined;
33006
+ } | {
33007
+ error: {
33008
+ message: string;
33009
+ error: string;
33010
+ data?: string | null | undefined;
33011
+ };
33012
+ };
31141
33013
  }>, z.ZodObject<{
31142
33014
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
31143
33015
  data: z.ZodUnion<[z.ZodObject<{
@@ -33511,6 +35383,55 @@ export declare const MessageDataOut: z.ZodObject<{
33511
35383
  risk_level?: number | null | undefined;
33512
35384
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
33513
35385
  };
35386
+ } | {
35387
+ type: "chainalysis";
35388
+ data: {
35389
+ status: "COMPLETE";
35390
+ address: string;
35391
+ risk: "Low" | "Medium" | "High" | "Severe";
35392
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
35393
+ addressIdentifications: {
35394
+ name: string;
35395
+ description: string;
35396
+ address: string;
35397
+ createdAt: number;
35398
+ category: string;
35399
+ url?: string | null | undefined;
35400
+ }[];
35401
+ cluster?: {
35402
+ name: string;
35403
+ category: string;
35404
+ } | null | undefined;
35405
+ riskReason?: string | null | undefined;
35406
+ exposures?: {
35407
+ value: number;
35408
+ category: string;
35409
+ exposureType: "direct" | "indirect";
35410
+ direction: "both_directions";
35411
+ }[] | null | undefined;
35412
+ triggers?: {
35413
+ message: string;
35414
+ category: string;
35415
+ percentage: number;
35416
+ ruleTriggered?: {
35417
+ risk: string;
35418
+ exposureType: "direct" | "indirect";
35419
+ direction: "both_directions";
35420
+ minThreshold: number;
35421
+ maxThreshold: number;
35422
+ } | null | undefined;
35423
+ }[] | null | undefined;
35424
+ poolMetadata?: {
35425
+ tokens: string[];
35426
+ fees?: number | null | undefined;
35427
+ } | null | undefined;
35428
+ } | {
35429
+ error: {
35430
+ message: string;
35431
+ error: string;
35432
+ data?: string | null | undefined;
35433
+ };
35434
+ };
33514
35435
  } | {
33515
35436
  type: "ipQualityScore" | "integratedIpqualityscore";
33516
35437
  data: {
@@ -34124,6 +36045,55 @@ export declare const MessageDataOut: z.ZodObject<{
34124
36045
  risk_level?: number | null | undefined;
34125
36046
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
34126
36047
  };
36048
+ } | {
36049
+ type: "chainalysis";
36050
+ data: {
36051
+ status: "COMPLETE";
36052
+ address: string;
36053
+ risk: "Low" | "Medium" | "High" | "Severe";
36054
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
36055
+ addressIdentifications: {
36056
+ name: string;
36057
+ description: string;
36058
+ address: string;
36059
+ createdAt: number;
36060
+ category: string;
36061
+ url?: string | null | undefined;
36062
+ }[];
36063
+ cluster?: {
36064
+ name: string;
36065
+ category: string;
36066
+ } | null | undefined;
36067
+ riskReason?: string | null | undefined;
36068
+ exposures?: {
36069
+ value: number;
36070
+ category: string;
36071
+ exposureType: "direct" | "indirect";
36072
+ direction: "both_directions";
36073
+ }[] | null | undefined;
36074
+ triggers?: {
36075
+ message: string;
36076
+ category: string;
36077
+ percentage: number;
36078
+ ruleTriggered?: {
36079
+ risk: string;
36080
+ exposureType: "direct" | "indirect";
36081
+ direction: "both_directions";
36082
+ minThreshold: number;
36083
+ maxThreshold: number;
36084
+ } | null | undefined;
36085
+ }[] | null | undefined;
36086
+ poolMetadata?: {
36087
+ tokens: string[];
36088
+ fees?: number | null | undefined;
36089
+ } | null | undefined;
36090
+ } | {
36091
+ error: {
36092
+ message: string;
36093
+ error: string;
36094
+ data?: string | null | undefined;
36095
+ };
36096
+ };
34127
36097
  } | {
34128
36098
  type: "ipQualityScore" | "integratedIpqualityscore";
34129
36099
  data: {
@@ -34739,6 +36709,55 @@ export declare const MessageDataOut: z.ZodObject<{
34739
36709
  risk_level?: number | null | undefined;
34740
36710
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
34741
36711
  };
36712
+ } | {
36713
+ type: "chainalysis";
36714
+ data: {
36715
+ status: "COMPLETE";
36716
+ address: string;
36717
+ risk: "Low" | "Medium" | "High" | "Severe";
36718
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
36719
+ addressIdentifications: {
36720
+ name: string;
36721
+ description: string;
36722
+ address: string;
36723
+ createdAt: number;
36724
+ category: string;
36725
+ url?: string | null | undefined;
36726
+ }[];
36727
+ cluster?: {
36728
+ name: string;
36729
+ category: string;
36730
+ } | null | undefined;
36731
+ riskReason?: string | null | undefined;
36732
+ exposures?: {
36733
+ value: number;
36734
+ category: string;
36735
+ exposureType: "direct" | "indirect";
36736
+ direction: "both_directions";
36737
+ }[] | null | undefined;
36738
+ triggers?: {
36739
+ message: string;
36740
+ category: string;
36741
+ percentage: number;
36742
+ ruleTriggered?: {
36743
+ risk: string;
36744
+ exposureType: "direct" | "indirect";
36745
+ direction: "both_directions";
36746
+ minThreshold: number;
36747
+ maxThreshold: number;
36748
+ } | null | undefined;
36749
+ }[] | null | undefined;
36750
+ poolMetadata?: {
36751
+ tokens: string[];
36752
+ fees?: number | null | undefined;
36753
+ } | null | undefined;
36754
+ } | {
36755
+ error: {
36756
+ message: string;
36757
+ error: string;
36758
+ data?: string | null | undefined;
36759
+ };
36760
+ };
34742
36761
  } | {
34743
36762
  type: "ipQualityScore" | "integratedIpqualityscore";
34744
36763
  data: {
@@ -35355,6 +37374,55 @@ export declare const MessageDataOut: z.ZodObject<{
35355
37374
  risk_level?: number | null | undefined;
35356
37375
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
35357
37376
  };
37377
+ } | {
37378
+ type: "chainalysis";
37379
+ data: {
37380
+ status: "COMPLETE";
37381
+ address: string;
37382
+ risk: "Low" | "Medium" | "High" | "Severe";
37383
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
37384
+ addressIdentifications: {
37385
+ name: string;
37386
+ description: string;
37387
+ address: string;
37388
+ createdAt: number;
37389
+ category: string;
37390
+ url?: string | null | undefined;
37391
+ }[];
37392
+ cluster?: {
37393
+ name: string;
37394
+ category: string;
37395
+ } | null | undefined;
37396
+ riskReason?: string | null | undefined;
37397
+ exposures?: {
37398
+ value: number;
37399
+ category: string;
37400
+ exposureType: "direct" | "indirect";
37401
+ direction: "both_directions";
37402
+ }[] | null | undefined;
37403
+ triggers?: {
37404
+ message: string;
37405
+ category: string;
37406
+ percentage: number;
37407
+ ruleTriggered?: {
37408
+ risk: string;
37409
+ exposureType: "direct" | "indirect";
37410
+ direction: "both_directions";
37411
+ minThreshold: number;
37412
+ maxThreshold: number;
37413
+ } | null | undefined;
37414
+ }[] | null | undefined;
37415
+ poolMetadata?: {
37416
+ tokens: string[];
37417
+ fees?: number | null | undefined;
37418
+ } | null | undefined;
37419
+ } | {
37420
+ error: {
37421
+ message: string;
37422
+ error: string;
37423
+ data?: string | null | undefined;
37424
+ };
37425
+ };
35358
37426
  } | {
35359
37427
  type: "ipQualityScore" | "integratedIpqualityscore";
35360
37428
  data: {
@@ -36502,6 +38570,55 @@ export declare const MessageDataOut: z.ZodObject<{
36502
38570
  risk_level?: number | null | undefined;
36503
38571
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
36504
38572
  };
38573
+ } | {
38574
+ type: "chainalysis";
38575
+ data: {
38576
+ status: "COMPLETE";
38577
+ address: string;
38578
+ risk: "Low" | "Medium" | "High" | "Severe";
38579
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
38580
+ addressIdentifications: {
38581
+ name: string;
38582
+ description: string;
38583
+ address: string;
38584
+ createdAt: number;
38585
+ category: string;
38586
+ url?: string | null | undefined;
38587
+ }[];
38588
+ cluster?: {
38589
+ name: string;
38590
+ category: string;
38591
+ } | null | undefined;
38592
+ riskReason?: string | null | undefined;
38593
+ exposures?: {
38594
+ value: number;
38595
+ category: string;
38596
+ exposureType: "direct" | "indirect";
38597
+ direction: "both_directions";
38598
+ }[] | null | undefined;
38599
+ triggers?: {
38600
+ message: string;
38601
+ category: string;
38602
+ percentage: number;
38603
+ ruleTriggered?: {
38604
+ risk: string;
38605
+ exposureType: "direct" | "indirect";
38606
+ direction: "both_directions";
38607
+ minThreshold: number;
38608
+ maxThreshold: number;
38609
+ } | null | undefined;
38610
+ }[] | null | undefined;
38611
+ poolMetadata?: {
38612
+ tokens: string[];
38613
+ fees?: number | null | undefined;
38614
+ } | null | undefined;
38615
+ } | {
38616
+ error: {
38617
+ message: string;
38618
+ error: string;
38619
+ data?: string | null | undefined;
38620
+ };
38621
+ };
36505
38622
  } | {
36506
38623
  type: "ipQualityScore" | "integratedIpqualityscore";
36507
38624
  data: {
@@ -37266,6 +39383,55 @@ export declare const MessageDataOut: z.ZodObject<{
37266
39383
  risk_level?: number | null | undefined;
37267
39384
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
37268
39385
  };
39386
+ } | {
39387
+ type: "chainalysis";
39388
+ data: {
39389
+ status: "COMPLETE";
39390
+ address: string;
39391
+ risk: "Low" | "Medium" | "High" | "Severe";
39392
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
39393
+ addressIdentifications: {
39394
+ name: string;
39395
+ description: string;
39396
+ address: string;
39397
+ createdAt: number;
39398
+ category: string;
39399
+ url?: string | null | undefined;
39400
+ }[];
39401
+ cluster?: {
39402
+ name: string;
39403
+ category: string;
39404
+ } | null | undefined;
39405
+ riskReason?: string | null | undefined;
39406
+ exposures?: {
39407
+ value: number;
39408
+ category: string;
39409
+ exposureType: "direct" | "indirect";
39410
+ direction: "both_directions";
39411
+ }[] | null | undefined;
39412
+ triggers?: {
39413
+ message: string;
39414
+ category: string;
39415
+ percentage: number;
39416
+ ruleTriggered?: {
39417
+ risk: string;
39418
+ exposureType: "direct" | "indirect";
39419
+ direction: "both_directions";
39420
+ minThreshold: number;
39421
+ maxThreshold: number;
39422
+ } | null | undefined;
39423
+ }[] | null | undefined;
39424
+ poolMetadata?: {
39425
+ tokens: string[];
39426
+ fees?: number | null | undefined;
39427
+ } | null | undefined;
39428
+ } | {
39429
+ error: {
39430
+ message: string;
39431
+ error: string;
39432
+ data?: string | null | undefined;
39433
+ };
39434
+ };
37269
39435
  } | {
37270
39436
  type: "ipQualityScore" | "integratedIpqualityscore";
37271
39437
  data: {
@@ -40284,7 +42450,11 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
40284
42450
  statusCode: 500;
40285
42451
  errorCode: "INTERNAL_SERVER_ERROR";
40286
42452
  }>, z.ZodObject<{
40287
- statusCode: z.ZodLiteral<500>;
42453
+ statusCode: z.ZodLiteral<500>; /**
42454
+ *
42455
+ * Send Messages Types
42456
+ *
42457
+ */
40288
42458
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
40289
42459
  message: z.ZodString;
40290
42460
  }, "strip", z.ZodTypeAny, {
@@ -41609,6 +43779,323 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
41609
43779
  risk_level?: number | null | undefined;
41610
43780
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
41611
43781
  };
43782
+ }>, z.ZodObject<{
43783
+ type: z.ZodEnum<["chainalysis"]>;
43784
+ data: z.ZodUnion<[z.ZodObject<{
43785
+ address: z.ZodString;
43786
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
43787
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43788
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43789
+ name: z.ZodString;
43790
+ category: z.ZodString;
43791
+ }, "strip", z.ZodTypeAny, {
43792
+ name: string;
43793
+ category: string;
43794
+ }, {
43795
+ name: string;
43796
+ category: string;
43797
+ }>>>;
43798
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
43799
+ addressIdentifications: z.ZodArray<z.ZodObject<{
43800
+ name: z.ZodString;
43801
+ address: z.ZodString;
43802
+ category: z.ZodString;
43803
+ description: z.ZodString;
43804
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43805
+ createdAt: z.ZodNumber;
43806
+ }, "strip", z.ZodTypeAny, {
43807
+ name: string;
43808
+ description: string;
43809
+ address: string;
43810
+ createdAt: number;
43811
+ category: string;
43812
+ url?: string | null | undefined;
43813
+ }, {
43814
+ name: string;
43815
+ description: string;
43816
+ address: string;
43817
+ createdAt: number;
43818
+ category: string;
43819
+ url?: string | null | undefined;
43820
+ }>, "many">;
43821
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
43822
+ category: z.ZodString;
43823
+ value: z.ZodNumber;
43824
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
43825
+ direction: z.ZodLiteral<"both_directions">;
43826
+ }, "strip", z.ZodTypeAny, {
43827
+ value: number;
43828
+ category: string;
43829
+ exposureType: "direct" | "indirect";
43830
+ direction: "both_directions";
43831
+ }, {
43832
+ value: number;
43833
+ category: string;
43834
+ exposureType: "direct" | "indirect";
43835
+ direction: "both_directions";
43836
+ }>, "many">>>;
43837
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
43838
+ category: z.ZodString;
43839
+ percentage: z.ZodNumber;
43840
+ message: z.ZodString;
43841
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43842
+ risk: z.ZodString;
43843
+ minThreshold: z.ZodNumber;
43844
+ maxThreshold: z.ZodNumber;
43845
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
43846
+ direction: z.ZodLiteral<"both_directions">;
43847
+ }, "strip", z.ZodTypeAny, {
43848
+ risk: string;
43849
+ exposureType: "direct" | "indirect";
43850
+ direction: "both_directions";
43851
+ minThreshold: number;
43852
+ maxThreshold: number;
43853
+ }, {
43854
+ risk: string;
43855
+ exposureType: "direct" | "indirect";
43856
+ direction: "both_directions";
43857
+ minThreshold: number;
43858
+ maxThreshold: number;
43859
+ }>>>;
43860
+ }, "strip", z.ZodTypeAny, {
43861
+ message: string;
43862
+ category: string;
43863
+ percentage: number;
43864
+ ruleTriggered?: {
43865
+ risk: string;
43866
+ exposureType: "direct" | "indirect";
43867
+ direction: "both_directions";
43868
+ minThreshold: number;
43869
+ maxThreshold: number;
43870
+ } | null | undefined;
43871
+ }, {
43872
+ message: string;
43873
+ category: string;
43874
+ percentage: number;
43875
+ ruleTriggered?: {
43876
+ risk: string;
43877
+ exposureType: "direct" | "indirect";
43878
+ direction: "both_directions";
43879
+ minThreshold: number;
43880
+ maxThreshold: number;
43881
+ } | null | undefined;
43882
+ }>, "many">>>;
43883
+ status: z.ZodLiteral<"COMPLETE">;
43884
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43885
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43886
+ tokens: z.ZodArray<z.ZodString, "many">;
43887
+ }, "strip", z.ZodTypeAny, {
43888
+ tokens: string[];
43889
+ fees?: number | null | undefined;
43890
+ }, {
43891
+ tokens: string[];
43892
+ fees?: number | null | undefined;
43893
+ }>>>;
43894
+ }, "strip", z.ZodTypeAny, {
43895
+ status: "COMPLETE";
43896
+ address: string;
43897
+ risk: "Low" | "Medium" | "High" | "Severe";
43898
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
43899
+ addressIdentifications: {
43900
+ name: string;
43901
+ description: string;
43902
+ address: string;
43903
+ createdAt: number;
43904
+ category: string;
43905
+ url?: string | null | undefined;
43906
+ }[];
43907
+ cluster?: {
43908
+ name: string;
43909
+ category: string;
43910
+ } | null | undefined;
43911
+ riskReason?: string | null | undefined;
43912
+ exposures?: {
43913
+ value: number;
43914
+ category: string;
43915
+ exposureType: "direct" | "indirect";
43916
+ direction: "both_directions";
43917
+ }[] | null | undefined;
43918
+ triggers?: {
43919
+ message: string;
43920
+ category: string;
43921
+ percentage: number;
43922
+ ruleTriggered?: {
43923
+ risk: string;
43924
+ exposureType: "direct" | "indirect";
43925
+ direction: "both_directions";
43926
+ minThreshold: number;
43927
+ maxThreshold: number;
43928
+ } | null | undefined;
43929
+ }[] | null | undefined;
43930
+ poolMetadata?: {
43931
+ tokens: string[];
43932
+ fees?: number | null | undefined;
43933
+ } | null | undefined;
43934
+ }, {
43935
+ status: "COMPLETE";
43936
+ address: string;
43937
+ risk: "Low" | "Medium" | "High" | "Severe";
43938
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
43939
+ addressIdentifications: {
43940
+ name: string;
43941
+ description: string;
43942
+ address: string;
43943
+ createdAt: number;
43944
+ category: string;
43945
+ url?: string | null | undefined;
43946
+ }[];
43947
+ cluster?: {
43948
+ name: string;
43949
+ category: string;
43950
+ } | null | undefined;
43951
+ riskReason?: string | null | undefined;
43952
+ exposures?: {
43953
+ value: number;
43954
+ category: string;
43955
+ exposureType: "direct" | "indirect";
43956
+ direction: "both_directions";
43957
+ }[] | null | undefined;
43958
+ triggers?: {
43959
+ message: string;
43960
+ category: string;
43961
+ percentage: number;
43962
+ ruleTriggered?: {
43963
+ risk: string;
43964
+ exposureType: "direct" | "indirect";
43965
+ direction: "both_directions";
43966
+ minThreshold: number;
43967
+ maxThreshold: number;
43968
+ } | null | undefined;
43969
+ }[] | null | undefined;
43970
+ poolMetadata?: {
43971
+ tokens: string[];
43972
+ fees?: number | null | undefined;
43973
+ } | null | undefined;
43974
+ }>, z.ZodObject<{
43975
+ error: z.ZodObject<{
43976
+ error: z.ZodString;
43977
+ message: z.ZodString;
43978
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43979
+ }, "strip", z.ZodTypeAny, {
43980
+ message: string;
43981
+ error: string;
43982
+ data?: string | null | undefined;
43983
+ }, {
43984
+ message: string;
43985
+ error: string;
43986
+ data?: string | null | undefined;
43987
+ }>;
43988
+ }, "strip", z.ZodTypeAny, {
43989
+ error: {
43990
+ message: string;
43991
+ error: string;
43992
+ data?: string | null | undefined;
43993
+ };
43994
+ }, {
43995
+ error: {
43996
+ message: string;
43997
+ error: string;
43998
+ data?: string | null | undefined;
43999
+ };
44000
+ }>]>;
44001
+ }, "strip", z.ZodTypeAny, {
44002
+ type: "chainalysis";
44003
+ data: {
44004
+ status: "COMPLETE";
44005
+ address: string;
44006
+ risk: "Low" | "Medium" | "High" | "Severe";
44007
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
44008
+ addressIdentifications: {
44009
+ name: string;
44010
+ description: string;
44011
+ address: string;
44012
+ createdAt: number;
44013
+ category: string;
44014
+ url?: string | null | undefined;
44015
+ }[];
44016
+ cluster?: {
44017
+ name: string;
44018
+ category: string;
44019
+ } | null | undefined;
44020
+ riskReason?: string | null | undefined;
44021
+ exposures?: {
44022
+ value: number;
44023
+ category: string;
44024
+ exposureType: "direct" | "indirect";
44025
+ direction: "both_directions";
44026
+ }[] | null | undefined;
44027
+ triggers?: {
44028
+ message: string;
44029
+ category: string;
44030
+ percentage: number;
44031
+ ruleTriggered?: {
44032
+ risk: string;
44033
+ exposureType: "direct" | "indirect";
44034
+ direction: "both_directions";
44035
+ minThreshold: number;
44036
+ maxThreshold: number;
44037
+ } | null | undefined;
44038
+ }[] | null | undefined;
44039
+ poolMetadata?: {
44040
+ tokens: string[];
44041
+ fees?: number | null | undefined;
44042
+ } | null | undefined;
44043
+ } | {
44044
+ error: {
44045
+ message: string;
44046
+ error: string;
44047
+ data?: string | null | undefined;
44048
+ };
44049
+ };
44050
+ }, {
44051
+ type: "chainalysis";
44052
+ data: {
44053
+ status: "COMPLETE";
44054
+ address: string;
44055
+ risk: "Low" | "Medium" | "High" | "Severe";
44056
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
44057
+ addressIdentifications: {
44058
+ name: string;
44059
+ description: string;
44060
+ address: string;
44061
+ createdAt: number;
44062
+ category: string;
44063
+ url?: string | null | undefined;
44064
+ }[];
44065
+ cluster?: {
44066
+ name: string;
44067
+ category: string;
44068
+ } | null | undefined;
44069
+ riskReason?: string | null | undefined;
44070
+ exposures?: {
44071
+ value: number;
44072
+ category: string;
44073
+ exposureType: "direct" | "indirect";
44074
+ direction: "both_directions";
44075
+ }[] | null | undefined;
44076
+ triggers?: {
44077
+ message: string;
44078
+ category: string;
44079
+ percentage: number;
44080
+ ruleTriggered?: {
44081
+ risk: string;
44082
+ exposureType: "direct" | "indirect";
44083
+ direction: "both_directions";
44084
+ minThreshold: number;
44085
+ maxThreshold: number;
44086
+ } | null | undefined;
44087
+ }[] | null | undefined;
44088
+ poolMetadata?: {
44089
+ tokens: string[];
44090
+ fees?: number | null | undefined;
44091
+ } | null | undefined;
44092
+ } | {
44093
+ error: {
44094
+ message: string;
44095
+ error: string;
44096
+ data?: string | null | undefined;
44097
+ };
44098
+ };
41612
44099
  }>, z.ZodObject<{
41613
44100
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
41614
44101
  data: z.ZodUnion<[z.ZodObject<{
@@ -43982,6 +46469,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
43982
46469
  risk_level?: number | null | undefined;
43983
46470
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
43984
46471
  };
46472
+ } | {
46473
+ type: "chainalysis";
46474
+ data: {
46475
+ status: "COMPLETE";
46476
+ address: string;
46477
+ risk: "Low" | "Medium" | "High" | "Severe";
46478
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
46479
+ addressIdentifications: {
46480
+ name: string;
46481
+ description: string;
46482
+ address: string;
46483
+ createdAt: number;
46484
+ category: string;
46485
+ url?: string | null | undefined;
46486
+ }[];
46487
+ cluster?: {
46488
+ name: string;
46489
+ category: string;
46490
+ } | null | undefined;
46491
+ riskReason?: string | null | undefined;
46492
+ exposures?: {
46493
+ value: number;
46494
+ category: string;
46495
+ exposureType: "direct" | "indirect";
46496
+ direction: "both_directions";
46497
+ }[] | null | undefined;
46498
+ triggers?: {
46499
+ message: string;
46500
+ category: string;
46501
+ percentage: number;
46502
+ ruleTriggered?: {
46503
+ risk: string;
46504
+ exposureType: "direct" | "indirect";
46505
+ direction: "both_directions";
46506
+ minThreshold: number;
46507
+ maxThreshold: number;
46508
+ } | null | undefined;
46509
+ }[] | null | undefined;
46510
+ poolMetadata?: {
46511
+ tokens: string[];
46512
+ fees?: number | null | undefined;
46513
+ } | null | undefined;
46514
+ } | {
46515
+ error: {
46516
+ message: string;
46517
+ error: string;
46518
+ data?: string | null | undefined;
46519
+ };
46520
+ };
43985
46521
  } | {
43986
46522
  type: "ipQualityScore" | "integratedIpqualityscore";
43987
46523
  data: {
@@ -44595,6 +47131,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
44595
47131
  risk_level?: number | null | undefined;
44596
47132
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
44597
47133
  };
47134
+ } | {
47135
+ type: "chainalysis";
47136
+ data: {
47137
+ status: "COMPLETE";
47138
+ address: string;
47139
+ risk: "Low" | "Medium" | "High" | "Severe";
47140
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
47141
+ addressIdentifications: {
47142
+ name: string;
47143
+ description: string;
47144
+ address: string;
47145
+ createdAt: number;
47146
+ category: string;
47147
+ url?: string | null | undefined;
47148
+ }[];
47149
+ cluster?: {
47150
+ name: string;
47151
+ category: string;
47152
+ } | null | undefined;
47153
+ riskReason?: string | null | undefined;
47154
+ exposures?: {
47155
+ value: number;
47156
+ category: string;
47157
+ exposureType: "direct" | "indirect";
47158
+ direction: "both_directions";
47159
+ }[] | null | undefined;
47160
+ triggers?: {
47161
+ message: string;
47162
+ category: string;
47163
+ percentage: number;
47164
+ ruleTriggered?: {
47165
+ risk: string;
47166
+ exposureType: "direct" | "indirect";
47167
+ direction: "both_directions";
47168
+ minThreshold: number;
47169
+ maxThreshold: number;
47170
+ } | null | undefined;
47171
+ }[] | null | undefined;
47172
+ poolMetadata?: {
47173
+ tokens: string[];
47174
+ fees?: number | null | undefined;
47175
+ } | null | undefined;
47176
+ } | {
47177
+ error: {
47178
+ message: string;
47179
+ error: string;
47180
+ data?: string | null | undefined;
47181
+ };
47182
+ };
44598
47183
  } | {
44599
47184
  type: "ipQualityScore" | "integratedIpqualityscore";
44600
47185
  data: {
@@ -45210,6 +47795,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
45210
47795
  risk_level?: number | null | undefined;
45211
47796
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
45212
47797
  };
47798
+ } | {
47799
+ type: "chainalysis";
47800
+ data: {
47801
+ status: "COMPLETE";
47802
+ address: string;
47803
+ risk: "Low" | "Medium" | "High" | "Severe";
47804
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
47805
+ addressIdentifications: {
47806
+ name: string;
47807
+ description: string;
47808
+ address: string;
47809
+ createdAt: number;
47810
+ category: string;
47811
+ url?: string | null | undefined;
47812
+ }[];
47813
+ cluster?: {
47814
+ name: string;
47815
+ category: string;
47816
+ } | null | undefined;
47817
+ riskReason?: string | null | undefined;
47818
+ exposures?: {
47819
+ value: number;
47820
+ category: string;
47821
+ exposureType: "direct" | "indirect";
47822
+ direction: "both_directions";
47823
+ }[] | null | undefined;
47824
+ triggers?: {
47825
+ message: string;
47826
+ category: string;
47827
+ percentage: number;
47828
+ ruleTriggered?: {
47829
+ risk: string;
47830
+ exposureType: "direct" | "indirect";
47831
+ direction: "both_directions";
47832
+ minThreshold: number;
47833
+ maxThreshold: number;
47834
+ } | null | undefined;
47835
+ }[] | null | undefined;
47836
+ poolMetadata?: {
47837
+ tokens: string[];
47838
+ fees?: number | null | undefined;
47839
+ } | null | undefined;
47840
+ } | {
47841
+ error: {
47842
+ message: string;
47843
+ error: string;
47844
+ data?: string | null | undefined;
47845
+ };
47846
+ };
45213
47847
  } | {
45214
47848
  type: "ipQualityScore" | "integratedIpqualityscore";
45215
47849
  data: {
@@ -45826,6 +48460,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
45826
48460
  risk_level?: number | null | undefined;
45827
48461
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
45828
48462
  };
48463
+ } | {
48464
+ type: "chainalysis";
48465
+ data: {
48466
+ status: "COMPLETE";
48467
+ address: string;
48468
+ risk: "Low" | "Medium" | "High" | "Severe";
48469
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
48470
+ addressIdentifications: {
48471
+ name: string;
48472
+ description: string;
48473
+ address: string;
48474
+ createdAt: number;
48475
+ category: string;
48476
+ url?: string | null | undefined;
48477
+ }[];
48478
+ cluster?: {
48479
+ name: string;
48480
+ category: string;
48481
+ } | null | undefined;
48482
+ riskReason?: string | null | undefined;
48483
+ exposures?: {
48484
+ value: number;
48485
+ category: string;
48486
+ exposureType: "direct" | "indirect";
48487
+ direction: "both_directions";
48488
+ }[] | null | undefined;
48489
+ triggers?: {
48490
+ message: string;
48491
+ category: string;
48492
+ percentage: number;
48493
+ ruleTriggered?: {
48494
+ risk: string;
48495
+ exposureType: "direct" | "indirect";
48496
+ direction: "both_directions";
48497
+ minThreshold: number;
48498
+ maxThreshold: number;
48499
+ } | null | undefined;
48500
+ }[] | null | undefined;
48501
+ poolMetadata?: {
48502
+ tokens: string[];
48503
+ fees?: number | null | undefined;
48504
+ } | null | undefined;
48505
+ } | {
48506
+ error: {
48507
+ message: string;
48508
+ error: string;
48509
+ data?: string | null | undefined;
48510
+ };
48511
+ };
45829
48512
  } | {
45830
48513
  type: "ipQualityScore" | "integratedIpqualityscore";
45831
48514
  data: {
@@ -47006,6 +49689,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
47006
49689
  risk_level?: number | null | undefined;
47007
49690
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
47008
49691
  };
49692
+ } | {
49693
+ type: "chainalysis";
49694
+ data: {
49695
+ status: "COMPLETE";
49696
+ address: string;
49697
+ risk: "Low" | "Medium" | "High" | "Severe";
49698
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
49699
+ addressIdentifications: {
49700
+ name: string;
49701
+ description: string;
49702
+ address: string;
49703
+ createdAt: number;
49704
+ category: string;
49705
+ url?: string | null | undefined;
49706
+ }[];
49707
+ cluster?: {
49708
+ name: string;
49709
+ category: string;
49710
+ } | null | undefined;
49711
+ riskReason?: string | null | undefined;
49712
+ exposures?: {
49713
+ value: number;
49714
+ category: string;
49715
+ exposureType: "direct" | "indirect";
49716
+ direction: "both_directions";
49717
+ }[] | null | undefined;
49718
+ triggers?: {
49719
+ message: string;
49720
+ category: string;
49721
+ percentage: number;
49722
+ ruleTriggered?: {
49723
+ risk: string;
49724
+ exposureType: "direct" | "indirect";
49725
+ direction: "both_directions";
49726
+ minThreshold: number;
49727
+ maxThreshold: number;
49728
+ } | null | undefined;
49729
+ }[] | null | undefined;
49730
+ poolMetadata?: {
49731
+ tokens: string[];
49732
+ fees?: number | null | undefined;
49733
+ } | null | undefined;
49734
+ } | {
49735
+ error: {
49736
+ message: string;
49737
+ error: string;
49738
+ data?: string | null | undefined;
49739
+ };
49740
+ };
47009
49741
  } | {
47010
49742
  type: "ipQualityScore" | "integratedIpqualityscore";
47011
49743
  data: {
@@ -47782,6 +50514,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
47782
50514
  risk_level?: number | null | undefined;
47783
50515
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
47784
50516
  };
50517
+ } | {
50518
+ type: "chainalysis";
50519
+ data: {
50520
+ status: "COMPLETE";
50521
+ address: string;
50522
+ risk: "Low" | "Medium" | "High" | "Severe";
50523
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
50524
+ addressIdentifications: {
50525
+ name: string;
50526
+ description: string;
50527
+ address: string;
50528
+ createdAt: number;
50529
+ category: string;
50530
+ url?: string | null | undefined;
50531
+ }[];
50532
+ cluster?: {
50533
+ name: string;
50534
+ category: string;
50535
+ } | null | undefined;
50536
+ riskReason?: string | null | undefined;
50537
+ exposures?: {
50538
+ value: number;
50539
+ category: string;
50540
+ exposureType: "direct" | "indirect";
50541
+ direction: "both_directions";
50542
+ }[] | null | undefined;
50543
+ triggers?: {
50544
+ message: string;
50545
+ category: string;
50546
+ percentage: number;
50547
+ ruleTriggered?: {
50548
+ risk: string;
50549
+ exposureType: "direct" | "indirect";
50550
+ direction: "both_directions";
50551
+ minThreshold: number;
50552
+ maxThreshold: number;
50553
+ } | null | undefined;
50554
+ }[] | null | undefined;
50555
+ poolMetadata?: {
50556
+ tokens: string[];
50557
+ fees?: number | null | undefined;
50558
+ } | null | undefined;
50559
+ } | {
50560
+ error: {
50561
+ message: string;
50562
+ error: string;
50563
+ data?: string | null | undefined;
50564
+ };
50565
+ };
47785
50566
  } | {
47786
50567
  type: "ipQualityScore" | "integratedIpqualityscore";
47787
50568
  data: {
@@ -51177,7 +53958,11 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
51177
53958
  statusCode: 500;
51178
53959
  errorCode: "INTERNAL_SERVER_ERROR";
51179
53960
  }>, z.ZodObject<{
51180
- statusCode: z.ZodLiteral<500>;
53961
+ statusCode: z.ZodLiteral<500>; /**
53962
+ *
53963
+ * Send Messages Types
53964
+ *
53965
+ */
51181
53966
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
51182
53967
  message: z.ZodString;
51183
53968
  }, "strip", z.ZodTypeAny, {
@@ -52502,6 +55287,323 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
52502
55287
  risk_level?: number | null | undefined;
52503
55288
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
52504
55289
  };
55290
+ }>, z.ZodObject<{
55291
+ type: z.ZodEnum<["chainalysis"]>;
55292
+ data: z.ZodUnion<[z.ZodObject<{
55293
+ address: z.ZodString;
55294
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
55295
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55296
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55297
+ name: z.ZodString;
55298
+ category: z.ZodString;
55299
+ }, "strip", z.ZodTypeAny, {
55300
+ name: string;
55301
+ category: string;
55302
+ }, {
55303
+ name: string;
55304
+ category: string;
55305
+ }>>>;
55306
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
55307
+ addressIdentifications: z.ZodArray<z.ZodObject<{
55308
+ name: z.ZodString;
55309
+ address: z.ZodString;
55310
+ category: z.ZodString;
55311
+ description: z.ZodString;
55312
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55313
+ createdAt: z.ZodNumber;
55314
+ }, "strip", z.ZodTypeAny, {
55315
+ name: string;
55316
+ description: string;
55317
+ address: string;
55318
+ createdAt: number;
55319
+ category: string;
55320
+ url?: string | null | undefined;
55321
+ }, {
55322
+ name: string;
55323
+ description: string;
55324
+ address: string;
55325
+ createdAt: number;
55326
+ category: string;
55327
+ url?: string | null | undefined;
55328
+ }>, "many">;
55329
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
55330
+ category: z.ZodString;
55331
+ value: z.ZodNumber;
55332
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
55333
+ direction: z.ZodLiteral<"both_directions">;
55334
+ }, "strip", z.ZodTypeAny, {
55335
+ value: number;
55336
+ category: string;
55337
+ exposureType: "direct" | "indirect";
55338
+ direction: "both_directions";
55339
+ }, {
55340
+ value: number;
55341
+ category: string;
55342
+ exposureType: "direct" | "indirect";
55343
+ direction: "both_directions";
55344
+ }>, "many">>>;
55345
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
55346
+ category: z.ZodString;
55347
+ percentage: z.ZodNumber;
55348
+ message: z.ZodString;
55349
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55350
+ risk: z.ZodString;
55351
+ minThreshold: z.ZodNumber;
55352
+ maxThreshold: z.ZodNumber;
55353
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
55354
+ direction: z.ZodLiteral<"both_directions">;
55355
+ }, "strip", z.ZodTypeAny, {
55356
+ risk: string;
55357
+ exposureType: "direct" | "indirect";
55358
+ direction: "both_directions";
55359
+ minThreshold: number;
55360
+ maxThreshold: number;
55361
+ }, {
55362
+ risk: string;
55363
+ exposureType: "direct" | "indirect";
55364
+ direction: "both_directions";
55365
+ minThreshold: number;
55366
+ maxThreshold: number;
55367
+ }>>>;
55368
+ }, "strip", z.ZodTypeAny, {
55369
+ message: string;
55370
+ category: string;
55371
+ percentage: number;
55372
+ ruleTriggered?: {
55373
+ risk: string;
55374
+ exposureType: "direct" | "indirect";
55375
+ direction: "both_directions";
55376
+ minThreshold: number;
55377
+ maxThreshold: number;
55378
+ } | null | undefined;
55379
+ }, {
55380
+ message: string;
55381
+ category: string;
55382
+ percentage: number;
55383
+ ruleTriggered?: {
55384
+ risk: string;
55385
+ exposureType: "direct" | "indirect";
55386
+ direction: "both_directions";
55387
+ minThreshold: number;
55388
+ maxThreshold: number;
55389
+ } | null | undefined;
55390
+ }>, "many">>>;
55391
+ status: z.ZodLiteral<"COMPLETE">;
55392
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55393
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55394
+ tokens: z.ZodArray<z.ZodString, "many">;
55395
+ }, "strip", z.ZodTypeAny, {
55396
+ tokens: string[];
55397
+ fees?: number | null | undefined;
55398
+ }, {
55399
+ tokens: string[];
55400
+ fees?: number | null | undefined;
55401
+ }>>>;
55402
+ }, "strip", z.ZodTypeAny, {
55403
+ status: "COMPLETE";
55404
+ address: string;
55405
+ risk: "Low" | "Medium" | "High" | "Severe";
55406
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55407
+ addressIdentifications: {
55408
+ name: string;
55409
+ description: string;
55410
+ address: string;
55411
+ createdAt: number;
55412
+ category: string;
55413
+ url?: string | null | undefined;
55414
+ }[];
55415
+ cluster?: {
55416
+ name: string;
55417
+ category: string;
55418
+ } | null | undefined;
55419
+ riskReason?: string | null | undefined;
55420
+ exposures?: {
55421
+ value: number;
55422
+ category: string;
55423
+ exposureType: "direct" | "indirect";
55424
+ direction: "both_directions";
55425
+ }[] | null | undefined;
55426
+ triggers?: {
55427
+ message: string;
55428
+ category: string;
55429
+ percentage: number;
55430
+ ruleTriggered?: {
55431
+ risk: string;
55432
+ exposureType: "direct" | "indirect";
55433
+ direction: "both_directions";
55434
+ minThreshold: number;
55435
+ maxThreshold: number;
55436
+ } | null | undefined;
55437
+ }[] | null | undefined;
55438
+ poolMetadata?: {
55439
+ tokens: string[];
55440
+ fees?: number | null | undefined;
55441
+ } | null | undefined;
55442
+ }, {
55443
+ status: "COMPLETE";
55444
+ address: string;
55445
+ risk: "Low" | "Medium" | "High" | "Severe";
55446
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55447
+ addressIdentifications: {
55448
+ name: string;
55449
+ description: string;
55450
+ address: string;
55451
+ createdAt: number;
55452
+ category: string;
55453
+ url?: string | null | undefined;
55454
+ }[];
55455
+ cluster?: {
55456
+ name: string;
55457
+ category: string;
55458
+ } | null | undefined;
55459
+ riskReason?: string | null | undefined;
55460
+ exposures?: {
55461
+ value: number;
55462
+ category: string;
55463
+ exposureType: "direct" | "indirect";
55464
+ direction: "both_directions";
55465
+ }[] | null | undefined;
55466
+ triggers?: {
55467
+ message: string;
55468
+ category: string;
55469
+ percentage: number;
55470
+ ruleTriggered?: {
55471
+ risk: string;
55472
+ exposureType: "direct" | "indirect";
55473
+ direction: "both_directions";
55474
+ minThreshold: number;
55475
+ maxThreshold: number;
55476
+ } | null | undefined;
55477
+ }[] | null | undefined;
55478
+ poolMetadata?: {
55479
+ tokens: string[];
55480
+ fees?: number | null | undefined;
55481
+ } | null | undefined;
55482
+ }>, z.ZodObject<{
55483
+ error: z.ZodObject<{
55484
+ error: z.ZodString;
55485
+ message: z.ZodString;
55486
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55487
+ }, "strip", z.ZodTypeAny, {
55488
+ message: string;
55489
+ error: string;
55490
+ data?: string | null | undefined;
55491
+ }, {
55492
+ message: string;
55493
+ error: string;
55494
+ data?: string | null | undefined;
55495
+ }>;
55496
+ }, "strip", z.ZodTypeAny, {
55497
+ error: {
55498
+ message: string;
55499
+ error: string;
55500
+ data?: string | null | undefined;
55501
+ };
55502
+ }, {
55503
+ error: {
55504
+ message: string;
55505
+ error: string;
55506
+ data?: string | null | undefined;
55507
+ };
55508
+ }>]>;
55509
+ }, "strip", z.ZodTypeAny, {
55510
+ type: "chainalysis";
55511
+ data: {
55512
+ status: "COMPLETE";
55513
+ address: string;
55514
+ risk: "Low" | "Medium" | "High" | "Severe";
55515
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55516
+ addressIdentifications: {
55517
+ name: string;
55518
+ description: string;
55519
+ address: string;
55520
+ createdAt: number;
55521
+ category: string;
55522
+ url?: string | null | undefined;
55523
+ }[];
55524
+ cluster?: {
55525
+ name: string;
55526
+ category: string;
55527
+ } | null | undefined;
55528
+ riskReason?: string | null | undefined;
55529
+ exposures?: {
55530
+ value: number;
55531
+ category: string;
55532
+ exposureType: "direct" | "indirect";
55533
+ direction: "both_directions";
55534
+ }[] | null | undefined;
55535
+ triggers?: {
55536
+ message: string;
55537
+ category: string;
55538
+ percentage: number;
55539
+ ruleTriggered?: {
55540
+ risk: string;
55541
+ exposureType: "direct" | "indirect";
55542
+ direction: "both_directions";
55543
+ minThreshold: number;
55544
+ maxThreshold: number;
55545
+ } | null | undefined;
55546
+ }[] | null | undefined;
55547
+ poolMetadata?: {
55548
+ tokens: string[];
55549
+ fees?: number | null | undefined;
55550
+ } | null | undefined;
55551
+ } | {
55552
+ error: {
55553
+ message: string;
55554
+ error: string;
55555
+ data?: string | null | undefined;
55556
+ };
55557
+ };
55558
+ }, {
55559
+ type: "chainalysis";
55560
+ data: {
55561
+ status: "COMPLETE";
55562
+ address: string;
55563
+ risk: "Low" | "Medium" | "High" | "Severe";
55564
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55565
+ addressIdentifications: {
55566
+ name: string;
55567
+ description: string;
55568
+ address: string;
55569
+ createdAt: number;
55570
+ category: string;
55571
+ url?: string | null | undefined;
55572
+ }[];
55573
+ cluster?: {
55574
+ name: string;
55575
+ category: string;
55576
+ } | null | undefined;
55577
+ riskReason?: string | null | undefined;
55578
+ exposures?: {
55579
+ value: number;
55580
+ category: string;
55581
+ exposureType: "direct" | "indirect";
55582
+ direction: "both_directions";
55583
+ }[] | null | undefined;
55584
+ triggers?: {
55585
+ message: string;
55586
+ category: string;
55587
+ percentage: number;
55588
+ ruleTriggered?: {
55589
+ risk: string;
55590
+ exposureType: "direct" | "indirect";
55591
+ direction: "both_directions";
55592
+ minThreshold: number;
55593
+ maxThreshold: number;
55594
+ } | null | undefined;
55595
+ }[] | null | undefined;
55596
+ poolMetadata?: {
55597
+ tokens: string[];
55598
+ fees?: number | null | undefined;
55599
+ } | null | undefined;
55600
+ } | {
55601
+ error: {
55602
+ message: string;
55603
+ error: string;
55604
+ data?: string | null | undefined;
55605
+ };
55606
+ };
52505
55607
  }>, z.ZodObject<{
52506
55608
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
52507
55609
  data: z.ZodUnion<[z.ZodObject<{
@@ -54875,6 +57977,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
54875
57977
  risk_level?: number | null | undefined;
54876
57978
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
54877
57979
  };
57980
+ } | {
57981
+ type: "chainalysis";
57982
+ data: {
57983
+ status: "COMPLETE";
57984
+ address: string;
57985
+ risk: "Low" | "Medium" | "High" | "Severe";
57986
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
57987
+ addressIdentifications: {
57988
+ name: string;
57989
+ description: string;
57990
+ address: string;
57991
+ createdAt: number;
57992
+ category: string;
57993
+ url?: string | null | undefined;
57994
+ }[];
57995
+ cluster?: {
57996
+ name: string;
57997
+ category: string;
57998
+ } | null | undefined;
57999
+ riskReason?: string | null | undefined;
58000
+ exposures?: {
58001
+ value: number;
58002
+ category: string;
58003
+ exposureType: "direct" | "indirect";
58004
+ direction: "both_directions";
58005
+ }[] | null | undefined;
58006
+ triggers?: {
58007
+ message: string;
58008
+ category: string;
58009
+ percentage: number;
58010
+ ruleTriggered?: {
58011
+ risk: string;
58012
+ exposureType: "direct" | "indirect";
58013
+ direction: "both_directions";
58014
+ minThreshold: number;
58015
+ maxThreshold: number;
58016
+ } | null | undefined;
58017
+ }[] | null | undefined;
58018
+ poolMetadata?: {
58019
+ tokens: string[];
58020
+ fees?: number | null | undefined;
58021
+ } | null | undefined;
58022
+ } | {
58023
+ error: {
58024
+ message: string;
58025
+ error: string;
58026
+ data?: string | null | undefined;
58027
+ };
58028
+ };
54878
58029
  } | {
54879
58030
  type: "ipQualityScore" | "integratedIpqualityscore";
54880
58031
  data: {
@@ -55488,6 +58639,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
55488
58639
  risk_level?: number | null | undefined;
55489
58640
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
55490
58641
  };
58642
+ } | {
58643
+ type: "chainalysis";
58644
+ data: {
58645
+ status: "COMPLETE";
58646
+ address: string;
58647
+ risk: "Low" | "Medium" | "High" | "Severe";
58648
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
58649
+ addressIdentifications: {
58650
+ name: string;
58651
+ description: string;
58652
+ address: string;
58653
+ createdAt: number;
58654
+ category: string;
58655
+ url?: string | null | undefined;
58656
+ }[];
58657
+ cluster?: {
58658
+ name: string;
58659
+ category: string;
58660
+ } | null | undefined;
58661
+ riskReason?: string | null | undefined;
58662
+ exposures?: {
58663
+ value: number;
58664
+ category: string;
58665
+ exposureType: "direct" | "indirect";
58666
+ direction: "both_directions";
58667
+ }[] | null | undefined;
58668
+ triggers?: {
58669
+ message: string;
58670
+ category: string;
58671
+ percentage: number;
58672
+ ruleTriggered?: {
58673
+ risk: string;
58674
+ exposureType: "direct" | "indirect";
58675
+ direction: "both_directions";
58676
+ minThreshold: number;
58677
+ maxThreshold: number;
58678
+ } | null | undefined;
58679
+ }[] | null | undefined;
58680
+ poolMetadata?: {
58681
+ tokens: string[];
58682
+ fees?: number | null | undefined;
58683
+ } | null | undefined;
58684
+ } | {
58685
+ error: {
58686
+ message: string;
58687
+ error: string;
58688
+ data?: string | null | undefined;
58689
+ };
58690
+ };
55491
58691
  } | {
55492
58692
  type: "ipQualityScore" | "integratedIpqualityscore";
55493
58693
  data: {
@@ -56103,6 +59303,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
56103
59303
  risk_level?: number | null | undefined;
56104
59304
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
56105
59305
  };
59306
+ } | {
59307
+ type: "chainalysis";
59308
+ data: {
59309
+ status: "COMPLETE";
59310
+ address: string;
59311
+ risk: "Low" | "Medium" | "High" | "Severe";
59312
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
59313
+ addressIdentifications: {
59314
+ name: string;
59315
+ description: string;
59316
+ address: string;
59317
+ createdAt: number;
59318
+ category: string;
59319
+ url?: string | null | undefined;
59320
+ }[];
59321
+ cluster?: {
59322
+ name: string;
59323
+ category: string;
59324
+ } | null | undefined;
59325
+ riskReason?: string | null | undefined;
59326
+ exposures?: {
59327
+ value: number;
59328
+ category: string;
59329
+ exposureType: "direct" | "indirect";
59330
+ direction: "both_directions";
59331
+ }[] | null | undefined;
59332
+ triggers?: {
59333
+ message: string;
59334
+ category: string;
59335
+ percentage: number;
59336
+ ruleTriggered?: {
59337
+ risk: string;
59338
+ exposureType: "direct" | "indirect";
59339
+ direction: "both_directions";
59340
+ minThreshold: number;
59341
+ maxThreshold: number;
59342
+ } | null | undefined;
59343
+ }[] | null | undefined;
59344
+ poolMetadata?: {
59345
+ tokens: string[];
59346
+ fees?: number | null | undefined;
59347
+ } | null | undefined;
59348
+ } | {
59349
+ error: {
59350
+ message: string;
59351
+ error: string;
59352
+ data?: string | null | undefined;
59353
+ };
59354
+ };
56106
59355
  } | {
56107
59356
  type: "ipQualityScore" | "integratedIpqualityscore";
56108
59357
  data: {
@@ -56719,6 +59968,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
56719
59968
  risk_level?: number | null | undefined;
56720
59969
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
56721
59970
  };
59971
+ } | {
59972
+ type: "chainalysis";
59973
+ data: {
59974
+ status: "COMPLETE";
59975
+ address: string;
59976
+ risk: "Low" | "Medium" | "High" | "Severe";
59977
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
59978
+ addressIdentifications: {
59979
+ name: string;
59980
+ description: string;
59981
+ address: string;
59982
+ createdAt: number;
59983
+ category: string;
59984
+ url?: string | null | undefined;
59985
+ }[];
59986
+ cluster?: {
59987
+ name: string;
59988
+ category: string;
59989
+ } | null | undefined;
59990
+ riskReason?: string | null | undefined;
59991
+ exposures?: {
59992
+ value: number;
59993
+ category: string;
59994
+ exposureType: "direct" | "indirect";
59995
+ direction: "both_directions";
59996
+ }[] | null | undefined;
59997
+ triggers?: {
59998
+ message: string;
59999
+ category: string;
60000
+ percentage: number;
60001
+ ruleTriggered?: {
60002
+ risk: string;
60003
+ exposureType: "direct" | "indirect";
60004
+ direction: "both_directions";
60005
+ minThreshold: number;
60006
+ maxThreshold: number;
60007
+ } | null | undefined;
60008
+ }[] | null | undefined;
60009
+ poolMetadata?: {
60010
+ tokens: string[];
60011
+ fees?: number | null | undefined;
60012
+ } | null | undefined;
60013
+ } | {
60014
+ error: {
60015
+ message: string;
60016
+ error: string;
60017
+ data?: string | null | undefined;
60018
+ };
60019
+ };
56722
60020
  } | {
56723
60021
  type: "ipQualityScore" | "integratedIpqualityscore";
56724
60022
  data: {
@@ -57338,6 +60636,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
57338
60636
  risk_level?: number | null | undefined;
57339
60637
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
57340
60638
  };
60639
+ } | {
60640
+ type: "chainalysis";
60641
+ data: {
60642
+ status: "COMPLETE";
60643
+ address: string;
60644
+ risk: "Low" | "Medium" | "High" | "Severe";
60645
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
60646
+ addressIdentifications: {
60647
+ name: string;
60648
+ description: string;
60649
+ address: string;
60650
+ createdAt: number;
60651
+ category: string;
60652
+ url?: string | null | undefined;
60653
+ }[];
60654
+ cluster?: {
60655
+ name: string;
60656
+ category: string;
60657
+ } | null | undefined;
60658
+ riskReason?: string | null | undefined;
60659
+ exposures?: {
60660
+ value: number;
60661
+ category: string;
60662
+ exposureType: "direct" | "indirect";
60663
+ direction: "both_directions";
60664
+ }[] | null | undefined;
60665
+ triggers?: {
60666
+ message: string;
60667
+ category: string;
60668
+ percentage: number;
60669
+ ruleTriggered?: {
60670
+ risk: string;
60671
+ exposureType: "direct" | "indirect";
60672
+ direction: "both_directions";
60673
+ minThreshold: number;
60674
+ maxThreshold: number;
60675
+ } | null | undefined;
60676
+ }[] | null | undefined;
60677
+ poolMetadata?: {
60678
+ tokens: string[];
60679
+ fees?: number | null | undefined;
60680
+ } | null | undefined;
60681
+ } | {
60682
+ error: {
60683
+ message: string;
60684
+ error: string;
60685
+ data?: string | null | undefined;
60686
+ };
60687
+ };
57341
60688
  } | {
57342
60689
  type: "ipQualityScore" | "integratedIpqualityscore";
57343
60690
  data: {
@@ -57957,6 +61304,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
57957
61304
  risk_level?: number | null | undefined;
57958
61305
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
57959
61306
  };
61307
+ } | {
61308
+ type: "chainalysis";
61309
+ data: {
61310
+ status: "COMPLETE";
61311
+ address: string;
61312
+ risk: "Low" | "Medium" | "High" | "Severe";
61313
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
61314
+ addressIdentifications: {
61315
+ name: string;
61316
+ description: string;
61317
+ address: string;
61318
+ createdAt: number;
61319
+ category: string;
61320
+ url?: string | null | undefined;
61321
+ }[];
61322
+ cluster?: {
61323
+ name: string;
61324
+ category: string;
61325
+ } | null | undefined;
61326
+ riskReason?: string | null | undefined;
61327
+ exposures?: {
61328
+ value: number;
61329
+ category: string;
61330
+ exposureType: "direct" | "indirect";
61331
+ direction: "both_directions";
61332
+ }[] | null | undefined;
61333
+ triggers?: {
61334
+ message: string;
61335
+ category: string;
61336
+ percentage: number;
61337
+ ruleTriggered?: {
61338
+ risk: string;
61339
+ exposureType: "direct" | "indirect";
61340
+ direction: "both_directions";
61341
+ minThreshold: number;
61342
+ maxThreshold: number;
61343
+ } | null | undefined;
61344
+ }[] | null | undefined;
61345
+ poolMetadata?: {
61346
+ tokens: string[];
61347
+ fees?: number | null | undefined;
61348
+ } | null | undefined;
61349
+ } | {
61350
+ error: {
61351
+ message: string;
61352
+ error: string;
61353
+ data?: string | null | undefined;
61354
+ };
61355
+ };
57960
61356
  } | {
57961
61357
  type: "ipQualityScore" | "integratedIpqualityscore";
57962
61358
  data: {
@@ -61626,7 +65022,11 @@ export declare const ListMessagesOutput: z.ZodObject<{
61626
65022
  statusCode: 500;
61627
65023
  errorCode: "INTERNAL_SERVER_ERROR";
61628
65024
  }>, z.ZodObject<{
61629
- statusCode: z.ZodLiteral<500>;
65025
+ statusCode: z.ZodLiteral<500>; /**
65026
+ *
65027
+ * Send Messages Types
65028
+ *
65029
+ */
61630
65030
  errorCode: z.ZodLiteral<"UNKNOWN_ERROR">;
61631
65031
  message: z.ZodString;
61632
65032
  }, "strip", z.ZodTypeAny, {
@@ -62951,6 +66351,323 @@ export declare const ListMessagesOutput: z.ZodObject<{
62951
66351
  risk_level?: number | null | undefined;
62952
66352
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
62953
66353
  };
66354
+ }>, z.ZodObject<{
66355
+ type: z.ZodEnum<["chainalysis"]>;
66356
+ data: z.ZodUnion<[z.ZodObject<{
66357
+ address: z.ZodString;
66358
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
66359
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66360
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66361
+ name: z.ZodString;
66362
+ category: z.ZodString;
66363
+ }, "strip", z.ZodTypeAny, {
66364
+ name: string;
66365
+ category: string;
66366
+ }, {
66367
+ name: string;
66368
+ category: string;
66369
+ }>>>;
66370
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
66371
+ addressIdentifications: z.ZodArray<z.ZodObject<{
66372
+ name: z.ZodString;
66373
+ address: z.ZodString;
66374
+ category: z.ZodString;
66375
+ description: z.ZodString;
66376
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66377
+ createdAt: z.ZodNumber;
66378
+ }, "strip", z.ZodTypeAny, {
66379
+ name: string;
66380
+ description: string;
66381
+ address: string;
66382
+ createdAt: number;
66383
+ category: string;
66384
+ url?: string | null | undefined;
66385
+ }, {
66386
+ name: string;
66387
+ description: string;
66388
+ address: string;
66389
+ createdAt: number;
66390
+ category: string;
66391
+ url?: string | null | undefined;
66392
+ }>, "many">;
66393
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
66394
+ category: z.ZodString;
66395
+ value: z.ZodNumber;
66396
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
66397
+ direction: z.ZodLiteral<"both_directions">;
66398
+ }, "strip", z.ZodTypeAny, {
66399
+ value: number;
66400
+ category: string;
66401
+ exposureType: "direct" | "indirect";
66402
+ direction: "both_directions";
66403
+ }, {
66404
+ value: number;
66405
+ category: string;
66406
+ exposureType: "direct" | "indirect";
66407
+ direction: "both_directions";
66408
+ }>, "many">>>;
66409
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
66410
+ category: z.ZodString;
66411
+ percentage: z.ZodNumber;
66412
+ message: z.ZodString;
66413
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66414
+ risk: z.ZodString;
66415
+ minThreshold: z.ZodNumber;
66416
+ maxThreshold: z.ZodNumber;
66417
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
66418
+ direction: z.ZodLiteral<"both_directions">;
66419
+ }, "strip", z.ZodTypeAny, {
66420
+ risk: string;
66421
+ exposureType: "direct" | "indirect";
66422
+ direction: "both_directions";
66423
+ minThreshold: number;
66424
+ maxThreshold: number;
66425
+ }, {
66426
+ risk: string;
66427
+ exposureType: "direct" | "indirect";
66428
+ direction: "both_directions";
66429
+ minThreshold: number;
66430
+ maxThreshold: number;
66431
+ }>>>;
66432
+ }, "strip", z.ZodTypeAny, {
66433
+ message: string;
66434
+ category: string;
66435
+ percentage: number;
66436
+ ruleTriggered?: {
66437
+ risk: string;
66438
+ exposureType: "direct" | "indirect";
66439
+ direction: "both_directions";
66440
+ minThreshold: number;
66441
+ maxThreshold: number;
66442
+ } | null | undefined;
66443
+ }, {
66444
+ message: string;
66445
+ category: string;
66446
+ percentage: number;
66447
+ ruleTriggered?: {
66448
+ risk: string;
66449
+ exposureType: "direct" | "indirect";
66450
+ direction: "both_directions";
66451
+ minThreshold: number;
66452
+ maxThreshold: number;
66453
+ } | null | undefined;
66454
+ }>, "many">>>;
66455
+ status: z.ZodLiteral<"COMPLETE">;
66456
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66457
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66458
+ tokens: z.ZodArray<z.ZodString, "many">;
66459
+ }, "strip", z.ZodTypeAny, {
66460
+ tokens: string[];
66461
+ fees?: number | null | undefined;
66462
+ }, {
66463
+ tokens: string[];
66464
+ fees?: number | null | undefined;
66465
+ }>>>;
66466
+ }, "strip", z.ZodTypeAny, {
66467
+ status: "COMPLETE";
66468
+ address: string;
66469
+ risk: "Low" | "Medium" | "High" | "Severe";
66470
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66471
+ addressIdentifications: {
66472
+ name: string;
66473
+ description: string;
66474
+ address: string;
66475
+ createdAt: number;
66476
+ category: string;
66477
+ url?: string | null | undefined;
66478
+ }[];
66479
+ cluster?: {
66480
+ name: string;
66481
+ category: string;
66482
+ } | null | undefined;
66483
+ riskReason?: string | null | undefined;
66484
+ exposures?: {
66485
+ value: number;
66486
+ category: string;
66487
+ exposureType: "direct" | "indirect";
66488
+ direction: "both_directions";
66489
+ }[] | null | undefined;
66490
+ triggers?: {
66491
+ message: string;
66492
+ category: string;
66493
+ percentage: number;
66494
+ ruleTriggered?: {
66495
+ risk: string;
66496
+ exposureType: "direct" | "indirect";
66497
+ direction: "both_directions";
66498
+ minThreshold: number;
66499
+ maxThreshold: number;
66500
+ } | null | undefined;
66501
+ }[] | null | undefined;
66502
+ poolMetadata?: {
66503
+ tokens: string[];
66504
+ fees?: number | null | undefined;
66505
+ } | null | undefined;
66506
+ }, {
66507
+ status: "COMPLETE";
66508
+ address: string;
66509
+ risk: "Low" | "Medium" | "High" | "Severe";
66510
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66511
+ addressIdentifications: {
66512
+ name: string;
66513
+ description: string;
66514
+ address: string;
66515
+ createdAt: number;
66516
+ category: string;
66517
+ url?: string | null | undefined;
66518
+ }[];
66519
+ cluster?: {
66520
+ name: string;
66521
+ category: string;
66522
+ } | null | undefined;
66523
+ riskReason?: string | null | undefined;
66524
+ exposures?: {
66525
+ value: number;
66526
+ category: string;
66527
+ exposureType: "direct" | "indirect";
66528
+ direction: "both_directions";
66529
+ }[] | null | undefined;
66530
+ triggers?: {
66531
+ message: string;
66532
+ category: string;
66533
+ percentage: number;
66534
+ ruleTriggered?: {
66535
+ risk: string;
66536
+ exposureType: "direct" | "indirect";
66537
+ direction: "both_directions";
66538
+ minThreshold: number;
66539
+ maxThreshold: number;
66540
+ } | null | undefined;
66541
+ }[] | null | undefined;
66542
+ poolMetadata?: {
66543
+ tokens: string[];
66544
+ fees?: number | null | undefined;
66545
+ } | null | undefined;
66546
+ }>, z.ZodObject<{
66547
+ error: z.ZodObject<{
66548
+ error: z.ZodString;
66549
+ message: z.ZodString;
66550
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66551
+ }, "strip", z.ZodTypeAny, {
66552
+ message: string;
66553
+ error: string;
66554
+ data?: string | null | undefined;
66555
+ }, {
66556
+ message: string;
66557
+ error: string;
66558
+ data?: string | null | undefined;
66559
+ }>;
66560
+ }, "strip", z.ZodTypeAny, {
66561
+ error: {
66562
+ message: string;
66563
+ error: string;
66564
+ data?: string | null | undefined;
66565
+ };
66566
+ }, {
66567
+ error: {
66568
+ message: string;
66569
+ error: string;
66570
+ data?: string | null | undefined;
66571
+ };
66572
+ }>]>;
66573
+ }, "strip", z.ZodTypeAny, {
66574
+ type: "chainalysis";
66575
+ data: {
66576
+ status: "COMPLETE";
66577
+ address: string;
66578
+ risk: "Low" | "Medium" | "High" | "Severe";
66579
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66580
+ addressIdentifications: {
66581
+ name: string;
66582
+ description: string;
66583
+ address: string;
66584
+ createdAt: number;
66585
+ category: string;
66586
+ url?: string | null | undefined;
66587
+ }[];
66588
+ cluster?: {
66589
+ name: string;
66590
+ category: string;
66591
+ } | null | undefined;
66592
+ riskReason?: string | null | undefined;
66593
+ exposures?: {
66594
+ value: number;
66595
+ category: string;
66596
+ exposureType: "direct" | "indirect";
66597
+ direction: "both_directions";
66598
+ }[] | null | undefined;
66599
+ triggers?: {
66600
+ message: string;
66601
+ category: string;
66602
+ percentage: number;
66603
+ ruleTriggered?: {
66604
+ risk: string;
66605
+ exposureType: "direct" | "indirect";
66606
+ direction: "both_directions";
66607
+ minThreshold: number;
66608
+ maxThreshold: number;
66609
+ } | null | undefined;
66610
+ }[] | null | undefined;
66611
+ poolMetadata?: {
66612
+ tokens: string[];
66613
+ fees?: number | null | undefined;
66614
+ } | null | undefined;
66615
+ } | {
66616
+ error: {
66617
+ message: string;
66618
+ error: string;
66619
+ data?: string | null | undefined;
66620
+ };
66621
+ };
66622
+ }, {
66623
+ type: "chainalysis";
66624
+ data: {
66625
+ status: "COMPLETE";
66626
+ address: string;
66627
+ risk: "Low" | "Medium" | "High" | "Severe";
66628
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66629
+ addressIdentifications: {
66630
+ name: string;
66631
+ description: string;
66632
+ address: string;
66633
+ createdAt: number;
66634
+ category: string;
66635
+ url?: string | null | undefined;
66636
+ }[];
66637
+ cluster?: {
66638
+ name: string;
66639
+ category: string;
66640
+ } | null | undefined;
66641
+ riskReason?: string | null | undefined;
66642
+ exposures?: {
66643
+ value: number;
66644
+ category: string;
66645
+ exposureType: "direct" | "indirect";
66646
+ direction: "both_directions";
66647
+ }[] | null | undefined;
66648
+ triggers?: {
66649
+ message: string;
66650
+ category: string;
66651
+ percentage: number;
66652
+ ruleTriggered?: {
66653
+ risk: string;
66654
+ exposureType: "direct" | "indirect";
66655
+ direction: "both_directions";
66656
+ minThreshold: number;
66657
+ maxThreshold: number;
66658
+ } | null | undefined;
66659
+ }[] | null | undefined;
66660
+ poolMetadata?: {
66661
+ tokens: string[];
66662
+ fees?: number | null | undefined;
66663
+ } | null | undefined;
66664
+ } | {
66665
+ error: {
66666
+ message: string;
66667
+ error: string;
66668
+ data?: string | null | undefined;
66669
+ };
66670
+ };
62954
66671
  }>, z.ZodObject<{
62955
66672
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
62956
66673
  data: z.ZodUnion<[z.ZodObject<{
@@ -65324,6 +69041,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
65324
69041
  risk_level?: number | null | undefined;
65325
69042
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
65326
69043
  };
69044
+ } | {
69045
+ type: "chainalysis";
69046
+ data: {
69047
+ status: "COMPLETE";
69048
+ address: string;
69049
+ risk: "Low" | "Medium" | "High" | "Severe";
69050
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
69051
+ addressIdentifications: {
69052
+ name: string;
69053
+ description: string;
69054
+ address: string;
69055
+ createdAt: number;
69056
+ category: string;
69057
+ url?: string | null | undefined;
69058
+ }[];
69059
+ cluster?: {
69060
+ name: string;
69061
+ category: string;
69062
+ } | null | undefined;
69063
+ riskReason?: string | null | undefined;
69064
+ exposures?: {
69065
+ value: number;
69066
+ category: string;
69067
+ exposureType: "direct" | "indirect";
69068
+ direction: "both_directions";
69069
+ }[] | null | undefined;
69070
+ triggers?: {
69071
+ message: string;
69072
+ category: string;
69073
+ percentage: number;
69074
+ ruleTriggered?: {
69075
+ risk: string;
69076
+ exposureType: "direct" | "indirect";
69077
+ direction: "both_directions";
69078
+ minThreshold: number;
69079
+ maxThreshold: number;
69080
+ } | null | undefined;
69081
+ }[] | null | undefined;
69082
+ poolMetadata?: {
69083
+ tokens: string[];
69084
+ fees?: number | null | undefined;
69085
+ } | null | undefined;
69086
+ } | {
69087
+ error: {
69088
+ message: string;
69089
+ error: string;
69090
+ data?: string | null | undefined;
69091
+ };
69092
+ };
65327
69093
  } | {
65328
69094
  type: "ipQualityScore" | "integratedIpqualityscore";
65329
69095
  data: {
@@ -65937,6 +69703,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
65937
69703
  risk_level?: number | null | undefined;
65938
69704
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
65939
69705
  };
69706
+ } | {
69707
+ type: "chainalysis";
69708
+ data: {
69709
+ status: "COMPLETE";
69710
+ address: string;
69711
+ risk: "Low" | "Medium" | "High" | "Severe";
69712
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
69713
+ addressIdentifications: {
69714
+ name: string;
69715
+ description: string;
69716
+ address: string;
69717
+ createdAt: number;
69718
+ category: string;
69719
+ url?: string | null | undefined;
69720
+ }[];
69721
+ cluster?: {
69722
+ name: string;
69723
+ category: string;
69724
+ } | null | undefined;
69725
+ riskReason?: string | null | undefined;
69726
+ exposures?: {
69727
+ value: number;
69728
+ category: string;
69729
+ exposureType: "direct" | "indirect";
69730
+ direction: "both_directions";
69731
+ }[] | null | undefined;
69732
+ triggers?: {
69733
+ message: string;
69734
+ category: string;
69735
+ percentage: number;
69736
+ ruleTriggered?: {
69737
+ risk: string;
69738
+ exposureType: "direct" | "indirect";
69739
+ direction: "both_directions";
69740
+ minThreshold: number;
69741
+ maxThreshold: number;
69742
+ } | null | undefined;
69743
+ }[] | null | undefined;
69744
+ poolMetadata?: {
69745
+ tokens: string[];
69746
+ fees?: number | null | undefined;
69747
+ } | null | undefined;
69748
+ } | {
69749
+ error: {
69750
+ message: string;
69751
+ error: string;
69752
+ data?: string | null | undefined;
69753
+ };
69754
+ };
65940
69755
  } | {
65941
69756
  type: "ipQualityScore" | "integratedIpqualityscore";
65942
69757
  data: {
@@ -66552,6 +70367,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
66552
70367
  risk_level?: number | null | undefined;
66553
70368
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
66554
70369
  };
70370
+ } | {
70371
+ type: "chainalysis";
70372
+ data: {
70373
+ status: "COMPLETE";
70374
+ address: string;
70375
+ risk: "Low" | "Medium" | "High" | "Severe";
70376
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
70377
+ addressIdentifications: {
70378
+ name: string;
70379
+ description: string;
70380
+ address: string;
70381
+ createdAt: number;
70382
+ category: string;
70383
+ url?: string | null | undefined;
70384
+ }[];
70385
+ cluster?: {
70386
+ name: string;
70387
+ category: string;
70388
+ } | null | undefined;
70389
+ riskReason?: string | null | undefined;
70390
+ exposures?: {
70391
+ value: number;
70392
+ category: string;
70393
+ exposureType: "direct" | "indirect";
70394
+ direction: "both_directions";
70395
+ }[] | null | undefined;
70396
+ triggers?: {
70397
+ message: string;
70398
+ category: string;
70399
+ percentage: number;
70400
+ ruleTriggered?: {
70401
+ risk: string;
70402
+ exposureType: "direct" | "indirect";
70403
+ direction: "both_directions";
70404
+ minThreshold: number;
70405
+ maxThreshold: number;
70406
+ } | null | undefined;
70407
+ }[] | null | undefined;
70408
+ poolMetadata?: {
70409
+ tokens: string[];
70410
+ fees?: number | null | undefined;
70411
+ } | null | undefined;
70412
+ } | {
70413
+ error: {
70414
+ message: string;
70415
+ error: string;
70416
+ data?: string | null | undefined;
70417
+ };
70418
+ };
66555
70419
  } | {
66556
70420
  type: "ipQualityScore" | "integratedIpqualityscore";
66557
70421
  data: {
@@ -67168,6 +71032,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
67168
71032
  risk_level?: number | null | undefined;
67169
71033
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
67170
71034
  };
71035
+ } | {
71036
+ type: "chainalysis";
71037
+ data: {
71038
+ status: "COMPLETE";
71039
+ address: string;
71040
+ risk: "Low" | "Medium" | "High" | "Severe";
71041
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
71042
+ addressIdentifications: {
71043
+ name: string;
71044
+ description: string;
71045
+ address: string;
71046
+ createdAt: number;
71047
+ category: string;
71048
+ url?: string | null | undefined;
71049
+ }[];
71050
+ cluster?: {
71051
+ name: string;
71052
+ category: string;
71053
+ } | null | undefined;
71054
+ riskReason?: string | null | undefined;
71055
+ exposures?: {
71056
+ value: number;
71057
+ category: string;
71058
+ exposureType: "direct" | "indirect";
71059
+ direction: "both_directions";
71060
+ }[] | null | undefined;
71061
+ triggers?: {
71062
+ message: string;
71063
+ category: string;
71064
+ percentage: number;
71065
+ ruleTriggered?: {
71066
+ risk: string;
71067
+ exposureType: "direct" | "indirect";
71068
+ direction: "both_directions";
71069
+ minThreshold: number;
71070
+ maxThreshold: number;
71071
+ } | null | undefined;
71072
+ }[] | null | undefined;
71073
+ poolMetadata?: {
71074
+ tokens: string[];
71075
+ fees?: number | null | undefined;
71076
+ } | null | undefined;
71077
+ } | {
71078
+ error: {
71079
+ message: string;
71080
+ error: string;
71081
+ data?: string | null | undefined;
71082
+ };
71083
+ };
67171
71084
  } | {
67172
71085
  type: "ipQualityScore" | "integratedIpqualityscore";
67173
71086
  data: {
@@ -68315,6 +72228,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
68315
72228
  risk_level?: number | null | undefined;
68316
72229
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
68317
72230
  };
72231
+ } | {
72232
+ type: "chainalysis";
72233
+ data: {
72234
+ status: "COMPLETE";
72235
+ address: string;
72236
+ risk: "Low" | "Medium" | "High" | "Severe";
72237
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
72238
+ addressIdentifications: {
72239
+ name: string;
72240
+ description: string;
72241
+ address: string;
72242
+ createdAt: number;
72243
+ category: string;
72244
+ url?: string | null | undefined;
72245
+ }[];
72246
+ cluster?: {
72247
+ name: string;
72248
+ category: string;
72249
+ } | null | undefined;
72250
+ riskReason?: string | null | undefined;
72251
+ exposures?: {
72252
+ value: number;
72253
+ category: string;
72254
+ exposureType: "direct" | "indirect";
72255
+ direction: "both_directions";
72256
+ }[] | null | undefined;
72257
+ triggers?: {
72258
+ message: string;
72259
+ category: string;
72260
+ percentage: number;
72261
+ ruleTriggered?: {
72262
+ risk: string;
72263
+ exposureType: "direct" | "indirect";
72264
+ direction: "both_directions";
72265
+ minThreshold: number;
72266
+ maxThreshold: number;
72267
+ } | null | undefined;
72268
+ }[] | null | undefined;
72269
+ poolMetadata?: {
72270
+ tokens: string[];
72271
+ fees?: number | null | undefined;
72272
+ } | null | undefined;
72273
+ } | {
72274
+ error: {
72275
+ message: string;
72276
+ error: string;
72277
+ data?: string | null | undefined;
72278
+ };
72279
+ };
68318
72280
  } | {
68319
72281
  type: "ipQualityScore" | "integratedIpqualityscore";
68320
72282
  data: {
@@ -69079,6 +73041,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
69079
73041
  risk_level?: number | null | undefined;
69080
73042
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
69081
73043
  };
73044
+ } | {
73045
+ type: "chainalysis";
73046
+ data: {
73047
+ status: "COMPLETE";
73048
+ address: string;
73049
+ risk: "Low" | "Medium" | "High" | "Severe";
73050
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
73051
+ addressIdentifications: {
73052
+ name: string;
73053
+ description: string;
73054
+ address: string;
73055
+ createdAt: number;
73056
+ category: string;
73057
+ url?: string | null | undefined;
73058
+ }[];
73059
+ cluster?: {
73060
+ name: string;
73061
+ category: string;
73062
+ } | null | undefined;
73063
+ riskReason?: string | null | undefined;
73064
+ exposures?: {
73065
+ value: number;
73066
+ category: string;
73067
+ exposureType: "direct" | "indirect";
73068
+ direction: "both_directions";
73069
+ }[] | null | undefined;
73070
+ triggers?: {
73071
+ message: string;
73072
+ category: string;
73073
+ percentage: number;
73074
+ ruleTriggered?: {
73075
+ risk: string;
73076
+ exposureType: "direct" | "indirect";
73077
+ direction: "both_directions";
73078
+ minThreshold: number;
73079
+ maxThreshold: number;
73080
+ } | null | undefined;
73081
+ }[] | null | undefined;
73082
+ poolMetadata?: {
73083
+ tokens: string[];
73084
+ fees?: number | null | undefined;
73085
+ } | null | undefined;
73086
+ } | {
73087
+ error: {
73088
+ message: string;
73089
+ error: string;
73090
+ data?: string | null | undefined;
73091
+ };
73092
+ };
69082
73093
  } | {
69083
73094
  type: "ipQualityScore" | "integratedIpqualityscore";
69084
73095
  data: {
@@ -69845,6 +73856,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
69845
73856
  risk_level?: number | null | undefined;
69846
73857
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
69847
73858
  };
73859
+ } | {
73860
+ type: "chainalysis";
73861
+ data: {
73862
+ status: "COMPLETE";
73863
+ address: string;
73864
+ risk: "Low" | "Medium" | "High" | "Severe";
73865
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
73866
+ addressIdentifications: {
73867
+ name: string;
73868
+ description: string;
73869
+ address: string;
73870
+ createdAt: number;
73871
+ category: string;
73872
+ url?: string | null | undefined;
73873
+ }[];
73874
+ cluster?: {
73875
+ name: string;
73876
+ category: string;
73877
+ } | null | undefined;
73878
+ riskReason?: string | null | undefined;
73879
+ exposures?: {
73880
+ value: number;
73881
+ category: string;
73882
+ exposureType: "direct" | "indirect";
73883
+ direction: "both_directions";
73884
+ }[] | null | undefined;
73885
+ triggers?: {
73886
+ message: string;
73887
+ category: string;
73888
+ percentage: number;
73889
+ ruleTriggered?: {
73890
+ risk: string;
73891
+ exposureType: "direct" | "indirect";
73892
+ direction: "both_directions";
73893
+ minThreshold: number;
73894
+ maxThreshold: number;
73895
+ } | null | undefined;
73896
+ }[] | null | undefined;
73897
+ poolMetadata?: {
73898
+ tokens: string[];
73899
+ fees?: number | null | undefined;
73900
+ } | null | undefined;
73901
+ } | {
73902
+ error: {
73903
+ message: string;
73904
+ error: string;
73905
+ data?: string | null | undefined;
73906
+ };
73907
+ };
69848
73908
  } | {
69849
73909
  type: "ipQualityScore" | "integratedIpqualityscore";
69850
73910
  data: {
@@ -70611,6 +74671,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
70611
74671
  risk_level?: number | null | undefined;
70612
74672
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
70613
74673
  };
74674
+ } | {
74675
+ type: "chainalysis";
74676
+ data: {
74677
+ status: "COMPLETE";
74678
+ address: string;
74679
+ risk: "Low" | "Medium" | "High" | "Severe";
74680
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
74681
+ addressIdentifications: {
74682
+ name: string;
74683
+ description: string;
74684
+ address: string;
74685
+ createdAt: number;
74686
+ category: string;
74687
+ url?: string | null | undefined;
74688
+ }[];
74689
+ cluster?: {
74690
+ name: string;
74691
+ category: string;
74692
+ } | null | undefined;
74693
+ riskReason?: string | null | undefined;
74694
+ exposures?: {
74695
+ value: number;
74696
+ category: string;
74697
+ exposureType: "direct" | "indirect";
74698
+ direction: "both_directions";
74699
+ }[] | null | undefined;
74700
+ triggers?: {
74701
+ message: string;
74702
+ category: string;
74703
+ percentage: number;
74704
+ ruleTriggered?: {
74705
+ risk: string;
74706
+ exposureType: "direct" | "indirect";
74707
+ direction: "both_directions";
74708
+ minThreshold: number;
74709
+ maxThreshold: number;
74710
+ } | null | undefined;
74711
+ }[] | null | undefined;
74712
+ poolMetadata?: {
74713
+ tokens: string[];
74714
+ fees?: number | null | undefined;
74715
+ } | null | undefined;
74716
+ } | {
74717
+ error: {
74718
+ message: string;
74719
+ error: string;
74720
+ data?: string | null | undefined;
74721
+ };
74722
+ };
70614
74723
  } | {
70615
74724
  type: "ipQualityScore" | "integratedIpqualityscore";
70616
74725
  data: {