From 66d254b0c876d2a98def2ef61d29d61d85adcb16 Mon Sep 17 00:00:00 2001 From: Chase Adams Date: Wed, 15 May 2024 10:58:11 -0700 Subject: [PATCH] fix: publish new 201 asset response --- .github/workflows/jest_tests.yaml | 8 +- .speakeasy/gen.lock | 13 +- .speakeasy/workflow.lock | 10 +- codeSamples.yaml | 688 ++-- docs/models/components/session.md | 1 - docs/models/components/signingkey.md | 3 +- docs/models/components/stream.md | 1 - docs/models/components/webhook.md | 1 - docs/models/components/webhookinput.md | 1 - .../models/operations/uploadassetassettask.md | 8 + docs/models/operations/uploadassetdata.md | 2 +- .../operations/uploadassetdataoutput.md | 11 + docs/models/operations/uploadassetresponse.md | 15 +- docs/sdks/webhook/README.md | 2 - gen.yaml | 2 +- jsr.json | 2 +- package-lock.json | 3270 ----------------- package.json | 2 +- src/lib/config.ts | 6 +- src/models/components/asset.ts | 104 +- src/models/components/attestation.ts | 44 +- src/models/components/creatorid.ts | 11 +- src/models/components/ffmpegprofile.ts | 22 +- src/models/components/inputcreatorid.ts | 12 +- src/models/components/playbackinfo.ts | 70 +- src/models/components/playbackpolicy.ts | 11 +- src/models/components/pull.ts | 11 +- src/models/components/session.ts | 21 +- src/models/components/signingkey.ts | 9 - src/models/components/spec.ts | 16 +- src/models/components/storagestatus.ts | 11 +- src/models/components/stream.ts | 28 +- src/models/components/task.ts | 34 +- src/models/components/transcodepayload.ts | 37 +- src/models/components/transcodeprofile.ts | 24 +- src/models/components/webhook.ts | 35 +- .../operations/getcreatorviewershipmetrics.ts | 24 +- src/models/operations/getusagemetrics.ts | 13 +- src/models/operations/getviewershipmetrics.ts | 22 +- src/models/operations/uploadasset.ts | 106 +- src/sdk/asset.ts | 17 +- src/types/enums.ts | 16 + src/types/index.ts | 2 + tests/stream.test.ts | 3 +- 44 files changed, 839 insertions(+), 3910 deletions(-) create mode 100644 docs/models/operations/uploadassetassettask.md create mode 100644 docs/models/operations/uploadassetdataoutput.md delete mode 100644 package-lock.json create mode 100644 src/types/enums.ts diff --git a/.github/workflows/jest_tests.yaml b/.github/workflows/jest_tests.yaml index 1bba0cb..0a6fb46 100644 --- a/.github/workflows/jest_tests.yaml +++ b/.github/workflows/jest_tests.yaml @@ -23,16 +23,16 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - cache: 'npm' + cache: 'yarn' - name: Install dependencies - run: npm install + run: yarn install - name: Build the project - run: npm run build --if-present + run: yarn run build --if-present - name: Run tests - run: npm run test + run: yarn run test - name: Upload Test Results uses: actions/upload-artifact@v2 diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ae3d9f1..67459c6 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 7146d910-ec93-46d4-b2c7-5717a58dd471 management: - docChecksum: 00bb67b4da79d0c7cf7adad96dcb5426 + docChecksum: c6cd3eedbf5e01595a0c3fbecba26c2d docVersion: 1.0.0 - speakeasyVersion: 1.287.0 - generationVersion: 2.331.0 - releaseVersion: 3.2.1 - configChecksum: 6a2e6f22f40fc898c7caf5aa038adfb7 + speakeasyVersion: 1.290.1 + generationVersion: 2.332.4 + releaseVersion: 3.2.2 + configChecksum: 24a4bebf98b9758abcccdef5853258a4 features: typescript: additionalDependencies: 0.1.0 @@ -57,6 +57,7 @@ generatedFiles: - src/models/errors/sdkerror.ts - src/models/errors/sdkvalidationerror.ts - src/types/blobs.ts + - src/types/enums.ts - src/types/index.ts - src/types/operations.ts - src/types/rfcdate.ts @@ -218,6 +219,8 @@ generatedFiles: - docs/models/operations/task.md - docs/models/operations/requestuploaddata.md - docs/models/operations/requestuploadresponse.md + - docs/models/operations/uploadassetassettask.md + - docs/models/operations/uploadassetdataoutput.md - docs/models/operations/uploadassettask.md - docs/models/operations/uploadassetdata.md - docs/models/operations/uploadassetresponse.md diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a3cd106..4cb1575 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,17 +1,17 @@ -speakeasyVersion: 1.287.0 +speakeasyVersion: 1.290.1 sources: livepeer-studio-api: sourceNamespace: livepeer-studio-api - sourceRevisionDigest: sha256:8b9c80b91a7a85be56dee979d479ae7c2ba2ff1c69ee1de3743c7781d04574d1 - sourceBlobDigest: sha256:87e907cb670cc88e16f41406b53dea12d873f17427498e7eb5bddaf36ddeb12c + sourceRevisionDigest: sha256:a4aed305037710bf210fd146cb76483a68d5d55e615b3414abb27f71a82524d8 + sourceBlobDigest: sha256:3f1c32ce4807552fadd1fd2ec94524369972e40ac2205d0e46f02fea4dcf6bf1 tags: - latest targets: livepeer-ts: source: livepeer-studio-api sourceNamespace: livepeer-studio-api - sourceRevisionDigest: sha256:8b9c80b91a7a85be56dee979d479ae7c2ba2ff1c69ee1de3743c7781d04574d1 - sourceBlobDigest: sha256:87e907cb670cc88e16f41406b53dea12d873f17427498e7eb5bddaf36ddeb12c + sourceRevisionDigest: sha256:a4aed305037710bf210fd146cb76483a68d5d55e615b3414abb27f71a82524d8 + sourceBlobDigest: sha256:3f1c32ce4807552fadd1fd2ec94524369972e40ac2205d0e46f02fea4dcf6bf1 outLocation: . workflow: workflowVersion: 1.0.0 diff --git a/codeSamples.yaml b/codeSamples.yaml index 263930f..b684c64 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -3,11 +3,11 @@ info: title: CodeSamples overlay for typescript target version: 0.0.0 actions: - - target: $["paths"]["/room/{id}/user/{userId}"]["put"] + - target: $["paths"]["/multistream/target/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: updateRoomUser + label: getMultistreamTarget source: |- import { Livepeer } from "livepeer"; @@ -16,21 +16,18 @@ actions: }); async function run() { - const result = await livepeer.updateUser("", "", { - canPublish: true, - canPublishData: true, - }); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/session"]["get"] + - target: $["paths"]["/webhook/{id}/log"]["get"] update: x-codeSamples: - lang: typescript - label: getSessions + label: getWebhookLogs source: |- import { Livepeer } from "livepeer"; @@ -39,18 +36,18 @@ actions: }); async function run() { - const result = await livepeer.getAll(); + const result = await livepeer.getLogs(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/room/{id}"]["get"] + - target: $["paths"]["/room/{id}/user/{userId}"]["put"] update: x-codeSamples: - lang: typescript - label: getRoom + label: updateRoomUser source: |- import { Livepeer } from "livepeer"; @@ -59,18 +56,21 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.updateUser("", "", { + canPublish: true, + canPublishData: true, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhook"]["get"] + - target: $["paths"]["/clip"]["post"] update: x-codeSamples: - lang: typescript - label: getWebhooks + label: createClip source: |- import { Livepeer } from "livepeer"; @@ -79,7 +79,13 @@ actions: }); async function run() { - const result = await livepeer.getAll(); + const result = await livepeer.createClip({ + playbackId: "eaw4nk06ts2d0mzb", + startTime: 1587667174725, + endTime: 1587667174725, + name: "My Clip", + sessionId: "de7818e7-610a-4057-8f6f-b785dc1e6f88", + }); // Handle the result console.log(result) @@ -102,7 +108,6 @@ actions: async function run() { const result = await livepeer.create({ name: "test_webhook", - projectId: "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", events: [ Events.StreamStarted, Events.StreamIdle, @@ -117,11 +122,11 @@ actions: } run(); - - target: $["paths"]["/access-control/signing-key/{keyId}"]["get"] + - target: $["paths"]["/webhook/{id}/log/{logId}/resend"]["post"] update: x-codeSamples: - lang: typescript - label: getSigningKey + label: resendWebhook source: |- import { Livepeer } from "livepeer"; @@ -130,18 +135,18 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.resendLog("", ""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/task"]["get"] + - target: $["paths"]["/room/{id}"]["delete"] update: x-codeSamples: - lang: typescript - label: getTasks + label: deleteRoom source: |- import { Livepeer } from "livepeer"; @@ -150,18 +155,18 @@ actions: }); async function run() { - const result = await livepeer.getAll(); + const result = await livepeer.delete(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/asset/{assetId}"]["get"] + - target: $["paths"]["/data/views/query/total/{playbackId}"]["get"] update: x-codeSamples: - lang: typescript - label: getAsset + label: getPublicViewershipMetrics source: |- import { Livepeer } from "livepeer"; @@ -170,18 +175,18 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.getPublicViewership(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/session/{id}"]["get"] + - target: $["paths"]["/stream/{id}/create-multistream-target"]["post"] update: x-codeSamples: - lang: typescript - label: getSession + label: addMultistreamTarget source: |- import { Livepeer } from "livepeer"; @@ -190,18 +195,26 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.addMultistreamTarget("", { + profile: "720p0", + videoOnly: false, + id: "PUSH123", + spec: { + name: "My target", + url: "rtmps://live.my-service.tv/channel/secretKey", + }, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/room/{id}/user"]["post"] + - target: $["paths"]["/webhook"]["get"] update: x-codeSamples: - lang: typescript - label: createRoomUser + label: getWebhooks source: |- import { Livepeer } from "livepeer"; @@ -210,11 +223,27 @@ actions: }); async function run() { - const result = await livepeer.createUser("", { - name: "name", - canPublish: true, - canPublishData: true, - }); + const result = await livepeer.getAll(); + + // Handle the result + console.log(result) + } + + run(); + - target: $["paths"]["/webhook/{id}/log/{logId}"]["get"] + update: + x-codeSamples: + - lang: typescript + label: getWebhookLog + source: |- + import { Livepeer } from "livepeer"; + + const livepeer = new Livepeer({ + apiKey: "", + }); + + async function run() { + const result = await livepeer.getLog("", ""); // Handle the result console.log(result) @@ -241,31 +270,42 @@ actions: } run(); - - target: $["paths"]["/room/{id}/user/{userId}"]["get"] + - target: $["paths"]["/asset/{assetId}"]["patch"] update: x-codeSamples: - lang: typescript - label: getRoomUser + label: updateAsset source: |- import { Livepeer } from "livepeer"; + import { Type } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.getUser("", ""); + const result = await livepeer.update("", { + name: "filename.mp4", + playbackPolicy: { + type: Type.Webhook, + webhookId: "1bde4o2i6xycudoy", + webhookContext: { + "streamerId": "my-custom-id", + }, + refreshInterval: 600, + }, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/data/views/query/creator"]["get"] + - target: $["paths"]["/room/{id}/user"]["post"] update: x-codeSamples: - lang: typescript - label: getCreatorViewershipMetrics + label: createRoomUser source: |- import { Livepeer } from "livepeer"; @@ -274,18 +314,22 @@ actions: }); async function run() { - const result = await livepeer.getCreatorViewership({}); + const result = await livepeer.createUser("", { + name: "name", + canPublish: true, + canPublishData: true, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/task/{taskId}"]["get"] + - target: $["paths"]["/access-control/signing-key"]["post"] update: x-codeSamples: - lang: typescript - label: getTask + label: createSigningKey source: |- import { Livepeer } from "livepeer"; @@ -294,18 +338,18 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.create(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/clip"]["post"] + - target: $["paths"]["/access-control/signing-key/{keyId}"]["get"] update: x-codeSamples: - lang: typescript - label: createClip + label: getSigningKey source: |- import { Livepeer } from "livepeer"; @@ -314,27 +358,21 @@ actions: }); async function run() { - const result = await livepeer.createClip({ - playbackId: "eaw4nk06ts2d0mzb", - startTime: 1587667174725, - endTime: 1587667174725, - name: "My Clip", - sessionId: "de7818e7-610a-4057-8f6f-b785dc1e6f88", - }); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}"]["patch"] + - target: $["paths"]["/webhook/{id}"]["put"] update: x-codeSamples: - lang: typescript - label: updateStream + label: updateWebhook source: |- import { Livepeer } from "livepeer"; - import { Profile, Type } from "livepeer/models/components"; + import { Events } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", @@ -342,41 +380,14 @@ actions: async function run() { const result = await livepeer.update("", { - record: false, - multistream: { - targets: [ - { - profile: "720p", - videoOnly: false, - id: "PUSH123", - spec: { - name: "My target", - url: "rtmps://live.my-service.tv/channel/secretKey", - }, - }, - ], - }, - playbackPolicy: { - type: Type.Webhook, - webhookId: "1bde4o2i6xycudoy", - webhookContext: { - "streamerId": "my-custom-id", - }, - refreshInterval: 600, - }, - profiles: [ - { - width: 1280, - name: "720p", - height: 857478, - bitrate: 3000000, - fps: 30, - fpsDen: 1, - quality: 23, - gop: "2", - profile: Profile.H264Baseline, - }, + name: "test_webhook", + events: [ + Events.StreamStarted, + Events.StreamIdle, ], + url: "https://my-service.com/webhook", + sharedSecret: "my-secret", + streamId: "de7818e7-610a-4057-8f6f-b785dc1e6f88", }); // Handle the result @@ -384,11 +395,11 @@ actions: } run(); - - target: $["paths"]["/data/views/query/total/{playbackId}"]["get"] + - target: $["paths"]["/webhook/{id}"]["delete"] update: x-codeSamples: - lang: typescript - label: getPublicViewershipMetrics + label: deleteWebhook source: |- import { Livepeer } from "livepeer"; @@ -397,86 +408,38 @@ actions: }); async function run() { - const result = await livepeer.getPublicViewership(""); + const result = await livepeer.delete(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream"]["post"] + - target: $["paths"]["/data/views/query/creator"]["get"] update: x-codeSamples: - lang: typescript - label: createStream + label: getCreatorViewershipMetrics source: |- import { Livepeer } from "livepeer"; - import { Profile, Type } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.create({ - name: "test_stream", - pull: { - source: "https://myservice.com/live/stream.flv", - headers: { - "Authorization": "Bearer 123", - }, - location: { - lat: 39.739, - lon: -104.988, - }, - }, - playbackPolicy: { - type: Type.Webhook, - webhookId: "1bde4o2i6xycudoy", - webhookContext: { - "streamerId": "my-custom-id", - }, - refreshInterval: 600, - }, - profiles: [ - { - width: 1280, - name: "720p", - height: 486589, - bitrate: 3000000, - fps: 30, - fpsDen: 1, - quality: 23, - gop: "2", - profile: Profile.H264Baseline, - }, - ], - record: false, - multistream: { - targets: [ - { - profile: "720p", - videoOnly: false, - id: "PUSH123", - spec: { - name: "My target", - url: "rtmps://live.my-service.tv/channel/secretKey", - }, - }, - ], - }, - }); + const result = await livepeer.getCreatorViewership({}); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}/terminate"]["delete"] + - target: $["paths"]["/stream/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: terminateStream + label: getStream source: |- import { Livepeer } from "livepeer"; @@ -485,18 +448,18 @@ actions: }); async function run() { - const result = await livepeer.terminate(""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhook/{id}/log"]["get"] + - target: $["paths"]["/asset/{assetId}"]["get"] update: x-codeSamples: - lang: typescript - label: getWebhookLogs + label: getAsset source: |- import { Livepeer } from "livepeer"; @@ -505,18 +468,18 @@ actions: }); async function run() { - const result = await livepeer.getLogs(""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhook/{id}/log/{logId}"]["get"] + - target: $["paths"]["/room/{id}/egress"]["post"] update: x-codeSamples: - lang: typescript - label: getWebhookLog + label: startRoomEgress source: |- import { Livepeer } from "livepeer"; @@ -525,18 +488,20 @@ actions: }); async function run() { - const result = await livepeer.getLog("", ""); + const result = await livepeer.startEgress("", { + streamId: "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{parentId}/sessions"]["get"] + - target: $["paths"]["/data/views/query"]["get"] update: x-codeSamples: - lang: typescript - label: getRecordedSessions + label: getViewershipMetrics source: |- import { Livepeer } from "livepeer"; @@ -545,18 +510,18 @@ actions: }); async function run() { - const result = await livepeer.getRecorded("", 1); + const result = await livepeer.getViewership({}); // Handle the result console.log(result) } run(); - - target: $["paths"]["/playback/{id}"]["get"] + - target: $["paths"]["/multistream/target"]["post"] update: x-codeSamples: - lang: typescript - label: getPlaybackInfo + label: createMultistreamTarget source: |- import { Livepeer } from "livepeer"; @@ -565,18 +530,20 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.create({ + url: "rtmps://live.my-service.tv/channel/secretKey", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream"]["get"] + - target: $["paths"]["/webhook/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: getStreams + label: getWebhook source: |- import { Livepeer } from "livepeer"; @@ -585,18 +552,18 @@ actions: }); async function run() { - const result = await livepeer.getAll(""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}/multistream/{targetId}"]["delete"] + - target: $["paths"]["/room/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: removeMultistreamTarget + label: getRoom source: |- import { Livepeer } from "livepeer"; @@ -605,18 +572,18 @@ actions: }); async function run() { - const result = await livepeer.removeMultistreamTarget("", ""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/data/views/query"]["get"] + - target: $["paths"]["/room/{id}/user/{userId}"]["get"] update: x-codeSamples: - lang: typescript - label: getViewershipMetrics + label: getRoomUser source: |- import { Livepeer } from "livepeer"; @@ -625,38 +592,39 @@ actions: }); async function run() { - const result = await livepeer.getViewership({}); + const result = await livepeer.getUser("", ""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}/start-pull"]["post"] + - target: $["paths"]["/data/usage/query"]["get"] update: x-codeSamples: - lang: typescript - label: startPullStream + label: getUsageMetrics source: |- import { Livepeer } from "livepeer"; + import { GetUsageMetricsQueryParamTimeStep } from "livepeer/models/operations"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.startPull(""); + const result = await livepeer.getUsage(224089, 231125, GetUsageMetricsQueryParamTimeStep.Day, ""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/room/{id}"]["delete"] + - target: $["paths"]["/task/{taskId}"]["get"] update: x-codeSamples: - lang: typescript - label: deleteRoom + label: getTask source: |- import { Livepeer } from "livepeer"; @@ -665,18 +633,18 @@ actions: }); async function run() { - const result = await livepeer.delete(""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/access-control/signing-key"]["post"] + - target: $["paths"]["/room/{id}/egress"]["delete"] update: x-codeSamples: - lang: typescript - label: createSigningKey + label: stopRoomEgress source: |- import { Livepeer } from "livepeer"; @@ -685,61 +653,62 @@ actions: }); async function run() { - const result = await livepeer.create(); + const result = await livepeer.stopEgress(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhook/{id}"]["put"] + - target: $["paths"]["/access-control/signing-key"]["get"] update: x-codeSamples: - lang: typescript - label: updateWebhook + label: getSigningKeys source: |- import { Livepeer } from "livepeer"; - import { Events } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.update("", { - name: "test_webhook", - projectId: "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", - events: [ - Events.StreamStarted, - Events.StreamIdle, - ], - url: "https://my-service.com/webhook", - sharedSecret: "my-secret", - streamId: "de7818e7-610a-4057-8f6f-b785dc1e6f88", - }); + const result = await livepeer.getAll(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/asset/upload/url"]["post"] + - target: $["paths"]["/stream/{id}"]["patch"] update: x-codeSamples: - lang: typescript - label: uploadAsset + label: updateStream source: |- import { Livepeer } from "livepeer"; - import { TranscodeProfileEncoder, TranscodeProfileProfile, Type } from "livepeer/models/components"; + import { Profile, Type } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.createViaUrl({ - name: "filename.mp4", - staticMp4: true, + const result = await livepeer.update("", { + record: false, + multistream: { + targets: [ + { + profile: "720p", + videoOnly: false, + id: "PUSH123", + spec: { + name: "My target", + url: "rtmps://live.my-service.tv/channel/secretKey", + }, + }, + ], + }, playbackPolicy: { type: Type.Webhook, webhookId: "1bde4o2i6xycudoy", @@ -748,18 +717,17 @@ actions: }, refreshInterval: 600, }, - url: "https://s3.amazonaws.com/my-bucket/path/filename.mp4", profiles: [ { width: 1280, name: "720p", + height: 857478, bitrate: 3000000, - quality: 23, fps: 30, fpsDen: 1, + quality: 23, gop: "2", - profile: TranscodeProfileProfile.H264Baseline, - encoder: TranscodeProfileEncoder.H264, + profile: Profile.H264Baseline, }, ], }); @@ -769,73 +737,11 @@ actions: } run(); - - target: $["paths"]["/room/{id}/egress"]["post"] - update: - x-codeSamples: - - lang: typescript - label: startRoomEgress - source: |- - import { Livepeer } from "livepeer"; - - const livepeer = new Livepeer({ - apiKey: "", - }); - - async function run() { - const result = await livepeer.startEgress("", { - streamId: "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", - }); - - // Handle the result - console.log(result) - } - - run(); - - target: $["paths"]["/room/{id}/user/{userId}"]["delete"] - update: - x-codeSamples: - - lang: typescript - label: deleteRoomUser - source: |- - import { Livepeer } from "livepeer"; - - const livepeer = new Livepeer({ - apiKey: "", - }); - - async function run() { - const result = await livepeer.deleteUser("", ""); - - // Handle the result - console.log(result) - } - - run(); - - target: $["paths"]["/access-control/signing-key/{keyId}"]["patch"] - update: - x-codeSamples: - - lang: typescript - label: updateSigningKey - source: |- - import { Livepeer } from "livepeer"; - - const livepeer = new Livepeer({ - apiKey: "", - }); - - async function run() { - const result = await livepeer.update("", {}); - - // Handle the result - console.log(result) - } - - run(); - - target: $["paths"]["/stream/{id}"]["get"] + - target: $["paths"]["/stream/{id}"]["delete"] update: x-codeSamples: - lang: typescript - label: getStream + label: deleteStream source: |- import { Livepeer } from "livepeer"; @@ -844,18 +750,18 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.delete(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/multistream/target/{id}"]["delete"] + - target: $["paths"]["/stream/{parentId}/sessions"]["get"] update: x-codeSamples: - lang: typescript - label: deleteMultistreamTarget + label: getRecordedSessions source: |- import { Livepeer } from "livepeer"; @@ -864,28 +770,52 @@ actions: }); async function run() { - const result = await livepeer.delete(""); + const result = await livepeer.getRecorded("", 1); // Handle the result console.log(result) } run(); - - target: $["paths"]["/multistream/target"]["post"] + - target: $["paths"]["/asset/upload/url"]["post"] update: x-codeSamples: - lang: typescript - label: createMultistreamTarget + label: uploadAsset source: |- import { Livepeer } from "livepeer"; + import { TranscodeProfileEncoder, TranscodeProfileProfile, Type } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.create({ - url: "rtmps://live.my-service.tv/channel/secretKey", + const result = await livepeer.createViaUrl({ + name: "filename.mp4", + staticMp4: true, + playbackPolicy: { + type: Type.Webhook, + webhookId: "1bde4o2i6xycudoy", + webhookContext: { + "streamerId": "my-custom-id", + }, + refreshInterval: 600, + }, + url: "https://s3.amazonaws.com/my-bucket/path/filename.mp4", + profiles: [ + { + width: 1280, + name: "720p", + bitrate: 3000000, + quality: 23, + fps: 30, + fpsDen: 1, + gop: "2", + profile: TranscodeProfileProfile.H264Baseline, + encoder: TranscodeProfileEncoder.H264, + }, + ], }); // Handle the result @@ -893,11 +823,11 @@ actions: } run(); - - target: $["paths"]["/webhook/{id}"]["get"] + - target: $["paths"]["/session"]["get"] update: x-codeSamples: - lang: typescript - label: getWebhook + label: getSessions source: |- import { Livepeer } from "livepeer"; @@ -906,18 +836,18 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.getAll(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhook/{id}"]["delete"] + - target: $["paths"]["/room"]["post"] update: x-codeSamples: - lang: typescript - label: deleteWebhook + label: createRoom source: |- import { Livepeer } from "livepeer"; @@ -926,49 +856,38 @@ actions: }); async function run() { - const result = await livepeer.delete(""); + const result = await livepeer.create(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/asset/{assetId}"]["patch"] + - target: $["paths"]["/stream/{id}/terminate"]["delete"] update: x-codeSamples: - lang: typescript - label: updateAsset + label: terminateStream source: |- import { Livepeer } from "livepeer"; - import { Type } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.update("", { - name: "filename.mp4", - playbackPolicy: { - type: Type.Webhook, - webhookId: "1bde4o2i6xycudoy", - webhookContext: { - "streamerId": "my-custom-id", - }, - refreshInterval: 600, - }, - }); + const result = await livepeer.terminate(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/session/{id}/clips"]["get"] + - target: $["paths"]["/multistream/target/{id}"]["delete"] update: x-codeSamples: - lang: typescript - label: getSessionClips + label: deleteMultistreamTarget source: |- import { Livepeer } from "livepeer"; @@ -977,38 +896,86 @@ actions: }); async function run() { - const result = await livepeer.getClips(""); + const result = await livepeer.delete(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/room"]["post"] + - target: $["paths"]["/stream"]["post"] update: x-codeSamples: - lang: typescript - label: createRoom + label: createStream source: |- import { Livepeer } from "livepeer"; + import { Profile, Type } from "livepeer/models/components"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.create(); + const result = await livepeer.create({ + name: "test_stream", + pull: { + source: "https://myservice.com/live/stream.flv", + headers: { + "Authorization": "Bearer 123", + }, + location: { + lat: 39.739, + lon: -104.988, + }, + }, + playbackPolicy: { + type: Type.Webhook, + webhookId: "1bde4o2i6xycudoy", + webhookContext: { + "streamerId": "my-custom-id", + }, + refreshInterval: 600, + }, + profiles: [ + { + width: 1280, + name: "720p", + height: 486589, + bitrate: 3000000, + fps: 30, + fpsDen: 1, + quality: 23, + gop: "2", + profile: Profile.H264Baseline, + }, + ], + record: false, + multistream: { + targets: [ + { + profile: "720p", + videoOnly: false, + id: "PUSH123", + spec: { + name: "My target", + url: "rtmps://live.my-service.tv/channel/secretKey", + }, + }, + ], + }, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}/clips"]["get"] + - target: $["paths"]["/session/{id}/clips"]["get"] update: x-codeSamples: - lang: typescript - label: getClips + label: getSessionClips source: |- import { Livepeer } from "livepeer"; @@ -1024,11 +991,11 @@ actions: } run(); - - target: $["paths"]["/access-control/signing-key/{keyId}"]["delete"] + - target: $["paths"]["/multistream/target"]["get"] update: x-codeSamples: - lang: typescript - label: deleteSigningKey + label: getMultistreamTargets source: |- import { Livepeer } from "livepeer"; @@ -1037,18 +1004,18 @@ actions: }); async function run() { - const result = await livepeer.delete(""); + const result = await livepeer.getAll(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/webhook/{id}/log/{logId}/resend"]["post"] + - target: $["paths"]["/asset/{assetId}"]["delete"] update: x-codeSamples: - lang: typescript - label: resendWebhook + label: deleteAsset source: |- import { Livepeer } from "livepeer"; @@ -1057,18 +1024,18 @@ actions: }); async function run() { - const result = await livepeer.resendLog("", ""); + const result = await livepeer.delete(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}/create-multistream-target"]["post"] + - target: $["paths"]["/task"]["get"] update: x-codeSamples: - lang: typescript - label: addMultistreamTarget + label: getTasks source: |- import { Livepeer } from "livepeer"; @@ -1077,26 +1044,18 @@ actions: }); async function run() { - const result = await livepeer.addMultistreamTarget("", { - profile: "720p0", - videoOnly: false, - id: "PUSH123", - spec: { - name: "My target", - url: "rtmps://live.my-service.tv/channel/secretKey", - }, - }); + const result = await livepeer.getAll(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/multistream/target/{id}"]["get"] + - target: $["paths"]["/stream/{id}/start-pull"]["post"] update: x-codeSamples: - lang: typescript - label: getMultistreamTarget + label: startPullStream source: |- import { Livepeer } from "livepeer"; @@ -1105,18 +1064,18 @@ actions: }); async function run() { - const result = await livepeer.get(""); + const result = await livepeer.startPull(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/multistream/target/{id}"]["patch"] + - target: $["paths"]["/stream/{id}/clips"]["get"] update: x-codeSamples: - lang: typescript - label: updateMultistreamTarget + label: getClips source: |- import { Livepeer } from "livepeer"; @@ -1125,9 +1084,7 @@ actions: }); async function run() { - const result = await livepeer.update("", { - url: "rtmps://live.my-service.tv/channel/secretKey", - }); + const result = await livepeer.getClips(""); // Handle the result console.log(result) @@ -1214,11 +1171,11 @@ actions: } run(); - - target: $["paths"]["/asset/{assetId}"]["delete"] + - target: $["paths"]["/session/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: deleteAsset + label: getSession source: |- import { Livepeer } from "livepeer"; @@ -1227,39 +1184,38 @@ actions: }); async function run() { - const result = await livepeer.delete(""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/data/usage/query"]["get"] + - target: $["paths"]["/playback/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: getUsageMetrics + label: getPlaybackInfo source: |- import { Livepeer } from "livepeer"; - import { GetUsageMetricsQueryParamTimeStep } from "livepeer/models/operations"; const livepeer = new Livepeer({ apiKey: "", }); async function run() { - const result = await livepeer.getUsage(224089, 231125, GetUsageMetricsQueryParamTimeStep.Day, ""); + const result = await livepeer.get(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/access-control/signing-key"]["get"] + - target: $["paths"]["/stream/{id}/multistream/{targetId}"]["delete"] update: x-codeSamples: - lang: typescript - label: getSigningKeys + label: removeMultistreamTarget source: |- import { Livepeer } from "livepeer"; @@ -1268,18 +1224,18 @@ actions: }); async function run() { - const result = await livepeer.getAll(); + const result = await livepeer.removeMultistreamTarget("", ""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/stream/{id}"]["delete"] + - target: $["paths"]["/multistream/target/{id}"]["patch"] update: x-codeSamples: - lang: typescript - label: deleteStream + label: updateMultistreamTarget source: |- import { Livepeer } from "livepeer"; @@ -1288,7 +1244,29 @@ actions: }); async function run() { - const result = await livepeer.delete(""); + const result = await livepeer.update("", { + url: "rtmps://live.my-service.tv/channel/secretKey", + }); + + // Handle the result + console.log(result) + } + + run(); + - target: $["paths"]["/room/{id}/user/{userId}"]["delete"] + update: + x-codeSamples: + - lang: typescript + label: deleteRoomUser + source: |- + import { Livepeer } from "livepeer"; + + const livepeer = new Livepeer({ + apiKey: "", + }); + + async function run() { + const result = await livepeer.deleteUser("", ""); // Handle the result console.log(result) @@ -1353,11 +1331,11 @@ actions: } run(); - - target: $["paths"]["/room/{id}/egress"]["delete"] + - target: $["paths"]["/stream"]["get"] update: x-codeSamples: - lang: typescript - label: stopRoomEgress + label: getStreams source: |- import { Livepeer } from "livepeer"; @@ -1366,18 +1344,18 @@ actions: }); async function run() { - const result = await livepeer.stopEgress(""); + const result = await livepeer.getAll(""); // Handle the result console.log(result) } run(); - - target: $["paths"]["/multistream/target"]["get"] + - target: $["paths"]["/access-control/signing-key/{keyId}"]["delete"] update: x-codeSamples: - lang: typescript - label: getMultistreamTargets + label: deleteSigningKey source: |- import { Livepeer } from "livepeer"; @@ -1386,7 +1364,27 @@ actions: }); async function run() { - const result = await livepeer.getAll(); + const result = await livepeer.delete(""); + + // Handle the result + console.log(result) + } + + run(); + - target: $["paths"]["/access-control/signing-key/{keyId}"]["patch"] + update: + x-codeSamples: + - lang: typescript + label: updateSigningKey + source: |- + import { Livepeer } from "livepeer"; + + const livepeer = new Livepeer({ + apiKey: "", + }); + + async function run() { + const result = await livepeer.update("", {}); // Handle the result console.log(result) diff --git a/docs/models/components/session.md b/docs/models/components/session.md index 26c502e..7a180f4 100644 --- a/docs/models/components/session.md +++ b/docs/models/components/session.md @@ -22,7 +22,6 @@ | `issues` | *string*[] | :heavy_minus_sign: | A string array of human-readable errors describing issues affecting the stream, if any. | | | `createdAt` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) at which stream object was created | 1587667174725 | | `parentId` | *string* | :heavy_minus_sign: | Points to parent stream object | de7818e7-610a-4057-8f6f-b785dc1e6f88 | -| `projectId` | *string* | :heavy_minus_sign: | The ID of the project | aac12556-4d65-4d34-9fb6-d1f0985eb0a9 | | `record` | *boolean* | :heavy_minus_sign: | Whether the stream should be recorded. Uses default settings. For more customization, create and configure an object store.
| false | | `recordingStatus` | [components.RecordingStatus](../../models/components/recordingstatus.md) | :heavy_minus_sign: | The status of the recording process of this stream session. | | | `recordingUrl` | *string* | :heavy_minus_sign: | URL for accessing the recording of this stream session. | | diff --git a/docs/models/components/signingkey.md b/docs/models/components/signingkey.md index 25bba38..76718d8 100644 --- a/docs/models/components/signingkey.md +++ b/docs/models/components/signingkey.md @@ -11,5 +11,4 @@ | `createdAt` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) at which the signing-key was created | 1587667174725 | | `lastSeen` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) at which the signing-key was last used | 1587667174725 | | `publicKey` | *string* | :heavy_check_mark: | N/A | | -| `disabled` | *boolean* | :heavy_minus_sign: | Disable the signing key to allow rotation safely | false | -| `projectId` | *string* | :heavy_minus_sign: | The ID of the project | aac12556-4d65-4d34-9fb | \ No newline at end of file +| `disabled` | *boolean* | :heavy_minus_sign: | Disable the signing key to allow rotation safely | false | \ No newline at end of file diff --git a/docs/models/components/stream.md b/docs/models/components/stream.md index ac124ae..348d221 100644 --- a/docs/models/components/stream.md +++ b/docs/models/components/stream.md @@ -30,7 +30,6 @@ | `playbackId` | *string* | :heavy_minus_sign: | The playback ID to use with the Playback Info endpoint to retrieve playback URLs. | eaw4nk06ts2d0mzb | | `playbackPolicy` | [components.PlaybackPolicy](../../models/components/playbackpolicy.md) | :heavy_minus_sign: | Whether the playback policy for a asset or stream is public or signed | | | `profiles` | [components.FfmpegProfile](../../models/components/ffmpegprofile.md)[] | :heavy_minus_sign: | N/A | | -| `projectId` | *string* | :heavy_minus_sign: | The ID of the project | aac12556-4d65-4d34-9fb6-d1f0985eb0a9 | | `record` | *boolean* | :heavy_minus_sign: | Should this stream be recorded? Uses default settings. For more
customization, create and configure an object store.
| false | | `multistream` | [components.StreamMultistream](../../models/components/streammultistream.md) | :heavy_minus_sign: | N/A | | | `suspended` | *boolean* | :heavy_minus_sign: | If currently suspended | | diff --git a/docs/models/components/webhook.md b/docs/models/components/webhook.md index 6b7e4ab..be73b67 100644 --- a/docs/models/components/webhook.md +++ b/docs/models/components/webhook.md @@ -9,7 +9,6 @@ | `name` | *string* | :heavy_check_mark: | N/A | test_webhook | | ~~`kind`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | webhook | | ~~`userId`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | -| `projectId` | *string* | :heavy_minus_sign: | The ID of the project | aac12556-4d65-4d34-9fb6-d1f0985eb0a9 | | `createdAt` | *number* | :heavy_minus_sign: | Timestamp (in milliseconds) at which stream object was created | 1587667174725 | | `events` | [components.Events](../../models/components/events.md)[] | :heavy_minus_sign: | N/A | [
"stream.started",
"stream.idle"
] | | `url` | *string* | :heavy_check_mark: | N/A | https://my-service.com/webhook | diff --git a/docs/models/components/webhookinput.md b/docs/models/components/webhookinput.md index be38805..58da21e 100644 --- a/docs/models/components/webhookinput.md +++ b/docs/models/components/webhookinput.md @@ -6,7 +6,6 @@ | Field | Type | Required | Description | Example | | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | | `name` | *string* | :heavy_check_mark: | N/A | test_webhook | -| `projectId` | *string* | :heavy_minus_sign: | The ID of the project | aac12556-4d65-4d34-9fb6-d1f0985eb0a9 | | `events` | [components.Events](../../models/components/events.md)[] | :heavy_minus_sign: | N/A | [
"stream.started",
"stream.idle"
] | | `url` | *string* | :heavy_check_mark: | N/A | https://my-service.com/webhook | | `sharedSecret` | *string* | :heavy_minus_sign: | shared secret used to sign the webhook payload | my-secret | diff --git a/docs/models/operations/uploadassetassettask.md b/docs/models/operations/uploadassetassettask.md new file mode 100644 index 0000000..f8e2eac --- /dev/null +++ b/docs/models/operations/uploadassetassettask.md @@ -0,0 +1,8 @@ +# UploadAssetAssetTask + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *string* | :heavy_minus_sign: | N/A | 34d7618e-fd42-4798-acf5-19504616a11e | \ No newline at end of file diff --git a/docs/models/operations/uploadassetdata.md b/docs/models/operations/uploadassetdata.md index 07e0a40..8afa735 100644 --- a/docs/models/operations/uploadassetdata.md +++ b/docs/models/operations/uploadassetdata.md @@ -1,6 +1,6 @@ # UploadAssetData -Success +Import in progress ## Fields diff --git a/docs/models/operations/uploadassetdataoutput.md b/docs/models/operations/uploadassetdataoutput.md new file mode 100644 index 0000000..bde4245 --- /dev/null +++ b/docs/models/operations/uploadassetdataoutput.md @@ -0,0 +1,11 @@ +# UploadAssetDataOutput + +Success + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `asset` | [components.Asset](../../models/components/asset.md) | :heavy_check_mark: | N/A | +| `task` | [operations.UploadAssetAssetTask](../../models/operations/uploadassetassettask.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/uploadassetresponse.md b/docs/models/operations/uploadassetresponse.md index f4bd0b2..6794a1b 100644 --- a/docs/models/operations/uploadassetresponse.md +++ b/docs/models/operations/uploadassetresponse.md @@ -3,10 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | -| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation | -| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `data` | [operations.UploadAssetData](../../models/operations/uploadassetdata.md) | :heavy_minus_sign: | Success | -| `error` | *errors.ErrorT* | :heavy_minus_sign: | Error | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | +| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation | +| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `twoHundredApplicationJsonData` | [operations.UploadAssetData](../../models/operations/uploadassetdata.md) | :heavy_minus_sign: | Import in progress | +| `twoHundredAndOneApplicationJsonData` | [operations.UploadAssetDataOutput](../../models/operations/uploadassetdataoutput.md) | :heavy_minus_sign: | Success | +| `error` | *errors.ErrorT* | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/sdks/webhook/README.md b/docs/sdks/webhook/README.md index 63d866d..4f25089 100644 --- a/docs/sdks/webhook/README.md +++ b/docs/sdks/webhook/README.md @@ -74,7 +74,6 @@ const livepeer = new Livepeer({ async function run() { const result = await livepeer.webhook.create({ name: "test_webhook", - projectId: "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", events: [ Events.StreamStarted, Events.StreamIdle, @@ -167,7 +166,6 @@ const livepeer = new Livepeer({ async function run() { const result = await livepeer.webhook.update("", { name: "test_webhook", - projectId: "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", events: [ Events.StreamStarted, Events.StreamIdle, diff --git a/gen.yaml b/gen.yaml index b7cacac..884de8e 100755 --- a/gen.yaml +++ b/gen.yaml @@ -11,7 +11,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 3.2.1 + version: 3.2.2 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/jsr.json b/jsr.json index d650b5f..faf3f83 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "livepeer", - "version": "3.2.1", + "version": "3.2.2", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index ae828b9..0000000 --- a/package-lock.json +++ /dev/null @@ -1,3270 +0,0 @@ -{ - "name": "livepeer", - "version": "3.2.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "livepeer", - "version": "3.2.0", - "devDependencies": { - "@types/jsonpath": "^0.2.4", - "@typescript-eslint/eslint-plugin": "^7.7.1", - "@typescript-eslint/parser": "^7.7.1", - "eslint": "^8.57.0", - "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.1", - "typescript": "^5.4.5", - "zod": "^3.23.4" - }, - "peerDependencies": { - "zod": ">= 3" - } - }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/jsonpath": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@types/jsonpath/-/jsonpath-0.2.4.tgz", - "integrity": "sha512-K3hxB8Blw0qgW6ExKgMbXQv2UPZBoE2GqLpVY+yr7nMD2Pq86lsuIzyAaiQ7eMqFL5B6di6pxSkogLJEyEHoGA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/semver": { - "version": "7.5.8", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", - "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.7.1.tgz", - "integrity": "sha512-KwfdWXJBOviaBVhxO3p5TJiLpNuh2iyXyjmWN0f1nU87pwyvfS0EmjC6ukQVYVFJd/K1+0NWGPDXiyEyQorn0Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/type-utils": "7.7.1", - "@typescript-eslint/utils": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.7.1.tgz", - "integrity": "sha512-vmPzBOOtz48F6JAGVS/kZYk4EkXao6iGrD838sp1w3NQQC0W8ry/q641KU4PrG7AKNAf56NOcR8GOpH8l9FPCw==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/typescript-estree": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", - "debug": "^4.3.4" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.7.1.tgz", - "integrity": "sha512-PytBif2SF+9SpEUKynYn5g1RHFddJUcyynGpztX3l/ik7KmZEv19WCMhUBkHXPU9es/VWGD3/zg3wg90+Dh2rA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.7.1.tgz", - "integrity": "sha512-ZksJLW3WF7o75zaBPScdW1Gbkwhd/lyeXGf1kQCxJaOeITscoSl0MjynVvCzuV5boUz/3fOI06Lz8La55mu29Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/typescript-estree": "7.7.1", - "@typescript-eslint/utils": "7.7.1", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.7.1.tgz", - "integrity": "sha512-AmPmnGW1ZLTpWa+/2omPrPfR7BcbUU4oha5VIbSbS1a1Tv966bklvLNXxp3mrbc+P2j4MNOTfDffNsk4o0c6/w==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.7.1.tgz", - "integrity": "sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/visitor-keys": "7.7.1", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.7.1.tgz", - "integrity": "sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.15", - "@types/semver": "^7.5.8", - "@typescript-eslint/scope-manager": "7.7.1", - "@typescript-eslint/types": "7.7.1", - "@typescript-eslint/typescript-estree": "7.7.1", - "semver": "^7.6.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.7.1.tgz", - "integrity": "sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "7.7.1", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, - "license": "Python-2.0" - }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", - "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.5", - "is-array-buffer": "^3.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-includes": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", - "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.4", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/array.prototype.findlastindex": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", - "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-shim-unscopables": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flat": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", - "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", - "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", - "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.2.1", - "get-intrinsic": "^1.2.3", - "is-array-buffer": "^3.0.4", - "is-shared-array-buffer": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "license": "MIT" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true, - "license": "MIT" - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/data-view-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", - "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", - "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-offset": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", - "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/define-properties": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz", - "integrity": "sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/es-abstract": { - "version": "1.23.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", - "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "arraybuffer.prototype.slice": "^1.0.3", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "data-view-buffer": "^1.0.1", - "data-view-byte-length": "^1.0.1", - "data-view-byte-offset": "^1.0.0", - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-set-tostringtag": "^2.0.3", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.4", - "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", - "hasown": "^2.0.2", - "internal-slot": "^1.0.7", - "is-array-buffer": "^3.0.4", - "is-callable": "^1.2.7", - "is-data-view": "^1.0.1", - "is-negative-zero": "^2.0.3", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.3", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.13", - "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", - "object-keys": "^1.1.1", - "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", - "safe-array-concat": "^1.1.2", - "safe-regex-test": "^1.0.3", - "string.prototype.trim": "^1.2.9", - "string.prototype.trimend": "^1.0.8", - "string.prototype.trimstart": "^1.0.8", - "typed-array-buffer": "^1.0.2", - "typed-array-byte-length": "^1.0.1", - "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.6", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.15" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-object-atoms": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", - "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", - "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-shim-unscopables": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", - "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.0" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-import-resolver-node": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", - "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^3.2.7", - "is-core-module": "^2.13.0", - "resolve": "^1.22.4" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/eslint-import-resolver-typescript": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz", - "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==", - "dev": true, - "license": "ISC", - "dependencies": { - "debug": "^4.3.4", - "enhanced-resolve": "^5.12.0", - "eslint-module-utils": "^2.7.4", - "fast-glob": "^3.3.1", - "get-tsconfig": "^4.5.0", - "is-core-module": "^2.11.0", - "is-glob": "^4.0.3" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts" - }, - "peerDependencies": { - "eslint": "*", - "eslint-plugin-import": "*" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", - "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^3.2.7" - }, - "engines": { - "node": ">=4" - }, - "peerDependenciesMeta": { - "eslint": { - "optional": true - } - } - }, - "node_modules/eslint-module-utils/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-module-utils/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/eslint-plugin-import": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", - "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-includes": "^3.1.7", - "array.prototype.findlastindex": "^1.2.3", - "array.prototype.flat": "^1.3.2", - "array.prototype.flatmap": "^1.3.2", - "debug": "^3.2.7", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.8.0", - "hasown": "^2.0.0", - "is-core-module": "^2.13.1", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.fromentries": "^2.0.7", - "object.groupby": "^1.0.1", - "object.values": "^1.1.7", - "semver": "^6.3.1", - "tsconfig-paths": "^3.15.0" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" - } - }, - "node_modules/eslint-plugin-import/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/eslint-plugin-import/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/eslint/node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true, - "license": "MIT" - }, - "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "license": "MIT", - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", - "dev": true, - "license": "MIT", - "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true, - "license": "ISC" - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true, - "license": "ISC" - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/function.prototype.name": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", - "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", - "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-tsconfig": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.3.tgz", - "integrity": "sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve-pkg-maps": "^1.0.0" - }, - "funding": { - "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true, - "license": "MIT" - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/internal-slot": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", - "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-array-buffer": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", - "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-data-view": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", - "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", - "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", - "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "dev": true, - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true, - "license": "MIT" - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, - "license": "ISC" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "license": "MIT" - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true, - "license": "MIT" - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true, - "license": "MIT" - }, - "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", - "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.5", - "define-properties": "^1.2.1", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.fromentries": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", - "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.groupby": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", - "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.values": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", - "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true, - "license": "MIT" - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-pkg-maps": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", - "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/safe-array-concat": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", - "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4", - "has-symbols": "^1.0.3", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-regex-test": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", - "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.6", - "es-errors": "^1.3.0", - "is-regex": "^1.1.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-function-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", - "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", - "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.0", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", - "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", - "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true, - "license": "MIT" - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "typescript": ">=4.2.0" - } - }, - "node_modules/tsconfig-paths": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", - "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - } - }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typed-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", - "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/typed-array-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", - "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", - "dev": true, - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", - "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "license": "ISC" - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/zod": { - "version": "3.23.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.4.tgz", - "integrity": "sha512-/AtWOKbBgjzEYYQRNfoGKHObgfAZag6qUJX1VbHo2PRBgS+wfWagEY2mizjfyAPcGesrJOcx/wcl0L9WnVrHFw==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - } - } -} diff --git a/package.json b/package.json index 6d0e0d8..ff8eea6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "livepeer", - "version": "3.2.1", + "version": "3.2.2", "author": "Livepeer", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index 835da9e..5e3aad5 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -49,7 +49,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "3.2.1", - genVersion: "2.331.0", - userAgent: "speakeasy-sdk/typescript 3.2.1 2.331.0 1.0.0 livepeer", + sdkVersion: "3.2.2", + genVersion: "2.332.4", + userAgent: "speakeasy-sdk/typescript 3.2.2 2.332.4 1.0.0 livepeer", } as const; diff --git a/src/models/components/asset.ts b/src/models/components/asset.ts index 9c48720..553e466 100644 --- a/src/models/components/asset.ts +++ b/src/models/components/asset.ts @@ -432,17 +432,22 @@ export type AssetInput = { }; /** @internal */ -export const AssetType$: z.ZodNativeEnum = z.nativeEnum(AssetType); +export namespace AssetType$ { + export const inboundSchema = z.nativeEnum(AssetType); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const AssetSchemasSource3Type$: z.ZodNativeEnum = - z.nativeEnum(AssetSchemasSource3Type); +export namespace AssetSchemasSource3Type$ { + export const inboundSchema = z.nativeEnum(AssetSchemasSource3Type); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Asset3Output$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetSchemasSource3Type$, + type: AssetSchemasSource3Type$.inboundSchema, encryption: EncryptionOutput$.inboundSchema.optional(), sourceId: z.string().optional(), sessionId: z.string().optional(), @@ -463,7 +468,7 @@ export namespace Asset3Output$ { }); export type Outbound = { - type: AssetSchemasSource3Type; + type: string; encryption?: EncryptionOutput$.Outbound | undefined; sourceId?: string | undefined; sessionId?: string | undefined; @@ -474,7 +479,7 @@ export namespace Asset3Output$ { export const outboundSchema: z.ZodType = z .object({ - type: AssetSchemasSource3Type$, + type: AssetSchemasSource3Type$.outboundSchema, encryption: EncryptionOutput$.outboundSchema.optional(), sourceId: z.string().optional(), sessionId: z.string().optional(), @@ -496,14 +501,16 @@ export namespace Asset3Output$ { } /** @internal */ -export const AssetSchemasSourceType$: z.ZodNativeEnum = - z.nativeEnum(AssetSchemasSourceType); +export namespace AssetSchemasSourceType$ { + export const inboundSchema = z.nativeEnum(AssetSchemasSourceType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Two$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetSchemasSourceType$, + type: AssetSchemasSourceType$.inboundSchema, sessionId: z.string(), }) .transform((v) => { @@ -514,13 +521,13 @@ export namespace Two$ { }); export type Outbound = { - type: AssetSchemasSourceType; + type: string; sessionId: string; }; export const outboundSchema: z.ZodType = z .object({ - type: AssetSchemasSourceType$, + type: AssetSchemasSourceType$.outboundSchema, sessionId: z.string(), }) .transform((v) => { @@ -532,14 +539,16 @@ export namespace Two$ { } /** @internal */ -export const AssetSchemasType$: z.ZodNativeEnum = - z.nativeEnum(AssetSchemasType); +export namespace AssetSchemasType$ { + export const inboundSchema = z.nativeEnum(AssetSchemasType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Asset1Output$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetSchemasType$, + type: AssetSchemasType$.inboundSchema, url: z.string(), gatewayUrl: z.string().optional(), encryption: EncryptionOutput$.inboundSchema.optional(), @@ -554,7 +563,7 @@ export namespace Asset1Output$ { }); export type Outbound = { - type: AssetSchemasType; + type: string; url: string; gatewayUrl?: string | undefined; encryption?: EncryptionOutput$.Outbound | undefined; @@ -562,7 +571,7 @@ export namespace Asset1Output$ { export const outboundSchema: z.ZodType = z .object({ - type: AssetSchemasType$, + type: AssetSchemasType$.outboundSchema, url: z.string(), gatewayUrl: z.string().optional(), encryption: EncryptionOutput$.outboundSchema.optional(), @@ -594,8 +603,10 @@ export namespace AssetSource$ { } /** @internal */ -export const AssetNftMetadataTemplate$: z.ZodNativeEnum = - z.nativeEnum(AssetNftMetadataTemplate); +export namespace AssetNftMetadataTemplate$ { + export const inboundSchema = z.nativeEnum(AssetNftMetadataTemplate); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace AssetNftMetadata$ { @@ -610,7 +621,9 @@ export namespace AssetNftMetadata$ { export namespace AssetSpec$ { export const inboundSchema: z.ZodType = z .object({ - nftMetadataTemplate: AssetNftMetadataTemplate$.default(AssetNftMetadataTemplate.File), + nftMetadataTemplate: AssetNftMetadataTemplate$.inboundSchema.default( + AssetNftMetadataTemplate.File + ), nftMetadata: z.lazy(() => AssetNftMetadata$.inboundSchema).optional(), }) .transform((v) => { @@ -621,13 +634,15 @@ export namespace AssetSpec$ { }); export type Outbound = { - nftMetadataTemplate: AssetNftMetadataTemplate; + nftMetadataTemplate: string; nftMetadata?: AssetNftMetadata$.Outbound | undefined; }; export const outboundSchema: z.ZodType = z .object({ - nftMetadataTemplate: AssetNftMetadataTemplate$.default(AssetNftMetadataTemplate.File), + nftMetadataTemplate: AssetNftMetadataTemplate$.outboundSchema.default( + AssetNftMetadataTemplate.File + ), nftMetadata: z.lazy(() => AssetNftMetadata$.outboundSchema).optional(), }) .transform((v) => { @@ -713,13 +728,16 @@ export namespace AssetStorage$ { } /** @internal */ -export const AssetPhase$: z.ZodNativeEnum = z.nativeEnum(AssetPhase); +export namespace AssetPhase$ { + export const inboundSchema = z.nativeEnum(AssetPhase); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace AssetStatus$ { export const inboundSchema: z.ZodType = z .object({ - phase: AssetPhase$, + phase: AssetPhase$.inboundSchema, updatedAt: z.number(), progress: z.number().optional(), errorMessage: z.string().optional(), @@ -734,7 +752,7 @@ export namespace AssetStatus$ { }); export type Outbound = { - phase: AssetPhase; + phase: string; updatedAt: number; progress?: number | undefined; errorMessage?: string | undefined; @@ -742,7 +760,7 @@ export namespace AssetStatus$ { export const outboundSchema: z.ZodType = z .object({ - phase: AssetPhase$, + phase: AssetPhase$.outboundSchema, updatedAt: z.number(), progress: z.number().optional(), errorMessage: z.string().optional(), @@ -790,14 +808,16 @@ export namespace Hash$ { } /** @internal */ -export const AssetSchemasVideoSpecType$: z.ZodNativeEnum = - z.nativeEnum(AssetSchemasVideoSpecType); +export namespace AssetSchemasVideoSpecType$ { + export const inboundSchema = z.nativeEnum(AssetSchemasVideoSpecType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Tracks$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetSchemasVideoSpecType$, + type: AssetSchemasVideoSpecType$.inboundSchema, codec: z.string(), startTime: z.number().optional(), duration: z.number().optional(), @@ -828,7 +848,7 @@ export namespace Tracks$ { }); export type Outbound = { - type: AssetSchemasVideoSpecType; + type: string; codec: string; startTime?: number | undefined; duration?: number | undefined; @@ -844,7 +864,7 @@ export namespace Tracks$ { export const outboundSchema: z.ZodType = z .object({ - type: AssetSchemasVideoSpecType$, + type: AssetSchemasVideoSpecType$.outboundSchema, codec: z.string(), startTime: z.number().optional(), duration: z.number().optional(), @@ -922,7 +942,7 @@ export namespace Asset$ { export const inboundSchema: z.ZodType = z .object({ id: z.string(), - type: AssetType$.optional(), + type: AssetType$.inboundSchema.optional(), playbackId: z.string().optional(), userId: z.string().optional(), playbackUrl: z.string().optional(), @@ -971,7 +991,7 @@ export namespace Asset$ { export type Outbound = { id: string; - type?: AssetType | undefined; + type?: string | undefined; playbackId?: string | undefined; userId?: string | undefined; playbackUrl?: string | undefined; @@ -993,7 +1013,7 @@ export namespace Asset$ { export const outboundSchema: z.ZodType = z .object({ id: z.string(), - type: AssetType$.optional(), + type: AssetType$.outboundSchema.optional(), playbackId: z.string().optional(), userId: z.string().optional(), playbackUrl: z.string().optional(), @@ -1045,7 +1065,7 @@ export namespace Asset$ { export namespace Asset3$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetSchemasSource3Type$, + type: AssetSchemasSource3Type$.inboundSchema, encryption: Encryption$.inboundSchema.optional(), sourceId: z.string().optional(), sessionId: z.string().optional(), @@ -1066,7 +1086,7 @@ export namespace Asset3$ { }); export type Outbound = { - type: AssetSchemasSource3Type; + type: string; encryption?: Encryption$.Outbound | undefined; sourceId?: string | undefined; sessionId?: string | undefined; @@ -1077,7 +1097,7 @@ export namespace Asset3$ { export const outboundSchema: z.ZodType = z .object({ - type: AssetSchemasSource3Type$, + type: AssetSchemasSource3Type$.outboundSchema, encryption: Encryption$.outboundSchema.optional(), sourceId: z.string().optional(), sessionId: z.string().optional(), @@ -1102,7 +1122,7 @@ export namespace Asset3$ { export namespace Asset1$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetSchemasType$, + type: AssetSchemasType$.inboundSchema, url: z.string(), gatewayUrl: z.string().optional(), encryption: Encryption$.inboundSchema.optional(), @@ -1117,7 +1137,7 @@ export namespace Asset1$ { }); export type Outbound = { - type: AssetSchemasType; + type: string; url: string; gatewayUrl?: string | undefined; encryption?: Encryption$.Outbound | undefined; @@ -1125,7 +1145,7 @@ export namespace Asset1$ { export const outboundSchema: z.ZodType = z .object({ - type: AssetSchemasType$, + type: AssetSchemasType$.outboundSchema, url: z.string(), gatewayUrl: z.string().optional(), encryption: Encryption$.outboundSchema.optional(), @@ -1224,7 +1244,7 @@ export namespace AssetStorageInput$ { export namespace AssetInput$ { export const inboundSchema: z.ZodType = z .object({ - type: AssetType$.optional(), + type: AssetType$.inboundSchema.optional(), playbackId: z.string().optional(), staticMp4: z.boolean().optional(), playbackPolicy: z.nullable(PlaybackPolicy$.inboundSchema).optional(), @@ -1255,7 +1275,7 @@ export namespace AssetInput$ { }); export type Outbound = { - type?: AssetType | undefined; + type?: string | undefined; playbackId?: string | undefined; staticMp4?: boolean | undefined; playbackPolicy?: PlaybackPolicy$.Outbound | null | undefined; @@ -1269,7 +1289,7 @@ export namespace AssetInput$ { export const outboundSchema: z.ZodType = z .object({ - type: AssetType$.optional(), + type: AssetType$.outboundSchema.optional(), playbackId: z.string().optional(), staticMp4: z.boolean().optional(), playbackPolicy: z.nullable(PlaybackPolicy$.outboundSchema).optional(), diff --git a/src/models/components/attestation.ts b/src/models/components/attestation.ts index 8003bb9..4bb0c3a 100644 --- a/src/models/components/attestation.ts +++ b/src/models/components/attestation.ts @@ -91,20 +91,29 @@ export type Attestation = { }; /** @internal */ -export const PrimaryType$: z.ZodNativeEnum = z.nativeEnum(PrimaryType); +export namespace PrimaryType$ { + export const inboundSchema = z.nativeEnum(PrimaryType); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const Name$: z.ZodNativeEnum = z.nativeEnum(Name); +export namespace Name$ { + export const inboundSchema = z.nativeEnum(Name); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const Version$: z.ZodNativeEnum = z.nativeEnum(Version); +export namespace Version$ { + export const inboundSchema = z.nativeEnum(Version); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Domain$ { export const inboundSchema: z.ZodType = z .object({ - name: Name$, - version: Version$, + name: Name$.inboundSchema, + version: Version$.inboundSchema, }) .transform((v) => { return { @@ -114,14 +123,14 @@ export namespace Domain$ { }); export type Outbound = { - name: Name; - version: Version; + name: string; + version: string; }; export const outboundSchema: z.ZodType = z .object({ - name: Name$, - version: Version$, + name: Name$.outboundSchema, + version: Version$.outboundSchema, }) .transform((v) => { return { @@ -206,7 +215,10 @@ export namespace Message$ { } /** @internal */ -export const SignatureType$: z.ZodNativeEnum = z.nativeEnum(SignatureType); +export namespace SignatureType$ { + export const inboundSchema = z.nativeEnum(SignatureType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace AttestationIpfs$ { @@ -277,12 +289,12 @@ export namespace Attestation$ { export const inboundSchema: z.ZodType = z .object({ id: z.string().optional(), - primaryType: PrimaryType$, + primaryType: PrimaryType$.inboundSchema, domain: z.lazy(() => Domain$.inboundSchema), message: z.lazy(() => Message$.inboundSchema), signature: z.string(), createdAt: z.number().optional(), - signatureType: SignatureType$.optional(), + signatureType: SignatureType$.inboundSchema.optional(), storage: z.lazy(() => AttestationStorage$.inboundSchema).optional(), }) .transform((v) => { @@ -300,24 +312,24 @@ export namespace Attestation$ { export type Outbound = { id?: string | undefined; - primaryType: PrimaryType; + primaryType: string; domain: Domain$.Outbound; message: Message$.Outbound; signature: string; createdAt?: number | undefined; - signatureType?: SignatureType | undefined; + signatureType?: string | undefined; storage?: AttestationStorage$.Outbound | undefined; }; export const outboundSchema: z.ZodType = z .object({ id: z.string().optional(), - primaryType: PrimaryType$, + primaryType: PrimaryType$.outboundSchema, domain: z.lazy(() => Domain$.outboundSchema), message: z.lazy(() => Message$.outboundSchema), signature: z.string(), createdAt: z.number().optional(), - signatureType: SignatureType$.optional(), + signatureType: SignatureType$.outboundSchema.optional(), storage: z.lazy(() => AttestationStorage$.outboundSchema).optional(), }) .transform((v) => { diff --git a/src/models/components/creatorid.ts b/src/models/components/creatorid.ts index ba64e09..8db605b 100644 --- a/src/models/components/creatorid.ts +++ b/src/models/components/creatorid.ts @@ -19,13 +19,16 @@ export type CreatorId1 = { export type CreatorId = CreatorId1; /** @internal */ -export const CreatorIdType$: z.ZodNativeEnum = z.nativeEnum(CreatorIdType); +export namespace CreatorIdType$ { + export const inboundSchema = z.nativeEnum(CreatorIdType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace CreatorId1$ { export const inboundSchema: z.ZodType = z .object({ - type: CreatorIdType$, + type: CreatorIdType$.inboundSchema, value: z.string(), }) .transform((v) => { @@ -36,13 +39,13 @@ export namespace CreatorId1$ { }); export type Outbound = { - type: CreatorIdType; + type: string; value: string; }; export const outboundSchema: z.ZodType = z .object({ - type: CreatorIdType$, + type: CreatorIdType$.outboundSchema, value: z.string(), }) .transform((v) => { diff --git a/src/models/components/ffmpegprofile.ts b/src/models/components/ffmpegprofile.ts index f6f23b7..73ede57 100644 --- a/src/models/components/ffmpegprofile.ts +++ b/src/models/components/ffmpegprofile.ts @@ -38,10 +38,16 @@ export type FfmpegProfile = { }; /** @internal */ -export const Profile$: z.ZodNativeEnum = z.nativeEnum(Profile); +export namespace Profile$ { + export const inboundSchema = z.nativeEnum(Profile); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const Encoder$: z.ZodNativeEnum = z.nativeEnum(Encoder); +export namespace Encoder$ { + export const inboundSchema = z.nativeEnum(Encoder); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace FfmpegProfile$ { @@ -55,8 +61,8 @@ export namespace FfmpegProfile$ { fpsDen: z.number().int().optional(), quality: z.number().int().optional(), gop: z.string().optional(), - profile: Profile$.optional(), - encoder: Encoder$.optional(), + profile: Profile$.inboundSchema.optional(), + encoder: Encoder$.inboundSchema.optional(), }) .transform((v) => { return { @@ -82,8 +88,8 @@ export namespace FfmpegProfile$ { fpsDen?: number | undefined; quality?: number | undefined; gop?: string | undefined; - profile?: Profile | undefined; - encoder?: Encoder | undefined; + profile?: string | undefined; + encoder?: string | undefined; }; export const outboundSchema: z.ZodType = z @@ -96,8 +102,8 @@ export namespace FfmpegProfile$ { fpsDen: z.number().int().optional(), quality: z.number().int().optional(), gop: z.string().optional(), - profile: Profile$.optional(), - encoder: Encoder$.optional(), + profile: Profile$.outboundSchema.optional(), + encoder: Encoder$.outboundSchema.optional(), }) .transform((v) => { return { diff --git a/src/models/components/inputcreatorid.ts b/src/models/components/inputcreatorid.ts index c8fab3b..7d3e243 100644 --- a/src/models/components/inputcreatorid.ts +++ b/src/models/components/inputcreatorid.ts @@ -16,14 +16,16 @@ export type One = { export type InputCreatorId = One | string; /** @internal */ -export const InputCreatorIdType$: z.ZodNativeEnum = - z.nativeEnum(InputCreatorIdType); +export namespace InputCreatorIdType$ { + export const inboundSchema = z.nativeEnum(InputCreatorIdType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace One$ { export const inboundSchema: z.ZodType = z .object({ - type: InputCreatorIdType$, + type: InputCreatorIdType$.inboundSchema, value: z.string(), }) .transform((v) => { @@ -34,13 +36,13 @@ export namespace One$ { }); export type Outbound = { - type: InputCreatorIdType; + type: string; value: string; }; export const outboundSchema: z.ZodType = z .object({ - type: InputCreatorIdType$, + type: InputCreatorIdType$.outboundSchema, value: z.string(), }) .transform((v) => { diff --git a/src/models/components/playbackinfo.ts b/src/models/components/playbackinfo.ts index e3ab105..81b06e9 100644 --- a/src/models/components/playbackinfo.ts +++ b/src/models/components/playbackinfo.ts @@ -83,25 +83,35 @@ export type PlaybackInfo = { }; /** @internal */ -export const PlaybackInfoType$: z.ZodNativeEnum = - z.nativeEnum(PlaybackInfoType); +export namespace PlaybackInfoType$ { + export const inboundSchema = z.nativeEnum(PlaybackInfoType); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const Live$: z.ZodNativeEnum = z.nativeEnum(Live); +export namespace Live$ { + export const inboundSchema = z.nativeEnum(Live); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const Hrn$: z.ZodNativeEnum = z.nativeEnum(Hrn); +export namespace Hrn$ { + export const inboundSchema = z.nativeEnum(Hrn); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const PlaybackInfoSchemasType$: z.ZodNativeEnum = - z.nativeEnum(PlaybackInfoSchemasType); +export namespace PlaybackInfoSchemasType$ { + export const inboundSchema = z.nativeEnum(PlaybackInfoSchemasType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace PlaybackInfoSource$ { export const inboundSchema: z.ZodType = z .object({ - hrn: Hrn$, - type: PlaybackInfoSchemasType$, + hrn: Hrn$.inboundSchema, + type: PlaybackInfoSchemasType$.inboundSchema, url: z.string(), size: z.number().optional(), width: z.number().optional(), @@ -121,8 +131,8 @@ export namespace PlaybackInfoSource$ { }); export type Outbound = { - hrn: Hrn; - type: PlaybackInfoSchemasType; + hrn: string; + type: string; url: string; size?: number | undefined; width?: number | undefined; @@ -132,8 +142,8 @@ export namespace PlaybackInfoSource$ { export const outboundSchema: z.ZodType = z .object({ - hrn: Hrn$, - type: PlaybackInfoSchemasType$, + hrn: Hrn$.outboundSchema, + type: PlaybackInfoSchemasType$.outboundSchema, url: z.string(), size: z.number().optional(), width: z.number().optional(), @@ -154,19 +164,23 @@ export namespace PlaybackInfoSource$ { } /** @internal */ -export const PlaybackInfoHrn$: z.ZodNativeEnum = - z.nativeEnum(PlaybackInfoHrn); +export namespace PlaybackInfoHrn$ { + export const inboundSchema = z.nativeEnum(PlaybackInfoHrn); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const PlaybackInfoSchemasMetaType$: z.ZodNativeEnum = - z.nativeEnum(PlaybackInfoSchemasMetaType); +export namespace PlaybackInfoSchemasMetaType$ { + export const inboundSchema = z.nativeEnum(PlaybackInfoSchemasMetaType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace DvrPlayback$ { export const inboundSchema: z.ZodType = z .object({ - hrn: PlaybackInfoHrn$.optional(), - type: PlaybackInfoSchemasMetaType$.optional(), + hrn: PlaybackInfoHrn$.inboundSchema.optional(), + type: PlaybackInfoSchemasMetaType$.inboundSchema.optional(), url: z.string().optional(), error: z.string().optional(), }) @@ -180,16 +194,16 @@ export namespace DvrPlayback$ { }); export type Outbound = { - hrn?: PlaybackInfoHrn | undefined; - type?: PlaybackInfoSchemasMetaType | undefined; + hrn?: string | undefined; + type?: string | undefined; url?: string | undefined; error?: string | undefined; }; export const outboundSchema: z.ZodType = z .object({ - hrn: PlaybackInfoHrn$.optional(), - type: PlaybackInfoSchemasMetaType$.optional(), + hrn: PlaybackInfoHrn$.outboundSchema.optional(), + type: PlaybackInfoSchemasMetaType$.outboundSchema.optional(), url: z.string().optional(), error: z.string().optional(), }) @@ -207,7 +221,7 @@ export namespace DvrPlayback$ { export namespace Meta$ { export const inboundSchema: z.ZodType = z .object({ - live: Live$.optional(), + live: Live$.inboundSchema.optional(), playbackPolicy: z.nullable(PlaybackPolicy$.inboundSchema).optional(), source: z.array(z.lazy(() => PlaybackInfoSource$.inboundSchema)), dvrPlayback: z.array(z.lazy(() => DvrPlayback$.inboundSchema)).optional(), @@ -224,7 +238,7 @@ export namespace Meta$ { }); export type Outbound = { - live?: Live | undefined; + live?: number | undefined; playbackPolicy?: PlaybackPolicy$.Outbound | null | undefined; source: Array; dvrPlayback?: Array | undefined; @@ -233,7 +247,7 @@ export namespace Meta$ { export const outboundSchema: z.ZodType = z .object({ - live: Live$.optional(), + live: Live$.outboundSchema.optional(), playbackPolicy: z.nullable(PlaybackPolicy$.outboundSchema).optional(), source: z.array(z.lazy(() => PlaybackInfoSource$.outboundSchema)), dvrPlayback: z.array(z.lazy(() => DvrPlayback$.outboundSchema)).optional(), @@ -254,7 +268,7 @@ export namespace Meta$ { export namespace PlaybackInfo$ { export const inboundSchema: z.ZodType = z .object({ - type: PlaybackInfoType$, + type: PlaybackInfoType$.inboundSchema, meta: z.lazy(() => Meta$.inboundSchema), }) .transform((v) => { @@ -265,13 +279,13 @@ export namespace PlaybackInfo$ { }); export type Outbound = { - type: PlaybackInfoType; + type: string; meta: Meta$.Outbound; }; export const outboundSchema: z.ZodType = z .object({ - type: PlaybackInfoType$, + type: PlaybackInfoType$.outboundSchema, meta: z.lazy(() => Meta$.outboundSchema), }) .transform((v) => { diff --git a/src/models/components/playbackpolicy.ts b/src/models/components/playbackpolicy.ts index 5f3cdb7..dc3c8a4 100644 --- a/src/models/components/playbackpolicy.ts +++ b/src/models/components/playbackpolicy.ts @@ -34,13 +34,16 @@ export type PlaybackPolicy = { }; /** @internal */ -export const Type$: z.ZodNativeEnum = z.nativeEnum(Type); +export namespace Type$ { + export const inboundSchema = z.nativeEnum(Type); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace PlaybackPolicy$ { export const inboundSchema: z.ZodType = z .object({ - type: Type$, + type: Type$.inboundSchema, webhookId: z.string().optional(), webhookContext: z.record(z.any()).optional(), refreshInterval: z.number().optional(), @@ -57,7 +60,7 @@ export namespace PlaybackPolicy$ { }); export type Outbound = { - type: Type; + type: string; webhookId?: string | undefined; webhookContext?: Record | undefined; refreshInterval?: number | undefined; @@ -65,7 +68,7 @@ export namespace PlaybackPolicy$ { export const outboundSchema: z.ZodType = z .object({ - type: Type$, + type: Type$.outboundSchema, webhookId: z.string().optional(), webhookContext: z.record(z.any()).optional(), refreshInterval: z.number().optional(), diff --git a/src/models/components/pull.ts b/src/models/components/pull.ts index 0664dc7..859ca91 100644 --- a/src/models/components/pull.ts +++ b/src/models/components/pull.ts @@ -66,7 +66,10 @@ export type Pull = { }; /** @internal */ -export const IsMobile$: z.ZodNativeEnum = z.nativeEnum(IsMobile); +export namespace IsMobile$ { + export const inboundSchema = z.nativeEnum(IsMobile); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Location$ { @@ -106,7 +109,7 @@ export namespace Pull$ { .object({ source: z.string(), headers: z.record(z.string()).optional(), - isMobile: IsMobile$.default(IsMobile.Zero), + isMobile: IsMobile$.inboundSchema.default(IsMobile.Zero), location: z.lazy(() => Location$.inboundSchema).optional(), }) .transform((v) => { @@ -121,7 +124,7 @@ export namespace Pull$ { export type Outbound = { source: string; headers?: Record | undefined; - isMobile: IsMobile; + isMobile: number; location?: Location$.Outbound | undefined; }; @@ -129,7 +132,7 @@ export namespace Pull$ { .object({ source: z.string(), headers: z.record(z.string()).optional(), - isMobile: IsMobile$.default(IsMobile.Zero), + isMobile: IsMobile$.outboundSchema.default(IsMobile.Zero), location: z.lazy(() => Location$.outboundSchema).optional(), }) .transform((v) => { diff --git a/src/models/components/session.ts b/src/models/components/session.ts index 36a65cd..414f4fe 100644 --- a/src/models/components/session.ts +++ b/src/models/components/session.ts @@ -63,10 +63,6 @@ export type Session = { * Points to parent stream object */ parentId?: string | undefined; - /** - * The ID of the project - */ - projectId?: string | undefined; /** * Whether the stream should be recorded. Uses default settings. For more customization, create and configure an object store. * @@ -94,8 +90,10 @@ export type Session = { }; /** @internal */ -export const RecordingStatus$: z.ZodNativeEnum = - z.nativeEnum(RecordingStatus); +export namespace RecordingStatus$ { + export const inboundSchema = z.nativeEnum(RecordingStatus); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Session$ { @@ -118,9 +116,8 @@ export namespace Session$ { issues: z.nullable(z.array(z.string())).optional(), createdAt: z.number().optional(), parentId: z.string().optional(), - projectId: z.string().optional(), record: z.boolean().optional(), - recordingStatus: RecordingStatus$.optional(), + recordingStatus: RecordingStatus$.inboundSchema.optional(), recordingUrl: z.string().optional(), mp4Url: z.string().optional(), playbackId: z.string().optional(), @@ -153,7 +150,6 @@ export namespace Session$ { ...(v.issues === undefined ? null : { issues: v.issues }), ...(v.createdAt === undefined ? null : { createdAt: v.createdAt }), ...(v.parentId === undefined ? null : { parentId: v.parentId }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.record === undefined ? null : { record: v.record }), ...(v.recordingStatus === undefined ? null @@ -183,9 +179,8 @@ export namespace Session$ { issues?: Array | null | undefined; createdAt?: number | undefined; parentId?: string | undefined; - projectId?: string | undefined; record?: boolean | undefined; - recordingStatus?: RecordingStatus | undefined; + recordingStatus?: string | undefined; recordingUrl?: string | undefined; mp4Url?: string | undefined; playbackId?: string | undefined; @@ -211,9 +206,8 @@ export namespace Session$ { issues: z.nullable(z.array(z.string())).optional(), createdAt: z.number().optional(), parentId: z.string().optional(), - projectId: z.string().optional(), record: z.boolean().optional(), - recordingStatus: RecordingStatus$.optional(), + recordingStatus: RecordingStatus$.outboundSchema.optional(), recordingUrl: z.string().optional(), mp4Url: z.string().optional(), playbackId: z.string().optional(), @@ -246,7 +240,6 @@ export namespace Session$ { ...(v.issues === undefined ? null : { issues: v.issues }), ...(v.createdAt === undefined ? null : { createdAt: v.createdAt }), ...(v.parentId === undefined ? null : { parentId: v.parentId }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.record === undefined ? null : { record: v.record }), ...(v.recordingStatus === undefined ? null diff --git a/src/models/components/signingkey.ts b/src/models/components/signingkey.ts index 6713579..c862dfa 100644 --- a/src/models/components/signingkey.ts +++ b/src/models/components/signingkey.ts @@ -27,10 +27,6 @@ export type SigningKey = { * Disable the signing key to allow rotation safely */ disabled?: boolean | undefined; - /** - * The ID of the project - */ - projectId?: string | undefined; }; /** @internal */ @@ -44,7 +40,6 @@ export namespace SigningKey$ { lastSeen: z.number().optional(), publicKey: z.string(), disabled: z.boolean().optional(), - projectId: z.string().optional(), }) .transform((v) => { return { @@ -55,7 +50,6 @@ export namespace SigningKey$ { ...(v.lastSeen === undefined ? null : { lastSeen: v.lastSeen }), publicKey: v.publicKey, ...(v.disabled === undefined ? null : { disabled: v.disabled }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), }; }); @@ -67,7 +61,6 @@ export namespace SigningKey$ { lastSeen?: number | undefined; publicKey: string; disabled?: boolean | undefined; - projectId?: string | undefined; }; export const outboundSchema: z.ZodType = z @@ -79,7 +72,6 @@ export namespace SigningKey$ { lastSeen: z.number().optional(), publicKey: z.string(), disabled: z.boolean().optional(), - projectId: z.string().optional(), }) .transform((v) => { return { @@ -90,7 +82,6 @@ export namespace SigningKey$ { ...(v.lastSeen === undefined ? null : { lastSeen: v.lastSeen }), publicKey: v.publicKey, ...(v.disabled === undefined ? null : { disabled: v.disabled }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), }; }); } diff --git a/src/models/components/spec.ts b/src/models/components/spec.ts index f8dd5f2..2630096 100644 --- a/src/models/components/spec.ts +++ b/src/models/components/spec.ts @@ -49,8 +49,10 @@ export type Spec = { }; /** @internal */ -export const NftMetadataTemplate$: z.ZodNativeEnum = - z.nativeEnum(NftMetadataTemplate); +export namespace NftMetadataTemplate$ { + export const inboundSchema = z.nativeEnum(NftMetadataTemplate); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace NftMetadata$ { @@ -65,7 +67,9 @@ export namespace NftMetadata$ { export namespace Spec$ { export const inboundSchema: z.ZodType = z .object({ - nftMetadataTemplate: NftMetadataTemplate$.default(NftMetadataTemplate.File), + nftMetadataTemplate: NftMetadataTemplate$.inboundSchema.default( + NftMetadataTemplate.File + ), nftMetadata: z.lazy(() => NftMetadata$.inboundSchema).optional(), }) .transform((v) => { @@ -76,13 +80,15 @@ export namespace Spec$ { }); export type Outbound = { - nftMetadataTemplate: NftMetadataTemplate; + nftMetadataTemplate: string; nftMetadata?: NftMetadata$.Outbound | undefined; }; export const outboundSchema: z.ZodType = z .object({ - nftMetadataTemplate: NftMetadataTemplate$.default(NftMetadataTemplate.File), + nftMetadataTemplate: NftMetadataTemplate$.outboundSchema.default( + NftMetadataTemplate.File + ), nftMetadata: z.lazy(() => NftMetadata$.outboundSchema).optional(), }) .transform((v) => { diff --git a/src/models/components/storagestatus.ts b/src/models/components/storagestatus.ts index 2738c35..146a785 100644 --- a/src/models/components/storagestatus.ts +++ b/src/models/components/storagestatus.ts @@ -55,7 +55,10 @@ export type StorageStatus = { }; /** @internal */ -export const Phase$: z.ZodNativeEnum = z.nativeEnum(Phase); +export namespace Phase$ { + export const inboundSchema = z.nativeEnum(Phase); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Tasks$ { @@ -98,7 +101,7 @@ export namespace Tasks$ { export namespace StorageStatus$ { export const inboundSchema: z.ZodType = z .object({ - phase: Phase$, + phase: Phase$.inboundSchema, progress: z.number().optional(), errorMessage: z.string().optional(), tasks: z.lazy(() => Tasks$.inboundSchema), @@ -113,7 +116,7 @@ export namespace StorageStatus$ { }); export type Outbound = { - phase: Phase; + phase: string; progress?: number | undefined; errorMessage?: string | undefined; tasks: Tasks$.Outbound; @@ -121,7 +124,7 @@ export namespace StorageStatus$ { export const outboundSchema: z.ZodType = z .object({ - phase: Phase$, + phase: Phase$.outboundSchema, progress: z.number().optional(), errorMessage: z.string().optional(), tasks: z.lazy(() => Tasks$.outboundSchema), diff --git a/src/models/components/stream.ts b/src/models/components/stream.ts index 5a33901..e501fee 100644 --- a/src/models/components/stream.ts +++ b/src/models/components/stream.ts @@ -163,11 +163,7 @@ export type Stream = { * Whether the playback policy for a asset or stream is public or signed */ playbackPolicy?: PlaybackPolicy | null | undefined; - profiles?: Array | null | undefined; - /** - * The ID of the project - */ - projectId?: string | undefined; + profiles?: Array | undefined; /** * Should this stream be recorded? Uses default settings. For more * @@ -223,7 +219,10 @@ export namespace StreamUserTags$ { } /** @internal */ -export const StreamIsMobile$: z.ZodNativeEnum = z.nativeEnum(StreamIsMobile); +export namespace StreamIsMobile$ { + export const inboundSchema = z.nativeEnum(StreamIsMobile); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace StreamLocation$ { @@ -263,7 +262,7 @@ export namespace StreamPull$ { .object({ source: z.string(), headers: z.record(z.string()).optional(), - isMobile: StreamIsMobile$.default(StreamIsMobile.Zero), + isMobile: StreamIsMobile$.inboundSchema.default(StreamIsMobile.Zero), location: z.lazy(() => StreamLocation$.inboundSchema).optional(), }) .transform((v) => { @@ -278,7 +277,7 @@ export namespace StreamPull$ { export type Outbound = { source: string; headers?: Record | undefined; - isMobile: StreamIsMobile; + isMobile: number; location?: StreamLocation$.Outbound | undefined; }; @@ -286,7 +285,7 @@ export namespace StreamPull$ { .object({ source: z.string(), headers: z.record(z.string()).optional(), - isMobile: StreamIsMobile$.default(StreamIsMobile.Zero), + isMobile: StreamIsMobile$.outboundSchema.default(StreamIsMobile.Zero), location: z.lazy(() => StreamLocation$.outboundSchema).optional(), }) .transform((v) => { @@ -367,8 +366,7 @@ export namespace Stream$ { pull: z.lazy(() => StreamPull$.inboundSchema).optional(), playbackId: z.string().optional(), playbackPolicy: z.nullable(PlaybackPolicy$.inboundSchema).optional(), - profiles: z.nullable(z.array(FfmpegProfile$.inboundSchema)).optional(), - projectId: z.string().optional(), + profiles: z.array(FfmpegProfile$.inboundSchema).optional(), record: z.boolean().optional(), multistream: z.lazy(() => StreamMultistream$.inboundSchema).optional(), suspended: z.boolean().optional(), @@ -413,7 +411,6 @@ export namespace Stream$ { ...(v.playbackId === undefined ? null : { playbackId: v.playbackId }), ...(v.playbackPolicy === undefined ? null : { playbackPolicy: v.playbackPolicy }), ...(v.profiles === undefined ? null : { profiles: v.profiles }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.record === undefined ? null : { record: v.record }), ...(v.multistream === undefined ? null : { multistream: v.multistream }), ...(v.suspended === undefined ? null : { suspended: v.suspended }), @@ -450,8 +447,7 @@ export namespace Stream$ { pull?: StreamPull$.Outbound | undefined; playbackId?: string | undefined; playbackPolicy?: PlaybackPolicy$.Outbound | null | undefined; - profiles?: Array | null | undefined; - projectId?: string | undefined; + profiles?: Array | undefined; record?: boolean | undefined; multistream?: StreamMultistream$.Outbound | undefined; suspended?: boolean | undefined; @@ -490,8 +486,7 @@ export namespace Stream$ { pull: z.lazy(() => StreamPull$.outboundSchema).optional(), playbackId: z.string().optional(), playbackPolicy: z.nullable(PlaybackPolicy$.outboundSchema).optional(), - profiles: z.nullable(z.array(FfmpegProfile$.outboundSchema)).optional(), - projectId: z.string().optional(), + profiles: z.array(FfmpegProfile$.outboundSchema).optional(), record: z.boolean().optional(), multistream: z.lazy(() => StreamMultistream$.outboundSchema).optional(), suspended: z.boolean().optional(), @@ -536,7 +531,6 @@ export namespace Stream$ { ...(v.playbackId === undefined ? null : { playbackId: v.playbackId }), ...(v.playbackPolicy === undefined ? null : { playbackPolicy: v.playbackPolicy }), ...(v.profiles === undefined ? null : { profiles: v.profiles }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.record === undefined ? null : { record: v.record }), ...(v.multistream === undefined ? null : { multistream: v.multistream }), ...(v.suspended === undefined ? null : { suspended: v.suspended }), diff --git a/src/models/components/task.ts b/src/models/components/task.ts index 4dd9c5a..76085c0 100644 --- a/src/models/components/task.ts +++ b/src/models/components/task.ts @@ -399,7 +399,10 @@ export type Task = { }; /** @internal */ -export const TaskType$: z.ZodNativeEnum = z.nativeEnum(TaskType); +export namespace TaskType$ { + export const inboundSchema = z.nativeEnum(TaskType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Upload$ { @@ -742,8 +745,10 @@ export namespace ClipStrategy$ { } /** @internal */ -export const CatalystPipelineStrategy$: z.ZodNativeEnum = - z.nativeEnum(CatalystPipelineStrategy); +export namespace CatalystPipelineStrategy$ { + export const inboundSchema = z.nativeEnum(CatalystPipelineStrategy); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Clip$ { @@ -751,7 +756,7 @@ export namespace Clip$ { .object({ url: z.string().optional(), clipStrategy: z.lazy(() => ClipStrategy$.inboundSchema).optional(), - catalystPipelineStrategy: CatalystPipelineStrategy$.optional(), + catalystPipelineStrategy: CatalystPipelineStrategy$.inboundSchema.optional(), sessionId: z.string().optional(), inputId: z.string().optional(), }) @@ -770,7 +775,7 @@ export namespace Clip$ { export type Outbound = { url?: string | undefined; clipStrategy?: ClipStrategy$.Outbound | undefined; - catalystPipelineStrategy?: CatalystPipelineStrategy | undefined; + catalystPipelineStrategy?: string | undefined; sessionId?: string | undefined; inputId?: string | undefined; }; @@ -779,7 +784,7 @@ export namespace Clip$ { .object({ url: z.string().optional(), clipStrategy: z.lazy(() => ClipStrategy$.outboundSchema).optional(), - catalystPipelineStrategy: CatalystPipelineStrategy$.optional(), + catalystPipelineStrategy: CatalystPipelineStrategy$.outboundSchema.optional(), sessionId: z.string().optional(), inputId: z.string().optional(), }) @@ -846,13 +851,16 @@ export namespace Params$ { } /** @internal */ -export const TaskPhase$: z.ZodNativeEnum = z.nativeEnum(TaskPhase); +export namespace TaskPhase$ { + export const inboundSchema = z.nativeEnum(TaskPhase); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace TaskStatus$ { export const inboundSchema: z.ZodType = z .object({ - phase: TaskPhase$, + phase: TaskPhase$.inboundSchema, updatedAt: z.number(), progress: z.number().optional(), errorMessage: z.string().optional(), @@ -869,7 +877,7 @@ export namespace TaskStatus$ { }); export type Outbound = { - phase: TaskPhase; + phase: string; updatedAt: number; progress?: number | undefined; errorMessage?: string | undefined; @@ -878,7 +886,7 @@ export namespace TaskStatus$ { export const outboundSchema: z.ZodType = z .object({ - phase: TaskPhase$, + phase: TaskPhase$.outboundSchema, updatedAt: z.number(), progress: z.number().optional(), errorMessage: z.string().optional(), @@ -1112,7 +1120,7 @@ export namespace Task$ { export const inboundSchema: z.ZodType = z .object({ id: z.string().optional(), - type: TaskType$.optional(), + type: TaskType$.inboundSchema.optional(), createdAt: z.number().optional(), scheduledAt: z.number().optional(), inputAssetId: z.string().optional(), @@ -1139,7 +1147,7 @@ export namespace Task$ { export type Outbound = { id?: string | undefined; - type?: TaskType | undefined; + type?: string | undefined; createdAt?: number | undefined; scheduledAt?: number | undefined; inputAssetId?: string | undefined; @@ -1153,7 +1161,7 @@ export namespace Task$ { export const outboundSchema: z.ZodType = z .object({ id: z.string().optional(), - type: TaskType$.optional(), + type: TaskType$.outboundSchema.optional(), createdAt: z.number().optional(), scheduledAt: z.number().optional(), inputAssetId: z.string().optional(), diff --git a/src/models/components/transcodepayload.ts b/src/models/components/transcodepayload.ts index 197130c..1934208 100644 --- a/src/models/components/transcodepayload.ts +++ b/src/models/components/transcodepayload.ts @@ -225,8 +225,10 @@ export type TranscodePayload = { }; /** @internal */ -export const TranscodePayloadType$: z.ZodNativeEnum = - z.nativeEnum(TranscodePayloadType); +export namespace TranscodePayloadType$ { + export const inboundSchema = z.nativeEnum(TranscodePayloadType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace Credentials$ { @@ -264,7 +266,7 @@ export namespace Credentials$ { export namespace TranscodePayload2$ { export const inboundSchema: z.ZodType = z .object({ - type: TranscodePayloadType$, + type: TranscodePayloadType$.inboundSchema, endpoint: z.string(), bucket: z.string(), path: z.string(), @@ -281,7 +283,7 @@ export namespace TranscodePayload2$ { }); export type Outbound = { - type: TranscodePayloadType; + type: string; endpoint: string; bucket: string; path: string; @@ -290,7 +292,7 @@ export namespace TranscodePayload2$ { export const outboundSchema: z.ZodType = z .object({ - type: TranscodePayloadType$, + type: TranscodePayloadType$.outboundSchema, endpoint: z.string(), bucket: z.string(), path: z.string(), @@ -349,9 +351,10 @@ export namespace Input$ { } /** @internal */ -export const TranscodePayloadSchemasStorageType$: z.ZodNativeEnum< - typeof TranscodePayloadSchemasStorageType -> = z.nativeEnum(TranscodePayloadSchemasStorageType); +export namespace TranscodePayloadSchemasStorageType$ { + export const inboundSchema = z.nativeEnum(TranscodePayloadSchemasStorageType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace TranscodePayloadSchemasCredentials$ { @@ -392,7 +395,7 @@ export namespace TranscodePayloadSchemasCredentials$ { export namespace TranscodePayloadSchemas2$ { export const inboundSchema: z.ZodType = z .object({ - type: TranscodePayloadSchemasStorageType$, + type: TranscodePayloadSchemasStorageType$.inboundSchema, credentials: z.lazy(() => TranscodePayloadSchemasCredentials$.inboundSchema), }) .transform((v) => { @@ -403,13 +406,13 @@ export namespace TranscodePayloadSchemas2$ { }); export type Outbound = { - type: TranscodePayloadSchemasStorageType; + type: string; credentials: TranscodePayloadSchemasCredentials$.Outbound; }; export const outboundSchema: z.ZodType = z .object({ - type: TranscodePayloadSchemasStorageType$, + type: TranscodePayloadSchemasStorageType$.outboundSchema, credentials: z.lazy(() => TranscodePayloadSchemasCredentials$.outboundSchema), }) .transform((v) => { @@ -421,8 +424,10 @@ export namespace TranscodePayloadSchemas2$ { } /** @internal */ -export const TranscodePayloadSchemasType$: z.ZodNativeEnum = - z.nativeEnum(TranscodePayloadSchemasType); +export namespace TranscodePayloadSchemasType$ { + export const inboundSchema = z.nativeEnum(TranscodePayloadSchemasType); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace TranscodePayloadCredentials$ { @@ -460,7 +465,7 @@ export namespace TranscodePayloadCredentials$ { export namespace TranscodePayloadSchemas1$ { export const inboundSchema: z.ZodType = z .object({ - type: TranscodePayloadSchemasType$, + type: TranscodePayloadSchemasType$.inboundSchema, endpoint: z.string(), bucket: z.string(), credentials: z.lazy(() => TranscodePayloadCredentials$.inboundSchema), @@ -475,7 +480,7 @@ export namespace TranscodePayloadSchemas1$ { }); export type Outbound = { - type: TranscodePayloadSchemasType; + type: string; endpoint: string; bucket: string; credentials: TranscodePayloadCredentials$.Outbound; @@ -483,7 +488,7 @@ export namespace TranscodePayloadSchemas1$ { export const outboundSchema: z.ZodType = z .object({ - type: TranscodePayloadSchemasType$, + type: TranscodePayloadSchemasType$.outboundSchema, endpoint: z.string(), bucket: z.string(), credentials: z.lazy(() => TranscodePayloadCredentials$.outboundSchema), diff --git a/src/models/components/transcodeprofile.ts b/src/models/components/transcodeprofile.ts index 2b529cd..f90c296 100644 --- a/src/models/components/transcodeprofile.ts +++ b/src/models/components/transcodeprofile.ts @@ -41,12 +41,16 @@ export type TranscodeProfile = { }; /** @internal */ -export const TranscodeProfileProfile$: z.ZodNativeEnum = - z.nativeEnum(TranscodeProfileProfile); +export namespace TranscodeProfileProfile$ { + export const inboundSchema = z.nativeEnum(TranscodeProfileProfile); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const TranscodeProfileEncoder$: z.ZodNativeEnum = - z.nativeEnum(TranscodeProfileEncoder); +export namespace TranscodeProfileEncoder$ { + export const inboundSchema = z.nativeEnum(TranscodeProfileEncoder); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace TranscodeProfile$ { @@ -60,8 +64,8 @@ export namespace TranscodeProfile$ { fps: z.number().int().optional(), fpsDen: z.number().int().optional(), gop: z.string().optional(), - profile: TranscodeProfileProfile$.optional(), - encoder: TranscodeProfileEncoder$.optional(), + profile: TranscodeProfileProfile$.inboundSchema.optional(), + encoder: TranscodeProfileEncoder$.inboundSchema.optional(), }) .transform((v) => { return { @@ -87,8 +91,8 @@ export namespace TranscodeProfile$ { fps?: number | undefined; fpsDen?: number | undefined; gop?: string | undefined; - profile?: TranscodeProfileProfile | undefined; - encoder?: TranscodeProfileEncoder | undefined; + profile?: string | undefined; + encoder?: string | undefined; }; export const outboundSchema: z.ZodType = z @@ -101,8 +105,8 @@ export namespace TranscodeProfile$ { fps: z.number().int().optional(), fpsDen: z.number().int().optional(), gop: z.string().optional(), - profile: TranscodeProfileProfile$.optional(), - encoder: TranscodeProfileEncoder$.optional(), + profile: TranscodeProfileProfile$.outboundSchema.optional(), + encoder: TranscodeProfileEncoder$.outboundSchema.optional(), }) .transform((v) => { return { diff --git a/src/models/components/webhook.ts b/src/models/components/webhook.ts index 9f6a543..70e0062 100644 --- a/src/models/components/webhook.ts +++ b/src/models/components/webhook.ts @@ -78,10 +78,6 @@ export type Webhook = { * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ userId?: string | undefined; - /** - * The ID of the project - */ - projectId?: string | undefined; /** * Timestamp (in milliseconds) at which stream object was created */ @@ -100,10 +96,6 @@ export type Webhook = { export type WebhookInput = { name: string; - /** - * The ID of the project - */ - projectId?: string | undefined; events?: Array | undefined; url: string; /** @@ -117,7 +109,10 @@ export type WebhookInput = { }; /** @internal */ -export const Events$: z.ZodNativeEnum = z.nativeEnum(Events); +export namespace Events$ { + export const inboundSchema = z.nativeEnum(Events); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace LastFailure$ { @@ -205,9 +200,8 @@ export namespace Webhook$ { name: z.string(), kind: z.string().optional(), userId: z.string().optional(), - projectId: z.string().optional(), createdAt: z.number().optional(), - events: z.array(Events$).optional(), + events: z.array(Events$.inboundSchema).optional(), url: z.string(), streamId: z.string().optional(), status: z.lazy(() => Status$.inboundSchema).optional(), @@ -218,7 +212,6 @@ export namespace Webhook$ { name: v.name, ...(v.kind === undefined ? null : { kind: v.kind }), ...(v.userId === undefined ? null : { userId: v.userId }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.createdAt === undefined ? null : { createdAt: v.createdAt }), ...(v.events === undefined ? null : { events: v.events }), url: v.url, @@ -232,9 +225,8 @@ export namespace Webhook$ { name: string; kind?: string | undefined; userId?: string | undefined; - projectId?: string | undefined; createdAt?: number | undefined; - events?: Array | undefined; + events?: Array | undefined; url: string; streamId?: string | undefined; status?: Status$.Outbound | undefined; @@ -246,9 +238,8 @@ export namespace Webhook$ { name: z.string(), kind: z.string().optional(), userId: z.string().optional(), - projectId: z.string().optional(), createdAt: z.number().optional(), - events: z.array(Events$).optional(), + events: z.array(Events$.outboundSchema).optional(), url: z.string(), streamId: z.string().optional(), status: z.lazy(() => Status$.outboundSchema).optional(), @@ -259,7 +250,6 @@ export namespace Webhook$ { name: v.name, ...(v.kind === undefined ? null : { kind: v.kind }), ...(v.userId === undefined ? null : { userId: v.userId }), - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.createdAt === undefined ? null : { createdAt: v.createdAt }), ...(v.events === undefined ? null : { events: v.events }), url: v.url, @@ -274,8 +264,7 @@ export namespace WebhookInput$ { export const inboundSchema: z.ZodType = z .object({ name: z.string(), - projectId: z.string().optional(), - events: z.array(Events$).optional(), + events: z.array(Events$.inboundSchema).optional(), url: z.string(), sharedSecret: z.string().optional(), streamId: z.string().optional(), @@ -283,7 +272,6 @@ export namespace WebhookInput$ { .transform((v) => { return { name: v.name, - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.events === undefined ? null : { events: v.events }), url: v.url, ...(v.sharedSecret === undefined ? null : { sharedSecret: v.sharedSecret }), @@ -293,8 +281,7 @@ export namespace WebhookInput$ { export type Outbound = { name: string; - projectId?: string | undefined; - events?: Array | undefined; + events?: Array | undefined; url: string; sharedSecret?: string | undefined; streamId?: string | undefined; @@ -303,8 +290,7 @@ export namespace WebhookInput$ { export const outboundSchema: z.ZodType = z .object({ name: z.string(), - projectId: z.string().optional(), - events: z.array(Events$).optional(), + events: z.array(Events$.outboundSchema).optional(), url: z.string(), sharedSecret: z.string().optional(), streamId: z.string().optional(), @@ -312,7 +298,6 @@ export namespace WebhookInput$ { .transform((v) => { return { name: v.name, - ...(v.projectId === undefined ? null : { projectId: v.projectId }), ...(v.events === undefined ? null : { events: v.events }), url: v.url, ...(v.sharedSecret === undefined ? null : { sharedSecret: v.sharedSecret }), diff --git a/src/models/operations/getcreatorviewershipmetrics.ts b/src/models/operations/getcreatorviewershipmetrics.ts index fda7883..c95c5b0 100644 --- a/src/models/operations/getcreatorviewershipmetrics.ts +++ b/src/models/operations/getcreatorviewershipmetrics.ts @@ -134,12 +134,16 @@ export namespace QueryParamTo$ { } /** @internal */ -export const QueryParamTimeStep$: z.ZodNativeEnum = - z.nativeEnum(QueryParamTimeStep); +export namespace QueryParamTimeStep$ { + export const inboundSchema = z.nativeEnum(QueryParamTimeStep); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const QueryParamBreakdownBy$: z.ZodNativeEnum = - z.nativeEnum(QueryParamBreakdownBy); +export namespace QueryParamBreakdownBy$ { + export const inboundSchema = z.nativeEnum(QueryParamBreakdownBy); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace GetCreatorViewershipMetricsRequest$ { @@ -167,11 +171,11 @@ export namespace GetCreatorViewershipMetricsRequest$ { z.number().int(), ]) .optional(), - timeStep: QueryParamTimeStep$.optional(), + timeStep: QueryParamTimeStep$.inboundSchema.optional(), assetId: z.string().optional(), streamId: z.string().optional(), creatorId: z.string().optional(), - "breakdownBy[]": z.array(QueryParamBreakdownBy$).optional(), + "breakdownBy[]": z.array(QueryParamBreakdownBy$.inboundSchema).optional(), }) .transform((v) => { return { @@ -188,11 +192,11 @@ export namespace GetCreatorViewershipMetricsRequest$ { export type Outbound = { from?: string | number | undefined; to?: string | number | undefined; - timeStep?: QueryParamTimeStep | undefined; + timeStep?: string | undefined; assetId?: string | undefined; streamId?: string | undefined; creatorId?: string | undefined; - "breakdownBy[]"?: Array | undefined; + "breakdownBy[]"?: Array | undefined; }; export const outboundSchema: z.ZodType< @@ -205,11 +209,11 @@ export namespace GetCreatorViewershipMetricsRequest$ { .union([z.date().transform((v) => v.toISOString()), z.number().int()]) .optional(), to: z.union([z.date().transform((v) => v.toISOString()), z.number().int()]).optional(), - timeStep: QueryParamTimeStep$.optional(), + timeStep: QueryParamTimeStep$.outboundSchema.optional(), assetId: z.string().optional(), streamId: z.string().optional(), creatorId: z.string().optional(), - breakdownBy: z.array(QueryParamBreakdownBy$).optional(), + breakdownBy: z.array(QueryParamBreakdownBy$.outboundSchema).optional(), }) .transform((v) => { return { diff --git a/src/models/operations/getusagemetrics.ts b/src/models/operations/getusagemetrics.ts index 46a9cbc..2ce0d44 100644 --- a/src/models/operations/getusagemetrics.ts +++ b/src/models/operations/getusagemetrics.ts @@ -72,9 +72,10 @@ export type GetUsageMetricsResponse = { }; /** @internal */ -export const GetUsageMetricsQueryParamTimeStep$: z.ZodNativeEnum< - typeof GetUsageMetricsQueryParamTimeStep -> = z.nativeEnum(GetUsageMetricsQueryParamTimeStep); +export namespace GetUsageMetricsQueryParamTimeStep$ { + export const inboundSchema = z.nativeEnum(GetUsageMetricsQueryParamTimeStep); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace GetUsageMetricsRequest$ { @@ -82,7 +83,7 @@ export namespace GetUsageMetricsRequest$ { .object({ from: z.number().int().optional(), to: z.number().int().optional(), - timeStep: GetUsageMetricsQueryParamTimeStep$.optional(), + timeStep: GetUsageMetricsQueryParamTimeStep$.inboundSchema.optional(), creatorId: z.string().optional(), }) .transform((v) => { @@ -97,7 +98,7 @@ export namespace GetUsageMetricsRequest$ { export type Outbound = { from?: number | undefined; to?: number | undefined; - timeStep?: GetUsageMetricsQueryParamTimeStep | undefined; + timeStep?: string | undefined; creatorId?: string | undefined; }; @@ -105,7 +106,7 @@ export namespace GetUsageMetricsRequest$ { .object({ from: z.number().int().optional(), to: z.number().int().optional(), - timeStep: GetUsageMetricsQueryParamTimeStep$.optional(), + timeStep: GetUsageMetricsQueryParamTimeStep$.outboundSchema.optional(), creatorId: z.string().optional(), }) .transform((v) => { diff --git a/src/models/operations/getviewershipmetrics.ts b/src/models/operations/getviewershipmetrics.ts index 066a7c8..ddd4a0f 100644 --- a/src/models/operations/getviewershipmetrics.ts +++ b/src/models/operations/getviewershipmetrics.ts @@ -146,10 +146,16 @@ export namespace To$ { } /** @internal */ -export const TimeStep$: z.ZodNativeEnum = z.nativeEnum(TimeStep); +export namespace TimeStep$ { + export const inboundSchema = z.nativeEnum(TimeStep); + export const outboundSchema = inboundSchema; +} /** @internal */ -export const BreakdownBy$: z.ZodNativeEnum = z.nativeEnum(BreakdownBy); +export namespace BreakdownBy$ { + export const inboundSchema = z.nativeEnum(BreakdownBy); + export const outboundSchema = inboundSchema; +} /** @internal */ export namespace GetViewershipMetricsRequest$ { @@ -174,11 +180,11 @@ export namespace GetViewershipMetricsRequest$ { z.number().int(), ]) .optional(), - timeStep: TimeStep$.optional(), + timeStep: TimeStep$.inboundSchema.optional(), assetId: z.string().optional(), streamId: z.string().optional(), creatorId: z.string().optional(), - "breakdownBy[]": z.array(BreakdownBy$).optional(), + "breakdownBy[]": z.array(BreakdownBy$.inboundSchema).optional(), }) .transform((v) => { return { @@ -197,11 +203,11 @@ export namespace GetViewershipMetricsRequest$ { playbackId?: string | undefined; from?: string | number | undefined; to?: string | number | undefined; - timeStep?: TimeStep | undefined; + timeStep?: string | undefined; assetId?: string | undefined; streamId?: string | undefined; creatorId?: string | undefined; - "breakdownBy[]"?: Array | undefined; + "breakdownBy[]"?: Array | undefined; }; export const outboundSchema: z.ZodType = z @@ -211,11 +217,11 @@ export namespace GetViewershipMetricsRequest$ { .union([z.date().transform((v) => v.toISOString()), z.number().int()]) .optional(), to: z.union([z.date().transform((v) => v.toISOString()), z.number().int()]).optional(), - timeStep: TimeStep$.optional(), + timeStep: TimeStep$.outboundSchema.optional(), assetId: z.string().optional(), streamId: z.string().optional(), creatorId: z.string().optional(), - breakdownBy: z.array(BreakdownBy$).optional(), + breakdownBy: z.array(BreakdownBy$.outboundSchema).optional(), }) .transform((v) => { return { diff --git a/src/models/operations/uploadasset.ts b/src/models/operations/uploadasset.ts index 49f898d..5594690 100644 --- a/src/models/operations/uploadasset.ts +++ b/src/models/operations/uploadasset.ts @@ -6,13 +6,25 @@ import * as components from "../components"; import * as errors from "../errors"; import * as z from "zod"; -export type UploadAssetTask = { +export type UploadAssetAssetTask = { id?: string | undefined; }; /** * Success */ +export type UploadAssetDataOutput = { + asset: components.Asset; + task: UploadAssetAssetTask; +}; + +export type UploadAssetTask = { + id?: string | undefined; +}; + +/** + * Import in progress + */ export type UploadAssetData = { asset: components.Asset; task: UploadAssetTask; @@ -31,16 +43,79 @@ export type UploadAssetResponse = { * Raw HTTP response; suitable for custom response parsing */ rawResponse: Response; + /** + * Import in progress + */ + twoHundredApplicationJsonData?: UploadAssetData | undefined; /** * Success */ - data?: UploadAssetData | undefined; + twoHundredAndOneApplicationJsonData?: UploadAssetDataOutput | undefined; /** * Error */ error?: errors.ErrorT | undefined; }; +/** @internal */ +export namespace UploadAssetAssetTask$ { + export const inboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + }) + .transform((v) => { + return { + ...(v.id === undefined ? null : { id: v.id }), + }; + }); + + export type Outbound = { + id?: string | undefined; + }; + + export const outboundSchema: z.ZodType = z + .object({ + id: z.string().optional(), + }) + .transform((v) => { + return { + ...(v.id === undefined ? null : { id: v.id }), + }; + }); +} + +/** @internal */ +export namespace UploadAssetDataOutput$ { + export const inboundSchema: z.ZodType = z + .object({ + asset: components.Asset$.inboundSchema, + task: z.lazy(() => UploadAssetAssetTask$.inboundSchema), + }) + .transform((v) => { + return { + asset: v.asset, + task: v.task, + }; + }); + + export type Outbound = { + asset: components.Asset$.Outbound; + task: UploadAssetAssetTask$.Outbound; + }; + + export const outboundSchema: z.ZodType = z + .object({ + asset: components.Asset$.outboundSchema, + task: z.lazy(() => UploadAssetAssetTask$.outboundSchema), + }) + .transform((v) => { + return { + asset: v.asset, + task: v.task, + }; + }); +} + /** @internal */ export namespace UploadAssetTask$ { export const inboundSchema: z.ZodType = z @@ -107,7 +182,10 @@ export namespace UploadAssetResponse$ { ContentType: z.string(), StatusCode: z.number().int(), RawResponse: z.instanceof(Response), - data: z.lazy(() => UploadAssetData$.inboundSchema).optional(), + "200_application/json_data": z.lazy(() => UploadAssetData$.inboundSchema).optional(), + "201_application/json_data": z + .lazy(() => UploadAssetDataOutput$.inboundSchema) + .optional(), error: errors.ErrorT$.inboundSchema.optional(), }) .transform((v) => { @@ -115,7 +193,12 @@ export namespace UploadAssetResponse$ { contentType: v.ContentType, statusCode: v.StatusCode, rawResponse: v.RawResponse, - ...(v.data === undefined ? null : { data: v.data }), + ...(v["200_application/json_data"] === undefined + ? null + : { twoHundredApplicationJsonData: v["200_application/json_data"] }), + ...(v["201_application/json_data"] === undefined + ? null + : { twoHundredAndOneApplicationJsonData: v["201_application/json_data"] }), ...(v.error === undefined ? null : { error: v.error }), }; }); @@ -124,7 +207,8 @@ export namespace UploadAssetResponse$ { ContentType: string; StatusCode: number; RawResponse: never; - data?: UploadAssetData$.Outbound | undefined; + "200_application/json_data"?: UploadAssetData$.Outbound | undefined; + "201_application/json_data"?: UploadAssetDataOutput$.Outbound | undefined; error?: errors.ErrorT$.Outbound | undefined; }; @@ -135,7 +219,10 @@ export namespace UploadAssetResponse$ { rawResponse: z.instanceof(Response).transform(() => { throw new Error("Response cannot be serialized"); }), - data: z.lazy(() => UploadAssetData$.outboundSchema).optional(), + twoHundredApplicationJsonData: z.lazy(() => UploadAssetData$.outboundSchema).optional(), + twoHundredAndOneApplicationJsonData: z + .lazy(() => UploadAssetDataOutput$.outboundSchema) + .optional(), error: errors.ErrorT$.outboundSchema.optional(), }) .transform((v) => { @@ -143,7 +230,12 @@ export namespace UploadAssetResponse$ { ContentType: v.contentType, StatusCode: v.statusCode, RawResponse: v.rawResponse, - ...(v.data === undefined ? null : { data: v.data }), + ...(v.twoHundredApplicationJsonData === undefined + ? null + : { "200_application/json_data": v.twoHundredApplicationJsonData }), + ...(v.twoHundredAndOneApplicationJsonData === undefined + ? null + : { "201_application/json_data": v.twoHundredAndOneApplicationJsonData }), ...(v.error === undefined ? null : { error: v.error }), }; }); diff --git a/src/sdk/asset.ts b/src/sdk/asset.ts index dd447b3..910b3fa 100644 --- a/src/sdk/asset.ts +++ b/src/sdk/asset.ts @@ -260,7 +260,7 @@ export class Asset extends ClientSDK { Headers: {}, }; - if (this.matchResponse(response, 200, "application/json")) { + if (this.matchResponse(response, 201, "application/json")) { const responseBody = await response.json(); const result = schemas$.parse( responseBody, @@ -365,7 +365,20 @@ export class Asset extends ClientSDK { (val$) => { return operations.UploadAssetResponse$.inboundSchema.parse({ ...responseFields$, - data: val$, + "200_application/json_data": val$, + }); + }, + "Response validation failed" + ); + return result; + } else if (this.matchResponse(response, 201, "application/json")) { + const responseBody = await response.json(); + const result = schemas$.parse( + responseBody, + (val$) => { + return operations.UploadAssetResponse$.inboundSchema.parse({ + ...responseFields$, + "201_application/json_data": val$, }); }, "Response validation failed" diff --git a/src/types/enums.ts b/src/types/enums.ts new file mode 100644 index 0000000..4de0142 --- /dev/null +++ b/src/types/enums.ts @@ -0,0 +1,16 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +declare const __brand: unique symbol; +export type Unrecognized = T & { [__brand]: "unrecognized" }; + +export function catchUnrecognizedEnum(value: T): Unrecognized { + return value as Unrecognized; +} + +type Prettify = { [K in keyof T]: T[K] } & {}; +export type ClosedEnum = T[keyof T]; +export type OpenEnum = + | Prettify + | Unrecognized; diff --git a/src/types/index.ts b/src/types/index.ts index 3937ae7..42fcfd2 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -6,3 +6,5 @@ export { RFCDate } from "./rfcdate"; export { blobLikeSchema, isBlobLike } from "./blobs"; export type { Paginator, PageIterator } from "./operations"; export { createPageIterator } from "./operations"; +export { catchUnrecognizedEnum } from "./enums"; +export type { OpenEnum, ClosedEnum, Unrecognized } from "./enums"; diff --git a/tests/stream.test.ts b/tests/stream.test.ts index 9a04010..53df577 100644 --- a/tests/stream.test.ts +++ b/tests/stream.test.ts @@ -1,5 +1,4 @@ import { Livepeer } from "../index.js"; -import type { NewStreamPayload } from "../models/components"; import { compareResponseStructures } from "./utils"; const API_BASE_URL = "https://livepeer.studio/api"; @@ -15,7 +14,7 @@ describe("Streams API", () => { profiles: null }; - const { stream } = await sdk.stream.create(body as unknown as NewStreamPayload); + const { stream } = await sdk.stream.create(body); const response = await fetch(`${API_BASE_URL}/stream`, { method: "POST",