mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-10 04:19:48 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.308.1 (#125)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
This commit is contained in:
committed by
GitHub
parent
370eb1a88c
commit
927e26d2d0
@@ -3,10 +3,10 @@ id: f28179cc-ef59-426d-9e85-60cec22fc642
|
|||||||
management:
|
management:
|
||||||
docChecksum: ba3e83845a082a6c2321d0eeaaf9c23c
|
docChecksum: ba3e83845a082a6c2321d0eeaaf9c23c
|
||||||
docVersion: 0.0.1
|
docVersion: 0.0.1
|
||||||
speakeasyVersion: 1.306.0
|
speakeasyVersion: 1.308.1
|
||||||
generationVersion: 2.340.3
|
generationVersion: 2.342.6
|
||||||
releaseVersion: 0.29.18
|
releaseVersion: 0.29.19
|
||||||
configChecksum: 7b734b1bea3f5aa02fa180a183d84da8
|
configChecksum: 16dcbf7b27038e97d6737d5eb5d0d00f
|
||||||
repoURL: https://github.com/dubinc/dub-node.git
|
repoURL: https://github.com/dubinc/dub-node.git
|
||||||
installationURL: https://github.com/dubinc/dub-node
|
installationURL: https://github.com/dubinc/dub-node
|
||||||
published: true
|
published: true
|
||||||
@@ -14,7 +14,7 @@ features:
|
|||||||
typescript:
|
typescript:
|
||||||
additionalDependencies: 0.1.0
|
additionalDependencies: 0.1.0
|
||||||
constsAndDefaults: 0.1.5
|
constsAndDefaults: 0.1.5
|
||||||
core: 3.9.13
|
core: 3.9.14
|
||||||
deprecations: 2.81.1
|
deprecations: 2.81.1
|
||||||
examples: 2.81.4
|
examples: 2.81.4
|
||||||
flattening: 2.81.1
|
flattening: 2.81.1
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
typescript:
|
typescript:
|
||||||
version: 0.29.18
|
version: 0.29.19
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dependencies: {}
|
dependencies: {}
|
||||||
devDependencies:
|
devDependencies:
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
speakeasyVersion: 1.306.0
|
speakeasyVersion: 1.308.1
|
||||||
sources:
|
sources:
|
||||||
my-first-source:
|
my-first-source:
|
||||||
sourceNamespace: my-first-source
|
sourceNamespace: my-first-source
|
||||||
sourceRevisionDigest: sha256:8c17755b9d3c07391761c3012a50f04523eabcd578d197315dfc8e9e84747c97
|
sourceRevisionDigest: sha256:9a700e801c2472d685c26ad0596334e1fdf7630c097d072aa8794e7087e6e2bb
|
||||||
sourceBlobDigest: sha256:22ce9ef46e6c3905a84147071418d68f197fd93ff71b7c5e732eedecbec4a563
|
sourceBlobDigest: sha256:3146fa3c80ad954fbc1a1ea231099ecc5126b8f14693850e8c2d10183642574e
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
- main
|
||||||
@@ -11,8 +11,8 @@ targets:
|
|||||||
my-first-target:
|
my-first-target:
|
||||||
source: my-first-source
|
source: my-first-source
|
||||||
sourceNamespace: my-first-source
|
sourceNamespace: my-first-source
|
||||||
sourceRevisionDigest: sha256:8c17755b9d3c07391761c3012a50f04523eabcd578d197315dfc8e9e84747c97
|
sourceRevisionDigest: sha256:9a700e801c2472d685c26ad0596334e1fdf7630c097d072aa8794e7087e6e2bb
|
||||||
sourceBlobDigest: sha256:22ce9ef46e6c3905a84147071418d68f197fd93ff71b7c5e732eedecbec4a563
|
sourceBlobDigest: sha256:3146fa3c80ad954fbc1a1ea231099ecc5126b8f14693850e8c2d10183642574e
|
||||||
outLocation: /github/workspace/repo
|
outLocation: /github/workspace/repo
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
|
|||||||
12
RELEASES.md
12
RELEASES.md
@@ -446,4 +446,14 @@ Based on:
|
|||||||
### Generated
|
### Generated
|
||||||
- [typescript v0.29.18] .
|
- [typescript v0.29.18] .
|
||||||
### Releases
|
### Releases
|
||||||
- [NPM v0.29.18] https://www.npmjs.com/package/dub/v/0.29.18 - .
|
- [NPM v0.29.18] https://www.npmjs.com/package/dub/v/0.29.18 - .
|
||||||
|
|
||||||
|
## 2024-06-17 01:20:57
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.308.1 (2.342.6) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [typescript v0.29.19] .
|
||||||
|
### Releases
|
||||||
|
- [NPM v0.29.19] https://www.npmjs.com/package/dub/v/0.29.19 - .
|
||||||
612
codeSamples.yaml
612
codeSamples.yaml
@@ -3,11 +3,11 @@ info:
|
|||||||
title: CodeSamples overlay for typescript target
|
title: CodeSamples overlay for typescript target
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
actions:
|
actions:
|
||||||
- target: $["paths"]["/domains"]["get"]
|
- target: $["paths"]["/links"]["get"]
|
||||||
update:
|
update:
|
||||||
"x-codeSamples":
|
"x-codeSamples":
|
||||||
- "lang": "typescript"
|
- "lang": "typescript"
|
||||||
"label": "listDomains"
|
"label": "getLinks"
|
||||||
"source": |-
|
"source": |-
|
||||||
import { Dub } from "dub";
|
import { Dub } from "dub";
|
||||||
|
|
||||||
@@ -17,97 +17,7 @@ actions:
|
|||||||
});
|
});
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
const result = await dub.domains.list({});
|
const result = await dub.links.list({});
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/domains/{slug}"]["patch"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "updateDomain"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.domains.update("acme.com", {});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/track/lead"]["post"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "trackLead"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.track.lead({
|
|
||||||
clickId: "<value>",
|
|
||||||
eventName: "Sign up",
|
|
||||||
customerId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/links/{linkId}"]["delete"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "deleteLink"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.links.delete("<value>");
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/links/{linkId}"]["patch"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "updateLink"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.links.update("<value>", {
|
|
||||||
url: "https://google/com",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
// Handle the result
|
||||||
console.log(result)
|
console.log(result)
|
||||||
@@ -135,11 +45,11 @@ actions:
|
|||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/workspaces"]["get"]
|
- target: $["paths"]["/tags"]["get"]
|
||||||
update:
|
update:
|
||||||
"x-codeSamples":
|
"x-codeSamples":
|
||||||
- "lang": "typescript"
|
- "lang": "typescript"
|
||||||
"label": "getWorkspaces"
|
"label": "getTags"
|
||||||
"source": |-
|
"source": |-
|
||||||
import { Dub } from "dub";
|
import { Dub } from "dub";
|
||||||
|
|
||||||
@@ -149,7 +59,7 @@ actions:
|
|||||||
});
|
});
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
const result = await dub.workspaces.list();
|
const result = await dub.tags.list({});
|
||||||
|
|
||||||
// Handle the result
|
// Handle the result
|
||||||
console.log(result)
|
console.log(result)
|
||||||
@@ -178,6 +88,115 @@ actions:
|
|||||||
console.log(result)
|
console.log(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/domains/{slug}/primary"]["post"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "setPrimaryDomain"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.domains.setPrimary("acme.com");
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/links/upsert"]["put"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "upsertLink"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.links.upsert({
|
||||||
|
url: "https://google/com",
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/qr"]["get"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "getQRCode"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.qrCodes.get({
|
||||||
|
url: "https://brief-micronutrient.org",
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/workspaces"]["get"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "getWorkspaces"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.workspaces.list();
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/domains/{slug}"]["patch"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "updateDomain"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.domains.update("acme.com", {});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/track/sale"]["post"]
|
- target: $["paths"]["/track/sale"]["post"]
|
||||||
update:
|
update:
|
||||||
@@ -204,6 +223,118 @@ actions:
|
|||||||
console.log(result)
|
console.log(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/links/{linkId}"]["delete"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "deleteLink"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.links.delete("<value>");
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/workspaces"]["post"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "createWorkspace"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.workspaces.create({
|
||||||
|
name: "<value>",
|
||||||
|
slug: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/workspaces/{idOrSlug}"]["get"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "getWorkspace"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.workspaces.get({
|
||||||
|
idOrSlug: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/domains/{slug}"]["delete"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "deleteDomain"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.domains.delete("acme.com");
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/domains/{slug}/transfer"]["post"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "transferDomain"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.domains.transfer("acme.com", {
|
||||||
|
newWorkspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/track/customer"]["post"]
|
- target: $["paths"]["/track/customer"]["post"]
|
||||||
update:
|
update:
|
||||||
@@ -250,6 +381,31 @@ actions:
|
|||||||
console.log(result)
|
console.log(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/track/lead"]["post"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "trackLead"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.track.lead({
|
||||||
|
clickId: "<value>",
|
||||||
|
eventName: "Sign up",
|
||||||
|
customerId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/links"]["post"]
|
- target: $["paths"]["/links"]["post"]
|
||||||
update:
|
update:
|
||||||
@@ -273,187 +429,6 @@ actions:
|
|||||||
console.log(result)
|
console.log(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/links/upsert"]["put"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "upsertLink"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.links.upsert({
|
|
||||||
url: "https://google/com",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/links"]["get"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "getLinks"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.links.list({});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/links/bulk"]["post"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "bulkCreateLinks"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.links.createMany([
|
|
||||||
{
|
|
||||||
url: "https://google/com",
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/domains"]["post"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "addDomain"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.domains.add({
|
|
||||||
slug: "acme.com",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/workspaces"]["post"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "createWorkspace"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.workspaces.create({
|
|
||||||
name: "<value>",
|
|
||||||
slug: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/domains/{slug}/primary"]["post"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "setPrimaryDomain"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.domains.setPrimary("acme.com");
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/domains/{slug}/transfer"]["post"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "transferDomain"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.domains.transfer("acme.com", {
|
|
||||||
newWorkspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/domains/{slug}"]["delete"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "deleteDomain"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.domains.delete("acme.com");
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/links/count"]["get"]
|
- target: $["paths"]["/links/count"]["get"]
|
||||||
update:
|
update:
|
||||||
@@ -497,11 +472,11 @@ actions:
|
|||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/qr"]["get"]
|
- target: $["paths"]["/links/{linkId}"]["patch"]
|
||||||
update:
|
update:
|
||||||
"x-codeSamples":
|
"x-codeSamples":
|
||||||
- "lang": "typescript"
|
- "lang": "typescript"
|
||||||
"label": "getQRCode"
|
"label": "updateLink"
|
||||||
"source": |-
|
"source": |-
|
||||||
import { Dub } from "dub";
|
import { Dub } from "dub";
|
||||||
|
|
||||||
@@ -511,8 +486,8 @@ actions:
|
|||||||
});
|
});
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
const result = await dub.qrCodes.get({
|
const result = await dub.links.update("<value>", {
|
||||||
url: "https://brief-micronutrient.org",
|
url: "https://google/com",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Handle the result
|
// Handle the result
|
||||||
@@ -520,11 +495,11 @@ actions:
|
|||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run();
|
||||||
- target: $["paths"]["/workspaces/{idOrSlug}"]["get"]
|
- target: $["paths"]["/links/bulk"]["post"]
|
||||||
update:
|
update:
|
||||||
"x-codeSamples":
|
"x-codeSamples":
|
||||||
- "lang": "typescript"
|
- "lang": "typescript"
|
||||||
"label": "getWorkspace"
|
"label": "bulkCreateLinks"
|
||||||
"source": |-
|
"source": |-
|
||||||
import { Dub } from "dub";
|
import { Dub } from "dub";
|
||||||
|
|
||||||
@@ -534,33 +509,58 @@ actions:
|
|||||||
});
|
});
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
const result = await dub.workspaces.get({
|
const result = await dub.links.createMany([
|
||||||
idOrSlug: "<value>",
|
{
|
||||||
|
url: "https://google/com",
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/domains"]["get"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "listDomains"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.domains.list({});
|
||||||
|
|
||||||
|
// Handle the result
|
||||||
|
console.log(result)
|
||||||
|
}
|
||||||
|
|
||||||
|
run();
|
||||||
|
- target: $["paths"]["/domains"]["post"]
|
||||||
|
update:
|
||||||
|
"x-codeSamples":
|
||||||
|
- "lang": "typescript"
|
||||||
|
"label": "addDomain"
|
||||||
|
"source": |-
|
||||||
|
import { Dub } from "dub";
|
||||||
|
|
||||||
|
const dub = new Dub({
|
||||||
|
token: "DUB_API_KEY",
|
||||||
|
workspaceId: "<value>",
|
||||||
|
});
|
||||||
|
|
||||||
|
async function run() {
|
||||||
|
const result = await dub.domains.add({
|
||||||
|
slug: "acme.com",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Handle the result
|
// Handle the result
|
||||||
console.log(result)
|
console.log(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/tags"]["get"]
|
|
||||||
update:
|
|
||||||
"x-codeSamples":
|
|
||||||
- "lang": "typescript"
|
|
||||||
"label": "getTags"
|
|
||||||
"source": |-
|
|
||||||
import { Dub } from "dub";
|
|
||||||
|
|
||||||
const dub = new Dub({
|
|
||||||
token: "DUB_API_KEY",
|
|
||||||
workspaceId: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await dub.tags.list({});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
run();
|
||||||
|
|||||||
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.18",
|
"version": "0.29.19",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/index.ts",
|
".": "./src/index.ts",
|
||||||
"./models/errors": "./src/models/errors/index.ts",
|
"./models/errors": "./src/models/errors/index.ts",
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.18",
|
"version": "0.29.19",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.18",
|
"version": "0.29.19",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsonpath": "^0.2.4",
|
"@types/jsonpath": "^0.2.4",
|
||||||
"@types/node": "^20.12.7",
|
"@types/node": "^20.12.7",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.18",
|
"version": "0.29.19",
|
||||||
"author": "Dub",
|
"author": "Dub",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|||||||
export const SDK_METADATA = {
|
export const SDK_METADATA = {
|
||||||
language: "typescript",
|
language: "typescript",
|
||||||
openapiDocVersion: "0.0.1",
|
openapiDocVersion: "0.0.1",
|
||||||
sdkVersion: "0.29.18",
|
sdkVersion: "0.29.19",
|
||||||
genVersion: "2.340.3",
|
genVersion: "2.342.6",
|
||||||
userAgent: "speakeasy-sdk/typescript 0.29.18 2.340.3 0.0.1 dub",
|
userAgent: "speakeasy-sdk/typescript 0.29.19 2.342.6 0.0.1 dub",
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
@@ -63,28 +63,28 @@ export class Analytics extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/analytics")();
|
const path$ = this.templateURLComponent("/analytics")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
key: payload$.key,
|
|
||||||
linkId: payload$.linkId,
|
|
||||||
device: payload$.device,
|
|
||||||
browser: payload$.browser,
|
browser: payload$.browser,
|
||||||
tagId: payload$.tagId,
|
|
||||||
city: payload$.city,
|
city: payload$.city,
|
||||||
url: payload$.url,
|
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
event: payload$.event,
|
|
||||||
domain: payload$.domain,
|
|
||||||
externalId: payload$.externalId,
|
|
||||||
timezone: payload$.timezone,
|
|
||||||
country: payload$.country,
|
country: payload$.country,
|
||||||
projectSlug: this.options$.projectSlug,
|
device: payload$.device,
|
||||||
qr: payload$.qr,
|
domain: payload$.domain,
|
||||||
|
end: payload$.end,
|
||||||
|
event: payload$.event,
|
||||||
|
externalId: payload$.externalId,
|
||||||
groupBy: payload$.groupBy,
|
groupBy: payload$.groupBy,
|
||||||
interval: payload$.interval,
|
interval: payload$.interval,
|
||||||
start: payload$.start,
|
key: payload$.key,
|
||||||
|
linkId: payload$.linkId,
|
||||||
os: payload$.os,
|
os: payload$.os,
|
||||||
|
projectSlug: this.options$.projectSlug,
|
||||||
|
qr: payload$.qr,
|
||||||
referer: payload$.referer,
|
referer: payload$.referer,
|
||||||
end: payload$.end,
|
|
||||||
root: payload$.root,
|
root: payload$.root,
|
||||||
|
start: payload$.start,
|
||||||
|
tagId: payload$.tagId,
|
||||||
|
timezone: payload$.timezone,
|
||||||
|
url: payload$.url,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ export class Domains extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/domains")();
|
const path$ = this.templateURLComponent("/domains")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -160,8 +160,8 @@ export class Domains extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/domains")();
|
const path$ = this.templateURLComponent("/domains")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -261,8 +261,8 @@ export class Domains extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/domains/{slug}")(pathParams$);
|
const path$ = this.templateURLComponent("/domains/{slug}")(pathParams$);
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -365,8 +365,8 @@ export class Domains extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/domains/{slug}")(pathParams$);
|
const path$ = this.templateURLComponent("/domains/{slug}")(pathParams$);
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -463,8 +463,8 @@ export class Domains extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/domains/{slug}/primary")(pathParams$);
|
const path$ = this.templateURLComponent("/domains/{slug}/primary")(pathParams$);
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -567,8 +567,8 @@ export class Domains extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/domains/{slug}/transfer")(pathParams$);
|
const path$ = this.templateURLComponent("/domains/{slug}/transfer")(pathParams$);
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
|
|||||||
@@ -69,18 +69,18 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links")();
|
const path$ = this.templateURLComponent("/links")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
tagId: payload$.tagId,
|
|
||||||
sort: payload$.sort,
|
|
||||||
page: payload$.page,
|
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
domain: payload$.domain,
|
domain: payload$.domain,
|
||||||
|
page: payload$.page,
|
||||||
|
projectSlug: this.options$.projectSlug,
|
||||||
|
search: payload$.search,
|
||||||
|
showArchived: payload$.showArchived,
|
||||||
|
sort: payload$.sort,
|
||||||
|
tagId: payload$.tagId,
|
||||||
tagIds: payload$.tagIds,
|
tagIds: payload$.tagIds,
|
||||||
tagNames: payload$.tagNames,
|
tagNames: payload$.tagNames,
|
||||||
search: payload$.search,
|
|
||||||
userId: payload$.userId,
|
userId: payload$.userId,
|
||||||
showArchived: payload$.showArchived,
|
|
||||||
withTags: payload$.withTags,
|
withTags: payload$.withTags,
|
||||||
projectSlug: this.options$.projectSlug,
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -177,8 +177,8 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links")();
|
const path$ = this.templateURLComponent("/links")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -273,17 +273,17 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links/count")();
|
const path$ = this.templateURLComponent("/links/count")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
domain: payload$.domain,
|
||||||
|
groupBy: payload$.groupBy,
|
||||||
|
projectSlug: this.options$.projectSlug,
|
||||||
|
search: payload$.search,
|
||||||
|
showArchived: payload$.showArchived,
|
||||||
|
tagId: payload$.tagId,
|
||||||
tagIds: payload$.tagIds,
|
tagIds: payload$.tagIds,
|
||||||
tagNames: payload$.tagNames,
|
tagNames: payload$.tagNames,
|
||||||
groupBy: payload$.groupBy,
|
|
||||||
userId: payload$.userId,
|
userId: payload$.userId,
|
||||||
showArchived: payload$.showArchived,
|
|
||||||
withTags: payload$.withTags,
|
withTags: payload$.withTags,
|
||||||
projectSlug: this.options$.projectSlug,
|
workspaceId: this.options$.workspaceId,
|
||||||
domain: payload$.domain,
|
|
||||||
tagId: payload$.tagId,
|
|
||||||
search: payload$.search,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -379,11 +379,11 @@ export class Links extends ClientSDK {
|
|||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
domain: payload$.domain,
|
domain: payload$.domain,
|
||||||
|
externalId: payload$.externalId,
|
||||||
key: payload$.key,
|
key: payload$.key,
|
||||||
linkId: payload$.linkId,
|
linkId: payload$.linkId,
|
||||||
externalId: payload$.externalId,
|
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -486,8 +486,8 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links/{linkId}")(pathParams$);
|
const path$ = this.templateURLComponent("/links/{linkId}")(pathParams$);
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -593,8 +593,8 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links/{linkId}")(pathParams$);
|
const path$ = this.templateURLComponent("/links/{linkId}")(pathParams$);
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -691,8 +691,8 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links/bulk")();
|
const path$ = this.templateURLComponent("/links/bulk")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -789,8 +789,8 @@ export class Links extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/links/upsert")();
|
const path$ = this.templateURLComponent("/links/upsert")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
|
|||||||
@@ -61,12 +61,12 @@ export class QRCodes extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/qr")();
|
const path$ = this.templateURLComponent("/qr")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
includeMargin: payload$.includeMargin,
|
|
||||||
url: payload$.url,
|
|
||||||
size: payload$.size,
|
|
||||||
level: payload$.level,
|
|
||||||
fgColor: payload$.fgColor,
|
|
||||||
bgColor: payload$.bgColor,
|
bgColor: payload$.bgColor,
|
||||||
|
fgColor: payload$.fgColor,
|
||||||
|
includeMargin: payload$.includeMargin,
|
||||||
|
level: payload$.level,
|
||||||
|
size: payload$.size,
|
||||||
|
url: payload$.url,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
|
|||||||
@@ -59,8 +59,8 @@ export class Tags extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/tags")();
|
const path$ = this.templateURLComponent("/tags")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -156,8 +156,8 @@ export class Tags extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/tags")();
|
const path$ = this.templateURLComponent("/tags")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
|
|||||||
@@ -65,8 +65,8 @@ export class Track extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/track/lead")();
|
const path$ = this.templateURLComponent("/track/lead")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -163,8 +163,8 @@ export class Track extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/track/sale")();
|
const path$ = this.templateURLComponent("/track/sale")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
@@ -262,8 +262,8 @@ export class Track extends ClientSDK {
|
|||||||
const path$ = this.templateURLComponent("/track/customer")();
|
const path$ = this.templateURLComponent("/track/customer")();
|
||||||
|
|
||||||
const query$ = encodeFormQuery$({
|
const query$ = encodeFormQuery$({
|
||||||
workspaceId: this.options$.workspaceId,
|
|
||||||
projectSlug: this.options$.projectSlug,
|
projectSlug: this.options$.projectSlug,
|
||||||
|
workspaceId: this.options$.workspaceId,
|
||||||
});
|
});
|
||||||
|
|
||||||
let security$;
|
let security$;
|
||||||
|
|||||||
Reference in New Issue
Block a user