@lshay-provider/stripe 0.3.0 → 0.3.1

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 (263) hide show
  1. package/bin/applePayDomain.d.ts +12 -4
  2. package/bin/applePayDomain.d.ts.map +1 -1
  3. package/bin/applePayDomain.js +10 -0
  4. package/bin/applePayDomain.js.map +1 -1
  5. package/bin/appsInstall.d.ts +201 -0
  6. package/bin/appsInstall.d.ts.map +1 -0
  7. package/bin/appsInstall.js +121 -0
  8. package/bin/appsInstall.js.map +1 -0
  9. package/bin/billingAlert.d.ts +15 -7
  10. package/bin/billingAlert.d.ts.map +1 -1
  11. package/bin/billingAlert.js +10 -0
  12. package/bin/billingAlert.js.map +1 -1
  13. package/bin/billingCreditGrant.d.ts +32 -24
  14. package/bin/billingCreditGrant.d.ts.map +1 -1
  15. package/bin/billingCreditGrant.js +10 -0
  16. package/bin/billingCreditGrant.js.map +1 -1
  17. package/bin/billingFeedbackOption.d.ts +85 -0
  18. package/bin/billingFeedbackOption.d.ts.map +1 -0
  19. package/bin/billingFeedbackOption.js +93 -0
  20. package/bin/billingFeedbackOption.js.map +1 -0
  21. package/bin/billingMeter.d.ts +24 -16
  22. package/bin/billingMeter.d.ts.map +1 -1
  23. package/bin/billingMeter.js +10 -0
  24. package/bin/billingMeter.js.map +1 -1
  25. package/bin/billingPortalConfiguration.d.ts +29 -21
  26. package/bin/billingPortalConfiguration.d.ts.map +1 -1
  27. package/bin/billingPortalConfiguration.js +10 -0
  28. package/bin/billingPortalConfiguration.js.map +1 -1
  29. package/bin/charge.d.ts +77 -69
  30. package/bin/charge.d.ts.map +1 -1
  31. package/bin/charge.js +10 -0
  32. package/bin/charge.js.map +1 -1
  33. package/bin/climateOrder.d.ts +37 -29
  34. package/bin/climateOrder.d.ts.map +1 -1
  35. package/bin/climateOrder.js +10 -0
  36. package/bin/climateOrder.js.map +1 -1
  37. package/bin/coupon.d.ts +47 -27
  38. package/bin/coupon.d.ts.map +1 -1
  39. package/bin/coupon.js +12 -0
  40. package/bin/coupon.js.map +1 -1
  41. package/bin/creditNote.d.ts +52 -44
  42. package/bin/creditNote.d.ts.map +1 -1
  43. package/bin/creditNote.js +10 -0
  44. package/bin/creditNote.js.map +1 -1
  45. package/bin/customer.d.ts +65 -57
  46. package/bin/customer.d.ts.map +1 -1
  47. package/bin/customer.js +10 -0
  48. package/bin/customer.js.map +1 -1
  49. package/bin/customerBalanceTransaction.d.ts +23 -15
  50. package/bin/customerBalanceTransaction.d.ts.map +1 -1
  51. package/bin/customerBalanceTransaction.js +10 -0
  52. package/bin/customerBalanceTransaction.js.map +1 -1
  53. package/bin/entitlementsFeature.d.ts +16 -8
  54. package/bin/entitlementsFeature.d.ts.map +1 -1
  55. package/bin/entitlementsFeature.js +10 -0
  56. package/bin/entitlementsFeature.js.map +1 -1
  57. package/bin/file.d.ts +23 -15
  58. package/bin/file.d.ts.map +1 -1
  59. package/bin/file.js +10 -0
  60. package/bin/file.js.map +1 -1
  61. package/bin/fileLink.d.ts +18 -10
  62. package/bin/fileLink.d.ts.map +1 -1
  63. package/bin/fileLink.js +10 -0
  64. package/bin/fileLink.js.map +1 -1
  65. package/bin/index.d.ts +39 -0
  66. package/bin/index.d.ts.map +1 -1
  67. package/bin/index.js +67 -2
  68. package/bin/index.js.map +1 -1
  69. package/bin/invoice.d.ts +124 -114
  70. package/bin/invoice.d.ts.map +1 -1
  71. package/bin/invoice.js +12 -0
  72. package/bin/invoice.js.map +1 -1
  73. package/bin/invoiceItem.d.ts +74 -46
  74. package/bin/invoiceItem.d.ts.map +1 -1
  75. package/bin/invoiceItem.js +14 -0
  76. package/bin/invoiceItem.js.map +1 -1
  77. package/bin/issuingCard.d.ts +46 -38
  78. package/bin/issuingCard.d.ts.map +1 -1
  79. package/bin/issuingCard.js +10 -0
  80. package/bin/issuingCard.js.map +1 -1
  81. package/bin/issuingCardholder.d.ts +36 -28
  82. package/bin/issuingCardholder.d.ts.map +1 -1
  83. package/bin/issuingCardholder.js +10 -0
  84. package/bin/issuingCardholder.js.map +1 -1
  85. package/bin/issuingDispute.d.ts +24 -16
  86. package/bin/issuingDispute.d.ts.map +1 -1
  87. package/bin/issuingDispute.js +10 -0
  88. package/bin/issuingDispute.js.map +1 -1
  89. package/bin/issuingPersonalizationDesign.d.ts +28 -20
  90. package/bin/issuingPersonalizationDesign.d.ts.map +1 -1
  91. package/bin/issuingPersonalizationDesign.js +10 -0
  92. package/bin/issuingPersonalizationDesign.js.map +1 -1
  93. package/bin/package.json +6 -7
  94. package/bin/paymentIntent.d.ts +108 -84
  95. package/bin/paymentIntent.d.ts.map +1 -1
  96. package/bin/paymentIntent.js +14 -0
  97. package/bin/paymentIntent.js.map +1 -1
  98. package/bin/paymentLink.d.ts +78 -70
  99. package/bin/paymentLink.d.ts.map +1 -1
  100. package/bin/paymentLink.js +10 -0
  101. package/bin/paymentLink.js.map +1 -1
  102. package/bin/paymentMethod.d.ts +79 -62
  103. package/bin/paymentMethod.d.ts.map +1 -1
  104. package/bin/paymentMethod.js +16 -0
  105. package/bin/paymentMethod.js.map +1 -1
  106. package/bin/paymentMethodConfiguration.d.ts +142 -128
  107. package/bin/paymentMethodConfiguration.d.ts.map +1 -1
  108. package/bin/paymentMethodConfiguration.js +14 -0
  109. package/bin/paymentMethodConfiguration.js.map +1 -1
  110. package/bin/paymentMethodDomain.d.ts +20 -12
  111. package/bin/paymentMethodDomain.d.ts.map +1 -1
  112. package/bin/paymentMethodDomain.js +10 -0
  113. package/bin/paymentMethodDomain.js.map +1 -1
  114. package/bin/person.d.ts +90 -64
  115. package/bin/person.d.ts.map +1 -1
  116. package/bin/person.js +10 -0
  117. package/bin/person.js.map +1 -1
  118. package/bin/plan.d.ts +53 -33
  119. package/bin/plan.d.ts.map +1 -1
  120. package/bin/plan.js +12 -0
  121. package/bin/plan.js.map +1 -1
  122. package/bin/price.d.ts +50 -42
  123. package/bin/price.d.ts.map +1 -1
  124. package/bin/price.js +10 -0
  125. package/bin/price.js.map +1 -1
  126. package/bin/product.d.ts +65 -33
  127. package/bin/product.d.ts.map +1 -1
  128. package/bin/product.js +14 -0
  129. package/bin/product.js.map +1 -1
  130. package/bin/productCatalogTrialOffer.d.ts +105 -0
  131. package/bin/productCatalogTrialOffer.d.ts.map +1 -0
  132. package/bin/productCatalogTrialOffer.js +103 -0
  133. package/bin/productCatalogTrialOffer.js.map +1 -0
  134. package/bin/productFeature.d.ts +21 -4
  135. package/bin/productFeature.d.ts.map +1 -1
  136. package/bin/productFeature.js +10 -0
  137. package/bin/productFeature.js.map +1 -1
  138. package/bin/promotionCode.d.ts +30 -22
  139. package/bin/promotionCode.d.ts.map +1 -1
  140. package/bin/promotionCode.js +10 -0
  141. package/bin/promotionCode.js.map +1 -1
  142. package/bin/provider.d.ts +2 -2
  143. package/bin/provider.d.ts.map +1 -1
  144. package/bin/quote.d.ts +60 -52
  145. package/bin/quote.d.ts.map +1 -1
  146. package/bin/quote.js +10 -0
  147. package/bin/quote.js.map +1 -1
  148. package/bin/radarValueList.d.ts +19 -11
  149. package/bin/radarValueList.d.ts.map +1 -1
  150. package/bin/radarValueList.js +10 -0
  151. package/bin/radarValueList.js.map +1 -1
  152. package/bin/radarValueListItem.d.ts +14 -6
  153. package/bin/radarValueListItem.d.ts.map +1 -1
  154. package/bin/radarValueListItem.js +10 -0
  155. package/bin/radarValueListItem.js.map +1 -1
  156. package/bin/setupIntent.d.ts +75 -59
  157. package/bin/setupIntent.d.ts.map +1 -1
  158. package/bin/setupIntent.js +13 -1
  159. package/bin/setupIntent.js.map +1 -1
  160. package/bin/shippingRate.d.ts +26 -18
  161. package/bin/shippingRate.d.ts.map +1 -1
  162. package/bin/shippingRate.js +10 -0
  163. package/bin/shippingRate.js.map +1 -1
  164. package/bin/source.d.ts +64 -56
  165. package/bin/source.d.ts.map +1 -1
  166. package/bin/source.js +10 -0
  167. package/bin/source.js.map +1 -1
  168. package/bin/subscription.d.ts +114 -98
  169. package/bin/subscription.d.ts.map +1 -1
  170. package/bin/subscription.js +12 -0
  171. package/bin/subscription.js.map +1 -1
  172. package/bin/subscriptionItem.d.ts +57 -37
  173. package/bin/subscriptionItem.d.ts.map +1 -1
  174. package/bin/subscriptionItem.js +12 -0
  175. package/bin/subscriptionItem.js.map +1 -1
  176. package/bin/subscriptionSchedule.d.ts +53 -33
  177. package/bin/subscriptionSchedule.d.ts.map +1 -1
  178. package/bin/subscriptionSchedule.js +12 -0
  179. package/bin/subscriptionSchedule.js.map +1 -1
  180. package/bin/taxId.d.ts +21 -13
  181. package/bin/taxId.d.ts.map +1 -1
  182. package/bin/taxId.js +10 -0
  183. package/bin/taxId.js.map +1 -1
  184. package/bin/taxLocation.d.ts +90 -0
  185. package/bin/taxLocation.d.ts.map +1 -0
  186. package/bin/taxLocation.js +96 -0
  187. package/bin/taxLocation.js.map +1 -0
  188. package/bin/taxRate.d.ts +32 -24
  189. package/bin/taxRate.d.ts.map +1 -1
  190. package/bin/taxRate.js +10 -0
  191. package/bin/taxRate.js.map +1 -1
  192. package/bin/taxRegistration.d.ts +17 -9
  193. package/bin/taxRegistration.d.ts.map +1 -1
  194. package/bin/taxRegistration.js +10 -0
  195. package/bin/taxRegistration.js.map +1 -1
  196. package/bin/terminalConfiguration.d.ts +47 -33
  197. package/bin/terminalConfiguration.d.ts.map +1 -1
  198. package/bin/terminalConfiguration.js +14 -0
  199. package/bin/terminalConfiguration.js.map +1 -1
  200. package/bin/terminalLocation.d.ts +26 -18
  201. package/bin/terminalLocation.d.ts.map +1 -1
  202. package/bin/terminalLocation.js +10 -0
  203. package/bin/terminalLocation.js.map +1 -1
  204. package/bin/terminalReader.d.ts +25 -17
  205. package/bin/terminalReader.d.ts.map +1 -1
  206. package/bin/terminalReader.js +10 -0
  207. package/bin/terminalReader.js.map +1 -1
  208. package/bin/threeDSecureAuthentication.d.ts +297 -0
  209. package/bin/threeDSecureAuthentication.d.ts.map +1 -0
  210. package/bin/threeDSecureAuthentication.js +132 -0
  211. package/bin/threeDSecureAuthentication.js.map +1 -0
  212. package/bin/treasuryFinancialAccount.d.ts +29 -21
  213. package/bin/treasuryFinancialAccount.d.ts.map +1 -1
  214. package/bin/treasuryFinancialAccount.js +10 -0
  215. package/bin/treasuryFinancialAccount.js.map +1 -1
  216. package/bin/types/input.d.ts +5787 -3630
  217. package/bin/types/input.d.ts.map +1 -1
  218. package/bin/types/output.d.ts +2538 -381
  219. package/bin/types/output.d.ts.map +1 -1
  220. package/bin/utilities.d.ts.map +1 -1
  221. package/bin/utilities.js +8 -35
  222. package/bin/utilities.js.map +1 -1
  223. package/bin/v2coreEventDestination.d.ts +76 -68
  224. package/bin/v2coreEventDestination.d.ts.map +1 -1
  225. package/bin/v2coreEventDestination.js +10 -0
  226. package/bin/v2coreEventDestination.js.map +1 -1
  227. package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
  228. package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
  229. package/bin/v2coreVaultGbBankAccount.js +111 -0
  230. package/bin/v2coreVaultGbBankAccount.js.map +1 -0
  231. package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
  232. package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
  233. package/bin/v2coreVaultUsBankAccount.js +118 -0
  234. package/bin/v2coreVaultUsBankAccount.js.map +1 -0
  235. package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
  236. package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
  237. package/bin/v2moneyManagementFinancialAddress.js +102 -0
  238. package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
  239. package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
  240. package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
  241. package/bin/v2moneyManagementInboundTransfer.js +105 -0
  242. package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
  243. package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
  244. package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
  245. package/bin/v2moneyManagementOutboundPayment.js +125 -0
  246. package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
  247. package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
  248. package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
  249. package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
  250. package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
  251. package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
  252. package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
  253. package/bin/v2moneyManagementPayoutIntent.js +127 -0
  254. package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
  255. package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
  256. package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
  257. package/bin/v2moneyManagementRecipientVerification.js +107 -0
  258. package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
  259. package/bin/webhookEndpoint.d.ts +27 -19
  260. package/bin/webhookEndpoint.d.ts.map +1 -1
  261. package/bin/webhookEndpoint.js +10 -0
  262. package/bin/webhookEndpoint.js.map +1 -1
  263. package/package.json +6 -7
