@nhost/stripe-graphql-js 1.3.0-beta.5 → 1.3.0-beta7

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 (127) hide show
  1. package/README.md +37 -10
  2. package/dist/src/builder.d.ts +2 -2
  3. package/dist/src/builder.d.ts.map +1 -1
  4. package/dist/src/builder.js +1 -1
  5. package/dist/src/builder.js.map +1 -1
  6. package/dist/src/index.d.ts.map +1 -1
  7. package/dist/src/index.js.map +1 -1
  8. package/dist/src/schema/address.js +8 -8
  9. package/dist/src/schema/address.js.map +1 -1
  10. package/dist/src/schema/billing-portal-session.js +9 -9
  11. package/dist/src/schema/billing-portal-session.js.map +1 -1
  12. package/dist/src/schema/charge.js +23 -11
  13. package/dist/src/schema/charge.js.map +1 -1
  14. package/dist/src/schema/charges.js +3 -3
  15. package/dist/src/schema/charges.js.map +1 -1
  16. package/dist/src/schema/connectedAccount.js +2 -2
  17. package/dist/src/schema/connectedAccount.js.map +1 -1
  18. package/dist/src/schema/connectedAccounts.js +3 -3
  19. package/dist/src/schema/connectedAccounts.js.map +1 -1
  20. package/dist/src/schema/customer-shipping.js +7 -7
  21. package/dist/src/schema/customer-shipping.js.map +1 -1
  22. package/dist/src/schema/customer-tax-location.js +4 -4
  23. package/dist/src/schema/customer-tax-location.js.map +1 -1
  24. package/dist/src/schema/customer-tax.js +4 -4
  25. package/dist/src/schema/customer-tax.js.map +1 -1
  26. package/dist/src/schema/customer.js +35 -35
  27. package/dist/src/schema/customer.js.map +1 -1
  28. package/dist/src/schema/customers.js +5 -5
  29. package/dist/src/schema/customers.js.map +1 -1
  30. package/dist/src/schema/index.d.ts.map +1 -1
  31. package/dist/src/schema/index.js.map +1 -1
  32. package/dist/src/schema/invoice-automatic-tax.js +4 -4
  33. package/dist/src/schema/invoice-automatic-tax.js.map +1 -1
  34. package/dist/src/schema/invoice-custom-field.js +4 -4
  35. package/dist/src/schema/invoice-custom-field.js.map +1 -1
  36. package/dist/src/schema/invoice-customer-shipping.js +7 -7
  37. package/dist/src/schema/invoice-customer-shipping.js.map +1 -1
  38. package/dist/src/schema/invoice-customer-tax-id.js +4 -4
  39. package/dist/src/schema/invoice-customer-tax-id.js.map +1 -1
  40. package/dist/src/schema/invoice-line-item-period.js +4 -4
  41. package/dist/src/schema/invoice-line-item-period.js.map +1 -1
  42. package/dist/src/schema/invoice-line-item-tax-amount.js +4 -4
  43. package/dist/src/schema/invoice-line-item-tax-amount.js.map +1 -1
  44. package/dist/src/schema/invoice-line-item.js +21 -21
  45. package/dist/src/schema/invoice-line-item.js.map +1 -1
  46. package/dist/src/schema/invoice-line-items.js +5 -5
  47. package/dist/src/schema/invoice-line-items.js.map +1 -1
  48. package/dist/src/schema/invoice-rendering-options.js +3 -3
  49. package/dist/src/schema/invoice-rendering-options.js.map +1 -1
  50. package/dist/src/schema/invoice-status-transitions.js +6 -6
  51. package/dist/src/schema/invoice-status-transitions.js.map +1 -1
  52. package/dist/src/schema/invoice.js +59 -59
  53. package/dist/src/schema/invoice.js.map +1 -1
  54. package/dist/src/schema/invoices.js +5 -5
  55. package/dist/src/schema/invoices.js.map +1 -1
  56. package/dist/src/schema/payment-intent.js +14 -14
  57. package/dist/src/schema/payment-intent.js.map +1 -1
  58. package/dist/src/schema/payment-intents.js +3 -3
  59. package/dist/src/schema/payment-intents.js.map +1 -1
  60. package/dist/src/schema/payment-method-billing-details.js +6 -6
  61. package/dist/src/schema/payment-method-billing-details.js.map +1 -1
  62. package/dist/src/schema/payment-method-card-checks.js +5 -5
  63. package/dist/src/schema/payment-method-card-checks.js.map +1 -1
  64. package/dist/src/schema/payment-method-card-networks.js +4 -4
  65. package/dist/src/schema/payment-method-card-networks.js.map +1 -1
  66. package/dist/src/schema/payment-method-card-three-d-secure-usage.js +3 -3
  67. package/dist/src/schema/payment-method-card-three-d-secure-usage.js.map +1 -1
  68. package/dist/src/schema/payment-method-card-wallet-masterpass.js +6 -6
  69. package/dist/src/schema/payment-method-card-wallet-masterpass.js.map +1 -1
  70. package/dist/src/schema/payment-method-card-wallet-visa-checkout.js +6 -6
  71. package/dist/src/schema/payment-method-card-wallet-visa-checkout.js.map +1 -1
  72. package/dist/src/schema/payment-method-card-wallet.d.ts.map +1 -1
  73. package/dist/src/schema/payment-method-card-wallet.js +8 -8
  74. package/dist/src/schema/payment-method-card-wallet.js.map +1 -1
  75. package/dist/src/schema/payment-method-card.js +16 -16
  76. package/dist/src/schema/payment-method-card.js.map +1 -1
  77. package/dist/src/schema/payment-method.js +10 -10
  78. package/dist/src/schema/payment-method.js.map +1 -1
  79. package/dist/src/schema/payment-methods.d.ts.map +1 -1
  80. package/dist/src/schema/payment-methods.js +7 -7
  81. package/dist/src/schema/payment-methods.js.map +1 -1
  82. package/dist/src/schema/plan-transform-usage.js +4 -4
  83. package/dist/src/schema/plan-transform-usage.js.map +1 -1
  84. package/dist/src/schema/plan.js +21 -21
  85. package/dist/src/schema/plan.js.map +1 -1
  86. package/dist/src/schema/price.js +17 -17
  87. package/dist/src/schema/price.js.map +1 -1
  88. package/dist/src/schema/product.js +21 -21
  89. package/dist/src/schema/product.js.map +1 -1
  90. package/dist/src/schema/stripe.js +31 -30
  91. package/dist/src/schema/stripe.js.map +1 -1
  92. package/dist/src/schema/subscription-automatic-tax.js +3 -3
  93. package/dist/src/schema/subscription-automatic-tax.js.map +1 -1
  94. package/dist/src/schema/subscription-billing-thresholds.js +4 -4
  95. package/dist/src/schema/subscription-billing-thresholds.js.map +1 -1
  96. package/dist/src/schema/subscription-item-billing-thresholds.js +3 -3
  97. package/dist/src/schema/subscription-item-billing-thresholds.js.map +1 -1
  98. package/dist/src/schema/subscription-item.js +11 -11
  99. package/dist/src/schema/subscription-item.js.map +1 -1
  100. package/dist/src/schema/subscription-items.js +5 -5
  101. package/dist/src/schema/subscription-items.js.map +1 -1
  102. package/dist/src/schema/subscription-pause-collection.js +4 -4
  103. package/dist/src/schema/subscription-pause-collection.js.map +1 -1
  104. package/dist/src/schema/subscription.js +33 -33
  105. package/dist/src/schema/subscription.js.map +1 -1
  106. package/dist/src/schema/subscriptions.js +5 -5
  107. package/dist/src/schema/subscriptions.js.map +1 -1
  108. package/dist/src/schema/tax-rate.js +16 -16
  109. package/dist/src/schema/tax-rate.js.map +1 -1
  110. package/dist/src/schema/test-clock.js +10 -10
  111. package/dist/src/schema/test-clock.js.map +1 -1
  112. package/dist/src/server.d.ts +2 -2
  113. package/dist/src/server.d.ts.map +1 -1
  114. package/dist/src/server.js +3 -3
  115. package/dist/src/server.js.map +1 -1
  116. package/dist/src/types.d.ts +1 -1
  117. package/dist/src/types.d.ts.map +1 -1
  118. package/dist/src/utils.d.ts +1 -1
  119. package/dist/src/utils.d.ts.map +1 -1
  120. package/dist/src/utils.js +3 -2
  121. package/dist/src/utils.js.map +1 -1
  122. package/dist/stripe-graphql-js.cjs +2 -0
  123. package/dist/stripe-graphql-js.cjs.map +1 -0
  124. package/dist/stripe-graphql-js.js +76 -0
  125. package/dist/stripe-graphql-js.js.map +1 -0
  126. package/dist/tsconfig.tsbuildinfo +1 -1
  127. package/package.json +32 -23
