@nhost/stripe-graphql-js 0.0.4 → 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.
Files changed (79) hide show
  1. package/dist/schema/address.js +24 -6
  2. package/dist/schema/address.js.map +1 -1
  3. package/dist/schema/billing-portal-session.js +17 -5
  4. package/dist/schema/billing-portal-session.js.map +1 -1
  5. package/dist/schema/customer-shipping.js +4 -0
  6. package/dist/schema/customer-shipping.js.map +1 -1
  7. package/dist/schema/customer-tax-location.js +4 -1
  8. package/dist/schema/customer-tax-location.js.map +1 -1
  9. package/dist/schema/customer-tax.js +2 -0
  10. package/dist/schema/customer-tax.js.map +1 -1
  11. package/dist/schema/customer.js +28 -5
  12. package/dist/schema/customer.js.map +1 -1
  13. package/dist/schema/customers.js +6 -2
  14. package/dist/schema/customers.js.map +1 -1
  15. package/dist/schema/invoice-automatic-tax.js +4 -1
  16. package/dist/schema/invoice-automatic-tax.js.map +1 -1
  17. package/dist/schema/invoice-custom-field.js +6 -2
  18. package/dist/schema/invoice-custom-field.js.map +1 -1
  19. package/dist/schema/invoice-customer-shipping.js +4 -0
  20. package/dist/schema/invoice-customer-shipping.js.map +1 -1
  21. package/dist/schema/invoice-customer-tax-id.js +4 -1
  22. package/dist/schema/invoice-customer-tax-id.js.map +1 -1
  23. package/dist/schema/invoice-line-item-period.js +6 -2
  24. package/dist/schema/invoice-line-item-period.js.map +1 -1
  25. package/dist/schema/invoice-line-item-tax-amount.js +6 -2
  26. package/dist/schema/invoice-line-item-tax-amount.js.map +1 -1
  27. package/dist/schema/invoice-line-item.js +33 -8
  28. package/dist/schema/invoice-line-item.js.map +1 -1
  29. package/dist/schema/invoice-line-items.js +6 -2
  30. package/dist/schema/invoice-line-items.js.map +1 -1
  31. package/dist/schema/invoice.js +92 -20
  32. package/dist/schema/invoice.js.map +1 -1
  33. package/dist/schema/invoices.js +6 -2
  34. package/dist/schema/invoices.js.map +1 -1
  35. package/dist/schema/payment-method-billing-details.js +4 -0
  36. package/dist/schema/payment-method-billing-details.js.map +1 -1
  37. package/dist/schema/payment-method-card-checks.js +3 -0
  38. package/dist/schema/payment-method-card-checks.js.map +1 -1
  39. package/dist/schema/payment-method-card-networks.js +4 -1
  40. package/dist/schema/payment-method-card-networks.js.map +1 -1
  41. package/dist/schema/payment-method-card-three-d-secure-usage.js +3 -1
  42. package/dist/schema/payment-method-card-three-d-secure-usage.js.map +1 -1
  43. package/dist/schema/payment-method-card-wallet-masterpass.js +4 -0
  44. package/dist/schema/payment-method-card-wallet-masterpass.js.map +1 -1
  45. package/dist/schema/payment-method-card-wallet-visa-checkout.js +4 -0
  46. package/dist/schema/payment-method-card-wallet-visa-checkout.js.map +1 -1
  47. package/dist/schema/payment-method-card-wallet.d.ts.map +1 -1
  48. package/dist/schema/payment-method-card-wallet.js +5 -1
  49. package/dist/schema/payment-method-card-wallet.js.map +1 -1
  50. package/dist/schema/payment-method-card.js +19 -4
  51. package/dist/schema/payment-method-card.js.map +1 -1
  52. package/dist/schema/payment-method.js +17 -5
  53. package/dist/schema/payment-method.js.map +1 -1
  54. package/dist/schema/payment-methods.d.ts.map +1 -1
  55. package/dist/schema/payment-methods.js +6 -2
  56. package/dist/schema/payment-methods.js.map +1 -1
  57. package/dist/schema/plan.js +39 -10
  58. package/dist/schema/plan.js.map +1 -1
  59. package/dist/schema/price.js +31 -8
  60. package/dist/schema/price.js.map +1 -1
  61. package/dist/schema/product.js +36 -8
  62. package/dist/schema/product.js.map +1 -1
  63. package/dist/schema/subscription-automatic-tax.js +3 -1
  64. package/dist/schema/subscription-automatic-tax.js.map +1 -1
  65. package/dist/schema/subscription-billing-thresholds.js +2 -0
  66. package/dist/schema/subscription-billing-thresholds.js.map +1 -1
  67. package/dist/schema/subscription-item-billing-thresholds.js +1 -0
  68. package/dist/schema/subscription-item-billing-thresholds.js.map +1 -1
  69. package/dist/schema/subscription-item.js +17 -4
  70. package/dist/schema/subscription-item.js.map +1 -1
  71. package/dist/schema/subscription-items.js +6 -2
  72. package/dist/schema/subscription-items.js.map +1 -1
  73. package/dist/schema/subscription.js +56 -13
  74. package/dist/schema/subscription.js.map +1 -1
  75. package/dist/schema/subscriptions.js +6 -2
  76. package/dist/schema/subscriptions.js.map +1 -1
  77. package/dist/schema/test-clock.js +22 -7
  78. package/dist/schema/test-clock.js.map +1 -1
  79. package/package.json +2 -3
