{"repo":"dubinc/dub-ts","free":true,"listed":false,"github":"https://github.com/dubinc/dub-ts","clone":"git clone https://github.com/dubinc/dub-ts.git","description":"Official Dub Typescript SDK","language":"TypeScript","stars":68,"topics":["api","dub","node","npm","typescript","speakeasy","speakeasyapi","sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Dub.co TypeScript SDK Learn more about the Dub.co TypeScript SDK in the official documentation. Table of Contents SDK Installation Requirements SDK Example Usage Available Resources and Operations Error Handling Server Selection Custom HTTP Client Authentication Retries Pagination Standalone functions Debugging Development Contributions SDK Installation The SDK can be installed with either npm, pnpm, bun or yarn package managers. NPM PNPM Bun Yarn [!NOTE] This package is published with CommonJS and ES Modules (ESM) support. Requirements For supported JavaScript runtimes, please consult RUNTIMES.md. SDK Example Usage Example 1 Example 2 Available Resources and Operations Available methods Analytics retrieve - Retrieve analytics for a link, a domain, or the authenticated workspace. Bounties listSubmissions - List bounty submissions approveSubmission - Approve a bounty submission rejectSubmission - Reject a bounty submission Commissions list - List all commissions create - Create commission update - Update a commission updateMany - Bulk update commissions Customers list - List all customers get - Retrieve a customer delete - Delete a customer update - Update a customer DiscountCodes list - List discount codes create - Create a discount code delete - Delete a discount code Domains list - List all domains create - Create a domain delete - Delete a domain update - Update a domain register - Register a domain checkStatus - Check the availability of one or more domains EmbedTokens re","default_branch":null,"files":null,"tree":[],"storefront":"/r/dubinc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dubinc/dub-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}