@@ -5,79 +5,79 @@ builder.objectType('StripeCustomer', {
5
5
  description: 'This object represents a customer of your business. It lets you create recurring charges and track payments that belong to the same customer.',
6
6
  fields: (t) => ({
7
7
  id: t.exposeString('id', {
8
- description: `Unique identifier for the object.`
8
+ description: `Unique identifier for the object.`,
9
9
  }),
10
10
  object: t.exposeString('object', {
11
- description: `String representing the object's type. Objects of the same type share the same value. `
11
+ description: `String representing the object's type. Objects of the same type share the same value. `,
12
12
  }),
13
13
  address: t.expose('address', {
14
14
  description: `The customer's address.`,
15
15
  type: 'StripeAddress',
16
- nullable: true
16
+ nullable: true,
17
17
  }),
18
18
  balance: t.exposeInt('balance', {
19
- 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.`
19
+ 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.`,
20
20
  }),
21
21
  // TODO: cash_balance
22
22
  created: t.exposeInt('created', {
23
- description: `Time at which the object was created. Measured in seconds since the Unix epoch.`
23
+ description: `Time at which the object was created. Measured in seconds since the Unix epoch.`,
24
24
  }),
25
25
  currency: t.exposeString('currency', {
26
26
  description: `Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.`,
27
- nullable: true
27
+ nullable: true,
28
28
  }),
29
29
  // TODO: default_source
30
30
  delinquent: t.exposeBoolean('delinquent', {
31
31
  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
- nullable: true
32
+ nullable: true,
33
33
  }),
34
34
  description: t.exposeString('description', {
35
35
  description: `An arbitrary string attached to the object. Often useful for displaying to users.`,
36
- nullable: true
36
+ nullable: true,
37
37
  }),
38
38
  // TODO: discount
39
39
  email: t.exposeString('email', {
40
40
  description: `The customer's email address.`,
41
- nullable: true
41
+ nullable: true,
42
42
  }),
43
43
  // TODO: invoice_credit_balance
44
44
  invoicePrefix: t.exposeString('invoice_prefix', {
45
45
  description: `The prefix for the customer used to generate unique invoice numbers.`,
46
- nullable: true
46
+ nullable: true,
47
47
  }),
48
48
  // TODO: invoice_settings
49
49
  livemode: t.exposeBoolean('livemode', {
50
- description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
50
+ description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`,
51
51
  }),
52
52
  metadata: t.expose('metadata', {
53
53
  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.`,
54
- type: 'JSON'
54
+ type: 'JSON',
55
55
  }),
56
56
  name: t.exposeString('name', {
57
57
  description: `The customer's full name or business name.`,
58
- nullable: true
58
+ nullable: true,
59
59
  }),
60
60
  nextInvoiceSequence: t.exposeInt('next_invoice_sequence', {
61
61
  description: `The suffix of the customer's next invoice number, e.g., 0001.`,
62
- nullable: true
62
+ nullable: true,
63
63
  }),
64
64
  phone: t.exposeString('phone', {
65
65
  description: `The customer's phone number.`,
66
- nullable: true
66
+ nullable: true,
67
67
  }),
68
68
  preferredLocales: t.exposeStringList('preferred_locales', {
69
69
  description: `The customer's preferred locales (languages), ordered by preference.`,
70
- nullable: true
70
+ nullable: true,
71
71
  }),
72
72
  shipping: t.expose('shipping', {
73
73
  description: `Mailing and shipping address for the customer. Appears on invoices emailed to this customer.`,
74
74
  type: 'StripeCustomerShipping',
75
- nullable: true
75
+ nullable: true,
76
76
  }),
77
77
  // TODO: sources
78
78
  tax: t.expose('tax', {
79
79
  type: 'StripeCustomerTax',
80
- nullable: true
80
+ nullable: true,
81
81
  }),
82
82
  // TODO: tax_exempt
83
83
  // type TaxExempt = 'exempt' | 'none' | 'reverse';
@@ -89,30 +89,30 @@ builder.objectType('StripeCustomer', {
89
89
  nullable: false,
90
90
  resolve: async (customer) => {
91
91
  const subscriptions = await stripe.subscriptions.list({
92
- customer: customer.id
92
+ customer: customer.id,
93
93
  });
94
94
  return subscriptions;
95
- }
95
+ },
96
96
  }),
97
97
  invoices: t.field({
98
98
  type: 'StripeInvoices',
99
99
  nullable: false,
100
100
  resolve: async (customer) => {
101
101
  const invoices = await stripe.invoices.list({
102
- customer: customer.id
102
+ customer: customer.id,
103
103
  });
104
104
  return invoices;
105
- }
105
+ },
106
106
  }),
107
107
  paymentIntents: t.field({
108
108
  type: 'StripePaymentIntents',
109
109
  nullable: false,
110
110
  resolve: async (customer) => {
111
111
  const paymentIntents = await stripe.paymentIntents.list({
112
- customer: customer.id
112
+ customer: customer.id,
113
113
  });
114
114
  return paymentIntents;
115
- }
115
+ },
116
116
  }),
117
117
  paymentMethods: t.field({
118
118
  type: 'StripePaymentMethods',
@@ -120,17 +120,17 @@ builder.objectType('StripeCustomer', {
120
120
  type: t.arg({
121
121
  type: StripePaymentMethodTypes,
122
122
  required: true,
123
- defaultValue: 'card'
123
+ defaultValue: 'card',
124
124
  }),
125
125
  startingAfter: t.arg.string({
126
- required: false
126
+ required: false,
127
127
  }),
128
128
  endingBefore: t.arg.string({
129
- required: false
129
+ required: false,
130
130
  }),
131
131
  limit: t.arg.int({
132
- required: false
133
- })
132
+ required: false,
133
+ }),
134
134
  },
135
135
  nullable: false,
136
136
  resolve: async (customer, { type, startingAfter, endingBefore, limit }) => {
@@ -138,21 +138,21 @@ builder.objectType('StripeCustomer', {
138
138
  type,
139
139
  starting_after: startingAfter || undefined,
140
140
  ending_before: endingBefore || undefined,
141
- limit: limit || undefined
141
+ limit: limit || undefined,
142
142
  });
143
143
  return paymentMethods;
144
- }
144
+ },
145
145
  }),