@@ -12,6 +12,14 @@ export declare class BillingPortalConfiguration extends pulumi.CustomResource {
12
12
  * @param opts Optional settings to control the behavior of the CustomResource.
13
13
  */
14
14
  static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BillingPortalConfigurationState, opts?: pulumi.CustomResourceOptions): BillingPortalConfiguration;
15
+ /**
16
+ * Check whether an existing BillingPortalConfiguration resource with the given ID exists.
17
+ *
18
+ * @param id The _unique_ provider ID of the resource to check.
19
+ * @param state Any extra arguments used during the lookup.
20
+ * @param opts Optional settings to control the behavior of the CustomResource.
21
+ */
22
+ static exists(id: pulumi.Input<string>, state?: BillingPortalConfigurationState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
15
23
  /**
16
24
  * Returns true if the given object is an instance of BillingPortalConfiguration. This is designed to work even
17
25
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -31,7 +39,7 @@ export declare class BillingPortalConfiguration extends pulumi.CustomResource {
31
39
  */
32
40
  readonly created: pulumi.Output<number>;
33
41
  /**
34
- * The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
42
+ * The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overridden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
35
43
  */
36
44
  readonly defaultReturnUrl: pulumi.Output<string>;
37
45
  readonly features: pulumi.Output<outputs.BillingPortalConfigurationFeatures>;
@@ -74,44 +82,44 @@ export interface BillingPortalConfigurationState {
74
82
  /**
75
83
  * Whether the configuration is active and can be used to create portal sessions.
76
84
  */
77
- active?: pulumi.Input<boolean>;
85
+ active?: pulumi.Input<boolean | undefined>;
78
86
  /**
79
87
  * ID of the Connect Application that created the configuration.
80
88
  */
81
- application?: pulumi.Input<string>;
82
- businessProfile?: pulumi.Input<inputs.BillingPortalConfigurationBusinessProfile>;
89
+ application?: pulumi.Input<string | undefined>;
90
+ businessProfile?: pulumi.Input<inputs.BillingPortalConfigurationBusinessProfile | undefined>;
83
91
  /**
84
92
  * Time at which the object was created. Measured in seconds since the Unix epoch.
85
93
  */
86
- created?: pulumi.Input<number>;
94
+ created?: pulumi.Input<number | undefined>;
87
95
  /**
88
- * The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
96
+ * The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overridden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
89
97
  */
90
- defaultReturnUrl?: pulumi.Input<string>;
91
- features?: pulumi.Input<inputs.BillingPortalConfigurationFeatures>;
98
+ defaultReturnUrl?: pulumi.Input<string | undefined>;
99
+ features?: pulumi.Input<inputs.BillingPortalConfigurationFeatures | undefined>;
92
100
  /**
93
101
  * Whether the configuration is the default. If <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session.
94
102
  */
95
- isDefault?: pulumi.Input<boolean>;
103
+ isDefault?: pulumi.Input<boolean | undefined>;
96
104
  /**
97
105
  * If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
98
106
  */
99
- livemode?: pulumi.Input<boolean>;
100
- loginPage?: pulumi.Input<inputs.BillingPortalConfigurationLoginPage>;
107
+ livemode?: pulumi.Input<boolean | undefined>;
108
+ loginPage?: pulumi.Input<inputs.BillingPortalConfigurationLoginPage | undefined>;
101
109
  /**
102
110
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
103
111
  */
104
112
  metadata?: pulumi.Input<{
105
113
  [key: string]: pulumi.Input<string>;
106
- }>;
114
+ } | undefined>;
107
115
  /**
108
116
  * The name of the configuration.
109
117
  */
110
- name?: pulumi.Input<string>;
118
+ name?: pulumi.Input<string | undefined>;
111
119
  /**
112
120
  * String representing the object's type. Objects of the same type share the same value.
113
121
  */
114
- object?: pulumi.Input<string>;
122
+ object?: pulumi.Input<string | undefined>;
115
123
  }
