@alvera-ai/platform-sdk 0.19.2 → 0.20.0-next.gaafd87a

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/dist/index.d.mts CHANGED
@@ -229,25 +229,6 @@ type ContextDatasetResponse = {
229
229
  */
230
230
  readonly workflow_id?: string;
231
231
  };
232
- /**
233
- * ConnectedAppApiKeyResponse
234
- *
235
- * A connected app's publishable (public_api) API key, revealed for a platform admin.
236
- */
237
- type ConnectedAppApiKeyResponse = {
238
- /**
239
- * Plaintext publishable (public_api) key — embed in a connected app to call its allowlist routes.
240
- */
241
- api_key: string;
242
- /**
243
- * ID of the connected app whose key was revealed.
244
- */
245
- connected_app_id: string;
246
- /**
247
- * Last 4 characters of the key, matching the value shown in the API-keys UI.
248
- */
249
- last_four: string;
250
- };
251
232
  /**
252
233
  * DataActivationClientListResponse
253
234
  *
@@ -567,9 +548,9 @@ type DataActivationClientLogResponse = {
567
548
  */
568
549
  rows_ingested?: number;
569
550
  /**
570
- * `failed` when the batch died before enqueueing any row — the fetch itself errored, and `rows_ingested` and `input_files` are 0/[] on such a row. `partial` when the batch ran and at least one row was refused on the way in; the rows that landed are still there. Read `error` for the reason in both cases.
551
+ * `processing` from the moment the slice is enqueued until the batch finishes — the column has no default, so this is written, not assumed. `succeeded` is written once by the batch callback, and only over `processing`. `failed` when the batch died before enqueueing any row — the fetch or the enqueue itself errored, and `rows_ingested` and `input_files` are 0/[] on such a row. `partial` when the batch ran and at least one row was refused on the way in; the rows that landed are still there. Read `error` for the reason in the last two.
571
552
  */
572
- status?: 'succeeded' | 'partial' | 'failed';
553
+ status?: 'processing' | 'succeeded' | 'partial' | 'failed';
573
554
  readonly updated_at?: string;
574
555
  };
575
556
  /**
@@ -583,6 +564,83 @@ type S3CallResponse = {
583
564
  */
584
565
  file_path: string;
585
566
  };
567
+ /**
568
+ * MessageResponse
569
+ *
570
+ * A message the platform sent, as an authenticated link's calls return it
571
+ */
572
+ type MessageResponse = {
573
+ /**
574
+ * The message as sent, links rewritten to the link prefix
575
+ */
576
+ readonly body?: string | null;
577
+ /**
578
+ * How the message was sent
579
+ */
580
+ readonly channel: 'sms' | 'mms' | 'email' | 'voice' | 'web_form' | 'push' | 'data_exchange';
581
+ /**
582
+ * When a person first clicked a link in the message, or Mailgun's click event
583
+ */
584
+ readonly clicked_at?: string | null;
585
+ /**
586
+ * When the provider reported delivery
587
+ */
588
+ readonly delivered_at?: string | null;
589
+ /**
590
+ * The provider's id for the message
591
+ */
592
+ readonly external_id?: string | null;
593
+ /**
594
+ * Why the provider failed the message
595
+ */
596
+ readonly failure_reason?: string | null;
597
+ /**
598
+ * When the link prefix host reported the form submitted
599
+ */
600
+ readonly form_submitted_at?: string | null;
601
+ /**
602
+ * The message's id in its raw lake
603
+ */
604
+ readonly id: string;
605
+ /**
606
+ * The recipient's `to` merged with what the action's metadata template rendered
607
+ */
608
+ readonly metadata?: {
609
+ [key: string]: unknown;
610
+ } | null;
611
+ /**
612
+ * When the link prefix host reported its landing page opened
613
+ */
614
+ readonly opened_at?: string | null;
615
+ /**
616
+ * When the provider queued the message
617
+ */
618
+ readonly queued_at?: string | null;
619
+ /**
620
+ * When the message was read; for email, Mailgun's opened event
621
+ */
622
+ readonly read_at?: string | null;
623
+ /**
624
+ * When the platform sent the message
625
+ */
626
+ readonly sent_at?: string | null;
627
+ /**
628
+ * The carrier the provider reported for an SMS
629
+ */
630
+ readonly sms_carrier?: string | null;
631
+ /**
632
+ * Delivery or engagement status; only ever moves forward
633
+ */
634
+ readonly status: 'pending' | 'accepted' | 'queued' | 'sending' | 'sent' | 'delivered' | 'read' | 'opened' | 'clicked' | 'form_submitted' | 'failed' | 'invalidated' | 'duplicate' | 'customer_rejected' | 'dry_run' | 'received';
635
+ /**
636
+ * The provider's or the host's detail for the status
637
+ */
638
+ readonly status_description?: string | null;
639
+ /**
640
+ * The email subject; empty for other channels
641
+ */
642
+ readonly subject?: string | null;
643
+ };
586
644
  /**
587
645
  * ActionStatusUpdaterResponse
588
646
  *
@@ -921,110 +979,6 @@ type ChecksumResponse = {
921
979
  */
922
980
  checksum: string;
923
981
  };
924
- /**
925
- * ResolvePageResponse
926
- *
927
- * Resolved page token details for the connected app to render
928
- */
929
- type ResolvePageResponse = {
930
- /**
931
- * Arbitrary context data rendered from workflow action template
932
- */
933
- additional_context?: {
934
- [key: string]: unknown;
935
- } | null;
936
- /**
937
- * When this page token expires
938
- */
939
- expires_at: string;
940
- /**
941
- * Legal entity id associated with this page token
942
- */
943
- legal_entity_id: string;
944
- /**
945
- * Raw message from the workflow action that generated this page token (raw body/subject)
946
- */
947
- message?: {
948
- /**
949
- * Raw message body text (SMS content or email body)
950
- */
951
- body?: string | null;
952
- /**
953
- * Message channel
954
- */
955
- channel: 'sms' | 'mms' | 'email' | 'voice' | 'web_form' | 'push';
956
- /**
957
- * When delivery was confirmed
958
- */
959
- delivered_at?: string | null;
960
- /**
961
- * External system reference (Twilio SID, SES ID)
962
- */
963
- external_id?: string | null;
964
- /**
965
- * Reason for delivery failure
966
- */
967
- failure_reason?: string | null;
968
- /**
969
- * When the linked form was submitted
970
- */
971
- form_submitted_at?: string | null;
972
- /**
973
- * Raw message UUID
974
- */
975
- id: string;
976
- /**
977
- * Message metadata (e.g. recipient phone/email)
978
- */
979
- metadata?: {
980
- [key: string]: unknown;
981
- } | null;
982
- /**
983
- * When the message was opened by the recipient
984
- */
985
- opened_at?: string | null;
986
- /**
987
- * When the message was queued for delivery
988
- */
989
- queued_at?: string | null;
990
- /**
991
- * When the message was read by the recipient
992
- */
993
- read_at?: string | null;
994
- /**
995
- * When the message was sent
996
- */
997
- sent_at?: string | null;
998
- /**
999
- * SMS carrier of the recipient
1000
- */
1001
- sms_carrier?: string | null;
1002
- /**
1003
- * Delivery status
1004
- */
1005
- status: 'pending' | 'accepted' | 'queued' | 'sending' | 'sent' | 'delivered' | 'read' | 'opened' | 'clicked' | 'form_submitted' | 'failed' | 'invalidated' | 'duplicate' | 'customer_rejected' | 'dry_run' | 'received';
1006
- /**
1007
- * Human-readable detail behind the current status, rendered from the delivery provider's event (e.g. the mailgun event name, or a bounce reason on failure)
1008
- */
1009
- status_description?: string | null;
1010
- /**
1011
- * Raw email subject line (null for SMS)
1012
- */
1013
- subject?: string | null;
1014
- } | null;
1015
- /**
1016
- * Route path within the connected app (e.g. /forms/onboarding)
1017
- */
1018
- route_path: string;
1019
- /**
1020
- * Puid token that was resolved
1021
- */
1022
- url_hash: string;
1023
- /**
1024
- * Original client User-Agent from the request
1025
- */
1026
- user_agent?: string | null;
1027
- };
1028
982
  /**
1029
983
  * ActionType
1030
984
  *
@@ -1188,18 +1142,6 @@ type ActionResponse = {
1188
1142
  * Hour (0–23) when the action's execution window opens (failsafe, typically SMS)
1189
1143
  */