146
146
  charges: t.field({
147
147
  type: 'StripeCharges',
148
148
  nullable: false,
149
149
  resolve: async (customer) => {
150
150
  const charges = await stripe.charges.list({
151
- customer: customer.id
151
+ customer: customer.id,
152
152
  });
153
153
  return charges;
154
- }
155
- })
156
- })
154
+ },
155
+ }),
156
+ }),
157
157
  });
158
158
  //# sourceMappingURL=customer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../src/schema/customer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAOpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE;IACnC,WAAW,E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,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,KAAK,EAAE,EAC5C,EAAE;gBACF,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CAC9D,QAAQ,CAAC,EAAE,EACX;oBACE,IAAI;oBACJ,cAAc,EAAE,aAAa,IAAI,SAAS;oBAC1C,aAAa,EAAE,YAAY,IAAI,SAAS;oBACxC,KAAK,EAAE,KAAK,IAAI,SAAS;iBAC1B,CACF,CAAC;gBACF,OAAO,cAEN,CAAC;YACJ,CAAC;SACF,CAAC;QACF,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC;YACf,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;gBAC1B,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;oBACxC,QAAQ,EAAE,QAAQ,CAAC,EAAE;iBACtB,CAAC,CAAC;gBACH,OAAO,OAAwD,CAAC;YAClE,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
