22 Commits
Author SHA1 Message Date
CodeAnimal 19e22df5dd Stripe node 4.5.0 (#8907)
* Update Stripe library definitions to version 4.5.0.

And update to API version 2016-03-07.

Ideally more tests need to be added, but I've ran out of time to
implement all that is needed. The tests cover just enough for now,
although they are by no means thorough.

* Fix CI test errors

* Add correct header options

Add correct header options to method definitions.

As I understand it, all methods have the ability to have header options,
and they should always appear after any data options, see:

https://github.com/stripe/stripe-node/blob/master/lib/StripeMethod.js#L61
https://stripe.com/docs/connect/authentication

Tests still need to be added.

* Rename account to accounts

And fix other small bugs:
- L4626: Fix duplicate arg name
- L4999: Add missing method definition

* Rename CustomerSubscription Methods

Rename some CustomerSubscription methods that were named incorrectly.

* Define chargeObj.refunds methods

Add ChargeRefunds methods to ICharge interface and add resource class.

https://github.com/stripe/stripe-node/blob/master/lib/resources/ChargeRefunds.js

* Add verifySource placeholder methods

Add verifySource placeholder method to the Customer resource class. This
needs to be properly implemented later.

Also update InvoiceLineItem.type property to be a string literal type.

* Test clean up

Clean up the tests and add a few missing tests. All current tests now
also test for Promise method returns.

Still a lot of missing tests, but it's better than before.
2016-04-13 00:50:15 +09:00
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Long Zheng 2ea30ab68d Updated stripe.d.ts
Stripe allows ```createToken``` at the card object
2016-02-03 12:04:06 +11:00
amritk a30d1017ee Update stripe.d.ts 2015-12-16 18:32:12 -08:00
amritk 8907ae9ff9 update stripe.d.ts
All those extra bank fields are passed as routing number.
2015-12-16 16:26:17 -08:00
amritk b6f9544291 update stripe.d.ts
Added status to bank token creation response
2015-12-16 15:33:27 -08:00
amritk ea67870062 Updated stripe.d.ts
Added bank account methods for managed accounts.
2015-12-16 15:25:21 -08:00
Andy Hawkins — (̖̣͕̠̬̭̞̪̐̅ỉ̭̣͈̪̠ͮs̳̳̦̞̰̜̞̳͑͌͋ͪ̃̍ ̩̘́͑ͨ̈́̎̋ͮ͊̀ñ͔̣͓̬̈ͮͦ́ͫ͐͛ͅͅo̩̦̳̠̙̗̯̺̐͆̽t̜̥̻̙̟̼̜͂ͩ͋̅̈́ ̠̦̹̟͕͕̱͉͒͋̅́͐ā̟̻̱ͦ̒̍͋ ̗̞͚ͨͩ͊͂̉ͅh͔̼͚̩͚̪̝̝ͣa̫̫̒̓ͬc̦̲̳͍̹̃ͥͯk̲͕̗̖̤̙̜͍̊e̫͎̟̼̺̫̿r͙̰̊̑̿̅ͯͅ)̪̖͇̝̮̪͖̦͆̇ͧ͑̚ c4a713cfee fix header 2015-08-26 16:41:20 -04:00
Andy Hawkins — (̖̣͕̠̬̭̞̪̐̅ỉ̭̣͈̪̠ͮs̳̳̦̞̰̜̞̳͑͌͋ͪ̃̍ ̩̘́͑ͨ̈́̎̋ͮ͊̀ñ͔̣͓̬̈ͮͦ́ͫ͐͛ͅͅo̩̦̳̠̙̗̯̺̐͆̽t̜̥̻̙̟̼̜͂ͩ͋̅̈́ ̠̦̹̟͕͕̱͉͒͋̅́͐ā̟̻̱ͦ̒̍͋ ̗̞͚ͨͩ͊͂̉ͅh͔̼͚̩͚̪̝̝ͣa̫̫̒̓ͬc̦̲̳͍̹̃ͥͯk̲͕̗̖̤̙̜͍̊e̫͎̟̼̺̫̿r͙̰̊̑̿̅ͯͅ)̪̖͇̝̮̪͖̦͆̇ͧ͑̚ ab7877b662 Update to fix AMD/UMD module imports 2015-08-26 16:38:26 -04:00
Daniel Rosenwasser 58345fc448 Merge branch 'master' into handleExtraObjectLiteralProperties
Conflicts:
	angular-ui-bootstrap/angular-ui-bootstrap-tests.ts
2015-08-17 12:28:46 -07:00
Daniel Rosenwasser e8c0ad7b0b IMetadata shouldn't extend Object in 'stripe'. 2015-08-10 16:51:53 -07:00
vvakame eba9f1e2ff remove unrequired .tscparams 2015-08-08 15:41:13 +09:00
Will Johnston 1711941290 fixing implicit any in stripe.d.ts, elminating duplicate variables between stripe and stripe-node 2015-04-13 11:19:08 -05:00
Will Johnston 4f63dbf41c renamed stripe-node/stripe-node -> stripe/stripe-node 2015-04-13 11:13:38 -05:00
ianschmitz 866c253cbd Update stripe.d.ts
Forgot to add "card" to the StripeStatic interface.
2014-12-11 11:11:03 -08:00
ianschmitz 7f3c985d43 Update stripe.d.ts
Edited definition file to align with: https://stripe.com/docs/stripe.js#createToken
2014-12-10 16:57:40 -08:00
Mohamed Hegazy 2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
vvakame 2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame 3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Boris Yankov 41ead7462b Add definitions for stripe, knockout.es5, jquery.payment and jquery.superLink 2013-09-11 17:33:56 +03:00