116
124
  /**
117
125
  * The set of arguments for constructing a BillingPortalConfiguration resource.
@@ -120,23 +128,23 @@ export interface BillingPortalConfigurationArgs {
120
128
  /**
121
129
  * Whether the configuration is active and can be used to create portal sessions.
122
130
  */
123
- active?: pulumi.Input<boolean>;
124
- businessProfile?: pulumi.Input<inputs.BillingPortalConfigurationBusinessProfile>;
131
+ active?: pulumi.Input<boolean | undefined>;
132
+ businessProfile?: pulumi.Input<inputs.BillingPortalConfigurationBusinessProfile | undefined>;
125
133
  /**
126
- * The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
134
+ * The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overridden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
127
135
  */
128
- defaultReturnUrl?: pulumi.Input<string>;
136
+ defaultReturnUrl?: pulumi.Input<string | undefined>;
129
137
  features: pulumi.Input<inputs.BillingPortalConfigurationFeatures>;
130
- loginPage?: pulumi.Input<inputs.BillingPortalConfigurationLoginPage>;
138
+ loginPage?: pulumi.Input<inputs.BillingPortalConfigurationLoginPage | undefined>;
131
139
  /**
132
140
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
133
141
  */
134
142
  metadata?: pulumi.Input<{
135
143
  [key: string]: pulumi.Input<string>;
136
- }>;
144
+ } | undefined>;
137
145
  /**
138
146
  * The name of the configuration.
139
147
  */