@@ -3,15 +3,15 @@ builder.objectType('StripeCustomers', {
3
3
  fields: (t) => ({
4
4
  object: t.exposeString('object'),
5
5
  url: t.exposeString('url', {
6
- description: `The URL where this list can be accessed.`
6
+ description: `The URL where this list can be accessed.`,
7
7
  }),
8
8
  hasMore: t.exposeBoolean('has_more', {
9
- description: `True if this list has another page of items after this one that can be fetched.`
9
+ description: `True if this list has another page of items after this one that can be fetched.`,
10
10
  }),
11
11
  data: t.expose('data', {
12
12
  type: ['StripeCustomer'],
13
- nullable: false
14
- })
15
- })
13
+ nullable: false,
14
+ }),
15
+ }),
16
16
  });
17
17
  //# sourceMappingURL=customers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/schema/customers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/schema/customers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAA;AAClB,OAAO,YAAY,CA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mC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,YAAY,CAAC;AACpB,OAAO,WAAW,CAAC;AACnB,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC;AAChC,OAAO,6BAA6B,CAAC;AACrC,OAAO,2BAA2B,CAAC;AACnC,OAAO,sBAAsB,CAAC;AAC9B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,4BAA4B,CAAC;AACpC,OAAO,gCAAgC,CAAC;AACxC,OAAO,6BAA6B,CAAC;AACrC,OAAO,8BAA8B,CAAC;AACtC,OAAO,QAAQ,CAAC;AAChB,OAAO,wBAAwB,CAAC;AAChC,OAAO,SAAS,CAAC;AACjB,OAAO,WAAW,CAAC;AACnB,OAAO,YAAY,CAAC;AACpB,OAAO,cAAc,CAAC;AACtB,OAAO,0BAA0B,CAAC;AAClC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,WAAW,CAAC;AACnB,OAAO,UAAU,CAAC;AAClB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qBAAqB,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC"}
