@dalmore/api-contracts 0.0.0-dev.d4be84e → 0.0.0-dev.d4fc9b8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/constants.d.ts +15 -0
- package/common/constants.js +15 -0
- package/common/constants.js.map +1 -1
- package/common/helpers/index.d.ts +19 -0
- package/common/helpers/index.js +28 -0
- package/common/helpers/index.js.map +1 -1
- package/common/types/account.types.js +3 -3
- package/common/types/account.types.js.map +1 -1
- package/common/types/attribution.types.d.ts +147 -0
- package/common/types/attribution.types.js +103 -0
- package/common/types/attribution.types.js.map +1 -0
- package/common/types/common.types.d.ts +12 -3
- package/common/types/common.types.js +12 -3
- package/common/types/common.types.js.map +1 -1
- package/common/types/comply-advantage-api.types.d.ts +12 -12
- package/common/types/csv.types.d.ts +2020 -138
- package/common/types/csv.types.js +145 -33
- package/common/types/csv.types.js.map +1 -1
- package/common/types/disbursements.types.d.ts +6 -6
- package/common/types/disbursements.types.js +1 -1
- package/common/types/disbursements.types.js.map +1 -1
- package/common/types/index.d.ts +1 -2
- package/common/types/index.js +1 -2
- package/common/types/index.js.map +1 -1
- package/common/types/individuals.types.d.ts +188 -0
- package/common/types/investor-account.types.js +2 -0
- package/common/types/investor-account.types.js.map +1 -1
- package/common/types/invite.types.d.ts +3 -0
- package/common/types/invite.types.js +1 -0
- package/common/types/invite.types.js.map +1 -1
- package/common/types/issuer-offering.types.d.ts +163 -0
- package/common/types/issuer-offering.types.js +5 -6
- package/common/types/issuer-offering.types.js.map +1 -1
- package/common/types/mail-template.types.d.ts +4 -4
- package/common/types/notification.types.d.ts +1 -0
- package/common/types/notification.types.js +3 -0
- package/common/types/notification.types.js.map +1 -1
- package/common/types/offering-submission.types.js +1 -1
- package/common/types/offering.types.js +4 -1
- package/common/types/offering.types.js.map +1 -1
- package/common/types/payment-methods.types.d.ts +365 -0
- package/common/types/payment-methods.types.js +121 -0
- package/common/types/payment-methods.types.js.map +1 -1
- package/common/types/state-machine.types.d.ts +3 -3
- package/common/types/state-machine.types.js +1 -1
- package/common/types/state-machine.types.js.map +1 -1
- package/common/types/task.types.d.ts +8 -0
- package/common/types/task.types.js +3 -0
- package/common/types/task.types.js.map +1 -1
- package/common/types/trade.types.d.ts +10 -14
- package/common/types/trade.types.js +2 -7
- package/common/types/trade.types.js.map +1 -1
- package/common/types/transaction.types.d.ts +24 -1
- package/common/types/transaction.types.js +26 -0
- package/common/types/transaction.types.js.map +1 -1
- package/common/types/user.types.d.ts +3 -0
- package/common/types/user.types.js +4 -0
- package/common/types/user.types.js.map +1 -1
- package/common/types/zapier.types.d.ts +126 -0
- package/common/types/zapier.types.js +247 -0
- package/common/types/zapier.types.js.map +1 -0
- package/contracts/clients/csv/index.d.ts +262 -7
- package/contracts/clients/csv/index.js +19 -2
- package/contracts/clients/csv/index.js.map +1 -1
- package/contracts/clients/index.d.ts +1719 -663
- package/contracts/clients/index.js +4 -2
- package/contracts/clients/index.js.map +1 -1
- package/contracts/clients/individuals/index.d.ts +376 -0
- package/contracts/clients/webhooks/index.d.ts +506 -0
- package/contracts/clients/webhooks/index.js +118 -0
- package/contracts/clients/webhooks/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Available trigger types for Zapier.
|
|
4
|
+
*/
|
|
5
|
+
export const ZAPIER_TRIGGER_TYPES = [
|
|
6
|
+
// === API-sourced triggers (from Client portal calls) ===
|
|
7
|
+
{
|
|
8
|
+
eventType: 'client.trades.create',
|
|
9
|
+
displayName: 'Trade Created',
|
|
10
|
+
description: 'Triggers when a new trade/investment is placed',
|
|
11
|
+
source: 'api',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
eventType: 'client.trades.update',
|
|
15
|
+
displayName: 'Trade Updated',
|
|
16
|
+
description: 'Triggers when a trade is updated',
|
|
17
|
+
source: 'api',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
eventType: 'client.investor_accounts.create',
|
|
21
|
+
displayName: 'Investor Created',
|
|
22
|
+
description: 'Triggers when a new investor account is created',
|
|
23
|
+
source: 'api',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
eventType: 'client.investor_accounts.update',
|
|
27
|
+
displayName: 'Investor Updated',
|
|
28
|
+
description: 'Triggers when an investor account is updated',
|
|
29
|
+
source: 'api',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
eventType: 'client.offerings.create',
|
|
33
|
+
displayName: 'Offering Created',
|
|
34
|
+
description: 'Triggers when a new offering is created',
|
|
35
|
+
source: 'api',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
eventType: 'client.offerings.update',
|
|
39
|
+
displayName: 'Offering Updated',
|
|
40
|
+
description: 'Triggers when an offering is updated',
|
|
41
|
+
source: 'api',
|
|
42
|
+
},
|
|
43
|
+
// === Users (common for email marketing integrations) ===
|
|
44
|
+
{
|
|
45
|
+
eventType: 'client.users.create',
|
|
46
|
+
displayName: 'User Signed Up',
|
|
47
|
+
description: 'Triggers when a new user signs up (ideal for adding to email marketing lists)',
|
|
48
|
+
source: 'api',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
eventType: 'client.users.update',
|
|
52
|
+
displayName: 'User Updated',
|
|
53
|
+
description: 'Triggers when a user profile is updated',
|
|
54
|
+
source: 'api',
|
|
55
|
+
},
|
|
56
|
+
// === External-sourced triggers (from third-party webhooks) ===
|
|
57
|
+
{
|
|
58
|
+
eventType: 'client.kycs.approved',
|
|
59
|
+
displayName: 'KYC Approved',
|
|
60
|
+
description: 'Triggers when KYC verification is approved (via Persona)',
|
|
61
|
+
source: 'external',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
eventType: 'client.kycs.rejected',
|
|
65
|
+
displayName: 'KYC Rejected',
|
|
66
|
+
description: 'Triggers when KYC verification is rejected (via Persona)',
|
|
67
|
+
source: 'external',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
eventType: 'client.amls.approved',
|
|
71
|
+
displayName: 'AML Approved',
|
|
72
|
+
description: 'Triggers when AML screening is approved (via ComplyAdvantage)',
|
|
73
|
+
source: 'external',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
eventType: 'client.amls.rejected',
|
|
77
|
+
displayName: 'AML Rejected',
|
|
78
|
+
description: 'Triggers when AML screening is rejected (via ComplyAdvantage)',
|
|
79
|
+
source: 'external',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
eventType: 'client.transactions.completed',
|
|
83
|
+
displayName: 'Transaction Completed',
|
|
84
|
+
description: 'Triggers when a payment transaction is completed (via Stripe)',
|
|
85
|
+
source: 'external',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
eventType: 'client.transactions.failed',
|
|
89
|
+
displayName: 'Transaction Failed',
|
|
90
|
+
description: 'Triggers when a payment transaction fails (via Stripe)',
|
|
91
|
+
source: 'external',
|
|
92
|
+
},
|
|
93
|
+
// === Both API and external triggers ===
|
|
94
|
+
{
|
|
95
|
+
eventType: 'client.trades.approved',
|
|
96
|
+
displayName: 'Trade Approved',
|
|
97
|
+
description: 'Triggers when a trade is approved (manual or automatic)',
|
|
98
|
+
source: 'both',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
eventType: 'client.trades.rejected',
|
|
102
|
+
displayName: 'Trade Rejected',
|
|
103
|
+
description: 'Triggers when a trade is rejected (manual or automatic)',
|
|
104
|
+
source: 'both',
|
|
105
|
+
},
|
|
106
|
+
];
|
|
107
|
+
/**
|
|
108
|
+
* Available actions for Zapier.
|
|
109
|
+
* Maps directly to existing Client portal endpoints.
|
|
110
|
+
*/
|
|
111
|
+
export const ZAPIER_ACTION_TYPES = [
|
|
112
|
+
// === Trades ===
|
|
113
|
+
{
|
|
114
|
+
key: 'create_trade',
|
|
115
|
+
displayName: 'Create Trade',
|
|
116
|
+
description: 'Create a new trade/investment',
|
|
117
|
+
method: 'POST',
|
|
118
|
+
endpoint: '/clients/api/v1/trades',
|
|
119
|
+
noun: 'Trade',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
key: 'update_trade',
|
|
123
|
+
displayName: 'Update Trade',
|
|
124
|
+
description: 'Update an existing trade',
|
|
125
|
+
method: 'PATCH',
|
|
126
|
+
endpoint: '/clients/api/v1/trades/:id',
|
|
127
|
+
noun: 'Trade',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
key: 'get_trade',
|
|
131
|
+
displayName: 'Find Trade',
|
|
132
|
+
description: 'Find a trade by ID',
|
|
133
|
+
method: 'GET',
|
|
134
|
+
endpoint: '/clients/api/v1/trades/:id',
|
|
135
|
+
noun: 'Trade',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
key: 'search_trades',
|
|
139
|
+
displayName: 'Search Trades',
|
|
140
|
+
description: 'Search for trades with filters',
|
|
141
|
+
method: 'GET',
|
|
142
|
+
endpoint: '/clients/api/v1/trades',
|
|
143
|
+
noun: 'Trade',
|
|
144
|
+
},
|
|
145
|
+
// === Investor Accounts ===
|
|
146
|
+
{
|
|
147
|
+
key: 'create_investor',
|
|
148
|
+
displayName: 'Create Investor',
|
|
149
|
+
description: 'Create a new investor account',
|
|
150
|
+
method: 'POST',
|
|
151
|
+
endpoint: '/clients/api/v1/investor-accounts',
|
|
152
|
+
noun: 'Investor',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
key: 'update_investor',
|
|
156
|
+
displayName: 'Update Investor',
|
|
157
|
+
description: 'Update an investor account',
|
|
158
|
+
method: 'PATCH',
|
|
159
|
+
endpoint: '/clients/api/v1/investor-accounts/:id',
|
|
160
|
+
noun: 'Investor',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
key: 'get_investor',
|
|
164
|
+
displayName: 'Find Investor',
|
|
165
|
+
description: 'Find an investor by ID',
|
|
166
|
+
method: 'GET',
|
|
167
|
+
endpoint: '/clients/api/v1/investor-accounts/:id',
|
|
168
|
+
noun: 'Investor',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
key: 'search_investors',
|
|
172
|
+
displayName: 'Search Investors',
|
|
173
|
+
description: 'Search for investors with filters',
|
|
174
|
+
method: 'GET',
|
|
175
|
+
endpoint: '/clients/api/v1/investor-accounts',
|
|
176
|
+
noun: 'Investor',
|
|
177
|
+
},
|
|
178
|
+
// === Offerings ===
|
|
179
|
+
{
|
|
180
|
+
key: 'get_offering',
|
|
181
|
+
displayName: 'Find Offering',
|
|
182
|
+
description: 'Find an offering by ID',
|
|
183
|
+
method: 'GET',
|
|
184
|
+
endpoint: '/clients/api/v1/offerings/:id',
|
|
185
|
+
noun: 'Offering',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
key: 'list_offerings',
|
|
189
|
+
displayName: 'List Offerings',
|
|
190
|
+
description: 'List all offerings',
|
|
191
|
+
method: 'GET',
|
|
192
|
+
endpoint: '/clients/api/v1/offerings',
|
|
193
|
+
noun: 'Offering',
|
|
194
|
+
},
|
|
195
|
+
// === KYC ===
|
|
196
|
+
{
|
|
197
|
+
key: 'create_kyc',
|
|
198
|
+
displayName: 'Start KYC',
|
|
199
|
+
description: 'Initiate KYC verification for an investor',
|
|
200
|
+
method: 'POST',
|
|
201
|
+
endpoint: '/clients/api/v1/kycs',
|
|
202
|
+
noun: 'KYC',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
key: 'get_kyc',
|
|
206
|
+
displayName: 'Find KYC',
|
|
207
|
+
description: 'Find KYC status by ID',
|
|
208
|
+
method: 'GET',
|
|
209
|
+
endpoint: '/clients/api/v1/kycs/:id',
|
|
210
|
+
noun: 'KYC',
|
|
211
|
+
},
|
|
212
|
+
];
|
|
213
|
+
// Zod schemas for API responses
|
|
214
|
+
export const ZapierTriggerTypeZod = z.object({
|
|
215
|
+
eventType: z.string(),
|
|
216
|
+
displayName: z.string(),
|
|
217
|
+
description: z.string(),
|
|
218
|
+
source: z.enum(['api', 'external', 'both']),
|
|
219
|
+
});
|
|
220
|
+
export const ZapierActionTypeZod = z.object({
|
|
221
|
+
key: z.string(),
|
|
222
|
+
displayName: z.string(),
|
|
223
|
+
description: z.string(),
|
|
224
|
+
method: z.enum(['GET', 'POST', 'PATCH', 'PUT', 'DELETE']),
|
|
225
|
+
endpoint: z.string(),
|
|
226
|
+
noun: z.string(),
|
|
227
|
+
});
|
|
228
|
+
// Webhook subscription schemas
|
|
229
|
+
export const WebhookSubscriptionZod = z.object({
|
|
230
|
+
id: z.string(),
|
|
231
|
+
targetUrl: z.string().url(),
|
|
232
|
+
eventTypes: z.array(z.string()),
|
|
233
|
+
name: z.string().nullable(),
|
|
234
|
+
enabled: z.boolean(),
|
|
235
|
+
createdAt: z.string(),
|
|
236
|
+
updatedAt: z.string(),
|
|
237
|
+
});
|
|
238
|
+
export const CreateWebhookSubscriptionZod = z.object({
|
|
239
|
+
targetUrl: z.string().url(),
|
|
240
|
+
eventTypes: z.array(z.string()).min(1),
|
|
241
|
+
name: z.string().optional(),
|
|
242
|
+
});
|
|
243
|
+
export const WebhookSubscriptionResponseZod = z.object({
|
|
244
|
+
id: z.string(),
|
|
245
|
+
hook0SubscriptionId: z.string().nullable(),
|
|
246
|
+
});
|
|
247
|
+
//# sourceMappingURL=zapier.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zapier.types.js","sourceRoot":"","sources":["zapier.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAwB;IACvD,0DAA0D;IAC1D;QACE,SAAS,EAAE,sBAAsB;QACjC,WAAW,EAAE,eAAe;QAC5B,WAAW,EAAE,gDAAgD;QAC7D,MAAM,EAAE,KAAK;KACd;IACD;QACE,SAAS,EAAE,sBAAsB;QACjC,WAAW,EAAE,eAAe;QAC5B,WAAW,EAAE,kCAAkC;QAC/C,MAA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G,CAAC,CAAC,MAAM,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACtC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC"}
|
|
@@ -7,13 +7,6 @@ export declare const csvContract: {
|
|
|
7
7
|
body: import("@ts-rest/core").ContractPlainType<{
|
|
8
8
|
file: File;
|
|
9
9
|
}>;
|
|
10
|
-
query: import("zod").ZodObject<{
|
|
11
|
-
type: import("zod").ZodNativeEnum<typeof import("../../..").InvestorAccountType>;
|
|
12
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
13
|
-
type: import("../../..").InvestorAccountType;
|
|
14
|
-
}, {
|
|
15
|
-
type: import("../../..").InvestorAccountType;
|
|
16
|
-
}>;
|
|
17
10
|
summary: "Upload and process CSV file for investor account creation";
|
|
18
11
|
contentType: "multipart/form-data";
|
|
19
12
|
path: "csv/investors";
|
|
@@ -679,6 +672,94 @@ export declare const csvContract: {
|
|
|
679
672
|
financial?: boolean | undefined;
|
|
680
673
|
} | undefined;
|
|
681
674
|
}>>>;
|
|
675
|
+
trustedContacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodLazy<import("zod").ZodObject<{
|
|
676
|
+
id: import("zod").ZodString;
|
|
677
|
+
__entity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
678
|
+
createdAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
679
|
+
updatedAt: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>;
|
|
680
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
|
|
681
|
+
} & {
|
|
682
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
683
|
+
lastName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
684
|
+
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
685
|
+
phone: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
686
|
+
countryCallingCode: import("zod").ZodString;
|
|
687
|
+
country: import("zod").ZodString;
|
|
688
|
+
nationalNumber: import("zod").ZodString;
|
|
689
|
+
number: import("zod").ZodString;
|
|
690
|
+
formatNational: import("zod").ZodString;
|
|
691
|
+
formatInternational: import("zod").ZodString;
|
|
692
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
693
|
+
number: string;
|
|
694
|
+
countryCallingCode: string;
|
|
695
|
+
country: string;
|
|
696
|
+
nationalNumber: string;
|
|
697
|
+
formatNational: string;
|
|
698
|
+
formatInternational: string;
|
|
699
|
+
}, {
|
|
700
|
+
number: string;
|
|
701
|
+
countryCallingCode: string;
|
|
702
|
+
country: string;
|
|
703
|
+
nationalNumber: string;
|
|
704
|
+
formatNational: string;
|
|
705
|
+
formatInternational: string;
|
|
706
|
+
}>>;
|
|
707
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
|
708
|
+
address2: import("zod").ZodNullable<import("zod").ZodString>;
|
|
709
|
+
city: import("zod").ZodNullable<import("zod").ZodString>;
|
|
710
|
+
state: import("zod").ZodNullable<import("zod").ZodString>;
|
|
711
|
+
zip: import("zod").ZodNullable<import("zod").ZodString>;
|
|
712
|
+
country: import("zod").ZodNullable<import("zod").ZodString>;
|
|
713
|
+
relationship: import("zod").ZodNativeEnum<typeof import("../../..").TrustedContactRelationship>;
|
|
714
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
715
|
+
id: string;
|
|
716
|
+
createdAt: string | Date;
|
|
717
|
+
updatedAt: string | Date;
|
|
718
|
+
deletedAt: string | Date | null;
|
|
719
|
+
country: string | null;
|
|
720
|
+
firstName: string | null;
|
|
721
|
+
lastName: string | null;
|
|
722
|
+
email: string | null;
|
|
723
|
+
phone: {
|
|
724
|
+
number: string;
|
|
725
|
+
countryCallingCode: string;
|
|
726
|
+
country: string;
|
|
727
|
+
nationalNumber: string;
|
|
728
|
+
formatNational: string;
|
|
729
|
+
formatInternational: string;
|
|
730
|
+
} | null;
|
|
731
|
+
state: string | null;
|
|
732
|
+
address: string | null;
|
|
733
|
+
city: string | null;
|
|
734
|
+
zip: string | null;
|
|
735
|
+
address2: string | null;
|
|
736
|
+
relationship: import("../../..").TrustedContactRelationship;
|
|
737
|
+
__entity?: string | undefined;
|
|
738
|
+
}, {
|
|
739
|
+
id: string;
|
|
740
|
+
createdAt: string | Date;
|
|
741
|
+
updatedAt: string | Date;
|
|
742
|
+
deletedAt: string | Date | null;
|
|
743
|
+
country: string | null;
|
|
744
|
+
firstName: string | null;
|
|
745
|
+
lastName: string | null;
|
|
746
|
+
email: string | null;
|
|
747
|
+
phone: {
|
|
748
|
+
number: string;
|
|
749
|
+
countryCallingCode: string;
|
|
750
|
+
country: string;
|
|
751
|
+
nationalNumber: string;
|
|
752
|
+
formatNational: string;
|
|
753
|
+
formatInternational: string;
|
|
754
|
+
} | null;
|
|
755
|
+
state: string | null;
|
|
756
|
+
address: string | null;
|
|
757
|
+
city: string | null;
|
|
758
|
+
zip: string | null;
|
|
759
|
+
address2: string | null;
|
|
760
|
+
relationship: import("../../..").TrustedContactRelationship;
|
|
761
|
+
__entity?: string | undefined;
|
|
762
|
+
}>>, "many">>;
|
|
682
763
|
}, "strip", import("zod").ZodTypeAny, {
|
|
683
764
|
id: string;
|
|
684
765
|
createdAt: string | Date;
|
|
@@ -814,6 +895,31 @@ export declare const csvContract: {
|
|
|
814
895
|
financial: boolean;
|
|
815
896
|
} | undefined;
|
|
816
897
|
} | undefined;
|
|
898
|
+
trustedContacts?: {
|
|
899
|
+
id: string;
|
|
900
|
+
createdAt: string | Date;
|
|
901
|
+
updatedAt: string | Date;
|
|
902
|
+
deletedAt: string | Date | null;
|
|
903
|
+
country: string | null;
|
|
904
|
+
firstName: string | null;
|
|
905
|
+
lastName: string | null;
|
|
906
|
+
email: string | null;
|
|
907
|
+
phone: {
|
|
908
|
+
number: string;
|
|
909
|
+
countryCallingCode: string;
|
|
910
|
+
country: string;
|
|
911
|
+
nationalNumber: string;
|
|
912
|
+
formatNational: string;
|
|
913
|
+
formatInternational: string;
|
|
914
|
+
} | null;
|
|
915
|
+
state: string | null;
|
|
916
|
+
address: string | null;
|
|
917
|
+
city: string | null;
|
|
918
|
+
zip: string | null;
|
|
919
|
+
address2: string | null;
|
|
920
|
+
relationship: import("../../..").TrustedContactRelationship;
|
|
921
|
+
__entity?: string | undefined;
|
|
922
|
+
}[] | undefined;
|
|
817
923
|
}, {
|
|
818
924
|
id: string;
|
|
819
925
|
createdAt: string | Date;
|
|
@@ -949,6 +1055,31 @@ export declare const csvContract: {
|
|
|
949
1055
|
financial?: boolean | undefined;
|
|
950
1056
|
} | undefined;
|
|
951
1057
|
} | undefined;
|
|
1058
|
+
trustedContacts?: {
|
|
1059
|
+
id: string;
|
|
1060
|
+
createdAt: string | Date;
|
|
1061
|
+
updatedAt: string | Date;
|
|
1062
|
+
deletedAt: string | Date | null;
|
|
1063
|
+
country: string | null;
|
|
1064
|
+
firstName: string | null;
|
|
1065
|
+
lastName: string | null;
|
|
1066
|
+
email: string | null;
|
|
1067
|
+
phone: {
|
|
1068
|
+
number: string;
|
|
1069
|
+
countryCallingCode: string;
|
|
1070
|
+
country: string;
|
|
1071
|
+
nationalNumber: string;
|
|
1072
|
+
formatNational: string;
|
|
1073
|
+
formatInternational: string;
|
|
1074
|
+
} | null;
|
|
1075
|
+
state: string | null;
|
|
1076
|
+
address: string | null;
|
|
1077
|
+
city: string | null;
|
|
1078
|
+
zip: string | null;
|
|
1079
|
+
address2: string | null;
|
|
1080
|
+
relationship: import("../../..").TrustedContactRelationship;
|
|
1081
|
+
__entity?: string | undefined;
|
|
1082
|
+
}[] | undefined;
|
|
952
1083
|
}>>>;
|
|
953
1084
|
role: import("zod").ZodNativeEnum<typeof import("../../..").IndividualRole>;
|
|
954
1085
|
firstName: import("zod").ZodString;
|
|
@@ -1216,6 +1347,31 @@ export declare const csvContract: {
|
|
|
1216
1347
|
financial: boolean;
|
|
1217
1348
|
} | undefined;
|
|
1218
1349
|
} | undefined;
|
|
1350
|
+
trustedContacts?: {
|
|
1351
|
+
id: string;
|
|
1352
|
+
createdAt: string | Date;
|
|
1353
|
+
updatedAt: string | Date;
|
|
1354
|
+
deletedAt: string | Date | null;
|
|
1355
|
+
country: string | null;
|
|
1356
|
+
firstName: string | null;
|
|
1357
|
+
lastName: string | null;
|
|
1358
|
+
email: string | null;
|
|
1359
|
+
phone: {
|
|
1360
|
+
number: string;
|
|
1361
|
+
countryCallingCode: string;
|
|
1362
|
+
country: string;
|
|
1363
|
+
nationalNumber: string;
|
|
1364
|
+
formatNational: string;
|
|
1365
|
+
formatInternational: string;
|
|
1366
|
+
} | null;
|
|
1367
|
+
state: string | null;
|
|
1368
|
+
address: string | null;
|
|
1369
|
+
city: string | null;
|
|
1370
|
+
zip: string | null;
|
|
1371
|
+
address2: string | null;
|
|
1372
|
+
relationship: import("../../..").TrustedContactRelationship;
|
|
1373
|
+
__entity?: string | undefined;
|
|
1374
|
+
}[] | undefined;
|
|
1219
1375
|
} | undefined;
|
|
1220
1376
|
}, {
|
|
1221
1377
|
id: string;
|
|
@@ -1429,6 +1585,31 @@ export declare const csvContract: {
|
|
|
1429
1585
|
financial?: boolean | undefined;
|
|
1430
1586
|
} | undefined;
|
|
1431
1587
|
} | undefined;
|
|
1588
|
+
trustedContacts?: {
|
|
1589
|
+
id: string;
|
|
1590
|
+
createdAt: string | Date;
|
|
1591
|
+
updatedAt: string | Date;
|
|
1592
|
+
deletedAt: string | Date | null;
|
|
1593
|
+
country: string | null;
|
|
1594
|
+
firstName: string | null;
|
|
1595
|
+
lastName: string | null;
|
|
1596
|
+
email: string | null;
|
|
1597
|
+
phone: {
|
|
1598
|
+
number: string;
|
|
1599
|
+
countryCallingCode: string;
|
|
1600
|
+
country: string;
|
|
1601
|
+
nationalNumber: string;
|
|
1602
|
+
formatNational: string;
|
|
1603
|
+
formatInternational: string;
|
|
1604
|
+
} | null;
|
|
1605
|
+
state: string | null;
|
|
1606
|
+
address: string | null;
|
|
1607
|
+
city: string | null;
|
|
1608
|
+
zip: string | null;
|
|
1609
|
+
address2: string | null;
|
|
1610
|
+
relationship: import("../../..").TrustedContactRelationship;
|
|
1611
|
+
__entity?: string | undefined;
|
|
1612
|
+
}[] | undefined;
|
|
1432
1613
|
} | undefined;
|
|
1433
1614
|
}>;
|
|
1434
1615
|
400: import("zod").ZodObject<{
|
|
@@ -1730,4 +1911,78 @@ export declare const csvContract: {
|
|
|
1730
1911
|
}>;
|
|
1731
1912
|
};
|
|
1732
1913
|
};
|
|
1914
|
+
uploadOfferingCsv: {
|
|
1915
|
+
method: "POST";
|
|
1916
|
+
metadata: {
|
|
1917
|
+
auth: boolean;
|
|
1918
|
+
};
|
|
1919
|
+
body: import("@ts-rest/core").ContractPlainType<{
|
|
1920
|
+
file: File;
|
|
1921
|
+
}>;
|
|
1922
|
+
query: import("zod").ZodObject<{
|
|
1923
|
+
issuerId: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
1924
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1925
|
+
issuerId: string;
|
|
1926
|
+
}, {
|
|
1927
|
+
issuerId: string;
|
|
1928
|
+
}>;
|
|
1929
|
+
summary: "Upload and process CSV file for offering creation";
|
|
1930
|
+
contentType: "multipart/form-data";
|
|
1931
|
+
path: "csv/offering";
|
|
1932
|
+
responses: {
|
|
1933
|
+
200: import("zod").ZodLazy<any>;
|
|
1934
|
+
400: import("zod").ZodObject<{
|
|
1935
|
+
status: import("zod").ZodNumber;
|
|
1936
|
+
message: import("zod").ZodString;
|
|
1937
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1938
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1939
|
+
message: string;
|
|
1940
|
+
status: number;
|
|
1941
|
+
errors: string[];
|
|
1942
|
+
}, {
|
|
1943
|
+
message: string;
|
|
1944
|
+
status: number;
|
|
1945
|
+
errors: string[];
|
|
1946
|
+
}>;
|
|
1947
|
+
401: import("zod").ZodObject<{
|
|
1948
|
+
status: import("zod").ZodNumber;
|
|
1949
|
+
message: import("zod").ZodString;
|
|
1950
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1951
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1952
|
+
message: string;
|
|
1953
|
+
status: number;
|
|
1954
|
+
errors: string[];
|
|
1955
|
+
}, {
|
|
1956
|
+
message: string;
|
|
1957
|
+
status: number;
|
|
1958
|
+
errors: string[];
|
|
1959
|
+
}>;
|
|
1960
|
+
404: import("zod").ZodObject<{
|
|
1961
|
+
status: import("zod").ZodNumber;
|
|
1962
|
+
message: import("zod").ZodString;
|
|
1963
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1964
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1965
|
+
message: string;
|
|
1966
|
+
status: number;
|
|
1967
|
+
errors: string[];
|
|
1968
|
+
}, {
|
|
1969
|
+
message: string;
|
|
1970
|
+
status: number;
|
|
1971
|
+
errors: string[];
|
|
1972
|
+
}>;
|
|
1973
|
+
500: import("zod").ZodObject<{
|
|
1974
|
+
status: import("zod").ZodNumber;
|
|
1975
|
+
message: import("zod").ZodString;
|
|
1976
|
+
errors: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1977
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1978
|
+
message: string;
|
|
1979
|
+
status: number;
|
|
1980
|
+
errors: string[];
|
|
1981
|
+
}, {
|
|
1982
|
+
message: string;
|
|
1983
|
+
status: number;
|
|
1984
|
+
errors: string[];
|
|
1985
|
+
}>;
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1733
1988
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
|
-
import { BadRequestError, UnauthorizedError, UnprocessableError, CsvPersistenceResultZod, InternalError, NotFoundError, IndividualResponseSchema,
|
|
2
|
+
import { BadRequestError, UnauthorizedError, UnprocessableError, CsvPersistenceResultZod, InternalError, NotFoundError, IndividualResponseSchema, UploadAicCsvQuery, UploadKycCsvQuery, KycZod, OfferingCsvResponseZod, UploadOfferingCsvQuery, } from '../../../common/types/index.js';
|
|
3
3
|
const c = initContract();
|
|
4
4
|
export const csvContract = c.router({
|
|
5
5
|
uploadInvestorCsv: {
|
|
6
6
|
summary: 'Upload and process CSV file for investor account creation',
|
|
7
7
|
method: 'POST',
|
|
8
8
|
path: '/investors',
|
|
9
|
-
query: UploadInvestorCsvQuery,
|
|
10
9
|
contentType: 'multipart/form-data',
|
|
11
10
|
body: c.type(),
|
|
12
11
|
metadata: {
|
|
@@ -73,6 +72,24 @@ export const csvContract = c.router({
|
|
|
73
72
|
500: InternalError,
|
|
74
73
|
},
|
|
75
74
|
},
|
|
75
|
+
uploadOfferingCsv: {
|
|
76
|
+
summary: 'Upload and process CSV file for offering creation',
|
|
77
|
+
method: 'POST',
|
|
78
|
+
path: '/offering',
|
|
79
|
+
query: UploadOfferingCsvQuery,
|
|
80
|
+
contentType: 'multipart/form-data',
|
|
81
|
+
body: c.type(),
|
|
82
|
+
metadata: {
|
|
83
|
+
auth: true,
|
|
84
|
+
},
|
|
85
|
+
responses: {
|
|
86
|
+
200: OfferingCsvResponseZod,
|
|
87
|
+
400: BadRequestError,
|
|
88
|
+
401: UnauthorizedError,
|
|
89
|
+
404: NotFoundError,
|
|
90
|
+
500: InternalError,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
76
93
|
}, {
|
|
77
94
|
pathPrefix: 'csv',
|
|
78
95
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACN,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,YAAY,EAAE,CAAC;AAEzB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CACjC;IACE,iBAAiB,EAAE;QACjB,OAAO,EAAE,2DAA2D;QACpE,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAkB;QAC9B,QAAQ,EAAE;YACR,IAAI,EAAE,IAAI;SACX;QACD,SAAS,EAAE;YACT,GAAG,EAAE,uBAAuB;YAC5B,GAAG,EAAE,eAAe;YACpB,GAAG,EAAE,iBAAiB;YACtB,GAAG,EAAE,kBAAkB;YACvB,GAAG,EAAE,aAAa;SACnB;KACF;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,wDAAwD;QACjE,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,CAAC,CAAC,I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