@deepraxis/sdk 0.2.0-dev.c1f0e29 → 0.2.0-dev.c7e8740

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.
@@ -3296,7 +3296,7 @@ export const listOrganizationNotificationLetters = (options) => (options?.client
3296
3296
  /**
3297
3297
  * Send a letter to a person or an agent
3298
3298
  *
3299
- * Write one letter to a member or an agent of this organization, for an automation script or an outside caller that needs to reach someone, or to leave itself an alarm: a letter to your own address is allowed and arrives at its deliver_at. The sender is the credential's own and is never a request field — a person writes as themselves, an agent as itself, and an automation run (a scheduled or service-started one included) as the platform's automation sender with the run recorded in the letter's source; a `sender` in the body is ignored. Any other credential (an organization API key, an application) has no address to write from and is refused with 403. The recipient must belong to this organization: a person or agent of another organization answers 404 without saying whether it exists. A letter to a person needs a summary of at most 60 characters — one sentence saying what the reader must do or know; a longer one is refused, never cut. An agent's letter may leave summary out and the first line of body stands in. Repeating the same letter (same recipient, kind, thread, body and time) returns the same id and writes it once. Usage charge: none.
3299
+ * Write one letter to a member or an agent of this organization, for an automation script or an outside caller that needs to reach someone, or to leave itself an alarm: a letter to your own address is allowed and arrives at its deliver_at. The sender is the credential's own and is never a request field; a `sender` in the body is ignored. Who can send: a person's signed-in session (the person is the sender), a personal API key (it acts as the member who created it, and that member is recorded as the sender), an agent (it writes as itself), and an automation run (a scheduled or service-started one included; it writes as the platform's automation sender, with the run recorded in the letter's source). Who is refused with 403 `PERMISSION_DENIED`: a service-account API key and an application, which have no address to write from. The recipient must belong to this organization: a person or agent of another organization answers 404 without saying whether it exists. A newly created agent may answer 404 `SUBSCRIBER_NOT_FOUND` for a few seconds; retry shortly. A letter to a person needs a summary of at most 60 characters — one sentence saying what the reader must do or know; a longer one is refused, never cut. An agent's letter may leave summary out and the first line of body stands in. Repeating the same letter (same recipient, kind, thread, body and time) returns the same id and writes it once. Usage charge: none.
3300
3300
  */
3301
3301
  export const createOrganizationNotificationLetter = (options) => (options.client ?? client).post({
3302
3302
  security: [{
@@ -6537,6 +6537,60 @@ export const applicationListEvents = (options) => (options.client ?? client).get
6537
6537
  url: '/application/v1/workers/{worker_id}/events',
6538
6538
  ...options
6539
6539
  });
6540
+ /**
6541
+ * Query Worker logs
6542
+ *
6543
+ * Read this application's request logs for a time window: individual log lines (view events) or aggregates (calculations), with Cloudflare's filters, group-bys and pagination. The body is Cloudflare's Workers Observability query body and the answer its result, field for field, so examples from Cloudflare's documentation work as they are. The server scopes every read to this application: it adds the application's script name as a filter, forces the dataset to cloudflare-workers and drops any caller filter on the script or dataset, so one application never reads another's logs. Logs are kept 7 days and start once the next deployment runs with observability on (on by default). Use logs:keys and logs:values to discover the fields to filter on, and the Worker's events (ListEvents) for lifecycle rather than request logs.
6544
+ */
6545
+ export const applicationQueryWorkerLogs = (options) => (options.client ?? client).post({
6546
+ security: [{
6547
+ key: 'application-bearerAuth',
6548
+ scheme: 'bearer',
6549
+ type: 'http'
6550
+ }],
6551
+ url: '/application/v1/workers/{worker_id}/logs:query',
6552
+ ...options,
6553
+ headers: {
6554
+ 'Content-Type': 'application/json',
6555
+ ...options.headers
6556
+ }
6557
+ });
6558
+ /**
6559
+ * List log fields
6560
+ *
6561
+ * List the fields present in this application's request logs (key, type, last seen), to build filters for logs:query or values for logs:values. Scoped to this application exactly like logs:query. Cloudflare's telemetry keys body and answer, unchanged.
6562
+ */
6563
+ export const applicationListWorkerLogKeys = (options) => (options.client ?? client).post({
6564
+ security: [{
6565
+ key: 'application-bearerAuth',
6566
+ scheme: 'bearer',
6567
+ type: 'http'
6568
+ }],
6569
+ url: '/application/v1/workers/{worker_id}/logs:keys',
6570
+ ...options,
6571
+ headers: {
6572
+ 'Content-Type': 'application/json',
6573
+ ...options.headers
6574
+ }
6575
+ });
6576
+ /**
6577
+ * List log field values
6578
+ *
6579
+ * List the distinct values a field takes in this application's request logs within a window, to build filters whose values actually match (for example the levels that occur). Scoped to this application exactly like logs:query. Cloudflare's telemetry values body and answer, unchanged.
6580
+ */
6581
+ export const applicationListWorkerLogValues = (options) => (options.client ?? client).post({
6582
+ security: [{
6583
+ key: 'application-bearerAuth',
6584
+ scheme: 'bearer',
6585
+ type: 'http'
6586
+ }],
6587
+ url: '/application/v1/workers/{worker_id}/logs:values',
6588
+ ...options,
6589
+ headers: {
6590
+ 'Content-Type': 'application/json',
6591
+ ...options.headers
6592
+ }
6593
+ });
6540
6594
  /**
6541
6595
  * Create asset upload session
6542
6596
  *
@@ -8694,7 +8748,7 @@ export const contentGetVersion = (options) => (options.client ?? client).get({
8694
8748
  /**
8695
8749
  * Open a playback session
8696
8750
  *
8697
- * Open one playback of a published content for an end user and get the manifest address a player loads. No platform API key is needed: the caller is the end user's own Praxis customer access token carried as `Authorization: Bearer <access_token>`, verified by this door exactly as the customer exchange verifies it. A caller with no token is left to the service, which refuses it RESOURCE_NOT_GRANTED, because a content is always signed and there is no public playback. The organization is taken from the content row, never from the token, and a token that claims another organization is refused. The content must be published (otherwise 403 CONTENT_NOT_PUBLISHED), its allowed_origins must accept the request Origin when the list is not empty (otherwise 403 ORIGIN_NOT_ALLOWED), the token must cover a resource for this content (otherwise 403 RESOURCE_NOT_GRANTED) and the pinned version must be ready (otherwise 409 SOURCE_NOT_READY; retry once readiness is ready). Returns HTTP 201 with the session id, manifest_url (https://content.praxisusercontent.com/{content_id}/{capability}/master.m3u8), expire_time, the renditions, the poster, the title when the player shows it, and the player settings. The playback reads access settings from the content's latest version and source and player from the live version, so a tightened origin or lifetime takes effect without a republish. This door has its own per-IP request budget: over it answers 429 RATE_LIMITED with Retry-After.
8751
+ * Open one playback of a published content for an end user and get the manifest address a player loads. No platform API key is needed: the caller is the end user's own Praxis customer access token carried as `Authorization: Bearer <access_token>`, verified by this door exactly as the customer exchange verifies it. A caller with no token is left to the service, which refuses it RESOURCE_NOT_GRANTED, because a content is always signed and there is no public playback. The organization is taken from the content row, never from the token, and a token that claims another organization is refused. The content must be published (otherwise 403 CONTENT_NOT_PUBLISHED), its allowed_origins must accept the request Origin when the list is not empty (otherwise 403 ORIGIN_NOT_ALLOWED), the token must cover a resource for this content (otherwise 403 RESOURCE_NOT_GRANTED) and the pinned version must be ready (otherwise 409 SOURCE_NOT_READY; retry once readiness is ready). Returns HTTP 201 with the session id, manifest_url (its host depends on the viewer's region, https://content.praxisusercontent.com/{content_id}/{capability}/master.m3u8 or a mainland edge address such as https://media-hk.deepractice.cn/play/{content_id}/{capability}/master.m3u8; pass it to the player exactly as returned), expire_time, the renditions, the poster, the title when the player shows it, and the player settings. The playback reads access settings from the content's latest version and source and player from the live version, so a tightened origin or lifetime takes effect without a republish. This door has its own per-IP request budget: over it answers 429 RATE_LIMITED with Retry-After.
8698
8752
  */
8699
8753
  export const contentCreatePlaybackSession = (options) => (options.client ?? client).post({
8700
8754
  url: '/content/v1/playback/sessions',
@@ -8903,7 +8957,7 @@ export const crmObjectsBatchArchive = (options) => (options.client ?? client).po
8903
8957
  /**
8904
8958
  * List properties
8905
8959
  *
8906
- * Inspect the property definitions available for an object type before writing or filtering records. Obtain objectType from schemas.list; reuse each immutable name in record properties and filters. archived defaults to false.
8960
+ * Inspect the property definitions available for an object type before writing or filtering records. Obtain objectType from schemas.list; reuse each immutable name in record properties and filters. archived defaults to false. Every organization starts with preset definitions. For contacts these are the HubSpot default contact properties that a person or the API can write - salutation, firstname, lastname, email, phone, mobilephone, fax, company, jobtitle, website, address, city, state, zip, country, industry, numemployees, annualrevenue and message - plus hubspot_owner_id, lifecyclestage (HubSpot's default stages) and hs_lead_status (HubSpot's default statuses). All of them sit in the contactinformation group and are writable; industry is free text here where HubSpot presents a fixed dropdown, and fax uses the phone-number format. The remaining HubSpot default contact properties are deliberately not provided, because the HubSpot feature behind each one is not part of Praxis - values HubSpot computes and keeps read-only (create and last-modified dates, created-by and updated-by user ids, owner-assigned date, email domain, record id and record source, country and state codes, contact unworked), activity, sequence, meeting and NPS dates and counters and predictive scores, form and conversion tracking (first and recent conversion, form submission counts, ad click ids, IP location, original and latest traffic source, page views and sessions), marketing email state (opt-outs, bounces, quarantine, delivered, opened and clicked counts and dates, marketing contact status), deal rollups (associated deals, revenue, close and first deal dates, days to close), lifecycle-stage timing, the ads form fields (date of birth, gender, marital status, education), private content membership, social profile handles, follower counts and photo, and account-level fields HubSpot maintains from its own settings (persona, preferred language, time zone, legal basis, brands, shared teams and users, team and merged ids). Create one as a custom property when a workflow needs it.
8907
8961
  */
8908
8962
  export const crmPropertiesList = (options) => (options.client ?? client).get({
8909
8963
  security: [{
@@ -9230,6 +9284,34 @@ export const crmSchemasCreate = (options) => (options.client ?? client).post({
9230
9284
  ...options.headers
9231
9285
  }
9232
9286
  });
9287
+ /**
9288
+ * Delete object schema
9289
+ *
9290
+ * Remove a custom object type together with its properties, property groups, pipelines, layout, archived records and their history, its associations and the association definitions created with it. A record that is not archived blocks the delete, and so does a rollup property on another object that reads this object, because it would silently read empty afterwards. Standard object types cannot be deleted. As in HubSpot, the delete answers HTTP 204 with no body, because the object has no records left whose refs it would return.
9291
+ */
9292
+ export const crmSchemasDelete = (options) => (options.client ?? client).delete({
9293
+ security: [{
9294
+ key: 'crm-bearerAuth',
9295
+ scheme: 'bearer',
9296
+ type: 'http'
9297
+ }],
9298
+ url: '/crm/v1/schemas/{objectType}',
9299
+ ...options
9300
+ });
9301
+ /**
9302
+ * Read object schema
9303
+ *
9304
+ * Read one object type with its property definitions and association definitions. Discover the name from schemas.list first; a custom object answers to its name (p_<name>) or its object type id. An unknown type answers OBJECT_NOT_FOUND, which is also how a deleted custom object reads afterwards.
9305
+ */
9306
+ export const crmSchemasGet = (options) => (options.client ?? client).get({
9307
+ security: [{
9308
+ key: 'crm-bearerAuth',
9309
+ scheme: 'bearer',
9310
+ type: 'http'
9311
+ }],
9312
+ url: '/crm/v1/schemas/{objectType}',
9313
+ ...options
9314
+ });
9233
9315
  /**
9234
9316
  * Qualify lead
9235
9317
  *
@@ -9554,7 +9636,7 @@ export const customerCreatePublishableKey = (options) => (options.client ?? clie
9554
9636
  * Delete a publishable key
9555
9637
  *
9556
9638
  * Deprecated: use DELETE /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).
9557
- * Delete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.
9639
+ * Delete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 PUBLISHABLE_KEY_NOT_FOUND.
9558
9640
  *
9559
9641
  * @deprecated
9560
9642
  */
@@ -10078,7 +10160,7 @@ export const cutListExports = (options) => (options.client ?? client).get({
10078
10160
  /**
10079
10161
  * Create video export
10080
10162
  *
10081
- * Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
10163
+ * Start an asynchronous video export from the project, and optionally select revision and output settings. Omit both binding and folder and the export only produces a file: no library receives it, and on done file.url downloads it (the link is valid for one hour and is minted on every read). Name a binding from bindings.list (a writable one), or a folder, and the finished video is also imported into that media library, and on done asset identifies it in praxis.media. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. Each call starts a job, so retrieve a known job before retrying a submission.
10082
10164
  */
10083
10165
  export const cutCreateExport = (options) => (options.client ?? client).post({
10084
10166
  security: [{
@@ -12426,9 +12508,9 @@ export const devopsPullRequestsRerunGate = (options) => (options.client ?? clien
12426
12508
  ...options
12427
12509
  });
12428
12510
  /**
12429
- * Record a Vice President's exception to the merge gate
12511
+ * Record a listed position's exception to the merge gate
12430
12512
  *
12431
- * Record the one exception to the fail-closed merge gate: a Vice President's written authorization, for named checks, at the pull request's current head. Use it only when the authorization is already written on a ticket and the platform cannot answer a check in time; to restart a check the platform failed, use rerunGate first. headSha must be the current head (HEAD_MOVED otherwise), and a new push voids the override, because the gate reads only the overrides of its own head. authorizedBy must be the address (agent:<id> or human:<id>) of an actor holding an active workforce assignment to the job whose code is vice-president, otherwise GATE_OVERRIDE_NOT_AUTHORIZED (403) and nothing is written; when the workforce positions cannot be read the call is refused too (fail-closed). The override is written once and never changed: the checks keep their real result, stop counting, and carry overriddenBy; the gate is decided again and its summary lists them on their own line, and the event devops.gate.overridden is published. A pull request that is not open is refused with PULL_REQUEST_NOT_OPEN. Example body: {"headSha":"4f2a9c1…","checks":["repo-lint"],"ticket":"#5273","reason":"build machines down, fix in #6801","authorizedBy":"agent:agent_praxisfour"}.
12513
+ * Record the one exception to the fail-closed merge gate: the written authorization of a holder of a position listed in practice-config (today CEO, CTO, COO), for named checks, at the pull request's current head. Use it only when the authorization is already written on a ticket and the platform cannot answer a check in time; to restart a check the platform failed, use rerunGate first. headSha must be the current head (HEAD_MOVED otherwise), and a new push voids the override, because the gate reads only the overrides of its own head. authorizedBy must be the address (agent:<id> or human:<id>) of an actor holding an active workforce assignment to one of the positions listed in practice-config (today CEO, CTO, COO), otherwise GATE_OVERRIDE_NOT_AUTHORIZED (403) and nothing is written; when the position list or the workforce assignments cannot be read, or the list is empty, the call is refused too (fail-closed). The override is written once and never changed: the checks keep their real result, stop counting, and carry overriddenBy; the gate is decided again and its summary lists them on their own line, and the event devops.gate.overridden is published. A pull request that is not open is refused with PULL_REQUEST_NOT_OPEN. Example body: {"headSha":"4f2a9c1…","checks":["repo-lint"],"ticket":"#5273","reason":"build machines down, fix in #6801","authorizedBy":"agent:agent_praxisfour"}.
12432
12514
  */
12433
12515
  export const devopsPullRequestsOverrideGate = (options) => (options.client ?? client).post({
12434
12516
  security: [{
@@ -13103,7 +13185,7 @@ export const endCreatePublishableKey = (options) => (options.client ?? client).p
13103
13185
  /**
13104
13186
  * Delete a publishable key
13105
13187
  *
13106
- * Delete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 END_USER_NOT_FOUND.
13188
+ * Delete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 PUBLISHABLE_KEY_NOT_FOUND.
13107
13189
  */
13108
13190
  export const endDeletePublishableKey = (options) => (options.client ?? client).delete({
13109
13191
  security: [{
@@ -15100,7 +15182,7 @@ export const getSandboxV1Sandboxes = (options) => (options?.client ?? client).ge
15100
15182
  /**
15101
15183
  * Create sandbox (v2)
15102
15184
  *
15103
- * Create a sandbox from a template. Every sandbox declares its lifecycle at creation. On the own face (X-Praxis-Face: own-v1) send ephemeral: true for an ephemeral sandbox (never pauses, cannot be snapshotted, deleted when it ends; for jobs such as transcodes, scripts and builds) or ephemeral: false for a persistent one (pauses and resumes, snapshots, mounts volumes, kept after it stops; for long-lived computers). Leaving ephemeral out returns INVALID_PARAMS. autoPause: true, onExpire: pause, autoPauseMemory, autoResume, idleTimeout, retention and volumes belong to persistent sandboxes and need ephemeral: false. Choose persistent only for long-lived computers. On the E2B-compatible face autoPause is the declaration: true is persistent, false or absent is ephemeral and ends at its timeout. Responses carry ephemeral. When a sandbox's machine has ended (timeout, kill, retention, provider loss), reaching it returns SANDBOX_EXPIRED (410) with terminationReason in the message: its files are gone, create a new sandbox. To keep results, declare outputs: [{ path }] on the own face (up to eight absolute paths, a directory or a file): when the sandbox ends for any reason except provider loss or a failed start, each path is packed as .tar.gz and stored in File, and the killed event of GET /sandbox/v1/events/sandboxes/{sandboxID} lists each fileId or the reason it was not kept. Paths not declared are not kept. The E2B face refuses outputs. On the own face an android phone accepts waitForReady: true, an own-face-only option: the create then waits until the phone program has connected (state running) or 55 seconds have passed since the request arrived (the vendor create itself takes about 48 s, so this is often not enough), and answers with the state it reached — a timeout is not an error; omit it (the default) and the create answers at once, before the phone connects, with state starting or booting, which you follow with the detail read or the act socket.
15185
+ * Create a sandbox from a template. Every sandbox declares its lifecycle at creation. On the own face (X-Praxis-Face: own-v1) send ephemeral: true for an ephemeral sandbox (never pauses, cannot be snapshotted, deleted when it ends; for jobs such as transcodes, scripts and builds) or ephemeral: false for a persistent one (pauses and resumes, snapshots, kept after it stops; for long-lived computers). Leaving ephemeral out returns INVALID_PARAMS. autoPause: true, onExpire: pause, autoPauseMemory, autoResume, idleTimeout, retention belong to persistent sandboxes and need ephemeral: false. Choose persistent only for long-lived computers. On the E2B-compatible face autoPause is the declaration: true is persistent, false or absent is ephemeral and ends at its timeout. Responses carry ephemeral. When a sandbox's machine has ended (timeout, kill, retention, provider loss), reaching it returns SANDBOX_EXPIRED (410) with terminationReason in the message: its files are gone, create a new sandbox. To keep results, declare outputs: [{ path }] on the own face (up to eight absolute paths, a directory or a file): when the sandbox ends for any reason except provider loss or a failed start, each path is packed as .tar.gz and stored in File, and the killed event of GET /sandbox/v1/events/sandboxes/{sandboxID} lists each fileId or the reason it was not kept. Paths not declared are not kept. The E2B face refuses outputs. On the own face an android phone accepts waitForReady: true, an own-face-only option: the create then waits until the phone program has connected (state running) or 55 seconds have passed since the request arrived (the vendor create itself takes about 48 s, so this is often not enough), and answers with the state it reached — a timeout is not an error; omit it (the default) and the create answers at once, before the phone connects, with state starting or booting, which you follow with the detail read or the act socket.
15104
15186
  */
15105
15187
  export const postSandboxV1Sandboxes = (options) => (options.client ?? client).post({
15106
15188
  security: [
@@ -15376,158 +15458,6 @@ export const requestTemplateBuild = (options) => (options.client ?? client).post
15376
15458
  ...options.headers
15377
15459
  }
15378
15460
  });
15379
- /**
15380
- * List team volumes
15381
- *
15382
- * List the volumes of your team. Use it to find a volumeID before reading or deleting a volume, or to attach a volume to a sandbox by name when you create it.
15383
- */
15384
- export const getSandboxV1Volumes = (options) => (options?.client ?? client).get({
15385
- security: [
15386
- {
15387
- key: 'sandbox-ApiKeyAuth',
15388
- name: 'X-API-Key',
15389
- type: 'apiKey'
15390
- },
15391
- {
15392
- key: 'sandbox-AuthProviderBearerAuth',
15393
- scheme: 'bearer',
15394
- type: 'http'
15395
- },
15396
- {
15397
- key: 'sandbox-AuthProviderTeamAuth',
15398
- name: 'X-Team-ID',
15399
- type: 'apiKey'
15400
- },
15401
- { name: 'X-Admin-Token', type: 'apiKey' },
15402
- {
15403
- key: 'sandbox-AdminTeamAuth',
15404
- name: 'X-Team-ID',
15405
- type: 'apiKey'
15406
- },
15407
- {
15408
- key: 'sandbox-AdminJWTAuth',
15409
- scheme: 'bearer',
15410
- type: 'http'
15411
- }
15412
- ],
15413
- url: '/sandbox/v1/volumes',
15414
- ...options
15415
- });
15416
- /**
15417
- * Create team volume
15418
- *
15419
- * Create a team volume: persistent storage that can be mounted into sandboxes and outlives them. Send the volume name; the response returns the volume id and name. Use getVolume to read it back and deleteVolume to remove it.
15420
- */
15421
- export const postSandboxV1Volumes = (options) => (options.client ?? client).post({
15422
- security: [
15423
- {
15424
- key: 'sandbox-ApiKeyAuth',
15425
- name: 'X-API-Key',
15426
- type: 'apiKey'
15427
- },
15428
- {
15429
- key: 'sandbox-AuthProviderBearerAuth',
15430
- scheme: 'bearer',
15431
- type: 'http'
15432
- },
15433
- {
15434
- key: 'sandbox-AuthProviderTeamAuth',
15435
- name: 'X-Team-ID',
15436
- type: 'apiKey'
15437
- },
15438
- { name: 'X-Admin-Token', type: 'apiKey' },
15439
- {
15440
- key: 'sandbox-AdminTeamAuth',
15441
- name: 'X-Team-ID',
15442
- type: 'apiKey'
15443
- },
15444
- {
15445
- key: 'sandbox-AdminJWTAuth',
15446
- scheme: 'bearer',
15447
- type: 'http'
15448
- }
15449
- ],
15450
- url: '/sandbox/v1/volumes',
15451
- ...options,
15452
- headers: {
15453
- 'Content-Type': 'application/json',
15454
- ...options.headers
15455
- }
15456
- });
15457
- /**
15458
- * Delete team volume
15459
- *
15460
- * Delete a team volume and its data permanently. Use it only when no sandbox needs the volume any more; the data cannot be recovered. Success answers 204; an unknown id answers 404.
15461
- */
15462
- export const deleteSandboxV1VolumesByVolumeId = (options) => (options.client ?? client).delete({
15463
- security: [
15464
- {
15465
- key: 'sandbox-ApiKeyAuth',
15466
- name: 'X-API-Key',
15467
- type: 'apiKey'
15468
- },
15469
- {
15470
- key: 'sandbox-AuthProviderBearerAuth',
15471
- scheme: 'bearer',
15472
- type: 'http'
15473
- },
15474
- {
15475
- key: 'sandbox-AuthProviderTeamAuth',
15476
- name: 'X-Team-ID',
15477
- type: 'apiKey'
15478
- },
15479
- { name: 'X-Admin-Token', type: 'apiKey' },
15480
- {
15481
- key: 'sandbox-AdminTeamAuth',
15482
- name: 'X-Team-ID',
15483
- type: 'apiKey'
15484
- },
15485
- {
15486
- key: 'sandbox-AdminJWTAuth',
15487
- scheme: 'bearer',
15488
- type: 'http'
15489
- }
15490
- ],
15491
- url: '/sandbox/v1/volumes/{volumeID}',
15492
- ...options
15493
- });
15494
- /**
15495
- * Team volume
15496
- *
15497
- * Read one team volume by id. Use it to confirm a volume exists and to read its name before mounting it in a sandbox. An unknown id answers 404.
15498
- */
15499
- export const getSandboxV1VolumesByVolumeId = (options) => (options.client ?? client).get({
15500
- security: [
15501
- {
15502
- key: 'sandbox-ApiKeyAuth',
15503
- name: 'X-API-Key',
15504
- type: 'apiKey'
15505
- },
15506
- {
15507
- key: 'sandbox-AuthProviderBearerAuth',
15508
- scheme: 'bearer',
15509
- type: 'http'
15510
- },
15511
- {
15512
- key: 'sandbox-AuthProviderTeamAuth',
15513
- name: 'X-Team-ID',
15514
- type: 'apiKey'
15515
- },
15516
- { name: 'X-Admin-Token', type: 'apiKey' },
15517
- {
15518
- key: 'sandbox-AdminTeamAuth',
15519
- name: 'X-Team-ID',
15520
- type: 'apiKey'
15521
- },
15522
- {
15523
- key: 'sandbox-AdminJWTAuth',
15524
- scheme: 'bearer',
15525
- type: 'http'
15526
- }
15527
- ],
15528
- url: '/sandbox/v1/volumes/{volumeID}',
15529
- ...options
15530
- });
15531
15461
  /**
15532
15462
  * Fork sandbox
15533
15463
  *
@@ -15684,47 +15614,6 @@ export const deleteSandboxV1SnapshotsBySnapshotId = (options) => (options.client
15684
15614
  url: '/sandbox/v1/snapshots/{snapshotID}',
15685
15615
  ...options
15686
15616
  });
15687
- /**
15688
- * Update sandbox network
15689
- *
15690
- * Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
15691
- */
15692
- export const putSandboxV1SandboxesBySandboxIdNetwork = (options) => (options.client ?? client).put({
15693
- security: [
15694
- {
15695
- key: 'sandbox-ApiKeyAuth',
15696
- name: 'X-API-Key',
15697
- type: 'apiKey'
15698
- },
15699
- {
15700
- key: 'sandbox-AuthProviderBearerAuth',
15701
- scheme: 'bearer',
15702
- type: 'http'
15703
- },
15704
- {
15705
- key: 'sandbox-AuthProviderTeamAuth',
15706
- name: 'X-Team-ID',
15707
- type: 'apiKey'
15708
- },
15709
- { name: 'X-Admin-Token', type: 'apiKey' },
15710
- {
15711
- key: 'sandbox-AdminTeamAuth',
15712
- name: 'X-Team-ID',
15713
- type: 'apiKey'
15714
- },
15715
- {
15716
- key: 'sandbox-AdminJWTAuth',
15717
- scheme: 'bearer',
15718
- type: 'http'
15719
- }
15720
- ],
15721
- url: '/sandbox/v1/sandboxes/{sandboxID}/network',
15722
- ...options,
15723
- headers: {
15724
- 'Content-Type': 'application/json',
15725
- ...options.headers
15726
- }
15727
- });
15728
15617
  /**
15729
15618
  * Sandbox logs (v2)
15730
15619
  *