@@ -2,12 +2,12 @@ import { builder } from '../builder';
2
2
  builder.objectType('StripeInvoiceAutomaticTax', {
3
3
  fields: (t) => ({
4
4
  enabled: t.exposeBoolean('enabled', {
5
- 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.`
5
+ 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.`,
6
6
  }),
7
7
  status: t.exposeString('status', {
8
8
  description: `The status of the most recent automated tax calculation for this invoice.`,
9
- nullable: true
10
- })
11
- })
9
+ nullable: true,
10
+ }),
11
+ }),
12
12
  });
13
13
  //# sourceMappingURL=invoice-automatic-tax.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-automatic-tax.js","sourceRoot":"","sources":["../../../src/schema/invoice-automatic-tax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-automatic-tax.js","sourceRoot":"","sources":["../../../src/schema/invoice-automatic-tax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -2,11 +2,11 @@ import { builder } from '../builder';
2
2
  builder.objectType('StripeInvoiceCustomField', {
3
3
  fields: (t) => ({
4
4
  name: t.exposeString('name', {
5
- description: `The name of the custom field.`
5
+ description: `The name of the custom field.`,
6
6
  }),
7
7
  value: t.exposeString('value', {
8
- description: `The value of the custom field.`
9
- })
10
- })
8
+ description: `The value of the custom field.`,
9
+ }),
10
+ }),
11
11
  });
