shippo-node-client icon indicating copy to clipboard operation
shippo-node-client copied to clipboard

Typescript definitions

Open mderrick opened this issue 6 years ago • 16 comments

Are there any Typescript definitions expected in the future? Thanks!

mderrick avatar Nov 05 '18 17:11 mderrick

Can a maintainer confirm if they would accept a PR with a definition file? We're currently evaluating a couple of similar services. We don't mind contributing some definitions but don't want the full responsibility of maintaining it.

dan-j avatar Mar 04 '19 11:03 dan-j

Sorry for the long response time on this. We'd gladly accept a PR for TypeScript definitions if anybody would like to contribute one. Otherwise, I'll try to commit them myself if I have time; it's a good suggestion.

epistemancer avatar Apr 16 '20 00:04 epistemancer

Did anyone came across this and write them ? Much needed

kwent avatar Sep 01 '20 21:09 kwent

image

The repo hasn't been updated since April, hopes are low. Maybe someone will figure out a DefinitelyTyped solution.

saiichihashimoto avatar Sep 12 '20 00:09 saiichihashimoto

Huhh. Much needed thing!!

architgarg avatar Oct 01 '20 15:10 architgarg

Is this something that is being thought of? At the very least, is there work on a version being shipped within https://github.com/DefinitelyTyped/DefinitelyTyped? I doubt anyone from shippo is looking at this but hopefully someone can get something working there.

saiichihashimoto avatar Nov 04 '20 19:11 saiichihashimoto

The Definitely Typed types weren't very good when I tried to use (not really up to date with the API version) so I have added my own definitions. The quality of mine is also probably not the best for general use but its enough to satisfy a bunch of situations. I'm willing to share in a Gist if anyone is interested. At least its a starting point. I might have time in the future to contribute to the Def Typed version if this is useful to anyone

https://gist.github.com/jbool24/93f017d4a496aac05655fcde0867a894

jbool24 avatar Oct 28 '21 20:10 jbool24

Can we get an update on this issue from any of the maintainers? TypeScript is rapidly growing in popularity and the current typings published do not work with the latest version of the package. Having typings included would be an amazing experience to have for those that use strict TypeScript

jrkienle avatar Feb 19 '22 20:02 jrkienle

Bump!

peterb0yd avatar Apr 28 '22 00:04 peterb0yd

Hi All, I recently joined Shippo as Dev Rel and will be looking into how to accommodate this request to support TypeScript. It might take some time for us to work on it, but @dan-j if you or anybody here wants to send a PR, would definitely be happy to review it and accept the PR. We will continue to support it and start to maintain all our SDKs with timely releases and support.

vyshakhbabji avatar Apr 28 '22 17:04 vyshakhbabji

We need Typescript support, even if it's partial for the moment.

eparizzi-clevertech avatar Jan 12 '23 09:01 eparizzi-clevertech

Any updates on this?

enchorb avatar Mar 15 '23 21:03 enchorb

This was my workaround. Manually typed the API myself. Maybe it will help others while they get some official TS created (if ever)

The Definitely Typed types weren't very good when I tried to use (not really up to date with the API version) so I have added my own definitions. The quality of mine is also probably not the best for general use but its enough to satisfy a bunch of situations. I'm willing to share in a Gist if anyone is interested. At least its a starting point. I might have time in the future to contribute to the Def Typed version if this is useful to anyone

https://gist.github.com/jbool24/93f017d4a496aac05655fcde0867a894

jbool24 avatar Jun 03 '23 00:06 jbool24

Any updates on this? i also noticed that the types on @types/shippo are not great and created a discussion here but not sure if those types are even being maintained...

acommodari avatar Dec 05 '23 20:12 acommodari

UPDATE 04/01/2024

An update for anyone landing on this issue. I've spoken with reps and the do not maintain this repo anymore nor do they have any plans to pick up again. Unfortunately, you will have to create you own types in order to use this package as well as maintain the source yourself. They have also not even had the decency to archive this repo in order to let us know its dead.

You may be as upset as I am considering that Javascript is probably the largest community that could utilize a client library however they have made a clear decision to disregard that fact and ignore the community.

jbool24 avatar Apr 07 '24 01:04 jbool24

Thank you for bringing this up. Shippo is currently in the process of relaunching all our SDKs. We've recently introduced our new Python SDK, and the release of our new Node SDK is scheduled for the upcoming weeks.

AdrianCollinsShippo avatar Apr 08 '24 16:04 AdrianCollinsShippo