140
- name?: pulumi.Input<string>;
148
+ name?: pulumi.Input<string | undefined>;
141
149
  }
142
150
  //# sourceMappingURL=billingPortalConfiguration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"billingPortalConfiguration.d.ts","sourceRoot":"","sources":["../billingPortalConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;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,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yCAAyC,GAAG,SAAS,CAAC,CAAC;IAC7F;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAAC;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;IACjF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -41,6 +41,16 @@ class BillingPortalConfiguration extends pulumi.CustomResource {
41
41
  static get(name, id, state, opts) {
42
42
  return new BillingPortalConfiguration(name, state, { ...opts, id: id });
43
43
  }
44
+ /**
45
+ * Check whether an existing BillingPortalConfiguration resource with the given ID exists.
46
+ *
47
+ * @param id The _unique_ provider ID of the resource to check.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static exists(id, state, opts) {
52
+ return pulumi.runtime.existsResource("stripe:index/billingPortalConfiguration:BillingPortalConfiguration", id, state || {}, { ...opts }, utilities.getPackage());
53
+ }
44
54
  /** @internal */
45
55
  static __pulumiType = 'stripe:index/billingPortalConfiguration:BillingPortalConfiguration';
46
56
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"billingPortalConfiguration.js","sourceRoot":"","sources":["../billingPortalConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oEAAoE,CAAC;IAE3G;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAkDD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,iBAAiB,CA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.ts CHANGED
@@ -12,6 +12,14 @@ export declare class Charge extends pulumi.CustomResource {
12
12
  * @param opts Optional settings to control the behavior of the CustomResource.
13
13
  */
14
14
  static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ChargeState, opts?: pulumi.CustomResourceOptions): Charge;
15
+ /**
16
+ * Check whether an existing Charge resource with the given ID exists.
17
+ *
18
+ * @param id The _unique_ provider ID of the resource to check.
19
+ * @param state Any extra arguments used during the lookup.
20
+ * @param opts Optional settings to control the behavior of the CustomResource.
21
+ */
22
+ static exists(id: pulumi.Input<string>, state?: ChargeState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
15
23
  /**
16
24
  * Returns true if the given object is an instance of Charge. This is designed to work even
17
25
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -56,7 +64,7 @@ export declare class Charge extends pulumi.CustomResource {
56
64
  readonly calculatedStatementDescriptor: pulumi.Output<string>;
57
65
  /**
58
66
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
59
- * Whether to immediately capture the charge. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. When <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://api.stripe.com#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://docs.stripe.com/charges/placing-a-hold) documentation.
67
+ * Whether to immediately capture the charge. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. When <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://docs.stripe.com/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://docs.stripe.com/charges/placing-a-hold) documentation.
60
68
  */
61
69
  readonly capture: pulumi.Output<boolean | undefined>;
62
70
  /**
@@ -217,187 +225,187 @@ export interface ChargeState {
217
225
  /**
218
226
  * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
219
227
  */
220
- amount?: pulumi.Input<number>;
228
+ amount?: pulumi.Input<number | undefined>;
221
229
  /**
222
230
  * Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
223
231
  */
224
- amountCaptured?: pulumi.Input<number>;
232
+ amountCaptured?: pulumi.Input<number | undefined>;
225
233
  /**
226
234
  * Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
227
235
  */
228
- amountRefunded?: pulumi.Input<number>;
236
+ amountRefunded?: pulumi.Input<number | undefined>;
229
237
  /**
230
238
  * ID of the Connect application that created the charge.
231
239
  */
232
- application?: pulumi.Input<string>;
240
+ application?: pulumi.Input<string | undefined>;
233
241
  /**
234
242
  * The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
235
243
  */
236
- applicationFee?: pulumi.Input<number>;
244
+ applicationFee?: pulumi.Input<number | undefined>;
237
245
  /**
238
246
  * The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
239
247
  */
240
- applicationFeeAmount?: pulumi.Input<number>;
248
+ applicationFeeAmount?: pulumi.Input<number | undefined>;
241
249
  /**
242
250
  * Authorization code on the charge.
243
251
  */
244
- authorizationCode?: pulumi.Input<string>;
252
+ authorizationCode?: pulumi.Input<string | undefined>;
245
253
  /**
246
254
  * ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
247
255
  */
248
- balanceTransaction?: pulumi.Input<string>;
249
- billingDetails?: pulumi.Input<inputs.ChargeBillingDetails>;
256
+ balanceTransaction?: pulumi.Input<string | undefined>;
257
+ billingDetails?: pulumi.Input<inputs.ChargeBillingDetails | undefined>;
250
258
  /**
251
259
  * The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
252
260
  */
253
- calculatedStatementDescriptor?: pulumi.Input<string>;
261
+ calculatedStatementDescriptor?: pulumi.Input<string | undefined>;
254
262
  /**
255
263
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
256
- * Whether to immediately capture the charge. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. When <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://api.stripe.com#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://docs.stripe.com/charges/placing-a-hold) documentation.
264
+ * Whether to immediately capture the charge. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. When <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://docs.stripe.com/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://docs.stripe.com/charges/placing-a-hold) documentation.
257
265
  */
258
- capture?: pulumi.Input<boolean>;
266
+ capture?: pulumi.Input<boolean | undefined>;
259
267
  /**
260
268
  * If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
261
269
  */
262
- captured?: pulumi.Input<boolean>;
270
+ captured?: pulumi.Input<boolean | undefined>;
263
271
  /**
264
272
  * Time at which the object was created. Measured in seconds since the Unix epoch.
265
273
  */
266
- created?: pulumi.Input<number>;
274
+ created?: pulumi.Input<number | undefined>;
267
275
  /**
268
276
  * 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).
269
277
  */
270
- currency?: pulumi.Input<string>;
278
+ currency?: pulumi.Input<string | undefined>;
271
279
  /**
272
280
  * ID of the customer this charge is for if one exists.
273
281
  */
274
- customer?: pulumi.Input<string>;
282
+ customer?: pulumi.Input<string | undefined>;
275
283
  /**
276
284
  * An arbitrary string attached to the object. Often useful for displaying to users.
277
285
  */
278
- description?: pulumi.Input<string>;
286
+ description?: pulumi.Input<string | undefined>;
279
287
  /**
280
288
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
281
289
  */
282
- destination?: pulumi.Input<inputs.ChargeDestination>;
290
+ destination?: pulumi.Input<inputs.ChargeDestination | undefined>;
283
291
  /**
284
292
  * Whether the charge has been disputed.
285
293
  */
286
- disputed?: pulumi.Input<boolean>;
294
+ disputed?: pulumi.Input<boolean | undefined>;
287
295
  /**
288
296
  * ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
289
297
  */
290
- failureBalanceTransaction?: pulumi.Input<string>;
298
+ failureBalanceTransaction?: pulumi.Input<string | undefined>;
291
299
  /**
292
300
  * Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
293
301
  */
294
- failureCode?: pulumi.Input<string>;
302
+ failureCode?: pulumi.Input<string | undefined>;
295
303
  /**
296
304
  * Message to user further explaining reason for charge failure if available.
297
305
  */
298
- failureMessage?: pulumi.Input<string>;
306
+ failureMessage?: pulumi.Input<string | undefined>;
299
307
  /**
300
308
  * Information on fraud assessments for the charge.
301
309
  */
302
- fraudDetails?: pulumi.Input<inputs.ChargeFraudDetails>;
303
- level3?: pulumi.Input<inputs.ChargeLevel3>;
310
+ fraudDetails?: pulumi.Input<inputs.ChargeFraudDetails | undefined>;
311
+ level3?: pulumi.Input<inputs.ChargeLevel3 | undefined>;
304
312
  /**
305
313
  * If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
306
314
  */
307
- livemode?: pulumi.Input<boolean>;
315
+ livemode?: pulumi.Input<boolean | undefined>;
308
316
  /**
309
317
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
310
318
  */
311
319
  metadata?: pulumi.Input<{
312
320
  [key: string]: pulumi.Input<string>;
313
- }>;
321
+ } | undefined>;
314
322
  /**
315
323
  * String representing the object's type. Objects of the same type share the same value.
316
324
  */
317
- object?: pulumi.Input<string>;
325
+ object?: pulumi.Input<string | undefined>;
318
326
  /**
319
327
  * The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
320
328
  */
321
- onBehalfOf?: pulumi.Input<string>;
329
+ onBehalfOf?: pulumi.Input<string | undefined>;
322
330
  /**
323
331
  * Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.
324
332
  */
325
- outcome?: pulumi.Input<inputs.ChargeOutcome>;
333
+ outcome?: pulumi.Input<inputs.ChargeOutcome | undefined>;
326
334
  /**
327
335
  * <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span> if the charge succeeded, or was successfully authorized for later capture.
328
336
  */
329
- paid?: pulumi.Input<boolean>;
337
+ paid?: pulumi.Input<boolean | undefined>;
330
338
  /**
331
339
  * ID of the PaymentIntent associated with this charge, if one exists.
332
340
  */
333
- paymentIntent?: pulumi.Input<string>;
341
+ paymentIntent?: pulumi.Input<string | undefined>;
334
342
  /**
335
343
  * ID of the payment method used in this charge.
336
344
  */
337
- paymentMethod?: pulumi.Input<string>;
345
+ paymentMethod?: pulumi.Input<string | undefined>;
338
346
  /**
339
347
  * Details about the payment method at the time of the transaction.
340
348
  */
341
- paymentMethodDetails?: pulumi.Input<inputs.ChargePaymentMethodDetails>;
342
- presentmentDetails?: pulumi.Input<inputs.ChargePresentmentDetails>;
349
+ paymentMethodDetails?: pulumi.Input<inputs.ChargePaymentMethodDetails | undefined>;
350
+ presentmentDetails?: pulumi.Input<inputs.ChargePresentmentDetails | undefined>;
343
351
  /**
344
352
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
345
353
  */
346
- radarOptions?: pulumi.Input<inputs.ChargeRadarOptions>;
354
+ radarOptions?: pulumi.Input<inputs.ChargeRadarOptions | undefined>;
347
355
  /**
348
356
  * This is the email address that the receipt for this charge was sent to.
349
357
  */
350
- receiptEmail?: pulumi.Input<string>;
358
+ receiptEmail?: pulumi.Input<string | undefined>;
351
359
  /**
352
360
  * This is the transaction number that appears on email receipts sent for this charge. This attribute will be <span pulumi-lang-nodejs="`null`" pulumi-lang-dotnet="`Null`" pulumi-lang-go="`null`" pulumi-lang-python="`null`" pulumi-lang-yaml="`null`" pulumi-lang-java="`null`" pulumi-lang-hcl="`null`">`null`</span> until a receipt has been sent.
353
361
  */
354
- receiptNumber?: pulumi.Input<string>;
362
+ receiptNumber?: pulumi.Input<string | undefined>;
355
363
  /**
356
364
  * Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
357
365
  */
358
- refunded?: pulumi.Input<boolean>;
366
+ refunded?: pulumi.Input<boolean | undefined>;
359
367
  /**
360
368
  * ID of the review associated with this charge if one exists.
361
369
  */
362
- review?: pulumi.Input<string>;
370
+ review?: pulumi.Input<string | undefined>;
363
371
  /**
364
372
  * Shipping information for the charge.
365
373
  */
366
- shipping?: pulumi.Input<inputs.ChargeShipping>;
374
+ shipping?: pulumi.Input<inputs.ChargeShipping | undefined>;
367
375
  /**
368
376
  * This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to <span pulumi-lang-nodejs="`paymentMethod`" pulumi-lang-dotnet="`PaymentMethod`" pulumi-lang-go="`paymentMethod`" pulumi-lang-python="`payment_method`" pulumi-lang-yaml="`paymentMethod`" pulumi-lang-java="`paymentMethod`" pulumi-lang-hcl="`payment_method`">`paymentMethod`</span> or <span pulumi-lang-nodejs="`paymentMethodDetails`" pulumi-lang-dotnet="`PaymentMethodDetails`" pulumi-lang-go="`paymentMethodDetails`" pulumi-lang-python="`payment_method_details`" pulumi-lang-yaml="`paymentMethodDetails`" pulumi-lang-java="`paymentMethodDetails`" pulumi-lang-hcl="`payment_method_details`">`paymentMethodDetails`</span> instead.
369
377
  */
370
- source?: pulumi.Input<string>;
378
+ source?: pulumi.Input<string | undefined>;
371
379
  /**
372
380
  * The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
373
381
  */
374
- sourceTransfer?: pulumi.Input<string>;
382
+ sourceTransfer?: pulumi.Input<string | undefined>;
375
383
  /**
376
384
  * For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
377
385
  *
378
386
  * For a card charge, this value is ignored unless you don't specify a <span pulumi-lang-nodejs="`statementDescriptorSuffix`" pulumi-lang-dotnet="`StatementDescriptorSuffix`" pulumi-lang-go="`statementDescriptorSuffix`" pulumi-lang-python="`statement_descriptor_suffix`" pulumi-lang-yaml="`statementDescriptorSuffix`" pulumi-lang-java="`statementDescriptorSuffix`" pulumi-lang-hcl="`statement_descriptor_suffix`">`statementDescriptorSuffix`</span>, in which case this value is used as the suffix.
379
387
  */
380
- statementDescriptor?: pulumi.Input<string>;
388
+ statementDescriptor?: pulumi.Input<string | undefined>;
381
389
  /**
382
390
  * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
383
391
  */
384
- statementDescriptorSuffix?: pulumi.Input<string>;
392
+ statementDescriptorSuffix?: pulumi.Input<string | undefined>;
385
393
  /**
386
394
  * The status of the payment is either <span pulumi-lang-nodejs="`succeeded`" pulumi-lang-dotnet="`Succeeded`" pulumi-lang-go="`succeeded`" pulumi-lang-python="`succeeded`" pulumi-lang-yaml="`succeeded`" pulumi-lang-java="`succeeded`" pulumi-lang-hcl="`succeeded`">`succeeded`</span>, <span pulumi-lang-nodejs="`pending`" pulumi-lang-dotnet="`Pending`" pulumi-lang-go="`pending`" pulumi-lang-python="`pending`" pulumi-lang-yaml="`pending`" pulumi-lang-java="`pending`" pulumi-lang-hcl="`pending`">`pending`</span>, or <span pulumi-lang-nodejs="`failed`" pulumi-lang-dotnet="`Failed`" pulumi-lang-go="`failed`" pulumi-lang-python="`failed`" pulumi-lang-yaml="`failed`" pulumi-lang-java="`failed`" pulumi-lang-hcl="`failed`">`failed`</span>.
387
395
  */
388
- status?: pulumi.Input<string>;
396
+ status?: pulumi.Input<string | undefined>;
389
397
  /**
390
398
  * ID of the transfer to the <span pulumi-lang-nodejs="`destination`" pulumi-lang-dotnet="`Destination`" pulumi-lang-go="`destination`" pulumi-lang-python="`destination`" pulumi-lang-yaml="`destination`" pulumi-lang-java="`destination`" pulumi-lang-hcl="`destination`">`destination`</span> account (only applicable if the charge was created using the <span pulumi-lang-nodejs="`destination`" pulumi-lang-dotnet="`Destination`" pulumi-lang-go="`destination`" pulumi-lang-python="`destination`" pulumi-lang-yaml="`destination`" pulumi-lang-java="`destination`" pulumi-lang-hcl="`destination`">`destination`</span> parameter).
391
399
  */
392
- transfer?: pulumi.Input<string>;
400
+ transfer?: pulumi.Input<string | undefined>;
393
401
  /**
394
402
  * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
395
403
  */
396
- transferData?: pulumi.Input<inputs.ChargeTransferData>;
404
+ transferData?: pulumi.Input<inputs.ChargeTransferData | undefined>;
397
405
  /**
398
406
  * A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
399
407
  */
400
- transferGroup?: pulumi.Input<string>;
408
+ transferGroup?: pulumi.Input<string | undefined>;
401
409
  }