12
12
  //# 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,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-custom-field.js","sourceRoot":"","sources":["../../../src/schema/invoice-custom-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -3,24 +3,24 @@ builder.objectType('StripeInvoiceCustomerShipping', {
3
3
  fields: (t) => ({
4
4
  address: t.expose('address', {
5
5
  type: 'StripeAddress',
6
- nullable: true
6
+ nullable: true,
7
7
  }),
8
8
  carrier: t.exposeString('carrier', {
9
9
  description: `The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.`,
10
- nullable: true
10
+ nullable: true,
11
11
  }),
12
12
  name: t.exposeString('name', {
13
13
  description: `Recipient name.`,
14
- nullable: true
14
+ nullable: true,
15
15
  }),
16
16
  phone: t.exposeString('phone', {
17
17
  description: `Recipient phone (including extension).`,
18
- nullable: true
18
+ nullable: true,
19
19
  }),
20
20
  trackingNumber: t.exposeString('tracking_number', {
21
21
  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.`,
22
- nullable: true
23
- })
24
- })
22
+ nullable: true,
23
+ }),
24
+ }),
25
25
  });
26
26
  //# sourceMappingURL=invoice-customer-shipping.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-customer-shipping.js","sourceRoot":"","sources":["../../../src/schema/invoice-customer-shipping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-customer-shipping.js","sourceRoot":"","sources":["../../../src/schema/invoice-customer-shipping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -2,12 +2,12 @@ import { builder } from '../builder';
2
2
  builder.objectType('StripeInvoiceCustomerTaxId', {
3
3
  fields: (t) => ({
4
4
  type: t.exposeString('type', {
5
- 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\``
5
+ 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\``,
6
6
  }),
7
7
  value: t.exposeString('value', {
8
8
  description: `The value of the tax ID.`,
9
- nullable: true
10
- })
11
- })
9
+ nullable: true,
10
+ }),
11
+ }),
12
12
  });
13
13
  //# sourceMappingURL=invoice-customer-tax-id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-customer-tax-id.js","sourceRoot":"","sources":["../../../src/schema/invoice-customer-tax-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-customer-tax-id.js","sourceRoot":"","sources":["../../../src/schema/invoice-customer-tax-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -2,11 +2,11 @@ import { builder } from '../builder';
2
2
  builder.objectType('StripeInvoiceLineItemPeriod', {
3
3
  fields: (t) => ({
4
4
  start: t.exposeInt('start', {
5
- description: `The start of the period.`
5
+ description: `The start of the period.`,
6
6
  }),
7
7
  end: t.exposeInt('end', {
8
- description: `The end of the period, which must be greater than or equal to the start.`
9
- })
10
- })
8
+ description: `The end of the period, which must be greater than or equal to the start.`,
9
+ }),
10
+ }),
11
11
  });
12
12
  //# 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,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-line-item-period.js","sourceRoot":"","sources":["../../../src/schema/invoice-line-item-period.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -2,16 +2,16 @@ import { builder } from '../builder';
2
2
  builder.objectType('StripeInvoiceLineItemTaxAmount', {
3
3
  fields: (t) => ({
4
4
  amount: t.exposeInt('amount', {
5
- description: `The amount, in %s, of the tax.`
5
+ description: `The amount, in %s, of the tax.`,
6
6
  }),
7
7
  inclusive: t.exposeBoolean('inclusive', {
8
- description: `Whether this tax amount is inclusive or exclusive.`
9
- })
8
+ description: `Whether this tax amount is inclusive or exclusive.`,
9
+ }),
10
10
  // todo: tax rate
11
11
  // issues because tax_rate can be a string or TaxRate
12
12
  // taxRate: t.expose('tax_rate', {
13
13
  // type: 'StripeTaxRate'
14
14
  // })
15
- })
15
+ }),
16
16
  });
17
17
  //# sourceMappingURL=invoice-line-item-tax-amount.js.map
