@uptiqai/integrations-sdk 1.34.0 → 1.35.0

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.
@@ -1201,6 +1201,200 @@ export type AirtableListWebhookPayloads200 = {
1201
1201
  mightHaveMore?: boolean;
1202
1202
  [key: string]: unknown;
1203
1203
  };
1204
+ export type AkoyaOauthInitiateBody = {
1205
+ userId?: string;
1206
+ /** @minLength 1 */
1207
+ externalUserId?: string;
1208
+ originalRedirectUrl?: string;
1209
+ };
1210
+ export type AkoyaOauthInitiate200 = {
1211
+ authorizationUrl: string;
1212
+ };
1213
+ export type AkoyaOauthCallbackParams = {
1214
+ code?: string;
1215
+ state?: string;
1216
+ error?: string;
1217
+ };
1218
+ export type AkoyaOauthCallback200 = {
1219
+ success: boolean;
1220
+ userId: string;
1221
+ };
1222
+ export type AkoyaGetAccountInfoBody = {
1223
+ /**
1224
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1225
+ * @minLength 1
1226
+ * @nullable
1227
+ */
1228
+ providerId?: string | null;
1229
+ /** Integration user id for Akoya requests. */
1230
+ userId: string;
1231
+ [key: string]: unknown;
1232
+ };
1233
+ export type AkoyaGetAccountInfo200AccountsItem = {
1234
+ [key: string]: unknown | null;
1235
+ };
1236
+ export type AkoyaGetAccountInfo200 = {
1237
+ accounts?: AkoyaGetAccountInfo200AccountsItem[];
1238
+ [key: string]: unknown;
1239
+ };
1240
+ export type AkoyaGetBalancesBody = {
1241
+ /**
1242
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1243
+ * @minLength 1
1244
+ * @nullable
1245
+ */
1246
+ providerId?: string | null;
1247
+ /** Integration user id for Akoya requests. */
1248
+ userId: string;
1249
+ [key: string]: unknown;
1250
+ };
1251
+ export type AkoyaGetBalances200AccountsItem = {
1252
+ [key: string]: unknown | null;
1253
+ };
1254
+ export type AkoyaGetBalances200 = {
1255
+ accounts?: AkoyaGetBalances200AccountsItem[];
1256
+ [key: string]: unknown;
1257
+ };
1258
+ export type AkoyaGetTransactionsBody = {
1259
+ /**
1260
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1261
+ * @minLength 1
1262
+ * @nullable
1263
+ */
1264
+ providerId?: string | null;
1265
+ /**
1266
+ * A real Akoya account id, obtained from Fetch Account Info.
1267
+ * @minLength 1
1268
+ */
1269
+ accountId: string;
1270
+ /**
1271
+ * Start of the transaction date range (ISO 8601).
1272
+ * @nullable
1273
+ */
1274
+ startDate?: string | null;
1275
+ /**
1276
+ * End of the transaction date range (ISO 8601).
1277
+ * @nullable
1278
+ */
1279
+ endDate?: string | null;
1280
+ /** Integration user id for Akoya requests. */
1281
+ userId: string;
1282
+ [key: string]: unknown;
1283
+ };
1284
+ export type AkoyaGetTransactions200AccountsItem = {
1285
+ [key: string]: unknown | null;
1286
+ };
1287
+ export type AkoyaGetTransactions200 = {
1288
+ accounts?: AkoyaGetTransactions200AccountsItem[];
1289
+ [key: string]: unknown;
1290
+ };
1291
+ export type AkoyaGetStatementsBody = {
1292
+ /**
1293
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1294
+ * @minLength 1
1295
+ * @nullable
1296
+ */
1297
+ providerId?: string | null;
1298
+ /**
1299
+ * A real Akoya account id, obtained from Fetch Account Info. Required to reach Akoya’s application logic.
1300
+ * @minLength 1
1301
+ * @nullable
1302
+ */
1303
+ accountId?: string | null;
1304
+ /** Integration user id for Akoya requests. */
1305
+ userId: string;
1306
+ [key: string]: unknown;
1307
+ };
1308
+ export type AkoyaGetStatements200AccountsItem = {
1309
+ [key: string]: unknown | null;
1310
+ };
1311
+ export type AkoyaGetStatements200 = {
1312
+ accounts?: AkoyaGetStatements200AccountsItem[];
1313
+ [key: string]: unknown;
1314
+ };
1315
+ export type AkoyaGetInvestmentsBody = {
1316
+ /**
1317
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1318
+ * @minLength 1
1319
+ * @nullable
1320
+ */
1321
+ providerId?: string | null;
1322
+ /** Integration user id for Akoya requests. */
1323
+ userId: string;
1324
+ [key: string]: unknown;
1325
+ };
1326
+ export type AkoyaGetInvestments200AccountsItem = {
1327
+ [key: string]: unknown | null;
1328
+ };
1329
+ export type AkoyaGetInvestments200 = {
1330
+ accounts?: AkoyaGetInvestments200AccountsItem[];
1331
+ [key: string]: unknown;
1332
+ };
1333
+ export type AkoyaGetIdentityBody = {
1334
+ /**
1335
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1336
+ * @minLength 1
1337
+ * @nullable
1338
+ */
1339
+ providerId?: string | null;
1340
+ /** Integration user id for Akoya requests. */
1341
+ userId: string;
1342
+ [key: string]: unknown;
1343
+ };
1344
+ export type AkoyaGetIdentity200CustomersItem = {
1345
+ [key: string]: unknown | null;
1346
+ };
1347
+ export type AkoyaGetIdentity200 = {
1348
+ customers?: AkoyaGetIdentity200CustomersItem[];
1349
+ [key: string]: unknown;
1350
+ };
1351
+ export type AkoyaGetTaxDocumentsBody = {
1352
+ /**
1353
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1354
+ * @minLength 1
1355
+ * @nullable
1356
+ */
1357
+ providerId?: string | null;
1358
+ /**
1359
+ * A real Akoya account id, obtained from Fetch Account Info. Required to reach Akoya’s application logic.
1360
+ * @minLength 1
1361
+ * @nullable
1362
+ */
1363
+ accountId?: string | null;
1364
+ /** Integration user id for Akoya requests. */
1365
+ userId: string;
1366
+ [key: string]: unknown;
1367
+ };
1368
+ export type AkoyaGetTaxDocuments200AccountsItem = {
1369
+ [key: string]: unknown | null;
1370
+ };
1371
+ export type AkoyaGetTaxDocuments200 = {
1372
+ accounts?: AkoyaGetTaxDocuments200AccountsItem[];
1373
+ [key: string]: unknown;
1374
+ };
1375
+ /**
1376
+ * Which stored token to revoke at Akoya. Defaults to the refresh token (full de-authorization).
1377
+ * @nullable
1378
+ */
1379
+ export type AkoyaRevokeConsentBodyTokenTypeHint = typeof AkoyaRevokeConsentBodyTokenTypeHint[keyof typeof AkoyaRevokeConsentBodyTokenTypeHint] | null;
1380
+ export declare const AkoyaRevokeConsentBodyTokenTypeHint: {
1381
+ readonly access_token: "access_token";
1382
+ readonly refresh_token: "refresh_token";
1383
+ };
1384
+ export type AkoyaRevokeConsentBody = {
1385
+ /**
1386
+ * Which stored token to revoke at Akoya. Defaults to the refresh token (full de-authorization).
1387
+ * @nullable
1388
+ */
1389
+ tokenTypeHint?: AkoyaRevokeConsentBodyTokenTypeHint;
1390
+ /** Integration user id for Akoya requests. */
1391
+ userId: string;
1392
+ [key: string]: unknown;
1393
+ };
1394
+ export type AkoyaRevokeConsent200 = {
1395
+ success: boolean;
1396
+ userId: string;
1397
+ };
1204
1398
  export type AlloyCreatePersonEntityBody = {
1205
1399
  userId?: string;
1206
1400
  [key: string]: unknown;
@@ -26194,6 +26388,16 @@ export declare const getIntegrationsAPI: () => {
26194
26388
  airtableUploadAttachment: (airtableUploadAttachmentBody?: AirtableUploadAttachmentBody) => Promise<AirtableUploadAttachment200>;
26195
26389
  airtableCreateWebhook: (airtableCreateWebhookBody?: AirtableCreateWebhookBody) => Promise<AirtableCreateWebhook200>;
26196
26390
  airtableListWebhookPayloads: (airtableListWebhookPayloadsBody?: AirtableListWebhookPayloadsBody) => Promise<AirtableListWebhookPayloads200>;
26391
+ akoyaOauthInitiate: (akoyaOauthInitiateBody?: AkoyaOauthInitiateBody) => Promise<AkoyaOauthInitiate200>;
26392
+ akoyaOauthCallback: (params?: AkoyaOauthCallbackParams) => Promise<AkoyaOauthCallback200>;
26393
+ akoyaGetAccountInfo: (akoyaGetAccountInfoBody?: AkoyaGetAccountInfoBody) => Promise<AkoyaGetAccountInfo200>;
26394
+ akoyaGetBalances: (akoyaGetBalancesBody?: AkoyaGetBalancesBody) => Promise<AkoyaGetBalances200>;
26395
+ akoyaGetTransactions: (akoyaGetTransactionsBody?: AkoyaGetTransactionsBody) => Promise<AkoyaGetTransactions200>;
26396
+ akoyaGetStatements: (akoyaGetStatementsBody?: AkoyaGetStatementsBody) => Promise<AkoyaGetStatements200>;
26397
+ akoyaGetInvestments: (akoyaGetInvestmentsBody?: AkoyaGetInvestmentsBody) => Promise<AkoyaGetInvestments200>;
26398
+ akoyaGetIdentity: (akoyaGetIdentityBody?: AkoyaGetIdentityBody) => Promise<AkoyaGetIdentity200>;
26399
+ akoyaGetTaxDocuments: (akoyaGetTaxDocumentsBody?: AkoyaGetTaxDocumentsBody) => Promise<AkoyaGetTaxDocuments200>;
26400
+ akoyaRevokeConsent: (akoyaRevokeConsentBody?: AkoyaRevokeConsentBody) => Promise<AkoyaRevokeConsent200>;
26197
26401
  alloyCreatePersonEntity: (alloyCreatePersonEntityBody?: AlloyCreatePersonEntityBody) => Promise<AlloyCreatePersonEntity200>;
26198
26402
  alloyGetPersonEntity: (alloyGetPersonEntityBody?: AlloyGetPersonEntityBody) => Promise<AlloyGetPersonEntity200>;
26199
26403
  alloyCreateBusinessEntity: (alloyCreateBusinessEntityBody?: AlloyCreateBusinessEntityBody) => Promise<AlloyCreateBusinessEntity200>;
@@ -27501,6 +27705,16 @@ export type AirtableGetBaseSchemaResult = NonNullable<Awaited<ReturnType<ReturnT
27501
27705
  export type AirtableUploadAttachmentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['airtableUploadAttachment']>>>;
27502
27706
  export type AirtableCreateWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['airtableCreateWebhook']>>>;
27503
27707
  export type AirtableListWebhookPayloadsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['airtableListWebhookPayloads']>>>;
27708
+ export type AkoyaOauthInitiateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaOauthInitiate']>>>;
27709
+ export type AkoyaOauthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaOauthCallback']>>>;
27710
+ export type AkoyaGetAccountInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetAccountInfo']>>>;
27711
+ export type AkoyaGetBalancesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetBalances']>>>;
27712
+ export type AkoyaGetTransactionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetTransactions']>>>;
27713
+ export type AkoyaGetStatementsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetStatements']>>>;
27714
+ export type AkoyaGetInvestmentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetInvestments']>>>;
27715
+ export type AkoyaGetIdentityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetIdentity']>>>;
27716
+ export type AkoyaGetTaxDocumentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetTaxDocuments']>>>;
27717
+ export type AkoyaRevokeConsentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaRevokeConsent']>>>;
27504
27718
  export type AlloyCreatePersonEntityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['alloyCreatePersonEntity']>>>;
27505
27719
  export type AlloyGetPersonEntityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['alloyGetPersonEntity']>>>;
27506
27720
  export type AlloyCreateBusinessEntityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['alloyCreateBusinessEntity']>>>;