@nhost/stripe-graphql-js 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -4
- package/dist/schema/address.js +24 -6
- package/dist/schema/address.js.map +1 -1
- package/dist/schema/billing-portal-session.js +17 -5
- package/dist/schema/billing-portal-session.js.map +1 -1
- package/dist/schema/customer-shipping.js +4 -0
- package/dist/schema/customer-shipping.js.map +1 -1
- package/dist/schema/customer-tax-location.js +4 -1
- package/dist/schema/customer-tax-location.js.map +1 -1
- package/dist/schema/customer-tax.js +2 -0
- package/dist/schema/customer-tax.js.map +1 -1
- package/dist/schema/customer.js +28 -5
- package/dist/schema/customer.js.map +1 -1
- package/dist/schema/customers.js +6 -2
- package/dist/schema/customers.js.map +1 -1
- package/dist/schema/invoice-automatic-tax.js +4 -1
- package/dist/schema/invoice-automatic-tax.js.map +1 -1
- package/dist/schema/invoice-custom-field.js +6 -2
- package/dist/schema/invoice-custom-field.js.map +1 -1
- package/dist/schema/invoice-customer-shipping.js +4 -0
- package/dist/schema/invoice-customer-shipping.js.map +1 -1
- package/dist/schema/invoice-customer-tax-id.js +4 -1
- package/dist/schema/invoice-customer-tax-id.js.map +1 -1
- package/dist/schema/invoice-line-item-period.js +6 -2
- package/dist/schema/invoice-line-item-period.js.map +1 -1
- package/dist/schema/invoice-line-item-tax-amount.js +6 -2
- package/dist/schema/invoice-line-item-tax-amount.js.map +1 -1
- package/dist/schema/invoice-line-item.js +33 -8
- package/dist/schema/invoice-line-item.js.map +1 -1
- package/dist/schema/invoice-line-items.js +6 -2
- package/dist/schema/invoice-line-items.js.map +1 -1
- package/dist/schema/invoice.js +92 -20
- package/dist/schema/invoice.js.map +1 -1
- package/dist/schema/invoices.js +6 -2
- package/dist/schema/invoices.js.map +1 -1
- package/dist/schema/payment-method-billing-details.js +4 -0
- package/dist/schema/payment-method-billing-details.js.map +1 -1
- package/dist/schema/payment-method-card-checks.js +3 -0
- package/dist/schema/payment-method-card-checks.js.map +1 -1
- package/dist/schema/payment-method-card-networks.js +4 -1
- package/dist/schema/payment-method-card-networks.js.map +1 -1
- package/dist/schema/payment-method-card-three-d-secure-usage.js +3 -1
- package/dist/schema/payment-method-card-three-d-secure-usage.js.map +1 -1
- package/dist/schema/payment-method-card-wallet-masterpass.js +4 -0
- package/dist/schema/payment-method-card-wallet-masterpass.js.map +1 -1
- package/dist/schema/payment-method-card-wallet-visa-checkout.js +4 -0
- package/dist/schema/payment-method-card-wallet-visa-checkout.js.map +1 -1
- package/dist/schema/payment-method-card-wallet.d.ts.map +1 -1
- package/dist/schema/payment-method-card-wallet.js +5 -1
- package/dist/schema/payment-method-card-wallet.js.map +1 -1
- package/dist/schema/payment-method-card.js +19 -4
- package/dist/schema/payment-method-card.js.map +1 -1
- package/dist/schema/payment-method.js +17 -5
- package/dist/schema/payment-method.js.map +1 -1
- package/dist/schema/payment-methods.d.ts.map +1 -1
- package/dist/schema/payment-methods.js +6 -2
- package/dist/schema/payment-methods.js.map +1 -1
- package/dist/schema/plan.js +39 -10
- package/dist/schema/plan.js.map +1 -1
- package/dist/schema/price.js +31 -8
- package/dist/schema/price.js.map +1 -1
- package/dist/schema/product.js +36 -8
- package/dist/schema/product.js.map +1 -1
- package/dist/schema/stripe.js +8 -3
- package/dist/schema/stripe.js.map +1 -1
- package/dist/schema/subscription-automatic-tax.js +3 -1
- package/dist/schema/subscription-automatic-tax.js.map +1 -1
- package/dist/schema/subscription-billing-thresholds.js +2 -0
- package/dist/schema/subscription-billing-thresholds.js.map +1 -1
- package/dist/schema/subscription-item-billing-thresholds.js +1 -0
- package/dist/schema/subscription-item-billing-thresholds.js.map +1 -1
- package/dist/schema/subscription-item.js +17 -4
- package/dist/schema/subscription-item.js.map +1 -1
- package/dist/schema/subscription-items.js +6 -2
- package/dist/schema/subscription-items.js.map +1 -1
- package/dist/schema/subscription.js +56 -13
- package/dist/schema/subscription.js.map +1 -1
- package/dist/schema/subscriptions.js +6 -2
- package/dist/schema/subscriptions.js.map +1 -1
- package/dist/schema/test-clock.js +22 -7
- package/dist/schema/test-clock.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<h2 align="center">Stripe GraphQL API</h2>
|
|
3
3
|
|
|
4
4
|
<p align="center">
|
|
5
|
-
<img alt="npm" src="https://img.shields.io/npm/v/@nhost/stripe-graphql">
|
|
6
|
-
<img alt="npm" src="https://img.shields.io/npm/dm/@nhost/stripe-graphql">
|
|
5
|
+
<img alt="npm" src="https://img.shields.io/npm/v/@nhost/stripe-graphql-js">
|
|
6
|
+
<img alt="npm" src="https://img.shields.io/npm/dm/@nhost/stripe-graphql-js">
|
|
7
7
|
<a href="LICENSE">
|
|
8
8
|
<img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="license: MIT" />
|
|
9
9
|
</a>
|
|
@@ -14,7 +14,7 @@ This package creates a Stripe GraphQL API.
|
|
|
14
14
|
```graphql
|
|
15
15
|
query {
|
|
16
16
|
stripe {
|
|
17
|
-
customer(id: "
|
|
17
|
+
customer(id: "cus_xxx" {
|
|
18
18
|
id
|
|
19
19
|
name
|
|
20
20
|
invoices {
|
|
@@ -79,6 +79,24 @@ export default server
|
|
|
79
79
|
|
|
80
80
|
> You can run the Stripe GraphQL API in any JS environment because it's built using [GraphQL Yoga](https://github.com/dotansimha/graphql-yoga).
|
|
81
81
|
|
|
82
|
+
### Stripe Secret Key
|
|
83
|
+
|
|
84
|
+
Add `STRIPE_SECRET_KEY` as an environment variable. If you're using Nhost, add `STRIPE_SECRET_KEY` to `.env.development` like this:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
STRIPE_SECRET_KEY=sk_test_xxx
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Learn more about [Stripe API keys](https://stripe.com/docs/keys#obtain-api-keys).
|
|
91
|
+
|
|
92
|
+
### Start Nhost
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
nhost up
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Learn more about the [Nhost CLI](https://docs.nhost.io/platform/cli).
|
|
99
|
+
|
|
82
100
|
### Test
|
|
83
101
|
|
|
84
102
|
Test the Stripe GraphQL API in the browser:
|
|
@@ -92,7 +110,7 @@ Add the Stripe GraphQL API as a Remote Schema in Hasura.
|
|
|
92
110
|
**URL**
|
|
93
111
|
|
|
94
112
|
```
|
|
95
|
-
{{NHOST_BACKEND_URL}}/v1/functions/graphql/stripe
|
|
113
|
+
{{NHOST_BACKEND_URL}}/v1/functions/graphql/stripe
|
|
96
114
|
```
|
|
97
115
|
|
|
98
116
|
**Headers**
|
package/dist/schema/address.js
CHANGED
|
@@ -3,12 +3,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeAddress', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
line1: t.exposeString('line1', {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
line1: t.exposeString('line1', {
|
|
7
|
+
description: `Block/Building number.`,
|
|
8
|
+
nullable: true
|
|
9
|
+
}),
|
|
10
|
+
line2: t.exposeString('line2', {
|
|
11
|
+
description: `Building details.`,
|
|
12
|
+
nullable: true
|
|
13
|
+
}),
|
|
14
|
+
postalCode: t.exposeString('postal_code', {
|
|
15
|
+
description: `ZIP or postal code.`,
|
|
16
|
+
nullable: true
|
|
17
|
+
}),
|
|
18
|
+
city: t.exposeString('city', {
|
|
19
|
+
description: `City/Ward.`,
|
|
20
|
+
nullable: true
|
|
21
|
+
}),
|
|
22
|
+
state: t.exposeString('state', {
|
|
23
|
+
description: `Prefecture.`,
|
|
24
|
+
nullable: true
|
|
25
|
+
}),
|
|
26
|
+
country: t.exposeString('country', {
|
|
27
|
+
description: `Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).`,
|
|
28
|
+
nullable: true
|
|
29
|
+
})
|
|
12
30
|
})
|
|
13
31
|
});
|
|
14
32
|
//# sourceMappingURL=address.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../src/schema/address.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,eAAe,EAAE;IAClC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../src/schema/address.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,eAAe,EAAE;IAClC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,wBAAwB;YACrC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,mBAAmB;YAChC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,UAAU,EAAE,CAAC,CAAC,YAAY,CAAC,aAAa,EAAE;YACxC,WAAW,EAAE,qBAAqB;YAClC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,WAAW,EAAE,mGAAmG;YAChH,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -4,20 +4,32 @@ const builder_1 = require("../builder");
|
|
|
4
4
|
builder_1.builder.objectType('StripeBillingPortalSession', {
|
|
5
5
|
description: '',
|
|
6
6
|
fields: (t) => ({
|
|
7
|
-
id: t.exposeString('id'
|
|
8
|
-
|
|
7
|
+
id: t.exposeString('id', {
|
|
8
|
+
description: `Unique identifier for the object.`
|
|
9
|
+
}),
|
|
10
|
+
object: t.exposeString('object', {
|
|
11
|
+
description: `String representing the object's type. Objects of the same type share the same value.`
|
|
12
|
+
}),
|
|
9
13
|
// todo: configuration
|
|
10
|
-
created: t.exposeInt('created'
|
|
14
|
+
created: t.exposeInt('created', {
|
|
15
|
+
description: `Time at which the object was created. Measured in seconds since the Unix epoch.`
|
|
16
|
+
}),
|
|
11
17
|
// todo: customer
|
|
12
|
-
livemode: t.exposeBoolean('livemode'
|
|
18
|
+
livemode: t.exposeBoolean('livemode', {
|
|
19
|
+
description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
|
|
20
|
+
}),
|
|
13
21
|
locale: t.exposeString('locale', {
|
|
22
|
+
description: `The IETF language tag of the locale Customer Portal is displayed in. If blank or auto, the customer's \`preferred_locales\` or browser's locale is used.`,
|
|
14
23
|
nullable: true
|
|
15
24
|
}),
|
|
16
25
|
// todo: on behalf of
|
|
17
26
|
returnUrl: t.exposeString('return_url', {
|
|
27
|
+
description: `The URL to redirect customers to when they click on the portal's link to return to your website.`,
|
|
18
28
|
nullable: true
|
|
19
29
|
}),
|
|
20
|
-
url: t.exposeString('url'
|
|
30
|
+
url: t.exposeString('url', {
|
|
31
|
+
description: `The short-lived URL of the session that gives customers access to the customer portal.`
|
|
32
|
+
})
|
|
21
33
|
})
|
|
22
34
|
});
|
|
23
35
|
//# sourceMappingURL=billing-portal-session.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-portal-session.js","sourceRoot":"","sources":["../../src/schema/billing-portal-session.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,4BAA4B,EAAE;IAC/C,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"billing-portal-session.js","sourceRoot":"","sources":["../../src/schema/billing-portal-session.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,4BAA4B,EAAE;IAC/C,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE;YACvB,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE;YAC/B,WAAW,EAAE,uFAAuF;SACrG,CAAC;QACF,sBAAsB;QACtB,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE;YAC9B,WAAW,EAAE,iFAAiF;SAC/F,CAAC;QACF,iBAAiB;QACjB,QAAQ,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,EAAE;YACpC,WAAW,EAAE,oHAAoH;SAClI,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE;YAC/B,WAAW,EAAE,0JAA0J;YACvK,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,qBAAqB;QACrB,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAY,EAAE;YACtC,WAAW,EAAE,kGAAkG;YAC/G,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,EAAE;YACzB,WAAW,EAAE,wFAAwF;SACtG,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -8,15 +8,19 @@ builder_1.builder.objectType('StripeCustomerShipping', {
|
|
|
8
8
|
nullable: true
|
|
9
9
|
}),
|
|
10
10
|
carrier: t.exposeString('carrier', {
|
|
11
|
+
description: `The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.`,
|
|
11
12
|
nullable: true
|
|
12
13
|
}),
|
|
13
14
|
name: t.exposeString('name', {
|
|
15
|
+
description: `Recipient name.`,
|
|
14
16
|
nullable: true
|
|
15
17
|
}),
|
|
16
18
|
phone: t.exposeString('phone', {
|
|
19
|
+
description: `Recipient phone (including extension).`,
|
|
17
20
|
nullable: true
|
|
18
21
|
}),
|
|
19
22
|
trackingNumber: t.exposeString('tracking_number', {
|
|
23
|
+
description: `The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.`,
|
|
20
24
|
nullable: true
|
|
21
25
|
})
|
|
22
26
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-shipping.js","sourceRoot":"","sources":["../../src/schema/customer-shipping.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE;YAC3B,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,YAAY,CAAC,iBAAiB,EAAE;YAChD,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"customer-shipping.js","sourceRoot":"","sources":["../../src/schema/customer-shipping.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE;YAC3B,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,WAAW,EAAE,sFAAsF;YACnG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,iBAAiB;YAC9B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,YAAY,CAAC,iBAAiB,EAAE;YAChD,WAAW,EAAE,kLAAkL;YAC/L,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,13 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeCustomerTaxLocation', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
country: t.exposeString('country'
|
|
6
|
+
country: t.exposeString('country', {
|
|
7
|
+
description: `The customer's country as identified by Stripe Tax.`
|
|
8
|
+
}),
|
|
7
9
|
// todo: implement correct enum
|
|
8
10
|
// source: t.expose('source', {
|
|
9
11
|
// type: 'StripeCustomerTaxLocation',
|
|
10
12
|
// nullable: true
|
|
11
13
|
// }),
|
|
12
14
|
state: t.exposeString('state', {
|
|
15
|
+
description: `The customer's state, county, province, or region as identified by Stripe Tax.`,
|
|
13
16
|
nullable: true
|
|
14
17
|
})
|
|
15
18
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-tax-location.js","sourceRoot":"","sources":["../../src/schema/customer-tax-location.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"customer-tax-location.js","sourceRoot":"","sources":["../../src/schema/customer-tax-location.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,WAAW,EAAE,qDAAqD;SACnE,CAAC;QACF,+BAA+B;QAC/B,+BAA+B;QAC/B,uCAAuC;QACvC,mBAAmB;QACnB,MAAM;QACN,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,gFAAgF;YAC7F,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA;AAEF,uBAAuB;AACvB,+FAA+F;AAC/F,IAAI"}
|
|
@@ -9,9 +9,11 @@ builder_1.builder.objectType('StripeCustomerTax', {
|
|
|
9
9
|
// nullable: true
|
|
10
10
|
// }),
|
|
11
11
|
ipAddress: t.exposeString('ip_address', {
|
|
12
|
+
description: `A recent IP address of the customer used for tax reporting and tax location inference.`,
|
|
12
13
|
nullable: true
|
|
13
14
|
}),
|
|
14
15
|
location: t.expose('location', {
|
|
16
|
+
description: `The customer's location as identified by Stripe Tax.`,
|
|
15
17
|
type: 'StripeCustomerTaxLocation',
|
|
16
18
|
nullable: true
|
|
17
19
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-tax.js","sourceRoot":"","sources":["../../src/schema/customer-tax.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE;IACtC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,+BAA+B;QAC/B,4CAA4C;QAC5C,2CAA2C;QAC3C,mBAAmB;QACnB,MAAM;QACN,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAY,EAAE;YACtC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE;YAC7B,IAAI,EAAE,2BAA2B;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA;AAEF,0FAA0F"}
|
|
1
|
+
{"version":3,"file":"customer-tax.js","sourceRoot":"","sources":["../../src/schema/customer-tax.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE;IACtC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,+BAA+B;QAC/B,4CAA4C;QAC5C,2CAA2C;QAC3C,mBAAmB;QACnB,MAAM;QACN,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAY,EAAE;YACtC,WAAW,EAAE,wFAAwF;YACrG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE;YAC7B,WAAW,EAAE,sDAAsD;YACnE,IAAI,EAAE,2BAA2B;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA;AAEF,0FAA0F"}
|
package/dist/schema/customer.js
CHANGED
|
@@ -15,51 +15,73 @@ const payment_methods_1 = require("./payment-methods");
|
|
|
15
15
|
builder_1.builder.objectType('StripeCustomer', {
|
|
16
16
|
description: 'This object represents a customer of your business. It lets you create recurring charges and track payments that belong to the same customer.',
|
|
17
17
|
fields: (t) => ({
|
|
18
|
-
id: t.exposeString('id'
|
|
19
|
-
|
|
18
|
+
id: t.exposeString('id', {
|
|
19
|
+
description: `Unique identifier for the object.`
|
|
20
|
+
}),
|
|
21
|
+
object: t.exposeString('object', {
|
|
22
|
+
description: `String representing the object's type. Objects of the same type share the same value. `
|
|
23
|
+
}),
|
|
20
24
|
address: t.expose('address', {
|
|
25
|
+
description: `The customer's address.`,
|
|
21
26
|
type: 'StripeAddress',
|
|
22
27
|
nullable: true
|
|
23
28
|
}),
|
|
24
|
-
balance: t.exposeInt('balance'
|
|
29
|
+
balance: t.exposeInt('balance', {
|
|
30
|
+
description: `Current balance, if any, being stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.`
|
|
31
|
+
}),
|
|
25
32
|
// TODO: cash_balance
|
|
26
|
-
created: t.exposeInt('created'
|
|
33
|
+
created: t.exposeInt('created', {
|
|
34
|
+
description: `Time at which the object was created. Measured in seconds since the Unix epoch.`
|
|
35
|
+
}),
|
|
27
36
|
currency: t.exposeString('currency', {
|
|
37
|
+
description: `Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.`,
|
|
28
38
|
nullable: true
|
|
29
39
|
}),
|
|
30
40
|
// TODO: default_source
|
|
31
41
|
delinquent: t.exposeBoolean('delinquent', {
|
|
42
|
+
description: `When the customer's latest invoice is billed by charging automatically, \`delinquent\` is \`true\` if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, \`delinquent\` is \`true\` if the invoice isn't paid by its due date.\n\nIf an invoice is marked uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), \`delinquent\` doesn't get reset to \`false\`.`,
|
|
32
43
|
nullable: true
|
|
33
44
|
}),
|
|
34
45
|
description: t.exposeString('description', {
|
|
46
|
+
description: `An arbitrary string attached to the object. Often useful for displaying to users.`,
|
|
35
47
|
nullable: true
|
|
36
48
|
}),
|
|
37
49
|
// TODO: discount
|
|
38
50
|
email: t.exposeString('email', {
|
|
51
|
+
description: `The customer's email address.`,
|
|
39
52
|
nullable: true
|
|
40
53
|
}),
|
|
41
54
|
// TODO: invoice_credit_balance
|
|
42
55
|
invoicePrefix: t.exposeString('invoice_prefix', {
|
|
56
|
+
description: `The prefix for the customer used to generate unique invoice numbers.`,
|
|
43
57
|
nullable: true
|
|
44
58
|
}),
|
|
45
59
|
// TODO: invoice_settings
|
|
46
|
-
livemode: t.exposeBoolean('livemode'
|
|
60
|
+
livemode: t.exposeBoolean('livemode', {
|
|
61
|
+
description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
|
|
62
|
+
}),
|
|
47
63
|
metadata: t.expose('metadata', {
|
|
64
|
+
description: `Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.`,
|
|
48
65
|
type: 'JSON'
|
|
49
66
|
}),
|
|
50
67
|
name: t.exposeString('name', {
|
|
68
|
+
description: `The customer's full name or business name.`,
|
|
51
69
|
nullable: true
|
|
52
70
|
}),
|
|
53
71
|
nextInvoiceSequence: t.exposeInt('next_invoice_sequence', {
|
|
72
|
+
description: `The suffix of the customer's next invoice number, e.g., 0001.`,
|
|
54
73
|
nullable: true
|
|
55
74
|
}),
|
|
56
75
|
phone: t.exposeString('phone', {
|
|
76
|
+
description: `The customer's phone number.`,
|
|
57
77
|
nullable: true
|
|
58
78
|
}),
|
|
59
79
|
preferredLocales: t.exposeStringList('preferred_locales', {
|
|
80
|
+
description: `The customer's preferred locales (languages), ordered by preference.`,
|
|
60
81
|
nullable: true
|
|
61
82
|
}),
|
|
62
83
|
shipping: t.expose('shipping', {
|
|
84
|
+
description: `Mailing and shipping address for the customer. Appears on invoices emailed to this customer.`,
|
|
63
85
|
type: 'StripeCustomerShipping',
|
|
64
86
|
nullable: true
|
|
65
87
|
}),
|
|
@@ -73,6 +95,7 @@ builder_1.builder.objectType('StripeCustomer', {
|
|
|
73
95
|
// TODO: tax_ids
|
|
74
96
|
// tax_ids?: ApiList<Stripe.TaxId>;
|
|
75
97
|
subscriptions: t.field({
|
|
98
|
+
description: `The customer's current subscriptions, if any.`,
|
|
76
99
|
type: 'StripeSubscriptions',
|
|
77
100
|
nullable: false,
|
|
78
101
|
resolve: (customer) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../src/schema/customer.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,wCAAoC;AAEpC,oCAAiC;AAEjC,uDAA4D;AAE5D,iBAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE;IACnC,WAAW,EACT,+IAA+I;IACjJ,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../src/schema/customer.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,wCAAoC;AAEpC,oCAAiC;AAEjC,uDAA4D;AAE5D,iBAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE;IACnC,WAAW,EACT,+IAA+I;IACjJ,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE;YACvB,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF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AC;KACH,CAAC;CACH,CAAC,CAAA"}
|
package/dist/schema/customers.js
CHANGED
|
@@ -4,8 +4,12 @@ const builder_1 = require("../builder");
|
|
|
4
4
|
builder_1.builder.objectType('StripeCustomers', {
|
|
5
5
|
fields: (t) => ({
|
|
6
6
|
object: t.exposeString('object'),
|
|
7
|
-
url: t.exposeString('url'
|
|
8
|
-
|
|
7
|
+
url: t.exposeString('url', {
|
|
8
|
+
description: `The URL where this list can be accessed.`
|
|
9
|
+
}),
|
|
10
|
+
hasMore: t.exposeBoolean('has_more', {
|
|
11
|
+
description: `True if this list has another page of items after this one that can be fetched.`
|
|
12
|
+
}),
|
|
9
13
|
data: t.expose('data', {
|
|
10
14
|
type: ['StripeCustomer'],
|
|
11
15
|
nullable: false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/schema/customers.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE;IACpC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChC,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../src/schema/customers.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE;IACpC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChC,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,EAAE;YACzB,WAAW,EAAE,0CAA0C;SACxD,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,EAAE;YACnC,WAAW,EAAE,iFAAiF;SAC/F,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,8 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceAutomaticTax', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
enabled: t.exposeBoolean('enabled'
|
|
6
|
+
enabled: t.exposeBoolean('enabled', {
|
|
7
|
+
description: `Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or \`tax_behavior=unspecified\`) cannot be added to automatic tax invoices.`
|
|
8
|
+
}),
|
|
7
9
|
status: t.exposeString('status', {
|
|
10
|
+
description: `The status of the most recent automated tax calculation for this invoice.`,
|
|
8
11
|
nullable: true
|
|
9
12
|
})
|
|
10
13
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-automatic-tax.js","sourceRoot":"","sources":["../../src/schema/invoice-automatic-tax.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-automatic-tax.js","sourceRoot":"","sources":["../../src/schema/invoice-automatic-tax.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE;IAC9C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,SAAS,EAAE;YAClC,WAAW,EAAE,0RAA0R;SACxS,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE;YAC/B,WAAW,EAAE,2EAA2E;YACxF,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,8 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceCustomField', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
name: t.exposeString('name'
|
|
7
|
-
|
|
6
|
+
name: t.exposeString('name', {
|
|
7
|
+
description: `The name of the custom field.`
|
|
8
|
+
}),
|
|
9
|
+
value: t.exposeString('value', {
|
|
10
|
+
description: `The value of the custom field.`
|
|
11
|
+
})
|
|
8
12
|
})
|
|
9
13
|
});
|
|
10
14
|
//# sourceMappingURL=invoice-custom-field.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-custom-field.js","sourceRoot":"","sources":["../../src/schema/invoice-custom-field.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE;IAC7C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-custom-field.js","sourceRoot":"","sources":["../../src/schema/invoice-custom-field.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE;IAC7C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,+BAA+B;SAC7C,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,gCAAgC;SAC9C,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -8,15 +8,19 @@ builder_1.builder.objectType('StripeInvoiceCustomerShipping', {
|
|
|
8
8
|
nullable: true
|
|
9
9
|
}),
|
|
10
10
|
carrier: t.exposeString('carrier', {
|
|
11
|
+
description: `The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.`,
|
|
11
12
|
nullable: true
|
|
12
13
|
}),
|
|
13
14
|
name: t.exposeString('name', {
|
|
15
|
+
description: `Recipient name.`,
|
|
14
16
|
nullable: true
|
|
15
17
|
}),
|
|
16
18
|
phone: t.exposeString('phone', {
|
|
19
|
+
description: `Recipient phone (including extension).`,
|
|
17
20
|
nullable: true
|
|
18
21
|
}),
|
|
19
22
|
trackingNumber: t.exposeString('tracking_number', {
|
|
23
|
+
description: `The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.`,
|
|
20
24
|
nullable: true
|
|
21
25
|
})
|
|
22
26
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-customer-shipping.js","sourceRoot":"","sources":["../../src/schema/invoice-customer-shipping.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE;YAC3B,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,YAAY,CAAC,iBAAiB,EAAE;YAChD,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"invoice-customer-shipping.js","sourceRoot":"","sources":["../../src/schema/invoice-customer-shipping.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE;YAC3B,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,WAAW,EAAE,sFAAsF;YACnG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,iBAAiB;YAC9B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,YAAY,CAAC,iBAAiB,EAAE;YAChD,WAAW,EAAE,kLAAkL;YAC/L,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,8 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceCustomerTaxId', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
type: t.exposeString('type'
|
|
6
|
+
type: t.exposeString('type', {
|
|
7
|
+
description: `The type of the tax ID, one of \`eu_vat\`, \`br_cnpj\`, \`br_cpf\`, \`eu_oss_vat\`, \`gb_vat\`, \`nz_gst\`, \`au_abn\`, \`au_arn\`, \`in_gst\`, \`no_vat\`, \`za_vat\`, \`ch_vat\`, \`mx_rfc\`, \`sg_uen\`, \`ru_inn\`, \`ru_kpp\`, \`ca_bn\`, \`hk_br\`, \`es_cif\`, \`tw_vat\`, \`th_vat\`, \`jp_cn\`, \`jp_rn\`, \`li_uid\`, \`my_itn\`, \`us_ein\`, \`kr_brn\`, \`ca_qst\`, \`ca_gst_hst\`, \`ca_pst_bc\`, \`ca_pst_mb\`, \`ca_pst_sk\`, \`my_sst\`, \`sg_gst\`, \`ae_trn\`, \`cl_tin\`, \`sa_vat\`, \`id_npwp\`, \`my_frp\`, \`il_vat\`, \`ge_vat\`, \`ua_vat\`, \`is_vat\`, \`bg_uic\`, \`hu_tin\`, \`si_tin\`, or \`unknown\``
|
|
8
|
+
}),
|
|
7
9
|
value: t.exposeString('value', {
|
|
10
|
+
description: `The value of the tax ID.`,
|
|
8
11
|
nullable: true
|
|
9
12
|
})
|
|
10
13
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-customer-tax-id.js","sourceRoot":"","sources":["../../src/schema/invoice-customer-tax-id.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,4BAA4B,EAAE;IAC/C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-customer-tax-id.js","sourceRoot":"","sources":["../../src/schema/invoice-customer-tax-id.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,4BAA4B,EAAE;IAC/C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,smBAAsmB;SACpnB,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,0BAA0B;YACvC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,8 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceLineItemPeriod', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
start: t.exposeInt('start'
|
|
7
|
-
|
|
6
|
+
start: t.exposeInt('start', {
|
|
7
|
+
description: `The start of the period.`
|
|
8
|
+
}),
|
|
9
|
+
end: t.exposeInt('end', {
|
|
10
|
+
description: `The end of the period, which must be greater than or equal to the start.`
|
|
11
|
+
})
|
|
8
12
|
})
|
|
9
13
|
});
|
|
10
14
|
//# sourceMappingURL=invoice-line-item-period.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-line-item-period.js","sourceRoot":"","sources":["../../src/schema/invoice-line-item-period.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,6BAA6B,EAAE;IAChD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-line-item-period.js","sourceRoot":"","sources":["../../src/schema/invoice-line-item-period.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,6BAA6B,EAAE;IAChD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE;YAC1B,WAAW,EAAE,0BAA0B;SACxC,CAAC;QACF,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE;YACtB,WAAW,EAAE,0EAA0E;SACxF,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,8 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceLineItemTaxAmount', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
amount: t.exposeInt('amount'
|
|
7
|
-
|
|
6
|
+
amount: t.exposeInt('amount', {
|
|
7
|
+
description: `The amount, in %s, of the tax.`
|
|
8
|
+
}),
|
|
9
|
+
inclusive: t.exposeBoolean('inclusive', {
|
|
10
|
+
description: `Whether this tax amount is inclusive or exclusive.`
|
|
11
|
+
})
|
|
8
12
|
// todo: tax rate
|
|
9
13
|
// issues because tax_rate can be a string or TaxRate
|
|
10
14
|
// taxRate: t.expose('tax_rate', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-line-item-tax-amount.js","sourceRoot":"","sources":["../../src/schema/invoice-line-item-tax-amount.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE;IACnD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-line-item-tax-amount.js","sourceRoot":"","sources":["../../src/schema/invoice-line-item-tax-amount.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE;IACnD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE;YAC5B,WAAW,EAAE,gCAAgC;SAC9C,CAAC;QACF,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,WAAW,EAAE;YACtC,WAAW,EAAE,oDAAoD;SAClE,CAAC;QACF,iBAAiB;QACjB,qDAAqD;QACrD,kCAAkC;QAClC,0BAA0B;QAC1B,KAAK;KACN,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -3,55 +3,80 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const builder_1 = require("../builder");
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceLineItem', {
|
|
5
5
|
fields: (t) => ({
|
|
6
|
-
id: t.exposeString('id'
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
id: t.exposeString('id', {
|
|
7
|
+
description: `Unique identifier for the object.`
|
|
8
|
+
}),
|
|
9
|
+
object: t.exposeString('object', {
|
|
10
|
+
description: `String representing the object's type. Objects of the same type share the same value.`
|
|
11
|
+
}),
|
|
12
|
+
amount: t.exposeInt('amount', {
|
|
13
|
+
description: `The amount, in %s.`
|
|
14
|
+
}),
|
|
9
15
|
amountExcludingTax: t.exposeInt('amount_excluding_tax', {
|
|
16
|
+
description: `The integer amount in %s representing the amount for this line item, excluding all tax and discounts.`,
|
|
10
17
|
nullable: true
|
|
11
18
|
}),
|
|
12
|
-
currency: t.exposeString('currency'
|
|
19
|
+
currency: t.exposeString('currency', {
|
|
20
|
+
description: `Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).`
|
|
21
|
+
}),
|
|
13
22
|
description: t.exposeString('description', {
|
|
23
|
+
description: `An arbitrary string attached to the object. Often useful for displaying to users.`,
|
|
14
24
|
nullable: true
|
|
15
25
|
}),
|
|
16
26
|
// todo: discount_amounts
|
|
17
|
-
discountable: t.exposeBoolean('discountable'
|
|
27
|
+
discountable: t.exposeBoolean('discountable', {
|
|
28
|
+
description: `If true, discounts will apply to this line item. Always false for prorations.`
|
|
29
|
+
}),
|
|
18
30
|
// todo: discounts
|
|
19
31
|
invoiceItem: t.exposeString('invoice_item', {
|
|
20
32
|
description: 'The ID of the [invoice item](https://stripe.com/docs/api/invoiceitems) associated with this line item if any.',
|
|
21
33
|
nullable: true
|
|
22
34
|
}),
|
|
23
|
-
livemode: t.exposeBoolean('livemode'
|
|
35
|
+
livemode: t.exposeBoolean('livemode', {
|
|
36
|
+
description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
|
|
37
|
+
}),
|
|
24
38
|
metadata: t.expose('metadata', {
|
|
39
|
+
description: `Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with \`type=subscription\` this will reflect the metadata of the subscription that caused the line item to be created.`,
|
|
25
40
|
type: 'JSON'
|
|
26
41
|
}),
|
|
27
42
|
period: t.expose('period', {
|
|
28
43
|
type: 'StripeInvoiceLineItemPeriod'
|
|
29
44
|
}),
|
|
30
45
|
plan: t.expose('plan', {
|
|
46
|
+
description: `The plan of the subscription, if the line item is a subscription or a proration.`,
|
|
31
47
|
type: 'StripePlan',
|
|
32
48
|
nullable: true
|
|
33
49
|
}),
|
|
34
50
|
price: t.expose('price', {
|
|
51
|
+
description: `The price of the line item.`,
|
|
35
52
|
type: 'StripePrice',
|
|
36
53
|
nullable: true
|
|
37
54
|
}),
|
|
38
|
-
proration: t.exposeBoolean('proration'
|
|
55
|
+
proration: t.exposeBoolean('proration', {
|
|
56
|
+
description: `Whether this is a proration.`
|
|
57
|
+
}),
|
|
39
58
|
// todo: proration details
|
|
40
59
|
quantity: t.exposeInt('quantity', {
|
|
60
|
+
description: `The quantity of the subscription, if the line item is a subscription or a proration.`,
|
|
41
61
|
nullable: true
|
|
42
62
|
}),
|
|
43
63
|
// todo: subscription field + resolver
|
|
44
64
|
// todo: subscription_item field + resolver
|
|
45
65
|
taxAmount: t.expose('tax_amounts', {
|
|
66
|
+
description: `The amount of tax calculated per tax rate for this line item`,
|
|
46
67
|
type: ['StripeInvoiceLineItemTaxAmount'],
|
|
47
68
|
nullable: true
|
|
48
69
|
}),
|
|
49
70
|
taxRates: t.expose('tax_rates', {
|
|
71
|
+
description: `The tax rates which apply to the line item.`,
|
|
50
72
|
type: ['StripeTaxRate'],
|
|
51
73
|
nullable: true
|
|
52
74
|
}),
|
|
53
|
-
type: t.exposeString('type'
|
|
75
|
+
type: t.exposeString('type', {
|
|
76
|
+
description: `A string identifying the type of the source of this line item, either an \`invoiceitem\` or a \`subscription\`.`
|
|
77
|
+
}),
|
|
54
78
|
unitAmountExcludingTax: t.exposeString('unit_amount_excluding_tax', {
|
|
79
|
+
description: `The amount in %s representing the unit amount for this line item, excluding all tax and discounts.`,
|
|
55
80
|
nullable: true
|
|
56
81
|
})
|
|
57
82
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-line-item.js","sourceRoot":"","sources":["../../src/schema/invoice-line-item.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE;IAC1C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-line-item.js","sourceRoot":"","sources":["../../src/schema/invoice-line-item.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE;IAC1C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,EAAE;YACvB,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE;YAC/B,WAAW,EAAE,uFAAuF;SACrG,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE;YAC5B,WAAW,EAAE,oBAAoB;SAClC,CAAC;QACF,kBAAkB,EAAE,CAAC,CAAC,SAAS,CAAC,sBAAsB,EAAE;YACtD,WAAW,EAAE,uGAAuG;YACp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WAAW,EAAE,sFAAsF;YACnG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,sCAAsC;QACtC,2CAA2C;QAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aAAa,EAAE;YACjC,WAAW,EAAE,8DAA8D;YAC3E,IAAI,EAAE,CAAC,gCAAgC,CAAC;YACxC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,WAAW,EAAE;YAC9B,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,iHAAiH;SAC/H,CAAC;QACF,sBAAsB,EAAE,CAAC,CAAC,YAAY,CAAC,2BAA2B,EAAE;YAClE,WAAW,EAAE,oGAAoG;YACjH,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
|
@@ -4,8 +4,12 @@ const builder_1 = require("../builder");
|
|
|
4
4
|
builder_1.builder.objectType('StripeInvoiceLineItems', {
|
|
5
5
|
fields: (t) => ({
|
|
6
6
|
object: t.exposeString('object'),
|
|
7
|
-
url: t.exposeString('url'
|
|
8
|
-
|
|
7
|
+
url: t.exposeString('url', {
|
|
8
|
+
description: `The URL where this list can be accessed.`
|
|
9
|
+
}),
|
|
10
|
+
hasMore: t.exposeBoolean('has_more', {
|
|
11
|
+
description: `True if this list has another page of items after this one that can be fetched.`
|
|
12
|
+
}),
|
|
9
13
|
data: t.expose('data', {
|
|
10
14
|
type: ['StripeInvoiceLineItem'],
|
|
11
15
|
nullable: false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice-line-items.js","sourceRoot":"","sources":["../../src/schema/invoice-line-items.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChC,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"invoice-line-items.js","sourceRoot":"","sources":["../../src/schema/invoice-line-items.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChC,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,EAAE;YACzB,WAAW,EAAE,0CAA0C;SACxD,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,EAAE;YACnC,WAAW,EAAE,iFAAiF;SAC/F,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,CAAC,uBAAuB,CAAC;YAC/B,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|