402
410
  /**
403
411
  * The set of arguments for constructing a Charge resource.
@@ -406,83 +414,83 @@ export interface ChargeArgs {
406
414
  /**
407
415
  * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
408
416
  */
409
- amount?: pulumi.Input<number>;
417
+ amount?: pulumi.Input<number | undefined>;
410
418
  /**
411
419
  * The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
412
420
  */
413
- applicationFee?: pulumi.Input<number>;
421
+ applicationFee?: pulumi.Input<number | undefined>;
414
422
  /**
415
423
  * The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
416
424
  */
417
- applicationFeeAmount?: pulumi.Input<number>;
425
+ applicationFeeAmount?: pulumi.Input<number | undefined>;
418
426
  /**
419
427
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
420
- * Whether to immediately capture the charge. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. When <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://api.stripe.com#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://docs.stripe.com/charges/placing-a-hold) documentation.
428
+ * Whether to immediately capture the charge. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. When <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://docs.stripe.com/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://docs.stripe.com/charges/placing-a-hold) documentation.
421
429
  */
422
- capture?: pulumi.Input<boolean>;
430
+ capture?: pulumi.Input<boolean | undefined>;
423
431
  /**
424
432
  * 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).
425
433
  */
426
- currency?: pulumi.Input<string>;
434
+ currency?: pulumi.Input<string | undefined>;
427
435
  /**
428
436
  * ID of the customer this charge is for if one exists.
429
437
  */