1190
1144
  action_window_start?: number | null;
1191
- /**
1192
- * Optional connected app — when set, the executor mints a per-recipient connected_app_form_url template variable; connected_app_route is required
1193
- */
1194
- connected_app_id?: string | null;
1195
- /**
1196
- * Liquid template rendered to JSON at execution time and stored in the connected-app page token (optional)
1197
- */
1198
- connected_app_metadata_template?: string | null;
1199
- /**
1200
- * Route path within the connected app — required when connected_app_id is set
1201
- */
1202
- connected_app_route?: string | null;
1203
1145
  /**
1204
1146
  * Unique decision_key within the workflow — maps to a decision-table outcome
1205
1147
  */
@@ -1213,6 +1155,10 @@ type ActionResponse = {
1213
1155
  */
1214
1156
  idempotency_template: string;
1215
1157
  readonly inserted_at?: string;
1158
+ /**
1159
+ * Liquid template rendered to JSON once per send, on every action type. Stored on the message the send writes, and returned by the authenticated-link exchange as metadata (optional). A template that does not render fails the send.
1160
+ */
1161
+ metadata_template?: string | null;
1216
1162
  /**
1217
1163
  * Display order within the workflow
1218
1164
  */
@@ -1388,29 +1334,6 @@ type ExecuteSqlMeta = {
1388
1334
  */
1389
1335
  total_pages: number | null;
1390
1336
  };
1391
- /**
1392
- * UpdatePageRequest
1393
- *
1394
- * Request body for updating message tracking fields on a resolved page
1395
- */
1396
- type UpdatePageRequest = {
1397
- /**
1398
- * When the linked form was submitted
1399
- */
1400
- form_submitted_at?: string | null;
1401
- /**
1402
- * When the page was opened by the recipient
1403
- */
1404
- opened_at?: string | null;
1405
- /**
1406
- * Puid token extracted from the short URL
1407
- */
1408
- short_path: string;
1409
- /**
1410
- * Engagement status reported by the connected app — typically "opened", "clicked", or "form_submitted". Applied through the monotonic status guard, so it only ever advances the message and never regresses it.
1411
- */
1412
- status?: string | null;
1413
- };
1414
1337
  /**
1415
1338
  * InvitationResponse
1416
1339
  *
@@ -1493,44 +1416,23 @@ type DownloadUrlResponse = {
1493
1416
  /**
1494
1417
  * SMSCallResponse
1495
1418
  *
1496
- * SMS tool-call config — Liquid-templated recipient and body plus transactional/promotional category.
1419
+ * SMS tool-call config — Liquid-templated recipient and body, transactional/promotional category, and the prefix its links go out on.
1497
1420
  */
1498
1421
  type SmsCallResponse = {
1499
1422
  body: SimpleTemplateConfigResponse;
1500
1423
  /**
1501
- * SMS category — transactional vs promotional
1502
- */
1503
- sms_type?: 'transactional' | 'promotional';
1504
- to: SimpleTemplateConfigResponse;
1505
- };
1506
- /**
1507
- * ResolvePageRequest
1508
- *
1509
- * Request body for resolving a connected app page from a short URL token
1510
- */
1511
- type ResolvePageRequest = {
1512
- /**
1513
- * Client country code (CF-IPCountry)
1514
- */
1515
- country?: string;
1516
- /**
1517
- * Original client IP (CF-Connecting-IP)
1518
- */
1519
- ip?: string;
1520
- /**
1521
- * Additional Cloudflare metadata (CF-Ray, etc.)
1424
+ * Address of the host that serves this action's links. Every URL in the body goes out as <link_prefix>/<token>. An absolute http or https URL, path allowed, with no query, fragment or trailing slash.
1522
1425
  */
1523
- metadata?: {
1524
- [key: string]: unknown;
1525
- };
1426
+ link_prefix: string;
1526
1427
  /**
1527
- * Puid token extracted from the short URL
1428
+ * How many days each link resolves after the send
1528
1429
  */
1529
- short_path: string;
1430
+ link_validity_days?: number;
1530
1431
  /**
1531
- * Original client User-Agent forwarded by Cloudflare
1432
+ * SMS category — transactional vs promotional
1532
1433
  */
1533
- user_agent?: string;
1434
+ sms_type?: 'transactional' | 'promotional';
1435
+ to: SimpleTemplateConfigResponse;
1534
1436
  };
1535
1437
  /**
1536
1438
  * AWSLambdaCallResponse
@@ -1761,25 +1663,21 @@ type SystemTemplateListResponse = {
1761
1663
  type DataActivationClientS3CallResponse = S3CallResponse & {
1762
1664
  tool_call_type: 's3_request';
1763
1665
  };
1764
- /**
1765
- * ConnectedAppListResponse
1766
- *
1767
- * Paginated list of connected apps
1768
- */
1769
- type ConnectedAppListResponse = {
1770
- /**
1771
- * List of connected apps
1772
- */
1773
- data: Array<ConnectedAppResponse>;
1774
- meta: PaginationMeta;
1775
- };
1776
1666
  /**
1777
1667
  * EmailCallResponse
1778
1668
  *
1779
- * Email tool-call config — Liquid-templated recipient, subject, and body.
1669
+ * Email tool-call config — Liquid-templated recipient, subject, and body, and the prefix its links go out on.
1780
1670
  */
1781
1671
  type EmailCallResponse = {
1782
1672
  body: SimpleTemplateConfigResponse;
1673
+ /**
1674
+ * Address of the host that serves this action's links. Every href in the body goes out as <link_prefix>/<token>. An absolute http or https URL, path allowed, with no query, fragment or trailing slash.
1675
+ */
1676
+ link_prefix: string;
1677
+ /**
1678
+ * How many days each link resolves after the send
1679
+ */
1680
+ link_validity_days?: number;
1783
1681
  subject: SimpleTemplateConfigResponse;
1784
1682
  to: SimpleTemplateConfigResponse;
1785
1683
  };
@@ -1888,12 +1786,20 @@ type GenericTableListResponse = {
1888
1786
  /**
1889
1787
  * MMSCallResponse
1890
1788
  *
1891
- * MMS tool-call config — Liquid-templated recipient and body, plain public media URL.
1789
+ * MMS tool-call config — Liquid-templated recipient and body, plain public media URL, and the prefix its links go out on.
1892
1790
  */
1893
1791
  type MmsCallResponse = {
1894
1792
  body: SimpleTemplateConfigResponse;
1895
1793
  /**
1896
- * Public http(s) URL of the media to attach — fetched and re-staged into the tool's S3 media bucket
1794
+ * Address of the host that serves this action's links. Every URL in the body goes out as <link_prefix>/<token>. An absolute http or https URL, path allowed, with no query, fragment or trailing slash.
1795
+ */
1796
+ link_prefix: string;
1797
+ /**
1798
+ * How many days each link resolves after the send
1799
+ */
1800
+ link_validity_days?: number;
1801
+ /**
1802
+ * Public http(s) URL of the media to attach — re-staged into the tool's S3 media bucket (End User Messaging) or fetched by Twilio directly
1897
1803
  */
1898
1804
  media_url: string;
1899
1805
  to: SimpleTemplateConfigResponse;
@@ -1910,34 +1816,6 @@ type ManualToolInvocationEmailCallResponse = EmailCallResponse & {
1910
1816
  type ToolSharePointResponse = SharePointResponse & {
1911
1817
  tool_body_type: 'sharepoint';
1912
1818
  };
1913
- /**
1914
- * UpdatePageResponse
1915
- *
1916
- * Confirmation of message tracking update
1917
- */
1918
- type UpdatePageResponse = {
1919
- /**
1920
- * Updated message details
1921
- */
1922
- message: {
1923
- /**
1924
- * When the linked form was submitted
1925
- */
1926
- form_submitted_at?: string | null;
1927
- /**
1928
- * Raw message UUID
1929
- */
1930
- id: string;
1931
- /**
1932
- * When the page was opened by the recipient
1933
- */
1934
- opened_at?: string | null;
1935
- /**
1936
- * Message status after applying the update through the monotonic guard
1937
- */
1938
- status?: 'pending' | 'accepted' | 'queued' | 'sending' | 'sent' | 'delivered' | 'read' | 'opened' | 'clicked' | 'form_submitted' | 'failed' | 'invalidated' | 'duplicate' | 'customer_rejected' | 'dry_run' | 'received';
1939
- };
1940
- };
1941
1819
  /**
1942
1820
  * SharePointExcelCallRequest
1943
1821
  *
@@ -2150,6 +2028,42 @@ type AiAgentInvokeRequest = {
2150
2028
  [key: string]: unknown;
2151
2029
  };
2152
2030
  };
2031
+ /**
2032
+ * DataActivationClientBatchResponse
2033
+ *
2034
+ * One record per run. A run fans out into one `DataActivationClientLog` per dataset table it writes into; this is the run itself. To wait on a run, read `closed_at` here rather than reconstructing it from those logs — it is set exactly once, however the run ended.
2035
+ */
2036
+ type DataActivationClientBatchResponse = {
2037
+ /**
2038
+ * Run identifier, stamped on every Oban job and every per-table log row of this run
2039
+ */
2040
+ batch_id: string;
2041
+ /**
2042
+ * Owning Data Activation Client ID
2043
+ */
2044
+ readonly client_id: string;
2045
+ /**
2046
+ * When the run was attempted and exhausted. Null while it is still going. It does not mean rows landed and it does not mean the archive was merged — read `status` for the outcome, and only once this is set.
2047
+ */
2048
+ readonly closed_at?: string | null;
2049
+ /**
2050
+ * Run record ID
2051
+ */
2052
+ readonly id?: string;
2053
+ /**
2054
+ * When the run started
2055
+ */
2056
+ readonly inserted_at?: string;
2057
+ /**
2058
+ * Source rows enqueued for this run. The run's own count; each per-table log keeps its own.
2059
+ */
2060
+ rows_total?: number;
2061
+ /**
2062
+ * How the run ended. **It means nothing until `closed_at` is set** — a run still in flight always reads `processing`. `failed` when the run died before writing anything; `partial` when it ran and at least one row was refused on the way in; `skipped` when it ran and there was nothing to do, because the file was empty, every row was filtered out, or the client has no contracts.
2063
+ */
2064
+ status?: 'processing' | 'succeeded' | 'partial' | 'skipped' | 'failed';
2065
+ readonly updated_at?: string;
2066
+ };
2153
2067
  /**
2154
2068
  * AdvancedMigrationResponse
2155
2069
  *
@@ -2430,6 +2344,29 @@ type EndUserMessagingResponse = {
2430
2344
  type ToolS3Response = S3Response & {
2431
2345
  tool_body_type: 's3';
2432
2346
  };
2347
+ /**
2348
+ * AuthenticatedLinkUpdateMessageTrackingRequest
2349
+ *
2350
+ * What the host serving the link prefix reports about a link's message: a status and the time it happened, as develop's update-message-tracking took them. Only the token is required
2351
+ */
2352
+ type AuthenticatedLinkUpdateMessageTrackingRequest = {
2353
+ /**
2354
+ * When the recipient submitted the form. Left empty, the message keeps its value
2355
+ */
2356
+ form_submitted_at?: string | null;
2357
+ /**
2358
+ * When the host's landing page opened. Left empty, the message keeps its value
2359
+ */
2360
+ opened_at?: string | null;
2361
+ /**
2362
+ * Engagement status the host reports, typically "opened" or "form_submitted". Applied through the message's order guard, so it only ever moves the message forward
2363
+ */
2364
+ status?: string | null;
2365
+ /**
2366
+ * The token from the link's path, `<link_prefix>/<token>`
2367
+ */
2368
+ token: string;
2369
+ };
2433
2370
  /**
2434
2371
  * DataActivationClientSFTPCallResponse
2435
2372
  */
@@ -3445,6 +3382,18 @@ type SqsResponse = {
3445
3382
  */
3446
3383
  region: string;
3447
3384
  };
3385
+ /**
3386
+ * DataActivationClientBatchListResponse
3387
+ *
3388
+ * Paginated list of data activation client runs
3389
+ */
3390
+ type DataActivationClientBatchListResponse = {
3391
+ /**
3392
+ * List of data activation client runs
3393
+ */
3394
+ data: Array<DataActivationClientBatchResponse>;
3395
+ meta: PaginationMeta;
3396
+ };
3448
3397
  /**
3449
3398
  * PaginationMeta
3450
3399
  *
@@ -3663,6 +3612,46 @@ type AiAgentInvokeResponse = {
3663
3612
  total_tokens?: number | null;
3664
3613
  };
3665
3614
  };
3615
+ /**
3616
+ * AuthenticatedLinkResponse
3617
+ *
3618
+ * An authenticated link, with the message it was sent in
3619
+ */
3620
+ type AuthenticatedLinkResponse = {
3621
+ /**
3622
+ * The workflow action that sent the message
3623
+ */
3624
+ readonly action_id: string;
3625
+ /**
3626
+ * The URL as written in the message
3627
+ */
3628
+ readonly destination_url: string;
3629
+ /**
3630
+ * When the link stops resolving
3631
+ */
3632
+ readonly expires_at: string;
3633
+ /**
3634
+ * The recipient's legal entity, when MDM resolved one
3635
+ */
3636
+ readonly legal_entity_id?: string | null;
3637
+ /**
3638
+ * When a person first clicked this link; empty until then
3639
+ */
3640
+ readonly link_clicked_at?: string | null;
3641
+ message: MessageResponse;
3642
+ /**
3643
+ * The message the link was sent in
3644
+ */
3645
+ readonly message_id: string;
3646
+ /**
3647
+ * The workflow run that sent the message
3648
+ */
3649
+ readonly workflow_execution_log_id: string;
3650
+ /**
3651
+ * The workflow that sent the message
3652
+ */
3653
+ readonly workflow_id: string;
3654
+ };
3666
3655
  /**
3667
3656
  * ToolSQSResponse
3668
3657
  */
@@ -3692,29 +3681,6 @@ type ApiKeyResponse = {
3692
3681
  */
3693
3682
  name: string;
3694
3683
  };
3695
- /**
3696
- * SyncRoutesResponse
3697
- *
3698
- * Accepted response for an enqueued route sync job
3699
- */
3700
- type SyncRoutesResponse = {
3701
- /**
3702
- * Connected app whose routes will be synced
3703
- */
3704
- connected_app_id: string;
3705
- /**
3706
- * When the job was enqueued
3707
- */
3708
- enqueued_at: string;
3709
- /**
3710
- * Oban job ID for tracking
3711
- */
3712
- job_id: number;
3713
- /**
3714
- * Job status (always 'enqueued' at creation)
3715
- */
3716
- status: 'enqueued';
3717
- };
3718
3684
  /**
3719
3685
  * DataActivationClientResponse
3720
3686
  *
@@ -3919,7 +3885,7 @@ type ToolCloudWatchLogGroupResponse = CloudWatchLogGroupResponse & {
3919
3885
  /**
3920
3886
  * TwilioRequest
3921
3887
  *
3922
- * Twilio tool configuration for sending SMS via the Programmable Messaging API. A primary holds the account credential; a variant names its primary and carries only its own sender identity. Request
3888
+ * Twilio tool configuration for sending SMS and MMS via the Programmable Messaging API. A primary holds the account credential; a variant names its primary and carries only its own sender identity. Request
3923
3889
  */
3924
3890
  type TwilioRequest = {
3925
3891
  /**
@@ -4010,195 +3976,77 @@ type GenericTableResponse = {
4010
3976
  */
4011
3977
  readonly inserted_at?: string;
4012
3978
  /**
4013
- * Auto-generated table name (from title)
4014
- */
4015
- readonly name?: string;
4016
- /**
4017
- * Table deployment status
4018
- */
4019
- readonly status?: 'new' | 'stale' | 'processing' | 'deployed';
4020
- /**
4021
- * Tenant ID
4022
- */
4023
- readonly tenant_id?: string;
4024
- /**
4025
- * User-friendly table title
4026
- */
4027
- title?: string;
4028
- /**
4029
- * Table type
4030
- */
4031
- readonly type?: 'custom' | 'system';
4032
- /**
4033
- * Last update timestamp
4034
- */
4035
- readonly updated_at?: string;
4036
- };
4037
- /**
4038
- * InteroperabilityContractListResponse
4039
- *
4040
- * Paginated list of interoperability contracts
4041
- */
4042
- type InteroperabilityContractListResponse = {
4043
- /**
4044
- * List of interoperability contracts
4045
- */
4046
- data: Array<InteroperabilityContractResponse>;
4047
- meta: PaginationMeta;
4048
- };
4049
- /**
4050
- * ToolEndUserMessagingResponse
4051
- */
4052
- type ToolEndUserMessagingResponse = EndUserMessagingResponse & {
4053
- tool_body_type: 'end_user_messaging';
4054
- };
4055
- /**
4056
- * TenantRequest
4057
- *
4058
- * Tenant resource. The auto-generated `TenantRequest` shape carries only
4059
- * the writable fields (`name`, `description`); `TenantResponse` returns the
4060
- * full read surface (`id`, `slug`, `name`, `description`).
4061
- * Request
4062
- */
4063
- type TenantRequest = {
4064
- /**
4065
- * Optional free-text description; max 1000 chars.
4066
- */
4067
- description?: string | null;
4068
- /**
4069
- * Human-readable tenant name. Required on create; max 160 chars.
4070
- */
4071
- name: string;
4072
- };
4073
- /**
4074
- * ActionStatusUpdaterListResponse
4075
- *
4076
- * Paginated list of action status updaters
4077
- */
4078
- type ActionStatusUpdaterListResponse = {
4079
- /**
4080
- * List of action status updaters
4081
- */
4082
- data: Array<ActionStatusUpdaterResponse>;
4083
- meta: PaginationMeta;
4084
- };
4085
- /**
4086
- * ConnectedAppResponse
4087
- *
4088
- * External web application connected to the platform via M2M API key
4089
- */
4090
- type ConnectedAppResponse = {
4091
- /**
4092
- * SHA-256 drift fingerprint over authored fields (server-computed)
4093
- */
4094
- readonly checksum?: string;
4095
- /**
4096
- * Cloudflare Pages deployment config (required for managed mode)
4097
- */
4098
- cloudflare_pages_config?: {
4099
- /**
4100
- * Cloudflare account ID
4101
- */
4102
- account_id: string;
4103
- /**
4104
- * Build command
4105
- */
4106
- build_command?: string | null;
4107
- /**
4108
- * Build output directory
4109
- */
4110
- destination_dir?: string | null;
4111
- /**
4112
- * GitHub auth method
4113
- */
4114
- github_auth_method?: 'github_app' | 'pat';
4115
- /**
4116
- * Git branch for production
4117
- */
4118
- production_branch?: string | null;
4119
- /**
4120
- * CF Pages project name
4121
- */
4122
- readonly project_name?: string | null;
4123
- } | null;
4124
- /**
4125
- * Optional description
4126
- */
4127
- description?: string | null;
4128
- /**
4129
- * Error message from last failed operation
4130
- */
4131
- readonly error?: string | null;
4132
- /**
4133
- * Connected App ID
4134
- */
4135
- readonly id?: string;
4136
- /**
4137
- * Creation timestamp
3979
+ * Auto-generated table name (from title)
4138
3980
  */
4139
- readonly inserted_at?: string;
3981
+ readonly name?: string;
4140
3982
  /**
4141
- * Last successful route sync
3983
+ * Table deployment status
4142
3984
  */
4143
- readonly last_synced_at?: string | null;
3985
+ readonly status?: 'new' | 'stale' | 'processing' | 'deployed';
4144
3986
  /**
4145
- * Deployment mode
3987
+ * Tenant ID
4146
3988
  */
4147
- mode: 'managed' | 'self_hosted';
3989
+ readonly tenant_id?: string;
4148
3990
  /**
4149
- * Display name (unique within datalake)
3991
+ * User-friendly table title
4150
3992
  */
4151
- name: string;
3993
+ title?: string;
4152
3994
  /**
4153
- * GitHub repo URL (required for managed mode, optional for self-hosted)
3995
+ * Table type
4154
3996
  */
4155
- repo_url?: string | null;
3997
+ readonly type?: 'custom' | 'system';
4156
3998
  /**
4157
- * Discovered form routes from .well-known/routes.json
3999
+ * Last update timestamp
4158
4000
  */
4159
- readonly routes?: Array<{
4160
- /**
4161
- * Route description
4162
- */
4163
- description?: string | null;
4164
- /**
4165
- * Route display name
4166
- */
4167
- name: string;
4168
- /**
4169
- * Route path within the app
4170
- */
4171
- path: string;
4172
- }>;
4001
+ readonly updated_at?: string;
4002
+ };
4003
+ /**
4004
+ * InteroperabilityContractListResponse
4005
+ *
4006
+ * Paginated list of interoperability contracts
4007
+ */
4008
+ type InteroperabilityContractListResponse = {
4173
4009
  /**
4174
- * URL-friendly slug
4010
+ * List of interoperability contracts
4175
4011
  */
4176
- readonly slug?: string;
4012
+ data: Array<InteroperabilityContractResponse>;
4013
+ meta: PaginationMeta;
4014
+ };
4015
+ /**
4016
+ * ToolEndUserMessagingResponse
4017
+ */
4018
+ type ToolEndUserMessagingResponse = EndUserMessagingResponse & {
4019
+ tool_body_type: 'end_user_messaging';
4020
+ };
4021
+ /**
4022
+ * TenantRequest
4023
+ *
4024
+ * Tenant resource. The auto-generated `TenantRequest` shape carries only
4025
+ * the writable fields (`name`, `description`); `TenantResponse` returns the
4026
+ * full read surface (`id`, `slug`, `name`, `description`).
4027
+ * Request
4028
+ */
4029
+ type TenantRequest = {
4177
4030
  /**
4178
- * Current deployment/sync status
4031
+ * Optional free-text description; max 1000 chars.
4179
4032
  */
4180
- readonly status?: 'pending' | 'deploying' | 'deployed' | 'synced' | 'error';
4033
+ description?: string | null;
4181
4034
  /**
4182
- * Last update timestamp
4035
+ * Human-readable tenant name. Required on create; max 160 chars.
4183
4036
  */
4184
- readonly updated_at?: string;
4037
+ name: string;
4038
+ };
4039
+ /**
4040
+ * ActionStatusUpdaterListResponse
4041
+ *
4042
+ * Paginated list of action status updaters
4043
+ */
4044
+ type ActionStatusUpdaterListResponse = {
4185
4045
  /**
4186
- * App URLs with primary designation (at least one required for self_hosted)
4046
+ * List of action status updaters
4187
4047
  */
4188
- urls?: Array<{
4189
- /**
4190
- * Whether this is the primary URL
4191
- */
4192
- is_primary?: boolean;
4193
- /**
4194
- * Display label
4195
- */
4196
- label?: string | null;
4197
- /**
4198
- * App URL (http/https)
4199
- */
4200
- url: string;
4201
- }>;
4048
+ data: Array<ActionStatusUpdaterResponse>;
4049
+ meta: PaginationMeta;
4202
4050
  };
4203
4051
  /**
4204
4052
  * TextToSqlResponse
@@ -4583,10 +4431,43 @@ type DataSourceResponse = {
4583
4431
  */
4584
4432
  uri: string;
4585
4433
  };
4434
+ /**
4435
+ * AuthenticatedLinkExchangeRequest
4436
+ *
4437
+ * A tap on an authenticated link, as the host serving the link prefix forwards it: the token from `<link_prefix>/<token>` and what the tap's request said about itself. Only the token is required
4438
+ */
4439
+ type AuthenticatedLinkExchangeRequest = {
4440
+ /**
4441
+ * The country the tap came from
4442
+ */
4443
+ country?: string | null;
4444
+ /**
4445
+ * The tap's request headers. A prefetch header (sec-purpose, purpose, x-purpose, x-moz) does not mark the message clicked. The tap is recorded with the client headers; never cookies or credentials
4446
+ */
4447
+ headers?: {
4448
+ [key: string]: string;
4449
+ } | null;
4450
+ /**
4451
+ * The address the tap came from
4452
+ */
4453
+ ip?: string | null;
4454
+ /**
4455
+ * The tap's HTTP method. A `HEAD` request looks automated and does not mark the message clicked
4456
+ */
4457
+ method?: string | null;
4458
+ /**
4459
+ * The token from the link's path, `<link_prefix>/<token>`
4460
+ */
4461
+ token: string;
4462
+ /**
4463
+ * The tap's User-Agent header. An empty one, or one naming a bot, link preview or mail scanner, does not mark the message clicked
4464
+ */
4465
+ user_agent?: string | null;
4466
+ };
4586
4467
  /**
4587
4468
  * TwilioResponse
4588
4469
  *
4589
- * Twilio tool configuration for sending SMS via the Programmable Messaging API. A primary holds the account credential; a variant names its primary and carries only its own sender identity.
4470
+ * Twilio tool configuration for sending SMS and MMS via the Programmable Messaging API. A primary holds the account credential; a variant names its primary and carries only its own sender identity.
4590
4471
  */
4591
4472
  type TwilioResponse = {
4592
4473
  /**
@@ -4744,10 +4625,18 @@ type ToolRestapiRequestWritable = RestapiRequestWritable & {
4744
4625
  /**
4745
4626
  * EmailCallRequest
4746
4627
  *
4747
- * Email tool-call config — Liquid-templated recipient, subject, and body. Request
4628
+ * Email tool-call config — Liquid-templated recipient, subject, and body, and the prefix its links go out on. Request
4748
4629
  */
4749
4630
  type EmailCallRequestWritable = {
4750
4631
  body: SimpleTemplateConfigRequest;
4632
+ /**
4633
+ * Address of the host that serves this action's links. Every href in the body goes out as <link_prefix>/<token>. An absolute http or https URL, path allowed, with no query, fragment or trailing slash.
4634
+ */
4635
+ link_prefix: string;
4636
+ /**
4637
+ * How many days each link resolves after the send
4638
+ */
4639
+ link_validity_days?: number;
4751
4640
  subject: SimpleTemplateConfigRequest;
4752
4641
  to: SimpleTemplateConfigRequest;
4753
4642
  };
@@ -4849,12 +4738,20 @@ type InteroperabilityContractAiAgentRequestWritable = {
4849
4738
  /**
4850
4739
  * MMSCallRequest
4851
4740
  *
4852
- * MMS tool-call config — Liquid-templated recipient and body, plain public media URL. Request
4741
+ * MMS tool-call config — Liquid-templated recipient and body, plain public media URL, and the prefix its links go out on. Request
4853
4742
  */
4854
4743
  type MmsCallRequestWritable = {
4855
4744
  body: SimpleTemplateConfigRequest;
4856
4745
  /**
4857
- * Public http(s) URL of the media to attach — fetched and re-staged into the tool's S3 media bucket
4746
+ * Address of the host that serves this action's links. Every URL in the body goes out as <link_prefix>/<token>. An absolute http or https URL, path allowed, with no query, fragment or trailing slash.
4747
+ */
4748
+ link_prefix: string;
4749
+ /**
4750
+ * How many days each link resolves after the send
4751
+ */
4752
+ link_validity_days?: number;
4753
+ /**
4754
+ * Public http(s) URL of the media to attach — re-staged into the tool's S3 media bucket (End User Messaging) or fetched by Twilio directly
4858
4755
  */
4859
4756
  media_url: string;
4860
4757
  to: SimpleTemplateConfigRequest;
@@ -5034,18 +4931,6 @@ type ActionRequestWritable = {
5034
4931
  * Hour (0–23) when the action's execution window opens (failsafe, typically SMS)
5035
4932
  */
5036
4933
  action_window_start?: number | null;
5037
- /**
5038
- * Optional connected app — when set, the executor mints a per-recipient connected_app_form_url template variable; connected_app_route is required
5039
- */
5040
- connected_app_id?: string | null;
5041
- /**
5042
- * Liquid template rendered to JSON at execution time and stored in the connected-app page token (optional)
5043
- */
5044
- connected_app_metadata_template?: string | null;
5045
- /**
5046
- * Route path within the connected app — required when connected_app_id is set
5047
- */
5048
- connected_app_route?: string | null;
5049
4934
  /**
5050
4935
  * Unique decision_key within the workflow — maps to a decision-table outcome
5051
4936
  */
@@ -5058,6 +4943,10 @@ type ActionRequestWritable = {
5058
4943
  * Liquid template producing the idempotency key; receives checksum, legal_entity_id, legal_entity_id, workflow_id, action_id, decision_key
5059
4944
  */
5060
4945
  idempotency_template: string;
4946
+ /**
4947
+ * Liquid template rendered to JSON once per send, on every action type. Stored on the message the send writes, and returned by the authenticated-link exchange as metadata (optional). A template that does not render fails the send.
4948
+ */
4949
+ metadata_template?: string | null;
5061
4950
  /**
5062
4951
  * Display order within the workflow
5063
4952
  */
@@ -6001,7 +5890,7 @@ type ActionAwsLambdaCallRequestWritable = AwsLambdaCallRequestWritable & {
6001
5890
  /**
6002
5891
  * TwilioRequest
6003
5892
  *
6004
- * Twilio tool configuration for sending SMS via the Programmable Messaging API. A primary holds the account credential; a variant names its primary and carries only its own sender identity. Request
5893
+ * Twilio tool configuration for sending SMS and MMS via the Programmable Messaging API. A primary holds the account credential; a variant names its primary and carries only its own sender identity. Request
6005
5894
  */
6006
5895
  type TwilioRequestWritable = {
6007
5896
  /**
@@ -6218,79 +6107,6 @@ type ActionStatusUpdaterRequestWritable = {
6218
6107
  */
6219
6108
  updater_type: 'cloud_watch' | 'restapi';
6220
6109
  };
6221
- /**
6222
- * ConnectedAppRequest
6223
- *
6224
- * External web application connected to the platform via M2M API key Request
6225
- */
6226
- type ConnectedAppRequestWritable = {
6227
- /**
6228
- * Cloudflare Pages deployment config (required for managed mode)
6229
- */
6230
- cloudflare_pages_config?: {
6231
- /**
6232
- * Cloudflare account ID
6233
- */
6234
- account_id: string;
6235
- /**
6236
- * Cloudflare API token
6237
- */
6238
- api_token?: string;
6239
- /**
6240
- * Build command
6241
- */
6242
- build_command?: string | null;
6243
- /**
6244
- * Build output directory
6245
- */
6246
- destination_dir?: string | null;
6247
- /**
6248
- * GitHub auth method
6249
- */
6250
- github_auth_method?: 'github_app' | 'pat';
6251
- /**
6252
- * GitHub PAT (required for pat method)
6253
- */
6254
- github_pat?: string | null;
6255
- /**
6256
- * Git branch for production
6257
- */
6258
- production_branch?: string | null;
6259
- } | null;
6260
- /**
6261
- * Optional description
6262
- */
6263
- description?: string | null;
6264
- /**
6265
- * Deployment mode
6266
- */
6267
- mode: 'managed' | 'self_hosted';
6268
- /**
6269
- * Display name (unique within datalake)
6270
- */
6271
- name: string;
6272
- /**
6273
- * GitHub repo URL (required for managed mode, optional for self-hosted)
6274
- */
6275
- repo_url?: string | null;
6276
- /**
6277
- * App URLs with primary designation (at least one required for self_hosted)
6278
- */
6279
- urls?: Array<{
6280
- /**
6281
- * Whether this is the primary URL
6282
- */
6283
- is_primary?: boolean;
6284
- /**
6285
- * Display label
6286
- */
6287
- label?: string | null;
6288
- /**
6289
- * App URL (http/https)
6290
- */
6291
- url: string;
6292
- }>;
6293
- };
6294
6110
  /**
6295
6111
  * S3Request
6296
6112
  *
@@ -6351,10 +6167,18 @@ type SqlDatabaseRequestWritable = {
6351
6167
  /**
6352
6168
  * SMSCallRequest
6353
6169
  *
6354
- * SMS tool-call config — Liquid-templated recipient and body plus transactional/promotional category. Request
6170
+ * SMS tool-call config — Liquid-templated recipient and body, transactional/promotional category, and the prefix its links go out on. Request
6355
6171
  */
6356
6172
  type SmsCallRequestWritable = {
6357
6173
  body: SimpleTemplateConfigRequest;
6174
+ /**
6175
+ * Address of the host that serves this action's links. Every URL in the body goes out as <link_prefix>/<token>. An absolute http or https URL, path allowed, with no query, fragment or trailing slash.
6176
+ */
6177
+ link_prefix: string;
6178
+ /**
6179
+ * How many days each link resolves after the send
6180
+ */
6181
+ link_validity_days?: number;
6358
6182
  /**
6359
6183
  * SMS category — transactional vs promotional
6360
6184
  */
@@ -6593,7 +6417,7 @@ type PlatformApiAdvancedMigrationControllerIndexData = {
6593
6417
  };
6594
6418
  url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/advanced-migrations';
6595
6419
  };
6596
- type PlatformApiAiAgentControllerIndexData = {
6420
+ type PlatformApiDataActivationClientControllerBatchesIndexData = {
6597
6421
  body?: never;
6598
6422
  path: {
6599
6423
  /**
@@ -6604,16 +6428,20 @@ type PlatformApiAiAgentControllerIndexData = {
6604
6428
  * Datalake slug
6605
6429
  */
6606
6430
  datalake_slug: string;
6607
- };
6608
- query?: {
6609
6431
  /**
6610
- * Page number (1-indexed). Defaults to 1 when omitted.
6432
+ * Data Activation Client slug
6611
6433
  */
6612
- page?: number;
6434
+ slug: string;
6435
+ };
6436
+ query?: {
6613
6437
  /**
6614
6438
  * Items per page (1-100). Defaults to the resource's Flop default when omitted.
6615
6439
  */
6616
6440
  page_size?: number;
6441
+ /**
6442
+ * Page number (1-indexed). Defaults to 1 when omitted.
6443
+ */
6444
+ page?: number;
6617
6445
  /**
6618
6446
  * Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
6619
6447
  */
@@ -6640,9 +6468,9 @@ type PlatformApiAiAgentControllerIndexData = {
6640
6468
  value: unknown;
6641
6469
  }>;
6642
6470
  };
6643
- url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents';
6471
+ url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/batches';
6644
6472
  };
6645
- type PlatformApiWorkflowRunControllerIndexData = {
6473
+ type PlatformApiAiAgentControllerIndexData = {
6646
6474
  body?: never;
6647
6475
  path: {
6648
6476
  /**
@@ -6689,9 +6517,9 @@ type PlatformApiWorkflowRunControllerIndexData = {
6689
6517
  value: unknown;
6690
6518
  }>;
6691
6519
  };
6692
- url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/workflow-runs';
6520
+ url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents';
6693
6521
  };
6694
- type PlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexData = {
6522
+ type PlatformApiWorkflowRunControllerIndexData = {
6695
6523
  body?: never;
6696
6524
  path: {
6697
6525
  /**
@@ -6702,10 +6530,6 @@ type PlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexData = {
6702
6530
  * Datalake slug
6703
6531
  */
6704
6532
  datalake_slug: string;
6705
- /**
6706
- * Workflow slug
6707
- */
6708
- workflow_slug: string;
6709
6533
  };
6710
6534
  query?: {
6711
6535
  /**
@@ -6742,9 +6566,9 @@ type PlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexData = {
6742
6566
  value: unknown;
6743
6567
  }>;
6744
6568
  };
6745
- url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{workflow_slug}/workflow-logs';
6569
+ url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/workflow-runs';
6746
6570
  };
6747
- type PlatformApiDataSourceControllerIndexData = {
6571
+ type PlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexData = {
6748
6572
  body?: never;
6749
6573
  path: {
6750
6574
  /**
@@ -6755,16 +6579,20 @@ type PlatformApiDataSourceControllerIndexData = {
6755
6579
  * Datalake slug
6756
6580
  */
6757
6581
  datalake_slug: string;
6758
- };
6759
- query?: {
6760
6582
  /**
6761
- * Items per page (1-100). Defaults to the resource's Flop default when omitted.
6583
+ * Workflow slug
6762
6584
  */
6763
- page_size?: number;
6585
+ workflow_slug: string;
6586
+ };
6587
+ query?: {
6764
6588
  /**
6765
6589
  * Page number (1-indexed). Defaults to 1 when omitted.
6766
6590
  */
6767
6591
  page?: number;
6592
+ /**
6593
+ * Items per page (1-100). Defaults to the resource's Flop default when omitted.
6594
+ */
6595
+ page_size?: number;
6768
6596
  /**
6769
6597
  * Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
6770
6598
  */
@@ -6791,9 +6619,9 @@ type PlatformApiDataSourceControllerIndexData = {
6791
6619
  value: unknown;
6792
6620
  }>;
6793
6621
  };
6794
- url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources';
6622
+ url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{workflow_slug}/workflow-logs';
6795
6623
  };
6796
- type PlatformApiActionStatusUpdaterControllerIndexData = {
6624
+ type PlatformApiDataSourceControllerIndexData = {
6797
6625
  body?: never;
6798
6626
  path: {
6799
6627
  /**
@@ -6806,14 +6634,14 @@ type PlatformApiActionStatusUpdaterControllerIndexData = {
6806
6634
  datalake_slug: string;
6807
6635
  };
6808
6636
  query?: {
6809
- /**
6810
- * Page number (1-indexed). Defaults to 1 when omitted.
6811
- */
6812
- page?: number;
6813
6637
  /**
6814
6638
  * Items per page (1-100). Defaults to the resource's Flop default when omitted.
6815
6639
  */
6816
6640
  page_size?: number;
6641
+ /**
6642
+ * Page number (1-indexed). Defaults to 1 when omitted.
6643
+ */
6644
+ page?: number;
6817
6645
  /**
6818
6646
  * Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
6819
6647
  */
@@ -6840,9 +6668,9 @@ type PlatformApiActionStatusUpdaterControllerIndexData = {
6840
6668
  value: unknown;
6841
6669
  }>;
6842
6670
  };
6843
- url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/action-status-updaters';
6671
+ url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources';
6844
6672
  };
6845
- type PlatformApiConnectedAppMgmtControllerIndexData = {
6673
+ type PlatformApiActionStatusUpdaterControllerIndexData = {
6846
6674
  body?: never;
6847
6675
  path: {
6848
6676
  /**
@@ -6889,7 +6717,7 @@ type PlatformApiConnectedAppMgmtControllerIndexData = {
6889
6717
  value: unknown;
6890
6718
  }>;
6891
6719
  };
6892
- url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps';
6720
+ url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/action-status-updaters';
6893
6721
  };
6894
6722
  type PlatformApiAgenticWorkflowControllerIndexData = {
6895
6723
  body?: never;
@@ -7678,8 +7506,9 @@ interface ApiDebugConfig {
7678
7506
  * request's `Origin` against); `sessionToken` (Bearer) is what actually
7679
7507
  * authorizes the call. Neither ever substitutes for the other.
7680
7508
  *
7681
- * `sessionToken` is OPTIONAL: a key-only client — every deployed connected
7682
- * app authenticating machine-to-machine on its tenant's publishable key —
7509
+ * `sessionToken` is OPTIONAL: a key-only client — the host behind an action's
7510
+ * link prefix, resolving a tap with `authenticatedLinks.exchange` on its
7511
+ * tenant's publishable key, is the usual one —
7683
7512
  * constructs with just `{ baseUrl, apiKey }` and sends no `Authorization`
7684
7513
  * header at all (never a fabricated `Bearer ` with an empty token). It
7685
7514
  * reaches only the limited surface the publishable key permits; everything
@@ -7761,11 +7590,6 @@ declare function _buildApi(myClient: Client): {
7761
7590
  request: Request;
7762
7591
  response: Response;
7763
7592
  }>;
7764
- revealConnectedAppApiKey: (id: string) => Promise<{
7765
- data: ConnectedAppApiKeyResponse;
7766
- request: Request;
7767
- response: Response;
7768
- }>;
7769
7593
  createTenantApiKey: (tenantSlug: string, body: AdminCreateTenantApiKeyRequest) => Promise<{
7770
7594
  data: AdminApiKeyResponse;
7771
7595
  request: Request;
@@ -8222,62 +8046,14 @@ declare function _buildApi(myClient: Client): {
8222
8046
  response: Response;
8223
8047
  }>;
8224
8048
  };
8225
- connectedApps: {
8226
- list: (tenantSlug: string, datalakeSlug: string, query?: PlatformApiConnectedAppMgmtControllerIndexData["query"]) => Promise<{
8227
- data: ConnectedAppListResponse;
8228
- request: Request;
8229
- response: Response;
8230
- }>;
8231
- get: (tenantSlug: string, datalakeSlug: string, id: string) => Promise<{
8232
- data: ConnectedAppResponse;
8233
- request: Request;
8234
- response: Response;
8235
- }>;
8236
- create: (tenantSlug: string, datalakeSlug: string, body: ConnectedAppRequestWritable) => Promise<{
8237
- data: ConnectedAppResponse;
8238
- request: Request;
8239
- response: Response;
8240
- }>;
8241
- checksum: (tenantSlug: string, datalakeSlug: string, body: ConnectedAppRequestWritable) => Promise<{
8242
- data: ChecksumResponse;
8243
- request: Request;
8244
- response: Response;
8245
- }>;
8246
- update: (tenantSlug: string, datalakeSlug: string, id: string, body: ConnectedAppRequestWritable) => Promise<{
8247
- data: ConnectedAppResponse;
8248
- request: Request;
8249
- response: Response;
8250
- }>;
8251
- delete: (tenantSlug: string, datalakeSlug: string, id: string) => Promise<{
8252
- data: void;
8253
- request: Request;
8254
- response: Response;
8255
- }>;
8256
- syncRoutes: (tenantSlug: string, datalakeSlug: string, id: string) => Promise<{
8257
- data: SyncRoutesResponse;
8258
- request: Request;
8259
- response: Response;
8260
- }>;
8261
- resolvePage: (tenantSlug: string, datalakeSlug: string, slug: string, body: ResolvePageRequest) => Promise<{
8262
- data: ResolvePageResponse;
8263
- request: Request;
8264
- response: Response;
8265
- }>;
8266
- updateMessageTracking: (tenantSlug: string, datalakeSlug: string, slug: string, body: UpdatePageRequest) => Promise<{
8267
- data: UpdatePageResponse;
8268
- request: Request;
8269
- response: Response;
8270
- }>;
8271
- metadata: (tenantSlug: string, datalakeSlug: string, query?: {
8272
- page?: number;
8273
- page_size?: number;
8274
- }) => Promise<{
8275
- data: string;
8049
+ authenticatedLinks: {
8050
+ exchange: (tenantSlug: string, datalakeSlug: string, body: AuthenticatedLinkExchangeRequest) => Promise<{
8051
+ data: AuthenticatedLinkResponse;
8276
8052
  request: Request;
8277
8053
  response: Response;
8278
8054
  }>;
8279
- metadataDetails: (tenantSlug: string, datalakeSlug: string, id: string) => Promise<{
8280
- data: string;
8055
+ updateMessageTracking: (tenantSlug: string, datalakeSlug: string, body: AuthenticatedLinkUpdateMessageTrackingRequest) => Promise<{
8056
+ data: AuthenticatedLinkResponse;
8281
8057
  request: Request;
8282
8058
  response: Response;
8283
8059
  }>;
@@ -8353,6 +8129,18 @@ declare function _buildApi(myClient: Client): {
8353
8129
  response: Response;
8354
8130
  }>;
8355
8131
  };
8132
+ batches: {
8133
+ list: (tenantSlug: string, datalakeSlug: string, slug: string, query?: PlatformApiDataActivationClientControllerBatchesIndexData["query"]) => Promise<{
8134
+ data: DataActivationClientBatchListResponse;
8135
+ request: Request;
8136
+ response: Response;
8137
+ }>;
8138
+ get: (tenantSlug: string, datalakeSlug: string, slug: string, batchId: string) => Promise<{
8139
+ data: DataActivationClientBatchResponse;
8140
+ request: Request;
8141
+ response: Response;
8142
+ }>;
8143
+ };
8356
8144
  };
8357
8145
  interoperabilityContracts: {
8358
8146
  list: (tenantSlug: string, datalakeSlug: string, query?: PlatformApiInteroperabilityContractControllerIndexData["query"]) => Promise<{
@@ -8535,5 +8323,5 @@ declare function _buildApi(myClient: Client): {
8535
8323
  //#region src/index.d.ts
8536
8324
  declare function isEnvironmentName(name: string): name is EnvironmentName;
8537
8325
  //#endregion
8538
- export { type ActionStatusUpdaterCloudWatchQueryRequest, type ActionStatusUpdaterRequestWritable, type ActionStatusUpdaterResponse, type ActionStatusUpdaterRestCallRequest, ActionType, type AdvancedMigrationListResponse, type AdvancedMigrationRequest, type AdvancedMigrationResponse, type AgenticWorkflowListResponse, type AgenticWorkflowRequestWritable, type AgenticWorkflowResponse, type AiAgentRequestWritable, type AiAgentResponse, type AlveraApiError, type AlveraClient, type ApiConfig, type ApiDebugConfig, type BatchLogListResponse, type BatchLogResponse, type ConnectedAppListResponse, type ConnectedAppRequestWritable, type ConnectedAppResponse, type CreateActionStatusUpdaterRequest, type CreateAiAgentRequest, type CreateGenericTableRequest, type CreateSessionParams, DEFAULT_ENVIRONMENT, type DataActivationClientListResponse, type DataActivationClientLogListResponse, type DataActivationClientLogResponse, type DataActivationClientRequestWritable, type DataActivationClientResponse, type DataSourceRequest, type DataSourceRequestWritable, type DataSourceResponse, type DatalakeRequestWritable, type DatalakeResponse, type DatasetMetadataOptions, type DatasetSearchOptions, type DatasetSearchResponse, type DerivedLakeTablesResponse, type DownloadUrlResponse, ENVIRONMENTS, type EnvironmentName, type ErrorResponse, type ExecuteActionRequest, type ExecuteActionResponse, type ExecuteSqlMeta, type ExecuteSqlRequest, type ExecuteSqlResponse, type GenericTableColumnRequest, type GenericTableColumnResponse, type GenericTableResponse, type IngestFileRequest, type IngestRequest, type InteroperabilityContractAiAgentRequestWritable, type InteroperabilityContractListResponse, type InteroperabilityContractRequestWritable, type InteroperabilityContractResponse, type InteroperabilityRunRequest, type InteroperabilityRunResponse, type MdmVerifyRequest, type MdmVerifyResponse, type PaginationMeta, type PlatformApi, type ResolvePageRequest, type ResyncTableRequest, type ResyncTableResponse, type RunManuallyRequestWritable, type RunManuallyResponse, type RunWorkflowRequest, type RunWorkflowResponse, type SessionResponse, type SessionResult, type SyncRoutesResponse, type TemplateConfig, type TenantListResponse, type TenantResponse, type TextToSqlRequest, type TextToSqlResponse, ToolIntent, type ToolListResponse, type ToolRequest, type ToolRequestWritable, type ToolResponse, type ToolTwilioRequest, type ToolTwilioRequestWritable, type ToolTwilioResponse, type TwilioRequest, type TwilioRequestWritable, type TwilioResponse, type UpdatePageRequest, type UploadLinkRequest, type UploadLinkResponse, type WorkflowAiAgentRequestWritable, type WorkflowLogListResponse, type WorkflowLogResponse, type WorkflowRunListResponse, type WorkflowRunResponse, createBootstrapSession, createIsolatedPlatformApi, createPlatformApi, createSession, isEnvironmentName, revokeSession };
8326
+ export { type ActionStatusUpdaterCloudWatchQueryRequest, type ActionStatusUpdaterRequestWritable, type ActionStatusUpdaterResponse, type ActionStatusUpdaterRestCallRequest, ActionType, type AdvancedMigrationListResponse, type AdvancedMigrationRequest, type AdvancedMigrationResponse, type AgenticWorkflowListResponse, type AgenticWorkflowRequestWritable, type AgenticWorkflowResponse, type AiAgentRequestWritable, type AiAgentResponse, type AlveraApiError, type AlveraClient, type ApiConfig, type ApiDebugConfig, type AuthenticatedLinkExchangeRequest, type AuthenticatedLinkResponse, type AuthenticatedLinkUpdateMessageTrackingRequest, type BatchLogListResponse, type BatchLogResponse, type CreateActionStatusUpdaterRequest, type CreateAiAgentRequest, type CreateGenericTableRequest, type CreateSessionParams, DEFAULT_ENVIRONMENT, type DataActivationClientBatchListResponse, type DataActivationClientBatchResponse, type DataActivationClientListResponse, type DataActivationClientLogListResponse, type DataActivationClientLogResponse, type DataActivationClientRequestWritable, type DataActivationClientResponse, type DataSourceRequest, type DataSourceRequestWritable, type DataSourceResponse, type DatalakeRequestWritable, type DatalakeResponse, type DatasetMetadataOptions, type DatasetSearchOptions, type DatasetSearchResponse, type DerivedLakeTablesResponse, type DownloadUrlResponse, ENVIRONMENTS, type EnvironmentName, type ErrorResponse, type ExecuteActionRequest, type ExecuteActionResponse, type ExecuteSqlMeta, type ExecuteSqlRequest, type ExecuteSqlResponse, type GenericTableColumnRequest, type GenericTableColumnResponse, type GenericTableResponse, type IngestFileRequest, type IngestRequest, type InteroperabilityContractAiAgentRequestWritable, type InteroperabilityContractListResponse, type InteroperabilityContractRequestWritable, type InteroperabilityContractResponse, type InteroperabilityRunRequest, type InteroperabilityRunResponse, type MdmVerifyRequest, type MdmVerifyResponse, type MessageResponse, type PaginationMeta, type PlatformApi, type ResyncTableRequest, type ResyncTableResponse, type RunManuallyRequestWritable, type RunManuallyResponse, type RunWorkflowRequest, type RunWorkflowResponse, type SessionResponse, type SessionResult, type TemplateConfig, type TenantListResponse, type TenantResponse, type TextToSqlRequest, type TextToSqlResponse, ToolIntent, type ToolListResponse, type ToolRequest, type ToolRequestWritable, type ToolResponse, type ToolTwilioRequest, type ToolTwilioRequestWritable, type ToolTwilioResponse, type TwilioRequest, type TwilioRequestWritable, type TwilioResponse, type UploadLinkRequest, type UploadLinkResponse, type WorkflowAiAgentRequestWritable, type WorkflowLogListResponse, type WorkflowLogResponse, type WorkflowRunListResponse, type WorkflowRunResponse, createBootstrapSession, createIsolatedPlatformApi, createPlatformApi, createSession, isEnvironmentName, revokeSession };
8539
8327
  //# sourceMappingURL=index.d.mts.map