@dalmore/api-contracts 0.0.0-dev.fbec0a1 → 0.0.0-dev.fef3ec8
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/types/account.types.js +3 -3
- package/common/types/account.types.js.map +1 -1
- 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/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/index.d.ts +0 -2
- package/common/types/index.js +0 -2
- package/common/types/index.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/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 +6 -112
- package/common/types/user.types.js +5 -26
- 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 +74 -7
- package/contracts/clients/csv/index.js +19 -2
- package/contracts/clients/csv/index.js.map +1 -1
- package/contracts/clients/index.d.ts +1163 -671
- package/contracts/clients/index.js +4 -2
- package/contracts/clients/index.js.map +1 -1
- 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
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
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>;
|
|
796
|
+
from?: Date | null | undefined;
|
|
797
|
+
to?: Date | null | undefined;
|
|
798
|
+
apiKeyId?: string | undefined;
|
|
799
|
+
}, {
|
|
800
|
+
from?: string | null | undefined;
|
|
801
|
+
to?: string | null | undefined;
|
|
802
|
+
apiKeyId?: string | undefined;
|
|
803
|
+
}>;
|
|
804
|
+
summary: "Get totals of API key logs";
|
|
805
|
+
path: "/clients/api/v1/api-key-logs/totals";
|
|
806
|
+
responses: {
|
|
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">;
|
|
@@ -2480,15 +2244,251 @@ export declare const clientsContract: {
|
|
|
2480
2244
|
message: import("zod").ZodString;
|
|
2481
2245
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2482
2246
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2483
|
-
message: string;
|
|
2484
|
-
status: number;
|
|
2485
|
-
errors: string[];
|
|
2247
|
+
message: string;
|
|
2248
|
+
status: number;
|
|
2249
|
+
errors: string[];
|
|
2250
|
+
}, {
|
|
2251
|
+
message: string;
|
|
2252
|
+
status: number;
|
|
2253
|
+
errors: string[];
|
|
2254
|
+
}>;
|
|
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<{
|
|
2392
|
+
status: import("zod").ZodNumber;
|
|
2393
|
+
message: import("zod").ZodString;
|
|
2394
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
2395
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2396
|
+
message: string;
|
|
2397
|
+
status: number;
|
|
2398
|
+
errors: string[];
|
|
2399
|
+
}, {
|
|
2400
|
+
message: string;
|
|
2401
|
+
status: number;
|
|
2402
|
+
errors: string[];
|
|
2403
|
+
}>;
|
|
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;
|
|
2486
2484
|
}, {
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2485
|
+
requiresTwoFactorSetup?: boolean | undefined;
|
|
2486
|
+
twoFactorMethod?: import("../..").TwoFactorMethod | undefined;
|
|
2487
|
+
temporaryToken?: string | undefined;
|
|
2488
|
+
accessToken?: string | undefined;
|
|
2489
|
+
requiresTwoFactor?: boolean | undefined;
|
|
2490
2490
|
}>;
|
|
2491
|
-
|
|
2491
|
+
400: import("zod").ZodObject<{
|
|
2492
2492
|
status: import("zod").ZodNumber;
|
|
2493
2493
|
message: import("zod").ZodString;
|
|
2494
2494
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -2501,7 +2501,7 @@ export declare const clientsContract: {
|
|
|
2501
2501
|
status: number;
|
|
2502
2502
|
errors: string[];
|
|
2503
2503
|
}>;
|
|
2504
|
-
|
|
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";
|
|
@@ -4490,6 +4483,80 @@ export declare const clientsContract: {
|
|
|
4490
4483
|
}>;
|
|
4491
4484
|
};
|
|
4492
4485
|
};
|
|
4486
|
+
uploadOfferingCsv: {
|
|
4487
|
+
method: "POST";
|
|
4488
|
+
metadata: {
|
|
4489
|
+
auth: boolean;
|
|
4490
|
+
};
|
|
4491
|
+
body: import("@ts-rest/core").ContractPlainType<{
|
|
4492
|
+
file: File;
|
|
4493
|
+
}>;
|
|
4494
|
+
query: import("zod").ZodObject<{
|
|
4495
|
+
issuerId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4496
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4497
|
+
issuerId: string;
|
|
4498
|
+
}, {
|
|
4499
|
+
issuerId: string;
|
|
4500
|
+
}>;
|
|
4501
|
+
summary: "Upload and process CSV file for offering creation";
|
|
4502
|
+
contentType: "multipart/form-data";
|
|
4503
|
+
path: "/clients/api/v1/csv/offering";
|
|
4504
|
+
responses: {
|
|
4505
|
+
200: import("zod").ZodLazy<any>;
|
|
4506
|
+
400: import("zod").ZodObject<{
|
|
4507
|
+
status: import("zod").ZodNumber;
|
|
4508
|
+
message: import("zod").ZodString;
|
|
4509
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4510
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4511
|
+
message: string;
|
|
4512
|
+
status: number;
|
|
4513
|
+
errors: string[];
|
|
4514
|
+
}, {
|
|
4515
|
+
message: string;
|
|
4516
|
+
status: number;
|
|
4517
|
+
errors: string[];
|
|
4518
|
+
}>;
|
|
4519
|
+
401: import("zod").ZodObject<{
|
|
4520
|
+
status: import("zod").ZodNumber;
|
|
4521
|
+
message: import("zod").ZodString;
|
|
4522
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4523
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4524
|
+
message: string;
|
|
4525
|
+
status: number;
|
|
4526
|
+
errors: string[];
|
|
4527
|
+
}, {
|
|
4528
|
+
message: string;
|
|
4529
|
+
status: number;
|
|
4530
|
+
errors: string[];
|
|
4531
|
+
}>;
|
|
4532
|
+
404: import("zod").ZodObject<{
|
|
4533
|
+
status: import("zod").ZodNumber;
|
|
4534
|
+
message: import("zod").ZodString;
|
|
4535
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4536
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4537
|
+
message: string;
|
|
4538
|
+
status: number;
|
|
4539
|
+
errors: string[];
|
|
4540
|
+
}, {
|
|
4541
|
+
message: string;
|
|
4542
|
+
status: number;
|
|
4543
|
+
errors: string[];
|
|
4544
|
+
}>;
|
|
4545
|
+
500: import("zod").ZodObject<{
|
|
4546
|
+
status: import("zod").ZodNumber;
|
|
4547
|
+
message: import("zod").ZodString;
|
|
4548
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4549
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4550
|
+
message: string;
|
|
4551
|
+
status: number;
|
|
4552
|
+
errors: string[];
|
|
4553
|
+
}, {
|
|
4554
|
+
message: string;
|
|
4555
|
+
status: number;
|
|
4556
|
+
errors: string[];
|
|
4557
|
+
}>;
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
4493
4560
|
};
|
|
4494
4561
|
files: {
|
|
4495
4562
|
postFile: {
|
|
@@ -14034,49 +14101,234 @@ export declare const clientsContract: {
|
|
|
14034
14101
|
}>;
|
|
14035
14102
|
};
|
|
14036
14103
|
};
|
|
14037
|
-
postLineItem: {
|
|
14104
|
+
postLineItem: {
|
|
14105
|
+
method: "POST";
|
|
14106
|
+
metadata: {
|
|
14107
|
+
auth: boolean;
|
|
14108
|
+
};
|
|
14109
|
+
body: import("zod").ZodObject<{
|
|
14110
|
+
assetId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14111
|
+
quantity: import("zod").ZodNumber;
|
|
14112
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14113
|
+
quantity: number;
|
|
14114
|
+
assetId: string;
|
|
14115
|
+
}, {
|
|
14116
|
+
quantity: number;
|
|
14117
|
+
assetId: string;
|
|
14118
|
+
}>;
|
|
14119
|
+
query: import("zod").ZodObject<{
|
|
14120
|
+
reset: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>, "true" | "false", string | undefined>, boolean, string | undefined>;
|
|
14121
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14122
|
+
reset: boolean;
|
|
14123
|
+
}, {
|
|
14124
|
+
reset?: string | undefined;
|
|
14125
|
+
}>;
|
|
14126
|
+
summary: "Create a Line Item";
|
|
14127
|
+
path: "/clients/api/v1/trades/line-items";
|
|
14128
|
+
responses: {
|
|
14129
|
+
201: import("zod").ZodObject<{
|
|
14130
|
+
assetName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
14131
|
+
total: import("zod").ZodNumber;
|
|
14132
|
+
pricePerShare: import("zod").ZodNumber;
|
|
14133
|
+
id: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14134
|
+
quantity: import("zod").ZodNumber;
|
|
14135
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14136
|
+
id: string;
|
|
14137
|
+
total: number;
|
|
14138
|
+
pricePerShare: number;
|
|
14139
|
+
quantity: number;
|
|
14140
|
+
assetName: string | null;
|
|
14141
|
+
}, {
|
|
14142
|
+
id: string;
|
|
14143
|
+
total: number;
|
|
14144
|
+
pricePerShare: number;
|
|
14145
|
+
quantity: number;
|
|
14146
|
+
assetName: string | null;
|
|
14147
|
+
}>;
|
|
14148
|
+
401: import("zod").ZodObject<{
|
|
14149
|
+
status: import("zod").ZodNumber;
|
|
14150
|
+
message: import("zod").ZodString;
|
|
14151
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14152
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14153
|
+
message: string;
|
|
14154
|
+
status: number;
|
|
14155
|
+
errors: string[];
|
|
14156
|
+
}, {
|
|
14157
|
+
message: string;
|
|
14158
|
+
status: number;
|
|
14159
|
+
errors: string[];
|
|
14160
|
+
}>;
|
|
14161
|
+
403: import("zod").ZodObject<{
|
|
14162
|
+
status: import("zod").ZodNumber;
|
|
14163
|
+
message: import("zod").ZodString;
|
|
14164
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14165
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14166
|
+
message: string;
|
|
14167
|
+
status: number;
|
|
14168
|
+
errors: string[];
|
|
14169
|
+
}, {
|
|
14170
|
+
message: string;
|
|
14171
|
+
status: number;
|
|
14172
|
+
errors: string[];
|
|
14173
|
+
}>;
|
|
14174
|
+
400: import("zod").ZodObject<{
|
|
14175
|
+
status: import("zod").ZodNumber;
|
|
14176
|
+
message: import("zod").ZodString;
|
|
14177
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14178
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14179
|
+
message: string;
|
|
14180
|
+
status: number;
|
|
14181
|
+
errors: string[];
|
|
14182
|
+
}, {
|
|
14183
|
+
message: string;
|
|
14184
|
+
status: number;
|
|
14185
|
+
errors: string[];
|
|
14186
|
+
}>;
|
|
14187
|
+
500: import("zod").ZodObject<{
|
|
14188
|
+
status: import("zod").ZodNumber;
|
|
14189
|
+
message: import("zod").ZodString;
|
|
14190
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14191
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14192
|
+
message: string;
|
|
14193
|
+
status: number;
|
|
14194
|
+
errors: string[];
|
|
14195
|
+
}, {
|
|
14196
|
+
message: string;
|
|
14197
|
+
status: number;
|
|
14198
|
+
errors: string[];
|
|
14199
|
+
}>;
|
|
14200
|
+
};
|
|
14201
|
+
};
|
|
14202
|
+
patchTradeStatus: {
|
|
14203
|
+
method: "PATCH";
|
|
14204
|
+
metadata: {
|
|
14205
|
+
auth: boolean;
|
|
14206
|
+
};
|
|
14207
|
+
body: import("zod").ZodObject<{
|
|
14208
|
+
tradeStatus: import("zod").ZodNativeEnum<typeof import("../..").TradeStatus>;
|
|
14209
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14210
|
+
tradeStatus: import("../..").TradeStatus;
|
|
14211
|
+
}, {
|
|
14212
|
+
tradeStatus: import("../..").TradeStatus;
|
|
14213
|
+
}>;
|
|
14214
|
+
pathParams: import("zod").ZodObject<{
|
|
14215
|
+
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
14216
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14217
|
+
id: string;
|
|
14218
|
+
}, {
|
|
14219
|
+
id: string;
|
|
14220
|
+
}>;
|
|
14221
|
+
summary: "Patch a trade status";
|
|
14222
|
+
path: "/clients/api/v1/trades/:id";
|
|
14223
|
+
responses: {
|
|
14224
|
+
201: any;
|
|
14225
|
+
401: import("zod").ZodObject<{
|
|
14226
|
+
status: import("zod").ZodNumber;
|
|
14227
|
+
message: import("zod").ZodString;
|
|
14228
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14229
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14230
|
+
message: string;
|
|
14231
|
+
status: number;
|
|
14232
|
+
errors: string[];
|
|
14233
|
+
}, {
|
|
14234
|
+
message: string;
|
|
14235
|
+
status: number;
|
|
14236
|
+
errors: string[];
|
|
14237
|
+
}>;
|
|
14238
|
+
403: import("zod").ZodObject<{
|
|
14239
|
+
status: import("zod").ZodNumber;
|
|
14240
|
+
message: import("zod").ZodString;
|
|
14241
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14242
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14243
|
+
message: string;
|
|
14244
|
+
status: number;
|
|
14245
|
+
errors: string[];
|
|
14246
|
+
}, {
|
|
14247
|
+
message: string;
|
|
14248
|
+
status: number;
|
|
14249
|
+
errors: string[];
|
|
14250
|
+
}>;
|
|
14251
|
+
400: import("zod").ZodObject<{
|
|
14252
|
+
status: import("zod").ZodNumber;
|
|
14253
|
+
message: import("zod").ZodString;
|
|
14254
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14255
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14256
|
+
message: string;
|
|
14257
|
+
status: number;
|
|
14258
|
+
errors: string[];
|
|
14259
|
+
}, {
|
|
14260
|
+
message: string;
|
|
14261
|
+
status: number;
|
|
14262
|
+
errors: string[];
|
|
14263
|
+
}>;
|
|
14264
|
+
500: import("zod").ZodObject<{
|
|
14265
|
+
status: import("zod").ZodNumber;
|
|
14266
|
+
message: import("zod").ZodString;
|
|
14267
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14268
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14269
|
+
message: string;
|
|
14270
|
+
status: number;
|
|
14271
|
+
errors: string[];
|
|
14272
|
+
}, {
|
|
14273
|
+
message: string;
|
|
14274
|
+
status: number;
|
|
14275
|
+
errors: string[];
|
|
14276
|
+
}>;
|
|
14277
|
+
};
|
|
14278
|
+
};
|
|
14279
|
+
postAttachSubdoc: {
|
|
14038
14280
|
method: "POST";
|
|
14039
14281
|
metadata: {
|
|
14040
14282
|
auth: boolean;
|
|
14041
14283
|
};
|
|
14042
14284
|
body: import("zod").ZodObject<{
|
|
14043
|
-
|
|
14044
|
-
|
|
14285
|
+
lineItemId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
14286
|
+
fileId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14287
|
+
primarySignatureStatus: import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>;
|
|
14288
|
+
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14045
14289
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14046
|
-
|
|
14047
|
-
|
|
14290
|
+
fileId: string;
|
|
14291
|
+
lineItemId: string;
|
|
14292
|
+
primarySignatureStatus: import("../..").SignatureStatus;
|
|
14293
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14048
14294
|
}, {
|
|
14049
|
-
|
|
14050
|
-
|
|
14295
|
+
fileId: string;
|
|
14296
|
+
lineItemId: string;
|
|
14297
|
+
primarySignatureStatus: import("../..").SignatureStatus;
|
|
14298
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14051
14299
|
}>;
|
|
14052
|
-
|
|
14053
|
-
|
|
14300
|
+
pathParams: import("zod").ZodObject<{
|
|
14301
|
+
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
14054
14302
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14055
|
-
|
|
14303
|
+
id: string;
|
|
14056
14304
|
}, {
|
|
14057
|
-
|
|
14305
|
+
id: string;
|
|
14058
14306
|
}>;
|
|
14059
|
-
summary: "
|
|
14060
|
-
path: "/clients/api/v1/trades/
|
|
14307
|
+
summary: "Attach subdoc to trade";
|
|
14308
|
+
path: "/clients/api/v1/trades/:id/attach-subdoc";
|
|
14061
14309
|
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;
|
|
14310
|
+
200: import("zod").ZodObject<{
|
|
14311
|
+
success: import("zod").ZodBoolean;
|
|
14312
|
+
message: import("zod").ZodString;
|
|
14068
14313
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
pricePerShare: number;
|
|
14072
|
-
quantity: number;
|
|
14073
|
-
assetName: string | null;
|
|
14314
|
+
message: string;
|
|
14315
|
+
success: boolean;
|
|
14074
14316
|
}, {
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14317
|
+
message: string;
|
|
14318
|
+
success: boolean;
|
|
14319
|
+
}>;
|
|
14320
|
+
400: import("zod").ZodObject<{
|
|
14321
|
+
status: import("zod").ZodNumber;
|
|
14322
|
+
message: import("zod").ZodString;
|
|
14323
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14324
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14325
|
+
message: string;
|
|
14326
|
+
status: number;
|
|
14327
|
+
errors: string[];
|
|
14328
|
+
}, {
|
|
14329
|
+
message: string;
|
|
14330
|
+
status: number;
|
|
14331
|
+
errors: string[];
|
|
14080
14332
|
}>;
|
|
14081
14333
|
401: import("zod").ZodObject<{
|
|
14082
14334
|
status: import("zod").ZodNumber;
|
|
@@ -14104,7 +14356,7 @@ export declare const clientsContract: {
|
|
|
14104
14356
|
status: number;
|
|
14105
14357
|
errors: string[];
|
|
14106
14358
|
}>;
|
|
14107
|
-
|
|
14359
|
+
404: import("zod").ZodObject<{
|
|
14108
14360
|
status: import("zod").ZodNumber;
|
|
14109
14361
|
message: import("zod").ZodString;
|
|
14110
14362
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14132,17 +14384,26 @@ export declare const clientsContract: {
|
|
|
14132
14384
|
}>;
|
|
14133
14385
|
};
|
|
14134
14386
|
};
|
|
14135
|
-
|
|
14136
|
-
method: "
|
|
14387
|
+
putAttachSubdoc: {
|
|
14388
|
+
method: "PUT";
|
|
14137
14389
|
metadata: {
|
|
14138
14390
|
auth: boolean;
|
|
14139
14391
|
};
|
|
14140
14392
|
body: import("zod").ZodObject<{
|
|
14141
|
-
|
|
14393
|
+
lineItemId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14394
|
+
fileId: import("zod").ZodOptional<import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>>;
|
|
14395
|
+
primarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14396
|
+
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14142
14397
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14143
|
-
|
|
14398
|
+
fileId?: string | undefined;
|
|
14399
|
+
lineItemId?: string | undefined;
|
|
14400
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14401
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14144
14402
|
}, {
|
|
14145
|
-
|
|
14403
|
+
fileId?: string | undefined;
|
|
14404
|
+
lineItemId?: string | undefined;
|
|
14405
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14406
|
+
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14146
14407
|
}>;
|
|
14147
14408
|
pathParams: import("zod").ZodObject<{
|
|
14148
14409
|
id: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString]>;
|
|
@@ -14151,10 +14412,32 @@ export declare const clientsContract: {
|
|
|
14151
14412
|
}, {
|
|
14152
14413
|
id: string;
|
|
14153
14414
|
}>;
|
|
14154
|
-
summary: "
|
|
14155
|
-
path: "/clients/api/v1/trades/:id";
|
|
14415
|
+
summary: "Update attached subdoc for trade";
|
|
14416
|
+
path: "/clients/api/v1/trades/:id/attach-subdoc";
|
|
14156
14417
|
responses: {
|
|
14157
|
-
|
|
14418
|
+
200: import("zod").ZodObject<{
|
|
14419
|
+
success: import("zod").ZodBoolean;
|
|
14420
|
+
message: import("zod").ZodString;
|
|
14421
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14422
|
+
message: string;
|
|
14423
|
+
success: boolean;
|
|
14424
|
+
}, {
|
|
14425
|
+
message: string;
|
|
14426
|
+
success: boolean;
|
|
14427
|
+
}>;
|
|
14428
|
+
400: import("zod").ZodObject<{
|
|
14429
|
+
status: import("zod").ZodNumber;
|
|
14430
|
+
message: import("zod").ZodString;
|
|
14431
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14432
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14433
|
+
message: string;
|
|
14434
|
+
status: number;
|
|
14435
|
+
errors: string[];
|
|
14436
|
+
}, {
|
|
14437
|
+
message: string;
|
|
14438
|
+
status: number;
|
|
14439
|
+
errors: string[];
|
|
14440
|
+
}>;
|
|
14158
14441
|
401: import("zod").ZodObject<{
|
|
14159
14442
|
status: import("zod").ZodNumber;
|
|
14160
14443
|
message: import("zod").ZodString;
|
|
@@ -14181,7 +14464,7 @@ export declare const clientsContract: {
|
|
|
14181
14464
|
status: number;
|
|
14182
14465
|
errors: string[];
|
|
14183
14466
|
}>;
|
|
14184
|
-
|
|
14467
|
+
404: import("zod").ZodObject<{
|
|
14185
14468
|
status: import("zod").ZodNumber;
|
|
14186
14469
|
message: import("zod").ZodString;
|
|
14187
14470
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14209,25 +14492,22 @@ export declare const clientsContract: {
|
|
|
14209
14492
|
}>;
|
|
14210
14493
|
};
|
|
14211
14494
|
};
|
|
14212
|
-
|
|
14213
|
-
method: "
|
|
14495
|
+
patchSubdocSign: {
|
|
14496
|
+
method: "PATCH";
|
|
14214
14497
|
metadata: {
|
|
14215
14498
|
auth: boolean;
|
|
14216
14499
|
};
|
|
14217
14500
|
body: import("zod").ZodObject<{
|
|
14218
|
-
lineItemId: import("zod").ZodEffects<import("zod").ZodString, string, string
|
|
14219
|
-
|
|
14220
|
-
primarySignatureStatus: import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>;
|
|
14501
|
+
lineItemId: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14502
|
+
primarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14221
14503
|
secondarySignatureStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").SignatureStatus>>;
|
|
14222
14504
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
primarySignatureStatus: import("../..").SignatureStatus;
|
|
14505
|
+
lineItemId?: string | undefined;
|
|
14506
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14226
14507
|
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14227
14508
|
}, {
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
primarySignatureStatus: import("../..").SignatureStatus;
|
|
14509
|
+
lineItemId?: string | undefined;
|
|
14510
|
+
primarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14231
14511
|
secondarySignatureStatus?: import("../..").SignatureStatus | undefined;
|
|
14232
14512
|
}>;
|
|
14233
14513
|
pathParams: import("zod").ZodObject<{
|
|
@@ -14237,8 +14517,8 @@ export declare const clientsContract: {
|
|
|
14237
14517
|
}, {
|
|
14238
14518
|
id: string;
|
|
14239
14519
|
}>;
|
|
14240
|
-
summary: "
|
|
14241
|
-
path: "/clients/api/v1/trades/:id/
|
|
14520
|
+
summary: "Update subdoc signature statuses for trade";
|
|
14521
|
+
path: "/clients/api/v1/trades/:id/sign";
|
|
14242
14522
|
responses: {
|
|
14243
14523
|
200: import("zod").ZodObject<{
|
|
14244
14524
|
success: import("zod").ZodBoolean;
|
|
@@ -14276,7 +14556,95 @@ export declare const clientsContract: {
|
|
|
14276
14556
|
status: number;
|
|
14277
14557
|
errors: string[];
|
|
14278
14558
|
}>;
|
|
14279
|
-
403: import("zod").ZodObject<{
|
|
14559
|
+
403: import("zod").ZodObject<{
|
|
14560
|
+
status: import("zod").ZodNumber;
|
|
14561
|
+
message: import("zod").ZodString;
|
|
14562
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14563
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14564
|
+
message: string;
|
|
14565
|
+
status: number;
|
|
14566
|
+
errors: string[];
|
|
14567
|
+
}, {
|
|
14568
|
+
message: string;
|
|
14569
|
+
status: number;
|
|
14570
|
+
errors: string[];
|
|
14571
|
+
}>;
|
|
14572
|
+
404: import("zod").ZodObject<{
|
|
14573
|
+
status: import("zod").ZodNumber;
|
|
14574
|
+
message: import("zod").ZodString;
|
|
14575
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14576
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14577
|
+
message: string;
|
|
14578
|
+
status: number;
|
|
14579
|
+
errors: string[];
|
|
14580
|
+
}, {
|
|
14581
|
+
message: string;
|
|
14582
|
+
status: number;
|
|
14583
|
+
errors: string[];
|
|
14584
|
+
}>;
|
|
14585
|
+
500: import("zod").ZodObject<{
|
|
14586
|
+
status: import("zod").ZodNumber;
|
|
14587
|
+
message: import("zod").ZodString;
|
|
14588
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14589
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14590
|
+
message: string;
|
|
14591
|
+
status: number;
|
|
14592
|
+
errors: string[];
|
|
14593
|
+
}, {
|
|
14594
|
+
message: string;
|
|
14595
|
+
status: number;
|
|
14596
|
+
errors: string[];
|
|
14597
|
+
}>;
|
|
14598
|
+
};
|
|
14599
|
+
};
|
|
14600
|
+
};
|
|
14601
|
+
transactions: {
|
|
14602
|
+
postTransaction: {
|
|
14603
|
+
method: "POST";
|
|
14604
|
+
metadata: {
|
|
14605
|
+
auth: boolean;
|
|
14606
|
+
};
|
|
14607
|
+
body: import("zod").ZodObject<{
|
|
14608
|
+
tid: import("zod").ZodString;
|
|
14609
|
+
tradeId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14610
|
+
name: import("zod").ZodString;
|
|
14611
|
+
chargedAt: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, Date | null, string | null>;
|
|
14612
|
+
amount: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
14613
|
+
} & {
|
|
14614
|
+
userId: import("zod").ZodLazy<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
14615
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14616
|
+
name: string;
|
|
14617
|
+
tid: string;
|
|
14618
|
+
userId: string;
|
|
14619
|
+
amount: number;
|
|
14620
|
+
tradeId: string;
|
|
14621
|
+
chargedAt: Date | null;
|
|
14622
|
+
}, {
|
|
14623
|
+
name: string;
|
|
14624
|
+
tid: string;
|
|
14625
|
+
userId: string;
|
|
14626
|
+
amount: number;
|
|
14627
|
+
tradeId: string;
|
|
14628
|
+
chargedAt: string | null;
|
|
14629
|
+
}>;
|
|
14630
|
+
summary: "Create a transaction";
|
|
14631
|
+
path: "/clients/api/v1/transactions";
|
|
14632
|
+
responses: {
|
|
14633
|
+
201: any;
|
|
14634
|
+
400: import("zod").ZodObject<{
|
|
14635
|
+
status: import("zod").ZodNumber;
|
|
14636
|
+
message: import("zod").ZodString;
|
|
14637
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14638
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14639
|
+
message: string;
|
|
14640
|
+
status: number;
|
|
14641
|
+
errors: string[];
|
|
14642
|
+
}, {
|
|
14643
|
+
message: string;
|
|
14644
|
+
status: number;
|
|
14645
|
+
errors: string[];
|
|
14646
|
+
}>;
|
|
14647
|
+
401: import("zod").ZodObject<{
|
|
14280
14648
|
status: import("zod").ZodNumber;
|
|
14281
14649
|
message: import("zod").ZodString;
|
|
14282
14650
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14317,46 +14685,39 @@ export declare const clientsContract: {
|
|
|
14317
14685
|
}>;
|
|
14318
14686
|
};
|
|
14319
14687
|
};
|
|
14320
|
-
|
|
14321
|
-
|
|
14688
|
+
};
|
|
14689
|
+
webhooks: {
|
|
14690
|
+
subscribe: {
|
|
14691
|
+
description: "Creates a new webhook subscription for the specified event types. Used by Zapier REST Hook.";
|
|
14692
|
+
method: "POST";
|
|
14322
14693
|
metadata: {
|
|
14323
14694
|
auth: boolean;
|
|
14324
14695
|
};
|
|
14325
14696
|
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]>;
|
|
14697
|
+
targetUrl: import("zod").ZodString;
|
|
14698
|
+
eventTypes: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14699
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14343
14700
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14344
|
-
|
|
14701
|
+
targetUrl: string;
|
|
14702
|
+
eventTypes: string[];
|
|
14703
|
+
name?: string | undefined;
|
|
14345
14704
|
}, {
|
|
14346
|
-
|
|
14705
|
+
targetUrl: string;
|
|
14706
|
+
eventTypes: string[];
|
|
14707
|
+
name?: string | undefined;
|
|
14347
14708
|
}>;
|
|
14348
|
-
summary: "
|
|
14349
|
-
path: "/clients/api/v1/
|
|
14709
|
+
summary: "Subscribe to webhook events";
|
|
14710
|
+
path: "/clients/api/v1/webhooks/subscribe";
|
|
14350
14711
|
responses: {
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
14712
|
+
201: import("zod").ZodObject<{
|
|
14713
|
+
id: import("zod").ZodString;
|
|
14714
|
+
hook0SubscriptionId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
14354
14715
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14355
|
-
|
|
14356
|
-
|
|
14716
|
+
id: string;
|
|
14717
|
+
hook0SubscriptionId: string | null;
|
|
14357
14718
|
}, {
|
|
14358
|
-
|
|
14359
|
-
|
|
14719
|
+
id: string;
|
|
14720
|
+
hook0SubscriptionId: string | null;
|
|
14360
14721
|
}>;
|
|
14361
14722
|
400: import("zod").ZodObject<{
|
|
14362
14723
|
status: import("zod").ZodNumber;
|
|
@@ -14397,7 +14758,27 @@ export declare const clientsContract: {
|
|
|
14397
14758
|
status: number;
|
|
14398
14759
|
errors: string[];
|
|
14399
14760
|
}>;
|
|
14400
|
-
|
|
14761
|
+
};
|
|
14762
|
+
};
|
|
14763
|
+
unsubscribe: {
|
|
14764
|
+
description: "Deletes a webhook subscription by ID. Used by Zapier REST Hook.";
|
|
14765
|
+
method: "DELETE";
|
|
14766
|
+
metadata: {
|
|
14767
|
+
auth: boolean;
|
|
14768
|
+
};
|
|
14769
|
+
body: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
14770
|
+
pathParams: import("zod").ZodObject<{
|
|
14771
|
+
id: import("zod").ZodString;
|
|
14772
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14773
|
+
id: string;
|
|
14774
|
+
}, {
|
|
14775
|
+
id: string;
|
|
14776
|
+
}>;
|
|
14777
|
+
summary: "Unsubscribe from webhook";
|
|
14778
|
+
path: "/clients/api/v1/webhooks/:id";
|
|
14779
|
+
responses: {
|
|
14780
|
+
204: import("zod").ZodUndefined;
|
|
14781
|
+
401: import("zod").ZodObject<{
|
|
14401
14782
|
status: import("zod").ZodNumber;
|
|
14402
14783
|
message: import("zod").ZodString;
|
|
14403
14784
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14410,7 +14791,20 @@ export declare const clientsContract: {
|
|
|
14410
14791
|
status: number;
|
|
14411
14792
|
errors: string[];
|
|
14412
14793
|
}>;
|
|
14413
|
-
|
|
14794
|
+
403: import("zod").ZodObject<{
|
|
14795
|
+
status: import("zod").ZodNumber;
|
|
14796
|
+
message: import("zod").ZodString;
|
|
14797
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14798
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14799
|
+
message: string;
|
|
14800
|
+
status: number;
|
|
14801
|
+
errors: string[];
|
|
14802
|
+
}, {
|
|
14803
|
+
message: string;
|
|
14804
|
+
status: number;
|
|
14805
|
+
errors: string[];
|
|
14806
|
+
}>;
|
|
14807
|
+
404: import("zod").ZodObject<{
|
|
14414
14808
|
status: import("zod").ZodNumber;
|
|
14415
14809
|
message: import("zod").ZodString;
|
|
14416
14810
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14425,56 +14819,104 @@ export declare const clientsContract: {
|
|
|
14425
14819
|
}>;
|
|
14426
14820
|
};
|
|
14427
14821
|
};
|
|
14428
|
-
|
|
14429
|
-
|
|
14822
|
+
list: {
|
|
14823
|
+
description: "Returns a paginated list of webhook subscriptions.";
|
|
14824
|
+
method: "GET";
|
|
14430
14825
|
metadata: {
|
|
14431
14826
|
auth: boolean;
|
|
14432
14827
|
};
|
|
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]>;
|
|
14828
|
+
query: import("zod").ZodObject<{
|
|
14829
|
+
page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
14830
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
14448
14831
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14449
|
-
|
|
14832
|
+
page: number;
|
|
14833
|
+
limit: number;
|
|
14450
14834
|
}, {
|
|
14451
|
-
|
|
14835
|
+
page?: number | undefined;
|
|
14836
|
+
limit?: number | undefined;
|
|
14452
14837
|
}>;
|
|
14453
|
-
summary: "
|
|
14454
|
-
path: "/clients/api/v1/
|
|
14838
|
+
summary: "List webhook subscriptions";
|
|
14839
|
+
path: "/clients/api/v1/webhooks";
|
|
14455
14840
|
responses: {
|
|
14456
14841
|
200: import("zod").ZodObject<{
|
|
14457
|
-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
|
|
14461
|
-
|
|
14462
|
-
|
|
14463
|
-
|
|
14464
|
-
|
|
14465
|
-
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
|
-
|
|
14842
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
14843
|
+
id: import("zod").ZodString;
|
|
14844
|
+
targetUrl: import("zod").ZodString;
|
|
14845
|
+
eventTypes: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
14846
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
14847
|
+
enabled: import("zod").ZodBoolean;
|
|
14848
|
+
createdAt: import("zod").ZodString;
|
|
14849
|
+
updatedAt: import("zod").ZodString;
|
|
14850
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14851
|
+
id: string;
|
|
14852
|
+
createdAt: string;
|
|
14853
|
+
updatedAt: string;
|
|
14854
|
+
name: string | null;
|
|
14855
|
+
enabled: boolean;
|
|
14856
|
+
targetUrl: string;
|
|
14857
|
+
eventTypes: string[];
|
|
14858
|
+
}, {
|
|
14859
|
+
id: string;
|
|
14860
|
+
createdAt: string;
|
|
14861
|
+
updatedAt: string;
|
|
14862
|
+
name: string | null;
|
|
14863
|
+
enabled: boolean;
|
|
14864
|
+
targetUrl: string;
|
|
14865
|
+
eventTypes: string[];
|
|
14866
|
+
}>, "many">;
|
|
14867
|
+
meta: import("zod").ZodObject<{
|
|
14868
|
+
itemCount: import("zod").ZodNumber;
|
|
14869
|
+
totalItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
14870
|
+
itemsPerPage: import("zod").ZodNumber;
|
|
14871
|
+
totalPages: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
14872
|
+
currentPage: import("zod").ZodNumber;
|
|
14873
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14874
|
+
itemCount: number;
|
|
14875
|
+
itemsPerPage: number;
|
|
14876
|
+
currentPage: number;
|
|
14877
|
+
totalItems?: number | undefined;
|
|
14878
|
+
totalPages?: number | undefined;
|
|
14879
|
+
}, {
|
|
14880
|
+
itemCount: number;
|
|
14881
|
+
itemsPerPage: number;
|
|
14882
|
+
currentPage: number;
|
|
14883
|
+
totalItems?: number | undefined;
|
|
14884
|
+
totalPages?: number | undefined;
|
|
14885
|
+
}>;
|
|
14470
14886
|
}, "strip", import("zod").ZodTypeAny, {
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14887
|
+
items: {
|
|
14888
|
+
id: string;
|
|
14889
|
+
createdAt: string;
|
|
14890
|
+
updatedAt: string;
|
|
14891
|
+
name: string | null;
|
|
14892
|
+
enabled: boolean;
|
|
14893
|
+
targetUrl: string;
|
|
14894
|
+
eventTypes: string[];
|
|
14895
|
+
}[];
|
|
14896
|
+
meta: {
|
|
14897
|
+
itemCount: number;
|
|
14898
|
+
itemsPerPage: number;
|
|
14899
|
+
currentPage: number;
|
|
14900
|
+
totalItems?: number | undefined;
|
|
14901
|
+
totalPages?: number | undefined;
|
|
14902
|
+
};
|
|
14474
14903
|
}, {
|
|
14475
|
-
|
|
14476
|
-
|
|
14477
|
-
|
|
14904
|
+
items: {
|
|
14905
|
+
id: string;
|
|
14906
|
+
createdAt: string;
|
|
14907
|
+
updatedAt: string;
|
|
14908
|
+
name: string | null;
|
|
14909
|
+
enabled: boolean;
|
|
14910
|
+
targetUrl: string;
|
|
14911
|
+
eventTypes: string[];
|
|
14912
|
+
}[];
|
|
14913
|
+
meta: {
|
|
14914
|
+
itemCount: number;
|
|
14915
|
+
itemsPerPage: number;
|
|
14916
|
+
currentPage: number;
|
|
14917
|
+
totalItems?: number | undefined;
|
|
14918
|
+
totalPages?: number | undefined;
|
|
14919
|
+
};
|
|
14478
14920
|
}>;
|
|
14479
14921
|
401: import("zod").ZodObject<{
|
|
14480
14922
|
status: import("zod").ZodNumber;
|
|
@@ -14502,7 +14944,34 @@ export declare const clientsContract: {
|
|
|
14502
14944
|
status: number;
|
|
14503
14945
|
errors: string[];
|
|
14504
14946
|
}>;
|
|
14505
|
-
|
|
14947
|
+
};
|
|
14948
|
+
};
|
|
14949
|
+
triggerTypes: {
|
|
14950
|
+
description: "Returns a list of event types that can be subscribed to for triggers.";
|
|
14951
|
+
method: "GET";
|
|
14952
|
+
metadata: {
|
|
14953
|
+
auth: boolean;
|
|
14954
|
+
};
|
|
14955
|
+
summary: "Get available trigger types";
|
|
14956
|
+
path: "/clients/api/v1/webhooks/trigger-types";
|
|
14957
|
+
responses: {
|
|
14958
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
|
14959
|
+
eventType: import("zod").ZodString;
|
|
14960
|
+
displayName: import("zod").ZodString;
|
|
14961
|
+
description: import("zod").ZodString;
|
|
14962
|
+
source: import("zod").ZodEnum<["api", "external", "both"]>;
|
|
14963
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14964
|
+
description: string;
|
|
14965
|
+
source: "api" | "external" | "both";
|
|
14966
|
+
eventType: string;
|
|
14967
|
+
displayName: string;
|
|
14968
|
+
}, {
|
|
14969
|
+
description: string;
|
|
14970
|
+
source: "api" | "external" | "both";
|
|
14971
|
+
eventType: string;
|
|
14972
|
+
displayName: string;
|
|
14973
|
+
}>, "many">;
|
|
14974
|
+
401: import("zod").ZodObject<{
|
|
14506
14975
|
status: import("zod").ZodNumber;
|
|
14507
14976
|
message: import("zod").ZodString;
|
|
14508
14977
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14515,7 +14984,7 @@ export declare const clientsContract: {
|
|
|
14515
14984
|
status: number;
|
|
14516
14985
|
errors: string[];
|
|
14517
14986
|
}>;
|
|
14518
|
-
|
|
14987
|
+
403: import("zod").ZodObject<{
|
|
14519
14988
|
status: import("zod").ZodNumber;
|
|
14520
14989
|
message: import("zod").ZodString;
|
|
14521
14990
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14530,41 +14999,38 @@ export declare const clientsContract: {
|
|
|
14530
14999
|
}>;
|
|
14531
15000
|
};
|
|
14532
15001
|
};
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
method: "POST";
|
|
15002
|
+
actionTypes: {
|
|
15003
|
+
description: "Returns a list of API endpoints available as Zapier actions.";
|
|
15004
|
+
method: "GET";
|
|
14537
15005
|
metadata: {
|
|
14538
15006
|
auth: boolean;
|
|
14539
15007
|
};
|
|
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";
|
|
15008
|
+
summary: "Get available action types";
|
|
15009
|
+
path: "/clients/api/v1/webhooks/action-types";
|
|
14565
15010
|
responses: {
|
|
14566
|
-
|
|
14567
|
-
|
|
15011
|
+
200: import("zod").ZodArray<import("zod").ZodObject<{
|
|
15012
|
+
key: import("zod").ZodString;
|
|
15013
|
+
displayName: import("zod").ZodString;
|
|
15014
|
+
description: import("zod").ZodString;
|
|
15015
|
+
method: import("zod").ZodEnum<["GET", "POST", "PATCH", "PUT", "DELETE"]>;
|
|
15016
|
+
endpoint: import("zod").ZodString;
|
|
15017
|
+
noun: import("zod").ZodString;
|
|
15018
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15019
|
+
key: string;
|
|
15020
|
+
description: string;
|
|
15021
|
+
endpoint: string;
|
|
15022
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
15023
|
+
displayName: string;
|
|
15024
|
+
noun: string;
|
|
15025
|
+
}, {
|
|
15026
|
+
key: string;
|
|
15027
|
+
description: string;
|
|
15028
|
+
endpoint: string;
|
|
15029
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
15030
|
+
displayName: string;
|
|
15031
|
+
noun: string;
|
|
15032
|
+
}>, "many">;
|
|
15033
|
+
401: import("zod").ZodObject<{
|
|
14568
15034
|
status: import("zod").ZodNumber;
|
|
14569
15035
|
message: import("zod").ZodString;
|
|
14570
15036
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14577,7 +15043,7 @@ export declare const clientsContract: {
|
|
|
14577
15043
|
status: number;
|
|
14578
15044
|
errors: string[];
|
|
14579
15045
|
}>;
|
|
14580
|
-
|
|
15046
|
+
403: import("zod").ZodObject<{
|
|
14581
15047
|
status: import("zod").ZodNumber;
|
|
14582
15048
|
message: import("zod").ZodString;
|
|
14583
15049
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14590,7 +15056,33 @@ export declare const clientsContract: {
|
|
|
14590
15056
|
status: number;
|
|
14591
15057
|
errors: string[];
|
|
14592
15058
|
}>;
|
|
14593
|
-
|
|
15059
|
+
};
|
|
15060
|
+
};
|
|
15061
|
+
performList: {
|
|
15062
|
+
description: "Returns recent events for a specific event type. Used as a polling fallback by Zapier.";
|
|
15063
|
+
method: "GET";
|
|
15064
|
+
metadata: {
|
|
15065
|
+
auth: boolean;
|
|
15066
|
+
};
|
|
15067
|
+
pathParams: import("zod").ZodObject<{
|
|
15068
|
+
eventType: import("zod").ZodString;
|
|
15069
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15070
|
+
eventType: string;
|
|
15071
|
+
}, {
|
|
15072
|
+
eventType: string;
|
|
15073
|
+
}>;
|
|
15074
|
+
query: import("zod").ZodObject<{
|
|
15075
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
15076
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15077
|
+
limit: number;
|
|
15078
|
+
}, {
|
|
15079
|
+
limit?: number | undefined;
|
|
15080
|
+
}>;
|
|
15081
|
+
summary: "Perform list for event type";
|
|
15082
|
+
path: "/clients/api/v1/webhooks/perform/:eventType";
|
|
15083
|
+
responses: {
|
|
15084
|
+
200: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">;
|
|
15085
|
+
401: import("zod").ZodObject<{
|
|
14594
15086
|
status: import("zod").ZodNumber;
|
|
14595
15087
|
message: import("zod").ZodString;
|
|
14596
15088
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -14603,7 +15095,7 @@ export declare const clientsContract: {
|
|
|
14603
15095
|
status: number;
|
|
14604
15096
|
errors: string[];
|
|
14605
15097
|
}>;
|
|
14606
|
-
|
|
15098
|
+
403: import("zod").ZodObject<{
|
|
14607
15099
|
status: import("zod").ZodNumber;
|
|
14608
15100
|
message: import("zod").ZodString;
|
|
14609
15101
|
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|