430
- customer?: pulumi.Input<string>;
438
+ customer?: pulumi.Input<string | undefined>;
431
439
  /**
432
440
  * An arbitrary string attached to the object. Often useful for displaying to users.
433
441
  */
434
- description?: pulumi.Input<string>;
442
+ description?: pulumi.Input<string | undefined>;
435
443
  /**
436
444
  * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
437
445
  */
438
- destination?: pulumi.Input<inputs.ChargeDestination>;
446
+ destination?: pulumi.Input<inputs.ChargeDestination | undefined>;
439
447
  /**
440
448
  * Information on fraud assessments for the charge.
441
449
  */
442
- fraudDetails?: pulumi.Input<inputs.ChargeFraudDetails>;
450
+ fraudDetails?: pulumi.Input<inputs.ChargeFraudDetails | undefined>;
443
451
  /**
444
452
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
445
453
  */
446
454
  metadata?: pulumi.Input<{
447
455
  [key: string]: pulumi.Input<string>;
448
- }>;
456
+ } | undefined>;
449
457
  /**
450
458
  * The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
451
459
  */
452
- onBehalfOf?: pulumi.Input<string>;
460
+ onBehalfOf?: pulumi.Input<string | undefined>;
453
461
  /**
454
462
  * Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
455
463
  */
