From 4c8e910d434065ab513879a4113b2806911bd2b4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 16 Jun 2026 18:55:50 +0000 Subject: [PATCH] =?UTF-8?q?##=20Typescript=20SDK=20Changes:=20*=20`outpost?= =?UTF-8?q?.configuration.getManagedConfig()`:=20=20`response`=20**Changed?= =?UTF-8?q?**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`outpost.configurati?= =?UTF-8?q?on.updateManagedConfig()`:=20=20=20*=20=20`request`=20**Changed?= =?UTF-8?q?**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20=20=20*=20=20`response`?= =?UTF-8?q?=20**Changed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .speakeasy/logs/changes/changes.html | 26 +++--- .speakeasy/logs/changes/changes.md | 24 +++--- .speakeasy/logs/changes/new.openapi.yaml | 14 ---- .speakeasy/logs/changes/old.openapi.yaml | 14 ---- .speakeasy/workflow.lock | 10 +-- sdks/outpost-typescript/.speakeasy/gen.lock | 84 ++++++++----------- sdks/outpost-typescript/.speakeasy/gen.yaml | 5 +- sdks/outpost-typescript/RELEASES.md | 12 ++- .../docs/models/components/managedconfig.md | 3 +- .../examples/package-lock.json | 2 +- sdks/outpost-typescript/jsr.json | 2 +- sdks/outpost-typescript/package-lock.json | 4 +- sdks/outpost-typescript/package.json | 2 +- sdks/outpost-typescript/src/hooks/types.ts | 1 + sdks/outpost-typescript/src/lib/config.ts | 6 +- sdks/outpost-typescript/src/lib/dlv.ts | 53 ------------ sdks/outpost-typescript/src/lib/encodings.ts | 2 +- .../src/lib/is-plain-object.ts | 43 ---------- sdks/outpost-typescript/src/lib/matchers.ts | 2 +- sdks/outpost-typescript/src/lib/primitives.ts | 16 ++++ sdks/outpost-typescript/src/lib/retries.ts | 8 ++ sdks/outpost-typescript/src/lib/sdks.ts | 71 ++++++++++++---- .../src/mcp-server/mcp-server.ts | 2 +- .../src/mcp-server/server.ts | 2 +- .../src/models/components/managedconfig.ts | 20 ++--- 25 files changed, 182 insertions(+), 246 deletions(-) delete mode 100644 sdks/outpost-typescript/src/lib/dlv.ts delete mode 100644 sdks/outpost-typescript/src/lib/is-plain-object.ts diff --git a/.speakeasy/logs/changes/changes.html b/.speakeasy/logs/changes/changes.html index 47434014e..f490ee325 100644 --- a/.speakeasy/logs/changes/changes.html +++ b/.speakeasy/logs/changes/changes.html @@ -4,7 +4,7 @@ - SDK Changelog - python + SDK Changelog - typescript -

Python SDK Changes:

+

Typescript SDK Changes:

