@dalmore/api-contracts 0.0.0-dev.685c0b3 → 0.0.0-dev.6d952b2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/constants.d.ts +43 -0
- package/common/constants.js +77 -0
- package/common/constants.js.map +1 -0
- package/common/helpers/index.d.ts +27 -0
- package/common/helpers/index.js +43 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account-setting.types.d.ts +46 -26
- package/common/types/account-setting.types.js +2 -23
- package/common/types/account-setting.types.js.map +1 -1
- package/common/types/account.types.d.ts +63 -18
- package/common/types/account.types.js +7 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/activity.types.d.ts +36 -25
- package/common/types/activity.types.js +14 -0
- package/common/types/activity.types.js.map +1 -1
- package/common/types/asset.types.d.ts +212 -0
- package/common/types/asset.types.js +115 -42
- package/common/types/asset.types.js.map +1 -1
- package/common/types/attribution.types.d.ts +582 -0
- package/common/types/attribution.types.js +126 -0
- package/common/types/attribution.types.js.map +1 -0
- package/common/types/auth.types.d.ts +37 -1
- package/common/types/auth.types.js +4 -3
- package/common/types/auth.types.js.map +1 -1
- package/common/types/bonus-tier.types.d.ts +15 -4
- package/common/types/bonus-tier.types.js +14 -7
- package/common/types/bonus-tier.types.js.map +1 -1
- package/common/types/cap-table.types.d.ts +256 -61
- package/common/types/cap-table.types.js +52 -0
- package/common/types/cap-table.types.js.map +1 -1
- package/common/types/cart.types.d.ts +3 -0
- package/common/types/cart.types.js +1 -0
- package/common/types/cart.types.js.map +1 -1
- package/common/types/common.types.d.ts +375 -9
- package/common/types/common.types.js +85 -4
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +145 -478
- package/common/types/comply-advantage-api.types.js +24 -3
- package/common/types/comply-advantage-api.types.js.map +1 -1
- package/common/types/csv.types.d.ts +3612 -0
- package/common/types/csv.types.js +290 -0
- package/common/types/csv.types.js.map +1 -0
- package/common/types/dashboard.types.d.ts +7 -7
- package/common/types/data-record.types.d.ts +4 -4
- package/common/types/disbursement-transaction.types.d.ts +1 -1
- package/common/types/disbursement-transaction.types.js +1 -1
- package/common/types/disbursement-transaction.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +1642 -412
- package/common/types/disbursements.types.js +142 -3
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/escrow-account.types.d.ts +17 -0
- package/common/types/escrow-account.types.js +3 -0
- package/common/types/escrow-account.types.js.map +1 -1
- package/common/types/exchange-provider.types.d.ts +12 -12
- package/common/types/file.types.d.ts +38 -11
- package/common/types/file.types.js +14 -0
- package/common/types/file.types.js.map +1 -1
- package/common/types/index.d.ts +5 -2
- package/common/types/index.js +5 -2
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +395 -5
- package/common/types/individuals.types.js +16 -16
- package/common/types/individuals.types.js.map +1 -1
- package/common/types/investor-account.types.d.ts +5 -5
- package/common/types/investor-account.types.js +3 -2
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/investors-offering.types.d.ts +8 -0
- package/common/types/investors-offering.types.js +1 -0
- package/common/types/investors-offering.types.js.map +1 -1
- package/common/types/invite.types.d.ts +5 -2
- package/common/types/invite.types.js +2 -1
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-bank-account.types.d.ts +4 -276
- package/common/types/issuer-offering.types.d.ts +1007 -16
- package/common/types/issuer-offering.types.js +304 -43
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/job-item.types.d.ts +14 -14
- package/common/types/legal-entity.types.d.ts +39 -1
- package/common/types/legal-entity.types.js +8 -5
- package/common/types/legal-entity.types.js.map +1 -1
- package/common/types/mail-template.types.d.ts +85 -4
- package/common/types/mail-template.types.js +130 -0
- package/common/types/mail-template.types.js.map +1 -1
- package/common/types/note.types.d.ts +15 -15
- package/common/types/notification.types.d.ts +1 -0
- package/common/types/notification.types.js +3 -0
- package/common/types/notification.types.js.map +1 -1
- package/common/types/offering-submission.types.d.ts +198 -0
- package/common/types/offering-submission.types.js +17 -4
- package/common/types/offering-submission.types.js.map +1 -1
- package/common/types/offering.types.d.ts +555 -31
- package/common/types/offering.types.js +355 -28
- package/common/types/offering.types.js.map +1 -1
- package/common/types/payment-methods.types.d.ts +365 -0
- package/common/types/payment-methods.types.js +121 -0
- package/common/types/payment-methods.types.js.map +1 -1
- package/common/types/portfolio.types.d.ts +6 -6
- package/common/types/reports.types.d.ts +345 -0
- package/common/types/reports.types.js +69 -0
- package/common/types/reports.types.js.map +1 -0
- package/common/types/review.types.js +1 -1
- package/common/types/review.types.js.map +1 -1
- package/common/types/secondary-order.types.d.ts +10 -10
- package/common/types/secondary-trade.types.d.ts +10 -10
- package/common/types/signer.types.d.ts +23 -11
- package/common/types/signer.types.js +16 -1
- package/common/types/signer.types.js.map +1 -1
- package/common/types/site.types.d.ts +17 -12
- package/common/types/state-machine.types.d.ts +3 -3
- package/common/types/state-machine.types.js +1 -1
- package/common/types/state-machine.types.js.map +1 -1
- package/common/types/task.types.d.ts +30 -22
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade-line-item.types.d.ts +42 -1
- package/common/types/trade-line-item.types.js +15 -1
- package/common/types/trade-line-item.types.js.map +1 -1
- package/common/types/trade.types.d.ts +84 -59
- package/common/types/trade.types.js +31 -11
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +104 -3
- package/common/types/transaction.types.js +48 -3
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +108 -77
- package/common/types/user.types.js +10 -22
- package/common/types/user.types.js.map +1 -1
- package/common/types/zapier.types.d.ts +126 -0
- package/common/types/zapier.types.js +247 -0
- package/common/types/zapier.types.js.map +1 -0
- package/contracts/clients/assets/index.d.ts +22 -0
- package/contracts/clients/cart/index.d.ts +3 -0
- package/contracts/clients/csv/index.d.ts +1988 -0
- package/contracts/clients/csv/index.js +96 -0
- package/contracts/clients/csv/index.js.map +1 -0
- package/contracts/clients/files/index.d.ts +3 -3
- package/contracts/clients/files-public/index.d.ts +3 -3
- package/contracts/clients/index.d.ts +4265 -1060
- package/contracts/clients/index.js +8 -2
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +381 -5
- package/contracts/clients/legal-entities/index.d.ts +1 -1
- package/contracts/clients/offerings/index.d.ts +310 -9
- package/contracts/clients/review/index.d.ts +85 -0
- package/contracts/clients/review/index.js +27 -0
- package/contracts/clients/review/index.js.map +1 -0
- package/contracts/clients/trades/index.d.ts +9 -3
- package/contracts/clients/webhooks/index.d.ts +506 -0
- package/contracts/clients/webhooks/index.js +118 -0
- package/contracts/clients/webhooks/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -183,7 +183,7 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
183
183
|
listing_ended_utc?: string | undefined;
|
|
184
184
|
source_id?: string | undefined;
|
|
185
185
|
}>>>;
|
|
186
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
186
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
187
187
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
188
188
|
public_url: z.ZodOptional<z.ZodString>;
|
|
189
189
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -290,7 +290,7 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
290
290
|
listing_ended_utc?: string | undefined;
|
|
291
291
|
source_id?: string | undefined;
|
|
292
292
|
}>>>;
|
|
293
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
293
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
294
294
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
295
295
|
public_url: z.ZodOptional<z.ZodString>;
|
|
296
296
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -397,7 +397,7 @@ export declare const EntitySchema: z.ZodObject<{
|
|
|
397
397
|
listing_ended_utc?: string | undefined;
|
|
398
398
|
source_id?: string | undefined;
|
|
399
399
|
}>>>;
|
|
400
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
400
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
401
401
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
402
402
|
public_url: z.ZodOptional<z.ZodString>;
|
|
403
403
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -511,7 +511,7 @@ export declare const HitSchema: z.ZodObject<{
|
|
|
511
511
|
listing_ended_utc?: string | undefined;
|
|
512
512
|
source_id?: string | undefined;
|
|
513
513
|
}>>>;
|
|
514
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
514
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
515
515
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
516
516
|
public_url: z.ZodOptional<z.ZodString>;
|
|
517
517
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -618,7 +618,7 @@ export declare const HitSchema: z.ZodObject<{
|
|
|
618
618
|
listing_ended_utc?: string | undefined;
|
|
619
619
|
source_id?: string | undefined;
|
|
620
620
|
}>>>;
|
|
621
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
621
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
622
622
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
623
623
|
public_url: z.ZodOptional<z.ZodString>;
|
|
624
624
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -725,7 +725,7 @@ export declare const HitSchema: z.ZodObject<{
|
|
|
725
725
|
listing_ended_utc?: string | undefined;
|
|
726
726
|
source_id?: string | undefined;
|
|
727
727
|
}>>>;
|
|
728
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
728
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
729
729
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
730
730
|
public_url: z.ZodOptional<z.ZodString>;
|
|
731
731
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -773,7 +773,7 @@ export declare const HitSchema: z.ZodObject<{
|
|
|
773
773
|
tag?: string | undefined;
|
|
774
774
|
locale?: string | undefined;
|
|
775
775
|
}[] | undefined;
|
|
776
|
-
keywords?: string[] | undefined;
|
|
776
|
+
keywords?: string | string[] | undefined;
|
|
777
777
|
first_name?: string | undefined;
|
|
778
778
|
last_name?: string | undefined;
|
|
779
779
|
types?: string[] | undefined;
|
|
@@ -830,7 +830,7 @@ export declare const HitSchema: z.ZodObject<{
|
|
|
830
830
|
tag?: string | undefined;
|
|
831
831
|
locale?: string | undefined;
|
|
832
832
|
}[] | undefined;
|
|
833
|
-
keywords?: string[] | undefined;
|
|
833
|
+
keywords?: string | string[] | undefined;
|
|
834
834
|
first_name?: string | undefined;
|
|
835
835
|
last_name?: string | undefined;
|
|
836
836
|
types?: string[] | undefined;
|
|
@@ -865,6 +865,36 @@ export declare const HitSchema: z.ZodObject<{
|
|
|
865
865
|
risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
|
|
866
866
|
}>;
|
|
867
867
|
export type Hit = z.infer<typeof HitSchema>;
|
|
868
|
+
/**
|
|
869
|
+
* Entity details model returned from /searches/{ref}/entities/comply endpoint
|
|
870
|
+
* This is the actual structure returned by the entities endpoint, different from HitSchema
|
|
871
|
+
*/
|
|
872
|
+
export declare const EntityDetailsSchema: z.ZodObject<{
|
|
873
|
+
id: z.ZodString;
|
|
874
|
+
last_updated_utc: z.ZodOptional<z.ZodString>;
|
|
875
|
+
created_utc: z.ZodOptional<z.ZodString>;
|
|
876
|
+
key_information: z.ZodAny;
|
|
877
|
+
uncategorized: z.ZodOptional<z.ZodAny>;
|
|
878
|
+
full_listing: z.ZodOptional<z.ZodAny>;
|
|
879
|
+
navigation: z.ZodOptional<z.ZodAny>;
|
|
880
|
+
}, "strip", z.ZodTypeAny, {
|
|
881
|
+
id: string;
|
|
882
|
+
last_updated_utc?: string | undefined;
|
|
883
|
+
created_utc?: string | undefined;
|
|
884
|
+
key_information?: any;
|
|
885
|
+
uncategorized?: any;
|
|
886
|
+
full_listing?: any;
|
|
887
|
+
navigation?: any;
|
|
888
|
+
}, {
|
|
889
|
+
id: string;
|
|
890
|
+
last_updated_utc?: string | undefined;
|
|
891
|
+
created_utc?: string | undefined;
|
|
892
|
+
key_information?: any;
|
|
893
|
+
uncategorized?: any;
|
|
894
|
+
full_listing?: any;
|
|
895
|
+
navigation?: any;
|
|
896
|
+
}>;
|
|
897
|
+
export type EntityDetails = z.infer<typeof EntityDetailsSchema>;
|
|
868
898
|
/**
|
|
869
899
|
* Search profile information
|
|
870
900
|
* @see https://docs.complyadvantage.com/api-docs/#creating-searches
|
|
@@ -1127,7 +1157,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1127
1157
|
listing_ended_utc?: string | undefined;
|
|
1128
1158
|
source_id?: string | undefined;
|
|
1129
1159
|
}>>>;
|
|
1130
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1160
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
1131
1161
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1132
1162
|
public_url: z.ZodOptional<z.ZodString>;
|
|
1133
1163
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -1234,7 +1264,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1234
1264
|
listing_ended_utc?: string | undefined;
|
|
1235
1265
|
source_id?: string | undefined;
|
|
1236
1266
|
}>>>;
|
|
1237
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1267
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
1238
1268
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1239
1269
|
public_url: z.ZodOptional<z.ZodString>;
|
|
1240
1270
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -1341,7 +1371,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1341
1371
|
listing_ended_utc?: string | undefined;
|
|
1342
1372
|
source_id?: string | undefined;
|
|
1343
1373
|
}>>>;
|
|
1344
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1374
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
1345
1375
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1346
1376
|
public_url: z.ZodOptional<z.ZodString>;
|
|
1347
1377
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -1389,7 +1419,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1389
1419
|
tag?: string | undefined;
|
|
1390
1420
|
locale?: string | undefined;
|
|
1391
1421
|
}[] | undefined;
|
|
1392
|
-
keywords?: string[] | undefined;
|
|
1422
|
+
keywords?: string | string[] | undefined;
|
|
1393
1423
|
first_name?: string | undefined;
|
|
1394
1424
|
last_name?: string | undefined;
|
|
1395
1425
|
types?: string[] | undefined;
|
|
@@ -1446,7 +1476,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1446
1476
|
tag?: string | undefined;
|
|
1447
1477
|
locale?: string | undefined;
|
|
1448
1478
|
}[] | undefined;
|
|
1449
|
-
keywords?: string[] | undefined;
|
|
1479
|
+
keywords?: string | string[] | undefined;
|
|
1450
1480
|
first_name?: string | undefined;
|
|
1451
1481
|
last_name?: string | undefined;
|
|
1452
1482
|
types?: string[] | undefined;
|
|
@@ -1485,10 +1515,10 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1485
1515
|
id: number;
|
|
1486
1516
|
created_at: string;
|
|
1487
1517
|
updated_at: string;
|
|
1518
|
+
ref: string;
|
|
1488
1519
|
match_status: ComplyAdvantageStatus;
|
|
1489
1520
|
search_term: string;
|
|
1490
1521
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
1491
|
-
ref: string;
|
|
1492
1522
|
searcher_id: number;
|
|
1493
1523
|
assignee_id: number;
|
|
1494
1524
|
total_hits: number;
|
|
@@ -1562,7 +1592,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1562
1592
|
tag?: string | undefined;
|
|
1563
1593
|
locale?: string | undefined;
|
|
1564
1594
|
}[] | undefined;
|
|
1565
|
-
keywords?: string[] | undefined;
|
|
1595
|
+
keywords?: string | string[] | undefined;
|
|
1566
1596
|
first_name?: string | undefined;
|
|
1567
1597
|
last_name?: string | undefined;
|
|
1568
1598
|
types?: string[] | undefined;
|
|
@@ -1601,10 +1631,10 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1601
1631
|
id: number;
|
|
1602
1632
|
created_at: string;
|
|
1603
1633
|
updated_at: string;
|
|
1634
|
+
ref: string;
|
|
1604
1635
|
match_status: ComplyAdvantageStatus;
|
|
1605
1636
|
search_term: string;
|
|
1606
1637
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
1607
|
-
ref: string;
|
|
1608
1638
|
searcher_id: number;
|
|
1609
1639
|
assignee_id: number;
|
|
1610
1640
|
total_hits: number;
|
|
@@ -1678,7 +1708,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1678
1708
|
tag?: string | undefined;
|
|
1679
1709
|
locale?: string | undefined;
|
|
1680
1710
|
}[] | undefined;
|
|
1681
|
-
keywords?: string[] | undefined;
|
|
1711
|
+
keywords?: string | string[] | undefined;
|
|
1682
1712
|
first_name?: string | undefined;
|
|
1683
1713
|
last_name?: string | undefined;
|
|
1684
1714
|
types?: string[] | undefined;
|
|
@@ -1719,10 +1749,10 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1719
1749
|
id: number;
|
|
1720
1750
|
created_at: string;
|
|
1721
1751
|
updated_at: string;
|
|
1752
|
+
ref: string;
|
|
1722
1753
|
match_status: ComplyAdvantageStatus;
|
|
1723
1754
|
search_term: string;
|
|
1724
1755
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
1725
|
-
ref: string;
|
|
1726
1756
|
searcher_id: number;
|
|
1727
1757
|
assignee_id: number;
|
|
1728
1758
|
total_hits: number;
|
|
@@ -1796,7 +1826,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1796
1826
|
tag?: string | undefined;
|
|
1797
1827
|
locale?: string | undefined;
|
|
1798
1828
|
}[] | undefined;
|
|
1799
|
-
keywords?: string[] | undefined;
|
|
1829
|
+
keywords?: string | string[] | undefined;
|
|
1800
1830
|
first_name?: string | undefined;
|
|
1801
1831
|
last_name?: string | undefined;
|
|
1802
1832
|
types?: string[] | undefined;
|
|
@@ -1837,10 +1867,10 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1837
1867
|
id: number;
|
|
1838
1868
|
created_at: string;
|
|
1839
1869
|
updated_at: string;
|
|
1870
|
+
ref: string;
|
|
1840
1871
|
match_status: ComplyAdvantageStatus;
|
|
1841
1872
|
search_term: string;
|
|
1842
1873
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
1843
|
-
ref: string;
|
|
1844
1874
|
searcher_id: number;
|
|
1845
1875
|
assignee_id: number;
|
|
1846
1876
|
total_hits: number;
|
|
@@ -1914,7 +1944,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1914
1944
|
tag?: string | undefined;
|
|
1915
1945
|
locale?: string | undefined;
|
|
1916
1946
|
}[] | undefined;
|
|
1917
|
-
keywords?: string[] | undefined;
|
|
1947
|
+
keywords?: string | string[] | undefined;
|
|
1918
1948
|
first_name?: string | undefined;
|
|
1919
1949
|
last_name?: string | undefined;
|
|
1920
1950
|
types?: string[] | undefined;
|
|
@@ -1959,10 +1989,10 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
1959
1989
|
id: number;
|
|
1960
1990
|
created_at: string;
|
|
1961
1991
|
updated_at: string;
|
|
1992
|
+
ref: string;
|
|
1962
1993
|
match_status: ComplyAdvantageStatus;
|
|
1963
1994
|
search_term: string;
|
|
1964
1995
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
1965
|
-
ref: string;
|
|
1966
1996
|
searcher_id: number;
|
|
1967
1997
|
assignee_id: number;
|
|
1968
1998
|
total_hits: number;
|
|
@@ -2036,7 +2066,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
2036
2066
|
tag?: string | undefined;
|
|
2037
2067
|
locale?: string | undefined;
|
|
2038
2068
|
}[] | undefined;
|
|
2039
|
-
keywords?: string[] | undefined;
|
|
2069
|
+
keywords?: string | string[] | undefined;
|
|
2040
2070
|
first_name?: string | undefined;
|
|
2041
2071
|
last_name?: string | undefined;
|
|
2042
2072
|
types?: string[] | undefined;
|
|
@@ -2082,10 +2112,10 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
2082
2112
|
id: number;
|
|
2083
2113
|
created_at: string;
|
|
2084
2114
|
updated_at: string;
|
|
2115
|
+
ref: string;
|
|
2085
2116
|
match_status: ComplyAdvantageStatus;
|
|
2086
2117
|
search_term: string;
|
|
2087
2118
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
2088
|
-
ref: string;
|
|
2089
2119
|
searcher_id: number;
|
|
2090
2120
|
assignee_id: number;
|
|
2091
2121
|
total_hits: number;
|
|
@@ -2159,7 +2189,7 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
2159
2189
|
tag?: string | undefined;
|
|
2160
2190
|
locale?: string | undefined;
|
|
2161
2191
|
}[] | undefined;
|
|
2162
|
-
keywords?: string[] | undefined;
|
|
2192
|
+
keywords?: string | string[] | undefined;
|
|
2163
2193
|
first_name?: string | undefined;
|
|
2164
2194
|
last_name?: string | undefined;
|
|
2165
2195
|
types?: string[] | undefined;
|
|
@@ -2201,452 +2231,89 @@ export declare const CreateSearchResponseSchema: z.ZodObject<{
|
|
|
2201
2231
|
}>;
|
|
2202
2232
|
export type CreateSearchResponse = z.infer<typeof CreateSearchResponseSchema>;
|
|
2203
2233
|
/**
|
|
2204
|
-
* GET /searches/{ref}/entities/comply - Get search entities response
|
|
2234
|
+
* GET /searches/{ref}/entities/comply - Get search entities API response wrapper
|
|
2205
2235
|
* @see https://docs.complyadvantage.com/api-docs/#get-searchesrefentitiesentity_provider
|
|
2206
2236
|
*/
|
|
2207
|
-
export declare const
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
last_updated_utc: z.ZodOptional<z.ZodString>;
|
|
2212
|
-
name: z.ZodString;
|
|
2213
|
-
first_name: z.ZodOptional<z.ZodString>;
|
|
2214
|
-
middle_name: z.ZodOptional<z.ZodString>;
|
|
2215
|
-
last_name: z.ZodOptional<z.ZodString>;
|
|
2216
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2217
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2218
|
-
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2219
|
-
name: z.ZodString;
|
|
2220
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
2221
|
-
value: z.ZodString;
|
|
2222
|
-
source: z.ZodOptional<z.ZodString>;
|
|
2223
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
2224
|
-
}, "strip", z.ZodTypeAny, {
|
|
2225
|
-
value: string;
|
|
2226
|
-
name: string;
|
|
2227
|
-
source?: string | undefined;
|
|
2228
|
-
tag?: string | undefined;
|
|
2229
|
-
locale?: string | undefined;
|
|
2230
|
-
}, {
|
|
2231
|
-
value: string;
|
|
2232
|
-
name: string;
|
|
2233
|
-
source?: string | undefined;
|
|
2234
|
-
tag?: string | undefined;
|
|
2235
|
-
locale?: string | undefined;
|
|
2236
|
-
}>, "many">>;
|
|
2237
|
-
aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2238
|
-
name: z.ZodString;
|
|
2239
|
-
}, "strip", z.ZodTypeAny, {
|
|
2240
|
-
name: string;
|
|
2241
|
-
}, {
|
|
2242
|
-
name: string;
|
|
2243
|
-
}>, "many">>;
|
|
2244
|
-
associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2245
|
-
name: z.ZodString;
|
|
2246
|
-
association: z.ZodOptional<z.ZodString>;
|
|
2247
|
-
}, "strip", z.ZodTypeAny, {
|
|
2248
|
-
name: string;
|
|
2249
|
-
association?: string | undefined;
|
|
2250
|
-
}, {
|
|
2251
|
-
name: string;
|
|
2252
|
-
association?: string | undefined;
|
|
2253
|
-
}>, "many">>;
|
|
2254
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2255
|
-
date: z.ZodOptional<z.ZodString>;
|
|
2256
|
-
snippet: z.ZodOptional<z.ZodString>;
|
|
2257
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2258
|
-
url: z.ZodString;
|
|
2259
|
-
pdf_url: z.ZodOptional<z.ZodString>;
|
|
2260
|
-
}, "strip", z.ZodTypeAny, {
|
|
2261
|
-
url: string;
|
|
2262
|
-
date?: string | undefined;
|
|
2263
|
-
title?: string | undefined;
|
|
2264
|
-
snippet?: string | undefined;
|
|
2265
|
-
pdf_url?: string | undefined;
|
|
2266
|
-
}, {
|
|
2267
|
-
url: string;
|
|
2268
|
-
date?: string | undefined;
|
|
2269
|
-
title?: string | undefined;
|
|
2270
|
-
snippet?: string | undefined;
|
|
2271
|
-
pdf_url?: string | undefined;
|
|
2272
|
-
}>, "many">>;
|
|
2273
|
-
source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2274
|
-
aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2275
|
-
country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2276
|
-
listing_started_utc: z.ZodOptional<z.ZodString>;
|
|
2277
|
-
listing_ended_utc: z.ZodOptional<z.ZodString>;
|
|
2278
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2279
|
-
source_id: z.ZodOptional<z.ZodString>;
|
|
2280
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2281
|
-
}, "strip", z.ZodTypeAny, {
|
|
2282
|
-
name?: string | undefined;
|
|
2283
|
-
url?: string | undefined;
|
|
2284
|
-
country_codes?: string[] | undefined;
|
|
2285
|
-
aml_types?: string[] | undefined;
|
|
2286
|
-
listing_started_utc?: string | undefined;
|
|
2287
|
-
listing_ended_utc?: string | undefined;
|
|
2288
|
-
source_id?: string | undefined;
|
|
2289
|
-
}, {
|
|
2290
|
-
name?: string | undefined;
|
|
2291
|
-
url?: string | undefined;
|
|
2292
|
-
country_codes?: string[] | undefined;
|
|
2293
|
-
aml_types?: string[] | undefined;
|
|
2294
|
-
listing_started_utc?: string | undefined;
|
|
2295
|
-
listing_ended_utc?: string | undefined;
|
|
2296
|
-
source_id?: string | undefined;
|
|
2297
|
-
}>>>;
|
|
2298
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2299
|
-
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2300
|
-
public_url: z.ZodOptional<z.ZodString>;
|
|
2301
|
-
source: z.ZodOptional<z.ZodString>;
|
|
2302
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2303
|
-
url: z.ZodString;
|
|
2304
|
-
}, "strip", z.ZodTypeAny, {
|
|
2305
|
-
url: string;
|
|
2306
|
-
type?: string | undefined;
|
|
2307
|
-
public_url?: string | undefined;
|
|
2308
|
-
source?: string | undefined;
|
|
2309
|
-
}, {
|
|
2310
|
-
url: string;
|
|
2311
|
-
type?: string | undefined;
|
|
2312
|
-
public_url?: string | undefined;
|
|
2313
|
-
source?: string | undefined;
|
|
2314
|
-
}>, "many">>;
|
|
2315
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2316
|
-
id: z.ZodString;
|
|
2317
|
-
entity_type: z.ZodOptional<z.ZodString>;
|
|
2318
|
-
last_updated_utc: z.ZodOptional<z.ZodString>;
|
|
2319
|
-
name: z.ZodString;
|
|
2320
|
-
first_name: z.ZodOptional<z.ZodString>;
|
|
2321
|
-
middle_name: z.ZodOptional<z.ZodString>;
|
|
2322
|
-
last_name: z.ZodOptional<z.ZodString>;
|
|
2323
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2324
|
-
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2325
|
-
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2326
|
-
name: z.ZodString;
|
|
2327
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
2328
|
-
value: z.ZodString;
|
|
2329
|
-
source: z.ZodOptional<z.ZodString>;
|
|
2330
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
}, "strip", z.ZodTypeAny, {
|
|
2332
|
-
value: string;
|
|
2333
|
-
name: string;
|
|
2334
|
-
source?: string | undefined;
|
|
2335
|
-
tag?: string | undefined;
|
|
2336
|
-
locale?: string | undefined;
|
|
2337
|
-
}, {
|
|
2338
|
-
value: string;
|
|
2339
|
-
name: string;
|
|
2340
|
-
source?: string | undefined;
|
|
2341
|
-
tag?: string | undefined;
|
|
2342
|
-
locale?: string | undefined;
|
|
2343
|
-
}>, "many">>;
|
|
2344
|
-
aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2345
|
-
name: z.ZodString;
|
|
2346
|
-
}, "strip", z.ZodTypeAny, {
|
|
2347
|
-
name: string;
|
|
2348
|
-
}, {
|
|
2349
|
-
name: string;
|
|
2350
|
-
}>, "many">>;
|
|
2351
|
-
associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2352
|
-
name: z.ZodString;
|
|
2353
|
-
association: z.ZodOptional<z.ZodString>;
|
|
2354
|
-
}, "strip", z.ZodTypeAny, {
|
|
2355
|
-
name: string;
|
|
2356
|
-
association?: string | undefined;
|
|
2357
|
-
}, {
|
|
2358
|
-
name: string;
|
|
2359
|
-
association?: string | undefined;
|
|
2360
|
-
}>, "many">>;
|
|
2361
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2362
|
-
date: z.ZodOptional<z.ZodString>;
|
|
2363
|
-
snippet: z.ZodOptional<z.ZodString>;
|
|
2364
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2365
|
-
url: z.ZodString;
|
|
2366
|
-
pdf_url: z.ZodOptional<z.ZodString>;
|
|
2367
|
-
}, "strip", z.ZodTypeAny, {
|
|
2368
|
-
url: string;
|
|
2369
|
-
date?: string | undefined;
|
|
2370
|
-
title?: string | undefined;
|
|
2371
|
-
snippet?: string | undefined;
|
|
2372
|
-
pdf_url?: string | undefined;
|
|
2373
|
-
}, {
|
|
2374
|
-
url: string;
|
|
2375
|
-
date?: string | undefined;
|
|
2376
|
-
title?: string | undefined;
|
|
2377
|
-
snippet?: string | undefined;
|
|
2378
|
-
pdf_url?: string | undefined;
|
|
2379
|
-
}>, "many">>;
|
|
2380
|
-
source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2381
|
-
aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2382
|
-
country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2383
|
-
listing_started_utc: z.ZodOptional<z.ZodString>;
|
|
2384
|
-
listing_ended_utc: z.ZodOptional<z.ZodString>;
|
|
2385
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2386
|
-
source_id: z.ZodOptional<z.ZodString>;
|
|
2387
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2388
|
-
}, "strip", z.ZodTypeAny, {
|
|
2389
|
-
name?: string | undefined;
|
|
2390
|
-
url?: string | undefined;
|
|
2391
|
-
country_codes?: string[] | undefined;
|
|
2392
|
-
aml_types?: string[] | undefined;
|
|
2393
|
-
listing_started_utc?: string | undefined;
|
|
2394
|
-
listing_ended_utc?: string | undefined;
|
|
2395
|
-
source_id?: string | undefined;
|
|
2396
|
-
}, {
|
|
2397
|
-
name?: string | undefined;
|
|
2398
|
-
url?: string | undefined;
|
|
2399
|
-
country_codes?: string[] | undefined;
|
|
2400
|
-
aml_types?: string[] | undefined;
|
|
2401
|
-
listing_started_utc?: string | undefined;
|
|
2402
|
-
listing_ended_utc?: string | undefined;
|
|
2403
|
-
source_id?: string | undefined;
|
|
2404
|
-
}>>>;
|
|
2405
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2406
|
-
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2407
|
-
public_url: z.ZodOptional<z.ZodString>;
|
|
2408
|
-
source: z.ZodOptional<z.ZodString>;
|
|
2409
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2410
|
-
url: z.ZodString;
|
|
2411
|
-
}, "strip", z.ZodTypeAny, {
|
|
2412
|
-
url: string;
|
|
2413
|
-
type?: string | undefined;
|
|
2414
|
-
public_url?: string | undefined;
|
|
2415
|
-
source?: string | undefined;
|
|
2416
|
-
}, {
|
|
2417
|
-
url: string;
|
|
2418
|
-
type?: string | undefined;
|
|
2419
|
-
public_url?: string | undefined;
|
|
2420
|
-
source?: string | undefined;
|
|
2421
|
-
}>, "many">>;
|
|
2422
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2237
|
+
export declare const GetSearchEntitiesApiResponseSchema: z.ZodObject<{
|
|
2238
|
+
code: z.ZodNumber;
|
|
2239
|
+
status: z.ZodEnum<["success", "failure"]>;
|
|
2240
|
+
content: z.ZodArray<z.ZodObject<{
|
|
2423
2241
|
id: z.ZodString;
|
|
2424
|
-
entity_type: z.ZodOptional<z.ZodString>;
|
|
2425
2242
|
last_updated_utc: z.ZodOptional<z.ZodString>;
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
tag?: string | undefined;
|
|
2449
|
-
locale?: string | undefined;
|
|
2450
|
-
}>, "many">>;
|
|
2451
|
-
aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2452
|
-
name: z.ZodString;
|
|
2453
|
-
}, "strip", z.ZodTypeAny, {
|
|
2454
|
-
name: string;
|
|
2455
|
-
}, {
|
|
2456
|
-
name: string;
|
|
2457
|
-
}>, "many">>;
|
|
2458
|
-
associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2459
|
-
name: z.ZodString;
|
|
2460
|
-
association: z.ZodOptional<z.ZodString>;
|
|
2461
|
-
}, "strip", z.ZodTypeAny, {
|
|
2462
|
-
name: string;
|
|
2463
|
-
association?: string | undefined;
|
|
2464
|
-
}, {
|
|
2465
|
-
name: string;
|
|
2466
|
-
association?: string | undefined;
|
|
2467
|
-
}>, "many">>;
|
|
2468
|
-
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2469
|
-
date: z.ZodOptional<z.ZodString>;
|
|
2470
|
-
snippet: z.ZodOptional<z.ZodString>;
|
|
2471
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2472
|
-
url: z.ZodString;
|
|
2473
|
-
pdf_url: z.ZodOptional<z.ZodString>;
|
|
2474
|
-
}, "strip", z.ZodTypeAny, {
|
|
2475
|
-
url: string;
|
|
2476
|
-
date?: string | undefined;
|
|
2477
|
-
title?: string | undefined;
|
|
2478
|
-
snippet?: string | undefined;
|
|
2479
|
-
pdf_url?: string | undefined;
|
|
2480
|
-
}, {
|
|
2481
|
-
url: string;
|
|
2482
|
-
date?: string | undefined;
|
|
2483
|
-
title?: string | undefined;
|
|
2484
|
-
snippet?: string | undefined;
|
|
2485
|
-
pdf_url?: string | undefined;
|
|
2486
|
-
}>, "many">>;
|
|
2487
|
-
source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2488
|
-
aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2489
|
-
country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2490
|
-
listing_started_utc: z.ZodOptional<z.ZodString>;
|
|
2491
|
-
listing_ended_utc: z.ZodOptional<z.ZodString>;
|
|
2492
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2493
|
-
source_id: z.ZodOptional<z.ZodString>;
|
|
2494
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2495
|
-
}, "strip", z.ZodTypeAny, {
|
|
2496
|
-
name?: string | undefined;
|
|
2497
|
-
url?: string | undefined;
|
|
2498
|
-
country_codes?: string[] | undefined;
|
|
2499
|
-
aml_types?: string[] | undefined;
|
|
2500
|
-
listing_started_utc?: string | undefined;
|
|
2501
|
-
listing_ended_utc?: string | undefined;
|
|
2502
|
-
source_id?: string | undefined;
|
|
2503
|
-
}, {
|
|
2504
|
-
name?: string | undefined;
|
|
2505
|
-
url?: string | undefined;
|
|
2506
|
-
country_codes?: string[] | undefined;
|
|
2507
|
-
aml_types?: string[] | undefined;
|
|
2508
|
-
listing_started_utc?: string | undefined;
|
|
2509
|
-
listing_ended_utc?: string | undefined;
|
|
2510
|
-
source_id?: string | undefined;
|
|
2511
|
-
}>>>;
|
|
2512
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2513
|
-
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2514
|
-
public_url: z.ZodOptional<z.ZodString>;
|
|
2515
|
-
source: z.ZodOptional<z.ZodString>;
|
|
2516
|
-
type: z.ZodOptional<z.ZodString>;
|
|
2517
|
-
url: z.ZodString;
|
|
2518
|
-
}, "strip", z.ZodTypeAny, {
|
|
2519
|
-
url: string;
|
|
2520
|
-
type?: string | undefined;
|
|
2521
|
-
public_url?: string | undefined;
|
|
2522
|
-
source?: string | undefined;
|
|
2523
|
-
}, {
|
|
2524
|
-
url: string;
|
|
2525
|
-
type?: string | undefined;
|
|
2526
|
-
public_url?: string | undefined;
|
|
2527
|
-
source?: string | undefined;
|
|
2528
|
-
}>, "many">>;
|
|
2529
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2530
|
-
is_whitelisted: z.ZodOptional<z.ZodBoolean>;
|
|
2531
|
-
match_types: z.ZodArray<z.ZodString, "many">;
|
|
2532
|
-
match_types_details: z.ZodOptional<z.ZodAny>;
|
|
2533
|
-
score: z.ZodNumber;
|
|
2534
|
-
match_status: z.ZodOptional<z.ZodNativeEnum<typeof ComplyAdvantageStatus>>;
|
|
2535
|
-
risk_level: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "unknown"]>>;
|
|
2243
|
+
created_utc: z.ZodOptional<z.ZodString>;
|
|
2244
|
+
key_information: z.ZodAny;
|
|
2245
|
+
uncategorized: z.ZodOptional<z.ZodAny>;
|
|
2246
|
+
full_listing: z.ZodOptional<z.ZodAny>;
|
|
2247
|
+
navigation: z.ZodOptional<z.ZodAny>;
|
|
2248
|
+
}, "strip", z.ZodTypeAny, {
|
|
2249
|
+
id: string;
|
|
2250
|
+
last_updated_utc?: string | undefined;
|
|
2251
|
+
created_utc?: string | undefined;
|
|
2252
|
+
key_information?: any;
|
|
2253
|
+
uncategorized?: any;
|
|
2254
|
+
full_listing?: any;
|
|
2255
|
+
navigation?: any;
|
|
2256
|
+
}, {
|
|
2257
|
+
id: string;
|
|
2258
|
+
last_updated_utc?: string | undefined;
|
|
2259
|
+
created_utc?: string | undefined;
|
|
2260
|
+
key_information?: any;
|
|
2261
|
+
uncategorized?: any;
|
|
2262
|
+
full_listing?: any;
|
|
2263
|
+
navigation?: any;
|
|
2264
|
+
}>, "many">;
|
|
2536
2265
|
}, "strip", z.ZodTypeAny, {
|
|
2537
|
-
|
|
2266
|
+
code: number;
|
|
2267
|
+
status: "success" | "failure";
|
|
2268
|
+
content: {
|
|
2538
2269
|
id: string;
|
|
2539
|
-
name: string;
|
|
2540
|
-
media?: {
|
|
2541
|
-
url: string;
|
|
2542
|
-
date?: string | undefined;
|
|
2543
|
-
title?: string | undefined;
|
|
2544
|
-
snippet?: string | undefined;
|
|
2545
|
-
pdf_url?: string | undefined;
|
|
2546
|
-
}[] | undefined;
|
|
2547
|
-
assets?: {
|
|
2548
|
-
url: string;
|
|
2549
|
-
type?: string | undefined;
|
|
2550
|
-
public_url?: string | undefined;
|
|
2551
|
-
source?: string | undefined;
|
|
2552
|
-
}[] | undefined;
|
|
2553
|
-
fields?: {
|
|
2554
|
-
value: string;
|
|
2555
|
-
name: string;
|
|
2556
|
-
source?: string | undefined;
|
|
2557
|
-
tag?: string | undefined;
|
|
2558
|
-
locale?: string | undefined;
|
|
2559
|
-
}[] | undefined;
|
|
2560
|
-
keywords?: string[] | undefined;
|
|
2561
|
-
first_name?: string | undefined;
|
|
2562
|
-
last_name?: string | undefined;
|
|
2563
|
-
types?: string[] | undefined;
|
|
2564
|
-
entity_type?: string | undefined;
|
|
2565
2270
|
last_updated_utc?: string | undefined;
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
name: string;
|
|
2573
|
-
association?: string | undefined;
|
|
2574
|
-
}[] | undefined;
|
|
2575
|
-
source_notes?: Record<string, {
|
|
2576
|
-
name?: string | undefined;
|
|
2577
|
-
url?: string | undefined;
|
|
2578
|
-
country_codes?: string[] | undefined;
|
|
2579
|
-
aml_types?: string[] | undefined;
|
|
2580
|
-
listing_started_utc?: string | undefined;
|
|
2581
|
-
listing_ended_utc?: string | undefined;
|
|
2582
|
-
source_id?: string | undefined;
|
|
2583
|
-
}> | undefined;
|
|
2584
|
-
} & {
|
|
2585
|
-
[k: string]: unknown;
|
|
2586
|
-
};
|
|
2587
|
-
match_types: string[];
|
|
2588
|
-
score: number;
|
|
2589
|
-
match_status?: ComplyAdvantageStatus | undefined;
|
|
2590
|
-
is_whitelisted?: boolean | undefined;
|
|
2591
|
-
match_types_details?: any;
|
|
2592
|
-
risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
|
|
2271
|
+
created_utc?: string | undefined;
|
|
2272
|
+
key_information?: any;
|
|
2273
|
+
uncategorized?: any;
|
|
2274
|
+
full_listing?: any;
|
|
2275
|
+
navigation?: any;
|
|
2276
|
+
}[];
|
|
2593
2277
|
}, {
|
|
2594
|
-
|
|
2278
|
+
code: number;
|
|
2279
|
+
status: "success" | "failure";
|
|
2280
|
+
content: {
|
|
2595
2281
|
id: string;
|
|
2596
|
-
name: string;
|
|
2597
|
-
media?: {
|
|
2598
|
-
url: string;
|
|
2599
|
-
date?: string | undefined;
|
|
2600
|
-
title?: string | undefined;
|
|
2601
|
-
snippet?: string | undefined;
|
|
2602
|
-
pdf_url?: string | undefined;
|
|
2603
|
-
}[] | undefined;
|
|
2604
|
-
assets?: {
|
|
2605
|
-
url: string;
|
|
2606
|
-
type?: string | undefined;
|
|
2607
|
-
public_url?: string | undefined;
|
|
2608
|
-
source?: string | undefined;
|
|
2609
|
-
}[] | undefined;
|
|
2610
|
-
fields?: {
|
|
2611
|
-
value: string;
|
|
2612
|
-
name: string;
|
|
2613
|
-
source?: string | undefined;
|
|
2614
|
-
tag?: string | undefined;
|
|
2615
|
-
locale?: string | undefined;
|
|
2616
|
-
}[] | undefined;
|
|
2617
|
-
keywords?: string[] | undefined;
|
|
2618
|
-
first_name?: string | undefined;
|
|
2619
|
-
last_name?: string | undefined;
|
|
2620
|
-
types?: string[] | undefined;
|
|
2621
|
-
entity_type?: string | undefined;
|
|
2622
2282
|
last_updated_utc?: string | undefined;
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2283
|
+
created_utc?: string | undefined;
|
|
2284
|
+
key_information?: any;
|
|
2285
|
+
uncategorized?: any;
|
|
2286
|
+
full_listing?: any;
|
|
2287
|
+
navigation?: any;
|
|
2288
|
+
}[];
|
|
2289
|
+
}>;
|
|
2290
|
+
/**
|
|
2291
|
+
* GET /searches/{ref}/entities/comply - Get search entities response (unwrapped array)
|
|
2292
|
+
*/
|
|
2293
|
+
export declare const GetSearchEntitiesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
2294
|
+
id: z.ZodString;
|
|
2295
|
+
last_updated_utc: z.ZodOptional<z.ZodString>;
|
|
2296
|
+
created_utc: z.ZodOptional<z.ZodString>;
|
|
2297
|
+
key_information: z.ZodAny;
|
|
2298
|
+
uncategorized: z.ZodOptional<z.ZodAny>;
|
|
2299
|
+
full_listing: z.ZodOptional<z.ZodAny>;
|
|
2300
|
+
navigation: z.ZodOptional<z.ZodAny>;
|
|
2301
|
+
}, "strip", z.ZodTypeAny, {
|
|
2302
|
+
id: string;
|
|
2303
|
+
last_updated_utc?: string | undefined;
|
|
2304
|
+
created_utc?: string | undefined;
|
|
2305
|
+
key_information?: any;
|
|
2306
|
+
uncategorized?: any;
|
|
2307
|
+
full_listing?: any;
|
|
2308
|
+
navigation?: any;
|
|
2309
|
+
}, {
|
|
2310
|
+
id: string;
|
|
2311
|
+
last_updated_utc?: string | undefined;
|
|
2312
|
+
created_utc?: string | undefined;
|
|
2313
|
+
key_information?: any;
|
|
2314
|
+
uncategorized?: any;
|
|
2315
|
+
full_listing?: any;
|
|
2316
|
+
navigation?: any;
|
|
2650
2317
|
}>, "many">;
|
|
2651
2318
|
export type GetSearchEntitiesResponse = z.infer<typeof GetSearchEntitiesResponseSchema>;
|
|
2652
2319
|
/**
|
|
@@ -2865,7 +2532,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
2865
2532
|
listing_ended_utc?: string | undefined;
|
|
2866
2533
|
source_id?: string | undefined;
|
|
2867
2534
|
}>>>;
|
|
2868
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2535
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
2869
2536
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2870
2537
|
public_url: z.ZodOptional<z.ZodString>;
|
|
2871
2538
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -2972,7 +2639,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
2972
2639
|
listing_ended_utc?: string | undefined;
|
|
2973
2640
|
source_id?: string | undefined;
|
|
2974
2641
|
}>>>;
|
|
2975
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2642
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
2976
2643
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2977
2644
|
public_url: z.ZodOptional<z.ZodString>;
|
|
2978
2645
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -3079,7 +2746,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3079
2746
|
listing_ended_utc?: string | undefined;
|
|
3080
2747
|
source_id?: string | undefined;
|
|
3081
2748
|
}>>>;
|
|
3082
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2749
|
+
keywords: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
|
|
3083
2750
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3084
2751
|
public_url: z.ZodOptional<z.ZodString>;
|
|
3085
2752
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -3127,7 +2794,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3127
2794
|
tag?: string | undefined;
|
|
3128
2795
|
locale?: string | undefined;
|
|
3129
2796
|
}[] | undefined;
|
|
3130
|
-
keywords?: string[] | undefined;
|
|
2797
|
+
keywords?: string | string[] | undefined;
|
|
3131
2798
|
first_name?: string | undefined;
|
|
3132
2799
|
last_name?: string | undefined;
|
|
3133
2800
|
types?: string[] | undefined;
|
|
@@ -3184,7 +2851,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3184
2851
|
tag?: string | undefined;
|
|
3185
2852
|
locale?: string | undefined;
|
|
3186
2853
|
}[] | undefined;
|
|
3187
|
-
keywords?: string[] | undefined;
|
|
2854
|
+
keywords?: string | string[] | undefined;
|
|
3188
2855
|
first_name?: string | undefined;
|
|
3189
2856
|
last_name?: string | undefined;
|
|
3190
2857
|
types?: string[] | undefined;
|
|
@@ -3224,10 +2891,10 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3224
2891
|
id: number;
|
|
3225
2892
|
created_at: string;
|
|
3226
2893
|
updated_at: string;
|
|
2894
|
+
ref: string;
|
|
3227
2895
|
match_status: ComplyAdvantageStatus;
|
|
3228
2896
|
search_term: string;
|
|
3229
2897
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
3230
|
-
ref: string;
|
|
3231
2898
|
searcher_id: number;
|
|
3232
2899
|
assignee_id: number;
|
|
3233
2900
|
total_hits: number;
|
|
@@ -3256,7 +2923,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3256
2923
|
tag?: string | undefined;
|
|
3257
2924
|
locale?: string | undefined;
|
|
3258
2925
|
}[] | undefined;
|
|
3259
|
-
keywords?: string[] | undefined;
|
|
2926
|
+
keywords?: string | string[] | undefined;
|
|
3260
2927
|
first_name?: string | undefined;
|
|
3261
2928
|
last_name?: string | undefined;
|
|
3262
2929
|
types?: string[] | undefined;
|
|
@@ -3339,10 +3006,10 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3339
3006
|
id: number;
|
|
3340
3007
|
created_at: string;
|
|
3341
3008
|
updated_at: string;
|
|
3009
|
+
ref: string;
|
|
3342
3010
|
match_status: ComplyAdvantageStatus;
|
|
3343
3011
|
search_term: string;
|
|
3344
3012
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
3345
|
-
ref: string;
|
|
3346
3013
|
searcher_id: number;
|
|
3347
3014
|
assignee_id: number;
|
|
3348
3015
|
total_hits: number;
|
|
@@ -3371,7 +3038,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3371
3038
|
tag?: string | undefined;
|
|
3372
3039
|
locale?: string | undefined;
|
|
3373
3040
|
}[] | undefined;
|
|
3374
|
-
keywords?: string[] | undefined;
|
|
3041
|
+
keywords?: string | string[] | undefined;
|
|
3375
3042
|
first_name?: string | undefined;
|
|
3376
3043
|
last_name?: string | undefined;
|
|
3377
3044
|
types?: string[] | undefined;
|
|
@@ -3456,10 +3123,10 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3456
3123
|
id: number;
|
|
3457
3124
|
created_at: string;
|
|
3458
3125
|
updated_at: string;
|
|
3126
|
+
ref: string;
|
|
3459
3127
|
match_status: ComplyAdvantageStatus;
|
|
3460
3128
|
search_term: string;
|
|
3461
3129
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
3462
|
-
ref: string;
|
|
3463
3130
|
searcher_id: number;
|
|
3464
3131
|
assignee_id: number;
|
|
3465
3132
|
total_hits: number;
|
|
@@ -3488,7 +3155,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3488
3155
|
tag?: string | undefined;
|
|
3489
3156
|
locale?: string | undefined;
|
|
3490
3157
|
}[] | undefined;
|
|
3491
|
-
keywords?: string[] | undefined;
|
|
3158
|
+
keywords?: string | string[] | undefined;
|
|
3492
3159
|
first_name?: string | undefined;
|
|
3493
3160
|
last_name?: string | undefined;
|
|
3494
3161
|
types?: string[] | undefined;
|
|
@@ -3573,10 +3240,10 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3573
3240
|
id: number;
|
|
3574
3241
|
created_at: string;
|
|
3575
3242
|
updated_at: string;
|
|
3243
|
+
ref: string;
|
|
3576
3244
|
match_status: ComplyAdvantageStatus;
|
|
3577
3245
|
search_term: string;
|
|
3578
3246
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
3579
|
-
ref: string;
|
|
3580
3247
|
searcher_id: number;
|
|
3581
3248
|
assignee_id: number;
|
|
3582
3249
|
total_hits: number;
|
|
@@ -3605,7 +3272,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3605
3272
|
tag?: string | undefined;
|
|
3606
3273
|
locale?: string | undefined;
|
|
3607
3274
|
}[] | undefined;
|
|
3608
|
-
keywords?: string[] | undefined;
|
|
3275
|
+
keywords?: string | string[] | undefined;
|
|
3609
3276
|
first_name?: string | undefined;
|
|
3610
3277
|
last_name?: string | undefined;
|
|
3611
3278
|
types?: string[] | undefined;
|
|
@@ -3695,10 +3362,10 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3695
3362
|
id: number;
|
|
3696
3363
|
created_at: string;
|
|
3697
3364
|
updated_at: string;
|
|
3365
|
+
ref: string;
|
|
3698
3366
|
match_status: ComplyAdvantageStatus;
|
|
3699
3367
|
search_term: string;
|
|
3700
3368
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
3701
|
-
ref: string;
|
|
3702
3369
|
searcher_id: number;
|
|
3703
3370
|
assignee_id: number;
|
|
3704
3371
|
total_hits: number;
|
|
@@ -3727,7 +3394,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3727
3394
|
tag?: string | undefined;
|
|
3728
3395
|
locale?: string | undefined;
|
|
3729
3396
|
}[] | undefined;
|
|
3730
|
-
keywords?: string[] | undefined;
|
|
3397
|
+
keywords?: string | string[] | undefined;
|
|
3731
3398
|
first_name?: string | undefined;
|
|
3732
3399
|
last_name?: string | undefined;
|
|
3733
3400
|
types?: string[] | undefined;
|
|
@@ -3817,10 +3484,10 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3817
3484
|
id: number;
|
|
3818
3485
|
created_at: string;
|
|
3819
3486
|
updated_at: string;
|
|
3487
|
+
ref: string;
|
|
3820
3488
|
match_status: ComplyAdvantageStatus;
|
|
3821
3489
|
search_term: string;
|
|
3822
3490
|
risk_level: "unknown" | "low" | "medium" | "high";
|
|
3823
|
-
ref: string;
|
|
3824
3491
|
searcher_id: number;
|
|
3825
3492
|
assignee_id: number;
|
|
3826
3493
|
total_hits: number;
|
|
@@ -3849,7 +3516,7 @@ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
|
|
|
3849
3516
|
tag?: string | undefined;
|
|
3850
3517
|
locale?: string | undefined;
|
|
3851
3518
|
}[] | undefined;
|
|
3852
|
-
keywords?: string[] | undefined;
|
|
3519
|
+
keywords?: string | string[] | undefined;
|
|
3853
3520
|
first_name?: string | undefined;
|
|
3854
3521
|
last_name?: string | undefined;
|
|
3855
3522
|
types?: string[] | undefined;
|