456
- radarOptions?: pulumi.Input<inputs.ChargeRadarOptions>;
464
+ radarOptions?: pulumi.Input<inputs.ChargeRadarOptions | undefined>;
457
465
  /**
458
466
  * This is the email address that the receipt for this charge was sent to.
459
467
  */
460
- receiptEmail?: pulumi.Input<string>;
468
+ receiptEmail?: pulumi.Input<string | undefined>;
461
469
  /**
462
470
  * Shipping information for the charge.
463
471
  */
464
- shipping?: pulumi.Input<inputs.ChargeShipping>;
472
+ shipping?: pulumi.Input<inputs.ChargeShipping | undefined>;
465
473
  /**
466
474
  * This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to <span pulumi-lang-nodejs="`paymentMethod`" pulumi-lang-dotnet="`PaymentMethod`" pulumi-lang-go="`paymentMethod`" pulumi-lang-python="`payment_method`" pulumi-lang-yaml="`paymentMethod`" pulumi-lang-java="`paymentMethod`" pulumi-lang-hcl="`payment_method`">`paymentMethod`</span> or <span pulumi-lang-nodejs="`paymentMethodDetails`" pulumi-lang-dotnet="`PaymentMethodDetails`" pulumi-lang-go="`paymentMethodDetails`" pulumi-lang-python="`payment_method_details`" pulumi-lang-yaml="`paymentMethodDetails`" pulumi-lang-java="`paymentMethodDetails`" pulumi-lang-hcl="`payment_method_details`">`paymentMethodDetails`</span> instead.
467
475
  */