@@ -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,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-line-item-tax-amount.js","sourceRoot":"","sources":["../../../src/schema/invoice-line-item-tax-amount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -2,81 +2,81 @@ import { builder } from '../builder';
2
2
  builder.objectType('StripeInvoiceLineItem', {
3
3
  fields: (t) => ({
4
4
  id: t.exposeString('id', {
5
- description: `Unique identifier for the object.`
5
+ description: `Unique identifier for the object.`,
6
6
  }),
7
7
  object: t.exposeString('object', {
8
- description: `String representing the object's type. Objects of the same type share the same value.`
8
+ description: `String representing the object's type. Objects of the same type share the same value.`,
9
9
  }),
10
10
  amount: t.exposeInt('amount', {
11
- description: `The amount, in %s.`
11
+ description: `The amount, in %s.`,
12
12
  }),
13
13
  amountExcludingTax: t.exposeInt('amount_excluding_tax', {
14
14
  description: `The integer amount in %s representing the amount for this line item, excluding all tax and discounts.`,
15
- nullable: true
15
+ nullable: true,
16
16
  }),
17
17
  currency: t.exposeString('currency', {
18
- 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).`
18
+ 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).`,
19
19
  }),
20
20
  description: t.exposeString('description', {
21
21
  description: `An arbitrary string attached to the object. Often useful for displaying to users.`,
22
- nullable: true
22
+ nullable: true,
23
23
  }),
24
24
  // todo: discount_amounts
25
25
  discountable: t.exposeBoolean('discountable', {
26
- description: `If true, discounts will apply to this line item. Always false for prorations.`
26
+ description: `If true, discounts will apply to this line item. Always false for prorations.`,
27
27
  }),
28
28
  // todo: discounts
29
29
  invoiceItem: t.exposeString('invoice_item', {
30
30
  description: 'The ID of the [invoice item](https://stripe.com/docs/api/invoiceitems) associated with this line item if any.',
31
- nullable: true
31
+ nullable: true,
32
32
  }),
33
33
  livemode: t.exposeBoolean('livemode', {
34
- description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`
34
+ description: `Has the value \`true\` if the object exists in live mode or the value \`false\` if the object exists in test mode.`,
35
35
  }),
36
36
  metadata: t.expose('metadata', {
37
37
  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.`,
38
- type: 'JSON'
38
+ type: 'JSON',
39
39
  }),
40
40
  period: t.expose('period', {
41
- type: 'StripeInvoiceLineItemPeriod'
41
+ type: 'StripeInvoiceLineItemPeriod',
42
42
  }),
43
43
  plan: t.expose('plan', {
44
44
  description: `The plan of the subscription, if the line item is a subscription or a proration.`,
45
45
  type: 'StripePlan',
46
- nullable: true
46
+ nullable: true,
47
47
  }),
48
48
  price: t.expose('price', {
49
49
  description: `The price of the line item.`,
50
50
  type: 'StripePrice',
51
- nullable: true
51
+ nullable: true,
52
52
  }),
53
53
  proration: t.exposeBoolean('proration', {
54
- description: `Whether this is a proration.`
54
+ description: `Whether this is a proration.`,
55
55
  }),
56
56
  // todo: proration details
57
57
  quantity: t.exposeInt('quantity', {
58
58
  description: `The quantity of the subscription, if the line item is a subscription or a proration.`,
59
- nullable: true
59
+ nullable: true,
60
60
  }),
61
61
  // todo: subscription field + resolver
62
62
  // todo: subscription_item field + resolver
63
63
  taxAmount: t.expose('tax_amounts', {
64
64
  description: `The amount of tax calculated per tax rate for this line item`,
65
65
  type: ['StripeInvoiceLineItemTaxAmount'],
66
- nullable: true
66
+ nullable: true,
67
67
  }),
68
68
  taxRates: t.expose('tax_rates', {
69
69
  description: `The tax rates which apply to the line item.`,
70
70
  type: ['StripeTaxRate'],
71
- nullable: true
71
+ nullable: true,
72
72
  }),
73
73
  type: t.exposeString('type', {
74
- description: `A string identifying the type of the source of this line item, either an \`invoiceitem\` or a \`subscription\`.`
74
+ description: `A string identifying the type of the source of this line item, either an \`invoiceitem\` or a \`subscription\`.`,
75
75
  }),
76
76
  unitAmountExcludingTax: t.exposeString('unit_amount_excluding_tax', {
77
77
  description: `The amount in %s representing the unit amount for this line item, excluding all tax and discounts.`,
78
- nullable: true
79
- })
80
- })
78
+ nullable: true,
79
+ }),
80
+ }),
81
81
  });
