@nexeraid/identity-schemas 1.12.29-dev → 1.12.30-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.
@@ -4115,6 +4115,323 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
4115
4115
  risk_level?: number | null | undefined;
4116
4116
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
4117
4117
  };
4118
+ }>, z.ZodObject<{
4119
+ type: z.ZodEnum<["chainalysis"]>;
4120
+ data: z.ZodUnion<[z.ZodObject<{
4121
+ address: z.ZodString;
4122
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
4123
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4124
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4125
+ name: z.ZodString;
4126
+ category: z.ZodString;
4127
+ }, "strip", z.ZodTypeAny, {
4128
+ name: string;
4129
+ category: string;
4130
+ }, {
4131
+ name: string;
4132
+ category: string;
4133
+ }>>>;
4134
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
4135
+ addressIdentifications: z.ZodArray<z.ZodObject<{
4136
+ name: z.ZodString;
4137
+ address: z.ZodString;
4138
+ category: z.ZodString;
4139
+ description: z.ZodString;
4140
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4141
+ createdAt: z.ZodNumber;
4142
+ }, "strip", z.ZodTypeAny, {
4143
+ name: string;
4144
+ description: string;
4145
+ address: string;
4146
+ createdAt: number;
4147
+ category: string;
4148
+ url?: string | null | undefined;
4149
+ }, {
4150
+ name: string;
4151
+ description: string;
4152
+ address: string;
4153
+ createdAt: number;
4154
+ category: string;
4155
+ url?: string | null | undefined;
4156
+ }>, "many">;
4157
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4158
+ category: z.ZodString;
4159
+ value: z.ZodNumber;
4160
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
4161
+ direction: z.ZodLiteral<"both_directions">;
4162
+ }, "strip", z.ZodTypeAny, {
4163
+ value: number;
4164
+ category: string;
4165
+ exposureType: "direct" | "indirect";
4166
+ direction: "both_directions";
4167
+ }, {
4168
+ value: number;
4169
+ category: string;
4170
+ exposureType: "direct" | "indirect";
4171
+ direction: "both_directions";
4172
+ }>, "many">>>;
4173
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4174
+ category: z.ZodString;
4175
+ percentage: z.ZodNumber;
4176
+ message: z.ZodString;
4177
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4178
+ risk: z.ZodString;
4179
+ minThreshold: z.ZodNumber;
4180
+ maxThreshold: z.ZodNumber;
4181
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
4182
+ direction: z.ZodLiteral<"both_directions">;
4183
+ }, "strip", z.ZodTypeAny, {
4184
+ risk: string;
4185
+ exposureType: "direct" | "indirect";
4186
+ direction: "both_directions";
4187
+ minThreshold: number;
4188
+ maxThreshold: number;
4189
+ }, {
4190
+ risk: string;
4191
+ exposureType: "direct" | "indirect";
4192
+ direction: "both_directions";
4193
+ minThreshold: number;
4194
+ maxThreshold: number;
4195
+ }>>>;
4196
+ }, "strip", z.ZodTypeAny, {
4197
+ message: string;
4198
+ category: string;
4199
+ percentage: number;
4200
+ ruleTriggered?: {
4201
+ risk: string;
4202
+ exposureType: "direct" | "indirect";
4203
+ direction: "both_directions";
4204
+ minThreshold: number;
4205
+ maxThreshold: number;
4206
+ } | null | undefined;
4207
+ }, {
4208
+ message: string;
4209
+ category: string;
4210
+ percentage: number;
4211
+ ruleTriggered?: {
4212
+ risk: string;
4213
+ exposureType: "direct" | "indirect";
4214
+ direction: "both_directions";
4215
+ minThreshold: number;
4216
+ maxThreshold: number;
4217
+ } | null | undefined;
4218
+ }>, "many">>>;
4219
+ status: z.ZodLiteral<"COMPLETE">;
4220
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4221
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4222
+ tokens: z.ZodArray<z.ZodString, "many">;
4223
+ }, "strip", z.ZodTypeAny, {
4224
+ tokens: string[];
4225
+ fees?: number | null | undefined;
4226
+ }, {
4227
+ tokens: string[];
4228
+ fees?: number | null | undefined;
4229
+ }>>>;
4230
+ }, "strip", z.ZodTypeAny, {
4231
+ status: "COMPLETE";
4232
+ address: string;
4233
+ risk: "Low" | "Medium" | "High" | "Severe";
4234
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4235
+ addressIdentifications: {
4236
+ name: string;
4237
+ description: string;
4238
+ address: string;
4239
+ createdAt: number;
4240
+ category: string;
4241
+ url?: string | null | undefined;
4242
+ }[];
4243
+ cluster?: {
4244
+ name: string;
4245
+ category: string;
4246
+ } | null | undefined;
4247
+ riskReason?: string | null | undefined;
4248
+ exposures?: {
4249
+ value: number;
4250
+ category: string;
4251
+ exposureType: "direct" | "indirect";
4252
+ direction: "both_directions";
4253
+ }[] | null | undefined;
4254
+ triggers?: {
4255
+ message: string;
4256
+ category: string;
4257
+ percentage: number;
4258
+ ruleTriggered?: {
4259
+ risk: string;
4260
+ exposureType: "direct" | "indirect";
4261
+ direction: "both_directions";
4262
+ minThreshold: number;
4263
+ maxThreshold: number;
4264
+ } | null | undefined;
4265
+ }[] | null | undefined;
4266
+ poolMetadata?: {
4267
+ tokens: string[];
4268
+ fees?: number | null | undefined;
4269
+ } | null | undefined;
4270
+ }, {
4271
+ status: "COMPLETE";
4272
+ address: string;
4273
+ risk: "Low" | "Medium" | "High" | "Severe";
4274
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4275
+ addressIdentifications: {
4276
+ name: string;
4277
+ description: string;
4278
+ address: string;
4279
+ createdAt: number;
4280
+ category: string;
4281
+ url?: string | null | undefined;
4282
+ }[];
4283
+ cluster?: {
4284
+ name: string;
4285
+ category: string;
4286
+ } | null | undefined;
4287
+ riskReason?: string | null | undefined;
4288
+ exposures?: {
4289
+ value: number;
4290
+ category: string;
4291
+ exposureType: "direct" | "indirect";
4292
+ direction: "both_directions";
4293
+ }[] | null | undefined;
4294
+ triggers?: {
4295
+ message: string;
4296
+ category: string;
4297
+ percentage: number;
4298
+ ruleTriggered?: {
4299
+ risk: string;
4300
+ exposureType: "direct" | "indirect";
4301
+ direction: "both_directions";
4302
+ minThreshold: number;
4303
+ maxThreshold: number;
4304
+ } | null | undefined;
4305
+ }[] | null | undefined;
4306
+ poolMetadata?: {
4307
+ tokens: string[];
4308
+ fees?: number | null | undefined;
4309
+ } | null | undefined;
4310
+ }>, z.ZodObject<{
4311
+ error: z.ZodObject<{
4312
+ error: z.ZodString;
4313
+ message: z.ZodString;
4314
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4315
+ }, "strip", z.ZodTypeAny, {
4316
+ message: string;
4317
+ error: string;
4318
+ data?: string | null | undefined;
4319
+ }, {
4320
+ message: string;
4321
+ error: string;
4322
+ data?: string | null | undefined;
4323
+ }>;
4324
+ }, "strip", z.ZodTypeAny, {
4325
+ error: {
4326
+ message: string;
4327
+ error: string;
4328
+ data?: string | null | undefined;
4329
+ };
4330
+ }, {
4331
+ error: {
4332
+ message: string;
4333
+ error: string;
4334
+ data?: string | null | undefined;
4335
+ };
4336
+ }>]>;
4337
+ }, "strip", z.ZodTypeAny, {
4338
+ type: "chainalysis";
4339
+ data: {
4340
+ status: "COMPLETE";
4341
+ address: string;
4342
+ risk: "Low" | "Medium" | "High" | "Severe";
4343
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4344
+ addressIdentifications: {
4345
+ name: string;
4346
+ description: string;
4347
+ address: string;
4348
+ createdAt: number;
4349
+ category: string;
4350
+ url?: string | null | undefined;
4351
+ }[];
4352
+ cluster?: {
4353
+ name: string;
4354
+ category: string;
4355
+ } | null | undefined;
4356
+ riskReason?: string | null | undefined;
4357
+ exposures?: {
4358
+ value: number;
4359
+ category: string;
4360
+ exposureType: "direct" | "indirect";
4361
+ direction: "both_directions";
4362
+ }[] | null | undefined;
4363
+ triggers?: {
4364
+ message: string;
4365
+ category: string;
4366
+ percentage: number;
4367
+ ruleTriggered?: {
4368
+ risk: string;
4369
+ exposureType: "direct" | "indirect";
4370
+ direction: "both_directions";
4371
+ minThreshold: number;
4372
+ maxThreshold: number;
4373
+ } | null | undefined;
4374
+ }[] | null | undefined;
4375
+ poolMetadata?: {
4376
+ tokens: string[];
4377
+ fees?: number | null | undefined;
4378
+ } | null | undefined;
4379
+ } | {
4380
+ error: {
4381
+ message: string;
4382
+ error: string;
4383
+ data?: string | null | undefined;
4384
+ };
4385
+ };
4386
+ }, {
4387
+ type: "chainalysis";
4388
+ data: {
4389
+ status: "COMPLETE";
4390
+ address: string;
4391
+ risk: "Low" | "Medium" | "High" | "Severe";
4392
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
4393
+ addressIdentifications: {
4394
+ name: string;
4395
+ description: string;
4396
+ address: string;
4397
+ createdAt: number;
4398
+ category: string;
4399
+ url?: string | null | undefined;
4400
+ }[];
4401
+ cluster?: {
4402
+ name: string;
4403
+ category: string;
4404
+ } | null | undefined;
4405
+ riskReason?: string | null | undefined;
4406
+ exposures?: {
4407
+ value: number;
4408
+ category: string;
4409
+ exposureType: "direct" | "indirect";
4410
+ direction: "both_directions";
4411
+ }[] | null | undefined;
4412
+ triggers?: {
4413
+ message: string;
4414
+ category: string;
4415
+ percentage: number;
4416
+ ruleTriggered?: {
4417
+ risk: string;
4418
+ exposureType: "direct" | "indirect";
4419
+ direction: "both_directions";
4420
+ minThreshold: number;
4421
+ maxThreshold: number;
4422
+ } | null | undefined;
4423
+ }[] | null | undefined;
4424
+ poolMetadata?: {
4425
+ tokens: string[];
4426
+ fees?: number | null | undefined;
4427
+ } | null | undefined;
4428
+ } | {
4429
+ error: {
4430
+ message: string;
4431
+ error: string;
4432
+ data?: string | null | undefined;
4433
+ };
4434
+ };
4118
4435
  }>, z.ZodObject<{
4119
4436
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
4120
4437
  data: z.ZodUnion<[z.ZodObject<{
@@ -6488,6 +6805,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
6488
6805
  risk_level?: number | null | undefined;
6489
6806
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
6490
6807
  };
6808
+ } | {
6809
+ type: "chainalysis";
6810
+ data: {
6811
+ status: "COMPLETE";
6812
+ address: string;
6813
+ risk: "Low" | "Medium" | "High" | "Severe";
6814
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
6815
+ addressIdentifications: {
6816
+ name: string;
6817
+ description: string;
6818
+ address: string;
6819
+ createdAt: number;
6820
+ category: string;
6821
+ url?: string | null | undefined;
6822
+ }[];
6823
+ cluster?: {
6824
+ name: string;
6825
+ category: string;
6826
+ } | null | undefined;
6827
+ riskReason?: string | null | undefined;
6828
+ exposures?: {
6829
+ value: number;
6830
+ category: string;
6831
+ exposureType: "direct" | "indirect";
6832
+ direction: "both_directions";
6833
+ }[] | null | undefined;
6834
+ triggers?: {
6835
+ message: string;
6836
+ category: string;
6837
+ percentage: number;
6838
+ ruleTriggered?: {
6839
+ risk: string;
6840
+ exposureType: "direct" | "indirect";
6841
+ direction: "both_directions";
6842
+ minThreshold: number;
6843
+ maxThreshold: number;
6844
+ } | null | undefined;
6845
+ }[] | null | undefined;
6846
+ poolMetadata?: {
6847
+ tokens: string[];
6848
+ fees?: number | null | undefined;
6849
+ } | null | undefined;
6850
+ } | {
6851
+ error: {
6852
+ message: string;
6853
+ error: string;
6854
+ data?: string | null | undefined;
6855
+ };
6856
+ };
6491
6857
  } | {
6492
6858
  type: "ipQualityScore" | "integratedIpqualityscore";
6493
6859
  data: {
@@ -7101,6 +7467,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
7101
7467
  risk_level?: number | null | undefined;
7102
7468
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
7103
7469
  };
7470
+ } | {
7471
+ type: "chainalysis";
7472
+ data: {
7473
+ status: "COMPLETE";
7474
+ address: string;
7475
+ risk: "Low" | "Medium" | "High" | "Severe";
7476
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
7477
+ addressIdentifications: {
7478
+ name: string;
7479
+ description: string;
7480
+ address: string;
7481
+ createdAt: number;
7482
+ category: string;
7483
+ url?: string | null | undefined;
7484
+ }[];
7485
+ cluster?: {
7486
+ name: string;
7487
+ category: string;
7488
+ } | null | undefined;
7489
+ riskReason?: string | null | undefined;
7490
+ exposures?: {
7491
+ value: number;
7492
+ category: string;
7493
+ exposureType: "direct" | "indirect";
7494
+ direction: "both_directions";
7495
+ }[] | null | undefined;
7496
+ triggers?: {
7497
+ message: string;
7498
+ category: string;
7499
+ percentage: number;
7500
+ ruleTriggered?: {
7501
+ risk: string;
7502
+ exposureType: "direct" | "indirect";
7503
+ direction: "both_directions";
7504
+ minThreshold: number;
7505
+ maxThreshold: number;
7506
+ } | null | undefined;
7507
+ }[] | null | undefined;
7508
+ poolMetadata?: {
7509
+ tokens: string[];
7510
+ fees?: number | null | undefined;
7511
+ } | null | undefined;
7512
+ } | {
7513
+ error: {
7514
+ message: string;
7515
+ error: string;
7516
+ data?: string | null | undefined;
7517
+ };
7518
+ };
7104
7519
  } | {
7105
7520
  type: "ipQualityScore" | "integratedIpqualityscore";
7106
7521
  data: {
@@ -7716,6 +8131,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
7716
8131
  risk_level?: number | null | undefined;
7717
8132
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
7718
8133
  };
8134
+ } | {
8135
+ type: "chainalysis";
8136
+ data: {
8137
+ status: "COMPLETE";
8138
+ address: string;
8139
+ risk: "Low" | "Medium" | "High" | "Severe";
8140
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
8141
+ addressIdentifications: {
8142
+ name: string;
8143
+ description: string;
8144
+ address: string;
8145
+ createdAt: number;
8146
+ category: string;
8147
+ url?: string | null | undefined;
8148
+ }[];
8149
+ cluster?: {
8150
+ name: string;
8151
+ category: string;
8152
+ } | null | undefined;
8153
+ riskReason?: string | null | undefined;
8154
+ exposures?: {
8155
+ value: number;
8156
+ category: string;
8157
+ exposureType: "direct" | "indirect";
8158
+ direction: "both_directions";
8159
+ }[] | null | undefined;
8160
+ triggers?: {
8161
+ message: string;
8162
+ category: string;
8163
+ percentage: number;
8164
+ ruleTriggered?: {
8165
+ risk: string;
8166
+ exposureType: "direct" | "indirect";
8167
+ direction: "both_directions";
8168
+ minThreshold: number;
8169
+ maxThreshold: number;
8170
+ } | null | undefined;
8171
+ }[] | null | undefined;
8172
+ poolMetadata?: {
8173
+ tokens: string[];
8174
+ fees?: number | null | undefined;
8175
+ } | null | undefined;
8176
+ } | {
8177
+ error: {
8178
+ message: string;
8179
+ error: string;
8180
+ data?: string | null | undefined;
8181
+ };
8182
+ };
7719
8183
  } | {
7720
8184
  type: "ipQualityScore" | "integratedIpqualityscore";
7721
8185
  data: {
@@ -8332,6 +8796,55 @@ export declare const SendVerificationFlowPayload: z.ZodObject<{
8332
8796
  risk_level?: number | null | undefined;
8333
8797
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
8334
8798
  };
8799
+ } | {
8800
+ type: "chainalysis";
8801
+ data: {
8802
+ status: "COMPLETE";
8803
+ address: string;
8804
+ risk: "Low" | "Medium" | "High" | "Severe";
8805
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
8806
+ addressIdentifications: {
8807
+ name: string;
8808
+ description: string;
8809
+ address: string;
8810
+ createdAt: number;
8811
+ category: string;
8812
+ url?: string | null | undefined;
8813
+ }[];
8814
+ cluster?: {
8815
+ name: string;
8816
+ category: string;
8817
+ } | null | undefined;
8818
+ riskReason?: string | null | undefined;
8819
+ exposures?: {
8820
+ value: number;
8821
+ category: string;
8822
+ exposureType: "direct" | "indirect";
8823
+ direction: "both_directions";
8824
+ }[] | null | undefined;
8825
+ triggers?: {
8826
+ message: string;
8827
+ category: string;
8828
+ percentage: number;
8829
+ ruleTriggered?: {
8830
+ risk: string;
8831
+ exposureType: "direct" | "indirect";
8832
+ direction: "both_directions";
8833
+ minThreshold: number;
8834
+ maxThreshold: number;
8835
+ } | null | undefined;
8836
+ }[] | null | undefined;
8837
+ poolMetadata?: {
8838
+ tokens: string[];
8839
+ fees?: number | null | undefined;
8840
+ } | null | undefined;
8841
+ } | {
8842
+ error: {
8843
+ message: string;
8844
+ error: string;
8845
+ data?: string | null | undefined;
8846
+ };
8847
+ };
8335
8848
  } | {
8336
8849
  type: "ipQualityScore" | "integratedIpqualityscore";
8337
8850
  data: {
@@ -13033,6 +13546,323 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
13033
13546
  risk_level?: number | null | undefined;
13034
13547
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
13035
13548
  };
13549
+ }>, z.ZodObject<{
13550
+ type: z.ZodEnum<["chainalysis"]>;
13551
+ data: z.ZodUnion<[z.ZodObject<{
13552
+ address: z.ZodString;
13553
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
13554
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13555
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13556
+ name: z.ZodString;
13557
+ category: z.ZodString;
13558
+ }, "strip", z.ZodTypeAny, {
13559
+ name: string;
13560
+ category: string;
13561
+ }, {
13562
+ name: string;
13563
+ category: string;
13564
+ }>>>;
13565
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
13566
+ addressIdentifications: z.ZodArray<z.ZodObject<{
13567
+ name: z.ZodString;
13568
+ address: z.ZodString;
13569
+ category: z.ZodString;
13570
+ description: z.ZodString;
13571
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13572
+ createdAt: z.ZodNumber;
13573
+ }, "strip", z.ZodTypeAny, {
13574
+ name: string;
13575
+ description: string;
13576
+ address: string;
13577
+ createdAt: number;
13578
+ category: string;
13579
+ url?: string | null | undefined;
13580
+ }, {
13581
+ name: string;
13582
+ description: string;
13583
+ address: string;
13584
+ createdAt: number;
13585
+ category: string;
13586
+ url?: string | null | undefined;
13587
+ }>, "many">;
13588
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13589
+ category: z.ZodString;
13590
+ value: z.ZodNumber;
13591
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
13592
+ direction: z.ZodLiteral<"both_directions">;
13593
+ }, "strip", z.ZodTypeAny, {
13594
+ value: number;
13595
+ category: string;
13596
+ exposureType: "direct" | "indirect";
13597
+ direction: "both_directions";
13598
+ }, {
13599
+ value: number;
13600
+ category: string;
13601
+ exposureType: "direct" | "indirect";
13602
+ direction: "both_directions";
13603
+ }>, "many">>>;
13604
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13605
+ category: z.ZodString;
13606
+ percentage: z.ZodNumber;
13607
+ message: z.ZodString;
13608
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13609
+ risk: z.ZodString;
13610
+ minThreshold: z.ZodNumber;
13611
+ maxThreshold: z.ZodNumber;
13612
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
13613
+ direction: z.ZodLiteral<"both_directions">;
13614
+ }, "strip", z.ZodTypeAny, {
13615
+ risk: string;
13616
+ exposureType: "direct" | "indirect";
13617
+ direction: "both_directions";
13618
+ minThreshold: number;
13619
+ maxThreshold: number;
13620
+ }, {
13621
+ risk: string;
13622
+ exposureType: "direct" | "indirect";
13623
+ direction: "both_directions";
13624
+ minThreshold: number;
13625
+ maxThreshold: number;
13626
+ }>>>;
13627
+ }, "strip", z.ZodTypeAny, {
13628
+ message: string;
13629
+ category: string;
13630
+ percentage: number;
13631
+ ruleTriggered?: {
13632
+ risk: string;
13633
+ exposureType: "direct" | "indirect";
13634
+ direction: "both_directions";
13635
+ minThreshold: number;
13636
+ maxThreshold: number;
13637
+ } | null | undefined;
13638
+ }, {
13639
+ message: string;
13640
+ category: string;
13641
+ percentage: number;
13642
+ ruleTriggered?: {
13643
+ risk: string;
13644
+ exposureType: "direct" | "indirect";
13645
+ direction: "both_directions";
13646
+ minThreshold: number;
13647
+ maxThreshold: number;
13648
+ } | null | undefined;
13649
+ }>, "many">>>;
13650
+ status: z.ZodLiteral<"COMPLETE">;
13651
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13652
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13653
+ tokens: z.ZodArray<z.ZodString, "many">;
13654
+ }, "strip", z.ZodTypeAny, {
13655
+ tokens: string[];
13656
+ fees?: number | null | undefined;
13657
+ }, {
13658
+ tokens: string[];
13659
+ fees?: number | null | undefined;
13660
+ }>>>;
13661
+ }, "strip", z.ZodTypeAny, {
13662
+ status: "COMPLETE";
13663
+ address: string;
13664
+ risk: "Low" | "Medium" | "High" | "Severe";
13665
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13666
+ addressIdentifications: {
13667
+ name: string;
13668
+ description: string;
13669
+ address: string;
13670
+ createdAt: number;
13671
+ category: string;
13672
+ url?: string | null | undefined;
13673
+ }[];
13674
+ cluster?: {
13675
+ name: string;
13676
+ category: string;
13677
+ } | null | undefined;
13678
+ riskReason?: string | null | undefined;
13679
+ exposures?: {
13680
+ value: number;
13681
+ category: string;
13682
+ exposureType: "direct" | "indirect";
13683
+ direction: "both_directions";
13684
+ }[] | null | undefined;
13685
+ triggers?: {
13686
+ message: string;
13687
+ category: string;
13688
+ percentage: number;
13689
+ ruleTriggered?: {
13690
+ risk: string;
13691
+ exposureType: "direct" | "indirect";
13692
+ direction: "both_directions";
13693
+ minThreshold: number;
13694
+ maxThreshold: number;
13695
+ } | null | undefined;
13696
+ }[] | null | undefined;
13697
+ poolMetadata?: {
13698
+ tokens: string[];
13699
+ fees?: number | null | undefined;
13700
+ } | null | undefined;
13701
+ }, {
13702
+ status: "COMPLETE";
13703
+ address: string;
13704
+ risk: "Low" | "Medium" | "High" | "Severe";
13705
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13706
+ addressIdentifications: {
13707
+ name: string;
13708
+ description: string;
13709
+ address: string;
13710
+ createdAt: number;
13711
+ category: string;
13712
+ url?: string | null | undefined;
13713
+ }[];
13714
+ cluster?: {
13715
+ name: string;
13716
+ category: string;
13717
+ } | null | undefined;
13718
+ riskReason?: string | null | undefined;
13719
+ exposures?: {
13720
+ value: number;
13721
+ category: string;
13722
+ exposureType: "direct" | "indirect";
13723
+ direction: "both_directions";
13724
+ }[] | null | undefined;
13725
+ triggers?: {
13726
+ message: string;
13727
+ category: string;
13728
+ percentage: number;
13729
+ ruleTriggered?: {
13730
+ risk: string;
13731
+ exposureType: "direct" | "indirect";
13732
+ direction: "both_directions";
13733
+ minThreshold: number;
13734
+ maxThreshold: number;
13735
+ } | null | undefined;
13736
+ }[] | null | undefined;
13737
+ poolMetadata?: {
13738
+ tokens: string[];
13739
+ fees?: number | null | undefined;
13740
+ } | null | undefined;
13741
+ }>, z.ZodObject<{
13742
+ error: z.ZodObject<{
13743
+ error: z.ZodString;
13744
+ message: z.ZodString;
13745
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13746
+ }, "strip", z.ZodTypeAny, {
13747
+ message: string;
13748
+ error: string;
13749
+ data?: string | null | undefined;
13750
+ }, {
13751
+ message: string;
13752
+ error: string;
13753
+ data?: string | null | undefined;
13754
+ }>;
13755
+ }, "strip", z.ZodTypeAny, {
13756
+ error: {
13757
+ message: string;
13758
+ error: string;
13759
+ data?: string | null | undefined;
13760
+ };
13761
+ }, {
13762
+ error: {
13763
+ message: string;
13764
+ error: string;
13765
+ data?: string | null | undefined;
13766
+ };
13767
+ }>]>;
13768
+ }, "strip", z.ZodTypeAny, {
13769
+ type: "chainalysis";
13770
+ data: {
13771
+ status: "COMPLETE";
13772
+ address: string;
13773
+ risk: "Low" | "Medium" | "High" | "Severe";
13774
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13775
+ addressIdentifications: {
13776
+ name: string;
13777
+ description: string;
13778
+ address: string;
13779
+ createdAt: number;
13780
+ category: string;
13781
+ url?: string | null | undefined;
13782
+ }[];
13783
+ cluster?: {
13784
+ name: string;
13785
+ category: string;
13786
+ } | null | undefined;
13787
+ riskReason?: string | null | undefined;
13788
+ exposures?: {
13789
+ value: number;
13790
+ category: string;
13791
+ exposureType: "direct" | "indirect";
13792
+ direction: "both_directions";
13793
+ }[] | null | undefined;
13794
+ triggers?: {
13795
+ message: string;
13796
+ category: string;
13797
+ percentage: number;
13798
+ ruleTriggered?: {
13799
+ risk: string;
13800
+ exposureType: "direct" | "indirect";
13801
+ direction: "both_directions";
13802
+ minThreshold: number;
13803
+ maxThreshold: number;
13804
+ } | null | undefined;
13805
+ }[] | null | undefined;
13806
+ poolMetadata?: {
13807
+ tokens: string[];
13808
+ fees?: number | null | undefined;
13809
+ } | null | undefined;
13810
+ } | {
13811
+ error: {
13812
+ message: string;
13813
+ error: string;
13814
+ data?: string | null | undefined;
13815
+ };
13816
+ };
13817
+ }, {
13818
+ type: "chainalysis";
13819
+ data: {
13820
+ status: "COMPLETE";
13821
+ address: string;
13822
+ risk: "Low" | "Medium" | "High" | "Severe";
13823
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
13824
+ addressIdentifications: {
13825
+ name: string;
13826
+ description: string;
13827
+ address: string;
13828
+ createdAt: number;
13829
+ category: string;
13830
+ url?: string | null | undefined;
13831
+ }[];
13832
+ cluster?: {
13833
+ name: string;
13834
+ category: string;
13835
+ } | null | undefined;
13836
+ riskReason?: string | null | undefined;
13837
+ exposures?: {
13838
+ value: number;
13839
+ category: string;
13840
+ exposureType: "direct" | "indirect";
13841
+ direction: "both_directions";
13842
+ }[] | null | undefined;
13843
+ triggers?: {
13844
+ message: string;
13845
+ category: string;
13846
+ percentage: number;
13847
+ ruleTriggered?: {
13848
+ risk: string;
13849
+ exposureType: "direct" | "indirect";
13850
+ direction: "both_directions";
13851
+ minThreshold: number;
13852
+ maxThreshold: number;
13853
+ } | null | undefined;
13854
+ }[] | null | undefined;
13855
+ poolMetadata?: {
13856
+ tokens: string[];
13857
+ fees?: number | null | undefined;
13858
+ } | null | undefined;
13859
+ } | {
13860
+ error: {
13861
+ message: string;
13862
+ error: string;
13863
+ data?: string | null | undefined;
13864
+ };
13865
+ };
13036
13866
  }>, z.ZodObject<{
13037
13867
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
13038
13868
  data: z.ZodUnion<[z.ZodObject<{
@@ -15406,6 +16236,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
15406
16236
  risk_level?: number | null | undefined;
15407
16237
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
15408
16238
  };
16239
+ } | {
16240
+ type: "chainalysis";
16241
+ data: {
16242
+ status: "COMPLETE";
16243
+ address: string;
16244
+ risk: "Low" | "Medium" | "High" | "Severe";
16245
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
16246
+ addressIdentifications: {
16247
+ name: string;
16248
+ description: string;
16249
+ address: string;
16250
+ createdAt: number;
16251
+ category: string;
16252
+ url?: string | null | undefined;
16253
+ }[];
16254
+ cluster?: {
16255
+ name: string;
16256
+ category: string;
16257
+ } | null | undefined;
16258
+ riskReason?: string | null | undefined;
16259
+ exposures?: {
16260
+ value: number;
16261
+ category: string;
16262
+ exposureType: "direct" | "indirect";
16263
+ direction: "both_directions";
16264
+ }[] | null | undefined;
16265
+ triggers?: {
16266
+ message: string;
16267
+ category: string;
16268
+ percentage: number;
16269
+ ruleTriggered?: {
16270
+ risk: string;
16271
+ exposureType: "direct" | "indirect";
16272
+ direction: "both_directions";
16273
+ minThreshold: number;
16274
+ maxThreshold: number;
16275
+ } | null | undefined;
16276
+ }[] | null | undefined;
16277
+ poolMetadata?: {
16278
+ tokens: string[];
16279
+ fees?: number | null | undefined;
16280
+ } | null | undefined;
16281
+ } | {
16282
+ error: {
16283
+ message: string;
16284
+ error: string;
16285
+ data?: string | null | undefined;
16286
+ };
16287
+ };
15409
16288
  } | {
15410
16289
  type: "ipQualityScore" | "integratedIpqualityscore";
15411
16290
  data: {
@@ -16019,6 +16898,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
16019
16898
  risk_level?: number | null | undefined;
16020
16899
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
16021
16900
  };
16901
+ } | {
16902
+ type: "chainalysis";
16903
+ data: {
16904
+ status: "COMPLETE";
16905
+ address: string;
16906
+ risk: "Low" | "Medium" | "High" | "Severe";
16907
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
16908
+ addressIdentifications: {
16909
+ name: string;
16910
+ description: string;
16911
+ address: string;
16912
+ createdAt: number;
16913
+ category: string;
16914
+ url?: string | null | undefined;
16915
+ }[];
16916
+ cluster?: {
16917
+ name: string;
16918
+ category: string;
16919
+ } | null | undefined;
16920
+ riskReason?: string | null | undefined;
16921
+ exposures?: {
16922
+ value: number;
16923
+ category: string;
16924
+ exposureType: "direct" | "indirect";
16925
+ direction: "both_directions";
16926
+ }[] | null | undefined;
16927
+ triggers?: {
16928
+ message: string;
16929
+ category: string;
16930
+ percentage: number;
16931
+ ruleTriggered?: {
16932
+ risk: string;
16933
+ exposureType: "direct" | "indirect";
16934
+ direction: "both_directions";
16935
+ minThreshold: number;
16936
+ maxThreshold: number;
16937
+ } | null | undefined;
16938
+ }[] | null | undefined;
16939
+ poolMetadata?: {
16940
+ tokens: string[];
16941
+ fees?: number | null | undefined;
16942
+ } | null | undefined;
16943
+ } | {
16944
+ error: {
16945
+ message: string;
16946
+ error: string;
16947
+ data?: string | null | undefined;
16948
+ };
16949
+ };
16022
16950
  } | {
16023
16951
  type: "ipQualityScore" | "integratedIpqualityscore";
16024
16952
  data: {
@@ -16634,6 +17562,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
16634
17562
  risk_level?: number | null | undefined;
16635
17563
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
16636
17564
  };
17565
+ } | {
17566
+ type: "chainalysis";
17567
+ data: {
17568
+ status: "COMPLETE";
17569
+ address: string;
17570
+ risk: "Low" | "Medium" | "High" | "Severe";
17571
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
17572
+ addressIdentifications: {
17573
+ name: string;
17574
+ description: string;
17575
+ address: string;
17576
+ createdAt: number;
17577
+ category: string;
17578
+ url?: string | null | undefined;
17579
+ }[];
17580
+ cluster?: {
17581
+ name: string;
17582
+ category: string;
17583
+ } | null | undefined;
17584
+ riskReason?: string | null | undefined;
17585
+ exposures?: {
17586
+ value: number;
17587
+ category: string;
17588
+ exposureType: "direct" | "indirect";
17589
+ direction: "both_directions";
17590
+ }[] | null | undefined;
17591
+ triggers?: {
17592
+ message: string;
17593
+ category: string;
17594
+ percentage: number;
17595
+ ruleTriggered?: {
17596
+ risk: string;
17597
+ exposureType: "direct" | "indirect";
17598
+ direction: "both_directions";
17599
+ minThreshold: number;
17600
+ maxThreshold: number;
17601
+ } | null | undefined;
17602
+ }[] | null | undefined;
17603
+ poolMetadata?: {
17604
+ tokens: string[];
17605
+ fees?: number | null | undefined;
17606
+ } | null | undefined;
17607
+ } | {
17608
+ error: {
17609
+ message: string;
17610
+ error: string;
17611
+ data?: string | null | undefined;
17612
+ };
17613
+ };
16637
17614
  } | {
16638
17615
  type: "ipQualityScore" | "integratedIpqualityscore";
16639
17616
  data: {
@@ -17250,6 +18227,55 @@ export declare const WebhookVerificationEventPayload: z.ZodObject<{
17250
18227
  risk_level?: number | null | undefined;
17251
18228
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
17252
18229
  };
18230
+ } | {
18231
+ type: "chainalysis";
18232
+ data: {
18233
+ status: "COMPLETE";
18234
+ address: string;
18235
+ risk: "Low" | "Medium" | "High" | "Severe";
18236
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
18237
+ addressIdentifications: {
18238
+ name: string;
18239
+ description: string;
18240
+ address: string;
18241
+ createdAt: number;
18242
+ category: string;
18243
+ url?: string | null | undefined;
18244
+ }[];
18245
+ cluster?: {
18246
+ name: string;
18247
+ category: string;
18248
+ } | null | undefined;
18249
+ riskReason?: string | null | undefined;
18250
+ exposures?: {
18251
+ value: number;
18252
+ category: string;
18253
+ exposureType: "direct" | "indirect";
18254
+ direction: "both_directions";
18255
+ }[] | null | undefined;
18256
+ triggers?: {
18257
+ message: string;
18258
+ category: string;
18259
+ percentage: number;
18260
+ ruleTriggered?: {
18261
+ risk: string;
18262
+ exposureType: "direct" | "indirect";
18263
+ direction: "both_directions";
18264
+ minThreshold: number;
18265
+ maxThreshold: number;
18266
+ } | null | undefined;
18267
+ }[] | null | undefined;
18268
+ poolMetadata?: {
18269
+ tokens: string[];
18270
+ fees?: number | null | undefined;
18271
+ } | null | undefined;
18272
+ } | {
18273
+ error: {
18274
+ message: string;
18275
+ error: string;
18276
+ data?: string | null | undefined;
18277
+ };
18278
+ };
17253
18279
  } | {
17254
18280
  type: "ipQualityScore" | "integratedIpqualityscore";
17255
18281
  data: {
@@ -21948,6 +22974,323 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
21948
22974
  risk_level?: number | null | undefined;
21949
22975
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
21950
22976
  };
22977
+ }>, z.ZodObject<{
22978
+ type: z.ZodEnum<["chainalysis"]>;
22979
+ data: z.ZodUnion<[z.ZodObject<{
22980
+ address: z.ZodString;
22981
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
22982
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22983
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22984
+ name: z.ZodString;
22985
+ category: z.ZodString;
22986
+ }, "strip", z.ZodTypeAny, {
22987
+ name: string;
22988
+ category: string;
22989
+ }, {
22990
+ name: string;
22991
+ category: string;
22992
+ }>>>;
22993
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
22994
+ addressIdentifications: z.ZodArray<z.ZodObject<{
22995
+ name: z.ZodString;
22996
+ address: z.ZodString;
22997
+ category: z.ZodString;
22998
+ description: z.ZodString;
22999
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23000
+ createdAt: z.ZodNumber;
23001
+ }, "strip", z.ZodTypeAny, {
23002
+ name: string;
23003
+ description: string;
23004
+ address: string;
23005
+ createdAt: number;
23006
+ category: string;
23007
+ url?: string | null | undefined;
23008
+ }, {
23009
+ name: string;
23010
+ description: string;
23011
+ address: string;
23012
+ createdAt: number;
23013
+ category: string;
23014
+ url?: string | null | undefined;
23015
+ }>, "many">;
23016
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23017
+ category: z.ZodString;
23018
+ value: z.ZodNumber;
23019
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
23020
+ direction: z.ZodLiteral<"both_directions">;
23021
+ }, "strip", z.ZodTypeAny, {
23022
+ value: number;
23023
+ category: string;
23024
+ exposureType: "direct" | "indirect";
23025
+ direction: "both_directions";
23026
+ }, {
23027
+ value: number;
23028
+ category: string;
23029
+ exposureType: "direct" | "indirect";
23030
+ direction: "both_directions";
23031
+ }>, "many">>>;
23032
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23033
+ category: z.ZodString;
23034
+ percentage: z.ZodNumber;
23035
+ message: z.ZodString;
23036
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23037
+ risk: z.ZodString;
23038
+ minThreshold: z.ZodNumber;
23039
+ maxThreshold: z.ZodNumber;
23040
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
23041
+ direction: z.ZodLiteral<"both_directions">;
23042
+ }, "strip", z.ZodTypeAny, {
23043
+ risk: string;
23044
+ exposureType: "direct" | "indirect";
23045
+ direction: "both_directions";
23046
+ minThreshold: number;
23047
+ maxThreshold: number;
23048
+ }, {
23049
+ risk: string;
23050
+ exposureType: "direct" | "indirect";
23051
+ direction: "both_directions";
23052
+ minThreshold: number;
23053
+ maxThreshold: number;
23054
+ }>>>;
23055
+ }, "strip", z.ZodTypeAny, {
23056
+ message: string;
23057
+ category: string;
23058
+ percentage: number;
23059
+ ruleTriggered?: {
23060
+ risk: string;
23061
+ exposureType: "direct" | "indirect";
23062
+ direction: "both_directions";
23063
+ minThreshold: number;
23064
+ maxThreshold: number;
23065
+ } | null | undefined;
23066
+ }, {
23067
+ message: string;
23068
+ category: string;
23069
+ percentage: number;
23070
+ ruleTriggered?: {
23071
+ risk: string;
23072
+ exposureType: "direct" | "indirect";
23073
+ direction: "both_directions";
23074
+ minThreshold: number;
23075
+ maxThreshold: number;
23076
+ } | null | undefined;
23077
+ }>, "many">>>;
23078
+ status: z.ZodLiteral<"COMPLETE">;
23079
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23080
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23081
+ tokens: z.ZodArray<z.ZodString, "many">;
23082
+ }, "strip", z.ZodTypeAny, {
23083
+ tokens: string[];
23084
+ fees?: number | null | undefined;
23085
+ }, {
23086
+ tokens: string[];
23087
+ fees?: number | null | undefined;
23088
+ }>>>;
23089
+ }, "strip", z.ZodTypeAny, {
23090
+ status: "COMPLETE";
23091
+ address: string;
23092
+ risk: "Low" | "Medium" | "High" | "Severe";
23093
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23094
+ addressIdentifications: {
23095
+ name: string;
23096
+ description: string;
23097
+ address: string;
23098
+ createdAt: number;
23099
+ category: string;
23100
+ url?: string | null | undefined;
23101
+ }[];
23102
+ cluster?: {
23103
+ name: string;
23104
+ category: string;
23105
+ } | null | undefined;
23106
+ riskReason?: string | null | undefined;
23107
+ exposures?: {
23108
+ value: number;
23109
+ category: string;
23110
+ exposureType: "direct" | "indirect";
23111
+ direction: "both_directions";
23112
+ }[] | null | undefined;
23113
+ triggers?: {
23114
+ message: string;
23115
+ category: string;
23116
+ percentage: number;
23117
+ ruleTriggered?: {
23118
+ risk: string;
23119
+ exposureType: "direct" | "indirect";
23120
+ direction: "both_directions";
23121
+ minThreshold: number;
23122
+ maxThreshold: number;
23123
+ } | null | undefined;
23124
+ }[] | null | undefined;
23125
+ poolMetadata?: {
23126
+ tokens: string[];
23127
+ fees?: number | null | undefined;
23128
+ } | null | undefined;
23129
+ }, {
23130
+ status: "COMPLETE";
23131
+ address: string;
23132
+ risk: "Low" | "Medium" | "High" | "Severe";
23133
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23134
+ addressIdentifications: {
23135
+ name: string;
23136
+ description: string;
23137
+ address: string;
23138
+ createdAt: number;
23139
+ category: string;
23140
+ url?: string | null | undefined;
23141
+ }[];
23142
+ cluster?: {
23143
+ name: string;
23144
+ category: string;
23145
+ } | null | undefined;
23146
+ riskReason?: string | null | undefined;
23147
+ exposures?: {
23148
+ value: number;
23149
+ category: string;
23150
+ exposureType: "direct" | "indirect";
23151
+ direction: "both_directions";
23152
+ }[] | null | undefined;
23153
+ triggers?: {
23154
+ message: string;
23155
+ category: string;
23156
+ percentage: number;
23157
+ ruleTriggered?: {
23158
+ risk: string;
23159
+ exposureType: "direct" | "indirect";
23160
+ direction: "both_directions";
23161
+ minThreshold: number;
23162
+ maxThreshold: number;
23163
+ } | null | undefined;
23164
+ }[] | null | undefined;
23165
+ poolMetadata?: {
23166
+ tokens: string[];
23167
+ fees?: number | null | undefined;
23168
+ } | null | undefined;
23169
+ }>, z.ZodObject<{
23170
+ error: z.ZodObject<{
23171
+ error: z.ZodString;
23172
+ message: z.ZodString;
23173
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23174
+ }, "strip", z.ZodTypeAny, {
23175
+ message: string;
23176
+ error: string;
23177
+ data?: string | null | undefined;
23178
+ }, {
23179
+ message: string;
23180
+ error: string;
23181
+ data?: string | null | undefined;
23182
+ }>;
23183
+ }, "strip", z.ZodTypeAny, {
23184
+ error: {
23185
+ message: string;
23186
+ error: string;
23187
+ data?: string | null | undefined;
23188
+ };
23189
+ }, {
23190
+ error: {
23191
+ message: string;
23192
+ error: string;
23193
+ data?: string | null | undefined;
23194
+ };
23195
+ }>]>;
23196
+ }, "strip", z.ZodTypeAny, {
23197
+ type: "chainalysis";
23198
+ data: {
23199
+ status: "COMPLETE";
23200
+ address: string;
23201
+ risk: "Low" | "Medium" | "High" | "Severe";
23202
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23203
+ addressIdentifications: {
23204
+ name: string;
23205
+ description: string;
23206
+ address: string;
23207
+ createdAt: number;
23208
+ category: string;
23209
+ url?: string | null | undefined;
23210
+ }[];
23211
+ cluster?: {
23212
+ name: string;
23213
+ category: string;
23214
+ } | null | undefined;
23215
+ riskReason?: string | null | undefined;
23216
+ exposures?: {
23217
+ value: number;
23218
+ category: string;
23219
+ exposureType: "direct" | "indirect";
23220
+ direction: "both_directions";
23221
+ }[] | null | undefined;
23222
+ triggers?: {
23223
+ message: string;
23224
+ category: string;
23225
+ percentage: number;
23226
+ ruleTriggered?: {
23227
+ risk: string;
23228
+ exposureType: "direct" | "indirect";
23229
+ direction: "both_directions";
23230
+ minThreshold: number;
23231
+ maxThreshold: number;
23232
+ } | null | undefined;
23233
+ }[] | null | undefined;
23234
+ poolMetadata?: {
23235
+ tokens: string[];
23236
+ fees?: number | null | undefined;
23237
+ } | null | undefined;
23238
+ } | {
23239
+ error: {
23240
+ message: string;
23241
+ error: string;
23242
+ data?: string | null | undefined;
23243
+ };
23244
+ };
23245
+ }, {
23246
+ type: "chainalysis";
23247
+ data: {
23248
+ status: "COMPLETE";
23249
+ address: string;
23250
+ risk: "Low" | "Medium" | "High" | "Severe";
23251
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
23252
+ addressIdentifications: {
23253
+ name: string;
23254
+ description: string;
23255
+ address: string;
23256
+ createdAt: number;
23257
+ category: string;
23258
+ url?: string | null | undefined;
23259
+ }[];
23260
+ cluster?: {
23261
+ name: string;
23262
+ category: string;
23263
+ } | null | undefined;
23264
+ riskReason?: string | null | undefined;
23265
+ exposures?: {
23266
+ value: number;
23267
+ category: string;
23268
+ exposureType: "direct" | "indirect";
23269
+ direction: "both_directions";
23270
+ }[] | null | undefined;
23271
+ triggers?: {
23272
+ message: string;
23273
+ category: string;
23274
+ percentage: number;
23275
+ ruleTriggered?: {
23276
+ risk: string;
23277
+ exposureType: "direct" | "indirect";
23278
+ direction: "both_directions";
23279
+ minThreshold: number;
23280
+ maxThreshold: number;
23281
+ } | null | undefined;
23282
+ }[] | null | undefined;
23283
+ poolMetadata?: {
23284
+ tokens: string[];
23285
+ fees?: number | null | undefined;
23286
+ } | null | undefined;
23287
+ } | {
23288
+ error: {
23289
+ message: string;
23290
+ error: string;
23291
+ data?: string | null | undefined;
23292
+ };
23293
+ };
21951
23294
  }>, z.ZodObject<{
21952
23295
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
21953
23296
  data: z.ZodUnion<[z.ZodObject<{
@@ -24321,6 +25664,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
24321
25664
  risk_level?: number | null | undefined;
24322
25665
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
24323
25666
  };
25667
+ } | {
25668
+ type: "chainalysis";
25669
+ data: {
25670
+ status: "COMPLETE";
25671
+ address: string;
25672
+ risk: "Low" | "Medium" | "High" | "Severe";
25673
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
25674
+ addressIdentifications: {
25675
+ name: string;
25676
+ description: string;
25677
+ address: string;
25678
+ createdAt: number;
25679
+ category: string;
25680
+ url?: string | null | undefined;
25681
+ }[];
25682
+ cluster?: {
25683
+ name: string;
25684
+ category: string;
25685
+ } | null | undefined;
25686
+ riskReason?: string | null | undefined;
25687
+ exposures?: {
25688
+ value: number;
25689
+ category: string;
25690
+ exposureType: "direct" | "indirect";
25691
+ direction: "both_directions";
25692
+ }[] | null | undefined;
25693
+ triggers?: {
25694
+ message: string;
25695
+ category: string;
25696
+ percentage: number;
25697
+ ruleTriggered?: {
25698
+ risk: string;
25699
+ exposureType: "direct" | "indirect";
25700
+ direction: "both_directions";
25701
+ minThreshold: number;
25702
+ maxThreshold: number;
25703
+ } | null | undefined;
25704
+ }[] | null | undefined;
25705
+ poolMetadata?: {
25706
+ tokens: string[];
25707
+ fees?: number | null | undefined;
25708
+ } | null | undefined;
25709
+ } | {
25710
+ error: {
25711
+ message: string;
25712
+ error: string;
25713
+ data?: string | null | undefined;
25714
+ };
25715
+ };
24324
25716
  } | {
24325
25717
  type: "ipQualityScore" | "integratedIpqualityscore";
24326
25718
  data: {
@@ -24934,6 +26326,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
24934
26326
  risk_level?: number | null | undefined;
24935
26327
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
24936
26328
  };
26329
+ } | {
26330
+ type: "chainalysis";
26331
+ data: {
26332
+ status: "COMPLETE";
26333
+ address: string;
26334
+ risk: "Low" | "Medium" | "High" | "Severe";
26335
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
26336
+ addressIdentifications: {
26337
+ name: string;
26338
+ description: string;
26339
+ address: string;
26340
+ createdAt: number;
26341
+ category: string;
26342
+ url?: string | null | undefined;
26343
+ }[];
26344
+ cluster?: {
26345
+ name: string;
26346
+ category: string;
26347
+ } | null | undefined;
26348
+ riskReason?: string | null | undefined;
26349
+ exposures?: {
26350
+ value: number;
26351
+ category: string;
26352
+ exposureType: "direct" | "indirect";
26353
+ direction: "both_directions";
26354
+ }[] | null | undefined;
26355
+ triggers?: {
26356
+ message: string;
26357
+ category: string;
26358
+ percentage: number;
26359
+ ruleTriggered?: {
26360
+ risk: string;
26361
+ exposureType: "direct" | "indirect";
26362
+ direction: "both_directions";
26363
+ minThreshold: number;
26364
+ maxThreshold: number;
26365
+ } | null | undefined;
26366
+ }[] | null | undefined;
26367
+ poolMetadata?: {
26368
+ tokens: string[];
26369
+ fees?: number | null | undefined;
26370
+ } | null | undefined;
26371
+ } | {
26372
+ error: {
26373
+ message: string;
26374
+ error: string;
26375
+ data?: string | null | undefined;
26376
+ };
26377
+ };
24937
26378
  } | {
24938
26379
  type: "ipQualityScore" | "integratedIpqualityscore";
24939
26380
  data: {
@@ -25549,6 +26990,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
25549
26990
  risk_level?: number | null | undefined;
25550
26991
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
25551
26992
  };
26993
+ } | {
26994
+ type: "chainalysis";
26995
+ data: {
26996
+ status: "COMPLETE";
26997
+ address: string;
26998
+ risk: "Low" | "Medium" | "High" | "Severe";
26999
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
27000
+ addressIdentifications: {
27001
+ name: string;
27002
+ description: string;
27003
+ address: string;
27004
+ createdAt: number;
27005
+ category: string;
27006
+ url?: string | null | undefined;
27007
+ }[];
27008
+ cluster?: {
27009
+ name: string;
27010
+ category: string;
27011
+ } | null | undefined;
27012
+ riskReason?: string | null | undefined;
27013
+ exposures?: {
27014
+ value: number;
27015
+ category: string;
27016
+ exposureType: "direct" | "indirect";
27017
+ direction: "both_directions";
27018
+ }[] | null | undefined;
27019
+ triggers?: {
27020
+ message: string;
27021
+ category: string;
27022
+ percentage: number;
27023
+ ruleTriggered?: {
27024
+ risk: string;
27025
+ exposureType: "direct" | "indirect";
27026
+ direction: "both_directions";
27027
+ minThreshold: number;
27028
+ maxThreshold: number;
27029
+ } | null | undefined;
27030
+ }[] | null | undefined;
27031
+ poolMetadata?: {
27032
+ tokens: string[];
27033
+ fees?: number | null | undefined;
27034
+ } | null | undefined;
27035
+ } | {
27036
+ error: {
27037
+ message: string;
27038
+ error: string;
27039
+ data?: string | null | undefined;
27040
+ };
27041
+ };
25552
27042
  } | {
25553
27043
  type: "ipQualityScore" | "integratedIpqualityscore";
25554
27044
  data: {
@@ -26165,6 +27655,55 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
26165
27655
  risk_level?: number | null | undefined;
26166
27656
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
26167
27657
  };
27658
+ } | {
27659
+ type: "chainalysis";
27660
+ data: {
27661
+ status: "COMPLETE";
27662
+ address: string;
27663
+ risk: "Low" | "Medium" | "High" | "Severe";
27664
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
27665
+ addressIdentifications: {
27666
+ name: string;
27667
+ description: string;
27668
+ address: string;
27669
+ createdAt: number;
27670
+ category: string;
27671
+ url?: string | null | undefined;
27672
+ }[];
27673
+ cluster?: {
27674
+ name: string;
27675
+ category: string;
27676
+ } | null | undefined;
27677
+ riskReason?: string | null | undefined;
27678
+ exposures?: {
27679
+ value: number;
27680
+ category: string;
27681
+ exposureType: "direct" | "indirect";
27682
+ direction: "both_directions";
27683
+ }[] | null | undefined;
27684
+ triggers?: {
27685
+ message: string;
27686
+ category: string;
27687
+ percentage: number;
27688
+ ruleTriggered?: {
27689
+ risk: string;
27690
+ exposureType: "direct" | "indirect";
27691
+ direction: "both_directions";
27692
+ minThreshold: number;
27693
+ maxThreshold: number;
27694
+ } | null | undefined;
27695
+ }[] | null | undefined;
27696
+ poolMetadata?: {
27697
+ tokens: string[];
27698
+ fees?: number | null | undefined;
27699
+ } | null | undefined;
27700
+ } | {
27701
+ error: {
27702
+ message: string;
27703
+ error: string;
27704
+ data?: string | null | undefined;
27705
+ };
27706
+ };
26168
27707
  } | {
26169
27708
  type: "ipQualityScore" | "integratedIpqualityscore";
26170
27709
  data: {
@@ -31138,6 +32677,323 @@ export declare const MessageDataOut: z.ZodObject<{
31138
32677
  risk_level?: number | null | undefined;
31139
32678
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
31140
32679
  };
32680
+ }>, z.ZodObject<{
32681
+ type: z.ZodEnum<["chainalysis"]>;
32682
+ data: z.ZodUnion<[z.ZodObject<{
32683
+ address: z.ZodString;
32684
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
32685
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32686
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32687
+ name: z.ZodString;
32688
+ category: z.ZodString;
32689
+ }, "strip", z.ZodTypeAny, {
32690
+ name: string;
32691
+ category: string;
32692
+ }, {
32693
+ name: string;
32694
+ category: string;
32695
+ }>>>;
32696
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
32697
+ addressIdentifications: z.ZodArray<z.ZodObject<{
32698
+ name: z.ZodString;
32699
+ address: z.ZodString;
32700
+ category: z.ZodString;
32701
+ description: z.ZodString;
32702
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32703
+ createdAt: z.ZodNumber;
32704
+ }, "strip", z.ZodTypeAny, {
32705
+ name: string;
32706
+ description: string;
32707
+ address: string;
32708
+ createdAt: number;
32709
+ category: string;
32710
+ url?: string | null | undefined;
32711
+ }, {
32712
+ name: string;
32713
+ description: string;
32714
+ address: string;
32715
+ createdAt: number;
32716
+ category: string;
32717
+ url?: string | null | undefined;
32718
+ }>, "many">;
32719
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32720
+ category: z.ZodString;
32721
+ value: z.ZodNumber;
32722
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
32723
+ direction: z.ZodLiteral<"both_directions">;
32724
+ }, "strip", z.ZodTypeAny, {
32725
+ value: number;
32726
+ category: string;
32727
+ exposureType: "direct" | "indirect";
32728
+ direction: "both_directions";
32729
+ }, {
32730
+ value: number;
32731
+ category: string;
32732
+ exposureType: "direct" | "indirect";
32733
+ direction: "both_directions";
32734
+ }>, "many">>>;
32735
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32736
+ category: z.ZodString;
32737
+ percentage: z.ZodNumber;
32738
+ message: z.ZodString;
32739
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32740
+ risk: z.ZodString;
32741
+ minThreshold: z.ZodNumber;
32742
+ maxThreshold: z.ZodNumber;
32743
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
32744
+ direction: z.ZodLiteral<"both_directions">;
32745
+ }, "strip", z.ZodTypeAny, {
32746
+ risk: string;
32747
+ exposureType: "direct" | "indirect";
32748
+ direction: "both_directions";
32749
+ minThreshold: number;
32750
+ maxThreshold: number;
32751
+ }, {
32752
+ risk: string;
32753
+ exposureType: "direct" | "indirect";
32754
+ direction: "both_directions";
32755
+ minThreshold: number;
32756
+ maxThreshold: number;
32757
+ }>>>;
32758
+ }, "strip", z.ZodTypeAny, {
32759
+ message: string;
32760
+ category: string;
32761
+ percentage: number;
32762
+ ruleTriggered?: {
32763
+ risk: string;
32764
+ exposureType: "direct" | "indirect";
32765
+ direction: "both_directions";
32766
+ minThreshold: number;
32767
+ maxThreshold: number;
32768
+ } | null | undefined;
32769
+ }, {
32770
+ message: string;
32771
+ category: string;
32772
+ percentage: number;
32773
+ ruleTriggered?: {
32774
+ risk: string;
32775
+ exposureType: "direct" | "indirect";
32776
+ direction: "both_directions";
32777
+ minThreshold: number;
32778
+ maxThreshold: number;
32779
+ } | null | undefined;
32780
+ }>, "many">>>;
32781
+ status: z.ZodLiteral<"COMPLETE">;
32782
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32783
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32784
+ tokens: z.ZodArray<z.ZodString, "many">;
32785
+ }, "strip", z.ZodTypeAny, {
32786
+ tokens: string[];
32787
+ fees?: number | null | undefined;
32788
+ }, {
32789
+ tokens: string[];
32790
+ fees?: number | null | undefined;
32791
+ }>>>;
32792
+ }, "strip", z.ZodTypeAny, {
32793
+ status: "COMPLETE";
32794
+ address: string;
32795
+ risk: "Low" | "Medium" | "High" | "Severe";
32796
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32797
+ addressIdentifications: {
32798
+ name: string;
32799
+ description: string;
32800
+ address: string;
32801
+ createdAt: number;
32802
+ category: string;
32803
+ url?: string | null | undefined;
32804
+ }[];
32805
+ cluster?: {
32806
+ name: string;
32807
+ category: string;
32808
+ } | null | undefined;
32809
+ riskReason?: string | null | undefined;
32810
+ exposures?: {
32811
+ value: number;
32812
+ category: string;
32813
+ exposureType: "direct" | "indirect";
32814
+ direction: "both_directions";
32815
+ }[] | null | undefined;
32816
+ triggers?: {
32817
+ message: string;
32818
+ category: string;
32819
+ percentage: number;
32820
+ ruleTriggered?: {
32821
+ risk: string;
32822
+ exposureType: "direct" | "indirect";
32823
+ direction: "both_directions";
32824
+ minThreshold: number;
32825
+ maxThreshold: number;
32826
+ } | null | undefined;
32827
+ }[] | null | undefined;
32828
+ poolMetadata?: {
32829
+ tokens: string[];
32830
+ fees?: number | null | undefined;
32831
+ } | null | undefined;
32832
+ }, {
32833
+ status: "COMPLETE";
32834
+ address: string;
32835
+ risk: "Low" | "Medium" | "High" | "Severe";
32836
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32837
+ addressIdentifications: {
32838
+ name: string;
32839
+ description: string;
32840
+ address: string;
32841
+ createdAt: number;
32842
+ category: string;
32843
+ url?: string | null | undefined;
32844
+ }[];
32845
+ cluster?: {
32846
+ name: string;
32847
+ category: string;
32848
+ } | null | undefined;
32849
+ riskReason?: string | null | undefined;
32850
+ exposures?: {
32851
+ value: number;
32852
+ category: string;
32853
+ exposureType: "direct" | "indirect";
32854
+ direction: "both_directions";
32855
+ }[] | null | undefined;
32856
+ triggers?: {
32857
+ message: string;
32858
+ category: string;
32859
+ percentage: number;
32860
+ ruleTriggered?: {
32861
+ risk: string;
32862
+ exposureType: "direct" | "indirect";
32863
+ direction: "both_directions";
32864
+ minThreshold: number;
32865
+ maxThreshold: number;
32866
+ } | null | undefined;
32867
+ }[] | null | undefined;
32868
+ poolMetadata?: {
32869
+ tokens: string[];
32870
+ fees?: number | null | undefined;
32871
+ } | null | undefined;
32872
+ }>, z.ZodObject<{
32873
+ error: z.ZodObject<{
32874
+ error: z.ZodString;
32875
+ message: z.ZodString;
32876
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32877
+ }, "strip", z.ZodTypeAny, {
32878
+ message: string;
32879
+ error: string;
32880
+ data?: string | null | undefined;
32881
+ }, {
32882
+ message: string;
32883
+ error: string;
32884
+ data?: string | null | undefined;
32885
+ }>;
32886
+ }, "strip", z.ZodTypeAny, {
32887
+ error: {
32888
+ message: string;
32889
+ error: string;
32890
+ data?: string | null | undefined;
32891
+ };
32892
+ }, {
32893
+ error: {
32894
+ message: string;
32895
+ error: string;
32896
+ data?: string | null | undefined;
32897
+ };
32898
+ }>]>;
32899
+ }, "strip", z.ZodTypeAny, {
32900
+ type: "chainalysis";
32901
+ data: {
32902
+ status: "COMPLETE";
32903
+ address: string;
32904
+ risk: "Low" | "Medium" | "High" | "Severe";
32905
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32906
+ addressIdentifications: {
32907
+ name: string;
32908
+ description: string;
32909
+ address: string;
32910
+ createdAt: number;
32911
+ category: string;
32912
+ url?: string | null | undefined;
32913
+ }[];
32914
+ cluster?: {
32915
+ name: string;
32916
+ category: string;
32917
+ } | null | undefined;
32918
+ riskReason?: string | null | undefined;
32919
+ exposures?: {
32920
+ value: number;
32921
+ category: string;
32922
+ exposureType: "direct" | "indirect";
32923
+ direction: "both_directions";
32924
+ }[] | null | undefined;
32925
+ triggers?: {
32926
+ message: string;
32927
+ category: string;
32928
+ percentage: number;
32929
+ ruleTriggered?: {
32930
+ risk: string;
32931
+ exposureType: "direct" | "indirect";
32932
+ direction: "both_directions";
32933
+ minThreshold: number;
32934
+ maxThreshold: number;
32935
+ } | null | undefined;
32936
+ }[] | null | undefined;
32937
+ poolMetadata?: {
32938
+ tokens: string[];
32939
+ fees?: number | null | undefined;
32940
+ } | null | undefined;
32941
+ } | {
32942
+ error: {
32943
+ message: string;
32944
+ error: string;
32945
+ data?: string | null | undefined;
32946
+ };
32947
+ };
32948
+ }, {
32949
+ type: "chainalysis";
32950
+ data: {
32951
+ status: "COMPLETE";
32952
+ address: string;
32953
+ risk: "Low" | "Medium" | "High" | "Severe";
32954
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
32955
+ addressIdentifications: {
32956
+ name: string;
32957
+ description: string;
32958
+ address: string;
32959
+ createdAt: number;
32960
+ category: string;
32961
+ url?: string | null | undefined;
32962
+ }[];
32963
+ cluster?: {
32964
+ name: string;
32965
+ category: string;
32966
+ } | null | undefined;
32967
+ riskReason?: string | null | undefined;
32968
+ exposures?: {
32969
+ value: number;
32970
+ category: string;
32971
+ exposureType: "direct" | "indirect";
32972
+ direction: "both_directions";
32973
+ }[] | null | undefined;
32974
+ triggers?: {
32975
+ message: string;
32976
+ category: string;
32977
+ percentage: number;
32978
+ ruleTriggered?: {
32979
+ risk: string;
32980
+ exposureType: "direct" | "indirect";
32981
+ direction: "both_directions";
32982
+ minThreshold: number;
32983
+ maxThreshold: number;
32984
+ } | null | undefined;
32985
+ }[] | null | undefined;
32986
+ poolMetadata?: {
32987
+ tokens: string[];
32988
+ fees?: number | null | undefined;
32989
+ } | null | undefined;
32990
+ } | {
32991
+ error: {
32992
+ message: string;
32993
+ error: string;
32994
+ data?: string | null | undefined;
32995
+ };
32996
+ };
31141
32997
  }>, z.ZodObject<{
31142
32998
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
31143
32999
  data: z.ZodUnion<[z.ZodObject<{
@@ -33511,6 +35367,55 @@ export declare const MessageDataOut: z.ZodObject<{
33511
35367
  risk_level?: number | null | undefined;
33512
35368
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
33513
35369
  };
35370
+ } | {
35371
+ type: "chainalysis";
35372
+ data: {
35373
+ status: "COMPLETE";
35374
+ address: string;
35375
+ risk: "Low" | "Medium" | "High" | "Severe";
35376
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
35377
+ addressIdentifications: {
35378
+ name: string;
35379
+ description: string;
35380
+ address: string;
35381
+ createdAt: number;
35382
+ category: string;
35383
+ url?: string | null | undefined;
35384
+ }[];
35385
+ cluster?: {
35386
+ name: string;
35387
+ category: string;
35388
+ } | null | undefined;
35389
+ riskReason?: string | null | undefined;
35390
+ exposures?: {
35391
+ value: number;
35392
+ category: string;
35393
+ exposureType: "direct" | "indirect";
35394
+ direction: "both_directions";
35395
+ }[] | null | undefined;
35396
+ triggers?: {
35397
+ message: string;
35398
+ category: string;
35399
+ percentage: number;
35400
+ ruleTriggered?: {
35401
+ risk: string;
35402
+ exposureType: "direct" | "indirect";
35403
+ direction: "both_directions";
35404
+ minThreshold: number;
35405
+ maxThreshold: number;
35406
+ } | null | undefined;
35407
+ }[] | null | undefined;
35408
+ poolMetadata?: {
35409
+ tokens: string[];
35410
+ fees?: number | null | undefined;
35411
+ } | null | undefined;
35412
+ } | {
35413
+ error: {
35414
+ message: string;
35415
+ error: string;
35416
+ data?: string | null | undefined;
35417
+ };
35418
+ };
33514
35419
  } | {
33515
35420
  type: "ipQualityScore" | "integratedIpqualityscore";
33516
35421
  data: {
@@ -34124,6 +36029,55 @@ export declare const MessageDataOut: z.ZodObject<{
34124
36029
  risk_level?: number | null | undefined;
34125
36030
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
34126
36031
  };
36032
+ } | {
36033
+ type: "chainalysis";
36034
+ data: {
36035
+ status: "COMPLETE";
36036
+ address: string;
36037
+ risk: "Low" | "Medium" | "High" | "Severe";
36038
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
36039
+ addressIdentifications: {
36040
+ name: string;
36041
+ description: string;
36042
+ address: string;
36043
+ createdAt: number;
36044
+ category: string;
36045
+ url?: string | null | undefined;
36046
+ }[];
36047
+ cluster?: {
36048
+ name: string;
36049
+ category: string;
36050
+ } | null | undefined;
36051
+ riskReason?: string | null | undefined;
36052
+ exposures?: {
36053
+ value: number;
36054
+ category: string;
36055
+ exposureType: "direct" | "indirect";
36056
+ direction: "both_directions";
36057
+ }[] | null | undefined;
36058
+ triggers?: {
36059
+ message: string;
36060
+ category: string;
36061
+ percentage: number;
36062
+ ruleTriggered?: {
36063
+ risk: string;
36064
+ exposureType: "direct" | "indirect";
36065
+ direction: "both_directions";
36066
+ minThreshold: number;
36067
+ maxThreshold: number;
36068
+ } | null | undefined;
36069
+ }[] | null | undefined;
36070
+ poolMetadata?: {
36071
+ tokens: string[];
36072
+ fees?: number | null | undefined;
36073
+ } | null | undefined;
36074
+ } | {
36075
+ error: {
36076
+ message: string;
36077
+ error: string;
36078
+ data?: string | null | undefined;
36079
+ };
36080
+ };
34127
36081
  } | {
34128
36082
  type: "ipQualityScore" | "integratedIpqualityscore";
34129
36083
  data: {
@@ -34739,6 +36693,55 @@ export declare const MessageDataOut: z.ZodObject<{
34739
36693
  risk_level?: number | null | undefined;
34740
36694
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
34741
36695
  };
36696
+ } | {
36697
+ type: "chainalysis";
36698
+ data: {
36699
+ status: "COMPLETE";
36700
+ address: string;
36701
+ risk: "Low" | "Medium" | "High" | "Severe";
36702
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
36703
+ addressIdentifications: {
36704
+ name: string;
36705
+ description: string;
36706
+ address: string;
36707
+ createdAt: number;
36708
+ category: string;
36709
+ url?: string | null | undefined;
36710
+ }[];
36711
+ cluster?: {
36712
+ name: string;
36713
+ category: string;
36714
+ } | null | undefined;
36715
+ riskReason?: string | null | undefined;
36716
+ exposures?: {
36717
+ value: number;
36718
+ category: string;
36719
+ exposureType: "direct" | "indirect";
36720
+ direction: "both_directions";
36721
+ }[] | null | undefined;
36722
+ triggers?: {
36723
+ message: string;
36724
+ category: string;
36725
+ percentage: number;
36726
+ ruleTriggered?: {
36727
+ risk: string;
36728
+ exposureType: "direct" | "indirect";
36729
+ direction: "both_directions";
36730
+ minThreshold: number;
36731
+ maxThreshold: number;
36732
+ } | null | undefined;
36733
+ }[] | null | undefined;
36734
+ poolMetadata?: {
36735
+ tokens: string[];
36736
+ fees?: number | null | undefined;
36737
+ } | null | undefined;
36738
+ } | {
36739
+ error: {
36740
+ message: string;
36741
+ error: string;
36742
+ data?: string | null | undefined;
36743
+ };
36744
+ };
34742
36745
  } | {
34743
36746
  type: "ipQualityScore" | "integratedIpqualityscore";
34744
36747
  data: {
@@ -35355,6 +37358,55 @@ export declare const MessageDataOut: z.ZodObject<{
35355
37358
  risk_level?: number | null | undefined;
35356
37359
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
35357
37360
  };
37361
+ } | {
37362
+ type: "chainalysis";
37363
+ data: {
37364
+ status: "COMPLETE";
37365
+ address: string;
37366
+ risk: "Low" | "Medium" | "High" | "Severe";
37367
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
37368
+ addressIdentifications: {
37369
+ name: string;
37370
+ description: string;
37371
+ address: string;
37372
+ createdAt: number;
37373
+ category: string;
37374
+ url?: string | null | undefined;
37375
+ }[];
37376
+ cluster?: {
37377
+ name: string;
37378
+ category: string;
37379
+ } | null | undefined;
37380
+ riskReason?: string | null | undefined;
37381
+ exposures?: {
37382
+ value: number;
37383
+ category: string;
37384
+ exposureType: "direct" | "indirect";
37385
+ direction: "both_directions";
37386
+ }[] | null | undefined;
37387
+ triggers?: {
37388
+ message: string;
37389
+ category: string;
37390
+ percentage: number;
37391
+ ruleTriggered?: {
37392
+ risk: string;
37393
+ exposureType: "direct" | "indirect";
37394
+ direction: "both_directions";
37395
+ minThreshold: number;
37396
+ maxThreshold: number;
37397
+ } | null | undefined;
37398
+ }[] | null | undefined;
37399
+ poolMetadata?: {
37400
+ tokens: string[];
37401
+ fees?: number | null | undefined;
37402
+ } | null | undefined;
37403
+ } | {
37404
+ error: {
37405
+ message: string;
37406
+ error: string;
37407
+ data?: string | null | undefined;
37408
+ };
37409
+ };
35358
37410
  } | {
35359
37411
  type: "ipQualityScore" | "integratedIpqualityscore";
35360
37412
  data: {
@@ -36502,6 +38554,55 @@ export declare const MessageDataOut: z.ZodObject<{
36502
38554
  risk_level?: number | null | undefined;
36503
38555
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
36504
38556
  };
38557
+ } | {
38558
+ type: "chainalysis";
38559
+ data: {
38560
+ status: "COMPLETE";
38561
+ address: string;
38562
+ risk: "Low" | "Medium" | "High" | "Severe";
38563
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
38564
+ addressIdentifications: {
38565
+ name: string;
38566
+ description: string;
38567
+ address: string;
38568
+ createdAt: number;
38569
+ category: string;
38570
+ url?: string | null | undefined;
38571
+ }[];
38572
+ cluster?: {
38573
+ name: string;
38574
+ category: string;
38575
+ } | null | undefined;
38576
+ riskReason?: string | null | undefined;
38577
+ exposures?: {
38578
+ value: number;
38579
+ category: string;
38580
+ exposureType: "direct" | "indirect";
38581
+ direction: "both_directions";
38582
+ }[] | null | undefined;
38583
+ triggers?: {
38584
+ message: string;
38585
+ category: string;
38586
+ percentage: number;
38587
+ ruleTriggered?: {
38588
+ risk: string;
38589
+ exposureType: "direct" | "indirect";
38590
+ direction: "both_directions";
38591
+ minThreshold: number;
38592
+ maxThreshold: number;
38593
+ } | null | undefined;
38594
+ }[] | null | undefined;
38595
+ poolMetadata?: {
38596
+ tokens: string[];
38597
+ fees?: number | null | undefined;
38598
+ } | null | undefined;
38599
+ } | {
38600
+ error: {
38601
+ message: string;
38602
+ error: string;
38603
+ data?: string | null | undefined;
38604
+ };
38605
+ };
36505
38606
  } | {
36506
38607
  type: "ipQualityScore" | "integratedIpqualityscore";
36507
38608
  data: {
@@ -37266,6 +39367,55 @@ export declare const MessageDataOut: z.ZodObject<{
37266
39367
  risk_level?: number | null | undefined;
37267
39368
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
37268
39369
  };
39370
+ } | {
39371
+ type: "chainalysis";
39372
+ data: {
39373
+ status: "COMPLETE";
39374
+ address: string;
39375
+ risk: "Low" | "Medium" | "High" | "Severe";
39376
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
39377
+ addressIdentifications: {
39378
+ name: string;
39379
+ description: string;
39380
+ address: string;
39381
+ createdAt: number;
39382
+ category: string;
39383
+ url?: string | null | undefined;
39384
+ }[];
39385
+ cluster?: {
39386
+ name: string;
39387
+ category: string;
39388
+ } | null | undefined;
39389
+ riskReason?: string | null | undefined;
39390
+ exposures?: {
39391
+ value: number;
39392
+ category: string;
39393
+ exposureType: "direct" | "indirect";
39394
+ direction: "both_directions";
39395
+ }[] | null | undefined;
39396
+ triggers?: {
39397
+ message: string;
39398
+ category: string;
39399
+ percentage: number;
39400
+ ruleTriggered?: {
39401
+ risk: string;
39402
+ exposureType: "direct" | "indirect";
39403
+ direction: "both_directions";
39404
+ minThreshold: number;
39405
+ maxThreshold: number;
39406
+ } | null | undefined;
39407
+ }[] | null | undefined;
39408
+ poolMetadata?: {
39409
+ tokens: string[];
39410
+ fees?: number | null | undefined;
39411
+ } | null | undefined;
39412
+ } | {
39413
+ error: {
39414
+ message: string;
39415
+ error: string;
39416
+ data?: string | null | undefined;
39417
+ };
39418
+ };
37269
39419
  } | {
37270
39420
  type: "ipQualityScore" | "integratedIpqualityscore";
37271
39421
  data: {
@@ -41609,6 +43759,323 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
41609
43759
  risk_level?: number | null | undefined;
41610
43760
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
41611
43761
  };
43762
+ }>, z.ZodObject<{
43763
+ type: z.ZodEnum<["chainalysis"]>;
43764
+ data: z.ZodUnion<[z.ZodObject<{
43765
+ address: z.ZodString;
43766
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
43767
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43768
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43769
+ name: z.ZodString;
43770
+ category: z.ZodString;
43771
+ }, "strip", z.ZodTypeAny, {
43772
+ name: string;
43773
+ category: string;
43774
+ }, {
43775
+ name: string;
43776
+ category: string;
43777
+ }>>>;
43778
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
43779
+ addressIdentifications: z.ZodArray<z.ZodObject<{
43780
+ name: z.ZodString;
43781
+ address: z.ZodString;
43782
+ category: z.ZodString;
43783
+ description: z.ZodString;
43784
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43785
+ createdAt: z.ZodNumber;
43786
+ }, "strip", z.ZodTypeAny, {
43787
+ name: string;
43788
+ description: string;
43789
+ address: string;
43790
+ createdAt: number;
43791
+ category: string;
43792
+ url?: string | null | undefined;
43793
+ }, {
43794
+ name: string;
43795
+ description: string;
43796
+ address: string;
43797
+ createdAt: number;
43798
+ category: string;
43799
+ url?: string | null | undefined;
43800
+ }>, "many">;
43801
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
43802
+ category: z.ZodString;
43803
+ value: z.ZodNumber;
43804
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
43805
+ direction: z.ZodLiteral<"both_directions">;
43806
+ }, "strip", z.ZodTypeAny, {
43807
+ value: number;
43808
+ category: string;
43809
+ exposureType: "direct" | "indirect";
43810
+ direction: "both_directions";
43811
+ }, {
43812
+ value: number;
43813
+ category: string;
43814
+ exposureType: "direct" | "indirect";
43815
+ direction: "both_directions";
43816
+ }>, "many">>>;
43817
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
43818
+ category: z.ZodString;
43819
+ percentage: z.ZodNumber;
43820
+ message: z.ZodString;
43821
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43822
+ risk: z.ZodString;
43823
+ minThreshold: z.ZodNumber;
43824
+ maxThreshold: z.ZodNumber;
43825
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
43826
+ direction: z.ZodLiteral<"both_directions">;
43827
+ }, "strip", z.ZodTypeAny, {
43828
+ risk: string;
43829
+ exposureType: "direct" | "indirect";
43830
+ direction: "both_directions";
43831
+ minThreshold: number;
43832
+ maxThreshold: number;
43833
+ }, {
43834
+ risk: string;
43835
+ exposureType: "direct" | "indirect";
43836
+ direction: "both_directions";
43837
+ minThreshold: number;
43838
+ maxThreshold: number;
43839
+ }>>>;
43840
+ }, "strip", z.ZodTypeAny, {
43841
+ message: string;
43842
+ category: string;
43843
+ percentage: number;
43844
+ ruleTriggered?: {
43845
+ risk: string;
43846
+ exposureType: "direct" | "indirect";
43847
+ direction: "both_directions";
43848
+ minThreshold: number;
43849
+ maxThreshold: number;
43850
+ } | null | undefined;
43851
+ }, {
43852
+ message: string;
43853
+ category: string;
43854
+ percentage: number;
43855
+ ruleTriggered?: {
43856
+ risk: string;
43857
+ exposureType: "direct" | "indirect";
43858
+ direction: "both_directions";
43859
+ minThreshold: number;
43860
+ maxThreshold: number;
43861
+ } | null | undefined;
43862
+ }>, "many">>>;
43863
+ status: z.ZodLiteral<"COMPLETE">;
43864
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43865
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43866
+ tokens: z.ZodArray<z.ZodString, "many">;
43867
+ }, "strip", z.ZodTypeAny, {
43868
+ tokens: string[];
43869
+ fees?: number | null | undefined;
43870
+ }, {
43871
+ tokens: string[];
43872
+ fees?: number | null | undefined;
43873
+ }>>>;
43874
+ }, "strip", z.ZodTypeAny, {
43875
+ status: "COMPLETE";
43876
+ address: string;
43877
+ risk: "Low" | "Medium" | "High" | "Severe";
43878
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
43879
+ addressIdentifications: {
43880
+ name: string;
43881
+ description: string;
43882
+ address: string;
43883
+ createdAt: number;
43884
+ category: string;
43885
+ url?: string | null | undefined;
43886
+ }[];
43887
+ cluster?: {
43888
+ name: string;
43889
+ category: string;
43890
+ } | null | undefined;
43891
+ riskReason?: string | null | undefined;
43892
+ exposures?: {
43893
+ value: number;
43894
+ category: string;
43895
+ exposureType: "direct" | "indirect";
43896
+ direction: "both_directions";
43897
+ }[] | null | undefined;
43898
+ triggers?: {
43899
+ message: string;
43900
+ category: string;
43901
+ percentage: number;
43902
+ ruleTriggered?: {
43903
+ risk: string;
43904
+ exposureType: "direct" | "indirect";
43905
+ direction: "both_directions";
43906
+ minThreshold: number;
43907
+ maxThreshold: number;
43908
+ } | null | undefined;
43909
+ }[] | null | undefined;
43910
+ poolMetadata?: {
43911
+ tokens: string[];
43912
+ fees?: number | null | undefined;
43913
+ } | null | undefined;
43914
+ }, {
43915
+ status: "COMPLETE";
43916
+ address: string;
43917
+ risk: "Low" | "Medium" | "High" | "Severe";
43918
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
43919
+ addressIdentifications: {
43920
+ name: string;
43921
+ description: string;
43922
+ address: string;
43923
+ createdAt: number;
43924
+ category: string;
43925
+ url?: string | null | undefined;
43926
+ }[];
43927
+ cluster?: {
43928
+ name: string;
43929
+ category: string;
43930
+ } | null | undefined;
43931
+ riskReason?: string | null | undefined;
43932
+ exposures?: {
43933
+ value: number;
43934
+ category: string;
43935
+ exposureType: "direct" | "indirect";
43936
+ direction: "both_directions";
43937
+ }[] | null | undefined;
43938
+ triggers?: {
43939
+ message: string;
43940
+ category: string;
43941
+ percentage: number;
43942
+ ruleTriggered?: {
43943
+ risk: string;
43944
+ exposureType: "direct" | "indirect";
43945
+ direction: "both_directions";
43946
+ minThreshold: number;
43947
+ maxThreshold: number;
43948
+ } | null | undefined;
43949
+ }[] | null | undefined;
43950
+ poolMetadata?: {
43951
+ tokens: string[];
43952
+ fees?: number | null | undefined;
43953
+ } | null | undefined;
43954
+ }>, z.ZodObject<{
43955
+ error: z.ZodObject<{
43956
+ error: z.ZodString;
43957
+ message: z.ZodString;
43958
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43959
+ }, "strip", z.ZodTypeAny, {
43960
+ message: string;
43961
+ error: string;
43962
+ data?: string | null | undefined;
43963
+ }, {
43964
+ message: string;
43965
+ error: string;
43966
+ data?: string | null | undefined;
43967
+ }>;
43968
+ }, "strip", z.ZodTypeAny, {
43969
+ error: {
43970
+ message: string;
43971
+ error: string;
43972
+ data?: string | null | undefined;
43973
+ };
43974
+ }, {
43975
+ error: {
43976
+ message: string;
43977
+ error: string;
43978
+ data?: string | null | undefined;
43979
+ };
43980
+ }>]>;
43981
+ }, "strip", z.ZodTypeAny, {
43982
+ type: "chainalysis";
43983
+ data: {
43984
+ status: "COMPLETE";
43985
+ address: string;
43986
+ risk: "Low" | "Medium" | "High" | "Severe";
43987
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
43988
+ addressIdentifications: {
43989
+ name: string;
43990
+ description: string;
43991
+ address: string;
43992
+ createdAt: number;
43993
+ category: string;
43994
+ url?: string | null | undefined;
43995
+ }[];
43996
+ cluster?: {
43997
+ name: string;
43998
+ category: string;
43999
+ } | null | undefined;
44000
+ riskReason?: string | null | undefined;
44001
+ exposures?: {
44002
+ value: number;
44003
+ category: string;
44004
+ exposureType: "direct" | "indirect";
44005
+ direction: "both_directions";
44006
+ }[] | null | undefined;
44007
+ triggers?: {
44008
+ message: string;
44009
+ category: string;
44010
+ percentage: number;
44011
+ ruleTriggered?: {
44012
+ risk: string;
44013
+ exposureType: "direct" | "indirect";
44014
+ direction: "both_directions";
44015
+ minThreshold: number;
44016
+ maxThreshold: number;
44017
+ } | null | undefined;
44018
+ }[] | null | undefined;
44019
+ poolMetadata?: {
44020
+ tokens: string[];
44021
+ fees?: number | null | undefined;
44022
+ } | null | undefined;
44023
+ } | {
44024
+ error: {
44025
+ message: string;
44026
+ error: string;
44027
+ data?: string | null | undefined;
44028
+ };
44029
+ };
44030
+ }, {
44031
+ type: "chainalysis";
44032
+ data: {
44033
+ status: "COMPLETE";
44034
+ address: string;
44035
+ risk: "Low" | "Medium" | "High" | "Severe";
44036
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
44037
+ addressIdentifications: {
44038
+ name: string;
44039
+ description: string;
44040
+ address: string;
44041
+ createdAt: number;
44042
+ category: string;
44043
+ url?: string | null | undefined;
44044
+ }[];
44045
+ cluster?: {
44046
+ name: string;
44047
+ category: string;
44048
+ } | null | undefined;
44049
+ riskReason?: string | null | undefined;
44050
+ exposures?: {
44051
+ value: number;
44052
+ category: string;
44053
+ exposureType: "direct" | "indirect";
44054
+ direction: "both_directions";
44055
+ }[] | null | undefined;
44056
+ triggers?: {
44057
+ message: string;
44058
+ category: string;
44059
+ percentage: number;
44060
+ ruleTriggered?: {
44061
+ risk: string;
44062
+ exposureType: "direct" | "indirect";
44063
+ direction: "both_directions";
44064
+ minThreshold: number;
44065
+ maxThreshold: number;
44066
+ } | null | undefined;
44067
+ }[] | null | undefined;
44068
+ poolMetadata?: {
44069
+ tokens: string[];
44070
+ fees?: number | null | undefined;
44071
+ } | null | undefined;
44072
+ } | {
44073
+ error: {
44074
+ message: string;
44075
+ error: string;
44076
+ data?: string | null | undefined;
44077
+ };
44078
+ };
41612
44079
  }>, z.ZodObject<{
41613
44080
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
41614
44081
  data: z.ZodUnion<[z.ZodObject<{
@@ -43982,6 +46449,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
43982
46449
  risk_level?: number | null | undefined;
43983
46450
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
43984
46451
  };
46452
+ } | {
46453
+ type: "chainalysis";
46454
+ data: {
46455
+ status: "COMPLETE";
46456
+ address: string;
46457
+ risk: "Low" | "Medium" | "High" | "Severe";
46458
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
46459
+ addressIdentifications: {
46460
+ name: string;
46461
+ description: string;
46462
+ address: string;
46463
+ createdAt: number;
46464
+ category: string;
46465
+ url?: string | null | undefined;
46466
+ }[];
46467
+ cluster?: {
46468
+ name: string;
46469
+ category: string;
46470
+ } | null | undefined;
46471
+ riskReason?: string | null | undefined;
46472
+ exposures?: {
46473
+ value: number;
46474
+ category: string;
46475
+ exposureType: "direct" | "indirect";
46476
+ direction: "both_directions";
46477
+ }[] | null | undefined;
46478
+ triggers?: {
46479
+ message: string;
46480
+ category: string;
46481
+ percentage: number;
46482
+ ruleTriggered?: {
46483
+ risk: string;
46484
+ exposureType: "direct" | "indirect";
46485
+ direction: "both_directions";
46486
+ minThreshold: number;
46487
+ maxThreshold: number;
46488
+ } | null | undefined;
46489
+ }[] | null | undefined;
46490
+ poolMetadata?: {
46491
+ tokens: string[];
46492
+ fees?: number | null | undefined;
46493
+ } | null | undefined;
46494
+ } | {
46495
+ error: {
46496
+ message: string;
46497
+ error: string;
46498
+ data?: string | null | undefined;
46499
+ };
46500
+ };
43985
46501
  } | {
43986
46502
  type: "ipQualityScore" | "integratedIpqualityscore";
43987
46503
  data: {
@@ -44595,6 +47111,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
44595
47111
  risk_level?: number | null | undefined;
44596
47112
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
44597
47113
  };
47114
+ } | {
47115
+ type: "chainalysis";
47116
+ data: {
47117
+ status: "COMPLETE";
47118
+ address: string;
47119
+ risk: "Low" | "Medium" | "High" | "Severe";
47120
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
47121
+ addressIdentifications: {
47122
+ name: string;
47123
+ description: string;
47124
+ address: string;
47125
+ createdAt: number;
47126
+ category: string;
47127
+ url?: string | null | undefined;
47128
+ }[];
47129
+ cluster?: {
47130
+ name: string;
47131
+ category: string;
47132
+ } | null | undefined;
47133
+ riskReason?: string | null | undefined;
47134
+ exposures?: {
47135
+ value: number;
47136
+ category: string;
47137
+ exposureType: "direct" | "indirect";
47138
+ direction: "both_directions";
47139
+ }[] | null | undefined;
47140
+ triggers?: {
47141
+ message: string;
47142
+ category: string;
47143
+ percentage: number;
47144
+ ruleTriggered?: {
47145
+ risk: string;
47146
+ exposureType: "direct" | "indirect";
47147
+ direction: "both_directions";
47148
+ minThreshold: number;
47149
+ maxThreshold: number;
47150
+ } | null | undefined;
47151
+ }[] | null | undefined;
47152
+ poolMetadata?: {
47153
+ tokens: string[];
47154
+ fees?: number | null | undefined;
47155
+ } | null | undefined;
47156
+ } | {
47157
+ error: {
47158
+ message: string;
47159
+ error: string;
47160
+ data?: string | null | undefined;
47161
+ };
47162
+ };
44598
47163
  } | {
44599
47164
  type: "ipQualityScore" | "integratedIpqualityscore";
44600
47165
  data: {
@@ -45210,6 +47775,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
45210
47775
  risk_level?: number | null | undefined;
45211
47776
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
45212
47777
  };
47778
+ } | {
47779
+ type: "chainalysis";
47780
+ data: {
47781
+ status: "COMPLETE";
47782
+ address: string;
47783
+ risk: "Low" | "Medium" | "High" | "Severe";
47784
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
47785
+ addressIdentifications: {
47786
+ name: string;
47787
+ description: string;
47788
+ address: string;
47789
+ createdAt: number;
47790
+ category: string;
47791
+ url?: string | null | undefined;
47792
+ }[];
47793
+ cluster?: {
47794
+ name: string;
47795
+ category: string;
47796
+ } | null | undefined;
47797
+ riskReason?: string | null | undefined;
47798
+ exposures?: {
47799
+ value: number;
47800
+ category: string;
47801
+ exposureType: "direct" | "indirect";
47802
+ direction: "both_directions";
47803
+ }[] | null | undefined;
47804
+ triggers?: {
47805
+ message: string;
47806
+ category: string;
47807
+ percentage: number;
47808
+ ruleTriggered?: {
47809
+ risk: string;
47810
+ exposureType: "direct" | "indirect";
47811
+ direction: "both_directions";
47812
+ minThreshold: number;
47813
+ maxThreshold: number;
47814
+ } | null | undefined;
47815
+ }[] | null | undefined;
47816
+ poolMetadata?: {
47817
+ tokens: string[];
47818
+ fees?: number | null | undefined;
47819
+ } | null | undefined;
47820
+ } | {
47821
+ error: {
47822
+ message: string;
47823
+ error: string;
47824
+ data?: string | null | undefined;
47825
+ };
47826
+ };
45213
47827
  } | {
45214
47828
  type: "ipQualityScore" | "integratedIpqualityscore";
45215
47829
  data: {
@@ -45826,6 +48440,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
45826
48440
  risk_level?: number | null | undefined;
45827
48441
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
45828
48442
  };
48443
+ } | {
48444
+ type: "chainalysis";
48445
+ data: {
48446
+ status: "COMPLETE";
48447
+ address: string;
48448
+ risk: "Low" | "Medium" | "High" | "Severe";
48449
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
48450
+ addressIdentifications: {
48451
+ name: string;
48452
+ description: string;
48453
+ address: string;
48454
+ createdAt: number;
48455
+ category: string;
48456
+ url?: string | null | undefined;
48457
+ }[];
48458
+ cluster?: {
48459
+ name: string;
48460
+ category: string;
48461
+ } | null | undefined;
48462
+ riskReason?: string | null | undefined;
48463
+ exposures?: {
48464
+ value: number;
48465
+ category: string;
48466
+ exposureType: "direct" | "indirect";
48467
+ direction: "both_directions";
48468
+ }[] | null | undefined;
48469
+ triggers?: {
48470
+ message: string;
48471
+ category: string;
48472
+ percentage: number;
48473
+ ruleTriggered?: {
48474
+ risk: string;
48475
+ exposureType: "direct" | "indirect";
48476
+ direction: "both_directions";
48477
+ minThreshold: number;
48478
+ maxThreshold: number;
48479
+ } | null | undefined;
48480
+ }[] | null | undefined;
48481
+ poolMetadata?: {
48482
+ tokens: string[];
48483
+ fees?: number | null | undefined;
48484
+ } | null | undefined;
48485
+ } | {
48486
+ error: {
48487
+ message: string;
48488
+ error: string;
48489
+ data?: string | null | undefined;
48490
+ };
48491
+ };
45829
48492
  } | {
45830
48493
  type: "ipQualityScore" | "integratedIpqualityscore";
45831
48494
  data: {
@@ -47006,6 +49669,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
47006
49669
  risk_level?: number | null | undefined;
47007
49670
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
47008
49671
  };
49672
+ } | {
49673
+ type: "chainalysis";
49674
+ data: {
49675
+ status: "COMPLETE";
49676
+ address: string;
49677
+ risk: "Low" | "Medium" | "High" | "Severe";
49678
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
49679
+ addressIdentifications: {
49680
+ name: string;
49681
+ description: string;
49682
+ address: string;
49683
+ createdAt: number;
49684
+ category: string;
49685
+ url?: string | null | undefined;
49686
+ }[];
49687
+ cluster?: {
49688
+ name: string;
49689
+ category: string;
49690
+ } | null | undefined;
49691
+ riskReason?: string | null | undefined;
49692
+ exposures?: {
49693
+ value: number;
49694
+ category: string;
49695
+ exposureType: "direct" | "indirect";
49696
+ direction: "both_directions";
49697
+ }[] | null | undefined;
49698
+ triggers?: {
49699
+ message: string;
49700
+ category: string;
49701
+ percentage: number;
49702
+ ruleTriggered?: {
49703
+ risk: string;
49704
+ exposureType: "direct" | "indirect";
49705
+ direction: "both_directions";
49706
+ minThreshold: number;
49707
+ maxThreshold: number;
49708
+ } | null | undefined;
49709
+ }[] | null | undefined;
49710
+ poolMetadata?: {
49711
+ tokens: string[];
49712
+ fees?: number | null | undefined;
49713
+ } | null | undefined;
49714
+ } | {
49715
+ error: {
49716
+ message: string;
49717
+ error: string;
49718
+ data?: string | null | undefined;
49719
+ };
49720
+ };
47009
49721
  } | {
47010
49722
  type: "ipQualityScore" | "integratedIpqualityscore";
47011
49723
  data: {
@@ -47782,6 +50494,55 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
47782
50494
  risk_level?: number | null | undefined;
47783
50495
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
47784
50496
  };
50497
+ } | {
50498
+ type: "chainalysis";
50499
+ data: {
50500
+ status: "COMPLETE";
50501
+ address: string;
50502
+ risk: "Low" | "Medium" | "High" | "Severe";
50503
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
50504
+ addressIdentifications: {
50505
+ name: string;
50506
+ description: string;
50507
+ address: string;
50508
+ createdAt: number;
50509
+ category: string;
50510
+ url?: string | null | undefined;
50511
+ }[];
50512
+ cluster?: {
50513
+ name: string;
50514
+ category: string;
50515
+ } | null | undefined;
50516
+ riskReason?: string | null | undefined;
50517
+ exposures?: {
50518
+ value: number;
50519
+ category: string;
50520
+ exposureType: "direct" | "indirect";
50521
+ direction: "both_directions";
50522
+ }[] | null | undefined;
50523
+ triggers?: {
50524
+ message: string;
50525
+ category: string;
50526
+ percentage: number;
50527
+ ruleTriggered?: {
50528
+ risk: string;
50529
+ exposureType: "direct" | "indirect";
50530
+ direction: "both_directions";
50531
+ minThreshold: number;
50532
+ maxThreshold: number;
50533
+ } | null | undefined;
50534
+ }[] | null | undefined;
50535
+ poolMetadata?: {
50536
+ tokens: string[];
50537
+ fees?: number | null | undefined;
50538
+ } | null | undefined;
50539
+ } | {
50540
+ error: {
50541
+ message: string;
50542
+ error: string;
50543
+ data?: string | null | undefined;
50544
+ };
50545
+ };
47785
50546
  } | {
47786
50547
  type: "ipQualityScore" | "integratedIpqualityscore";
47787
50548
  data: {
@@ -52502,6 +55263,323 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
52502
55263
  risk_level?: number | null | undefined;
52503
55264
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
52504
55265
  };
55266
+ }>, z.ZodObject<{
55267
+ type: z.ZodEnum<["chainalysis"]>;
55268
+ data: z.ZodUnion<[z.ZodObject<{
55269
+ address: z.ZodString;
55270
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
55271
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55272
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55273
+ name: z.ZodString;
55274
+ category: z.ZodString;
55275
+ }, "strip", z.ZodTypeAny, {
55276
+ name: string;
55277
+ category: string;
55278
+ }, {
55279
+ name: string;
55280
+ category: string;
55281
+ }>>>;
55282
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
55283
+ addressIdentifications: z.ZodArray<z.ZodObject<{
55284
+ name: z.ZodString;
55285
+ address: z.ZodString;
55286
+ category: z.ZodString;
55287
+ description: z.ZodString;
55288
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55289
+ createdAt: z.ZodNumber;
55290
+ }, "strip", z.ZodTypeAny, {
55291
+ name: string;
55292
+ description: string;
55293
+ address: string;
55294
+ createdAt: number;
55295
+ category: string;
55296
+ url?: string | null | undefined;
55297
+ }, {
55298
+ name: string;
55299
+ description: string;
55300
+ address: string;
55301
+ createdAt: number;
55302
+ category: string;
55303
+ url?: string | null | undefined;
55304
+ }>, "many">;
55305
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
55306
+ category: z.ZodString;
55307
+ value: z.ZodNumber;
55308
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
55309
+ direction: z.ZodLiteral<"both_directions">;
55310
+ }, "strip", z.ZodTypeAny, {
55311
+ value: number;
55312
+ category: string;
55313
+ exposureType: "direct" | "indirect";
55314
+ direction: "both_directions";
55315
+ }, {
55316
+ value: number;
55317
+ category: string;
55318
+ exposureType: "direct" | "indirect";
55319
+ direction: "both_directions";
55320
+ }>, "many">>>;
55321
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
55322
+ category: z.ZodString;
55323
+ percentage: z.ZodNumber;
55324
+ message: z.ZodString;
55325
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55326
+ risk: z.ZodString;
55327
+ minThreshold: z.ZodNumber;
55328
+ maxThreshold: z.ZodNumber;
55329
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
55330
+ direction: z.ZodLiteral<"both_directions">;
55331
+ }, "strip", z.ZodTypeAny, {
55332
+ risk: string;
55333
+ exposureType: "direct" | "indirect";
55334
+ direction: "both_directions";
55335
+ minThreshold: number;
55336
+ maxThreshold: number;
55337
+ }, {
55338
+ risk: string;
55339
+ exposureType: "direct" | "indirect";
55340
+ direction: "both_directions";
55341
+ minThreshold: number;
55342
+ maxThreshold: number;
55343
+ }>>>;
55344
+ }, "strip", z.ZodTypeAny, {
55345
+ message: string;
55346
+ category: string;
55347
+ percentage: number;
55348
+ ruleTriggered?: {
55349
+ risk: string;
55350
+ exposureType: "direct" | "indirect";
55351
+ direction: "both_directions";
55352
+ minThreshold: number;
55353
+ maxThreshold: number;
55354
+ } | null | undefined;
55355
+ }, {
55356
+ message: string;
55357
+ category: string;
55358
+ percentage: number;
55359
+ ruleTriggered?: {
55360
+ risk: string;
55361
+ exposureType: "direct" | "indirect";
55362
+ direction: "both_directions";
55363
+ minThreshold: number;
55364
+ maxThreshold: number;
55365
+ } | null | undefined;
55366
+ }>, "many">>>;
55367
+ status: z.ZodLiteral<"COMPLETE">;
55368
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55369
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55370
+ tokens: z.ZodArray<z.ZodString, "many">;
55371
+ }, "strip", z.ZodTypeAny, {
55372
+ tokens: string[];
55373
+ fees?: number | null | undefined;
55374
+ }, {
55375
+ tokens: string[];
55376
+ fees?: number | null | undefined;
55377
+ }>>>;
55378
+ }, "strip", z.ZodTypeAny, {
55379
+ status: "COMPLETE";
55380
+ address: string;
55381
+ risk: "Low" | "Medium" | "High" | "Severe";
55382
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55383
+ addressIdentifications: {
55384
+ name: string;
55385
+ description: string;
55386
+ address: string;
55387
+ createdAt: number;
55388
+ category: string;
55389
+ url?: string | null | undefined;
55390
+ }[];
55391
+ cluster?: {
55392
+ name: string;
55393
+ category: string;
55394
+ } | null | undefined;
55395
+ riskReason?: string | null | undefined;
55396
+ exposures?: {
55397
+ value: number;
55398
+ category: string;
55399
+ exposureType: "direct" | "indirect";
55400
+ direction: "both_directions";
55401
+ }[] | null | undefined;
55402
+ triggers?: {
55403
+ message: string;
55404
+ category: string;
55405
+ percentage: number;
55406
+ ruleTriggered?: {
55407
+ risk: string;
55408
+ exposureType: "direct" | "indirect";
55409
+ direction: "both_directions";
55410
+ minThreshold: number;
55411
+ maxThreshold: number;
55412
+ } | null | undefined;
55413
+ }[] | null | undefined;
55414
+ poolMetadata?: {
55415
+ tokens: string[];
55416
+ fees?: number | null | undefined;
55417
+ } | null | undefined;
55418
+ }, {
55419
+ status: "COMPLETE";
55420
+ address: string;
55421
+ risk: "Low" | "Medium" | "High" | "Severe";
55422
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55423
+ addressIdentifications: {
55424
+ name: string;
55425
+ description: string;
55426
+ address: string;
55427
+ createdAt: number;
55428
+ category: string;
55429
+ url?: string | null | undefined;
55430
+ }[];
55431
+ cluster?: {
55432
+ name: string;
55433
+ category: string;
55434
+ } | null | undefined;
55435
+ riskReason?: string | null | undefined;
55436
+ exposures?: {
55437
+ value: number;
55438
+ category: string;
55439
+ exposureType: "direct" | "indirect";
55440
+ direction: "both_directions";
55441
+ }[] | null | undefined;
55442
+ triggers?: {
55443
+ message: string;
55444
+ category: string;
55445
+ percentage: number;
55446
+ ruleTriggered?: {
55447
+ risk: string;
55448
+ exposureType: "direct" | "indirect";
55449
+ direction: "both_directions";
55450
+ minThreshold: number;
55451
+ maxThreshold: number;
55452
+ } | null | undefined;
55453
+ }[] | null | undefined;
55454
+ poolMetadata?: {
55455
+ tokens: string[];
55456
+ fees?: number | null | undefined;
55457
+ } | null | undefined;
55458
+ }>, z.ZodObject<{
55459
+ error: z.ZodObject<{
55460
+ error: z.ZodString;
55461
+ message: z.ZodString;
55462
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55463
+ }, "strip", z.ZodTypeAny, {
55464
+ message: string;
55465
+ error: string;
55466
+ data?: string | null | undefined;
55467
+ }, {
55468
+ message: string;
55469
+ error: string;
55470
+ data?: string | null | undefined;
55471
+ }>;
55472
+ }, "strip", z.ZodTypeAny, {
55473
+ error: {
55474
+ message: string;
55475
+ error: string;
55476
+ data?: string | null | undefined;
55477
+ };
55478
+ }, {
55479
+ error: {
55480
+ message: string;
55481
+ error: string;
55482
+ data?: string | null | undefined;
55483
+ };
55484
+ }>]>;
55485
+ }, "strip", z.ZodTypeAny, {
55486
+ type: "chainalysis";
55487
+ data: {
55488
+ status: "COMPLETE";
55489
+ address: string;
55490
+ risk: "Low" | "Medium" | "High" | "Severe";
55491
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55492
+ addressIdentifications: {
55493
+ name: string;
55494
+ description: string;
55495
+ address: string;
55496
+ createdAt: number;
55497
+ category: string;
55498
+ url?: string | null | undefined;
55499
+ }[];
55500
+ cluster?: {
55501
+ name: string;
55502
+ category: string;
55503
+ } | null | undefined;
55504
+ riskReason?: string | null | undefined;
55505
+ exposures?: {
55506
+ value: number;
55507
+ category: string;
55508
+ exposureType: "direct" | "indirect";
55509
+ direction: "both_directions";
55510
+ }[] | null | undefined;
55511
+ triggers?: {
55512
+ message: string;
55513
+ category: string;
55514
+ percentage: number;
55515
+ ruleTriggered?: {
55516
+ risk: string;
55517
+ exposureType: "direct" | "indirect";
55518
+ direction: "both_directions";
55519
+ minThreshold: number;
55520
+ maxThreshold: number;
55521
+ } | null | undefined;
55522
+ }[] | null | undefined;
55523
+ poolMetadata?: {
55524
+ tokens: string[];
55525
+ fees?: number | null | undefined;
55526
+ } | null | undefined;
55527
+ } | {
55528
+ error: {
55529
+ message: string;
55530
+ error: string;
55531
+ data?: string | null | undefined;
55532
+ };
55533
+ };
55534
+ }, {
55535
+ type: "chainalysis";
55536
+ data: {
55537
+ status: "COMPLETE";
55538
+ address: string;
55539
+ risk: "Low" | "Medium" | "High" | "Severe";
55540
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
55541
+ addressIdentifications: {
55542
+ name: string;
55543
+ description: string;
55544
+ address: string;
55545
+ createdAt: number;
55546
+ category: string;
55547
+ url?: string | null | undefined;
55548
+ }[];
55549
+ cluster?: {
55550
+ name: string;
55551
+ category: string;
55552
+ } | null | undefined;
55553
+ riskReason?: string | null | undefined;
55554
+ exposures?: {
55555
+ value: number;
55556
+ category: string;
55557
+ exposureType: "direct" | "indirect";
55558
+ direction: "both_directions";
55559
+ }[] | null | undefined;
55560
+ triggers?: {
55561
+ message: string;
55562
+ category: string;
55563
+ percentage: number;
55564
+ ruleTriggered?: {
55565
+ risk: string;
55566
+ exposureType: "direct" | "indirect";
55567
+ direction: "both_directions";
55568
+ minThreshold: number;
55569
+ maxThreshold: number;
55570
+ } | null | undefined;
55571
+ }[] | null | undefined;
55572
+ poolMetadata?: {
55573
+ tokens: string[];
55574
+ fees?: number | null | undefined;
55575
+ } | null | undefined;
55576
+ } | {
55577
+ error: {
55578
+ message: string;
55579
+ error: string;
55580
+ data?: string | null | undefined;
55581
+ };
55582
+ };
52505
55583
  }>, z.ZodObject<{
52506
55584
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
52507
55585
  data: z.ZodUnion<[z.ZodObject<{
@@ -54875,6 +57953,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
54875
57953
  risk_level?: number | null | undefined;
54876
57954
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
54877
57955
  };
57956
+ } | {
57957
+ type: "chainalysis";
57958
+ data: {
57959
+ status: "COMPLETE";
57960
+ address: string;
57961
+ risk: "Low" | "Medium" | "High" | "Severe";
57962
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
57963
+ addressIdentifications: {
57964
+ name: string;
57965
+ description: string;
57966
+ address: string;
57967
+ createdAt: number;
57968
+ category: string;
57969
+ url?: string | null | undefined;
57970
+ }[];
57971
+ cluster?: {
57972
+ name: string;
57973
+ category: string;
57974
+ } | null | undefined;
57975
+ riskReason?: string | null | undefined;
57976
+ exposures?: {
57977
+ value: number;
57978
+ category: string;
57979
+ exposureType: "direct" | "indirect";
57980
+ direction: "both_directions";
57981
+ }[] | null | undefined;
57982
+ triggers?: {
57983
+ message: string;
57984
+ category: string;
57985
+ percentage: number;
57986
+ ruleTriggered?: {
57987
+ risk: string;
57988
+ exposureType: "direct" | "indirect";
57989
+ direction: "both_directions";
57990
+ minThreshold: number;
57991
+ maxThreshold: number;
57992
+ } | null | undefined;
57993
+ }[] | null | undefined;
57994
+ poolMetadata?: {
57995
+ tokens: string[];
57996
+ fees?: number | null | undefined;
57997
+ } | null | undefined;
57998
+ } | {
57999
+ error: {
58000
+ message: string;
58001
+ error: string;
58002
+ data?: string | null | undefined;
58003
+ };
58004
+ };
54878
58005
  } | {
54879
58006
  type: "ipQualityScore" | "integratedIpqualityscore";
54880
58007
  data: {
@@ -55488,6 +58615,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
55488
58615
  risk_level?: number | null | undefined;
55489
58616
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
55490
58617
  };
58618
+ } | {
58619
+ type: "chainalysis";
58620
+ data: {
58621
+ status: "COMPLETE";
58622
+ address: string;
58623
+ risk: "Low" | "Medium" | "High" | "Severe";
58624
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
58625
+ addressIdentifications: {
58626
+ name: string;
58627
+ description: string;
58628
+ address: string;
58629
+ createdAt: number;
58630
+ category: string;
58631
+ url?: string | null | undefined;
58632
+ }[];
58633
+ cluster?: {
58634
+ name: string;
58635
+ category: string;
58636
+ } | null | undefined;
58637
+ riskReason?: string | null | undefined;
58638
+ exposures?: {
58639
+ value: number;
58640
+ category: string;
58641
+ exposureType: "direct" | "indirect";
58642
+ direction: "both_directions";
58643
+ }[] | null | undefined;
58644
+ triggers?: {
58645
+ message: string;
58646
+ category: string;
58647
+ percentage: number;
58648
+ ruleTriggered?: {
58649
+ risk: string;
58650
+ exposureType: "direct" | "indirect";
58651
+ direction: "both_directions";
58652
+ minThreshold: number;
58653
+ maxThreshold: number;
58654
+ } | null | undefined;
58655
+ }[] | null | undefined;
58656
+ poolMetadata?: {
58657
+ tokens: string[];
58658
+ fees?: number | null | undefined;
58659
+ } | null | undefined;
58660
+ } | {
58661
+ error: {
58662
+ message: string;
58663
+ error: string;
58664
+ data?: string | null | undefined;
58665
+ };
58666
+ };
55491
58667
  } | {
55492
58668
  type: "ipQualityScore" | "integratedIpqualityscore";
55493
58669
  data: {
@@ -56103,6 +59279,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
56103
59279
  risk_level?: number | null | undefined;
56104
59280
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
56105
59281
  };
59282
+ } | {
59283
+ type: "chainalysis";
59284
+ data: {
59285
+ status: "COMPLETE";
59286
+ address: string;
59287
+ risk: "Low" | "Medium" | "High" | "Severe";
59288
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
59289
+ addressIdentifications: {
59290
+ name: string;
59291
+ description: string;
59292
+ address: string;
59293
+ createdAt: number;
59294
+ category: string;
59295
+ url?: string | null | undefined;
59296
+ }[];
59297
+ cluster?: {
59298
+ name: string;
59299
+ category: string;
59300
+ } | null | undefined;
59301
+ riskReason?: string | null | undefined;
59302
+ exposures?: {
59303
+ value: number;
59304
+ category: string;
59305
+ exposureType: "direct" | "indirect";
59306
+ direction: "both_directions";
59307
+ }[] | null | undefined;
59308
+ triggers?: {
59309
+ message: string;
59310
+ category: string;
59311
+ percentage: number;
59312
+ ruleTriggered?: {
59313
+ risk: string;
59314
+ exposureType: "direct" | "indirect";
59315
+ direction: "both_directions";
59316
+ minThreshold: number;
59317
+ maxThreshold: number;
59318
+ } | null | undefined;
59319
+ }[] | null | undefined;
59320
+ poolMetadata?: {
59321
+ tokens: string[];
59322
+ fees?: number | null | undefined;
59323
+ } | null | undefined;
59324
+ } | {
59325
+ error: {
59326
+ message: string;
59327
+ error: string;
59328
+ data?: string | null | undefined;
59329
+ };
59330
+ };
56106
59331
  } | {
56107
59332
  type: "ipQualityScore" | "integratedIpqualityscore";
56108
59333
  data: {
@@ -56719,6 +59944,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
56719
59944
  risk_level?: number | null | undefined;
56720
59945
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
56721
59946
  };
59947
+ } | {
59948
+ type: "chainalysis";
59949
+ data: {
59950
+ status: "COMPLETE";
59951
+ address: string;
59952
+ risk: "Low" | "Medium" | "High" | "Severe";
59953
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
59954
+ addressIdentifications: {
59955
+ name: string;
59956
+ description: string;
59957
+ address: string;
59958
+ createdAt: number;
59959
+ category: string;
59960
+ url?: string | null | undefined;
59961
+ }[];
59962
+ cluster?: {
59963
+ name: string;
59964
+ category: string;
59965
+ } | null | undefined;
59966
+ riskReason?: string | null | undefined;
59967
+ exposures?: {
59968
+ value: number;
59969
+ category: string;
59970
+ exposureType: "direct" | "indirect";
59971
+ direction: "both_directions";
59972
+ }[] | null | undefined;
59973
+ triggers?: {
59974
+ message: string;
59975
+ category: string;
59976
+ percentage: number;
59977
+ ruleTriggered?: {
59978
+ risk: string;
59979
+ exposureType: "direct" | "indirect";
59980
+ direction: "both_directions";
59981
+ minThreshold: number;
59982
+ maxThreshold: number;
59983
+ } | null | undefined;
59984
+ }[] | null | undefined;
59985
+ poolMetadata?: {
59986
+ tokens: string[];
59987
+ fees?: number | null | undefined;
59988
+ } | null | undefined;
59989
+ } | {
59990
+ error: {
59991
+ message: string;
59992
+ error: string;
59993
+ data?: string | null | undefined;
59994
+ };
59995
+ };
56722
59996
  } | {
56723
59997
  type: "ipQualityScore" | "integratedIpqualityscore";
56724
59998
  data: {
@@ -57338,6 +60612,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
57338
60612
  risk_level?: number | null | undefined;
57339
60613
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
57340
60614
  };
60615
+ } | {
60616
+ type: "chainalysis";
60617
+ data: {
60618
+ status: "COMPLETE";
60619
+ address: string;
60620
+ risk: "Low" | "Medium" | "High" | "Severe";
60621
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
60622
+ addressIdentifications: {
60623
+ name: string;
60624
+ description: string;
60625
+ address: string;
60626
+ createdAt: number;
60627
+ category: string;
60628
+ url?: string | null | undefined;
60629
+ }[];
60630
+ cluster?: {
60631
+ name: string;
60632
+ category: string;
60633
+ } | null | undefined;
60634
+ riskReason?: string | null | undefined;
60635
+ exposures?: {
60636
+ value: number;
60637
+ category: string;
60638
+ exposureType: "direct" | "indirect";
60639
+ direction: "both_directions";
60640
+ }[] | null | undefined;
60641
+ triggers?: {
60642
+ message: string;
60643
+ category: string;
60644
+ percentage: number;
60645
+ ruleTriggered?: {
60646
+ risk: string;
60647
+ exposureType: "direct" | "indirect";
60648
+ direction: "both_directions";
60649
+ minThreshold: number;
60650
+ maxThreshold: number;
60651
+ } | null | undefined;
60652
+ }[] | null | undefined;
60653
+ poolMetadata?: {
60654
+ tokens: string[];
60655
+ fees?: number | null | undefined;
60656
+ } | null | undefined;
60657
+ } | {
60658
+ error: {
60659
+ message: string;
60660
+ error: string;
60661
+ data?: string | null | undefined;
60662
+ };
60663
+ };
57341
60664
  } | {
57342
60665
  type: "ipQualityScore" | "integratedIpqualityscore";
57343
60666
  data: {
@@ -57957,6 +61280,55 @@ export declare const SendMessageForSendVerificationFlowInput: z.ZodObject<{
57957
61280
  risk_level?: number | null | undefined;
57958
61281
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
57959
61282
  };
61283
+ } | {
61284
+ type: "chainalysis";
61285
+ data: {
61286
+ status: "COMPLETE";
61287
+ address: string;
61288
+ risk: "Low" | "Medium" | "High" | "Severe";
61289
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
61290
+ addressIdentifications: {
61291
+ name: string;
61292
+ description: string;
61293
+ address: string;
61294
+ createdAt: number;
61295
+ category: string;
61296
+ url?: string | null | undefined;
61297
+ }[];
61298
+ cluster?: {
61299
+ name: string;
61300
+ category: string;
61301
+ } | null | undefined;
61302
+ riskReason?: string | null | undefined;
61303
+ exposures?: {
61304
+ value: number;
61305
+ category: string;
61306
+ exposureType: "direct" | "indirect";
61307
+ direction: "both_directions";
61308
+ }[] | null | undefined;
61309
+ triggers?: {
61310
+ message: string;
61311
+ category: string;
61312
+ percentage: number;
61313
+ ruleTriggered?: {
61314
+ risk: string;
61315
+ exposureType: "direct" | "indirect";
61316
+ direction: "both_directions";
61317
+ minThreshold: number;
61318
+ maxThreshold: number;
61319
+ } | null | undefined;
61320
+ }[] | null | undefined;
61321
+ poolMetadata?: {
61322
+ tokens: string[];
61323
+ fees?: number | null | undefined;
61324
+ } | null | undefined;
61325
+ } | {
61326
+ error: {
61327
+ message: string;
61328
+ error: string;
61329
+ data?: string | null | undefined;
61330
+ };
61331
+ };
57960
61332
  } | {
57961
61333
  type: "ipQualityScore" | "integratedIpqualityscore";
57962
61334
  data: {
@@ -62951,6 +66323,323 @@ export declare const ListMessagesOutput: z.ZodObject<{
62951
66323
  risk_level?: number | null | undefined;
62952
66324
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
62953
66325
  };
66326
+ }>, z.ZodObject<{
66327
+ type: z.ZodEnum<["chainalysis"]>;
66328
+ data: z.ZodUnion<[z.ZodObject<{
66329
+ address: z.ZodString;
66330
+ risk: z.ZodEnum<["Severe", "High", "Medium", "Low"]>;
66331
+ riskReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66332
+ cluster: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66333
+ name: z.ZodString;
66334
+ category: z.ZodString;
66335
+ }, "strip", z.ZodTypeAny, {
66336
+ name: string;
66337
+ category: string;
66338
+ }, {
66339
+ name: string;
66340
+ category: string;
66341
+ }>>>;
66342
+ addressType: z.ZodEnum<["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]>;
66343
+ addressIdentifications: z.ZodArray<z.ZodObject<{
66344
+ name: z.ZodString;
66345
+ address: z.ZodString;
66346
+ category: z.ZodString;
66347
+ description: z.ZodString;
66348
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66349
+ createdAt: z.ZodNumber;
66350
+ }, "strip", z.ZodTypeAny, {
66351
+ name: string;
66352
+ description: string;
66353
+ address: string;
66354
+ createdAt: number;
66355
+ category: string;
66356
+ url?: string | null | undefined;
66357
+ }, {
66358
+ name: string;
66359
+ description: string;
66360
+ address: string;
66361
+ createdAt: number;
66362
+ category: string;
66363
+ url?: string | null | undefined;
66364
+ }>, "many">;
66365
+ exposures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
66366
+ category: z.ZodString;
66367
+ value: z.ZodNumber;
66368
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
66369
+ direction: z.ZodLiteral<"both_directions">;
66370
+ }, "strip", z.ZodTypeAny, {
66371
+ value: number;
66372
+ category: string;
66373
+ exposureType: "direct" | "indirect";
66374
+ direction: "both_directions";
66375
+ }, {
66376
+ value: number;
66377
+ category: string;
66378
+ exposureType: "direct" | "indirect";
66379
+ direction: "both_directions";
66380
+ }>, "many">>>;
66381
+ triggers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
66382
+ category: z.ZodString;
66383
+ percentage: z.ZodNumber;
66384
+ message: z.ZodString;
66385
+ ruleTriggered: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66386
+ risk: z.ZodString;
66387
+ minThreshold: z.ZodNumber;
66388
+ maxThreshold: z.ZodNumber;
66389
+ exposureType: z.ZodEnum<["direct", "indirect"]>;
66390
+ direction: z.ZodLiteral<"both_directions">;
66391
+ }, "strip", z.ZodTypeAny, {
66392
+ risk: string;
66393
+ exposureType: "direct" | "indirect";
66394
+ direction: "both_directions";
66395
+ minThreshold: number;
66396
+ maxThreshold: number;
66397
+ }, {
66398
+ risk: string;
66399
+ exposureType: "direct" | "indirect";
66400
+ direction: "both_directions";
66401
+ minThreshold: number;
66402
+ maxThreshold: number;
66403
+ }>>>;
66404
+ }, "strip", z.ZodTypeAny, {
66405
+ message: string;
66406
+ category: string;
66407
+ percentage: number;
66408
+ ruleTriggered?: {
66409
+ risk: string;
66410
+ exposureType: "direct" | "indirect";
66411
+ direction: "both_directions";
66412
+ minThreshold: number;
66413
+ maxThreshold: number;
66414
+ } | null | undefined;
66415
+ }, {
66416
+ message: string;
66417
+ category: string;
66418
+ percentage: number;
66419
+ ruleTriggered?: {
66420
+ risk: string;
66421
+ exposureType: "direct" | "indirect";
66422
+ direction: "both_directions";
66423
+ minThreshold: number;
66424
+ maxThreshold: number;
66425
+ } | null | undefined;
66426
+ }>, "many">>>;
66427
+ status: z.ZodLiteral<"COMPLETE">;
66428
+ poolMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66429
+ fees: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66430
+ tokens: z.ZodArray<z.ZodString, "many">;
66431
+ }, "strip", z.ZodTypeAny, {
66432
+ tokens: string[];
66433
+ fees?: number | null | undefined;
66434
+ }, {
66435
+ tokens: string[];
66436
+ fees?: number | null | undefined;
66437
+ }>>>;
66438
+ }, "strip", z.ZodTypeAny, {
66439
+ status: "COMPLETE";
66440
+ address: string;
66441
+ risk: "Low" | "Medium" | "High" | "Severe";
66442
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66443
+ addressIdentifications: {
66444
+ name: string;
66445
+ description: string;
66446
+ address: string;
66447
+ createdAt: number;
66448
+ category: string;
66449
+ url?: string | null | undefined;
66450
+ }[];
66451
+ cluster?: {
66452
+ name: string;
66453
+ category: string;
66454
+ } | null | undefined;
66455
+ riskReason?: string | null | undefined;
66456
+ exposures?: {
66457
+ value: number;
66458
+ category: string;
66459
+ exposureType: "direct" | "indirect";
66460
+ direction: "both_directions";
66461
+ }[] | null | undefined;
66462
+ triggers?: {
66463
+ message: string;
66464
+ category: string;
66465
+ percentage: number;
66466
+ ruleTriggered?: {
66467
+ risk: string;
66468
+ exposureType: "direct" | "indirect";
66469
+ direction: "both_directions";
66470
+ minThreshold: number;
66471
+ maxThreshold: number;
66472
+ } | null | undefined;
66473
+ }[] | null | undefined;
66474
+ poolMetadata?: {
66475
+ tokens: string[];
66476
+ fees?: number | null | undefined;
66477
+ } | null | undefined;
66478
+ }, {
66479
+ status: "COMPLETE";
66480
+ address: string;
66481
+ risk: "Low" | "Medium" | "High" | "Severe";
66482
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66483
+ addressIdentifications: {
66484
+ name: string;
66485
+ description: string;
66486
+ address: string;
66487
+ createdAt: number;
66488
+ category: string;
66489
+ url?: string | null | undefined;
66490
+ }[];
66491
+ cluster?: {
66492
+ name: string;
66493
+ category: string;
66494
+ } | null | undefined;
66495
+ riskReason?: string | null | undefined;
66496
+ exposures?: {
66497
+ value: number;
66498
+ category: string;
66499
+ exposureType: "direct" | "indirect";
66500
+ direction: "both_directions";
66501
+ }[] | null | undefined;
66502
+ triggers?: {
66503
+ message: string;
66504
+ category: string;
66505
+ percentage: number;
66506
+ ruleTriggered?: {
66507
+ risk: string;
66508
+ exposureType: "direct" | "indirect";
66509
+ direction: "both_directions";
66510
+ minThreshold: number;
66511
+ maxThreshold: number;
66512
+ } | null | undefined;
66513
+ }[] | null | undefined;
66514
+ poolMetadata?: {
66515
+ tokens: string[];
66516
+ fees?: number | null | undefined;
66517
+ } | null | undefined;
66518
+ }>, z.ZodObject<{
66519
+ error: z.ZodObject<{
66520
+ error: z.ZodString;
66521
+ message: z.ZodString;
66522
+ data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66523
+ }, "strip", z.ZodTypeAny, {
66524
+ message: string;
66525
+ error: string;
66526
+ data?: string | null | undefined;
66527
+ }, {
66528
+ message: string;
66529
+ error: string;
66530
+ data?: string | null | undefined;
66531
+ }>;
66532
+ }, "strip", z.ZodTypeAny, {
66533
+ error: {
66534
+ message: string;
66535
+ error: string;
66536
+ data?: string | null | undefined;
66537
+ };
66538
+ }, {
66539
+ error: {
66540
+ message: string;
66541
+ error: string;
66542
+ data?: string | null | undefined;
66543
+ };
66544
+ }>]>;
66545
+ }, "strip", z.ZodTypeAny, {
66546
+ type: "chainalysis";
66547
+ data: {
66548
+ status: "COMPLETE";
66549
+ address: string;
66550
+ risk: "Low" | "Medium" | "High" | "Severe";
66551
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66552
+ addressIdentifications: {
66553
+ name: string;
66554
+ description: string;
66555
+ address: string;
66556
+ createdAt: number;
66557
+ category: string;
66558
+ url?: string | null | undefined;
66559
+ }[];
66560
+ cluster?: {
66561
+ name: string;
66562
+ category: string;
66563
+ } | null | undefined;
66564
+ riskReason?: string | null | undefined;
66565
+ exposures?: {
66566
+ value: number;
66567
+ category: string;
66568
+ exposureType: "direct" | "indirect";
66569
+ direction: "both_directions";
66570
+ }[] | null | undefined;
66571
+ triggers?: {
66572
+ message: string;
66573
+ category: string;
66574
+ percentage: number;
66575
+ ruleTriggered?: {
66576
+ risk: string;
66577
+ exposureType: "direct" | "indirect";
66578
+ direction: "both_directions";
66579
+ minThreshold: number;
66580
+ maxThreshold: number;
66581
+ } | null | undefined;
66582
+ }[] | null | undefined;
66583
+ poolMetadata?: {
66584
+ tokens: string[];
66585
+ fees?: number | null | undefined;
66586
+ } | null | undefined;
66587
+ } | {
66588
+ error: {
66589
+ message: string;
66590
+ error: string;
66591
+ data?: string | null | undefined;
66592
+ };
66593
+ };
66594
+ }, {
66595
+ type: "chainalysis";
66596
+ data: {
66597
+ status: "COMPLETE";
66598
+ address: string;
66599
+ risk: "Low" | "Medium" | "High" | "Severe";
66600
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
66601
+ addressIdentifications: {
66602
+ name: string;
66603
+ description: string;
66604
+ address: string;
66605
+ createdAt: number;
66606
+ category: string;
66607
+ url?: string | null | undefined;
66608
+ }[];
66609
+ cluster?: {
66610
+ name: string;
66611
+ category: string;
66612
+ } | null | undefined;
66613
+ riskReason?: string | null | undefined;
66614
+ exposures?: {
66615
+ value: number;
66616
+ category: string;
66617
+ exposureType: "direct" | "indirect";
66618
+ direction: "both_directions";
66619
+ }[] | null | undefined;
66620
+ triggers?: {
66621
+ message: string;
66622
+ category: string;
66623
+ percentage: number;
66624
+ ruleTriggered?: {
66625
+ risk: string;
66626
+ exposureType: "direct" | "indirect";
66627
+ direction: "both_directions";
66628
+ minThreshold: number;
66629
+ maxThreshold: number;
66630
+ } | null | undefined;
66631
+ }[] | null | undefined;
66632
+ poolMetadata?: {
66633
+ tokens: string[];
66634
+ fees?: number | null | undefined;
66635
+ } | null | undefined;
66636
+ } | {
66637
+ error: {
66638
+ message: string;
66639
+ error: string;
66640
+ data?: string | null | undefined;
66641
+ };
66642
+ };
62954
66643
  }>, z.ZodObject<{
62955
66644
  type: z.ZodEnum<["integratedIpqualityscore", "ipQualityScore"]>;
62956
66645
  data: z.ZodUnion<[z.ZodObject<{
@@ -65324,6 +69013,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
65324
69013
  risk_level?: number | null | undefined;
65325
69014
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
65326
69015
  };
69016
+ } | {
69017
+ type: "chainalysis";
69018
+ data: {
69019
+ status: "COMPLETE";
69020
+ address: string;
69021
+ risk: "Low" | "Medium" | "High" | "Severe";
69022
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
69023
+ addressIdentifications: {
69024
+ name: string;
69025
+ description: string;
69026
+ address: string;
69027
+ createdAt: number;
69028
+ category: string;
69029
+ url?: string | null | undefined;
69030
+ }[];
69031
+ cluster?: {
69032
+ name: string;
69033
+ category: string;
69034
+ } | null | undefined;
69035
+ riskReason?: string | null | undefined;
69036
+ exposures?: {
69037
+ value: number;
69038
+ category: string;
69039
+ exposureType: "direct" | "indirect";
69040
+ direction: "both_directions";
69041
+ }[] | null | undefined;
69042
+ triggers?: {
69043
+ message: string;
69044
+ category: string;
69045
+ percentage: number;
69046
+ ruleTriggered?: {
69047
+ risk: string;
69048
+ exposureType: "direct" | "indirect";
69049
+ direction: "both_directions";
69050
+ minThreshold: number;
69051
+ maxThreshold: number;
69052
+ } | null | undefined;
69053
+ }[] | null | undefined;
69054
+ poolMetadata?: {
69055
+ tokens: string[];
69056
+ fees?: number | null | undefined;
69057
+ } | null | undefined;
69058
+ } | {
69059
+ error: {
69060
+ message: string;
69061
+ error: string;
69062
+ data?: string | null | undefined;
69063
+ };
69064
+ };
65327
69065
  } | {
65328
69066
  type: "ipQualityScore" | "integratedIpqualityscore";
65329
69067
  data: {
@@ -65937,6 +69675,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
65937
69675
  risk_level?: number | null | undefined;
65938
69676
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
65939
69677
  };
69678
+ } | {
69679
+ type: "chainalysis";
69680
+ data: {
69681
+ status: "COMPLETE";
69682
+ address: string;
69683
+ risk: "Low" | "Medium" | "High" | "Severe";
69684
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
69685
+ addressIdentifications: {
69686
+ name: string;
69687
+ description: string;
69688
+ address: string;
69689
+ createdAt: number;
69690
+ category: string;
69691
+ url?: string | null | undefined;
69692
+ }[];
69693
+ cluster?: {
69694
+ name: string;
69695
+ category: string;
69696
+ } | null | undefined;
69697
+ riskReason?: string | null | undefined;
69698
+ exposures?: {
69699
+ value: number;
69700
+ category: string;
69701
+ exposureType: "direct" | "indirect";
69702
+ direction: "both_directions";
69703
+ }[] | null | undefined;
69704
+ triggers?: {
69705
+ message: string;
69706
+ category: string;
69707
+ percentage: number;
69708
+ ruleTriggered?: {
69709
+ risk: string;
69710
+ exposureType: "direct" | "indirect";
69711
+ direction: "both_directions";
69712
+ minThreshold: number;
69713
+ maxThreshold: number;
69714
+ } | null | undefined;
69715
+ }[] | null | undefined;
69716
+ poolMetadata?: {
69717
+ tokens: string[];
69718
+ fees?: number | null | undefined;
69719
+ } | null | undefined;
69720
+ } | {
69721
+ error: {
69722
+ message: string;
69723
+ error: string;
69724
+ data?: string | null | undefined;
69725
+ };
69726
+ };
65940
69727
  } | {
65941
69728
  type: "ipQualityScore" | "integratedIpqualityscore";
65942
69729
  data: {
@@ -66552,6 +70339,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
66552
70339
  risk_level?: number | null | undefined;
66553
70340
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
66554
70341
  };
70342
+ } | {
70343
+ type: "chainalysis";
70344
+ data: {
70345
+ status: "COMPLETE";
70346
+ address: string;
70347
+ risk: "Low" | "Medium" | "High" | "Severe";
70348
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
70349
+ addressIdentifications: {
70350
+ name: string;
70351
+ description: string;
70352
+ address: string;
70353
+ createdAt: number;
70354
+ category: string;
70355
+ url?: string | null | undefined;
70356
+ }[];
70357
+ cluster?: {
70358
+ name: string;
70359
+ category: string;
70360
+ } | null | undefined;
70361
+ riskReason?: string | null | undefined;
70362
+ exposures?: {
70363
+ value: number;
70364
+ category: string;
70365
+ exposureType: "direct" | "indirect";
70366
+ direction: "both_directions";
70367
+ }[] | null | undefined;
70368
+ triggers?: {
70369
+ message: string;
70370
+ category: string;
70371
+ percentage: number;
70372
+ ruleTriggered?: {
70373
+ risk: string;
70374
+ exposureType: "direct" | "indirect";
70375
+ direction: "both_directions";
70376
+ minThreshold: number;
70377
+ maxThreshold: number;
70378
+ } | null | undefined;
70379
+ }[] | null | undefined;
70380
+ poolMetadata?: {
70381
+ tokens: string[];
70382
+ fees?: number | null | undefined;
70383
+ } | null | undefined;
70384
+ } | {
70385
+ error: {
70386
+ message: string;
70387
+ error: string;
70388
+ data?: string | null | undefined;
70389
+ };
70390
+ };
66555
70391
  } | {
66556
70392
  type: "ipQualityScore" | "integratedIpqualityscore";
66557
70393
  data: {
@@ -67168,6 +71004,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
67168
71004
  risk_level?: number | null | undefined;
67169
71005
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
67170
71006
  };
71007
+ } | {
71008
+ type: "chainalysis";
71009
+ data: {
71010
+ status: "COMPLETE";
71011
+ address: string;
71012
+ risk: "Low" | "Medium" | "High" | "Severe";
71013
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
71014
+ addressIdentifications: {
71015
+ name: string;
71016
+ description: string;
71017
+ address: string;
71018
+ createdAt: number;
71019
+ category: string;
71020
+ url?: string | null | undefined;
71021
+ }[];
71022
+ cluster?: {
71023
+ name: string;
71024
+ category: string;
71025
+ } | null | undefined;
71026
+ riskReason?: string | null | undefined;
71027
+ exposures?: {
71028
+ value: number;
71029
+ category: string;
71030
+ exposureType: "direct" | "indirect";
71031
+ direction: "both_directions";
71032
+ }[] | null | undefined;
71033
+ triggers?: {
71034
+ message: string;
71035
+ category: string;
71036
+ percentage: number;
71037
+ ruleTriggered?: {
71038
+ risk: string;
71039
+ exposureType: "direct" | "indirect";
71040
+ direction: "both_directions";
71041
+ minThreshold: number;
71042
+ maxThreshold: number;
71043
+ } | null | undefined;
71044
+ }[] | null | undefined;
71045
+ poolMetadata?: {
71046
+ tokens: string[];
71047
+ fees?: number | null | undefined;
71048
+ } | null | undefined;
71049
+ } | {
71050
+ error: {
71051
+ message: string;
71052
+ error: string;
71053
+ data?: string | null | undefined;
71054
+ };
71055
+ };
67171
71056
  } | {
67172
71057
  type: "ipQualityScore" | "integratedIpqualityscore";
67173
71058
  data: {
@@ -68315,6 +72200,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
68315
72200
  risk_level?: number | null | undefined;
68316
72201
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
68317
72202
  };
72203
+ } | {
72204
+ type: "chainalysis";
72205
+ data: {
72206
+ status: "COMPLETE";
72207
+ address: string;
72208
+ risk: "Low" | "Medium" | "High" | "Severe";
72209
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
72210
+ addressIdentifications: {
72211
+ name: string;
72212
+ description: string;
72213
+ address: string;
72214
+ createdAt: number;
72215
+ category: string;
72216
+ url?: string | null | undefined;
72217
+ }[];
72218
+ cluster?: {
72219
+ name: string;
72220
+ category: string;
72221
+ } | null | undefined;
72222
+ riskReason?: string | null | undefined;
72223
+ exposures?: {
72224
+ value: number;
72225
+ category: string;
72226
+ exposureType: "direct" | "indirect";
72227
+ direction: "both_directions";
72228
+ }[] | null | undefined;
72229
+ triggers?: {
72230
+ message: string;
72231
+ category: string;
72232
+ percentage: number;
72233
+ ruleTriggered?: {
72234
+ risk: string;
72235
+ exposureType: "direct" | "indirect";
72236
+ direction: "both_directions";
72237
+ minThreshold: number;
72238
+ maxThreshold: number;
72239
+ } | null | undefined;
72240
+ }[] | null | undefined;
72241
+ poolMetadata?: {
72242
+ tokens: string[];
72243
+ fees?: number | null | undefined;
72244
+ } | null | undefined;
72245
+ } | {
72246
+ error: {
72247
+ message: string;
72248
+ error: string;
72249
+ data?: string | null | undefined;
72250
+ };
72251
+ };
68318
72252
  } | {
68319
72253
  type: "ipQualityScore" | "integratedIpqualityscore";
68320
72254
  data: {
@@ -69079,6 +73013,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
69079
73013
  risk_level?: number | null | undefined;
69080
73014
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
69081
73015
  };
73016
+ } | {
73017
+ type: "chainalysis";
73018
+ data: {
73019
+ status: "COMPLETE";
73020
+ address: string;
73021
+ risk: "Low" | "Medium" | "High" | "Severe";
73022
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
73023
+ addressIdentifications: {
73024
+ name: string;
73025
+ description: string;
73026
+ address: string;
73027
+ createdAt: number;
73028
+ category: string;
73029
+ url?: string | null | undefined;
73030
+ }[];
73031
+ cluster?: {
73032
+ name: string;
73033
+ category: string;
73034
+ } | null | undefined;
73035
+ riskReason?: string | null | undefined;
73036
+ exposures?: {
73037
+ value: number;
73038
+ category: string;
73039
+ exposureType: "direct" | "indirect";
73040
+ direction: "both_directions";
73041
+ }[] | null | undefined;
73042
+ triggers?: {
73043
+ message: string;
73044
+ category: string;
73045
+ percentage: number;
73046
+ ruleTriggered?: {
73047
+ risk: string;
73048
+ exposureType: "direct" | "indirect";
73049
+ direction: "both_directions";
73050
+ minThreshold: number;
73051
+ maxThreshold: number;
73052
+ } | null | undefined;
73053
+ }[] | null | undefined;
73054
+ poolMetadata?: {
73055
+ tokens: string[];
73056
+ fees?: number | null | undefined;
73057
+ } | null | undefined;
73058
+ } | {
73059
+ error: {
73060
+ message: string;
73061
+ error: string;
73062
+ data?: string | null | undefined;
73063
+ };
73064
+ };
69082
73065
  } | {
69083
73066
  type: "ipQualityScore" | "integratedIpqualityscore";
69084
73067
  data: {
@@ -69845,6 +73828,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
69845
73828
  risk_level?: number | null | undefined;
69846
73829
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
69847
73830
  };
73831
+ } | {
73832
+ type: "chainalysis";
73833
+ data: {
73834
+ status: "COMPLETE";
73835
+ address: string;
73836
+ risk: "Low" | "Medium" | "High" | "Severe";
73837
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
73838
+ addressIdentifications: {
73839
+ name: string;
73840
+ description: string;
73841
+ address: string;
73842
+ createdAt: number;
73843
+ category: string;
73844
+ url?: string | null | undefined;
73845
+ }[];
73846
+ cluster?: {
73847
+ name: string;
73848
+ category: string;
73849
+ } | null | undefined;
73850
+ riskReason?: string | null | undefined;
73851
+ exposures?: {
73852
+ value: number;
73853
+ category: string;
73854
+ exposureType: "direct" | "indirect";
73855
+ direction: "both_directions";
73856
+ }[] | null | undefined;
73857
+ triggers?: {
73858
+ message: string;
73859
+ category: string;
73860
+ percentage: number;
73861
+ ruleTriggered?: {
73862
+ risk: string;
73863
+ exposureType: "direct" | "indirect";
73864
+ direction: "both_directions";
73865
+ minThreshold: number;
73866
+ maxThreshold: number;
73867
+ } | null | undefined;
73868
+ }[] | null | undefined;
73869
+ poolMetadata?: {
73870
+ tokens: string[];
73871
+ fees?: number | null | undefined;
73872
+ } | null | undefined;
73873
+ } | {
73874
+ error: {
73875
+ message: string;
73876
+ error: string;
73877
+ data?: string | null | undefined;
73878
+ };
73879
+ };
69848
73880
  } | {
69849
73881
  type: "ipQualityScore" | "integratedIpqualityscore";
69850
73882
  data: {
@@ -70611,6 +74643,55 @@ export declare const ListMessagesOutput: z.ZodObject<{
70611
74643
  risk_level?: number | null | undefined;
70612
74644
  risk_level_verbose?: "Medium" | "High" | "No Risk Detected" | "Info" | "Caution" | "Critical" | null | undefined;
70613
74645
  };
74646
+ } | {
74647
+ type: "chainalysis";
74648
+ data: {
74649
+ status: "COMPLETE";
74650
+ address: string;
74651
+ risk: "Low" | "Medium" | "High" | "Severe";
74652
+ addressType: "PRIVATE_WALLET" | "LIQUIDITY_POOL" | "SERVICE_PROVIDER";
74653
+ addressIdentifications: {
74654
+ name: string;
74655
+ description: string;
74656
+ address: string;
74657
+ createdAt: number;
74658
+ category: string;
74659
+ url?: string | null | undefined;
74660
+ }[];
74661
+ cluster?: {
74662
+ name: string;
74663
+ category: string;
74664
+ } | null | undefined;
74665
+ riskReason?: string | null | undefined;
74666
+ exposures?: {
74667
+ value: number;
74668
+ category: string;
74669
+ exposureType: "direct" | "indirect";
74670
+ direction: "both_directions";
74671
+ }[] | null | undefined;
74672
+ triggers?: {
74673
+ message: string;
74674
+ category: string;
74675
+ percentage: number;
74676
+ ruleTriggered?: {
74677
+ risk: string;
74678
+ exposureType: "direct" | "indirect";
74679
+ direction: "both_directions";
74680
+ minThreshold: number;
74681
+ maxThreshold: number;
74682
+ } | null | undefined;
74683
+ }[] | null | undefined;
74684
+ poolMetadata?: {
74685
+ tokens: string[];
74686
+ fees?: number | null | undefined;
74687
+ } | null | undefined;
74688
+ } | {
74689
+ error: {
74690
+ message: string;
74691
+ error: string;
74692
+ data?: string | null | undefined;
74693
+ };
74694
+ };
70614
74695
  } | {
70615
74696
  type: "ipQualityScore" | "integratedIpqualityscore";
70616
74697
  data: {