@@ -14,73 +14,107 @@ const utils_1 = require("../utils");
14
14
  builder_1.builder.objectType('StripeInvoice', {
15
15
  description: '',
16
16
  fields: (t) => ({
17
- id: t.exposeString('id'),
18
- object: t.exposeString('object'),
17
+ id: t.exposeString('id', {
18
+ description: `Unique identifier for the object.`
19
+ }),
20
+ object: t.exposeString('object', {
21
+ description: `String representing the object's type. Objects of the same type share the same value.`
22
+ }),
19
23
  accountCountry: t.exposeString('account_country', {
24
+ description: `The country of the business associated with this invoice, most often the business creating the invoice.`,
20
25
  nullable: true
21
26
  }),
22
27
  accountName: t.exposeString('account_name', {
28
+ description: `The public name of the business associated with this invoice, most often the business creating the invoice.`,
23
29
  nullable: true
24
30
  }),
25
31
  // accountTaxIds: t.expose('account_tax_ids', {
26
32
  // type: 'StripeInvoceAccountTaxIds',
27
33
  // nullable: true
28
34
  // }),
29
- amountDue: t.exposeInt('amount_due'),
30
- amountPaid: t.exposeInt('amount_paid'),
31
- amountRemaining: t.exposeInt('amount_remaining'),
35
+ amountDue: t.exposeInt('amount_due', {
36
+ description: `Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the \`amount_due\` may be 0. If there is a positive \`starting_balance\` for the invoice (the customer owes money), the \`amount_due\` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in \`amount_due\`.`
37
+ }),
38
+ amountPaid: t.exposeInt('amount_paid', {
39
+ description: `The amount, in %s, that was paid.`
40
+ }),
41
+ amountRemaining: t.exposeInt('amount_remaining', {
42
+ description: `The difference between amount_due and amount_paid, in %s.`
43
+ }),
32
44
  // todo: application
33
45
  applicationFeeAmount: t.exposeInt('application_fee_amount', {
46
+ description: `The fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account when the invoice is paid.`,
34
47
  nullable: true
35
48
  }),
36
- attemptCount: t.exposeInt('attempt_count'),
37
- attempted: t.exposeBoolean('attempted'),
49
+ attemptCount: t.exposeInt('attempt_count', {
50
+ description: `Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule.`
51
+ }),
52
+ attempted: t.exposeBoolean('attempted', {
53
+ description: `Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the \`invoice.created\` webhook, for example, so you might not want to display that invoice as unpaid to your users.`
54
+ }),
38
55
  autoAdvance: t.exposeBoolean('auto_advance', {
56
+ description: `Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice. When \`false\`, the invoice's state will not automatically advance without an explicit action.`,
39
57
  nullable: true
40
58
  }),
41
59
  automaticTax: t.expose('automatic_tax', {
42
60
  type: 'StripeInvoiceAutomaticTax'
43
61
  }),
44
62
  billingReason: t.exposeString('billing_reason', {
63
+ description: `Indicates the reason why the invoice was created. \`subscription_cycle\` indicates an invoice created by a subscription advancing into a new period. \`subscription_create\` indicates an invoice created due to creating a subscription. \`subscription_update\` indicates an invoice created due to updating a subscription. \`subscription\` is set for all old invoices to indicate either a change to a subscription or a period advancement. \`manual\` is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The \`upcoming\` value is reserved for simulated invoices per the upcoming invoice endpoint. \`subscription_threshold\` indicates an invoice created due to a billing threshold being reached.`,
45
64
  nullable: true
46
65
  }),
47
66
  // todo: charge
48
67
  collectionMethod: t.exposeString('collection_method', {
68
+ description: `Either \`charge_automatically\`, or \`send_invoice\`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions.`,
49
69
  nullable: true
50
70
  }),
51
- created: t.exposeInt('created'),
52
- currency: t.exposeString('currency'),
71
+ created: t.exposeInt('created', {
72
+ description: `Time at which the object was created. Measured in seconds since the Unix epoch.`
73
+ }),
74
+ currency: t.exposeString('currency', {
75
+ 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).`
76
+ }),
53
77
  // customFields: t.expose('custom_fields', {
54
78
  // type: 'StripeInvoiceCustomField',
55
79
  // list: true,
56
80
  // nullable: true
57
81
  // }),
58
- customer: t.exposeString('customer'),
82
+ customer: t.exposeString('customer', {
83
+ description: `The ID of the customer who will be billed.`
84
+ }),
59
85
  customerAddress: t.expose('customer_address', {
86
+ description: `The customer's address. Until the invoice is finalized, this field will equal \`customer.address\`. Once the invoice is finalized, this field will no longer be updated.`,
60
87
  type: 'StripeAddress',
61
88
  nullable: true
62
89
  }),
63
90
  customerEmail: t.exposeString('customer_email', {
91
+ description: `The customer's email. Until the invoice is finalized, this field will equal \`customer.email\`. Once the invoice is finalized, this field will no longer be updated.`,
64
92
  nullable: true
65
93
  }),
66
94
  customerName: t.exposeString('customer_name', {
95
+ description: `The customer's name. Until the invoice is finalized, this field will equal \`customer.name\`. Once the invoice is finalized, this field will no longer be updated.`,
67
96
  nullable: true
68
97
  }),
69
98
  customerPhone: t.exposeString('customer_phone', {
99
+ description: `The customer's phone number. Until the invoice is finalized, this field will equal \`customer.phone\`. Once the invoice is finalized, this field will no longer be updated.`,
70
100
  nullable: true
71
101
  }),
72
102
  customerShipping: t.expose('customer_shipping', {
103
+ description: `The customer's shipping information. Until the invoice is finalized, this field will equal \`customer.shipping\`. Once the invoice is finalized, this field will no longer be updated.`,
73
104
  type: 'StripeInvoiceCustomerShipping',
74
105
  nullable: true
75
106
  }),
76
107
  customerTaxExempt: t.exposeString('customer_tax_exempt', {
108
+ description: `The customer's tax exempt status. Until the invoice is finalized, this field will equal \`customer.tax_exempt\`. Once the invoice is finalized, this field will no longer be updated.`,
77
109
  nullable: true
78
110
  }),
79
111
  customerTaxIds: t.expose('customer_tax_ids', {
112
+ description: `The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as \`customer.tax_ids\`. Once the invoice is finalized, this field will no longer be updated.`,
80
113
  type: ['StripeInvoiceCustomerTaxId'],
81
114
  nullable: true
82
115
  }),
83
116
  defaultPaymentMethod: t.field({
117
+ description: `ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.`,
84
118
  type: 'StripePaymentMethod',
85
119
  nullable: true,
86
120
  resolve: (invoice) => __awaiter(void 0, void 0, void 0, function* () {
@@ -98,50 +132,75 @@ builder_1.builder.objectType('StripeInvoice', {
98
132
  // }),
99
133
  // skipping: deleted
100
134
  description: t.exposeString('description', {
135
+ description: `An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.`,
101
136
  nullable: true
102
137
  }),
103
138
  // todo: discount
104
139
  // todo: discounts
105
140
  dueDate: t.exposeInt('due_date', {
141
+ description: `The date on which payment for this invoice is due. This value will be \`null\` for invoices where \`collection_method=charge_automatically\`.`,
106
142
  nullable: true
107
143
  }),
108
144
  endingBalance: t.exposeInt('ending_balance', {
145
+ description: `Ending customer balance after the invoice is finalized. Invoices are finalized approximately an hour after successful webhook delivery or when payment collection is attempted for the invoice. If the invoice has not been finalized yet, this will be null.`,
109
146
  nullable: true
110
147
  }),
111
148
  footer: t.exposeString('footer', {
149
+ description: `Footer displayed on the invoice.`,
112
150
  nullable: true
113
151
  }),
114
152
  hostedInvoiceUrl: t.exposeString('hosted_invoice_url', {
153
+ description: `The URL for the hosted invoice page, which allows customers to view and pay an invoice. If the invoice has not been finalized yet, this will be null.`,
115
154
  nullable: true
116
155
  }),
117
156
  invoicePdf: t.exposeString('invoice_pdf', {
157
+ description: `The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null.`,
118
158
  nullable: true
119
159
  }),
120
160
  // todo: last finalization error
121
161
  lines: t.expose('lines', {
162
+ description: `The individual line items that make up the invoice. \`lines\` is sorted as follows: invoice items in reverse chronological order, followed by the subscription, if any.`,
122
163
  type: 'StripeInvoiceLineItems'
123
164
  }),
124
- livemode: t.exposeBoolean('livemode'),
165
+ livemode: t.exposeBoolean('livemode', {
166
+ description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
167
+ }),
125
168
  metadata: t.expose('metadata', {
169
+ 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.`,
126
170
  type: 'JSON'
127
171
  }),
128
172
  nextPaymentAttempt: t.exposeInt('next_payment_attempt', {
173
+ description: `The time at which payment will next be attempted. This value will be \`null\` for invoices where \`collection_method=send_invoice\`.`,
129
174
  nullable: true
130
175
  }),
131
176
  number: t.exposeString('number', {
177
+ description: `A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified.`,
132
178
  nullable: true
133
179
  }),
134
180
  // todo: on behalf of
135
- paid: t.exposeBoolean('paid'),
136
- paidOutOfBand: t.exposeBoolean('paid_out_of_band'),
181
+ paid: t.exposeBoolean('paid', {
182
+ description: `Whether payment was successfully collected for this invoice. An invoice can be paid (most commonly) with a charge or with credit from the customer's account balance.`
183
+ }),
184
+ paidOutOfBand: t.exposeBoolean('paid_out_of_band', {
185
+ description: `Returns true if the invoice was manually marked paid, returns false if the invoice hasn't been paid yet or was paid on Stripe.`
186
+ }),
137
187
  // todo: payment intent
138
188
  // todo: payment settings
139
- periodEnd: t.exposeInt('period_end'),
140
- periodStart: t.exposeInt('period_start'),
141
- postPaymentCreditNotesAmount: t.exposeInt('post_payment_credit_notes_amount'),
142
- prePaymentCreditNotesAmount: t.exposeInt('pre_payment_credit_notes_amount'),
189
+ periodEnd: t.exposeInt('period_end', {
190
+ description: `End of the usage period during which invoice items were added to this invoice.`
191
+ }),
192
+ periodStart: t.exposeInt('period_start', {
193
+ description: `Start of the usage period during which invoice items were added to this invoice.`
194
+ }),
195
+ postPaymentCreditNotesAmount: t.exposeInt('post_payment_credit_notes_amount', {
196
+ description: `Total amount of all post-payment credit notes issued for this invoice.`
197
+ }),
198
+ prePaymentCreditNotesAmount: t.exposeInt('pre_payment_credit_notes_amount', {
199
+ description: `Total amount of all pre-payment credit notes issued for this invoice.`
200
+ }),
143
201
  // todo: quote
144
202
  receiptNumber: t.exposeString('receipt_number', {
203
+ description: `This is the transaction number that appears on email receipts sent for this invoice.`,
145
204
  nullable: true
146
205
  }),
147
206
  renderingOptions: t.expose('rendering_options', {
@@ -149,8 +208,11 @@ builder_1.builder.objectType('StripeInvoice', {
149
208
  description: 'Options for invoice PDF rendering.',
150
209
  nullable: true
151
210
  }),
152
- startingBalance: t.exposeInt('starting_balance'),
211
+ startingBalance: t.exposeInt('starting_balance', {
212
+ description: `Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. For revision invoices, this also includes any customer balance that was applied to the original invoice.`
213
+ }),
153
214
  statementDescriptor: t.exposeString('statement_descriptor', {
215
+ description: `Extra information about an invoice for the customer's credit card statement.`,
154
216
  nullable: true
155
217
  }),
156
218
  status: t.exposeString('status', {
@@ -163,6 +225,7 @@ builder_1.builder.objectType('StripeInvoice', {
163
225
  nullable: true
164
226
  }),
165
227
  subscription: t.field({
228
+ description: `The subscription that this invoice was prepared for, if any.`,
166
229
  type: 'StripeSubscription',
167
230
  nullable: true,
168
231
  resolve: (invoice) => __awaiter(void 0, void 0, void 0, function* () {
@@ -175,25 +238,34 @@ builder_1.builder.objectType('StripeInvoice', {
175
238
  })
176
239
  }),
177
240
  subscriptionProrationDate: t.exposeInt('subscription_proration_date', {
241
+ description: `Only set for upcoming invoices that preview prorations. The time used to calculate prorations.`,
178
242
  nullable: true
179
243
  }),
180
- subtotal: t.exposeInt('subtotal'),
244
+ subtotal: t.exposeInt('subtotal', {
245
+ description: `Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated`
246
+ }),
181
247
  subtotalExcludingTax: t.exposeInt('subtotal_excluding_tax', {
248
+ description: `The integer amount in %s representing the subtotal of the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated`,
182
249
  nullable: true
183
250
  }),
184
251
  tax: t.exposeInt('tax', {
252
+ description: `The amount of tax on this invoice. This is the sum of all the tax amounts on this invoice.`,
185
253
  nullable: true
186
254
  }),
187
255
  // todo: test clock
188
256
  // todo: threshold reason
189
- total: t.exposeInt('total'),
257
+ total: t.exposeInt('total', {
258
+ description: `Total after discounts and taxes.`
259
+ }),
190
260
  // todo: total discount amounts
191
261
  totalExcludingTax: t.exposeInt('total_excluding_tax', {
262
+ description: `The integer amount in %s representing the total amount of the invoice including all discounts but excluding all tax.`,
192
263
  nullable: true
193
264
  }),
194
265
  // todo: total tax amounts
195
266
  // todo: transfer data
196
267
  webhooksDeliveredAt: t.exposeInt('webhooks_delivered_at', {
268
+ description: `Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](https://stripe.com/docs/billing/webhooks#understand). This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created.`,
197
269
  nullable: true
198
270
  })
199
271
  })
@@ -1 +1 @@
1
- {"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../src/schema/invoice.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,wCAAoC;AAEpC,oCAAiC;AAEjC,iBAAO,CAAC,UAAU,CAAC,eAAe,EAAE;IAClC,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;QACxB,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChC,cAAc,EAAE,CAAC,CAAC,YAAY,CAAC,iBAAiB,EAAE;YAChD,QAAQ,EAAE,IAAI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AC,UAAU,EAAE;YAChC,WAAW,EAAE,iLAAiL;SAC/L,CAAC;QACF,oBAAoB,EAAE,CAAC,CAAC,SAAS,CAAC,wBAAwB,EAAE;YAC1D,WAAW,EAAE,gKAAgK;YAC7K,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE;YACtB,WAAW,EAAE,4FAA4F;YACzG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,mBAAmB;QACnB,yBAAyB;QACzB,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE;YAC1B,WAAW,EAAE,kCAAkC;SAChD,CAAC;QACF,+BAA+B;QAC/B,iBAAiB,EAAE,CAAC,CAAC,SAAS,CAAC,qBAAqB,EAAE;YACpD,WAAW,EAAE,sHAAsH;YACnI,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,0BAA0B;QAC1B,sBAAsB;QACtB,mBAAmB,EAAE,CAAC,CAAC,SAAS,CAAC,uBAAuB,EAAE;YACxD,WAAW,EAAE,wXAAwX;YACrY,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('StripeInvoices', {
5
5
  fields: (t) => ({
6
6
  object: t.exposeString('object'),
7
- url: t.exposeString('url'),
8
- hasMore: t.exposeBoolean('has_more'),
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: ['StripeInvoice'],
11
15
  nullable: false
@@ -1 +1 @@
1
- {"version":3,"file":"invoices.js","sourceRoot":"","sources":["../../src/schema/invoices.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE;IACnC,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;QAC1B,OAAO,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC;QACpC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,CAAC,eAAe,CAAC;YACvB,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"invoices.js","sourceRoot":"","sources":["../../src/schema/invoices.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE;IACnC,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,eAAe,CAAC;YACvB,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
@@ -4,16 +4,20 @@ const builder_1 = require("../builder");
4
4
  builder_1.builder.objectType('StripePaymentMethodBillingDetails', {
5
5
  fields: (t) => ({
6
6
  address: t.expose('address', {
7
+ description: `Billing address.`,
7
8
  type: 'StripeAddress',
8
9
  nullable: true
9
10
  }),
10
11
  email: t.exposeString('email', {
12
+ description: `Email address.`,
11
13
  nullable: true
12
14
  }),
13
15
  name: t.exposeString('name', {
16
+ description: `Full name.`,
14
17
  nullable: true
15
18
  }),
16
19
  phone: t.exposeString('phone', {
20
+ description: `Billing phone number (including extension).`,
17
21
  nullable: true
18
22
  })
19
23
  })
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-billing-details.js","sourceRoot":"","sources":["../../src/schema/payment-method-billing-details.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,mCAAmC,EAAE;IACtD,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,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,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;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"payment-method-billing-details.js","sourceRoot":"","sources":["../../src/schema/payment-method-billing-details.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,mCAAmC,EAAE;IACtD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE;YAC3B,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,gBAAgB;YAC7B,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,6CAA6C;YAC1D,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
@@ -4,12 +4,15 @@ const builder_1 = require("../builder");
4
4
  builder_1.builder.objectType('StripePaymentMethodCardChecks', {
5
5
  fields: (t) => ({
6
6
  addressLine1Check: t.exposeString('address_line1_check', {
7
+ description: `If a address line1 was provided, results of the check, one of \`pass\`, \`fail\`, \`unavailable\`, or \`unchecked\`.`,
7
8
  nullable: true
8
9
  }),
9
10
  addressPostalCodeCheck: t.exposeString('address_postal_code_check', {
11
+ description: `If a address postal code was provided, results of the check, one of \`pass\`, \`fail\`, \`unavailable\`, or \`unchecked\`.`,
10
12
  nullable: true
11
13
  }),
12
14
  cvcCheck: t.exposeString('cvc_check', {
15
+ description: `If a CVC was provided, results of the check, one of \`pass\`, \`fail\`, \`unavailable\`, or \`unchecked\`.`,
13
16
  nullable: true
14
17
  })
15
18
  })
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-checks.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-checks.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,iBAAiB,EAAE,CAAC,CAAC,YAAY,CAAC,qBAAqB,EAAE;YACvD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,sBAAsB,EAAE,CAAC,CAAC,YAAY,CAAC,2BAA2B,EAAE;YAClE,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE;YACpC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"payment-method-card-checks.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-checks.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,iBAAiB,EAAE,CAAC,CAAC,YAAY,CAAC,qBAAqB,EAAE;YACvD,WAAW,EAAE,sHAAsH;YACnI,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,sBAAsB,EAAE,CAAC,CAAC,YAAY,CAAC,2BAA2B,EAAE;YAClE,WAAW,EAAE,4HAA4H;YACzI,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE;YACpC,WAAW,EAAE,4GAA4G;YACzH,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('StripePaymentMethodCardNetworks', {
5
5
  fields: (t) => ({
6
- available: t.exposeStringList('available'),
6
+ available: t.exposeStringList('available', {
7
+ description: `All available networks for the card.`
8
+ }),
7
9
  preferred: t.exposeString('preferred', {
10
+ description: `The preferred network for the card.`,
8
11
  nullable: true
9
12
  })
10
13
  })
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-networks.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-networks.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,iCAAiC,EAAE;IACpD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,WAAW,CAAC;QAC1C,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE;YACrC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"payment-method-card-networks.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-networks.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,iCAAiC,EAAE;IACpD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,SAAS,EAAE,CAAC,CAAC,gBAAgB,CAAC,WAAW,EAAE;YACzC,WAAW,EAAE,sCAAsC;SACpD,CAAC;QACF,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE;YACrC,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const builder_1 = require("../builder");
4
4
  builder_1.builder.objectType('StripePaymentMethodCardThreeDSecureUsage', {
5
5
  fields: (t) => ({
6
- supported: t.exposeBoolean('supported')
6
+ supported: t.exposeBoolean('supported', {
7
+ description: `Whether 3D Secure is supported on this card.`
8
+ })
7
9
  })
8
10
  });
9
11
  //# sourceMappingURL=payment-method-card-three-d-secure-usage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-three-d-secure-usage.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-three-d-secure-usage.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,0CAA0C,EAAE;IAC7D,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,WAAW,CAAC;KACxC,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"payment-method-card-three-d-secure-usage.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-three-d-secure-usage.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,0CAA0C,EAAE;IAC7D,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,WAAW,EAAE;YACtC,WAAW,EAAE,8CAA8C;SAC5D,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
@@ -4,16 +4,20 @@ const builder_1 = require("../builder");
4
4
  builder_1.builder.objectType('StripePaymentMethodCardWalletMasterpass', {
5
5
  fields: (t) => ({
6
6
  billingAddress: t.expose('billing_address', {
7
+ description: `Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
7
8
  type: 'StripeAddress',
8
9
  nullable: true
9
10
  }),
10
11
  email: t.exposeString('email', {
12
+ description: `Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
11
13
  nullable: true
12
14
  }),
13
15
  name: t.exposeString('name', {
16
+ description: `Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
14
17
  nullable: true
15
18
  }),
16
19
  shippinAddress: t.expose('shipping_address', {
20
+ description: `Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
17
21
  type: 'StripeAddress',
18
22
  nullable: true
19
23
  })
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-wallet-masterpass.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet-masterpass.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,yCAAyC,EAAE;IAC5D,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE;YAC1C,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,kBAAkB,EAAE;YAC3C,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"payment-method-card-wallet-masterpass.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet-masterpass.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,yCAAyC,EAAE;IAC5D,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE;YAC1C,WAAW,EAAE,oLAAoL;YACjM,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,0KAA0K;YACvL,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,8KAA8K;YAC3L,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,kBAAkB,EAAE;YAC3C,WAAW,EAAE,qLAAqL;YAClM,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
@@ -4,16 +4,20 @@ const builder_1 = require("../builder");
4
4
  builder_1.builder.objectType('StripePaymentMethodCardWalletVisaCheckout', {
5
5
  fields: (t) => ({
6
6
  billingAddress: t.expose('billing_address', {
7
+ description: `Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
7
8
  type: 'StripeAddress',
8
9
  nullable: true
9
10
  }),
10
11
  email: t.exposeString('email', {
12
+ description: `Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
11
13
  nullable: true
12
14
  }),
13
15
  name: t.exposeString('name', {
16
+ description: `Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
14
17
  nullable: true
15
18
  }),
16
19
  shippinAddress: t.expose('shipping_address', {
20
+ description: `Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.`,
17
21
  type: 'StripeAddress',
18
22
  nullable: true
19
23
  })
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-wallet-visa-checkout.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet-visa-checkout.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,2CAA2C,EAAE;IAC9D,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE;YAC1C,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,kBAAkB,EAAE;YAC3C,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"payment-method-card-wallet-visa-checkout.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet-visa-checkout.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,2CAA2C,EAAE;IAC9D,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE;YAC1C,WAAW,EAAE,oLAAoL;YACjM,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,0KAA0K;YACvL,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE;YAC3B,WAAW,EAAE,8KAA8K;YAC3L,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,kBAAkB,EAAE;YAC3C,WAAW,EAAE,qLAAqL;YAClM,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-wallet.d.ts","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,iCAAiC,4PAY7C,CAAA"}
1
+ {"version":3,"file":"payment-method-card-wallet.d.ts","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,iCAAiC,4PAY7C,CAAA"}
@@ -5,13 +5,17 @@ const builder_1 = require("../builder");
5
5
  builder_1.builder.objectType('StripePaymentMethodCardWallet', {
6
6
  fields: (t) => ({
7
7
  dynamicLast4: t.exposeString('dynamic_last4', {
8
+ description: `(For tokenized numbers only.) The last four digits of the device account number.`,
8
9
  nullable: true
9
10
  }),
10
11
  masterpass: t.expose('masterpass', {
11
12
  type: 'StripePaymentMethodCardWalletMasterpass',
12
13
  nullable: true
13
14
  }),
14
- type: t.expose('type', { type: 'StripePaymentMethodCardWalletType' }),
15
+ type: t.expose('type', {
16
+ description: `The type of the card wallet, one of \`amex_express_checkout\`, \`apple_pay\`, \`google_pay\`, \`masterpass\`, \`samsung_pay\`, or \`visa_checkout\`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.`,
17
+ type: 'StripePaymentMethodCardWalletType'
18
+ }),
15
19
  visaCheckout: t.expose('visa_checkout', {
16
20
  type: 'StripePaymentMethodCardWalletVisaCheckout',
17
21
  nullable: true
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card-wallet.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet.ts"],"names":[],"mappings":";;;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,YAAY,CAAC,eAAe,EAAE;YAC5C,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,YAAY,EAAE;YACjC,IAAI,EAAE,yCAAyC;YAC/C,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,CAAC;QACrE,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,eAAe,EAAE;YACtC,IAAI,EAAE,2CAA2C;YACjD,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA;AAEW,QAAA,iCAAiC,GAAG,iBAAO,CAAC,QAAQ,CAC/D,mCAAmC,EACnC;IACE,MAAM,EAAE;QACN,uBAAuB;QACvB,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,eAAe;KACP;CACX,CACF,CAAA"}
1
+ {"version":3,"file":"payment-method-card-wallet.js","sourceRoot":"","sources":["../../src/schema/payment-method-card-wallet.ts"],"names":[],"mappings":";;;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,YAAY,CAAC,eAAe,EAAE;YAC5C,WAAW,EAAE,kFAAkF;YAC/F,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,YAAY,EAAE;YACjC,IAAI,EAAE,yCAAyC;YAC/C,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE;YACrB,WAAW,EAAE,iTAAiT;YAC9T,IAAI,EAAE,mCAAmC;SAC1C,CAAC;QACF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,eAAe,EAAE;YACtC,IAAI,EAAE,2CAA2C;YACjD,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA;AAEW,QAAA,iCAAiC,GAAG,iBAAO,CAAC,QAAQ,CAC/D,mCAAmC,EACnC;IACE,MAAM,EAAE;QACN,uBAAuB;QACvB,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,eAAe;KACP;CACX,CACF,CAAA"}
@@ -3,23 +3,35 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const builder_1 = require("../builder");
4
4
  builder_1.builder.objectType('StripePaymentMethodCard', {
5
5
  fields: (t) => ({
6
- brand: t.exposeString('brand'),
6
+ brand: t.exposeString('brand', {
7
+ description: `Card brand. Can be \`amex\`, \`diners\`, \`discover\`, \`jcb\`, \`mastercard\`, \`unionpay\`, \`visa\`, or \`unknown\`.`
8
+ }),
7
9
  check: t.expose('checks', {
10
+ description: `Checks on Card address and CVC if provided.`,
8
11
  type: 'StripePaymentMethodCardChecks',
9
12
  nullable: true
10
13
  }),
11
14
  country: t.exposeString('country', {
15
+ description: `Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.`,
12
16
  nullable: true
13
17
  }),
14
18
  description: t.exposeString('description', {
19
+ description: `A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)`,
15
20
  nullable: true
16
21
  }),
17
- expMonth: t.exposeInt('exp_month'),
18
- expYear: t.exposeInt('exp_year'),
22
+ expMonth: t.exposeInt('exp_month', {
23
+ description: `Two-digit number representing the card's expiration month.`
24
+ }),
25
+ expYear: t.exposeInt('exp_year', {
26
+ description: `Four-digit number representing the card's expiration year.`
27
+ }),
19
28
  fingerprint: t.exposeString('fingerprint', {
29
+ description: `Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.\n\n*Starting May 1, 2021, card fingerprint in India for Connect will change to allow two fingerprints for the same card --- one for India and one for the rest of the world.*`,
20
30
  nullable: true
21
31
  }),
22
- funding: t.exposeString('funding'),
32
+ funding: t.exposeString('funding', {
33
+ description: `Card funding type. Can be \`credit\`, \`debit\`, \`prepaid\`, or \`unknown\`.`
34
+ }),
23
35
  iin: t.exposeString('iin', {
24
36
  nullable: true,
25
37
  description: `Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)`
@@ -32,14 +44,17 @@ builder_1.builder.objectType('StripePaymentMethodCard', {
32
44
  description: `The last four digits of the card.`
33
45
  }),
34
46
  networks: t.expose('networks', {
47
+ description: `Contains information about card networks that can be used to process the payment.`,
35
48
  type: 'StripePaymentMethodCardNetworks',
36
49
  nullable: true
37
50
  }),
38
51
  threeDSecureUsage: t.expose('three_d_secure_usage', {
52
+ description: `Contains details on how this Card maybe be used for 3D Secure authentication.`,
39
53
  type: 'StripePaymentMethodCardThreeDSecureUsage',
40
54
  nullable: true
41
55
  }),
42
56
  wallet: t.expose('wallet', {
57
+ description: `If this Card is part of a card wallet, this contains the details of the card wallet.`,
43
58
  type: 'StripePaymentMethodCardWallet',
44
59
  nullable: true
45
60
  })
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method-card.js","sourceRoot":"","sources":["../../src/schema/payment-method-card.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE;IAC5C,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;YACxB,IAAI,EAAE,+BAA+B;YACrC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,WAAW,EAAE,CAAC,CAAC,YAAY,CAAC,aAAa,EAAE;YACzC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC;QAClC,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC;QAChC,WAAW,EAAE,CAAC,CAAC,YAAY,CAAC,aAAa,EAAE;YACzC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC;QAClC,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,EAAE;YACzB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,yHAAyH;SACvI,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,oHAAoH;SAClI,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE;YAC7B,I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zC,WAAW,EAAE,2fAA2f;YACxgB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE;YACjC,WAAW,EAAE,+EAA+E;SAC7F,CAAC;QACF,GAAG,EAAE,CAAC,CAAC,YAAY,CAAC,KAAK,EAAE;YACzB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,yHAAyH;SACvI,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,oHAAoH;SAClI,CAAC;QACF,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE;YAC7B,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE;YAC7B,WAAW,EAAE,mFAAmF;YAChG,IAAI,EAAE,iCAAiC;YACvC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,iBAAiB,EAAE,CAAC,CAAC,MAAM,CAAC,sBAAsB,EAAE;YAClD,WAAW,EAAE,+EAA+E;YAC5F,IAAI,EAAE,0CAA0C;YAChD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;YACzB,WAAW,EAAE,sFAAsF;YACnG,IAAI,EAAE,+BAA+B;YACrC,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('StripePaymentMethod', {
5
5
  fields: (t) => ({
6
- id: t.exposeString('id'),
7
- object: t.exposeString('object'),
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
+ }),
8
12
  billingDetails: t.expose('billing_details', {
9
13
  type: 'StripePaymentMethodBillingDetails',
10
14
  nullable: true
@@ -13,15 +17,23 @@ builder_1.builder.objectType('StripePaymentMethod', {
13
17
  type: 'StripePaymentMethodCard',
14
18
  nullable: true
15
19
  }),
16
- created: t.exposeInt('created'),
20
+ created: t.exposeInt('created', {
21
+ description: `The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.`,
22
+ }),
17
23
  customer: t.exposeString('customer', {
18
24
  nullable: true
19
25
  }),
20
- livemode: t.exposeBoolean('livemode'),
26
+ livemode: t.exposeBoolean('livemode', {
27
+ description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
28
+ }),
21
29
  metadata: t.expose('metadata', {
30
+ 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.`,
22
31
  type: 'JSON'
23
32
  }),
24
- type: t.expose('type', { type: 'StripePaymentMethodTypes' })
33
+ type: t.expose('type', {
34
+ description: `The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.`,
35
+ type: 'StripePaymentMethodTypes'
36
+ })
25
37
  })
26
38
  });
27
39
  //# sourceMappingURL=payment-method.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method.js","sourceRoot":"","sources":["../../src/schema/payment-method.ts"],"names":[],"mappings":";;AAAA,wCAAoC;AAEpC,iBAAO,CAAC,UAAU,CAAC,qBAAqB,EAAE;IACxC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;QACxB,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE;YAC1C,IAAI,EAAE,mCAAmC;YACzC,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IA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