82
82
  //# sourceMappingURL=invoice-line-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-line-item.js","sourceRoot":"","sources":["../../../src/schema/invoice-line-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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;YACpH,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,YAAY,CAAC,UAAU,EAAE;YACnC,WAAW,EAAE,uKAAuK;SACrL,CAAC;QACF,WAAW,EAAE,CAAC,CAAC,YAAY,CAAC,aAAa,EAAE;YACzC,WAAW,EAAE,mFAAmF;YAChG,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,yBAAyB;QACzB,YAAY,EAAE,CAAC,CAAC,aAAa,CAAC,cAAc,EAAE;YAC5C,WAAW,EAAE,+EAA+E;SAC7F,CAAC;QACF,kBAAkB;QAClB,WAAW,EAAE,CAAC,CAAC,YAAY,CAAC,cAAc,EAAE;YAC1C,WAAW,EACT,+GAA+G;YACjH,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,aAAa,CAAC,UAAU,EAAE;YACpC,WAAW,EAAE,oHAAoH;SAClI,CAAC;QACF,QAAQ,EAAE,CAAC,CAAC,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AAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
@@ -3,15 +3,15 @@ builder.objectType('StripeInvoiceLineItems', {
3
3
  fields: (t) => ({
4
4
  object: t.exposeString('object'),
5
5
  url: t.exposeString('url', {
6
- description: `The URL where this list can be accessed.`
6
+ description: `The URL where this list can be accessed.`,
7
7
  }),
8
8
  hasMore: t.exposeBoolean('has_more', {
9
- description: `True if this list has another page of items after this one that can be fetched.`
9
+ description: `True if this list has another page of items after this one that can be fetched.`,
10
10
  }),
11
11
  data: t.expose('data', {
12
12
  type: ['StripeInvoiceLineItem'],
13
- nullable: false
14
- })
15
- })
13
+ nullable: false,
14
+ }),
15
+ }),
16
16
  });
17
17
  //# sourceMappingURL=invoice-line-items.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-line-items.js","sourceRoot":"","sources":["../../../src/schema/invoice-line-items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,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"}
1
+ {"version":3,"file":"invoice-line-items.js","sourceRoot":"","sources":["../../../src/schema/invoice-line-items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,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,CAAC"}
@@ -3,8 +3,8 @@ builder.objectType('StripeInvoiceRenderingOptions', {
3
3
  fields: (t) => ({
4
4
  amountTaxDisplay: t.exposeString('amount_tax_display', {
5
5
  description: 'How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.',
6
- nullable: true
7
- })
8
- })
6
+ nullable: true,
7
+ }),
8
+ }),
9
9
  });
10
10
  //# sourceMappingURL=invoice-rendering-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-rendering-options.js","sourceRoot":"","sources":["../../../src/schema/invoice-rendering-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,gBAAgB,EAAE,CAAC,CAAC,YAAY,CAAC,oBAAoB,EAAE;YACrD,WAAW,EACT,yFAAyF;YAC3F,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"invoice-rendering-options.js","sourceRoot":"","sources":["../../../src/schema/invoice-rendering-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACd,gBAAgB,EAAE,CAAC,CAAC,YAAY,CAAC,oBAAoB,EAAE;YACrD,WAAW,EACT,yFAAyF;YAC3F,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}