468
- source?: pulumi.Input<string>;
476
+ source?: pulumi.Input<string | undefined>;
469
477
  /**
470
478
  * For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
471
479
  *
472
480
  * For a card charge, this value is ignored unless you don't specify a <span pulumi-lang-nodejs="`statementDescriptorSuffix`" pulumi-lang-dotnet="`StatementDescriptorSuffix`" pulumi-lang-go="`statementDescriptorSuffix`" pulumi-lang-python="`statement_descriptor_suffix`" pulumi-lang-yaml="`statementDescriptorSuffix`" pulumi-lang-java="`statementDescriptorSuffix`" pulumi-lang-hcl="`statement_descriptor_suffix`">`statementDescriptorSuffix`</span>, in which case this value is used as the suffix.
473
481
  */
474
- statementDescriptor?: pulumi.Input<string>;
482
+ statementDescriptor?: pulumi.Input<string | undefined>;
475
483
  /**
476
484
  * Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
477
485
  */
478
- statementDescriptorSuffix?: pulumi.Input<string>;
486
+ statementDescriptorSuffix?: pulumi.Input<string | undefined>;
479
487
  /**
480
488
  * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
481
489
  */
482
- transferData?: pulumi.Input<inputs.ChargeTransferData>;
490
+ transferData?: pulumi.Input<inputs.ChargeTransferData | undefined>;
483
491
  /**
484
492
  * A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
485
493
  */
486
- transferGroup?: pulumi.Input<string>;
494
+ transferGroup?: pulumi.Input<string | undefined>;
487
495
  }
488
496
  //# sourceMappingURL=charge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"charge.d.ts","sourceRoot":"","sources":["../charge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE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M,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD"}
package/bin/charge.js CHANGED
@@ -41,6 +41,16 @@ class Charge extends pulumi.CustomResource {
41
41
  static get(name, id, state, opts) {
42
42
  return new Charge(name, state, { ...opts, id: id });
43
43
  }
44
+ /**
45
+ * Check whether an existing Charge resource with the given ID exists.
46
+ *
47
+ * @param id The _unique_ provider ID of the resource to check.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static exists(id, state, opts) {
52
+ return pulumi.runtime.existsResource("stripe:index/charge:Charge", id, state || {}, { ...opts }, utilities.getPackage());
53
+ }
44
54
  /** @internal */
45
55
  static __pulumiType = 'stripe:index/charge:Charge';
46
56
  /**