diff --git a/.speakeasy/logs/changes/changes.md b/.speakeasy/logs/changes/changes.md index 83833e5de..0b9d7c6e3 100644 --- a/.speakeasy/logs/changes/changes.md +++ b/.speakeasy/logs/changes/changes.md @@ -1,14 +1,14 @@ -## Python SDK Changes: -* `outpost.configuration.get_managed_config()`: `response` **Changed** (Breaking ⚠️) - - `alert_callback_url` **Removed** (Breaking ⚠️) - - `alert_exhausted_retries_window_seconds` **Added** - - `organization_name` **Removed** (Breaking ⚠️) -* `outpost.configuration.update_managed_config()`: +## Typescript SDK Changes: +* `outpost.configuration.getManagedConfig()`: `response` **Changed** (Breaking ⚠️) + - `alertCallbackUrl` **Removed** (Breaking ⚠️) + - `alertExhaustedRetriesWindowSeconds` **Added** + - `organizationName` **Removed** (Breaking ⚠️) +* `outpost.configuration.updateManagedConfig()`: * `request` **Changed** (Breaking ⚠️) - - `alert_callback_url` **Removed** (Breaking ⚠️) - - `alert_exhausted_retries_window_seconds` **Added** - - `organization_name` **Removed** (Breaking ⚠️) + - `alertCallbackUrl` **Removed** (Breaking ⚠️) + - `alertExhaustedRetriesWindowSeconds` **Added** + - `organizationName` **Removed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) - - `alert_callback_url` **Removed** (Breaking ⚠️) - - `alert_exhausted_retries_window_seconds` **Added** - - `organization_name` **Removed** (Breaking ⚠️) + - `alertCallbackUrl` **Removed** (Breaking ⚠️) + - `alertExhaustedRetriesWindowSeconds` **Added** + - `organizationName` **Removed** (Breaking ⚠️) diff --git a/.speakeasy/logs/changes/new.openapi.yaml b/.speakeasy/logs/changes/new.openapi.yaml index 4f37a7715..675d4c8b1 100644 --- a/.speakeasy/logs/changes/new.openapi.yaml +++ b/.speakeasy/logs/changes/new.openapi.yaml @@ -226,13 +226,11 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" - x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null - x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -3307,21 +3305,18 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. - x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -3553,14 +3548,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -3577,7 +3570,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -3758,14 +3750,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3797,7 +3787,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -4451,14 +4440,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -4490,7 +4477,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. diff --git a/.speakeasy/logs/changes/old.openapi.yaml b/.speakeasy/logs/changes/old.openapi.yaml index 02c4340aa..7a7c955ee 100644 --- a/.speakeasy/logs/changes/old.openapi.yaml +++ b/.speakeasy/logs/changes/old.openapi.yaml @@ -226,13 +226,11 @@ components: nullable: true description: Cursor for the next page of results. Null if no more results. example: "MTcwNDA2NzIwMA==" - x-speakeasy-name-override: "next_cursor" prev: type: string nullable: true description: Cursor for the previous page of results. Null if on first page. example: null - x-speakeasy-name-override: "prev_cursor" APIErrorResponse: type: object description: Standard error response format. @@ -3272,21 +3270,18 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" - name: next in: query required: false schema: type: string description: Cursor for the next page of results. Mutually exclusive with `prev`. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for the previous page of results. Mutually exclusive with `next`. - x-speakeasy-name-override: "prev_cursor" responses: "200": description: List of tenants. @@ -3518,14 +3513,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: order_by in: query required: false @@ -3542,7 +3535,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of events. @@ -3723,14 +3715,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -3762,7 +3752,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts. @@ -4416,14 +4405,12 @@ paths: schema: type: string description: Cursor for next page of results. - x-speakeasy-name-override: "next_cursor" - name: prev in: query required: false schema: type: string description: Cursor for previous page of results. - x-speakeasy-name-override: "prev_cursor" - name: include in: query required: false @@ -4455,7 +4442,6 @@ paths: enum: [asc, desc] default: desc description: Sort direction. - x-speakeasy-name-override: "direction" responses: "200": description: A paginated list of attempts for the destination. diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 63056c48e..18cbac47f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.780.0 sources: Outpost API: sourceNamespace: outpost-api - sourceRevisionDigest: sha256:96304f062759f5fc5117c2aaab1cd81139210e92f7ef3bd4e655b6416ad6bc65 - sourceBlobDigest: sha256:22045b6400f7ff362dbec1ec0b490f398fa36df760d82574866161d8d1455821 + sourceRevisionDigest: sha256:24a17a5df69df39bbfcb267ecd21f7f25e819333ec8a28788d2be401da4b418a + sourceBlobDigest: sha256:f0746ce81a2f018b57511af0fce5ce8c7e21ebe6ea1a3ed41b34419a0d8b63f0 tags: - latest - 0.0.1 @@ -39,10 +39,10 @@ targets: outpost-ts: source: Outpost API sourceNamespace: outpost-api - sourceRevisionDigest: sha256:96304f062759f5fc5117c2aaab1cd81139210e92f7ef3bd4e655b6416ad6bc65 - sourceBlobDigest: sha256:22045b6400f7ff362dbec1ec0b490f398fa36df760d82574866161d8d1455821 + sourceRevisionDigest: sha256:24a17a5df69df39bbfcb267ecd21f7f25e819333ec8a28788d2be401da4b418a + sourceBlobDigest: sha256:f0746ce81a2f018b57511af0fce5ce8c7e21ebe6ea1a3ed41b34419a0d8b63f0 codeSamplesNamespace: outpost-api-typescript-code-samples - codeSamplesRevisionDigest: sha256:a15fd6703c88fa061ef44cb88f4c4ecc42fdf4c19350cd971fac05c3758d9336 + codeSamplesRevisionDigest: sha256:c9058af42924432f4201d42c07f43ca7bb4b1ff7ee25e9b3c1387e51e031340c workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/sdks/outpost-typescript/.speakeasy/gen.lock b/sdks/outpost-typescript/.speakeasy/gen.lock index 20b8176ad..43cb60145 100644 --- a/sdks/outpost-typescript/.speakeasy/gen.lock +++ b/sdks/outpost-typescript/.speakeasy/gen.lock @@ -1,26 +1,26 @@ lockVersion: 2.0.0 id: edb58086-83b9-45a3-9095-52bf57a11009 management: - docChecksum: 470afcaf2b59cadf7c023fcf357b65ca + docChecksum: 6a334158a637f335e7e0966f24c17c76 docVersion: 0.0.1 - speakeasyVersion: 1.768.2 - generationVersion: 2.889.1 - releaseVersion: 1.4.0 - configChecksum: 5e4ba798de3a7b387f8d1f953094054c + speakeasyVersion: 1.780.0 + generationVersion: 2.906.0 + releaseVersion: 1.4.1 + configChecksum: 49ca5a5ce85e0e93f508b5c168150627 repoURL: https://github.com/hookdeck/outpost.git repoSubDirectory: sdks/outpost-typescript installationURL: https://github.com/hookdeck/outpost published: true persistentEdits: - generation_id: fc97ef97-a604-428f-bc39-81d367e68e12 - pristine_commit_hash: 55ca5eb615d9cd85736c4ed8dda2d444be31353f - pristine_tree_hash: 65a710fa3d8859f2d39b6386da9579645d6c19f3 + generation_id: 62d6dad2-0ff2-4d8c-9ac3-ffad26456377 + pristine_commit_hash: df658454560cb0602765eeba750e771b77a8ed88 + pristine_tree_hash: 45ce2176a04358f2de63878428fac3db30378a32 features: typescript: additionalDependencies: 0.1.0 additionalProperties: 0.1.3 constsAndDefaults: 0.1.14 - core: 3.27.0 + core: 3.31.1 defaultEnabledRetries: 0.1.0 enumUnions: 0.1.0 envVarSecurityUsage: 0.1.2 @@ -34,7 +34,7 @@ features: nameOverrides: 2.81.4 nullables: 0.1.1 responseFormat: 0.3.0 - retries: 2.83.0 + retries: 2.83.1 sdkHooks: 0.4.0 unions: 2.86.4 trackedFiles: @@ -348,8 +348,8 @@ trackedFiles: pristine_git_object: a059479fd884b79d3d0ece45249299ff92b74047 docs/models/components/managedconfig.md: id: f5084f1c1f7a - last_write_checksum: sha1:ebb5b3761b9e551a5e88380af6baf6d2ff88b2a9 - pristine_git_object: 54635f0036ee132ea15f02aa1a1a86a446354818 + last_write_checksum: sha1:266db67eb27969a1349b4394a6958f0cbee03296 + pristine_git_object: bc76df3eedc0a3f745f9f02a82220d5827a88204 docs/models/components/metricsdatapoint.md: id: dfbc8ed48932 last_write_checksum: sha1:98cd730d46794e7aef19d65e365d7b6f89176487 @@ -904,12 +904,12 @@ trackedFiles: pristine_git_object: c9a9042272cbc4b2cf7ae93f82d4ea8a7d25bba2 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:fb22447a864e48bf40bd764aae6773c6211c3419 - pristine_git_object: b3fb16addfeffad141cb1e91bf4b7cc2b7266c48 + last_write_checksum: sha1:abb467bc0d4ae8e5453eb6f818057597540c9536 + pristine_git_object: c819ded5d1d43d918eaab1d40b151f7bf8be0852 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:7ea45be7fdb354c8946c771281f7600228c9eceb - pristine_git_object: 9fbf2f820b4c5cec2cb1ee1eec28467d792caeb1 + last_write_checksum: sha1:45da602108ed7ecff48b84334d84339f273c13a5 + pristine_git_object: 59939cafee7b4d1f45dc3addbcfaca0904f69ec8 src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:c858d8ea76a86c428e26943bf348319ba0a3c865 @@ -1040,8 +1040,8 @@ trackedFiles: pristine_git_object: f60ec7acd76141a71d78008c5a362eb0236d8335 src/hooks/types.ts: id: 2a02d86ec24f - last_write_checksum: sha1:29372122898cc523fa47576f3f6608a28ec6080e - pristine_git_object: 8bfe4fe8137138decea7af0a5ed791bf01201789 + last_write_checksum: sha1:da18f72efc4b8bef7912bc70fc6166b4be2f8a95 + pristine_git_object: 5ffda46a9def49d060911f29656c75d88095bcdd src/index.ts: id: c5fb850250c7 last_write_checksum: sha1:35c9cde3ae14b18b3f893a1afe8b6c44f8760f24 @@ -1052,16 +1052,12 @@ trackedFiles: pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:f783b09e39aead9020e30a406b5fd7d2dd83fb3b - pristine_git_object: 3e5ea30f9c600fc806984221cffed1e92c1c2090 - src/lib/dlv.ts: - id: b1988214835a - last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250 - pristine_git_object: e81091f5e536f82739f71379b1fddc2d147c49e2 + last_write_checksum: sha1:348c6f0aec3bc8536fa2d4bd0201421b55cba92c + pristine_git_object: 82d5fe064e2f88d0092af8e7a8ae0677dba54031 src/lib/encodings.ts: id: 3bd8ead98afd - last_write_checksum: sha1:d47614c415b37e092965c34cb668562195701004 - pristine_git_object: 2791d25bc4f7cf6eec17a65f899851e225fa3deb + last_write_checksum: sha1:50d9b187dcfc3cca8d3bbd9fe074f865d715d2b0 + pristine_git_object: dcab511b4b4d98f1e4b7dd94866e2b41c478b7f0 src/lib/files.ts: id: e5efa54fcb95 last_write_checksum: sha1:795c14026405d547bfc47012f7ad9666e530fa7f @@ -1070,34 +1066,30 @@ trackedFiles: id: 63a80782d37e last_write_checksum: sha1:797cbf16d3c7c4d62d3ba0eedb08617524938457 pristine_git_object: 13cf1fd7894a89f727b8d2db2ad24313a94f68c7 - src/lib/is-plain-object.ts: - id: b9862591096a - last_write_checksum: sha1:df687f25a9590b6fd95d39df41a652ae3fd4e517 - pristine_git_object: 61070d3d7c7e5e95b1ed7e7ea21869eb0767db77 src/lib/logger.ts: id: 7ee7741a02bf last_write_checksum: sha1:0ec9d3a2a34c362746b767e4f9a746c055d57a7b pristine_git_object: d181f2937d4128afbe9b0327e0f81d1fa9c877b7 src/lib/matchers.ts: id: d54b2253b719 - last_write_checksum: sha1:32bda3887292d2b0430bb6688982e34038342919 - pristine_git_object: b7ef1986eaa94795a3b1a7409e8aeed6591a11e6 + last_write_checksum: sha1:43e3184df0c1dc3d7ba2d50ccdd7655d3a6697ce + pristine_git_object: efc0928ae61beebe1eff5f15c0cc1305fcbaf194 src/lib/primitives.ts: id: 74859f750b28 - last_write_checksum: sha1:987869fc54790b9c22e9182099103d6aa7c67016 - pristine_git_object: d21f1dc49affa4e6d324bdd60811b470fdfa7eb6 + last_write_checksum: sha1:fe3abb7d6b61596e346873519bcec9b2eaa61467 + pristine_git_object: 8ce65db0f7c0d6b68f5edc3ebf518121e284e954 src/lib/retries.ts: id: b24a69d15639 - last_write_checksum: sha1:f3da74dffcbe2756c69393f8600205aa1dc06e68 - pristine_git_object: e3ce9aba72150fc3c18f3105d39b21aba809377b + last_write_checksum: sha1:42c8f6cc4c875be236230a8c760f4f32d8c1ab68 + pristine_git_object: 21a647e1e9ae64817fcd63b5dd6bb5a51b63d225 src/lib/schemas.ts: id: deb4b531fae1 last_write_checksum: sha1:209cfaabfa7fc1c1310f97453215cb0755619c6e pristine_git_object: 47edb9725c2482c667e2ddc8a56b1fec4285c492 src/lib/sdks.ts: id: 8a6d91f1218d - last_write_checksum: sha1:943004827f7fea73bdfa36dc958658450b7ca267 - pristine_git_object: 79d433bddc7dcd83160e704c396b9a2b418b40af + last_write_checksum: sha1:b759eaea4ae69dbc76a50b932cfcb2afbff6400b + pristine_git_object: 05c4bb944f9461ce823d5c93cfc4287b32454443 src/lib/security.ts: id: 0502afa7922e last_write_checksum: sha1:42da73a553537a91dd08a52efa9e6b592f515b5f @@ -1132,8 +1124,8 @@ trackedFiles: pristine_git_object: 0955a573c2ce989d63c737410ab8cc28706d9f74 src/mcp-server/mcp-server.ts: id: aabbc4ab07c1 - last_write_checksum: sha1:976d2a0b644967e4bf05154452bda2da8cd91c6e - pristine_git_object: 5641b3206de9683fd80918ce16a962d65ff03f2a + last_write_checksum: sha1:08ad21b2be6f78a9e903ea2c6af1b822c0c29526 + pristine_git_object: 635d493f573778a4ca59f8eee36db33657c6e4af src/mcp-server/prompts.ts: id: 26f3d73cbf31 last_write_checksum: sha1:3472c8babea2d3b44d3a61e42fbba471fbd936b7 @@ -1148,8 +1140,8 @@ trackedFiles: pristine_git_object: c25696d4c4f70e081fa5d87ad6891874c509a577 src/mcp-server/server.ts: id: 2784dd48e82a - last_write_checksum: sha1:a8ac93eb2400d41367e83d4d1bf5f5ddd19c84be - pristine_git_object: 103ea620607b7fcd8de6acadf164292e295a9dec + last_write_checksum: sha1:1f765f8f51c4e2d731838b430c13158ff4659581 + pristine_git_object: daddfd3b8e9514c479b7596fa04b8133e584d4af src/mcp-server/shared.ts: id: 074e80d4be1e last_write_checksum: sha1:d89576cea2bef3856b7fc3e65b868875528be042 @@ -1532,8 +1524,8 @@ trackedFiles: pristine_git_object: 8ef1965cf279a8d8b5aca7093981332e93312c60 src/models/components/managedconfig.ts: id: f3c9dfef76a1 - last_write_checksum: sha1:8185e1befb628d03c8b45c3d647d5cf9c7886d3e - pristine_git_object: 9531eb0fd8902066bd7f3f44ced6ea86166cd455 + last_write_checksum: sha1:a9937cb94562811387e3065257942cb68e2c7dbd + pristine_git_object: bb87e48c0f6795d170ecf96d73d4a197fa3b459a src/models/components/metricsdatapoint.ts: id: 55e9f7c3cc30 last_write_checksum: sha1:3c1a228845dc83f0b1ea5eb00f807a510fcdd5b4 @@ -2452,9 +2444,7 @@ examples: application/json: {} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: | - ## Typescript SDK Changes: - * `outpost.destinations.update()`: `request.body` **Changed** (Breaking ⚠️) +releaseNotes: "## Typescript SDK Changes:\n* `outpost.configuration.getManagedConfig()`: `response` **Changed** (Breaking ⚠️)\n* `outpost.configuration.updateManagedConfig()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response` **Changed** (Breaking ⚠️)\n" generatedFiles: - .gitattributes - .npmignore diff --git a/sdks/outpost-typescript/.speakeasy/gen.yaml b/sdks/outpost-typescript/.speakeasy/gen.yaml index 06b7c7f03..8a0d88e06 100644 --- a/sdks/outpost-typescript/.speakeasy/gen.yaml +++ b/sdks/outpost-typescript/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false typescript: - version: 1.4.0 + version: 1.4.1 acceptHeaderEnum: true additionalDependencies: dependencies: {} @@ -38,6 +38,7 @@ typescript: additionalPackageJSON: {} additionalScripts: {} alwaysIncludeInboundAndOutbound: false + apiPromiseHelpers: false author: Speakeasy baseErrorName: OutpostError clientServerStatusCodesAsErrors: true @@ -47,6 +48,7 @@ typescript: enableMCPServer: true enableReactQuery: false enumFormat: union + eventStreamClassName: EventStream exportZodModelNamespace: false fixEnumNameSanitization: false flatAdditionalProperties: false @@ -79,6 +81,7 @@ typescript: preApplyUnionDiscriminators: true preserveModelFieldNames: false privateIdentifierPrefix: '#' + requestExtras: false responseFormat: flat sseFlatResponse: false templateVersion: v2 diff --git a/sdks/outpost-typescript/RELEASES.md b/sdks/outpost-typescript/RELEASES.md index b39f5599d..d20ac60ea 100644 --- a/sdks/outpost-typescript/RELEASES.md +++ b/sdks/outpost-typescript/RELEASES.md @@ -178,4 +178,14 @@ Based on: ### Generated - [typescript v1.4.0] sdks/outpost-typescript ### Releases -- [NPM v1.4.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/1.4.0 - sdks/outpost-typescript \ No newline at end of file +- [NPM v1.4.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/1.4.0 - sdks/outpost-typescript + +## 2026-06-16 18:54:28 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.780.0 (2.906.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.4.1] sdks/outpost-typescript +### Releases +- [NPM v1.4.1] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/1.4.1 - sdks/outpost-typescript \ No newline at end of file diff --git a/sdks/outpost-typescript/docs/models/components/managedconfig.md b/sdks/outpost-typescript/docs/models/components/managedconfig.md index 54635f003..bc76df3ee 100644 --- a/sdks/outpost-typescript/docs/models/components/managedconfig.md +++ b/sdks/outpost-typescript/docs/models/components/managedconfig.md @@ -21,8 +21,8 @@ let value: ManagedConfig = { | Field | Type | Required | Description | | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | | `alertAutoDisableDestination` | *string* | :heavy_minus_sign: | N/A | -| `alertCallbackUrl` | *string* | :heavy_minus_sign: | N/A | | `alertConsecutiveFailureCount` | *string* | :heavy_minus_sign: | N/A | +| `alertExhaustedRetriesWindowSeconds` | *string* | :heavy_minus_sign: | N/A | | `deliveryTimeoutSeconds` | *string* | :heavy_minus_sign: | N/A | | `destinationsAwsKinesisMetadataInPayload` | *string* | :heavy_minus_sign: | N/A | | `destinationsIncludeMillisecondTimestamp` | *string* | :heavy_minus_sign: | N/A | @@ -44,7 +44,6 @@ let value: ManagedConfig = { | `idgenEventPrefix` | *string* | :heavy_minus_sign: | N/A | | `idgenType` | *string* | :heavy_minus_sign: | N/A | | `maxDestinationsPerTenant` | *string* | :heavy_minus_sign: | N/A | -| `organizationName` | *string* | :heavy_minus_sign: | N/A | | `portalBrandColor` | *string* | :heavy_minus_sign: | N/A | | `portalDisableOutpostBranding` | *string* | :heavy_minus_sign: | N/A | | `portalFaviconUrl` | *string* | :heavy_minus_sign: | N/A | diff --git a/sdks/outpost-typescript/examples/package-lock.json b/sdks/outpost-typescript/examples/package-lock.json index ece970765..3db6b8ae8 100644 --- a/sdks/outpost-typescript/examples/package-lock.json +++ b/sdks/outpost-typescript/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@hookdeck/outpost-sdk", - "version": "1.4.0", + "version": "1.4.1", "dependencies": { "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" diff --git a/sdks/outpost-typescript/jsr.json b/sdks/outpost-typescript/jsr.json index b3fb16add..c819ded5d 100644 --- a/sdks/outpost-typescript/jsr.json +++ b/sdks/outpost-typescript/jsr.json @@ -2,7 +2,7 @@ { "name": "@hookdeck/outpost-sdk", - "version": "1.4.0", + "version": "1.4.1", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/sdks/outpost-typescript/package-lock.json b/sdks/outpost-typescript/package-lock.json index d887e13bc..cb38e22b6 100644 --- a/sdks/outpost-typescript/package-lock.json +++ b/sdks/outpost-typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hookdeck/outpost-sdk", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hookdeck/outpost-sdk", - "version": "1.4.0", + "version": "1.4.1", "dependencies": { "@modelcontextprotocol/sdk": "^1.26.0", "zod": "^3.25.0 || ^4.0.0" diff --git a/sdks/outpost-typescript/package.json b/sdks/outpost-typescript/package.json index 9fbf2f820..59939cafe 100644 --- a/sdks/outpost-typescript/package.json +++ b/sdks/outpost-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@hookdeck/outpost-sdk", - "version": "1.4.0", + "version": "1.4.1", "author": "Speakeasy", "type": "module", "bin": { diff --git a/sdks/outpost-typescript/src/hooks/types.ts b/sdks/outpost-typescript/src/hooks/types.ts index 8bfe4fe81..5ffda46a9 100644 --- a/sdks/outpost-typescript/src/hooks/types.ts +++ b/sdks/outpost-typescript/src/hooks/types.ts @@ -15,6 +15,7 @@ export type HookContext = { retryConfig: RetryConfig; resolvedSecurity: SecurityState | null; options: SDKOptions; + timeoutMs?: number; }; export type Awaitable = T | Promise; diff --git a/sdks/outpost-typescript/src/lib/config.ts b/sdks/outpost-typescript/src/lib/config.ts index 3e5ea30f9..82d5fe064 100644 --- a/sdks/outpost-typescript/src/lib/config.ts +++ b/sdks/outpost-typescript/src/lib/config.ts @@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "1.4.0", - genVersion: "2.889.1", + sdkVersion: "1.4.1", + genVersion: "2.906.0", userAgent: - "speakeasy-sdk/typescript 1.4.0 2.889.1 0.0.1 @hookdeck/outpost-sdk", + "speakeasy-sdk/typescript 1.4.1 2.906.0 0.0.1 @hookdeck/outpost-sdk", } as const; diff --git a/sdks/outpost-typescript/src/lib/dlv.ts b/sdks/outpost-typescript/src/lib/dlv.ts deleted file mode 100644 index e81091f5e..000000000 --- a/sdks/outpost-typescript/src/lib/dlv.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -/* -MIT License - -Copyright (c) 2024 Jason Miller (http://jasonformat.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -/** - * @param obj The object to walk - * @param key The key path to walk the object with - * @param def A default value to return if the result is undefined - * - * @example - * dlv(obj, "a.b.c.d") - * @example - * dlv(object, ["a", "b", "c", "d"]) - * @example - * dlv(object, "foo.bar.baz", "Hello, default value!") - */ -export function dlv( - obj: any, - key: string | string[], - def?: T, - p?: number, - undef?: never, -): T | undefined { - key = Array.isArray(key) ? key : key.split("."); - for (p = 0; p < key.length; p++) { - const k = key[p]; - obj = k != null && obj ? obj[k] : undef; - } - return obj === undef ? def : obj; -} diff --git a/sdks/outpost-typescript/src/lib/encodings.ts b/sdks/outpost-typescript/src/lib/encodings.ts index 2791d25bc..dcab511b4 100644 --- a/sdks/outpost-typescript/src/lib/encodings.ts +++ b/sdks/outpost-typescript/src/lib/encodings.ts @@ -3,7 +3,7 @@ */ import { bytesToBase64 } from "./base64.js"; -import { isPlainObject } from "./is-plain-object.js"; +import { isPlainObject } from "./primitives.js"; export class EncodingError extends Error { constructor(message: string) { diff --git a/sdks/outpost-typescript/src/lib/is-plain-object.ts b/sdks/outpost-typescript/src/lib/is-plain-object.ts deleted file mode 100644 index 61070d3d7..000000000 --- a/sdks/outpost-typescript/src/lib/is-plain-object.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -/* -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -// Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js - -export function isPlainObject(value: unknown): value is object { - if (typeof value !== "object" || value === null) { - return false; - } - - const prototype = Object.getPrototypeOf(value); - return ( - (prototype === null || - prototype === Object.prototype || - Object.getPrototypeOf(prototype) === null) && - !(Symbol.toStringTag in value) && - !(Symbol.iterator in value) - ); -} diff --git a/sdks/outpost-typescript/src/lib/matchers.ts b/sdks/outpost-typescript/src/lib/matchers.ts index b7ef1986e..efc0928ae 100644 --- a/sdks/outpost-typescript/src/lib/matchers.ts +++ b/sdks/outpost-typescript/src/lib/matchers.ts @@ -6,7 +6,7 @@ import { APIError } from "../models/errors/apierror.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { ERR, OK, Result } from "../types/fp.js"; import { matchResponse, matchStatusCode, StatusCodePredicate } from "./http.js"; -import { isPlainObject } from "./is-plain-object.js"; +import { isPlainObject } from "./primitives.js"; export type Encoding = | "jsonl" diff --git a/sdks/outpost-typescript/src/lib/primitives.ts b/sdks/outpost-typescript/src/lib/primitives.ts index d21f1dc49..8ce65db0f 100644 --- a/sdks/outpost-typescript/src/lib/primitives.ts +++ b/sdks/outpost-typescript/src/lib/primitives.ts @@ -148,3 +148,19 @@ export function allRequired>( return v as ReturnType>; } + +export function isPlainObject( + value: unknown, +): value is Record { + if (value === null || typeof value !== "object") return false; + if (Object.prototype.toString.call(value) !== "[object Object]") return false; + const proto = Object.getPrototypeOf(value); + if (proto === null || proto === Object.prototype) return true; + // cross-realm plain objects (vm contexts, iframes) inherit from a + // different realm's Object.prototype, which itself has a null prototype + try { + return Object.getPrototypeOf(proto) === null; + } catch { + return false; + } +} diff --git a/sdks/outpost-typescript/src/lib/retries.ts b/sdks/outpost-typescript/src/lib/retries.ts index e3ce9aba7..21a647e1e 100644 --- a/sdks/outpost-typescript/src/lib/retries.ts +++ b/sdks/outpost-typescript/src/lib/retries.ts @@ -194,6 +194,14 @@ async function retryBackoff( } function retryIntervalFromResponse(res: Response): number { + const retryAfterMsVal = res.headers.get("retry-after-ms"); + if (retryAfterMsVal) { + const parsedMs = Number(retryAfterMsVal); + if (Number.isFinite(parsedMs) && parsedMs >= 0) { + return parsedMs; + } + } + const retryVal = res.headers.get("retry-after") || ""; if (!retryVal) { return 0; diff --git a/sdks/outpost-typescript/src/lib/sdks.ts b/sdks/outpost-typescript/src/lib/sdks.ts index 79d433bdd..05c4bb944 100644 --- a/sdks/outpost-typescript/src/lib/sdks.ts +++ b/sdks/outpost-typescript/src/lib/sdks.ts @@ -23,6 +23,7 @@ import { matchContentType, } from "./http.js"; import { Logger } from "./logger.js"; +import { combineSignals } from "./primitives.js"; import { retry, RetryConfig } from "./retries.js"; import { SecurityState } from "./security.js"; @@ -128,27 +129,55 @@ export class ClientSDK { if (path) { baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/"; reqURL = new URL(path, baseURL); + if (!reqURL.search && baseURL.search) { + reqURL.search = baseURL.search; + } } else { reqURL = baseURL; } reqURL.hash = ""; - let finalQuery = query || ""; - - const secQuery: string[] = []; - for (const [k, v] of Object.entries(security?.queryParams || {})) { - const q = encodeForm(k, v, { charEncoding: "percent" }); - if (typeof q !== "undefined") { - secQuery.push(q); + // Appends already-encoded query pairs to a query string, replacing any + // existing pairs with the same key so later sources take precedence. + const mergeQuery = (current: string, additions: string): string => { + if (!additions) { + return current; } - } - if (secQuery.length) { - finalQuery += `&${secQuery.join("&")}`; - } + const additionKeys = new Set( + additions + .split("&") + .filter((pair) => pair !== "") + .map((pair) => pair.split("=")[0] ?? ""), + ); + const kept = current.split("&").filter((pair) => { + return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? ""); + }); + return [...kept, additions].join("&"); + }; + + const encodeQueryRecord = (record: Record): string => { + return Object.entries(record) + .map(([k, v]) => { + if (v == null) { + return undefined; + } + const value = v; + return encodeForm(k, value, { + explode: Array.isArray(value), + charEncoding: "percent", + }); + }) + .filter((pair): pair is string => typeof pair !== "undefined") + .join("&"); + }; + + const finalQuery = [ + query || "", + encodeQueryRecord(security?.queryParams || {}), + ].reduce(mergeQuery, reqURL.search.slice(1)); if (finalQuery) { - const q = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery; - reqURL.search = `?${q}`; + reqURL.search = `?${finalQuery}`; } const headers = new Headers(opHeaders); @@ -194,9 +223,8 @@ export class ClientSDK { ...options?.fetchOptions, ...options, }; - if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) { - const timeoutSignal = AbortSignal.timeout(conf.timeoutMs); - fetchOptions.signal = timeoutSignal; + if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) { + context.timeoutMs = conf.timeoutMs; } if (conf.body instanceof ReadableStream) { @@ -243,10 +271,19 @@ export class ClientSDK { > > { const { context, isErrorStatusCode } = options; + const timeoutMs = context.timeoutMs; return retry( async () => { - const req = await this.#hooks.beforeRequest(context, request.clone()); + const cloned = request.clone(); + let attempt = cloned; + if (timeoutMs != null && timeoutMs > 0) { + const timeoutSignal = AbortSignal.timeout(timeoutMs); + const combined = combineSignals(cloned.signal, timeoutSignal) + ?? timeoutSignal; + attempt = new Request(cloned, { signal: combined }); + } + const req = await this.#hooks.beforeRequest(context, attempt); await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e) ); diff --git a/sdks/outpost-typescript/src/mcp-server/mcp-server.ts b/sdks/outpost-typescript/src/mcp-server/mcp-server.ts index 5641b3206..635d493f5 100644 --- a/sdks/outpost-typescript/src/mcp-server/mcp-server.ts +++ b/sdks/outpost-typescript/src/mcp-server/mcp-server.ts @@ -19,7 +19,7 @@ const routes = buildRouteMap({ export const app = buildApplication(routes, { name: "mcp", versionInfo: { - currentVersion: "1.4.0", + currentVersion: "1.4.1", }, }); diff --git a/sdks/outpost-typescript/src/mcp-server/server.ts b/sdks/outpost-typescript/src/mcp-server/server.ts index 103ea6206..daddfd3b8 100644 --- a/sdks/outpost-typescript/src/mcp-server/server.ts +++ b/sdks/outpost-typescript/src/mcp-server/server.ts @@ -53,7 +53,7 @@ export function createMCPServer(deps: { }) { const server = new McpServer({ name: "Outpost", - version: "1.4.0", + version: "1.4.1", }); const client = new OutpostCore({ diff --git a/sdks/outpost-typescript/src/models/components/managedconfig.ts b/sdks/outpost-typescript/src/models/components/managedconfig.ts index 9531eb0fd..bb87e48c0 100644 --- a/sdks/outpost-typescript/src/models/components/managedconfig.ts +++ b/sdks/outpost-typescript/src/models/components/managedconfig.ts @@ -17,8 +17,8 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; */ export type ManagedConfig = { alertAutoDisableDestination?: string | undefined; - alertCallbackUrl?: string | undefined; alertConsecutiveFailureCount?: string | undefined; + alertExhaustedRetriesWindowSeconds?: string | undefined; deliveryTimeoutSeconds?: string | undefined; destinationsAwsKinesisMetadataInPayload?: string | undefined; destinationsIncludeMillisecondTimestamp?: string | undefined; @@ -40,7 +40,6 @@ export type ManagedConfig = { idgenEventPrefix?: string | undefined; idgenType?: string | undefined; maxDestinationsPerTenant?: string | undefined; - organizationName?: string | undefined; portalBrandColor?: string | undefined; portalDisableOutpostBranding?: string | undefined; portalFaviconUrl?: string | undefined; @@ -87,8 +86,8 @@ export const ManagedConfig$inboundSchema: z.ZodType< unknown > = z.object({ ALERT_AUTO_DISABLE_DESTINATION: z.string().optional(), - ALERT_CALLBACK_URL: z.string().optional(), ALERT_CONSECUTIVE_FAILURE_COUNT: z.string().optional(), + ALERT_EXHAUSTED_RETRIES_WINDOW_SECONDS: z.string().optional(), DELIVERY_TIMEOUT_SECONDS: z.string().optional(), DESTINATIONS_AWS_KINESIS_METADATA_IN_PAYLOAD: z.string().optional(), DESTINATIONS_INCLUDE_MILLISECOND_TIMESTAMP: z.string().optional(), @@ -110,7 +109,6 @@ export const ManagedConfig$inboundSchema: z.ZodType< IDGEN_EVENT_PREFIX: z.string().optional(), IDGEN_TYPE: z.string().optional(), MAX_DESTINATIONS_PER_TENANT: z.string().optional(), - ORGANIZATION_NAME: z.string().optional(), PORTAL_BRAND_COLOR: z.string().optional(), PORTAL_DISABLE_OUTPOST_BRANDING: z.string().optional(), PORTAL_FAVICON_URL: z.string().optional(), @@ -151,8 +149,9 @@ export const ManagedConfig$inboundSchema: z.ZodType< }).transform((v) => { return remap$(v, { "ALERT_AUTO_DISABLE_DESTINATION": "alertAutoDisableDestination", - "ALERT_CALLBACK_URL": "alertCallbackUrl", "ALERT_CONSECUTIVE_FAILURE_COUNT": "alertConsecutiveFailureCount", + "ALERT_EXHAUSTED_RETRIES_WINDOW_SECONDS": + "alertExhaustedRetriesWindowSeconds", "DELIVERY_TIMEOUT_SECONDS": "deliveryTimeoutSeconds", "DESTINATIONS_AWS_KINESIS_METADATA_IN_PAYLOAD": "destinationsAwsKinesisMetadataInPayload", @@ -185,7 +184,6 @@ export const ManagedConfig$inboundSchema: z.ZodType< "IDGEN_EVENT_PREFIX": "idgenEventPrefix", "IDGEN_TYPE": "idgenType", "MAX_DESTINATIONS_PER_TENANT": "maxDestinationsPerTenant", - "ORGANIZATION_NAME": "organizationName", "PORTAL_BRAND_COLOR": "portalBrandColor", "PORTAL_DISABLE_OUTPOST_BRANDING": "portalDisableOutpostBranding", "PORTAL_FAVICON_URL": "portalFaviconUrl", @@ -231,8 +229,8 @@ export const ManagedConfig$inboundSchema: z.ZodType< /** @internal */ export type ManagedConfig$Outbound = { ALERT_AUTO_DISABLE_DESTINATION?: string | undefined; - ALERT_CALLBACK_URL?: string | undefined; ALERT_CONSECUTIVE_FAILURE_COUNT?: string | undefined; + ALERT_EXHAUSTED_RETRIES_WINDOW_SECONDS?: string | undefined; DELIVERY_TIMEOUT_SECONDS?: string | undefined; DESTINATIONS_AWS_KINESIS_METADATA_IN_PAYLOAD?: string | undefined; DESTINATIONS_INCLUDE_MILLISECOND_TIMESTAMP?: string | undefined; @@ -254,7 +252,6 @@ export type ManagedConfig$Outbound = { IDGEN_EVENT_PREFIX?: string | undefined; IDGEN_TYPE?: string | undefined; MAX_DESTINATIONS_PER_TENANT?: string | undefined; - ORGANIZATION_NAME?: string | undefined; PORTAL_BRAND_COLOR?: string | undefined; PORTAL_DISABLE_OUTPOST_BRANDING?: string | undefined; PORTAL_FAVICON_URL?: string | undefined; @@ -301,8 +298,8 @@ export const ManagedConfig$outboundSchema: z.ZodType< ManagedConfig > = z.object({ alertAutoDisableDestination: z.string().optional(), - alertCallbackUrl: z.string().optional(), alertConsecutiveFailureCount: z.string().optional(), + alertExhaustedRetriesWindowSeconds: z.string().optional(), deliveryTimeoutSeconds: z.string().optional(), destinationsAwsKinesisMetadataInPayload: z.string().optional(), destinationsIncludeMillisecondTimestamp: z.string().optional(), @@ -324,7 +321,6 @@ export const ManagedConfig$outboundSchema: z.ZodType< idgenEventPrefix: z.string().optional(), idgenType: z.string().optional(), maxDestinationsPerTenant: z.string().optional(), - organizationName: z.string().optional(), portalBrandColor: z.string().optional(), portalDisableOutpostBranding: z.string().optional(), portalFaviconUrl: z.string().optional(), @@ -365,8 +361,9 @@ export const ManagedConfig$outboundSchema: z.ZodType< }).transform((v) => { return remap$(v, { alertAutoDisableDestination: "ALERT_AUTO_DISABLE_DESTINATION", - alertCallbackUrl: "ALERT_CALLBACK_URL", alertConsecutiveFailureCount: "ALERT_CONSECUTIVE_FAILURE_COUNT", + alertExhaustedRetriesWindowSeconds: + "ALERT_EXHAUSTED_RETRIES_WINDOW_SECONDS", deliveryTimeoutSeconds: "DELIVERY_TIMEOUT_SECONDS", destinationsAwsKinesisMetadataInPayload: "DESTINATIONS_AWS_KINESIS_METADATA_IN_PAYLOAD", @@ -399,7 +396,6 @@ export const ManagedConfig$outboundSchema: z.ZodType< idgenEventPrefix: "IDGEN_EVENT_PREFIX", idgenType: "IDGEN_TYPE", maxDestinationsPerTenant: "MAX_DESTINATIONS_PER_TENANT", - organizationName: "ORGANIZATION_NAME", portalBrandColor: "PORTAL_BRAND_COLOR", portalDisableOutpostBranding: "PORTAL_DISABLE_OUTPOST_BRANDING", portalFaviconUrl: "PORTAL_FAVICON_URL",