@dalmore/api-contracts 0.0.0-dev.d4be84e → 0.0.0-dev.d4fc9b8
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 +15 -0
- package/common/constants.js +15 -0
- package/common/constants.js.map +1 -1
- package/common/helpers/index.d.ts +19 -0
- package/common/helpers/index.js +28 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account.types.js +3 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/attribution.types.d.ts +147 -0
- package/common/types/attribution.types.js +103 -0
- package/common/types/attribution.types.js.map +1 -0
- package/common/types/common.types.d.ts +12 -3
- package/common/types/common.types.js +12 -3
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +12 -12
- package/common/types/csv.types.d.ts +2020 -138
- package/common/types/csv.types.js +145 -33
- package/common/types/csv.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +6 -6
- package/common/types/disbursements.types.js +1 -1
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/index.d.ts +1 -2
- package/common/types/index.js +1 -2
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +188 -0
- package/common/types/investor-account.types.js +2 -0
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/invite.types.d.ts +3 -0
- package/common/types/invite.types.js +1 -0
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +163 -0
- package/common/types/issuer-offering.types.js +5 -6
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/mail-template.types.d.ts +4 -4
- 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.js +1 -1
- package/common/types/offering.types.js +4 -1
- 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/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 +8 -0
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade.types.d.ts +10 -14
- package/common/types/trade.types.js +2 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +24 -1
- package/common/types/transaction.types.js +26 -0
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +3 -0
- package/common/types/user.types.js +4 -0
- 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/csv/index.d.ts +262 -7
- package/contracts/clients/csv/index.js +19 -2
- package/contracts/clients/csv/index.js.map +1 -1
- package/contracts/clients/index.d.ts +1719 -663
- package/contracts/clients/index.js +4 -2
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +376 -0
- 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
|
@@ -585,244 +585,8 @@ export declare const clientsContract: {
|
|
|
585
585
|
};
|
|
586
586
|
};
|
|
587
587
|
};
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
method: "POST";
|
|
591
|
-
metadata: {
|
|
592
|
-
auth: boolean;
|
|
593
|
-
};
|
|
594
|
-
body: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
595
|
-
firstName: import("zod").ZodString;
|
|
596
|
-
lastName: import("zod").ZodString;
|
|
597
|
-
email: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
598
|
-
password: import("zod").ZodString;
|
|
599
|
-
} & {
|
|
600
|
-
confirmPassword: import("zod").ZodString;
|
|
601
|
-
phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, {
|
|
602
|
-
isOk: () => boolean;
|
|
603
|
-
isErr: () => boolean;
|
|
604
|
-
value?: any;
|
|
605
|
-
error?: any;
|
|
606
|
-
} | import("neverthrow").Ok<null, never>, string | null>, {
|
|
607
|
-
isOk: () => boolean;
|
|
608
|
-
isErr: () => boolean;
|
|
609
|
-
value?: any;
|
|
610
|
-
error?: any;
|
|
611
|
-
} | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
|
|
612
|
-
site: import("zod").ZodString;
|
|
613
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
614
|
-
firstName: string;
|
|
615
|
-
lastName: string;
|
|
616
|
-
email: string;
|
|
617
|
-
site: string;
|
|
618
|
-
password: string;
|
|
619
|
-
confirmPassword: string;
|
|
620
|
-
phoneNumber?: any;
|
|
621
|
-
}, {
|
|
622
|
-
firstName: string;
|
|
623
|
-
lastName: string;
|
|
624
|
-
email: string;
|
|
625
|
-
site: string;
|
|
626
|
-
password: string;
|
|
627
|
-
confirmPassword: string;
|
|
628
|
-
phoneNumber?: string | null | undefined;
|
|
629
|
-
}>, {
|
|
630
|
-
firstName: string;
|
|
631
|
-
lastName: string;
|
|
632
|
-
email: string;
|
|
633
|
-
site: string;
|
|
634
|
-
password: string;
|
|
635
|
-
confirmPassword: string;
|
|
636
|
-
phoneNumber?: any;
|
|
637
|
-
}, {
|
|
638
|
-
firstName: string;
|
|
639
|
-
lastName: string;
|
|
640
|
-
email: string;
|
|
641
|
-
site: string;
|
|
642
|
-
password: string;
|
|
643
|
-
confirmPassword: string;
|
|
644
|
-
phoneNumber?: string | null | undefined;
|
|
645
|
-
}>;
|
|
646
|
-
summary: "Register investor with email (API Key Auth)";
|
|
647
|
-
path: "/clients/api/v1/auth/register/investor";
|
|
648
|
-
responses: {
|
|
649
|
-
201: import("zod").ZodObject<{
|
|
650
|
-
userId: import("zod").ZodString;
|
|
651
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
652
|
-
userId: string;
|
|
653
|
-
}, {
|
|
654
|
-
userId: string;
|
|
655
|
-
}>;
|
|
656
|
-
400: import("zod").ZodObject<{
|
|
657
|
-
status: import("zod").ZodNumber;
|
|
658
|
-
message: import("zod").ZodString;
|
|
659
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
660
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
661
|
-
message: string;
|
|
662
|
-
status: number;
|
|
663
|
-
errors: string[];
|
|
664
|
-
}, {
|
|
665
|
-
message: string;
|
|
666
|
-
status: number;
|
|
667
|
-
errors: string[];
|
|
668
|
-
}>;
|
|
669
|
-
401: import("zod").ZodObject<{
|
|
670
|
-
status: import("zod").ZodNumber;
|
|
671
|
-
message: import("zod").ZodString;
|
|
672
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
673
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
674
|
-
message: string;
|
|
675
|
-
status: number;
|
|
676
|
-
errors: string[];
|
|
677
|
-
}, {
|
|
678
|
-
message: string;
|
|
679
|
-
status: number;
|
|
680
|
-
errors: string[];
|
|
681
|
-
}>;
|
|
682
|
-
500: import("zod").ZodObject<{
|
|
683
|
-
status: import("zod").ZodNumber;
|
|
684
|
-
message: import("zod").ZodString;
|
|
685
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
686
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
687
|
-
message: string;
|
|
688
|
-
status: number;
|
|
689
|
-
errors: string[];
|
|
690
|
-
}, {
|
|
691
|
-
message: string;
|
|
692
|
-
status: number;
|
|
693
|
-
errors: string[];
|
|
694
|
-
}>;
|
|
695
|
-
};
|
|
696
|
-
};
|
|
697
|
-
registerIssuer: {
|
|
698
|
-
method: "POST";
|
|
699
|
-
metadata: {
|
|
700
|
-
auth: boolean;
|
|
701
|
-
};
|
|
702
|
-
body: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
|
|
703
|
-
firstName: import("zod").ZodString;
|
|
704
|
-
lastName: import("zod").ZodString;
|
|
705
|
-
email: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
706
|
-
password: import("zod").ZodString;
|
|
707
|
-
} & {
|
|
708
|
-
confirmPassword: import("zod").ZodString;
|
|
709
|
-
accountName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
710
|
-
accountType: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").ManagedByType>>>;
|
|
711
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
712
|
-
firstName: string;
|
|
713
|
-
lastName: string;
|
|
714
|
-
email: string;
|
|
715
|
-
password: string;
|
|
716
|
-
confirmPassword: string;
|
|
717
|
-
accountType: import("../..").ManagedByType;
|
|
718
|
-
accountName?: string | null | undefined;
|
|
719
|
-
}, {
|
|
720
|
-
firstName: string;
|
|
721
|
-
lastName: string;
|
|
722
|
-
email: string;
|
|
723
|
-
password: string;
|
|
724
|
-
confirmPassword: string;
|
|
725
|
-
accountName?: string | null | undefined;
|
|
726
|
-
accountType?: import("../..").ManagedByType | undefined;
|
|
727
|
-
}>, {
|
|
728
|
-
firstName: string;
|
|
729
|
-
lastName: string;
|
|
730
|
-
email: string;
|
|
731
|
-
password: string;
|
|
732
|
-
confirmPassword: string;
|
|
733
|
-
accountType: import("../..").ManagedByType;
|
|
734
|
-
accountName?: string | null | undefined;
|
|
735
|
-
}, {
|
|
736
|
-
firstName: string;
|
|
737
|
-
lastName: string;
|
|
738
|
-
email: string;
|
|
739
|
-
password: string;
|
|
740
|
-
confirmPassword: string;
|
|
741
|
-
accountName?: string | null | undefined;
|
|
742
|
-
accountType?: import("../..").ManagedByType | undefined;
|
|
743
|
-
}>, {
|
|
744
|
-
firstName: string;
|
|
745
|
-
lastName: string;
|
|
746
|
-
email: string;
|
|
747
|
-
password: string;
|
|
748
|
-
confirmPassword: string;
|
|
749
|
-
accountType: import("../..").ManagedByType;
|
|
750
|
-
accountName?: string | null | undefined;
|
|
751
|
-
}, {
|
|
752
|
-
firstName: string;
|
|
753
|
-
lastName: string;
|
|
754
|
-
email: string;
|
|
755
|
-
password: string;
|
|
756
|
-
confirmPassword: string;
|
|
757
|
-
accountName?: string | null | undefined;
|
|
758
|
-
accountType?: import("../..").ManagedByType | undefined;
|
|
759
|
-
}>;
|
|
760
|
-
summary: "Register issuer with email (API Key Auth)";
|
|
761
|
-
path: "/clients/api/v1/auth/register/issuer";
|
|
762
|
-
responses: {
|
|
763
|
-
201: import("zod").ZodObject<{
|
|
764
|
-
accessToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
765
|
-
requiresTwoFactor: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
766
|
-
temporaryToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
767
|
-
requiresTwoFactorSetup: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
768
|
-
twoFactorMethod: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").TwoFactorMethod>>;
|
|
769
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
770
|
-
requiresTwoFactorSetup?: boolean | undefined;
|
|
771
|
-
twoFactorMethod?: import("../..").TwoFactorMethod | undefined;
|
|
772
|
-
temporaryToken?: string | undefined;
|
|
773
|
-
accessToken?: string | undefined;
|
|
774
|
-
requiresTwoFactor?: boolean | undefined;
|
|
775
|
-
}, {
|
|
776
|
-
requiresTwoFactorSetup?: boolean | undefined;
|
|
777
|
-
twoFactorMethod?: import("../..").TwoFactorMethod | undefined;
|
|
778
|
-
temporaryToken?: string | undefined;
|
|
779
|
-
accessToken?: string | undefined;
|
|
780
|
-
requiresTwoFactor?: boolean | undefined;
|
|
781
|
-
}>;
|
|
782
|
-
400: import("zod").ZodObject<{
|
|
783
|
-
status: import("zod").ZodNumber;
|
|
784
|
-
message: import("zod").ZodString;
|
|
785
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
786
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
787
|
-
message: string;
|
|
788
|
-
status: number;
|
|
789
|
-
errors: string[];
|
|
790
|
-
}, {
|
|
791
|
-
message: string;
|
|
792
|
-
status: number;
|
|
793
|
-
errors: string[];
|
|
794
|
-
}>;
|
|
795
|
-
401: import("zod").ZodObject<{
|
|
796
|
-
status: import("zod").ZodNumber;
|
|
797
|
-
message: import("zod").ZodString;
|
|
798
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
799
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
800
|
-
message: string;
|
|
801
|
-
status: number;
|
|
802
|
-
errors: string[];
|
|
803
|
-
}, {
|
|
804
|
-
message: string;
|
|
805
|
-
status: number;
|
|
806
|
-
errors: string[];
|
|
807
|
-
}>;
|
|
808
|
-
500: import("zod").ZodObject<{
|
|
809
|
-
status: import("zod").ZodNumber;
|
|
810
|
-
message: import("zod").ZodString;
|
|
811
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
812
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
813
|
-
message: string;
|
|
814
|
-
status: number;
|
|
815
|
-
errors: string[];
|
|
816
|
-
}, {
|
|
817
|
-
message: string;
|
|
818
|
-
status: number;
|
|
819
|
-
errors: string[];
|
|
820
|
-
}>;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
|
-
};
|
|
824
|
-
apiKeys: {
|
|
825
|
-
getApiKeys: {
|
|
588
|
+
apiKeyLogs: {
|
|
589
|
+
getApiKeyLogs: {
|
|
826
590
|
method: "GET";
|
|
827
591
|
metadata: {
|
|
828
592
|
auth: boolean;
|
|
@@ -830,15 +594,34 @@ export declare const clientsContract: {
|
|
|
830
594
|
query: import("zod").ZodObject<{
|
|
831
595
|
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
832
596
|
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
597
|
+
} & {
|
|
598
|
+
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
599
|
+
apiKeyId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
600
|
+
method: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").HttpMethod>>;
|
|
601
|
+
status: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNativeEnum<typeof import("@nestjs/common").HttpStatus>, import("@nestjs/common").HttpStatus, unknown>>;
|
|
602
|
+
from: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
603
|
+
to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
833
604
|
}, "strip", import("zod").ZodTypeAny, {
|
|
834
605
|
page: number;
|
|
835
606
|
limit: number;
|
|
607
|
+
status?: import("@nestjs/common").HttpStatus | undefined;
|
|
608
|
+
from?: Date | null | undefined;
|
|
609
|
+
to?: Date | null | undefined;
|
|
610
|
+
endpoint?: string | undefined;
|
|
611
|
+
apiKeyId?: string | undefined;
|
|
612
|
+
method?: import("../..").HttpMethod | undefined;
|
|
836
613
|
}, {
|
|
614
|
+
status?: unknown;
|
|
837
615
|
page?: number | undefined;
|
|
838
616
|
limit?: number | undefined;
|
|
617
|
+
from?: string | null | undefined;
|
|
618
|
+
to?: string | null | undefined;
|
|
619
|
+
endpoint?: string | undefined;
|
|
620
|
+
apiKeyId?: string | undefined;
|
|
621
|
+
method?: import("../..").HttpMethod | undefined;
|
|
839
622
|
}>;
|
|
840
|
-
summary: "Get API
|
|
841
|
-
path: "/clients/api/v1/api-
|
|
623
|
+
summary: "Get API key logs";
|
|
624
|
+
path: "/clients/api/v1/api-key-logs";
|
|
842
625
|
responses: {
|
|
843
626
|
200: import("zod").ZodObject<{
|
|
844
627
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -848,41 +631,38 @@ export declare const clientsContract: {
|
|
|
848
631
|
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
849
632
|
} & {
|
|
850
633
|
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
roleId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
634
|
+
apiKeyId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
635
|
+
method: import("zod").ZodNativeEnum<typeof import("../..").HttpMethod>;
|
|
636
|
+
path: import("zod").ZodString;
|
|
637
|
+
status: import("zod").ZodNativeEnum<typeof import("@nestjs/common").HttpStatus>;
|
|
638
|
+
durationMs: import("zod").ZodNumber;
|
|
639
|
+
requestBody: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
640
|
+
responseBody: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
859
641
|
}, "strip", import("zod").ZodTypeAny, {
|
|
642
|
+
path: string;
|
|
643
|
+
status: import("@nestjs/common").HttpStatus;
|
|
860
644
|
id: string;
|
|
861
645
|
createdAt: string | Date;
|
|
862
646
|
updatedAt: string | Date;
|
|
863
647
|
deletedAt: string | Date | null;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
description: string | null;
|
|
870
|
-
lastUsedAt: Date | null;
|
|
871
|
-
keyHash: string;
|
|
648
|
+
apiKeyId: string;
|
|
649
|
+
method: import("../..").HttpMethod;
|
|
650
|
+
durationMs: number;
|
|
651
|
+
requestBody: Record<string, any> | null;
|
|
652
|
+
responseBody: Record<string, any> | null;
|
|
872
653
|
__entity?: string | undefined;
|
|
873
654
|
}, {
|
|
655
|
+
path: string;
|
|
656
|
+
status: import("@nestjs/common").HttpStatus;
|
|
874
657
|
id: string;
|
|
875
658
|
createdAt: string | Date;
|
|
876
659
|
updatedAt: string | Date;
|
|
877
660
|
deletedAt: string | Date | null;
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
description: string | null;
|
|
884
|
-
lastUsedAt: Date | null;
|
|
885
|
-
keyHash: string;
|
|
661
|
+
apiKeyId: string;
|
|
662
|
+
method: import("../..").HttpMethod;
|
|
663
|
+
durationMs: number;
|
|
664
|
+
requestBody: Record<string, any> | null;
|
|
665
|
+
responseBody: Record<string, any> | null;
|
|
886
666
|
__entity?: string | undefined;
|
|
887
667
|
}>, "many">;
|
|
888
668
|
meta: import("zod").ZodObject<{
|
|
@@ -906,18 +686,17 @@ export declare const clientsContract: {
|
|
|
906
686
|
}>;
|
|
907
687
|
}, "strip", import("zod").ZodTypeAny, {
|
|
908
688
|
items: {
|
|
689
|
+
path: string;
|
|
690
|
+
status: import("@nestjs/common").HttpStatus;
|
|
909
691
|
id: string;
|
|
910
692
|
createdAt: string | Date;
|
|
911
693
|
updatedAt: string | Date;
|
|
912
694
|
deletedAt: string | Date | null;
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
description: string | null;
|
|
919
|
-
lastUsedAt: Date | null;
|
|
920
|
-
keyHash: string;
|
|
695
|
+
apiKeyId: string;
|
|
696
|
+
method: import("../..").HttpMethod;
|
|
697
|
+
durationMs: number;
|
|
698
|
+
requestBody: Record<string, any> | null;
|
|
699
|
+
responseBody: Record<string, any> | null;
|
|
921
700
|
__entity?: string | undefined;
|
|
922
701
|
}[];
|
|
923
702
|
meta: {
|
|
@@ -929,18 +708,17 @@ export declare const clientsContract: {
|
|
|
929
708
|
};
|
|
930
709
|
}, {
|
|
931
710
|
items: {
|
|
711
|
+
path: string;
|
|
712
|
+
status: import("@nestjs/common").HttpStatus;
|
|
932
713
|
id: string;
|
|
933
714
|
createdAt: string | Date;
|
|
934
715
|
updatedAt: string | Date;
|
|
935
716
|
deletedAt: string | Date | null;
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
description: string | null;
|
|
942
|
-
lastUsedAt: Date | null;
|
|
943
|
-
keyHash: string;
|
|
717
|
+
apiKeyId: string;
|
|
718
|
+
method: import("../..").HttpMethod;
|
|
719
|
+
durationMs: number;
|
|
720
|
+
requestBody: Record<string, any> | null;
|
|
721
|
+
responseBody: Record<string, any> | null;
|
|
944
722
|
__entity?: string | undefined;
|
|
945
723
|
}[];
|
|
946
724
|
meta: {
|
|
@@ -951,20 +729,7 @@ export declare const clientsContract: {
|
|
|
951
729
|
totalPages?: number | undefined;
|
|
952
730
|
};
|
|
953
731
|
}>;
|
|
954
|
-
|
|
955
|
-
status: import("zod").ZodNumber;
|
|
956
|
-
message: import("zod").ZodString;
|
|
957
|
-
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
958
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
959
|
-
message: string;
|
|
960
|
-
status: number;
|
|
961
|
-
errors: string[];
|
|
962
|
-
}, {
|
|
963
|
-
message: string;
|
|
964
|
-
status: number;
|
|
965
|
-
errors: string[];
|
|
966
|
-
}>;
|
|
967
|
-
403: import("zod").ZodObject<{
|
|
732
|
+
400: import("zod").ZodObject<{
|
|
968
733
|
status: import("zod").ZodNumber;
|
|
969
734
|
message: import("zod").ZodString;
|
|
970
735
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -977,67 +742,6 @@ export declare const clientsContract: {
|
|
|
977
742
|
status: number;
|
|
978
743
|
errors: string[];
|
|
979
744
|
}>;
|
|
980
|
-
};
|
|
981
|
-
};
|
|
982
|
-
getApiKey: {
|
|
983
|
-
method: "GET";
|
|
984
|
-
metadata: {
|
|
985
|
-
auth: boolean;
|
|
986
|
-
};
|
|
987
|
-
pathParams: import("zod").ZodObject<{
|
|
988
|
-
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
989
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
990
|
-
id: string;
|
|
991
|
-
}, {
|
|
992
|
-
id: string;
|
|
993
|
-
}>;
|
|
994
|
-
summary: "Get API Key";
|
|
995
|
-
path: "/clients/api/v1/api-keys/:id";
|
|
996
|
-
responses: {
|
|
997
|
-
200: import("zod").ZodObject<{
|
|
998
|
-
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
999
|
-
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
1000
|
-
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
1001
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
1002
|
-
} & {
|
|
1003
|
-
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1004
|
-
name: import("zod").ZodString;
|
|
1005
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1006
|
-
key: import("zod").ZodString;
|
|
1007
|
-
keyHash: import("zod").ZodString;
|
|
1008
|
-
active: import("zod").ZodBoolean;
|
|
1009
|
-
lastUsedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1010
|
-
accountId: import("zod").ZodString;
|
|
1011
|
-
roleId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1012
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1013
|
-
id: string;
|
|
1014
|
-
createdAt: string | Date;
|
|
1015
|
-
updatedAt: string | Date;
|
|
1016
|
-
deletedAt: string | Date | null;
|
|
1017
|
-
key: string;
|
|
1018
|
-
active: boolean;
|
|
1019
|
-
accountId: string;
|
|
1020
|
-
name: string;
|
|
1021
|
-
roleId: string | null;
|
|
1022
|
-
description: string | null;
|
|
1023
|
-
lastUsedAt: Date | null;
|
|
1024
|
-
keyHash: string;
|
|
1025
|
-
__entity?: string | undefined;
|
|
1026
|
-
}, {
|
|
1027
|
-
id: string;
|
|
1028
|
-
createdAt: string | Date;
|
|
1029
|
-
updatedAt: string | Date;
|
|
1030
|
-
deletedAt: string | Date | null;
|
|
1031
|
-
key: string;
|
|
1032
|
-
active: boolean;
|
|
1033
|
-
accountId: string;
|
|
1034
|
-
name: string;
|
|
1035
|
-
roleId: string | null;
|
|
1036
|
-
description: string | null;
|
|
1037
|
-
lastUsedAt: Date | null;
|
|
1038
|
-
keyHash: string;
|
|
1039
|
-
__entity?: string | undefined;
|
|
1040
|
-
}>;
|
|
1041
745
|
401: import("zod").ZodObject<{
|
|
1042
746
|
status: import("zod").ZodNumber;
|
|
1043
747
|
message: import("zod").ZodString;
|
|
@@ -1064,7 +768,7 @@ export declare const clientsContract: {
|
|
|
1064
768
|
status: number;
|
|
1065
769
|
errors: string[];
|
|
1066
770
|
}>;
|
|
1067
|
-
|
|
771
|
+
500: import("zod").ZodObject<{
|
|
1068
772
|
status: import("zod").ZodNumber;
|
|
1069
773
|
message: import("zod").ZodString;
|
|
1070
774
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -1079,65 +783,39 @@ export declare const clientsContract: {
|
|
|
1079
783
|
}>;
|
|
1080
784
|
};
|
|
1081
785
|
};
|
|
1082
|
-
|
|
1083
|
-
method: "
|
|
786
|
+
getApiKeyLogsTotals: {
|
|
787
|
+
method: "GET";
|
|
1084
788
|
metadata: {
|
|
1085
789
|
auth: boolean;
|
|
1086
790
|
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
791
|
+
query: import("zod").ZodObject<{
|
|
792
|
+
apiKeyId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
793
|
+
from: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
794
|
+
to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1090
795
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1091
|
-
|
|
796
|
+
from?: Date | null | undefined;
|
|
797
|
+
to?: Date | null | undefined;
|
|
798
|
+
apiKeyId?: string | undefined;
|
|
1092
799
|
}, {
|
|
1093
|
-
|
|
800
|
+
from?: string | null | undefined;
|
|
801
|
+
to?: string | null | undefined;
|
|
802
|
+
apiKeyId?: string | undefined;
|
|
1094
803
|
}>;
|
|
1095
|
-
summary: "
|
|
1096
|
-
path: "/clients/api/v1/api-
|
|
804
|
+
summary: "Get totals of API key logs";
|
|
805
|
+
path: "/clients/api/v1/api-key-logs/totals";
|
|
1097
806
|
responses: {
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
1103
|
-
} & {
|
|
1104
|
-
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1105
|
-
name: import("zod").ZodString;
|
|
1106
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1107
|
-
key: import("zod").ZodString;
|
|
1108
|
-
keyHash: import("zod").ZodString;
|
|
1109
|
-
active: import("zod").ZodBoolean;
|
|
1110
|
-
lastUsedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1111
|
-
accountId: import("zod").ZodString;
|
|
1112
|
-
roleId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
807
|
+
200: import("zod").ZodObject<{
|
|
808
|
+
success: import("zod").ZodNumber;
|
|
809
|
+
failed: import("zod").ZodNumber;
|
|
810
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1113
811
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
deletedAt: string | Date | null;
|
|
1118
|
-
key: string;
|
|
1119
|
-
active: boolean;
|
|
1120
|
-
accountId: string;
|
|
1121
|
-
name: string;
|
|
1122
|
-
roleId: string | null;
|
|
1123
|
-
description: string | null;
|
|
1124
|
-
lastUsedAt: Date | null;
|
|
1125
|
-
keyHash: string;
|
|
1126
|
-
__entity?: string | undefined;
|
|
812
|
+
failed: number;
|
|
813
|
+
success: number;
|
|
814
|
+
total?: number | undefined;
|
|
1127
815
|
}, {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
deletedAt: string | Date | null;
|
|
1132
|
-
key: string;
|
|
1133
|
-
active: boolean;
|
|
1134
|
-
accountId: string;
|
|
1135
|
-
name: string;
|
|
1136
|
-
roleId: string | null;
|
|
1137
|
-
description: string | null;
|
|
1138
|
-
lastUsedAt: Date | null;
|
|
1139
|
-
keyHash: string;
|
|
1140
|
-
__entity?: string | undefined;
|
|
816
|
+
failed: number;
|
|
817
|
+
success: number;
|
|
818
|
+
total?: number | undefined;
|
|
1141
819
|
}>;
|
|
1142
820
|
400: import("zod").ZodObject<{
|
|
1143
821
|
status: import("zod").ZodNumber;
|
|
@@ -1165,7 +843,7 @@ export declare const clientsContract: {
|
|
|
1165
843
|
status: number;
|
|
1166
844
|
errors: string[];
|
|
1167
845
|
}>;
|
|
1168
|
-
|
|
846
|
+
403: import("zod").ZodObject<{
|
|
1169
847
|
status: import("zod").ZodNumber;
|
|
1170
848
|
message: import("zod").ZodString;
|
|
1171
849
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -1194,8 +872,8 @@ export declare const clientsContract: {
|
|
|
1194
872
|
};
|
|
1195
873
|
};
|
|
1196
874
|
};
|
|
1197
|
-
|
|
1198
|
-
|
|
875
|
+
apiKeys: {
|
|
876
|
+
getApiKeys: {
|
|
1199
877
|
method: "GET";
|
|
1200
878
|
metadata: {
|
|
1201
879
|
auth: boolean;
|
|
@@ -1203,34 +881,15 @@ export declare const clientsContract: {
|
|
|
1203
881
|
query: import("zod").ZodObject<{
|
|
1204
882
|
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
1205
883
|
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
1206
|
-
} & {
|
|
1207
|
-
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1208
|
-
apiKeyId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
1209
|
-
method: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").HttpMethod>>;
|
|
1210
|
-
status: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNativeEnum<typeof import("@nestjs/common").HttpStatus>, import("@nestjs/common").HttpStatus, unknown>>;
|
|
1211
|
-
from: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1212
|
-
to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1213
884
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1214
885
|
page: number;
|
|
1215
886
|
limit: number;
|
|
1216
|
-
status?: import("@nestjs/common").HttpStatus | undefined;
|
|
1217
|
-
from?: Date | null | undefined;
|
|
1218
|
-
to?: Date | null | undefined;
|
|
1219
|
-
endpoint?: string | undefined;
|
|
1220
|
-
apiKeyId?: string | undefined;
|
|
1221
|
-
method?: import("../..").HttpMethod | undefined;
|
|
1222
887
|
}, {
|
|
1223
|
-
status?: unknown;
|
|
1224
888
|
page?: number | undefined;
|
|
1225
889
|
limit?: number | undefined;
|
|
1226
|
-
from?: string | null | undefined;
|
|
1227
|
-
to?: string | null | undefined;
|
|
1228
|
-
endpoint?: string | undefined;
|
|
1229
|
-
apiKeyId?: string | undefined;
|
|
1230
|
-
method?: import("../..").HttpMethod | undefined;
|
|
1231
890
|
}>;
|
|
1232
|
-
summary: "Get API
|
|
1233
|
-
path: "/clients/api/v1/api-
|
|
891
|
+
summary: "Get API Keys";
|
|
892
|
+
path: "/clients/api/v1/api-keys";
|
|
1234
893
|
responses: {
|
|
1235
894
|
200: import("zod").ZodObject<{
|
|
1236
895
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -1240,38 +899,41 @@ export declare const clientsContract: {
|
|
|
1240
899
|
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
1241
900
|
} & {
|
|
1242
901
|
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
902
|
+
name: import("zod").ZodString;
|
|
903
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
904
|
+
key: import("zod").ZodString;
|
|
905
|
+
keyHash: import("zod").ZodString;
|
|
906
|
+
active: import("zod").ZodBoolean;
|
|
907
|
+
lastUsedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
908
|
+
accountId: import("zod").ZodString;
|
|
909
|
+
roleId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1250
910
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1251
|
-
path: string;
|
|
1252
|
-
status: import("@nestjs/common").HttpStatus;
|
|
1253
911
|
id: string;
|
|
1254
912
|
createdAt: string | Date;
|
|
1255
913
|
updatedAt: string | Date;
|
|
1256
914
|
deletedAt: string | Date | null;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
915
|
+
key: string;
|
|
916
|
+
active: boolean;
|
|
917
|
+
accountId: string;
|
|
918
|
+
name: string;
|
|
919
|
+
roleId: string | null;
|
|
920
|
+
description: string | null;
|
|
921
|
+
lastUsedAt: Date | null;
|
|
922
|
+
keyHash: string;
|
|
1262
923
|
__entity?: string | undefined;
|
|
1263
924
|
}, {
|
|
1264
|
-
path: string;
|
|
1265
|
-
status: import("@nestjs/common").HttpStatus;
|
|
1266
925
|
id: string;
|
|
1267
926
|
createdAt: string | Date;
|
|
1268
927
|
updatedAt: string | Date;
|
|
1269
928
|
deletedAt: string | Date | null;
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
929
|
+
key: string;
|
|
930
|
+
active: boolean;
|
|
931
|
+
accountId: string;
|
|
932
|
+
name: string;
|
|
933
|
+
roleId: string | null;
|
|
934
|
+
description: string | null;
|
|
935
|
+
lastUsedAt: Date | null;
|
|
936
|
+
keyHash: string;
|
|
1275
937
|
__entity?: string | undefined;
|
|
1276
938
|
}>, "many">;
|
|
1277
939
|
meta: import("zod").ZodObject<{
|
|
@@ -1295,17 +957,18 @@ export declare const clientsContract: {
|
|
|
1295
957
|
}>;
|
|
1296
958
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1297
959
|
items: {
|
|
1298
|
-
path: string;
|
|
1299
|
-
status: import("@nestjs/common").HttpStatus;
|
|
1300
960
|
id: string;
|
|
1301
961
|
createdAt: string | Date;
|
|
1302
962
|
updatedAt: string | Date;
|
|
1303
963
|
deletedAt: string | Date | null;
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
964
|
+
key: string;
|
|
965
|
+
active: boolean;
|
|
966
|
+
accountId: string;
|
|
967
|
+
name: string;
|
|
968
|
+
roleId: string | null;
|
|
969
|
+
description: string | null;
|
|
970
|
+
lastUsedAt: Date | null;
|
|
971
|
+
keyHash: string;
|
|
1309
972
|
__entity?: string | undefined;
|
|
1310
973
|
}[];
|
|
1311
974
|
meta: {
|
|
@@ -1317,17 +980,18 @@ export declare const clientsContract: {
|
|
|
1317
980
|
};
|
|
1318
981
|
}, {
|
|
1319
982
|
items: {
|
|
1320
|
-
path: string;
|
|
1321
|
-
status: import("@nestjs/common").HttpStatus;
|
|
1322
983
|
id: string;
|
|
1323
984
|
createdAt: string | Date;
|
|
1324
985
|
updatedAt: string | Date;
|
|
1325
986
|
deletedAt: string | Date | null;
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
987
|
+
key: string;
|
|
988
|
+
active: boolean;
|
|
989
|
+
accountId: string;
|
|
990
|
+
name: string;
|
|
991
|
+
roleId: string | null;
|
|
992
|
+
description: string | null;
|
|
993
|
+
lastUsedAt: Date | null;
|
|
994
|
+
keyHash: string;
|
|
1331
995
|
__entity?: string | undefined;
|
|
1332
996
|
}[];
|
|
1333
997
|
meta: {
|
|
@@ -1338,7 +1002,20 @@ export declare const clientsContract: {
|
|
|
1338
1002
|
totalPages?: number | undefined;
|
|
1339
1003
|
};
|
|
1340
1004
|
}>;
|
|
1341
|
-
|
|
1005
|
+
401: import("zod").ZodObject<{
|
|
1006
|
+
status: import("zod").ZodNumber;
|
|
1007
|
+
message: import("zod").ZodString;
|
|
1008
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1009
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1010
|
+
message: string;
|
|
1011
|
+
status: number;
|
|
1012
|
+
errors: string[];
|
|
1013
|
+
}, {
|
|
1014
|
+
message: string;
|
|
1015
|
+
status: number;
|
|
1016
|
+
errors: string[];
|
|
1017
|
+
}>;
|
|
1018
|
+
403: import("zod").ZodObject<{
|
|
1342
1019
|
status: import("zod").ZodNumber;
|
|
1343
1020
|
message: import("zod").ZodString;
|
|
1344
1021
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -1351,6 +1028,67 @@ export declare const clientsContract: {
|
|
|
1351
1028
|
status: number;
|
|
1352
1029
|
errors: string[];
|
|
1353
1030
|
}>;
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
getApiKey: {
|
|
1034
|
+
method: "GET";
|
|
1035
|
+
metadata: {
|
|
1036
|
+
auth: boolean;
|
|
1037
|
+
};
|
|
1038
|
+
pathParams: import("zod").ZodObject<{
|
|
1039
|
+
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1040
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1041
|
+
id: string;
|
|
1042
|
+
}, {
|
|
1043
|
+
id: string;
|
|
1044
|
+
}>;
|
|
1045
|
+
summary: "Get API Key";
|
|
1046
|
+
path: "/clients/api/v1/api-keys/:id";
|
|
1047
|
+
responses: {
|
|
1048
|
+
200: import("zod").ZodObject<{
|
|
1049
|
+
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1050
|
+
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
1051
|
+
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
1052
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
1053
|
+
} & {
|
|
1054
|
+
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1055
|
+
name: import("zod").ZodString;
|
|
1056
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1057
|
+
key: import("zod").ZodString;
|
|
1058
|
+
keyHash: import("zod").ZodString;
|
|
1059
|
+
active: import("zod").ZodBoolean;
|
|
1060
|
+
lastUsedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1061
|
+
accountId: import("zod").ZodString;
|
|
1062
|
+
roleId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1063
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1064
|
+
id: string;
|
|
1065
|
+
createdAt: string | Date;
|
|
1066
|
+
updatedAt: string | Date;
|
|
1067
|
+
deletedAt: string | Date | null;
|
|
1068
|
+
key: string;
|
|
1069
|
+
active: boolean;
|
|
1070
|
+
accountId: string;
|
|
1071
|
+
name: string;
|
|
1072
|
+
roleId: string | null;
|
|
1073
|
+
description: string | null;
|
|
1074
|
+
lastUsedAt: Date | null;
|
|
1075
|
+
keyHash: string;
|
|
1076
|
+
__entity?: string | undefined;
|
|
1077
|
+
}, {
|
|
1078
|
+
id: string;
|
|
1079
|
+
createdAt: string | Date;
|
|
1080
|
+
updatedAt: string | Date;
|
|
1081
|
+
deletedAt: string | Date | null;
|
|
1082
|
+
key: string;
|
|
1083
|
+
active: boolean;
|
|
1084
|
+
accountId: string;
|
|
1085
|
+
name: string;
|
|
1086
|
+
roleId: string | null;
|
|
1087
|
+
description: string | null;
|
|
1088
|
+
lastUsedAt: Date | null;
|
|
1089
|
+
keyHash: string;
|
|
1090
|
+
__entity?: string | undefined;
|
|
1091
|
+
}>;
|
|
1354
1092
|
401: import("zod").ZodObject<{
|
|
1355
1093
|
status: import("zod").ZodNumber;
|
|
1356
1094
|
message: import("zod").ZodString;
|
|
@@ -1377,7 +1115,7 @@ export declare const clientsContract: {
|
|
|
1377
1115
|
status: number;
|
|
1378
1116
|
errors: string[];
|
|
1379
1117
|
}>;
|
|
1380
|
-
|
|
1118
|
+
404: import("zod").ZodObject<{
|
|
1381
1119
|
status: import("zod").ZodNumber;
|
|
1382
1120
|
message: import("zod").ZodString;
|
|
1383
1121
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -1392,39 +1130,65 @@ export declare const clientsContract: {
|
|
|
1392
1130
|
}>;
|
|
1393
1131
|
};
|
|
1394
1132
|
};
|
|
1395
|
-
|
|
1396
|
-
method: "
|
|
1133
|
+
deactivateApiKey: {
|
|
1134
|
+
method: "PATCH";
|
|
1397
1135
|
metadata: {
|
|
1398
1136
|
auth: boolean;
|
|
1399
1137
|
};
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>>;
|
|
1138
|
+
body: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
1139
|
+
pathParams: import("zod").ZodObject<{
|
|
1140
|
+
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1404
1141
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1405
|
-
|
|
1406
|
-
to?: Date | null | undefined;
|
|
1407
|
-
apiKeyId?: string | undefined;
|
|
1142
|
+
id: string;
|
|
1408
1143
|
}, {
|
|
1409
|
-
|
|
1410
|
-
to?: string | null | undefined;
|
|
1411
|
-
apiKeyId?: string | undefined;
|
|
1144
|
+
id: string;
|
|
1412
1145
|
}>;
|
|
1413
|
-
summary: "
|
|
1414
|
-
path: "/clients/api/v1/api-
|
|
1146
|
+
summary: "Deactivate API Key by id";
|
|
1147
|
+
path: "/clients/api/v1/api-keys/:id/deactivate";
|
|
1415
1148
|
responses: {
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1149
|
+
202: import("zod").ZodObject<{
|
|
1150
|
+
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1151
|
+
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
1152
|
+
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
1153
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
1154
|
+
} & {
|
|
1155
|
+
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1156
|
+
name: import("zod").ZodString;
|
|
1157
|
+
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1158
|
+
key: import("zod").ZodString;
|
|
1159
|
+
keyHash: import("zod").ZodString;
|
|
1160
|
+
active: import("zod").ZodBoolean;
|
|
1161
|
+
lastUsedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1162
|
+
accountId: import("zod").ZodString;
|
|
1163
|
+
roleId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1420
1164
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1165
|
+
id: string;
|
|
1166
|
+
createdAt: string | Date;
|
|
1167
|
+
updatedAt: string | Date;
|
|
1168
|
+
deletedAt: string | Date | null;
|
|
1169
|
+
key: string;
|
|
1170
|
+
active: boolean;
|
|
1171
|
+
accountId: string;
|
|
1172
|
+
name: string;
|
|
1173
|
+
roleId: string | null;
|
|
1174
|
+
description: string | null;
|
|
1175
|
+
lastUsedAt: Date | null;
|
|
1176
|
+
keyHash: string;
|
|
1177
|
+
__entity?: string | undefined;
|
|
1424
1178
|
}, {
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1179
|
+
id: string;
|
|
1180
|
+
createdAt: string | Date;
|
|
1181
|
+
updatedAt: string | Date;
|
|
1182
|
+
deletedAt: string | Date | null;
|
|
1183
|
+
key: string;
|
|
1184
|
+
active: boolean;
|
|
1185
|
+
accountId: string;
|
|
1186
|
+
name: string;
|
|
1187
|
+
roleId: string | null;
|
|
1188
|
+
description: string | null;
|
|
1189
|
+
lastUsedAt: Date | null;
|
|
1190
|
+
keyHash: string;
|
|
1191
|
+
__entity?: string | undefined;
|
|
1428
1192
|
}>;
|
|
1429
1193
|
400: import("zod").ZodObject<{
|
|
1430
1194
|
status: import("zod").ZodNumber;
|
|
@@ -1452,7 +1216,7 @@ export declare const clientsContract: {
|
|
|
1452
1216
|
status: number;
|
|
1453
1217
|
errors: string[];
|
|
1454
1218
|
}>;
|
|
1455
|
-
|
|
1219
|
+
404: import("zod").ZodObject<{
|
|
1456
1220
|
status: import("zod").ZodNumber;
|
|
1457
1221
|
message: import("zod").ZodString;
|
|
1458
1222
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -2488,7 +2252,143 @@ export declare const clientsContract: {
|
|
|
2488
2252
|
status: number;
|
|
2489
2253
|
errors: string[];
|
|
2490
2254
|
}>;
|
|
2491
|
-
403: import("zod").ZodObject<{
|
|
2255
|
+
403: import("zod").ZodObject<{
|
|
2256
|
+
status: import("zod").ZodNumber;
|
|
2257
|
+
message: import("zod").ZodString;
|
|
2258
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2259
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2260
|
+
message: string;
|
|
2261
|
+
status: number;
|
|
2262
|
+
errors: string[];
|
|
2263
|
+
}, {
|
|
2264
|
+
message: string;
|
|
2265
|
+
status: number;
|
|
2266
|
+
errors: string[];
|
|
2267
|
+
}>;
|
|
2268
|
+
404: import("zod").ZodObject<{
|
|
2269
|
+
status: import("zod").ZodNumber;
|
|
2270
|
+
message: import("zod").ZodString;
|
|
2271
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2272
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2273
|
+
message: string;
|
|
2274
|
+
status: number;
|
|
2275
|
+
errors: string[];
|
|
2276
|
+
}, {
|
|
2277
|
+
message: string;
|
|
2278
|
+
status: number;
|
|
2279
|
+
errors: string[];
|
|
2280
|
+
}>;
|
|
2281
|
+
500: import("zod").ZodObject<{
|
|
2282
|
+
status: import("zod").ZodNumber;
|
|
2283
|
+
message: import("zod").ZodString;
|
|
2284
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2285
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2286
|
+
message: string;
|
|
2287
|
+
status: number;
|
|
2288
|
+
errors: string[];
|
|
2289
|
+
}, {
|
|
2290
|
+
message: string;
|
|
2291
|
+
status: number;
|
|
2292
|
+
errors: string[];
|
|
2293
|
+
}>;
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
auth: {
|
|
2298
|
+
registerInvestor: {
|
|
2299
|
+
method: "POST";
|
|
2300
|
+
metadata: {
|
|
2301
|
+
auth: boolean;
|
|
2302
|
+
};
|
|
2303
|
+
body: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
2304
|
+
firstName: import("zod").ZodString;
|
|
2305
|
+
lastName: import("zod").ZodString;
|
|
2306
|
+
email: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
2307
|
+
password: import("zod").ZodString;
|
|
2308
|
+
} & {
|
|
2309
|
+
confirmPassword: import("zod").ZodString;
|
|
2310
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, {
|
|
2311
|
+
isOk: () => boolean;
|
|
2312
|
+
isErr: () => boolean;
|
|
2313
|
+
value?: any;
|
|
2314
|
+
error?: any;
|
|
2315
|
+
} | import("neverthrow").Ok<null, never>, string | null>, {
|
|
2316
|
+
isOk: () => boolean;
|
|
2317
|
+
isErr: () => boolean;
|
|
2318
|
+
value?: any;
|
|
2319
|
+
error?: any;
|
|
2320
|
+
} | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
|
|
2321
|
+
site: import("zod").ZodString;
|
|
2322
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2323
|
+
firstName: string;
|
|
2324
|
+
lastName: string;
|
|
2325
|
+
email: string;
|
|
2326
|
+
site: string;
|
|
2327
|
+
password: string;
|
|
2328
|
+
confirmPassword: string;
|
|
2329
|
+
phoneNumber?: any;
|
|
2330
|
+
}, {
|
|
2331
|
+
firstName: string;
|
|
2332
|
+
lastName: string;
|
|
2333
|
+
email: string;
|
|
2334
|
+
site: string;
|
|
2335
|
+
password: string;
|
|
2336
|
+
confirmPassword: string;
|
|
2337
|
+
phoneNumber?: string | null | undefined;
|
|
2338
|
+
}>, {
|
|
2339
|
+
firstName: string;
|
|
2340
|
+
lastName: string;
|
|
2341
|
+
email: string;
|
|
2342
|
+
site: string;
|
|
2343
|
+
password: string;
|
|
2344
|
+
confirmPassword: string;
|
|
2345
|
+
phoneNumber?: any;
|
|
2346
|
+
}, {
|
|
2347
|
+
firstName: string;
|
|
2348
|
+
lastName: string;
|
|
2349
|
+
email: string;
|
|
2350
|
+
site: string;
|
|
2351
|
+
password: string;
|
|
2352
|
+
confirmPassword: string;
|
|
2353
|
+
phoneNumber?: string | null | undefined;
|
|
2354
|
+
}>;
|
|
2355
|
+
summary: "Register investor with email (API Key Auth)";
|
|
2356
|
+
path: "/clients/api/v1/auth/register/investor";
|
|
2357
|
+
responses: {
|
|
2358
|
+
201: import("zod").ZodObject<{
|
|
2359
|
+
userId: import("zod").ZodString;
|
|
2360
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2361
|
+
userId: string;
|
|
2362
|
+
}, {
|
|
2363
|
+
userId: string;
|
|
2364
|
+
}>;
|
|
2365
|
+
400: import("zod").ZodObject<{
|
|
2366
|
+
status: import("zod").ZodNumber;
|
|
2367
|
+
message: import("zod").ZodString;
|
|
2368
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2369
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2370
|
+
message: string;
|
|
2371
|
+
status: number;
|
|
2372
|
+
errors: string[];
|
|
2373
|
+
}, {
|
|
2374
|
+
message: string;
|
|
2375
|
+
status: number;
|
|
2376
|
+
errors: string[];
|
|
2377
|
+
}>;
|
|
2378
|
+
401: import("zod").ZodObject<{
|
|
2379
|
+
status: import("zod").ZodNumber;
|
|
2380
|
+
message: import("zod").ZodString;
|
|
2381
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2382
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2383
|
+
message: string;
|
|
2384
|
+
status: number;
|
|
2385
|
+
errors: string[];
|
|
2386
|
+
}, {
|
|
2387
|
+
message: string;
|
|
2388
|
+
status: number;
|
|
2389
|
+
errors: string[];
|
|
2390
|
+
}>;
|
|
2391
|
+
500: import("zod").ZodObject<{
|
|
2492
2392
|
status: import("zod").ZodNumber;
|
|
2493
2393
|
message: import("zod").ZodString;
|
|
2494
2394
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -2501,7 +2401,107 @@ export declare const clientsContract: {
|
|
|
2501
2401
|
status: number;
|
|
2502
2402
|
errors: string[];
|
|
2503
2403
|
}>;
|
|
2504
|
-
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
registerIssuer: {
|
|
2407
|
+
method: "POST";
|
|
2408
|
+
metadata: {
|
|
2409
|
+
auth: boolean;
|
|
2410
|
+
};
|
|
2411
|
+
body: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
|
|
2412
|
+
firstName: import("zod").ZodString;
|
|
2413
|
+
lastName: import("zod").ZodString;
|
|
2414
|
+
email: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
2415
|
+
password: import("zod").ZodString;
|
|
2416
|
+
} & {
|
|
2417
|
+
confirmPassword: import("zod").ZodString;
|
|
2418
|
+
accountName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2419
|
+
accountType: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").ManagedByType>>>;
|
|
2420
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2421
|
+
firstName: string;
|
|
2422
|
+
lastName: string;
|
|
2423
|
+
email: string;
|
|
2424
|
+
password: string;
|
|
2425
|
+
confirmPassword: string;
|
|
2426
|
+
accountType: import("../..").ManagedByType;
|
|
2427
|
+
accountName?: string | null | undefined;
|
|
2428
|
+
}, {
|
|
2429
|
+
firstName: string;
|
|
2430
|
+
lastName: string;
|
|
2431
|
+
email: string;
|
|
2432
|
+
password: string;
|
|
2433
|
+
confirmPassword: string;
|
|
2434
|
+
accountName?: string | null | undefined;
|
|
2435
|
+
accountType?: import("../..").ManagedByType | undefined;
|
|
2436
|
+
}>, {
|
|
2437
|
+
firstName: string;
|
|
2438
|
+
lastName: string;
|
|
2439
|
+
email: string;
|
|
2440
|
+
password: string;
|
|
2441
|
+
confirmPassword: string;
|
|
2442
|
+
accountType: import("../..").ManagedByType;
|
|
2443
|
+
accountName?: string | null | undefined;
|
|
2444
|
+
}, {
|
|
2445
|
+
firstName: string;
|
|
2446
|
+
lastName: string;
|
|
2447
|
+
email: string;
|
|
2448
|
+
password: string;
|
|
2449
|
+
confirmPassword: string;
|
|
2450
|
+
accountName?: string | null | undefined;
|
|
2451
|
+
accountType?: import("../..").ManagedByType | undefined;
|
|
2452
|
+
}>, {
|
|
2453
|
+
firstName: string;
|
|
2454
|
+
lastName: string;
|
|
2455
|
+
email: string;
|
|
2456
|
+
password: string;
|
|
2457
|
+
confirmPassword: string;
|
|
2458
|
+
accountType: import("../..").ManagedByType;
|
|
2459
|
+
accountName?: string | null | undefined;
|
|
2460
|
+
}, {
|
|
2461
|
+
firstName: string;
|
|
2462
|
+
lastName: string;
|
|
2463
|
+
email: string;
|
|
2464
|
+
password: string;
|
|
2465
|
+
confirmPassword: string;
|
|
2466
|
+
accountName?: string | null | undefined;
|
|
2467
|
+
accountType?: import("../..").ManagedByType | undefined;
|
|
2468
|
+
}>;
|
|
2469
|
+
summary: "Register issuer with email (API Key Auth)";
|
|
2470
|
+
path: "/clients/api/v1/auth/register/issuer";
|
|
2471
|
+
responses: {
|
|
2472
|
+
201: import("zod").ZodObject<{
|
|
2473
|
+
accessToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2474
|
+
requiresTwoFactor: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2475
|
+
temporaryToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2476
|
+
requiresTwoFactorSetup: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2477
|
+
twoFactorMethod: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").TwoFactorMethod>>;
|
|
2478
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2479
|
+
requiresTwoFactorSetup?: boolean | undefined;
|
|
2480
|
+
twoFactorMethod?: import("../..").TwoFactorMethod | undefined;
|
|
2481
|
+
temporaryToken?: string | undefined;
|
|
2482
|
+
accessToken?: string | undefined;
|
|
2483
|
+
requiresTwoFactor?: boolean | undefined;
|
|
2484
|
+
}, {
|
|
2485
|
+
requiresTwoFactorSetup?: boolean | undefined;
|
|
2486
|
+
twoFactorMethod?: import("../..").TwoFactorMethod | undefined;
|
|
2487
|
+
temporaryToken?: string | undefined;
|
|
2488
|
+
accessToken?: string | undefined;
|
|
2489
|
+
requiresTwoFactor?: boolean | undefined;
|
|
2490
|
+
}>;
|
|
2491
|
+
400: import("zod").ZodObject<{
|
|
2492
|
+
status: import("zod").ZodNumber;
|
|
2493
|
+
message: import("zod").ZodString;
|
|
2494
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2495
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2496
|
+
message: string;
|
|
2497
|
+
status: number;
|
|
2498
|
+
errors: string[];
|
|
2499
|
+
}, {
|
|
2500
|
+
message: string;
|
|
2501
|
+
status: number;
|
|
2502
|
+
errors: string[];
|
|
2503
|
+
}>;
|
|
2504
|
+
401: import("zod").ZodObject<{
|
|
2505
2505
|
status: import("zod").ZodNumber;
|
|
2506
2506
|
message: import("zod").ZodString;
|
|
2507
2507
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -2767,13 +2767,6 @@ export declare const clientsContract: {
|
|
|
2767
2767
|
body: import("@ts-rest/core").ContractPlainType<{
|
|
2768
2768
|
file: File;
|
|
2769
2769
|
}>;
|
|
2770
|
-
query: import("zod").ZodObject<{
|
|
2771
|
-
type: import("zod").ZodNativeEnum<typeof import("../..").InvestorAccountType>;
|
|
2772
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
2773
|
-
type: import("../..").InvestorAccountType;
|
|
2774
|
-
}, {
|
|
2775
|
-
type: import("../..").InvestorAccountType;
|
|
2776
|
-
}>;
|
|
2777
2770
|
summary: "Upload and process CSV file for investor account creation";
|
|
2778
2771
|
contentType: "multipart/form-data";
|
|
2779
2772
|
path: "/clients/api/v1/csv/investors";
|
|
@@ -3439,6 +3432,94 @@ export declare const clientsContract: {
|
|
|
3439
3432
|
financial?: boolean | undefined;
|
|
3440
3433
|
} | undefined;
|
|
3441
3434
|
}>>>;
|
|
3435
|
+
trustedContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<import("zod").ZodObject<{
|
|
3436
|
+
id: import("zod").ZodString;
|
|
3437
|
+
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3438
|
+
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
3439
|
+
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
3440
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
3441
|
+
} & {
|
|
3442
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3443
|
+
lastName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3444
|
+
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3445
|
+
phone: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3446
|
+
countryCallingCode: import("zod").ZodString;
|
|
3447
|
+
country: import("zod").ZodString;
|
|
3448
|
+
nationalNumber: import("zod").ZodString;
|
|
3449
|
+
number: import("zod").ZodString;
|
|
3450
|
+
formatNational: import("zod").ZodString;
|
|
3451
|
+
formatInternational: import("zod").ZodString;
|
|
3452
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3453
|
+
number: string;
|
|
3454
|
+
countryCallingCode: string;
|
|
3455
|
+
country: string;
|
|
3456
|
+
nationalNumber: string;
|
|
3457
|
+
formatNational: string;
|
|
3458
|
+
formatInternational: string;
|
|
3459
|
+
}, {
|
|
3460
|
+
number: string;
|
|
3461
|
+
countryCallingCode: string;
|
|
3462
|
+
country: string;
|
|
3463
|
+
nationalNumber: string;
|
|
3464
|
+
formatNational: string;
|
|
3465
|
+
formatInternational: string;
|
|
3466
|
+
}>>;
|
|
3467
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3468
|
+
address2: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3469
|
+
city: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3470
|
+
state: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3471
|
+
zip: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3472
|
+
country: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3473
|
+
relationship: import("zod").ZodNativeEnum<typeof import("../..").TrustedContactRelationship>;
|
|
3474
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3475
|
+
id: string;
|
|
3476
|
+
createdAt: string | Date;
|
|
3477
|
+
updatedAt: string | Date;
|
|
3478
|
+
deletedAt: string | Date | null;
|
|
3479
|
+
country: string | null;
|
|
3480
|
+
firstName: string | null;
|
|
3481
|
+
lastName: string | null;
|
|
3482
|
+
email: string | null;
|
|
3483
|
+
phone: {
|
|
3484
|
+
number: string;
|
|
3485
|
+
countryCallingCode: string;
|
|
3486
|
+
country: string;
|
|
3487
|
+
nationalNumber: string;
|
|
3488
|
+
formatNational: string;
|
|
3489
|
+
formatInternational: string;
|
|
3490
|
+
} | null;
|
|
3491
|
+
state: string | null;
|
|
3492
|
+
address: string | null;
|
|
3493
|
+
city: string | null;
|
|
3494
|
+
zip: string | null;
|
|
3495
|
+
address2: string | null;
|
|
3496
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
3497
|
+
__entity?: string | undefined;
|
|
3498
|
+
}, {
|
|
3499
|
+
id: string;
|
|
3500
|
+
createdAt: string | Date;
|
|
3501
|
+
updatedAt: string | Date;
|
|
3502
|
+
deletedAt: string | Date | null;
|
|
3503
|
+
country: string | null;
|
|
3504
|
+
firstName: string | null;
|
|
3505
|
+
lastName: string | null;
|
|
3506
|
+
email: string | null;
|
|
3507
|
+
phone: {
|
|
3508
|
+
number: string;
|
|
3509
|
+
countryCallingCode: string;
|
|
3510
|
+
country: string;
|
|
3511
|
+
nationalNumber: string;
|
|
3512
|
+
formatNational: string;
|
|
3513
|
+
formatInternational: string;
|
|
3514
|
+
} | null;
|
|
3515
|
+
state: string | null;
|
|
3516
|
+
address: string | null;
|
|
3517
|
+
city: string | null;
|
|
3518
|
+
zip: string | null;
|
|
3519
|
+
address2: string | null;
|
|
3520
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
3521
|
+
__entity?: string | undefined;
|
|
3522
|
+
}>>, "many">>;
|
|
3442
3523
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3443
3524
|
id: string;
|
|
3444
3525
|
createdAt: string | Date;
|
|
@@ -3574,6 +3655,31 @@ export declare const clientsContract: {
|
|
|
3574
3655
|
financial: boolean;
|
|
3575
3656
|
} | undefined;
|
|
3576
3657
|
} | undefined;
|
|
3658
|
+
trustedContacts?: {
|
|
3659
|
+
id: string;
|
|
3660
|
+
createdAt: string | Date;
|
|
3661
|
+
updatedAt: string | Date;
|
|
3662
|
+
deletedAt: string | Date | null;
|
|
3663
|
+
country: string | null;
|
|
3664
|
+
firstName: string | null;
|
|
3665
|
+
lastName: string | null;
|
|
3666
|
+
email: string | null;
|
|
3667
|
+
phone: {
|
|
3668
|
+
number: string;
|
|
3669
|
+
countryCallingCode: string;
|
|
3670
|
+
country: string;
|
|
3671
|
+
nationalNumber: string;
|
|
3672
|
+
formatNational: string;
|
|
3673
|
+
formatInternational: string;
|
|
3674
|
+
} | null;
|
|
3675
|
+
state: string | null;
|
|
3676
|
+
address: string | null;
|
|
3677
|
+
city: string | null;
|
|
3678
|
+
zip: string | null;
|
|
3679
|
+
address2: string | null;
|
|
3680
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
3681
|
+
__entity?: string | undefined;
|
|
3682
|
+
}[] | undefined;
|
|
3577
3683
|
}, {
|
|
3578
3684
|
id: string;
|
|
3579
3685
|
createdAt: string | Date;
|
|
@@ -3709,6 +3815,31 @@ export declare const clientsContract: {
|
|
|
3709
3815
|
financial?: boolean | undefined;
|
|
3710
3816
|
} | undefined;
|
|
3711
3817
|
} | undefined;
|
|
3818
|
+
trustedContacts?: {
|
|
3819
|
+
id: string;
|
|
3820
|
+
createdAt: string | Date;
|
|
3821
|
+
updatedAt: string | Date;
|
|
3822
|
+
deletedAt: string | Date | null;
|
|
3823
|
+
country: string | null;
|
|
3824
|
+
firstName: string | null;
|
|
3825
|
+
lastName: string | null;
|
|
3826
|
+
email: string | null;
|
|
3827
|
+
phone: {
|
|
3828
|
+
number: string;
|
|
3829
|
+
countryCallingCode: string;
|
|
3830
|
+
country: string;
|
|
3831
|
+
nationalNumber: string;
|
|
3832
|
+
formatNational: string;
|
|
3833
|
+
formatInternational: string;
|
|
3834
|
+
} | null;
|
|
3835
|
+
state: string | null;
|
|
3836
|
+
address: string | null;
|
|
3837
|
+
city: string | null;
|
|
3838
|
+
zip: string | null;
|
|
3839
|
+
address2: string | null;
|
|
3840
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
3841
|
+
__entity?: string | undefined;
|
|
3842
|
+
}[] | undefined;
|
|
3712
3843
|
}>>>;
|
|
3713
3844
|
role: import("zod").ZodNativeEnum<typeof import("../..").IndividualRole>;
|
|
3714
3845
|
firstName: import("zod").ZodString;
|
|
@@ -3976,6 +4107,31 @@ export declare const clientsContract: {
|
|
|
3976
4107
|
financial: boolean;
|
|
3977
4108
|
} | undefined;
|
|
3978
4109
|
} | undefined;
|
|
4110
|
+
trustedContacts?: {
|
|
4111
|
+
id: string;
|
|
4112
|
+
createdAt: string | Date;
|
|
4113
|
+
updatedAt: string | Date;
|
|
4114
|
+
deletedAt: string | Date | null;
|
|
4115
|
+
country: string | null;
|
|
4116
|
+
firstName: string | null;
|
|
4117
|
+
lastName: string | null;
|
|
4118
|
+
email: string | null;
|
|
4119
|
+
phone: {
|
|
4120
|
+
number: string;
|
|
4121
|
+
countryCallingCode: string;
|
|
4122
|
+
country: string;
|
|
4123
|
+
nationalNumber: string;
|
|
4124
|
+
formatNational: string;
|
|
4125
|
+
formatInternational: string;
|
|
4126
|
+
} | null;
|
|
4127
|
+
state: string | null;
|
|
4128
|
+
address: string | null;
|
|
4129
|
+
city: string | null;
|
|
4130
|
+
zip: string | null;
|
|
4131
|
+
address2: string | null;
|
|
4132
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
4133
|
+
__entity?: string | undefined;
|
|
4134
|
+
}[] | undefined;
|
|
3979
4135
|
} | undefined;
|
|
3980
4136
|
}, {
|
|
3981
4137
|
id: string;
|
|
@@ -4189,6 +4345,31 @@ export declare const clientsContract: {
|
|
|
4189
4345
|
financial?: boolean | undefined;
|
|
4190
4346
|
} | undefined;
|
|
4191
4347
|
} | undefined;
|
|
4348
|
+
trustedContacts?: {
|
|
4349
|
+
id: string;
|
|
4350
|
+
createdAt: string | Date;
|
|
4351
|
+
updatedAt: string | Date;
|
|
4352
|
+
deletedAt: string | Date | null;
|
|
4353
|
+
country: string | null;
|
|
4354
|
+
firstName: string | null;
|
|
4355
|
+
lastName: string | null;
|
|
4356
|
+
email: string | null;
|
|
4357
|
+
phone: {
|
|
4358
|
+
number: string;
|
|
4359
|
+
countryCallingCode: string;
|
|
4360
|
+
country: string;
|
|
4361
|
+
nationalNumber: string;
|
|
4362
|
+
formatNational: string;
|
|
4363
|
+
formatInternational: string;
|
|
4364
|
+
} | null;
|
|
4365
|
+
state: string | null;
|
|
4366
|
+
address: string | null;
|
|
4367
|
+
city: string | null;
|
|
4368
|
+
zip: string | null;
|
|
4369
|
+
address2: string | null;
|
|
4370
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
4371
|
+
__entity?: string | undefined;
|
|
4372
|
+
}[] | undefined;
|
|
4192
4373
|
} | undefined;
|
|
4193
4374
|
}>;
|
|
4194
4375
|
400: import("zod").ZodObject<{
|
|
@@ -4462,7 +4643,81 @@ export declare const clientsContract: {
|
|
|
4462
4643
|
status: number;
|
|
4463
4644
|
errors: string[];
|
|
4464
4645
|
}>;
|
|
4465
|
-
422: import("zod").ZodObject<{
|
|
4646
|
+
422: import("zod").ZodObject<{
|
|
4647
|
+
status: import("zod").ZodNumber;
|
|
4648
|
+
message: import("zod").ZodString;
|
|
4649
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4650
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4651
|
+
message: string;
|
|
4652
|
+
status: number;
|
|
4653
|
+
errors: string[];
|
|
4654
|
+
}, {
|
|
4655
|
+
message: string;
|
|
4656
|
+
status: number;
|
|
4657
|
+
errors: string[];
|
|
4658
|
+
}>;
|
|
4659
|
+
500: import("zod").ZodObject<{
|
|
4660
|
+
status: import("zod").ZodNumber;
|
|
4661
|
+
message: import("zod").ZodString;
|
|
4662
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4663
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4664
|
+
message: string;
|
|
4665
|
+
status: number;
|
|
4666
|
+
errors: string[];
|
|
4667
|
+
}, {
|
|
4668
|
+
message: string;
|
|
4669
|
+
status: number;
|
|
4670
|
+
errors: string[];
|
|
4671
|
+
}>;
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
uploadOfferingCsv: {
|
|
4675
|
+
method: "POST";
|
|
4676
|
+
metadata: {
|
|
4677
|
+
auth: boolean;
|
|
4678
|
+
};
|
|
4679
|
+
body: import("@ts-rest/core").ContractPlainType<{
|
|
4680
|
+
file: File;
|
|
4681
|
+
}>;
|
|
4682
|
+
query: import("zod").ZodObject<{
|
|
4683
|
+
issuerId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4684
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4685
|
+
issuerId: string;
|
|
4686
|
+
}, {
|
|
4687
|
+
issuerId: string;
|
|
4688
|
+
}>;
|
|
4689
|
+
summary: "Upload and process CSV file for offering creation";
|
|
4690
|
+
contentType: "multipart/form-data";
|
|
4691
|
+
path: "/clients/api/v1/csv/offering";
|
|
4692
|
+
responses: {
|
|
4693
|
+
200: import("zod").ZodLazy<any>;
|
|
4694
|
+
400: import("zod").ZodObject<{
|
|
4695
|
+
status: import("zod").ZodNumber;
|
|
4696
|
+
message: import("zod").ZodString;
|
|
4697
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4698
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4699
|
+
message: string;
|
|
4700
|
+
status: number;
|
|
4701
|
+
errors: string[];
|
|
4702
|
+
}, {
|
|
4703
|
+
message: string;
|
|
4704
|
+
status: number;
|
|
4705
|
+
errors: string[];
|
|
4706
|
+
}>;
|
|
4707
|
+
401: import("zod").ZodObject<{
|
|
4708
|
+
status: import("zod").ZodNumber;
|
|
4709
|
+
message: import("zod").ZodString;
|
|
4710
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4711
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4712
|
+
message: string;
|
|
4713
|
+
status: number;
|
|
4714
|
+
errors: string[];
|
|
4715
|
+
}, {
|
|
4716
|
+
message: string;
|
|
4717
|
+
status: number;
|
|
4718
|
+
errors: string[];
|
|
4719
|
+
}>;
|
|
4720
|
+
404: import("zod").ZodObject<{
|
|
4466
4721
|
status: import("zod").ZodNumber;
|
|
4467
4722
|
message: import("zod").ZodString;
|
|
4468
4723
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -6329,6 +6584,94 @@ export declare const clientsContract: {
|
|
|
6329
6584
|
financial?: boolean | undefined;
|
|
6330
6585
|
} | undefined;
|
|
6331
6586
|
}>>>;
|
|
6587
|
+
trustedContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<import("zod").ZodObject<{
|
|
6588
|
+
id: import("zod").ZodString;
|
|
6589
|
+
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6590
|
+
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
6591
|
+
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
6592
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
6593
|
+
} & {
|
|
6594
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6595
|
+
lastName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6596
|
+
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6597
|
+
phone: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
6598
|
+
countryCallingCode: import("zod").ZodString;
|
|
6599
|
+
country: import("zod").ZodString;
|
|
6600
|
+
nationalNumber: import("zod").ZodString;
|
|
6601
|
+
number: import("zod").ZodString;
|
|
6602
|
+
formatNational: import("zod").ZodString;
|
|
6603
|
+
formatInternational: import("zod").ZodString;
|
|
6604
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
6605
|
+
number: string;
|
|
6606
|
+
countryCallingCode: string;
|
|
6607
|
+
country: string;
|
|
6608
|
+
nationalNumber: string;
|
|
6609
|
+
formatNational: string;
|
|
6610
|
+
formatInternational: string;
|
|
6611
|
+
}, {
|
|
6612
|
+
number: string;
|
|
6613
|
+
countryCallingCode: string;
|
|
6614
|
+
country: string;
|
|
6615
|
+
nationalNumber: string;
|
|
6616
|
+
formatNational: string;
|
|
6617
|
+
formatInternational: string;
|
|
6618
|
+
}>>;
|
|
6619
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6620
|
+
address2: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6621
|
+
city: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6622
|
+
state: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6623
|
+
zip: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6624
|
+
country: import("zod").ZodNullable<import("zod").ZodString>;
|
|
6625
|
+
relationship: import("zod").ZodNativeEnum<typeof import("../..").TrustedContactRelationship>;
|
|
6626
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
6627
|
+
id: string;
|
|
6628
|
+
createdAt: string | Date;
|
|
6629
|
+
updatedAt: string | Date;
|
|
6630
|
+
deletedAt: string | Date | null;
|
|
6631
|
+
country: string | null;
|
|
6632
|
+
firstName: string | null;
|
|
6633
|
+
lastName: string | null;
|
|
6634
|
+
email: string | null;
|
|
6635
|
+
phone: {
|
|
6636
|
+
number: string;
|
|
6637
|
+
countryCallingCode: string;
|
|
6638
|
+
country: string;
|
|
6639
|
+
nationalNumber: string;
|
|
6640
|
+
formatNational: string;
|
|
6641
|
+
formatInternational: string;
|
|
6642
|
+
} | null;
|
|
6643
|
+
state: string | null;
|
|
6644
|
+
address: string | null;
|
|
6645
|
+
city: string | null;
|
|
6646
|
+
zip: string | null;
|
|
6647
|
+
address2: string | null;
|
|
6648
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
6649
|
+
__entity?: string | undefined;
|
|
6650
|
+
}, {
|
|
6651
|
+
id: string;
|
|
6652
|
+
createdAt: string | Date;
|
|
6653
|
+
updatedAt: string | Date;
|
|
6654
|
+
deletedAt: string | Date | null;
|
|
6655
|
+
country: string | null;
|
|
6656
|
+
firstName: string | null;
|
|
6657
|
+
lastName: string | null;
|
|
6658
|
+
email: string | null;
|
|
6659
|
+
phone: {
|
|
6660
|
+
number: string;
|
|
6661
|
+
countryCallingCode: string;
|
|
6662
|
+
country: string;
|
|
6663
|
+
nationalNumber: string;
|
|
6664
|
+
formatNational: string;
|
|
6665
|
+
formatInternational: string;
|
|
6666
|
+
} | null;
|
|
6667
|
+
state: string | null;
|
|
6668
|
+
address: string | null;
|
|
6669
|
+
city: string | null;
|
|
6670
|
+
zip: string | null;
|
|
6671
|
+
address2: string | null;
|
|
6672
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
6673
|
+
__entity?: string | undefined;
|
|
6674
|
+
}>>, "many">>;
|
|
6332
6675
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6333
6676
|
id: string;
|
|
6334
6677
|
createdAt: string | Date;
|
|
@@ -6464,6 +6807,31 @@ export declare const clientsContract: {
|
|
|
6464
6807
|
financial: boolean;
|
|
6465
6808
|
} | undefined;
|
|
6466
6809
|
} | undefined;
|
|
6810
|
+
trustedContacts?: {
|
|
6811
|
+
id: string;
|
|
6812
|
+
createdAt: string | Date;
|
|
6813
|
+
updatedAt: string | Date;
|
|
6814
|
+
deletedAt: string | Date | null;
|
|
6815
|
+
country: string | null;
|
|
6816
|
+
firstName: string | null;
|
|
6817
|
+
lastName: string | null;
|
|
6818
|
+
email: string | null;
|
|
6819
|
+
phone: {
|
|
6820
|
+
number: string;
|
|
6821
|
+
countryCallingCode: string;
|
|
6822
|
+
country: string;
|
|
6823
|
+
nationalNumber: string;
|
|
6824
|
+
formatNational: string;
|
|
6825
|
+
formatInternational: string;
|
|
6826
|
+
} | null;
|
|
6827
|
+
state: string | null;
|
|
6828
|
+
address: string | null;
|
|
6829
|
+
city: string | null;
|
|
6830
|
+
zip: string | null;
|
|
6831
|
+
address2: string | null;
|
|
6832
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
6833
|
+
__entity?: string | undefined;
|
|
6834
|
+
}[] | undefined;
|
|
6467
6835
|
}, {
|
|
6468
6836
|
id: string;
|
|
6469
6837
|
createdAt: string | Date;
|
|
@@ -6599,6 +6967,31 @@ export declare const clientsContract: {
|
|
|
6599
6967
|
financial?: boolean | undefined;
|
|
6600
6968
|
} | undefined;
|
|
6601
6969
|
} | undefined;
|
|
6970
|
+
trustedContacts?: {
|
|
6971
|
+
id: string;
|
|
6972
|
+
createdAt: string | Date;
|
|
6973
|
+
updatedAt: string | Date;
|
|
6974
|
+
deletedAt: string | Date | null;
|
|
6975
|
+
country: string | null;
|
|
6976
|
+
firstName: string | null;
|
|
6977
|
+
lastName: string | null;
|
|
6978
|
+
email: string | null;
|
|
6979
|
+
phone: {
|
|
6980
|
+
number: string;
|
|
6981
|
+
countryCallingCode: string;
|
|
6982
|
+
country: string;
|
|
6983
|
+
nationalNumber: string;
|
|
6984
|
+
formatNational: string;
|
|
6985
|
+
formatInternational: string;
|
|
6986
|
+
} | null;
|
|
6987
|
+
state: string | null;
|
|
6988
|
+
address: string | null;
|
|
6989
|
+
city: string | null;
|
|
6990
|
+
zip: string | null;
|
|
6991
|
+
address2: string | null;
|
|
6992
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
6993
|
+
__entity?: string | undefined;
|
|
6994
|
+
}[] | undefined;
|
|
6602
6995
|
}>>>;
|
|
6603
6996
|
role: import("zod").ZodNativeEnum<typeof import("../..").IndividualRole>;
|
|
6604
6997
|
firstName: import("zod").ZodString;
|
|
@@ -6866,6 +7259,31 @@ export declare const clientsContract: {
|
|
|
6866
7259
|
financial: boolean;
|
|
6867
7260
|
} | undefined;
|
|
6868
7261
|
} | undefined;
|
|
7262
|
+
trustedContacts?: {
|
|
7263
|
+
id: string;
|
|
7264
|
+
createdAt: string | Date;
|
|
7265
|
+
updatedAt: string | Date;
|
|
7266
|
+
deletedAt: string | Date | null;
|
|
7267
|
+
country: string | null;
|
|
7268
|
+
firstName: string | null;
|
|
7269
|
+
lastName: string | null;
|
|
7270
|
+
email: string | null;
|
|
7271
|
+
phone: {
|
|
7272
|
+
number: string;
|
|
7273
|
+
countryCallingCode: string;
|
|
7274
|
+
country: string;
|
|
7275
|
+
nationalNumber: string;
|
|
7276
|
+
formatNational: string;
|
|
7277
|
+
formatInternational: string;
|
|
7278
|
+
} | null;
|
|
7279
|
+
state: string | null;
|
|
7280
|
+
address: string | null;
|
|
7281
|
+
city: string | null;
|
|
7282
|
+
zip: string | null;
|
|
7283
|
+
address2: string | null;
|
|
7284
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
7285
|
+
__entity?: string | undefined;
|
|
7286
|
+
}[] | undefined;
|
|
6869
7287
|
} | undefined;
|
|
6870
7288
|
}, {
|
|
6871
7289
|
id: string;
|
|
@@ -7079,6 +7497,31 @@ export declare const clientsContract: {
|
|
|
7079
7497
|
financial?: boolean | undefined;
|
|
7080
7498
|
} | undefined;
|
|
7081
7499
|
} | undefined;
|
|
7500
|
+
trustedContacts?: {
|
|
7501
|
+
id: string;
|
|
7502
|
+
createdAt: string | Date;
|
|
7503
|
+
updatedAt: string | Date;
|
|
7504
|
+
deletedAt: string | Date | null;
|
|
7505
|
+
country: string | null;
|
|
7506
|
+
firstName: string | null;
|
|
7507
|
+
lastName: string | null;
|
|
7508
|
+
email: string | null;
|
|
7509
|
+
phone: {
|
|
7510
|
+
number: string;
|
|
7511
|
+
countryCallingCode: string;
|
|
7512
|
+
country: string;
|
|
7513
|
+
nationalNumber: string;
|
|
7514
|
+
formatNational: string;
|
|
7515
|
+
formatInternational: string;
|
|
7516
|
+
} | null;
|
|
7517
|
+
state: string | null;
|
|
7518
|
+
address: string | null;
|
|
7519
|
+
city: string | null;
|
|
7520
|
+
zip: string | null;
|
|
7521
|
+
address2: string | null;
|
|
7522
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
7523
|
+
__entity?: string | undefined;
|
|
7524
|
+
}[] | undefined;
|
|
7082
7525
|
} | undefined;
|
|
7083
7526
|
}>;
|
|
7084
7527
|
401: import("zod").ZodObject<{
|
|
@@ -7824,6 +8267,94 @@ export declare const clientsContract: {
|
|
|
7824
8267
|
financial?: boolean | undefined;
|
|
7825
8268
|
} | undefined;
|
|
7826
8269
|
}>>>;
|
|
8270
|
+
trustedContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<import("zod").ZodObject<{
|
|
8271
|
+
id: import("zod").ZodString;
|
|
8272
|
+
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8273
|
+
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
8274
|
+
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
8275
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
8276
|
+
} & {
|
|
8277
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8278
|
+
lastName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8279
|
+
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8280
|
+
phone: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
8281
|
+
countryCallingCode: import("zod").ZodString;
|
|
8282
|
+
country: import("zod").ZodString;
|
|
8283
|
+
nationalNumber: import("zod").ZodString;
|
|
8284
|
+
number: import("zod").ZodString;
|
|
8285
|
+
formatNational: import("zod").ZodString;
|
|
8286
|
+
formatInternational: import("zod").ZodString;
|
|
8287
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8288
|
+
number: string;
|
|
8289
|
+
countryCallingCode: string;
|
|
8290
|
+
country: string;
|
|
8291
|
+
nationalNumber: string;
|
|
8292
|
+
formatNational: string;
|
|
8293
|
+
formatInternational: string;
|
|
8294
|
+
}, {
|
|
8295
|
+
number: string;
|
|
8296
|
+
countryCallingCode: string;
|
|
8297
|
+
country: string;
|
|
8298
|
+
nationalNumber: string;
|
|
8299
|
+
formatNational: string;
|
|
8300
|
+
formatInternational: string;
|
|
8301
|
+
}>>;
|
|
8302
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8303
|
+
address2: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8304
|
+
city: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8305
|
+
state: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8306
|
+
zip: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8307
|
+
country: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8308
|
+
relationship: import("zod").ZodNativeEnum<typeof import("../..").TrustedContactRelationship>;
|
|
8309
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8310
|
+
id: string;
|
|
8311
|
+
createdAt: string | Date;
|
|
8312
|
+
updatedAt: string | Date;
|
|
8313
|
+
deletedAt: string | Date | null;
|
|
8314
|
+
country: string | null;
|
|
8315
|
+
firstName: string | null;
|
|
8316
|
+
lastName: string | null;
|
|
8317
|
+
email: string | null;
|
|
8318
|
+
phone: {
|
|
8319
|
+
number: string;
|
|
8320
|
+
countryCallingCode: string;
|
|
8321
|
+
country: string;
|
|
8322
|
+
nationalNumber: string;
|
|
8323
|
+
formatNational: string;
|
|
8324
|
+
formatInternational: string;
|
|
8325
|
+
} | null;
|
|
8326
|
+
state: string | null;
|
|
8327
|
+
address: string | null;
|
|
8328
|
+
city: string | null;
|
|
8329
|
+
zip: string | null;
|
|
8330
|
+
address2: string | null;
|
|
8331
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
8332
|
+
__entity?: string | undefined;
|
|
8333
|
+
}, {
|
|
8334
|
+
id: string;
|
|
8335
|
+
createdAt: string | Date;
|
|
8336
|
+
updatedAt: string | Date;
|
|
8337
|
+
deletedAt: string | Date | null;
|
|
8338
|
+
country: string | null;
|
|
8339
|
+
firstName: string | null;
|
|
8340
|
+
lastName: string | null;
|
|
8341
|
+
email: string | null;
|
|
8342
|
+
phone: {
|
|
8343
|
+
number: string;
|
|
8344
|
+
countryCallingCode: string;
|
|
8345
|
+
country: string;
|
|
8346
|
+
nationalNumber: string;
|
|
8347
|
+
formatNational: string;
|
|
8348
|
+
formatInternational: string;
|
|
8349
|
+
} | null;
|
|
8350
|
+
state: string | null;
|
|
8351
|
+
address: string | null;
|
|
8352
|
+
city: string | null;
|
|
8353
|
+
zip: string | null;
|
|
8354
|
+
address2: string | null;
|
|
8355
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
8356
|
+
__entity?: string | undefined;
|
|
8357
|
+
}>>, "many">>;
|
|
7827
8358
|
}, "strip", import("zod").ZodTypeAny, {
|
|
7828
8359
|
id: string;
|
|
7829
8360
|
createdAt: string | Date;
|
|
@@ -7959,6 +8490,31 @@ export declare const clientsContract: {
|
|
|
7959
8490
|
financial: boolean;
|
|
7960
8491
|
} | undefined;
|
|
7961
8492
|
} | undefined;
|
|
8493
|
+
trustedContacts?: {
|
|
8494
|
+
id: string;
|
|
8495
|
+
createdAt: string | Date;
|
|
8496
|
+
updatedAt: string | Date;
|
|
8497
|
+
deletedAt: string | Date | null;
|
|
8498
|
+
country: string | null;
|
|
8499
|
+
firstName: string | null;
|
|
8500
|
+
lastName: string | null;
|
|
8501
|
+
email: string | null;
|
|
8502
|
+
phone: {
|
|
8503
|
+
number: string;
|
|
8504
|
+
countryCallingCode: string;
|
|
8505
|
+
country: string;
|
|
8506
|
+
nationalNumber: string;
|
|
8507
|
+
formatNational: string;
|
|
8508
|
+
formatInternational: string;
|
|
8509
|
+
} | null;
|
|
8510
|
+
state: string | null;
|
|
8511
|
+
address: string | null;
|
|
8512
|
+
city: string | null;
|
|
8513
|
+
zip: string | null;
|
|
8514
|
+
address2: string | null;
|
|
8515
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
8516
|
+
__entity?: string | undefined;
|
|
8517
|
+
}[] | undefined;
|
|
7962
8518
|
}, {
|
|
7963
8519
|
id: string;
|
|
7964
8520
|
createdAt: string | Date;
|
|
@@ -8094,6 +8650,31 @@ export declare const clientsContract: {
|
|
|
8094
8650
|
financial?: boolean | undefined;
|
|
8095
8651
|
} | undefined;
|
|
8096
8652
|
} | undefined;
|
|
8653
|
+
trustedContacts?: {
|
|
8654
|
+
id: string;
|
|
8655
|
+
createdAt: string | Date;
|
|
8656
|
+
updatedAt: string | Date;
|
|
8657
|
+
deletedAt: string | Date | null;
|
|
8658
|
+
country: string | null;
|
|
8659
|
+
firstName: string | null;
|
|
8660
|
+
lastName: string | null;
|
|
8661
|
+
email: string | null;
|
|
8662
|
+
phone: {
|
|
8663
|
+
number: string;
|
|
8664
|
+
countryCallingCode: string;
|
|
8665
|
+
country: string;
|
|
8666
|
+
nationalNumber: string;
|
|
8667
|
+
formatNational: string;
|
|
8668
|
+
formatInternational: string;
|
|
8669
|
+
} | null;
|
|
8670
|
+
state: string | null;
|
|
8671
|
+
address: string | null;
|
|
8672
|
+
city: string | null;
|
|
8673
|
+
zip: string | null;
|
|
8674
|
+
address2: string | null;
|
|
8675
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
8676
|
+
__entity?: string | undefined;
|
|
8677
|
+
}[] | undefined;
|
|
8097
8678
|
}>>>;
|
|
8098
8679
|
role: import("zod").ZodNativeEnum<typeof import("../..").IndividualRole>;
|
|
8099
8680
|
firstName: import("zod").ZodString;
|
|
@@ -8361,6 +8942,31 @@ export declare const clientsContract: {
|
|
|
8361
8942
|
financial: boolean;
|
|
8362
8943
|
} | undefined;
|
|
8363
8944
|
} | undefined;
|
|
8945
|
+
trustedContacts?: {
|
|
8946
|
+
id: string;
|
|
8947
|
+
createdAt: string | Date;
|
|
8948
|
+
updatedAt: string | Date;
|
|
8949
|
+
deletedAt: string | Date | null;
|
|
8950
|
+
country: string | null;
|
|
8951
|
+
firstName: string | null;
|
|
8952
|
+
lastName: string | null;
|
|
8953
|
+
email: string | null;
|
|
8954
|
+
phone: {
|
|
8955
|
+
number: string;
|
|
8956
|
+
countryCallingCode: string;
|
|
8957
|
+
country: string;
|
|
8958
|
+
nationalNumber: string;
|
|
8959
|
+
formatNational: string;
|
|
8960
|
+
formatInternational: string;
|
|
8961
|
+
} | null;
|
|
8962
|
+
state: string | null;
|
|
8963
|
+
address: string | null;
|
|
8964
|
+
city: string | null;
|
|
8965
|
+
zip: string | null;
|
|
8966
|
+
address2: string | null;
|
|
8967
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
8968
|
+
__entity?: string | undefined;
|
|
8969
|
+
}[] | undefined;
|
|
8364
8970
|
} | undefined;
|
|
8365
8971
|
}, {
|
|
8366
8972
|
id: string;
|
|
@@ -8574,6 +9180,31 @@ export declare const clientsContract: {
|
|
|
8574
9180
|
financial?: boolean | undefined;
|
|
8575
9181
|
} | undefined;
|
|
8576
9182
|
} | undefined;
|
|
9183
|
+
trustedContacts?: {
|
|
9184
|
+
id: string;
|
|
9185
|
+
createdAt: string | Date;
|
|
9186
|
+
updatedAt: string | Date;
|
|
9187
|
+
deletedAt: string | Date | null;
|
|
9188
|
+
country: string | null;
|
|
9189
|
+
firstName: string | null;
|
|
9190
|
+
lastName: string | null;
|
|
9191
|
+
email: string | null;
|
|
9192
|
+
phone: {
|
|
9193
|
+
number: string;
|
|
9194
|
+
countryCallingCode: string;
|
|
9195
|
+
country: string;
|
|
9196
|
+
nationalNumber: string;
|
|
9197
|
+
formatNational: string;
|
|
9198
|
+
formatInternational: string;
|
|
9199
|
+
} | null;
|
|
9200
|
+
state: string | null;
|
|
9201
|
+
address: string | null;
|
|
9202
|
+
city: string | null;
|
|
9203
|
+
zip: string | null;
|
|
9204
|
+
address2: string | null;
|
|
9205
|
+
relationship: import("../..").TrustedContactRelationship;
|
|
9206
|
+
__entity?: string | undefined;
|
|
9207
|
+
}[] | undefined;
|
|
8577
9208
|
} | undefined;
|
|
8578
9209
|
}>;
|
|
8579
9210
|
401: import("zod").ZodObject<{
|
|
@@ -14034,49 +14665,234 @@ export declare const clientsContract: {
|
|
|
14034
14665
|
}>;
|
|
14035
14666
|
};
|
|
14036
14667
|
};
|
|
14037
|
-
postLineItem: {
|
|
14668
|
+
postLineItem: {
|
|
14669
|
+
method: "POST";
|
|
14670
|
+
metadata: {
|
|
14671
|
+
auth: boolean;
|
|
14672
|
+
};
|
|
14673
|
+
body: import("zod").ZodObject<{
|
|
14674
|
+
assetId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14675
|
+
quantity: import("zod").ZodNumber;
|
|
14676
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14677
|
+
quantity: number;
|
|
14678
|
+
assetId: string;
|
|
14679
|
+
}, {
|
|
14680
|
+
quantity: number;
|
|
14681
|
+
assetId: string;
|
|
14682
|
+
}>;
|
|
14683
|
+
query: import("zod").ZodObject<{
|
|
14684
|
+
reset: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>, "true" | "false", string | undefined>, boolean, string | undefined>;
|
|
14685
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14686
|
+
reset: boolean;
|
|
14687
|
+
}, {
|
|
14688
|
+
reset?: string | undefined;
|
|
14689
|
+
}>;
|
|
14690
|
+
summary: "Create a Line Item";
|
|
14691
|
+
path: "/clients/api/v1/trades/line-items";
|
|
14692
|
+
responses: {
|
|
14693
|
+
201: import("zod").ZodObject<{
|
|
14694
|
+
assetName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
14695
|
+
total: import("zod").ZodNumber;
|
|
14696
|
+
pricePerShare: import("zod").ZodNumber;
|
|
14697
|
+
id: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14698
|
+
quantity: import("zod").ZodNumber;
|
|
14699
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14700
|
+
id: string;
|
|
14701
|
+
total: number;
|
|
14702
|
+
pricePerShare: number;
|
|
14703
|
+
quantity: number;
|
|
14704
|
+
assetName: string | null;
|
|
14705
|
+
}, {
|
|
14706
|
+
id: string;
|
|
14707
|
+
total: number;
|
|
14708
|
+
pricePerShare: number;
|
|
14709
|
+
quantity: number;
|
|
14710
|
+
assetName: string | null;
|
|
14711
|
+
}>;
|
|
14712
|
+
401: import("zod").ZodObject<{
|
|
14713
|
+
status: import("zod").ZodNumber;
|
|
14714
|
+
message: import("zod").ZodString;
|
|
14715
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14716
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14717
|
+
message: string;
|
|
14718
|
+
status: number;
|
|
14719
|
+
errors: string[];
|
|
14720
|
+
}, {
|
|
14721
|
+
message: string;
|
|
14722
|
+
status: number;
|
|
14723
|
+
errors: string[];
|
|
14724
|
+
}>;
|
|
14725
|
+
403: import("zod").ZodObject<{
|
|
14726
|
+
status: import("zod").ZodNumber;
|
|
14727
|
+
message: import("zod").ZodString;
|
|
14728
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14729
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14730
|
+
message: string;
|
|
14731
|
+
status: number;
|
|
14732
|
+
errors: string[];
|
|
14733
|
+
}, {
|
|
14734
|
+
message: string;
|
|
14735
|
+
status: number;
|
|
14736
|
+
errors: string[];
|
|
14737
|
+
}>;
|
|
14738
|
+
400: import("zod").ZodObject<{
|
|
14739
|
+
status: import("zod").ZodNumber;
|
|
14740
|
+
message: import("zod").ZodString;
|
|
14741
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14742
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14743
|
+
message: string;
|
|
14744
|
+
status: number;
|
|
14745
|
+
errors: string[];
|
|
14746
|
+
}, {
|
|
14747
|
+
message: string;
|
|
14748
|
+
status: number;
|
|
14749
|
+
errors: string[];
|
|
14750
|
+
}>;
|
|
14751
|
+
500: import("zod").ZodObject<{
|
|
14752
|
+
status: import("zod").ZodNumber;
|
|
14753
|
+
message: import("zod").ZodString;
|
|
14754
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14755
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14756
|
+
message: string;
|
|
14757
|
+
status: number;
|
|
14758
|
+
errors: string[];
|
|
14759
|
+
}, {
|
|
14760
|
+
message: string;
|
|
14761
|
+
status: number;
|
|
14762
|
+
errors: string[];
|
|
14763
|
+
}>;
|
|
14764
|
+
};
|
|
14765
|
+
};
|
|
14766
|
+
patchTradeStatus: {
|
|
14767
|
+
method: "PATCH";
|
|
14768
|
+
metadata: {
|
|
14769
|
+
auth: boolean;
|
|
14770
|
+
};
|
|
14771
|
+
body: import("zod").ZodObject<{
|
|
14772
|
+
tradeStatus: import("zod").ZodNativeEnum<typeof import("../..").TradeStatus>;
|
|
14773
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14774
|
+
tradeStatus: import("../..").TradeStatus;
|
|
14775
|
+
}, {
|
|
14776
|
+
tradeStatus: import("../..").TradeStatus;
|
|
14777
|
+
}>;
|
|
14778
|
+
pathParams: import("zod").ZodObject<{
|
|
14779
|
+
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
14780
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14781
|
+
id: string;
|
|
14782
|
+
}, {
|
|
14783
|
+
id: string;
|
|
14784
|
+
}>;
|
|
14785
|
+
summary: "Patch a trade status";
|
|
14786
|
+
path: "/clients/api/v1/trades/:id";
|
|
14787
|
+
responses: {
|
|
14788
|
+
201: any;
|
|
14789
|
+
401: import("zod").ZodObject<{
|
|
14790
|
+
status: import("zod").ZodNumber;
|
|
14791
|
+
message: import("zod").ZodString;
|
|
14792
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14793
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14794
|
+
message: string;
|
|
14795
|
+
status: number;
|
|
14796
|
+
errors: string[];
|
|
14797
|
+
}, {
|
|
14798
|
+
message: string;
|
|
14799
|
+
status: number;
|
|
14800
|
+
errors: string[];
|
|
14801
|
+
}>;
|
|
14802
|
+
403: import("zod").ZodObject<{
|
|
14803
|
+
status: import("zod").ZodNumber;
|
|
14804
|
+
message: import("zod").ZodString;
|
|
14805
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14806
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14807
|
+
message: string;
|
|
14808
|
+
status: number;
|
|
14809
|
+
errors: string[];
|
|
14810
|
+
}, {
|
|
14811
|
+
message: string;
|
|
14812
|
+
status: number;
|
|
14813
|
+
errors: string[];
|
|
14814
|
+
}>;
|
|
14815
|
+
400: import("zod").ZodObject<{
|
|
14816
|
+
status: import("zod").ZodNumber;
|
|
14817
|
+
message: import("zod").ZodString;
|
|
14818
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14819
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14820
|
+
message: string;
|
|
14821
|
+
status: number;
|
|
14822
|
+
errors: string[];
|
|
14823
|
+
}, {
|
|
14824
|
+
message: string;
|
|
14825
|
+
status: number;
|
|
14826
|
+
errors: string[];
|
|
14827
|
+
}>;
|
|
14828
|
+
500: import("zod").ZodObject<{
|
|
14829
|
+
status: import("zod").ZodNumber;
|
|
14830
|
+
message: import("zod").ZodString;
|
|
14831
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14832
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14833
|
+
message: string;
|
|
14834
|
+
status: number;
|
|
14835
|
+
errors: string[];
|
|
14836
|
+
}, {
|
|
14837
|
+
message: string;
|
|
14838
|
+
status: number;
|
|
14839
|
+
errors: string[];
|
|
14840
|
+
}>;
|
|
14841
|
+
};
|
|
14842
|
+
};
|
|
14843
|
+
postAttachSubdoc: {
|
|
14038
14844
|
method: "POST";
|
|
14039
14845
|
metadata: {
|
|
14040
14846
|
auth: boolean;
|
|
14041
14847
|
};
|
|
14042
14848
|
body: import("zod").ZodObject<{
|
|
14043
|
-
|
|
14044
|
-
|
|
14849
|
+
lineItemId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
14850
|
+
fileId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14851
|
+
primarySignatureStatus: import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>;
|
|
14852
|
+
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14045
14853
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14046
|
-
|
|
14047
|
-
|
|
14854
|
+
fileId: string;
|
|
14855
|
+
lineItemId: string;
|
|
14856
|
+
primarySignatureStatus: import("../..").SignatureStatus;
|
|
14857
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14048
14858
|
}, {
|
|
14049
|
-
|
|
14050
|
-
|
|
14859
|
+
fileId: string;
|
|
14860
|
+
lineItemId: string;
|
|
14861
|
+
primarySignatureStatus: import("../..").SignatureStatus;
|
|
14862
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14051
14863
|
}>;
|
|
14052
|
-
|
|
14053
|
-
|
|
14864
|
+
pathParams: import("zod").ZodObject<{
|
|
14865
|
+
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
14054
14866
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14055
|
-
|
|
14867
|
+
id: string;
|
|
14056
14868
|
}, {
|
|
14057
|
-
|
|
14869
|
+
id: string;
|
|
14058
14870
|
}>;
|
|
14059
|
-
summary: "
|
|
14060
|
-
path: "/clients/api/v1/trades/
|
|
14871
|
+
summary: "Attach subdoc to trade";
|
|
14872
|
+
path: "/clients/api/v1/trades/:id/attach-subdoc";
|
|
14061
14873
|
responses: {
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
pricePerShare: import("zod").ZodNumber;
|
|
14066
|
-
id: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14067
|
-
quantity: import("zod").ZodNumber;
|
|
14874
|
+
200: import("zod").ZodObject<{
|
|
14875
|
+
success: import("zod").ZodBoolean;
|
|
14876
|
+
message: import("zod").ZodString;
|
|
14068
14877
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
pricePerShare: number;
|
|
14072
|
-
quantity: number;
|
|
14073
|
-
assetName: string | null;
|
|
14878
|
+
message: string;
|
|
14879
|
+
success: boolean;
|
|
14074
14880
|
}, {
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14881
|
+
message: string;
|
|
14882
|
+
success: boolean;
|
|
14883
|
+
}>;
|
|
14884
|
+
400: import("zod").ZodObject<{
|
|
14885
|
+
status: import("zod").ZodNumber;
|
|
14886
|
+
message: import("zod").ZodString;
|
|
14887
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14888
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14889
|
+
message: string;
|
|
14890
|
+
status: number;
|
|
14891
|
+
errors: string[];
|
|
14892
|
+
}, {
|
|
14893
|
+
message: string;
|
|
14894
|
+
status: number;
|
|
14895
|
+
errors: string[];
|
|
14080
14896
|
}>;
|
|
14081
14897
|
401: import("zod").ZodObject<{
|
|
14082
14898
|
status: import("zod").ZodNumber;
|
|
@@ -14104,7 +14920,7 @@ export declare const clientsContract: {
|
|
|
14104
14920
|
status: number;
|
|
14105
14921
|
errors: string[];
|
|
14106
14922
|
}>;
|
|
14107
|
-
|
|
14923
|
+
404: import("zod").ZodObject<{
|
|
14108
14924
|
status: import("zod").ZodNumber;
|
|
14109
14925
|
message: import("zod").ZodString;
|
|
14110
14926
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14132,17 +14948,26 @@ export declare const clientsContract: {
|
|
|
14132
14948
|
}>;
|
|
14133
14949
|
};
|
|
14134
14950
|
};
|
|
14135
|
-
|
|
14136
|
-
method: "
|
|
14951
|
+
putAttachSubdoc: {
|
|
14952
|
+
method: "PUT";
|
|
14137
14953
|
metadata: {
|
|
14138
14954
|
auth: boolean;
|
|
14139
14955
|
};
|
|
14140
14956
|
body: import("zod").ZodObject<{
|
|
14141
|
-
|
|
14957
|
+
lineItemId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14958
|
+
fileId: import("zod").ZodOptional<import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>>;
|
|
14959
|
+
primarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14960
|
+
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14142
14961
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14143
|
-
|
|
14962
|
+
fileId?: string | undefined;
|
|
14963
|
+
lineItemId?: string | undefined;
|
|
14964
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14965
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14144
14966
|
}, {
|
|
14145
|
-
|
|
14967
|
+
fileId?: string | undefined;
|
|
14968
|
+
lineItemId?: string | undefined;
|
|
14969
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14970
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14146
14971
|
}>;
|
|
14147
14972
|
pathParams: import("zod").ZodObject<{
|
|
14148
14973
|
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
@@ -14151,10 +14976,32 @@ export declare const clientsContract: {
|
|
|
14151
14976
|
}, {
|
|
14152
14977
|
id: string;
|
|
14153
14978
|
}>;
|
|
14154
|
-
summary: "
|
|
14155
|
-
path: "/clients/api/v1/trades/:id";
|
|
14979
|
+
summary: "Update attached subdoc for trade";
|
|
14980
|
+
path: "/clients/api/v1/trades/:id/attach-subdoc";
|
|
14156
14981
|
responses: {
|
|
14157
|
-
|
|
14982
|
+
200: import("zod").ZodObject<{
|
|
14983
|
+
success: import("zod").ZodBoolean;
|
|
14984
|
+
message: import("zod").ZodString;
|
|
14985
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14986
|
+
message: string;
|
|
14987
|
+
success: boolean;
|
|
14988
|
+
}, {
|
|
14989
|
+
message: string;
|
|
14990
|
+
success: boolean;
|
|
14991
|
+
}>;
|
|
14992
|
+
400: import("zod").ZodObject<{
|
|
14993
|
+
status: import("zod").ZodNumber;
|
|
14994
|
+
message: import("zod").ZodString;
|
|
14995
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14996
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14997
|
+
message: string;
|
|
14998
|
+
status: number;
|
|
14999
|
+
errors: string[];
|
|
15000
|
+
}, {
|
|
15001
|
+
message: string;
|
|
15002
|
+
status: number;
|
|
15003
|
+
errors: string[];
|
|
15004
|
+
}>;
|
|
14158
15005
|
401: import("zod").ZodObject<{
|
|
14159
15006
|
status: import("zod").ZodNumber;
|
|
14160
15007
|
message: import("zod").ZodString;
|
|
@@ -14181,7 +15028,7 @@ export declare const clientsContract: {
|
|
|
14181
15028
|
status: number;
|
|
14182
15029
|
errors: string[];
|
|
14183
15030
|
}>;
|
|
14184
|
-
|
|
15031
|
+
404: import("zod").ZodObject<{
|
|
14185
15032
|
status: import("zod").ZodNumber;
|
|
14186
15033
|
message: import("zod").ZodString;
|
|
14187
15034
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14209,25 +15056,22 @@ export declare const clientsContract: {
|
|
|
14209
15056
|
}>;
|
|
14210
15057
|
};
|
|
14211
15058
|
};
|
|
14212
|
-
|
|
14213
|
-
method: "
|
|
15059
|
+
patchSubdocSign: {
|
|
15060
|
+
method: "PATCH";
|
|
14214
15061
|
metadata: {
|
|
14215
15062
|
auth: boolean;
|
|
14216
15063
|
};
|
|
14217
15064
|
body: import("zod").ZodObject<{
|
|
14218
|
-
lineItemId: import("zod").ZodEffects<import("zod").ZodString, string, string
|
|
14219
|
-
|
|
14220
|
-
primarySignatureStatus: import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>;
|
|
15065
|
+
lineItemId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
15066
|
+
primarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14221
15067
|
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14222
15068
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
primarySignatureStatus: import("../..").SignatureStatus;
|
|
15069
|
+
lineItemId?: string | undefined;
|
|
15070
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14226
15071
|
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14227
15072
|
}, {
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
primarySignatureStatus: import("../..").SignatureStatus;
|
|
15073
|
+
lineItemId?: string | undefined;
|
|
15074
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14231
15075
|
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14232
15076
|
}>;
|
|
14233
15077
|
pathParams: import("zod").ZodObject<{
|
|
@@ -14237,8 +15081,8 @@ export declare const clientsContract: {
|
|
|
14237
15081
|
}, {
|
|
14238
15082
|
id: string;
|
|
14239
15083
|
}>;
|
|
14240
|
-
summary: "
|
|
14241
|
-
path: "/clients/api/v1/trades/:id/
|
|
15084
|
+
summary: "Update subdoc signature statuses for trade";
|
|
15085
|
+
path: "/clients/api/v1/trades/:id/sign";
|
|
14242
15086
|
responses: {
|
|
14243
15087
|
200: import("zod").ZodObject<{
|
|
14244
15088
|
success: import("zod").ZodBoolean;
|
|
@@ -14276,7 +15120,95 @@ export declare const clientsContract: {
|
|
|
14276
15120
|
status: number;
|
|
14277
15121
|
errors: string[];
|
|
14278
15122
|
}>;
|
|
14279
|
-
403: import("zod").ZodObject<{
|
|
15123
|
+
403: import("zod").ZodObject<{
|
|
15124
|
+
status: import("zod").ZodNumber;
|
|
15125
|
+
message: import("zod").ZodString;
|
|
15126
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15127
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15128
|
+
message: string;
|
|
15129
|
+
status: number;
|
|
15130
|
+
errors: string[];
|
|
15131
|
+
}, {
|
|
15132
|
+
message: string;
|
|
15133
|
+
status: number;
|
|
15134
|
+
errors: string[];
|
|
15135
|
+
}>;
|
|
15136
|
+
404: import("zod").ZodObject<{
|
|
15137
|
+
status: import("zod").ZodNumber;
|
|
15138
|
+
message: import("zod").ZodString;
|
|
15139
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15140
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15141
|
+
message: string;
|
|
15142
|
+
status: number;
|
|
15143
|
+
errors: string[];
|
|
15144
|
+
}, {
|
|
15145
|
+
message: string;
|
|
15146
|
+
status: number;
|
|
15147
|
+
errors: string[];
|
|
15148
|
+
}>;
|
|
15149
|
+
500: import("zod").ZodObject<{
|
|
15150
|
+
status: import("zod").ZodNumber;
|
|
15151
|
+
message: import("zod").ZodString;
|
|
15152
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15153
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15154
|
+
message: string;
|
|
15155
|
+
status: number;
|
|
15156
|
+
errors: string[];
|
|
15157
|
+
}, {
|
|
15158
|
+
message: string;
|
|
15159
|
+
status: number;
|
|
15160
|
+
errors: string[];
|
|
15161
|
+
}>;
|
|
15162
|
+
};
|
|
15163
|
+
};
|
|
15164
|
+
};
|
|
15165
|
+
transactions: {
|
|
15166
|
+
postTransaction: {
|
|
15167
|
+
method: "POST";
|
|
15168
|
+
metadata: {
|
|
15169
|
+
auth: boolean;
|
|
15170
|
+
};
|
|
15171
|
+
body: import("zod").ZodObject<{
|
|
15172
|
+
tid: import("zod").ZodString;
|
|
15173
|
+
tradeId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
15174
|
+
name: import("zod").ZodString;
|
|
15175
|
+
chargedAt: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>;
|
|
15176
|
+
amount: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
15177
|
+
} & {
|
|
15178
|
+
userId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
15179
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15180
|
+
name: string;
|
|
15181
|
+
tid: string;
|
|
15182
|
+
userId: string;
|
|
15183
|
+
amount: number;
|
|
15184
|
+
tradeId: string;
|
|
15185
|
+
chargedAt: Date | null;
|
|
15186
|
+
}, {
|
|
15187
|
+
name: string;
|
|
15188
|
+
tid: string;
|
|
15189
|
+
userId: string;
|
|
15190
|
+
amount: number;
|
|
15191
|
+
tradeId: string;
|
|
15192
|
+
chargedAt: string | null;
|
|
15193
|
+
}>;
|
|
15194
|
+
summary: "Create a transaction";
|
|
15195
|
+
path: "/clients/api/v1/transactions";
|
|
15196
|
+
responses: {
|
|
15197
|
+
201: any;
|
|
15198
|
+
400: import("zod").ZodObject<{
|
|
15199
|
+
status: import("zod").ZodNumber;
|
|
15200
|
+
message: import("zod").ZodString;
|
|
15201
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15202
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15203
|
+
message: string;
|
|
15204
|
+
status: number;
|
|
15205
|
+
errors: string[];
|
|
15206
|
+
}, {
|
|
15207
|
+
message: string;
|
|
15208
|
+
status: number;
|
|
15209
|
+
errors: string[];
|
|
15210
|
+
}>;
|
|
15211
|
+
401: import("zod").ZodObject<{
|
|
14280
15212
|
status: import("zod").ZodNumber;
|
|
14281
15213
|
message: import("zod").ZodString;
|
|
14282
15214
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14317,46 +15249,39 @@ export declare const clientsContract: {
|
|
|
14317
15249
|
}>;
|
|
14318
15250
|
};
|
|
14319
15251
|
};
|
|
14320
|
-
|
|
14321
|
-
|
|
15252
|
+
};
|
|
15253
|
+
webhooks: {
|
|
15254
|
+
subscribe: {
|
|
15255
|
+
description: "Creates a new webhook subscription for the specified event types. Used by Zapier REST Hook.";
|
|
15256
|
+
method: "POST";
|
|
14322
15257
|
metadata: {
|
|
14323
15258
|
auth: boolean;
|
|
14324
15259
|
};
|
|
14325
15260
|
body: import("zod").ZodObject<{
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14330
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
14331
|
-
fileId?: string | undefined;
|
|
14332
|
-
lineItemId?: string | undefined;
|
|
14333
|
-
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14334
|
-
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14335
|
-
}, {
|
|
14336
|
-
fileId?: string | undefined;
|
|
14337
|
-
lineItemId?: string | undefined;
|
|
14338
|
-
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14339
|
-
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14340
|
-
}>;
|
|
14341
|
-
pathParams: import("zod").ZodObject<{
|
|
14342
|
-
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
15261
|
+
targetUrl: import("zod").ZodString;
|
|
15262
|
+
eventTypes: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15263
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14343
15264
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14344
|
-
|
|
15265
|
+
targetUrl: string;
|
|
15266
|
+
eventTypes: string[];
|
|
15267
|
+
name?: string | undefined;
|
|
14345
15268
|
}, {
|
|
14346
|
-
|
|
15269
|
+
targetUrl: string;
|
|
15270
|
+
eventTypes: string[];
|
|
15271
|
+
name?: string | undefined;
|
|
14347
15272
|
}>;
|
|
14348
|
-
summary: "
|
|
14349
|
-
path: "/clients/api/v1/
|
|
15273
|
+
summary: "Subscribe to webhook events";
|
|
15274
|
+
path: "/clients/api/v1/webhooks/subscribe";
|
|
14350
15275
|
responses: {
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
15276
|
+
201: import("zod").ZodObject<{
|
|
15277
|
+
id: import("zod").ZodString;
|
|
15278
|
+
hook0SubscriptionId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
14354
15279
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14355
|
-
|
|
14356
|
-
|
|
15280
|
+
id: string;
|
|
15281
|
+
hook0SubscriptionId: string | null;
|
|
14357
15282
|
}, {
|
|
14358
|
-
|
|
14359
|
-
|
|
15283
|
+
id: string;
|
|
15284
|
+
hook0SubscriptionId: string | null;
|
|
14360
15285
|
}>;
|
|
14361
15286
|
400: import("zod").ZodObject<{
|
|
14362
15287
|
status: import("zod").ZodNumber;
|
|
@@ -14397,7 +15322,27 @@ export declare const clientsContract: {
|
|
|
14397
15322
|
status: number;
|
|
14398
15323
|
errors: string[];
|
|
14399
15324
|
}>;
|
|
14400
|
-
|
|
15325
|
+
};
|
|
15326
|
+
};
|
|
15327
|
+
unsubscribe: {
|
|
15328
|
+
description: "Deletes a webhook subscription by ID. Used by Zapier REST Hook.";
|
|
15329
|
+
method: "DELETE";
|
|
15330
|
+
metadata: {
|
|
15331
|
+
auth: boolean;
|
|
15332
|
+
};
|
|
15333
|
+
body: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
15334
|
+
pathParams: import("zod").ZodObject<{
|
|
15335
|
+
id: import("zod").ZodString;
|
|
15336
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15337
|
+
id: string;
|
|
15338
|
+
}, {
|
|
15339
|
+
id: string;
|
|
15340
|
+
}>;
|
|
15341
|
+
summary: "Unsubscribe from webhook";
|
|
15342
|
+
path: "/clients/api/v1/webhooks/:id";
|
|
15343
|
+
responses: {
|
|
15344
|
+
204: import("zod").ZodUndefined;
|
|
15345
|
+
401: import("zod").ZodObject<{
|
|
14401
15346
|
status: import("zod").ZodNumber;
|
|
14402
15347
|
message: import("zod").ZodString;
|
|
14403
15348
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14410,7 +15355,20 @@ export declare const clientsContract: {
|
|
|
14410
15355
|
status: number;
|
|
14411
15356
|
errors: string[];
|
|
14412
15357
|
}>;
|
|
14413
|
-
|
|
15358
|
+
403: import("zod").ZodObject<{
|
|
15359
|
+
status: import("zod").ZodNumber;
|
|
15360
|
+
message: import("zod").ZodString;
|
|
15361
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15362
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15363
|
+
message: string;
|
|
15364
|
+
status: number;
|
|
15365
|
+
errors: string[];
|
|
15366
|
+
}, {
|
|
15367
|
+
message: string;
|
|
15368
|
+
status: number;
|
|
15369
|
+
errors: string[];
|
|
15370
|
+
}>;
|
|
15371
|
+
404: import("zod").ZodObject<{
|
|
14414
15372
|
status: import("zod").ZodNumber;
|
|
14415
15373
|
message: import("zod").ZodString;
|
|
14416
15374
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14425,56 +15383,104 @@ export declare const clientsContract: {
|
|
|
14425
15383
|
}>;
|
|
14426
15384
|
};
|
|
14427
15385
|
};
|
|
14428
|
-
|
|
14429
|
-
|
|
15386
|
+
list: {
|
|
15387
|
+
description: "Returns a paginated list of webhook subscriptions.";
|
|
15388
|
+
method: "GET";
|
|
14430
15389
|
metadata: {
|
|
14431
15390
|
auth: boolean;
|
|
14432
15391
|
};
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
|
|
14436
|
-
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14437
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
14438
|
-
lineItemId?: string | undefined;
|
|
14439
|
-
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14440
|
-
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14441
|
-
}, {
|
|
14442
|
-
lineItemId?: string | undefined;
|
|
14443
|
-
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14444
|
-
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14445
|
-
}>;
|
|
14446
|
-
pathParams: import("zod").ZodObject<{
|
|
14447
|
-
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
15392
|
+
query: import("zod").ZodObject<{
|
|
15393
|
+
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
15394
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
14448
15395
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14449
|
-
|
|
15396
|
+
page: number;
|
|
15397
|
+
limit: number;
|
|
14450
15398
|
}, {
|
|
14451
|
-
|
|
15399
|
+
page?: number | undefined;
|
|
15400
|
+
limit?: number | undefined;
|
|
14452
15401
|
}>;
|
|
14453
|
-
summary: "
|
|
14454
|
-
path: "/clients/api/v1/
|
|
15402
|
+
summary: "List webhook subscriptions";
|
|
15403
|
+
path: "/clients/api/v1/webhooks";
|
|
14455
15404
|
responses: {
|
|
14456
15405
|
200: import("zod").ZodObject<{
|
|
14457
|
-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
|
|
14461
|
-
|
|
14462
|
-
|
|
14463
|
-
|
|
14464
|
-
|
|
14465
|
-
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
|
-
|
|
15406
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
15407
|
+
id: import("zod").ZodString;
|
|
15408
|
+
targetUrl: import("zod").ZodString;
|
|
15409
|
+
eventTypes: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15410
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
15411
|
+
enabled: import("zod").ZodBoolean;
|
|
15412
|
+
createdAt: import("zod").ZodString;
|
|
15413
|
+
updatedAt: import("zod").ZodString;
|
|
15414
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15415
|
+
id: string;
|
|
15416
|
+
createdAt: string;
|
|
15417
|
+
updatedAt: string;
|
|
15418
|
+
name: string | null;
|
|
15419
|
+
enabled: boolean;
|
|
15420
|
+
targetUrl: string;
|
|
15421
|
+
eventTypes: string[];
|
|
15422
|
+
}, {
|
|
15423
|
+
id: string;
|
|
15424
|
+
createdAt: string;
|
|
15425
|
+
updatedAt: string;
|
|
15426
|
+
name: string | null;
|
|
15427
|
+
enabled: boolean;
|
|
15428
|
+
targetUrl: string;
|
|
15429
|
+
eventTypes: string[];
|
|
15430
|
+
}>, "many">;
|
|
15431
|
+
meta: import("zod").ZodObject<{
|
|
15432
|
+
itemCount: import("zod").ZodNumber;
|
|
15433
|
+
totalItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
15434
|
+
itemsPerPage: import("zod").ZodNumber;
|
|
15435
|
+
totalPages: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
15436
|
+
currentPage: import("zod").ZodNumber;
|
|
15437
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15438
|
+
itemCount: number;
|
|
15439
|
+
itemsPerPage: number;
|
|
15440
|
+
currentPage: number;
|
|
15441
|
+
totalItems?: number | undefined;
|
|
15442
|
+
totalPages?: number | undefined;
|
|
15443
|
+
}, {
|
|
15444
|
+
itemCount: number;
|
|
15445
|
+
itemsPerPage: number;
|
|
15446
|
+
currentPage: number;
|
|
15447
|
+
totalItems?: number | undefined;
|
|
15448
|
+
totalPages?: number | undefined;
|
|
15449
|
+
}>;
|
|
14470
15450
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
15451
|
+
items: {
|
|
15452
|
+
id: string;
|
|
15453
|
+
createdAt: string;
|
|
15454
|
+
updatedAt: string;
|
|
15455
|
+
name: string | null;
|
|
15456
|
+
enabled: boolean;
|
|
15457
|
+
targetUrl: string;
|
|
15458
|
+
eventTypes: string[];
|
|
15459
|
+
}[];
|
|
15460
|
+
meta: {
|
|
15461
|
+
itemCount: number;
|
|
15462
|
+
itemsPerPage: number;
|
|
15463
|
+
currentPage: number;
|
|
15464
|
+
totalItems?: number | undefined;
|
|
15465
|
+
totalPages?: number | undefined;
|
|
15466
|
+
};
|
|
14474
15467
|
}, {
|
|
14475
|
-
|
|
14476
|
-
|
|
14477
|
-
|
|
15468
|
+
items: {
|
|
15469
|
+
id: string;
|
|
15470
|
+
createdAt: string;
|
|
15471
|
+
updatedAt: string;
|
|
15472
|
+
name: string | null;
|
|
15473
|
+
enabled: boolean;
|
|
15474
|
+
targetUrl: string;
|
|
15475
|
+
eventTypes: string[];
|
|
15476
|
+
}[];
|
|
15477
|
+
meta: {
|
|
15478
|
+
itemCount: number;
|
|
15479
|
+
itemsPerPage: number;
|
|
15480
|
+
currentPage: number;
|
|
15481
|
+
totalItems?: number | undefined;
|
|
15482
|
+
totalPages?: number | undefined;
|
|
15483
|
+
};
|
|
14478
15484
|
}>;
|
|
14479
15485
|
401: import("zod").ZodObject<{
|
|
14480
15486
|
status: import("zod").ZodNumber;
|
|
@@ -14502,7 +15508,34 @@ export declare const clientsContract: {
|
|
|
14502
15508
|
status: number;
|
|
14503
15509
|
errors: string[];
|
|
14504
15510
|
}>;
|
|
14505
|
-
|
|
15511
|
+
};
|
|
15512
|
+
};
|
|
15513
|
+
triggerTypes: {
|
|
15514
|
+
description: "Returns a list of event types that can be subscribed to for triggers.";
|
|
15515
|
+
method: "GET";
|
|
15516
|
+
metadata: {
|
|
15517
|
+
auth: boolean;
|
|
15518
|
+
};
|
|
15519
|
+
summary: "Get available trigger types";
|
|
15520
|
+
path: "/clients/api/v1/webhooks/trigger-types";
|
|
15521
|
+
responses: {
|
|
15522
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
|
15523
|
+
eventType: import("zod").ZodString;
|
|
15524
|
+
displayName: import("zod").ZodString;
|
|
15525
|
+
description: import("zod").ZodString;
|
|
15526
|
+
source: import("zod").ZodEnum<["api", "external", "both"]>;
|
|
15527
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15528
|
+
description: string;
|
|
15529
|
+
source: "api" | "external" | "both";
|
|
15530
|
+
eventType: string;
|
|
15531
|
+
displayName: string;
|
|
15532
|
+
}, {
|
|
15533
|
+
description: string;
|
|
15534
|
+
source: "api" | "external" | "both";
|
|
15535
|
+
eventType: string;
|
|
15536
|
+
displayName: string;
|
|
15537
|
+
}>, "many">;
|
|
15538
|
+
401: import("zod").ZodObject<{
|
|
14506
15539
|
status: import("zod").ZodNumber;
|
|
14507
15540
|
message: import("zod").ZodString;
|
|
14508
15541
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14515,7 +15548,7 @@ export declare const clientsContract: {
|
|
|
14515
15548
|
status: number;
|
|
14516
15549
|
errors: string[];
|
|
14517
15550
|
}>;
|
|
14518
|
-
|
|
15551
|
+
403: import("zod").ZodObject<{
|
|
14519
15552
|
status: import("zod").ZodNumber;
|
|
14520
15553
|
message: import("zod").ZodString;
|
|
14521
15554
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14530,41 +15563,38 @@ export declare const clientsContract: {
|
|
|
14530
15563
|
}>;
|
|
14531
15564
|
};
|
|
14532
15565
|
};
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
method: "POST";
|
|
15566
|
+
actionTypes: {
|
|
15567
|
+
description: "Returns a list of API endpoints available as Zapier actions.";
|
|
15568
|
+
method: "GET";
|
|
14537
15569
|
metadata: {
|
|
14538
15570
|
auth: boolean;
|
|
14539
15571
|
};
|
|
14540
|
-
|
|
14541
|
-
|
|
14542
|
-
tradeId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14543
|
-
name: import("zod").ZodString;
|
|
14544
|
-
chargedAt: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>;
|
|
14545
|
-
amount: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
14546
|
-
} & {
|
|
14547
|
-
userId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14548
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
14549
|
-
name: string;
|
|
14550
|
-
tid: string;
|
|
14551
|
-
userId: string;
|
|
14552
|
-
amount: number;
|
|
14553
|
-
tradeId: string;
|
|
14554
|
-
chargedAt: Date | null;
|
|
14555
|
-
}, {
|
|
14556
|
-
name: string;
|
|
14557
|
-
tid: string;
|
|
14558
|
-
userId: string;
|
|
14559
|
-
amount: number;
|
|
14560
|
-
tradeId: string;
|
|
14561
|
-
chargedAt: string | null;
|
|
14562
|
-
}>;
|
|
14563
|
-
summary: "Create a transaction";
|
|
14564
|
-
path: "/clients/api/v1/transactions";
|
|
15572
|
+
summary: "Get available action types";
|
|
15573
|
+
path: "/clients/api/v1/webhooks/action-types";
|
|
14565
15574
|
responses: {
|
|
14566
|
-
|
|
14567
|
-
|
|
15575
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
|
15576
|
+
key: import("zod").ZodString;
|
|
15577
|
+
displayName: import("zod").ZodString;
|
|
15578
|
+
description: import("zod").ZodString;
|
|
15579
|
+
method: import("zod").ZodEnum<["GET", "POST", "PATCH", "PUT", "DELETE"]>;
|
|
15580
|
+
endpoint: import("zod").ZodString;
|
|
15581
|
+
noun: import("zod").ZodString;
|
|
15582
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15583
|
+
key: string;
|
|
15584
|
+
description: string;
|
|
15585
|
+
endpoint: string;
|
|
15586
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
15587
|
+
displayName: string;
|
|
15588
|
+
noun: string;
|
|
15589
|
+
}, {
|
|
15590
|
+
key: string;
|
|
15591
|
+
description: string;
|
|
15592
|
+
endpoint: string;
|
|
15593
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
15594
|
+
displayName: string;
|
|
15595
|
+
noun: string;
|
|
15596
|
+
}>, "many">;
|
|
15597
|
+
401: import("zod").ZodObject<{
|
|
14568
15598
|
status: import("zod").ZodNumber;
|
|
14569
15599
|
message: import("zod").ZodString;
|
|
14570
15600
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14577,7 +15607,7 @@ export declare const clientsContract: {
|
|
|
14577
15607
|
status: number;
|
|
14578
15608
|
errors: string[];
|
|
14579
15609
|
}>;
|
|
14580
|
-
|
|
15610
|
+
403: import("zod").ZodObject<{
|
|
14581
15611
|
status: import("zod").ZodNumber;
|
|
14582
15612
|
message: import("zod").ZodString;
|
|
14583
15613
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14590,7 +15620,33 @@ export declare const clientsContract: {
|
|
|
14590
15620
|
status: number;
|
|
14591
15621
|
errors: string[];
|
|
14592
15622
|
}>;
|
|
14593
|
-
|
|
15623
|
+
};
|
|
15624
|
+
};
|
|
15625
|
+
performList: {
|
|
15626
|
+
description: "Returns recent events for a specific event type. Used as a polling fallback by Zapier.";
|
|
15627
|
+
method: "GET";
|
|
15628
|
+
metadata: {
|
|
15629
|
+
auth: boolean;
|
|
15630
|
+
};
|
|
15631
|
+
pathParams: import("zod").ZodObject<{
|
|
15632
|
+
eventType: import("zod").ZodString;
|
|
15633
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15634
|
+
eventType: string;
|
|
15635
|
+
}, {
|
|
15636
|
+
eventType: string;
|
|
15637
|
+
}>;
|
|
15638
|
+
query: import("zod").ZodObject<{
|
|
15639
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
15640
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15641
|
+
limit: number;
|
|
15642
|
+
}, {
|
|
15643
|
+
limit?: number | undefined;
|
|
15644
|
+
}>;
|
|
15645
|
+
summary: "Perform list for event type";
|
|
15646
|
+
path: "/clients/api/v1/webhooks/perform/:eventType";
|
|
15647
|
+
responses: {
|
|
15648
|
+
200: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">;
|
|
15649
|
+
401: import("zod").ZodObject<{
|
|
14594
15650
|
status: import("zod").ZodNumber;
|
|
14595
15651
|
message: import("zod").ZodString;
|
|
14596
15652
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14603,7 +15659,7 @@ export declare const clientsContract: {
|
|
|
14603
15659
|
status: number;
|
|
14604
15660
|
errors: string[];
|
|
14605
15661
|
}>;
|
|
14606
|
-
|
|
15662
|
+
403: import("zod").ZodObject<{
|
|
14607
15663
|
status: import("zod").ZodNumber;
|
|
14608
15664
|
message: import("zod").ZodString;
|
|
14609
15665
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|