@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.mjs CHANGED
@@ -1105,6 +1105,41 @@ const platformApiDatalakeControllerUpdate = (options) => (options.client ?? clie
1105
1105
  }
1106
1106
  });
1107
1107
  /**
1108
+ * Resolve an authenticated link's token
1109
+ *
1110
+ * Called by the host serving an action's link prefix when a person taps
1111
+ * `<link_prefix>/<token>`. Returns the link: where it goes, the recipient's
1112
+ * legal entity, the workflow, run and action that sent it, when it expires
1113
+ * and when a person first clicked it, with the message it was sent in. The
1114
+ * message carries its metadata as stored: the recipient's `to` merged with
1115
+ * what the action's metadata template rendered.
1116
+ *
1117
+ * A person's tap also moves the message to `clicked`, in the same request;
1118
+ * the first click stamps the link's `link_clicked_at` and the message's
1119
+ * `clicked_at`, and later ones keep both. A `HEAD` request, a
1120
+ * prefetch header, an empty user agent, or a bot, link-preview or
1121
+ * mail-scanner user agent looks automated and moves nothing. Every tap is
1122
+ * recorded with the request details forwarded here and the signal that
1123
+ * flagged it, if any. Answers every time until the link expires: 404 for an
1124
+ * unknown token, 410 past its expiry, 503 when the datalake cannot be
1125
+ * reached.
1126
+ *
1127
+ * **Requires X-API-Key authentication.** A publishable key is enough.
1128
+ *
1129
+ */
1130
+ const platformApiAuthenticatedLinkControllerExchange = (options) => (options.client ?? client).post({
1131
+ security: [{
1132
+ name: "X-API-Key",
1133
+ type: "apiKey"
1134
+ }],
1135
+ url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/authenticated-links/exchange",
1136
+ ...options,
1137
+ headers: {
1138
+ "Content-Type": "application/json",
1139
+ ...options.headers
1140
+ }
1141
+ });
1142
+ /**
1108
1143
  * List accessible tenants
1109
1144
  *
1110
1145
  * Returns a paginated list of tenants accessible to the authenticated identity.
@@ -1496,28 +1531,6 @@ const platformApiDataSourceControllerUpdate = (options) => (options.client ?? cl
1496
1531
  }
1497
1532
  });
1498
1533
  /**
1499
- * Update message tracking fields for a page
1500
- *
1501
- * Updates tracking timestamps (opened_at, form_submitted_at) on the message
1502
- * linked to a page token. Called by the connected app when a user opens a page
1503
- * or submits a form.
1504
- *
1505
- * **Requires X-API-Key authentication.**
1506
- *
1507
- */
1508
- const platformApiConnectedAppControllerUpdateMessageTracking = (options) => (options.client ?? client).patch({
1509
- security: [{
1510
- name: "X-API-Key",
1511
- type: "apiKey"
1512
- }],
1513
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{slug}/update-message-tracking",
1514
- ...options,
1515
- headers: {
1516
- "Content-Type": "application/json",
1517
- ...options.headers
1518
- }
1519
- });
1520
- /**
1521
1534
  * Delete an agentic workflow
1522
1535
  *
1523
1536
  * Deletes a workflow and all associated actions, context datasets, and AI agent attachments. A workflow with run logs cannot be deleted (409 Conflict) — the logs preserve its run history; rename the workflow instead to free its name for a replacement.
@@ -1590,33 +1603,6 @@ const platformApiActionStatusUpdaterControllerRefresh = (options) => (options.cl
1590
1603
  }
1591
1604
  });
1592
1605
  /**
1593
- * Resolve a short URL token to a page
1594
- *
1595
- * Given a connected app slug and a Puid short URL token, resolves the token to
1596
- * the pre-stored route path and legal entity id. The Cloudflare app calls this
1597
- * endpoint when a customer clicks a short URL, forwarding the original client
1598
- * headers (user-agent, IP, country) in the request body.
1599
- *
1600
- * When the page token is linked to a message (via workflow action execution),
1601
- * the raw message details (raw body, channel, status) are included in
1602
- * the response.
1603
- *
1604
- * **Requires X-API-Key authentication.**
1605
- *
1606
- */
1607
- const platformApiConnectedAppControllerResolvePage = (options) => (options.client ?? client).post({
1608
- security: [{
1609
- name: "X-API-Key",
1610
- type: "apiKey"
1611
- }],
1612
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{slug}/resolve-page",
1613
- ...options,
1614
- headers: {
1615
- "Content-Type": "application/json",
1616
- ...options.headers
1617
- }
1618
- });
1619
- /**
1620
1606
  * Compute the drift checksum for a datalake config
1621
1607
  *
1622
1608
  * Returns the server-computed drift fingerprint a create/update would stamp for the submitted config, without persisting anything. `alvera plan` posts the operator's desired config here and compares the result against the deployed datalake's `checksum` (from GET) to decide absent / unchanged / edited.
@@ -1833,26 +1819,6 @@ const platformApiAiAgentControllerChecksum = (options) => (options.client ?? cli
1833
1819
  }
1834
1820
  });
1835
1821
  /**
1836
- * Compute the drift checksum for a connected app config
1837
- *
1838
- * Returns the server-computed drift fingerprint a create/update would stamp for the submitted config, without persisting anything. `alvera plan` posts the operator's desired config here and compares the result against the deployed app's `checksum` (from GET) to decide absent / unchanged / edited.
1839
- */
1840
- const platformApiConnectedAppMgmtControllerChecksum = (options) => (options.client ?? client).post({
1841
- security: [{
1842
- name: "X-API-Key",
1843
- type: "apiKey"
1844
- }, {
1845
- scheme: "bearer",
1846
- type: "http"
1847
- }],
1848
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/checksum",
1849
- ...options,
1850
- headers: {
1851
- "Content-Type": "application/json",
1852
- ...options.headers
1853
- }
1854
- });
1855
- /**
1856
1822
  * Get a workflow run
1857
1823
  *
1858
1824
  * Returns one run with everything known about it so far.
@@ -1877,6 +1843,23 @@ const platformApiWorkflowRunControllerShow = (options) => (options.client ?? cli
1877
1843
  ...options
1878
1844
  });
1879
1845
  /**
1846
+ * List runs for a Data Activation Client
1847
+ *
1848
+ * Returns a Flop-paginated list of this client's runs — **one row per run**, not one per dataset table. `closed_at` is empty while a run is still going, and `status` means nothing until it is set. For the per-table detail of a run, read `/logs` and filter on the same `batch_id`.
1849
+ */
1850
+ const platformApiDataActivationClientControllerBatchesIndex = (options) => (options.client ?? client).get({
1851
+ querySerializer: { parameters: { filters: { array: { style: "deepObject" } } } },
1852
+ security: [{
1853
+ name: "X-API-Key",
1854
+ type: "apiKey"
1855
+ }, {
1856
+ scheme: "bearer",
1857
+ type: "http"
1858
+ }],
1859
+ url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/batches",
1860
+ ...options
1861
+ });
1862
+ /**
1880
1863
  * List the datasets the platform registers
1881
1864
  *
1882
1865
  * Returns the dataset name strings the platform registers:
@@ -2022,6 +2005,22 @@ const platformApiAgenticWorkflowOperationsControllerWorkflowLogsIndex = (options
2022
2005
  ...options
2023
2006
  });
2024
2007
  /**
2008
+ * Show a single run
2009
+ *
2010
+ * Returns one run by the identifier every job of that run carries. **This is the "is it done yet" question**: `closed_at` is empty while the run is still going and set once it is over, whatever the outcome — read `status` for that, and only once `closed_at` is set. Returns 404 if the identifier belongs to a different client.
2011
+ */
2012
+ const platformApiDataActivationClientControllerBatchShow = (options) => (options.client ?? client).get({
2013
+ security: [{
2014
+ name: "X-API-Key",
2015
+ type: "apiKey"
2016
+ }, {
2017
+ scheme: "bearer",
2018
+ type: "http"
2019
+ }],
2020
+ url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/batches/{batch_id}",
2021
+ ...options
2022
+ });
2023
+ /**
2025
2024
  * Get single contract field metadata
2026
2025
  *
2027
2026
  * Returns a markdown document describing the fields of the contract's target resource type. Combines `@moduledoc` (resource description) and `@typedoc` (field definitions) from the schema.
@@ -2074,6 +2073,36 @@ const platformApiAgenticWorkflowOperationsControllerExecute = (options) => (opti
2074
2073
  }
2075
2074
  });
2076
2075
  /**
2076
+ * Report engagement on an authenticated link's message
2077
+ *
2078
+ * Called by the host serving an action's link prefix to report what the
2079
+ * person did after the exchange, with develop's fields: `opened` with
2080
+ * `opened_at` when its landing page opened, `form_submitted` with
2081
+ * `form_submitted_at` when they finish the link's form. The status goes
2082
+ * through the message's order guard, so it only ever moves the message
2083
+ * forward; a time left empty keeps the message's value. Returns the link with
2084
+ * its message, as the exchange does.
2085
+ *
2086
+ * Takes the link's token until it expires: 404 for an unknown token, 410 past
2087
+ * its expiry, 503 when the datalake cannot be reached, 422 for a status a
2088
+ * message cannot have.
2089
+ *
2090
+ * **Requires X-API-Key authentication.** A publishable key is enough.
2091
+ *
2092
+ */
2093
+ const platformApiAuthenticatedLinkControllerUpdateMessageTracking = (options) => (options.client ?? client).patch({
2094
+ security: [{
2095
+ name: "X-API-Key",
2096
+ type: "apiKey"
2097
+ }],
2098
+ url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/authenticated-links/update-message-tracking",
2099
+ ...options,
2100
+ headers: {
2101
+ "Content-Type": "application/json",
2102
+ ...options.headers
2103
+ }
2104
+ });
2105
+ /**
2077
2106
  * Page results from a UserSearch — outer SQL chunk + inner resource Flop
2078
2107
  *
2079
2108
  * Two-tier pagination at two layers:
@@ -2511,43 +2540,6 @@ const platformApiAiAgentControllerInvoke = (options) => (options.client ?? clien
2511
2540
  }
2512
2541
  });
2513
2542
  /**
2514
- * List connected apps
2515
- *
2516
- * Returns a paginated list of connected apps for the authenticated tenant.
2517
- */
2518
- const platformApiConnectedAppMgmtControllerIndex = (options) => (options.client ?? client).get({
2519
- querySerializer: { parameters: { filters: { array: { style: "deepObject" } } } },
2520
- security: [{
2521
- name: "X-API-Key",
2522
- type: "apiKey"
2523
- }, {
2524
- scheme: "bearer",
2525
- type: "http"
2526
- }],
2527
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps",
2528
- ...options
2529
- });
2530
- /**
2531
- * Create a connected app
2532
- *
2533
- * Creates a new connected app with automatic API key provisioning.
2534
- */
2535
- const platformApiConnectedAppMgmtControllerCreate = (options) => (options.client ?? client).post({
2536
- security: [{
2537
- name: "X-API-Key",
2538
- type: "apiKey"
2539
- }, {
2540
- scheme: "bearer",
2541
- type: "http"
2542
- }],
2543
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps",
2544
- ...options,
2545
- headers: {
2546
- "Content-Type": "application/json",
2547
- ...options.headers
2548
- }
2549
- });
2550
- /**
2551
2543
  * Revoke current session
2552
2544
  *
2553
2545
  * Revokes the current Bearer session — deactivates the session and deletes
@@ -2658,23 +2650,6 @@ const platformApiAgenticWorkflowControllerCreate = (options) => (options.client
2658
2650
  }
2659
2651
  });
2660
2652
  /**
2661
- * Connected apps catalog as markdown
2662
- *
2663
- * Returns one page of the connected app catalog for the current datalake, rendered as markdown. Accepts the same pagination, filtering, and ordering parameters as `index`; each entry includes wrapper fields + URLs + discovered routes, with the page's pagination state in a narrative line at the top. Trailing `Shared Types` section documents `TemplateConfig` + Solid filters.
2664
- */
2665
- const platformApiConnectedAppMgmtControllerMetadata = (options) => (options.client ?? client).get({
2666
- querySerializer: { parameters: { filters: { array: { style: "deepObject" } } } },
2667
- security: [{
2668
- name: "X-API-Key",
2669
- type: "apiKey"
2670
- }, {
2671
- scheme: "bearer",
2672
- type: "http"
2673
- }],
2674
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/metadata",
2675
- ...options
2676
- });
2677
- /**
2678
2653
  * List processing logs for a Data Activation Client
2679
2654
  *
2680
2655
  * Returns a Flop-paginated list of `DataActivationLog` rows for this DAC. One log per `(batch_id, dataset_table)` — a single run produces multiple log rows, one per dataset table the DAC writes into. Filter or group client-side on `batch_id` to reconstruct a batch-level view.
@@ -2877,49 +2852,6 @@ const platformApiPingControllerPing = (options) => (options?.client ?? client).g
2877
2852
  ...options
2878
2853
  });
2879
2854
  /**
2880
- * Reveal a connected app's publishable API key (admin)
2881
- *
2882
- * Returns the plaintext publishable (`public_api`) API key auto-provisioned for
2883
- * a connected app — Alvera's analogue of a Stripe publishable key. The platform
2884
- * stores the key Cloak-encrypted "for admin viewing"; this endpoint decrypts and
2885
- * returns it.
2886
- *
2887
- * Wraps `Platform.ApiKeys.get_api_key_plaintext/1` over the connected app's api
2888
- * key — the same primitive the API-keys UI uses to display a key. **Zero new
2889
- * business logic.** Returns 404 when the app does not exist or its key was revoked.
2890
- *
2891
- * Powerful primitive: exposes a live credential. Every successful call is
2892
- * structured-logged with `caller_user_id`, `connected_app_id`, and `api_key_id`
2893
- * for a forensic trail.
2894
- *
2895
- * **Requires platform-admin authentication** (`User.role == :admin`).
2896
- *
2897
- */
2898
- const platformApiIntegrationTestOnlyAdminControllerRevealConnectedAppApiKey = (options) => (options.client ?? client).get({
2899
- security: [{
2900
- scheme: "bearer",
2901
- type: "http"
2902
- }],
2903
- url: "/api/v1/admin/connected-apps/{id}/api-key",
2904
- ...options
2905
- });
2906
- /**
2907
- * Sync routes
2908
- *
2909
- * Enqueues a background job to fetch routes from the connected app's `/.well-known/routes.json` endpoint and update the stored routes.
2910
- */
2911
- const platformApiConnectedAppMgmtControllerSyncRoutes = (options) => (options.client ?? client).post({
2912
- security: [{
2913
- name: "X-API-Key",
2914
- type: "apiKey"
2915
- }, {
2916
- scheme: "bearer",
2917
- type: "http"
2918
- }],
2919
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}/sync-routes",
2920
- ...options
2921
- });
2922
- /**
2923
2855
  * List data activation clients
2924
2856
  *
2925
2857
  * Returns a paginated list of DACs for the datalake in the path.
@@ -3155,58 +3087,6 @@ const platformApiDatalakeControllerProvisionTokenization = (options) => (options
3155
3087
  ...options
3156
3088
  });
3157
3089
  /**
3158
- * Delete a connected app
3159
- *
3160
- * Deletes a connected app (addressed by id) within the authenticated datalake. For managed apps, infrastructure cleanup is queued before the record is removed.
3161
- */
3162
- const platformApiConnectedAppMgmtControllerDelete = (options) => (options.client ?? client).delete({
3163
- security: [{
3164
- name: "X-API-Key",
3165
- type: "apiKey"
3166
- }, {
3167
- scheme: "bearer",
3168
- type: "http"
3169
- }],
3170
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}",
3171
- ...options
3172
- });
3173
- /**
3174
- * Get a connected app
3175
- *
3176
- * Returns a single connected app by ID.
3177
- */
3178
- const platformApiConnectedAppMgmtControllerShow = (options) => (options.client ?? client).get({
3179
- security: [{
3180
- name: "X-API-Key",
3181
- type: "apiKey"
3182
- }, {
3183
- scheme: "bearer",
3184
- type: "http"
3185
- }],
3186
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}",
3187
- ...options
3188
- });
3189
- /**
3190
- * Replace a connected app
3191
- *
3192
- * Replaces a connected app with the full resource body. PUT semantics — all required fields must be present.
3193
- */
3194
- const platformApiConnectedAppMgmtControllerUpdate = (options) => (options.client ?? client).put({
3195
- security: [{
3196
- name: "X-API-Key",
3197
- type: "apiKey"
3198
- }, {
3199
- scheme: "bearer",
3200
- type: "http"
3201
- }],
3202
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}",
3203
- ...options,
3204
- headers: {
3205
- "Content-Type": "application/json",
3206
- ...options.headers
3207
- }
3208
- });
3209
- /**
3210
3090
  * Invite a user to the tenant
3211
3091
  *
3212
3092
  * Creates a `tenant_admin`-issued invitation. Mirrors the LiveView flow at
@@ -3458,22 +3338,6 @@ const platformApiAgenticWorkflowOperationsControllerBatchLogRefresh = (options)
3458
3338
  ...options
3459
3339
  });
3460
3340
  /**
3461
- * Single connected app metadata as markdown
3462
- *
3463
- * Returns markdown for one connected app — wrapper + URLs + discovered routes.
3464
- */
3465
- const platformApiConnectedAppMgmtControllerMetadataDetails = (options) => (options.client ?? client).get({
3466
- security: [{
3467
- name: "X-API-Key",
3468
- type: "apiKey"
3469
- }, {
3470
- scheme: "bearer",
3471
- type: "http"
3472
- }],
3473
- url: "/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}/metadata",
3474
- ...options
3475
- });
3476
- /**
3477
3341
  * Start or restart refresh polling for a batch run log
3478
3342
  *
3479
3343
  * Creates a DynamicCron job to poll this batch. Idempotent — if cron already exists, it's a no-op.
@@ -4044,11 +3908,6 @@ function _buildApi(myClient) {
4044
3908
  client: myClient,
4045
3909
  throwOnError: true
4046
3910
  }),
4047
- revealConnectedAppApiKey: (id) => platformApiIntegrationTestOnlyAdminControllerRevealConnectedAppApiKey({
4048
- path: { id },
4049
- client: myClient,
4050
- throwOnError: true
4051
- }),
4052
3911
  createTenantApiKey: (tenantSlug, body) => platformApiIntegrationTestOnlyAdminControllerCreateTenantApiKey({
4053
3912
  path: { tenant_slug: tenantSlug },
4054
3913
  body,
@@ -4806,27 +4665,8 @@ function _buildApi(myClient) {
4806
4665
  throwOnError: true
4807
4666
  })
4808
4667
  },
4809
- connectedApps: {
4810
- list: (tenantSlug, datalakeSlug, query) => platformApiConnectedAppMgmtControllerIndex({
4811
- path: {
4812
- tenant_slug: tenantSlug,
4813
- datalake_slug: datalakeSlug
4814
- },
4815
- query,
4816
- querySerializer: bracketQuerySerializer,
4817
- client: myClient,
4818
- throwOnError: true
4819
- }),
4820
- get: (tenantSlug, datalakeSlug, id) => platformApiConnectedAppMgmtControllerShow({
4821
- path: {
4822
- tenant_slug: tenantSlug,
4823
- datalake_slug: datalakeSlug,
4824
- id
4825
- },
4826
- client: myClient,
4827
- throwOnError: true
4828
- }),
4829
- create: (tenantSlug, datalakeSlug, body) => platformApiConnectedAppMgmtControllerCreate({
4668
+ authenticatedLinks: {
4669
+ exchange: (tenantSlug, datalakeSlug, body) => platformApiAuthenticatedLinkControllerExchange({
4830
4670
  path: {
4831
4671
  tenant_slug: tenantSlug,
4832
4672
  datalake_slug: datalakeSlug
@@ -4835,7 +4675,7 @@ function _buildApi(myClient) {
4835
4675
  client: myClient,
4836
4676
  throwOnError: true
4837
4677
  }),
4838
- checksum: (tenantSlug, datalakeSlug, body) => platformApiConnectedAppMgmtControllerChecksum({
4678
+ updateMessageTracking: (tenantSlug, datalakeSlug, body) => platformApiAuthenticatedLinkControllerUpdateMessageTracking({
4839
4679
  path: {
4840
4680
  tenant_slug: tenantSlug,
4841
4681
  datalake_slug: datalakeSlug
@@ -4843,72 +4683,6 @@ function _buildApi(myClient) {
4843
4683
  body,
4844
4684
  client: myClient,
4845
4685
  throwOnError: true
4846
- }),
4847
- update: (tenantSlug, datalakeSlug, id, body) => platformApiConnectedAppMgmtControllerUpdate({
4848
- path: {
4849
- tenant_slug: tenantSlug,
4850
- datalake_slug: datalakeSlug,
4851
- id
4852
- },
4853
- body,
4854
- client: myClient,
4855
- throwOnError: true
4856
- }),
4857
- delete: (tenantSlug, datalakeSlug, id) => platformApiConnectedAppMgmtControllerDelete({
4858
- path: {
4859
- tenant_slug: tenantSlug,
4860
- datalake_slug: datalakeSlug,
4861
- id
4862
- },
4863
- client: myClient,
4864
- throwOnError: true
4865
- }),
4866
- syncRoutes: (tenantSlug, datalakeSlug, id) => platformApiConnectedAppMgmtControllerSyncRoutes({
4867
- path: {
4868
- tenant_slug: tenantSlug,
4869
- datalake_slug: datalakeSlug,
4870
- id
4871
- },
4872
- client: myClient,
4873
- throwOnError: true
4874
- }),
4875
- resolvePage: (tenantSlug, datalakeSlug, slug, body) => platformApiConnectedAppControllerResolvePage({
4876
- path: {
4877
- tenant_slug: tenantSlug,
4878
- datalake_slug: datalakeSlug,
4879
- slug
4880
- },
4881
- body,
4882
- client: myClient,
4883
- throwOnError: true
4884
- }),
4885
- updateMessageTracking: (tenantSlug, datalakeSlug, slug, body) => platformApiConnectedAppControllerUpdateMessageTracking({
4886
- path: {
4887
- tenant_slug: tenantSlug,
4888
- datalake_slug: datalakeSlug,
4889
- slug
4890
- },
4891
- body,
4892
- client: myClient,
4893
- throwOnError: true
4894
- }),
4895
- metadata: (tenantSlug, datalakeSlug, query) => platformApiConnectedAppMgmtControllerMetadata({
4896
- path: {
4897
- tenant_slug: tenantSlug,
4898
- datalake_slug: datalakeSlug
4899
- },
4900
- query,
4901
- client: myClient,
4902
- throwOnError: true
4903
- }),
4904
- metadataDetails: (tenantSlug, datalakeSlug, id) => platformApiConnectedAppMgmtControllerMetadataDetails({
4905
- path: {
4906
- tenant_slug: tenantSlug,
4907
- datalake_slug: datalakeSlug,
4908
- id
4909
- },
4910
- client: myClient,
4911
- throwOnError: true
4912
4686
  })
4913
4687
  },
4914
4688
  dataActivationClients: {
@@ -5038,6 +4812,29 @@ function _buildApi(myClient) {
5038
4812
  client: myClient,
5039
4813
  throwOnError: true
5040
4814
  })
4815
+ },
4816
+ batches: {
4817
+ list: (tenantSlug, datalakeSlug, slug, query) => platformApiDataActivationClientControllerBatchesIndex({
4818
+ path: {
4819
+ tenant_slug: tenantSlug,
4820
+ datalake_slug: datalakeSlug,
4821
+ slug
4822
+ },
4823
+ query,
4824
+ querySerializer: bracketQuerySerializer,
4825
+ client: myClient,
4826
+ throwOnError: true
4827
+ }),
4828
+ get: (tenantSlug, datalakeSlug, slug, batchId) => platformApiDataActivationClientControllerBatchShow({
4829
+ path: {
4830
+ tenant_slug: tenantSlug,
4831
+ datalake_slug: datalakeSlug,
4832
+ slug,
4833
+ batch_id: batchId
4834
+ },
4835
+ client: myClient,
4836
+ throwOnError: true
4837
+ })
5041
4838
  }
5042
4839
  },
5043
4840
  interoperabilityContracts: {