@lshay-provider/stripe 0.0.0-stage → 0.3.0

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 (231) hide show
  1. package/README.md +3 -3
  2. package/bin/applePayDomain.d.ts +64 -0
  3. package/bin/applePayDomain.d.ts.map +1 -0
  4. package/bin/applePayDomain.js +81 -0
  5. package/bin/applePayDomain.js.map +1 -0
  6. package/bin/billingAlert.d.ts +99 -0
  7. package/bin/billingAlert.d.ts.map +1 -0
  8. package/bin/billingAlert.js +88 -0
  9. package/bin/billingAlert.js.map +1 -0
  10. package/bin/billingCreditGrant.d.ts +195 -0
  11. package/bin/billingCreditGrant.d.ts.map +1 -0
  12. package/bin/billingCreditGrant.js +108 -0
  13. package/bin/billingCreditGrant.js.map +1 -0
  14. package/bin/billingMeter.d.ts +126 -0
  15. package/bin/billingMeter.d.ts.map +1 -0
  16. package/bin/billingMeter.js +100 -0
  17. package/bin/billingMeter.js.map +1 -0
  18. package/bin/billingPortalConfiguration.d.ts +142 -0
  19. package/bin/billingPortalConfiguration.d.ts.map +1 -0
  20. package/bin/billingPortalConfiguration.js +97 -0
  21. package/bin/billingPortalConfiguration.js.map +1 -0
  22. package/bin/charge.d.ts +488 -0
  23. package/bin/charge.d.ts.map +1 -0
  24. package/bin/charge.js +166 -0
  25. package/bin/charge.js.map +1 -0
  26. package/bin/climateOrder.d.ts +239 -0
  27. package/bin/climateOrder.d.ts.map +1 -0
  28. package/bin/climateOrder.js +119 -0
  29. package/bin/climateOrder.js.map +1 -0
  30. package/bin/config/index.d.ts +2 -0
  31. package/bin/config/index.d.ts.map +1 -0
  32. package/bin/config/index.js +21 -0
  33. package/bin/config/index.js.map +1 -0
  34. package/bin/config/vars.d.ts +9 -0
  35. package/bin/config/vars.d.ts.map +1 -0
  36. package/bin/config/vars.js +42 -0
  37. package/bin/config/vars.js.map +1 -0
  38. package/bin/coupon.d.ts +208 -0
  39. package/bin/coupon.d.ts.map +1 -0
  40. package/bin/coupon.js +102 -0
  41. package/bin/coupon.js.map +1 -0
  42. package/bin/creditNote.d.ts +366 -0
  43. package/bin/creditNote.d.ts.map +1 -0
  44. package/bin/creditNote.js +141 -0
  45. package/bin/creditNote.js.map +1 -0
  46. package/bin/customer.d.ts +376 -0
  47. package/bin/customer.d.ts.map +1 -0
  48. package/bin/customer.js +134 -0
  49. package/bin/customer.js.map +1 -0
  50. package/bin/customerBalanceTransaction.d.ts +167 -0
  51. package/bin/customerBalanceTransaction.d.ts.map +1 -0
  52. package/bin/customerBalanceTransaction.js +105 -0
  53. package/bin/customerBalanceTransaction.js.map +1 -0
  54. package/bin/entitlementsFeature.d.ts +103 -0
  55. package/bin/entitlementsFeature.d.ts.map +1 -0
  56. package/bin/entitlementsFeature.js +85 -0
  57. package/bin/entitlementsFeature.js.map +1 -0
  58. package/bin/file.d.ts +145 -0
  59. package/bin/file.d.ts.map +1 -0
  60. package/bin/file.js +100 -0
  61. package/bin/file.js.map +1 -0
  62. package/bin/fileLink.d.ts +119 -0
  63. package/bin/fileLink.d.ts.map +1 -0
  64. package/bin/fileLink.js +89 -0
  65. package/bin/fileLink.js.map +1 -0
  66. package/bin/index.d.ts +152 -0
  67. package/bin/index.d.ts.map +1 -0
  68. package/bin/index.js +305 -0
  69. package/bin/index.js.map +1 -0
  70. package/bin/invoice.d.ts +785 -0
  71. package/bin/invoice.d.ts.map +1 -0
  72. package/bin/invoice.js +230 -0
  73. package/bin/invoice.js.map +1 -0
  74. package/bin/invoiceItem.d.ts +326 -0
  75. package/bin/invoiceItem.d.ts.map +1 -0
  76. package/bin/invoiceItem.js +122 -0
  77. package/bin/invoiceItem.js.map +1 -0
  78. package/bin/issuingCard.d.ts +305 -0
  79. package/bin/issuingCard.d.ts.map +1 -0
  80. package/bin/issuingCard.js +128 -0
  81. package/bin/issuingCard.js.map +1 -0
  82. package/bin/issuingCardholder.d.ts +197 -0
  83. package/bin/issuingCardholder.d.ts.map +1 -0
  84. package/bin/issuingCardholder.js +103 -0
  85. package/bin/issuingCardholder.js.map +1 -0
  86. package/bin/issuingDispute.d.ts +144 -0
  87. package/bin/issuingDispute.d.ts.map +1 -0
  88. package/bin/issuingDispute.js +92 -0
  89. package/bin/issuingDispute.js.map +1 -0
  90. package/bin/issuingPersonalizationDesign.d.ts +169 -0
  91. package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
  92. package/bin/issuingPersonalizationDesign.js +101 -0
  93. package/bin/issuingPersonalizationDesign.js.map +1 -0
  94. package/bin/package.json +35 -0
  95. package/bin/paymentIntent.d.ts +646 -0
  96. package/bin/paymentIntent.d.ts.map +1 -0
  97. package/bin/paymentIntent.js +180 -0
  98. package/bin/paymentIntent.js.map +1 -0
  99. package/bin/paymentLink.d.ts +407 -0
  100. package/bin/paymentLink.d.ts.map +1 -0
  101. package/bin/paymentLink.js +145 -0
  102. package/bin/paymentLink.js.map +1 -0
  103. package/bin/paymentMethod.d.ts +215 -0
  104. package/bin/paymentMethod.d.ts.map +1 -0
  105. package/bin/paymentMethod.js +138 -0
  106. package/bin/paymentMethod.js.map +1 -0
  107. package/bin/paymentMethodConfiguration.d.ts +296 -0
  108. package/bin/paymentMethodConfiguration.d.ts.map +1 -0
  109. package/bin/paymentMethodConfiguration.js +204 -0
  110. package/bin/paymentMethodConfiguration.js.map +1 -0
  111. package/bin/paymentMethodDomain.d.ts +135 -0
  112. package/bin/paymentMethodDomain.d.ts.map +1 -0
  113. package/bin/paymentMethodDomain.js +95 -0
  114. package/bin/paymentMethodDomain.js.map +1 -0
  115. package/bin/person.d.ts +410 -0
  116. package/bin/person.d.ts.map +1 -0
  117. package/bin/person.js +147 -0
  118. package/bin/person.js.map +1 -0
  119. package/bin/plan.d.ts +261 -0
  120. package/bin/plan.d.ts.map +1 -0
  121. package/bin/plan.js +114 -0
  122. package/bin/plan.js.map +1 -0
  123. package/bin/price.d.ts +296 -0
  124. package/bin/price.d.ts.map +1 -0
  125. package/bin/price.js +119 -0
  126. package/bin/price.js.map +1 -0
  127. package/bin/product.d.ts +253 -0
  128. package/bin/product.d.ts.map +1 -0
  129. package/bin/product.js +108 -0
  130. package/bin/product.js.map +1 -0
  131. package/bin/productFeature.d.ts +71 -0
  132. package/bin/productFeature.d.ts.map +1 -0
  133. package/bin/productFeature.js +84 -0
  134. package/bin/productFeature.js.map +1 -0
  135. package/bin/promotionCode.d.ts +167 -0
  136. package/bin/promotionCode.d.ts.map +1 -0
  137. package/bin/promotionCode.js +96 -0
  138. package/bin/promotionCode.js.map +1 -0
  139. package/bin/provider.d.ts +60 -0
  140. package/bin/provider.d.ts.map +1 -0
  141. package/bin/provider.js +80 -0
  142. package/bin/provider.js.map +1 -0
  143. package/bin/quote.d.ts +342 -0
  144. package/bin/quote.d.ts.map +1 -0
  145. package/bin/quote.js +134 -0
  146. package/bin/quote.js.map +1 -0
  147. package/bin/radarValueList.d.ts +123 -0
  148. package/bin/radarValueList.d.ts.map +1 -0
  149. package/bin/radarValueList.js +89 -0
  150. package/bin/radarValueList.js.map +1 -0
  151. package/bin/radarValueListItem.d.ts +93 -0
  152. package/bin/radarValueListItem.d.ts.map +1 -0
  153. package/bin/radarValueListItem.js +88 -0
  154. package/bin/radarValueListItem.js.map +1 -0
  155. package/bin/setupIntent.d.ts +476 -0
  156. package/bin/setupIntent.d.ts.map +1 -0
  157. package/bin/setupIntent.js +142 -0
  158. package/bin/setupIntent.js.map +1 -0
  159. package/bin/shippingRate.d.ts +156 -0
  160. package/bin/shippingRate.d.ts.map +1 -0
  161. package/bin/shippingRate.js +95 -0
  162. package/bin/shippingRate.js.map +1 -0
  163. package/bin/source.d.ts +295 -0
  164. package/bin/source.d.ts.map +1 -0
  165. package/bin/source.js +154 -0
  166. package/bin/source.js.map +1 -0
  167. package/bin/subscription.d.ts +634 -0
  168. package/bin/subscription.d.ts.map +1 -0
  169. package/bin/subscription.js +178 -0
  170. package/bin/subscription.js.map +1 -0
  171. package/bin/subscriptionItem.d.ts +277 -0
  172. package/bin/subscriptionItem.d.ts.map +1 -0
  173. package/bin/subscriptionItem.js +109 -0
  174. package/bin/subscriptionItem.js.map +1 -0
  175. package/bin/subscriptionSchedule.d.ts +243 -0
  176. package/bin/subscriptionSchedule.d.ts.map +1 -0
  177. package/bin/subscriptionSchedule.js +114 -0
  178. package/bin/subscriptionSchedule.js.map +1 -0
  179. package/bin/taxId.d.ts +131 -0
  180. package/bin/taxId.d.ts.map +1 -0
  181. package/bin/taxId.js +99 -0
  182. package/bin/taxId.js.map +1 -0
  183. package/bin/taxRate.d.ts +225 -0
  184. package/bin/taxRate.d.ts.map +1 -0
  185. package/bin/taxRate.js +113 -0
  186. package/bin/taxRate.js.map +1 -0
  187. package/bin/taxRegistration.d.ts +110 -0
  188. package/bin/taxRegistration.d.ts.map +1 -0
  189. package/bin/taxRegistration.js +95 -0
  190. package/bin/taxRegistration.js.map +1 -0
  191. package/bin/terminalConfiguration.d.ts +117 -0
  192. package/bin/terminalConfiguration.d.ts.map +1 -0
  193. package/bin/terminalConfiguration.js +106 -0
  194. package/bin/terminalConfiguration.js.map +1 -0
  195. package/bin/terminalLocation.d.ts +139 -0
  196. package/bin/terminalLocation.d.ts.map +1 -0
  197. package/bin/terminalLocation.js +90 -0
  198. package/bin/terminalLocation.js.map +1 -0
  199. package/bin/terminalReader.d.ts +160 -0
  200. package/bin/terminalReader.d.ts.map +1 -0
  201. package/bin/terminalReader.js +99 -0
  202. package/bin/terminalReader.js.map +1 -0
  203. package/bin/treasuryFinancialAccount.d.ts +195 -0
  204. package/bin/treasuryFinancialAccount.d.ts.map +1 -0
  205. package/bin/treasuryFinancialAccount.js +109 -0
  206. package/bin/treasuryFinancialAccount.js.map +1 -0
  207. package/bin/types/index.d.ts +4 -0
  208. package/bin/types/index.d.ts.map +1 -0
  209. package/bin/types/index.js +34 -0
  210. package/bin/types/index.js.map +1 -0
  211. package/bin/types/input.d.ts +16586 -0
  212. package/bin/types/input.d.ts.map +1 -0
  213. package/bin/types/input.js +5 -0
  214. package/bin/types/input.js.map +1 -0
  215. package/bin/types/output.d.ts +16585 -0
  216. package/bin/types/output.d.ts.map +1 -0
  217. package/bin/types/output.js +5 -0
  218. package/bin/types/output.js.map +1 -0
  219. package/bin/utilities.d.ts +6 -0
  220. package/bin/utilities.d.ts.map +1 -0
  221. package/bin/utilities.js +152 -0
  222. package/bin/utilities.js.map +1 -0
  223. package/bin/v2coreEventDestination.d.ts +252 -0
  224. package/bin/v2coreEventDestination.d.ts.map +1 -0
  225. package/bin/v2coreEventDestination.js +117 -0
  226. package/bin/v2coreEventDestination.js.map +1 -0
  227. package/bin/webhookEndpoint.d.ts +163 -0
  228. package/bin/webhookEndpoint.d.ts.map +1 -0
  229. package/bin/webhookEndpoint.js +102 -0
  230. package/bin/webhookEndpoint.js.map +1 -0
  231. package/package.json +32 -3
package/bin/file.d.ts ADDED
@@ -0,0 +1,145 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class File extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing File resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileState, opts?: pulumi.CustomResourceOptions): File;
15
+ /**
16
+ * Returns true if the given object is an instance of File. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is File;
20
+ /**
21
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
22
+ */
23
+ readonly created: pulumi.Output<number>;
24
+ /**
25
+ * The file expires and isn't available at this time in epoch seconds.
26
+ */
27
+ readonly expiresAt: pulumi.Output<number>;
28
+ /**
29
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
30
+ * A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.
31
+ */
32
+ readonly file: pulumi.Output<string>;
33
+ /**
34
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
35
+ * Optional parameters that automatically create a [file link](https://api.stripe.com#file_links) for the newly created file.
36
+ */
37
+ readonly fileLinkData: pulumi.Output<outputs.FileFileLinkData | undefined>;
38
+ /**
39
+ * The suitable name for saving the file to a filesystem.
40
+ */
41
+ readonly filename: pulumi.Output<string>;
42
+ /**
43
+ * String representing the object's type. Objects of the same type share the same value.
44
+ */
45
+ readonly object: pulumi.Output<string>;
46
+ /**
47
+ * The [purpose](https://docs.stripe.com/file-upload#uploading-a-file) of the uploaded file.
48
+ */
49
+ readonly purpose: pulumi.Output<string>;
50
+ /**
51
+ * The size of the file object in bytes.
52
+ */
53
+ readonly size: pulumi.Output<number>;
54
+ /**
55
+ * A suitable title for the document.
56
+ */
57
+ readonly title: pulumi.Output<string>;
58
+ /**
59
+ * The returned file type (for example, <span pulumi-lang-nodejs="`csv`" pulumi-lang-dotnet="`Csv`" pulumi-lang-go="`csv`" pulumi-lang-python="`csv`" pulumi-lang-yaml="`csv`" pulumi-lang-java="`csv`" pulumi-lang-hcl="`csv`">`csv`</span>, <span pulumi-lang-nodejs="`pdf`" pulumi-lang-dotnet="`Pdf`" pulumi-lang-go="`pdf`" pulumi-lang-python="`pdf`" pulumi-lang-yaml="`pdf`" pulumi-lang-java="`pdf`" pulumi-lang-hcl="`pdf`">`pdf`</span>, <span pulumi-lang-nodejs="`jpg`" pulumi-lang-dotnet="`Jpg`" pulumi-lang-go="`jpg`" pulumi-lang-python="`jpg`" pulumi-lang-yaml="`jpg`" pulumi-lang-java="`jpg`" pulumi-lang-hcl="`jpg`">`jpg`</span>, or <span pulumi-lang-nodejs="`png`" pulumi-lang-dotnet="`Png`" pulumi-lang-go="`png`" pulumi-lang-python="`png`" pulumi-lang-yaml="`png`" pulumi-lang-java="`png`" pulumi-lang-hcl="`png`">`png`</span>).
60
+ */
61
+ readonly type: pulumi.Output<string>;
62
+ /**
63
+ * Use your live secret API key to download the file from this URL.
64
+ */
65
+ readonly url: pulumi.Output<string>;
66
+ /**
67
+ * Create a File resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: FileArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering File resources.
77
+ */
78
+ export interface FileState {
79
+ /**
80
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
81
+ */
82
+ created?: pulumi.Input<number>;
83
+ /**
84
+ * The file expires and isn't available at this time in epoch seconds.
85
+ */
86
+ expiresAt?: pulumi.Input<number>;
87
+ /**
88
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
89
+ * A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.
90
+ */
91
+ file?: pulumi.Input<string>;
92
+ /**
93
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
94
+ * Optional parameters that automatically create a [file link](https://api.stripe.com#file_links) for the newly created file.
95
+ */
96
+ fileLinkData?: pulumi.Input<inputs.FileFileLinkData>;
97
+ /**
98
+ * The suitable name for saving the file to a filesystem.
99
+ */
100
+ filename?: pulumi.Input<string>;
101
+ /**
102
+ * String representing the object's type. Objects of the same type share the same value.
103
+ */
104
+ object?: pulumi.Input<string>;
105
+ /**
106
+ * The [purpose](https://docs.stripe.com/file-upload#uploading-a-file) of the uploaded file.
107
+ */
108
+ purpose?: pulumi.Input<string>;
109
+ /**
110
+ * The size of the file object in bytes.
111
+ */
112
+ size?: pulumi.Input<number>;
113
+ /**
114
+ * A suitable title for the document.
115
+ */
116
+ title?: pulumi.Input<string>;
117
+ /**
118
+ * The returned file type (for example, <span pulumi-lang-nodejs="`csv`" pulumi-lang-dotnet="`Csv`" pulumi-lang-go="`csv`" pulumi-lang-python="`csv`" pulumi-lang-yaml="`csv`" pulumi-lang-java="`csv`" pulumi-lang-hcl="`csv`">`csv`</span>, <span pulumi-lang-nodejs="`pdf`" pulumi-lang-dotnet="`Pdf`" pulumi-lang-go="`pdf`" pulumi-lang-python="`pdf`" pulumi-lang-yaml="`pdf`" pulumi-lang-java="`pdf`" pulumi-lang-hcl="`pdf`">`pdf`</span>, <span pulumi-lang-nodejs="`jpg`" pulumi-lang-dotnet="`Jpg`" pulumi-lang-go="`jpg`" pulumi-lang-python="`jpg`" pulumi-lang-yaml="`jpg`" pulumi-lang-java="`jpg`" pulumi-lang-hcl="`jpg`">`jpg`</span>, or <span pulumi-lang-nodejs="`png`" pulumi-lang-dotnet="`Png`" pulumi-lang-go="`png`" pulumi-lang-python="`png`" pulumi-lang-yaml="`png`" pulumi-lang-java="`png`" pulumi-lang-hcl="`png`">`png`</span>).
119
+ */
120
+ type?: pulumi.Input<string>;
121
+ /**
122
+ * Use your live secret API key to download the file from this URL.
123
+ */
124
+ url?: pulumi.Input<string>;
125
+ }
126
+ /**
127
+ * The set of arguments for constructing a File resource.
128
+ */
129
+ export interface FileArgs {
130
+ /**
131
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
132
+ * A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.
133
+ */
134
+ file: pulumi.Input<string>;
135
+ /**
136
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
137
+ * Optional parameters that automatically create a [file link](https://api.stripe.com#file_links) for the newly created file.
138
+ */
139
+ fileLinkData?: pulumi.Input<inputs.FileFileLinkData>;
140
+ /**
141
+ * The [purpose](https://docs.stripe.com/file-upload#uploading-a-file) of the uploaded file.
142
+ */
143
+ purpose: pulumi.Input<string>;
144
+ }
145
+ //# sourceMappingURL=file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../file.ts"],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,QAAQ;IACrB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACrD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
package/bin/file.js ADDED
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.File = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class File extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing File resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new File(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'stripe:index/file:File';
46
+ /**
47
+ * Returns true if the given object is an instance of File. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === File.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["created"] = state?.created;
62
+ resourceInputs["expiresAt"] = state?.expiresAt;
63
+ resourceInputs["file"] = state?.file;
64
+ resourceInputs["fileLinkData"] = state?.fileLinkData;
65
+ resourceInputs["filename"] = state?.filename;
66
+ resourceInputs["object"] = state?.object;
67
+ resourceInputs["purpose"] = state?.purpose;
68
+ resourceInputs["size"] = state?.size;
69
+ resourceInputs["title"] = state?.title;
70
+ resourceInputs["type"] = state?.type;
71
+ resourceInputs["url"] = state?.url;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if (args?.file === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'file'");
77
+ }
78
+ if (args?.purpose === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'purpose'");
80
+ }
81
+ resourceInputs["file"] = args?.file ? pulumi.secret(args.file) : undefined;
82
+ resourceInputs["fileLinkData"] = args?.fileLinkData ? pulumi.secret(args.fileLinkData) : undefined;
83
+ resourceInputs["purpose"] = args?.purpose;
84
+ resourceInputs["created"] = undefined /*out*/;
85
+ resourceInputs["expiresAt"] = undefined /*out*/;
86
+ resourceInputs["filename"] = undefined /*out*/;
87
+ resourceInputs["object"] = undefined /*out*/;
88
+ resourceInputs["size"] = undefined /*out*/;
89
+ resourceInputs["title"] = undefined /*out*/;
90
+ resourceInputs["type"] = undefined /*out*/;
91
+ resourceInputs["url"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ const secretOpts = { additionalSecretOutputs: ["file", "fileLinkData"] };
95
+ opts = pulumi.mergeOptions(opts, secretOpts);
96
+ super(File.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
97
+ }
98
+ }
99
+ exports.File = File;
100
+ //# sourceMappingURL=file.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.js","sourceRoot":"","sources":["../file.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wBAAwB,CAAC;IAE/D;;;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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAyDD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,C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AI,EAAE,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnG,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACvG,CAAC;;AA3HL,oBA4HC"}
@@ -0,0 +1,119 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class FileLink extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing FileLink resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileLinkState, opts?: pulumi.CustomResourceOptions): FileLink;
13
+ /**
14
+ * Returns true if the given object is an instance of FileLink. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is FileLink;
18
+ /**
19
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
20
+ */
21
+ readonly created: pulumi.Output<number>;
22
+ /**
23
+ * Returns if the link is already expired.
24
+ */
25
+ readonly expired: pulumi.Output<boolean>;
26
+ /**
27
+ * Time that the link expires.
28
+ */
29
+ readonly expiresAt: pulumi.Output<number>;
30
+ /**
31
+ * The file object this link points to.
32
+ */
33
+ readonly file: pulumi.Output<string>;
34
+ /**
35
+ * 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>.
36
+ */
37
+ readonly livemode: pulumi.Output<boolean>;
38
+ /**
39
+ * 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.
40
+ */
41
+ readonly metadata: pulumi.Output<{
42
+ [key: string]: string;
43
+ }>;
44
+ /**
45
+ * String representing the object's type. Objects of the same type share the same value.
46
+ */
47
+ readonly object: pulumi.Output<string>;
48
+ /**
49
+ * The publicly accessible URL to download the file.
50
+ */
51
+ readonly url: pulumi.Output<string>;
52
+ /**
53
+ * Create a FileLink resource with the given unique name, arguments, and options.
54
+ *
55
+ * @param name The _unique_ name of the resource.
56
+ * @param args The arguments to use to populate this resource's properties.
57
+ * @param opts A bag of options that control this resource's behavior.
58
+ */
59
+ constructor(name: string, args: FileLinkArgs, opts?: pulumi.CustomResourceOptions);
60
+ }
61
+ /**
62
+ * Input properties used for looking up and filtering FileLink resources.
63
+ */
64
+ export interface FileLinkState {
65
+ /**
66
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
67
+ */
68
+ created?: pulumi.Input<number>;
69
+ /**
70
+ * Returns if the link is already expired.
71
+ */
72
+ expired?: pulumi.Input<boolean>;
73
+ /**
74
+ * Time that the link expires.
75
+ */
76
+ expiresAt?: pulumi.Input<number>;
77
+ /**
78
+ * The file object this link points to.
79
+ */
80
+ file?: pulumi.Input<string>;
81
+ /**
82
+ * 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>.
83
+ */
84
+ livemode?: pulumi.Input<boolean>;
85
+ /**
86
+ * 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.
87
+ */
88
+ metadata?: pulumi.Input<{
89
+ [key: string]: pulumi.Input<string>;
90
+ }>;
91
+ /**
92
+ * String representing the object's type. Objects of the same type share the same value.
93
+ */
94
+ object?: pulumi.Input<string>;
95
+ /**
96
+ * The publicly accessible URL to download the file.
97
+ */
98
+ url?: pulumi.Input<string>;
99
+ }
100
+ /**
101
+ * The set of arguments for constructing a FileLink resource.
102
+ */
103
+ export interface FileLinkArgs {
104
+ /**
105
+ * Time that the link expires.
106
+ */
107
+ expiresAt?: pulumi.Input<number>;
108
+ /**
109
+ * The file object this link points to.
110
+ */
111
+ file: pulumi.Input<string>;
112
+ /**
113
+ * 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.
114
+ */
115
+ metadata?: pulumi.Input<{
116
+ [key: string]: pulumi.Input<string>;
117
+ }>;
118
+ }
119
+ //# sourceMappingURL=fileLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileLink.d.ts","sourceRoot":"","sources":["../fileLink.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,QAAQ;IAOlI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,QAAQ,E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AAC,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,CAAC,CAAC;CAClE"}
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.FileLink = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class FileLink extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing FileLink resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new FileLink(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'stripe:index/fileLink:FileLink';
46
+ /**
47
+ * Returns true if the given object is an instance of FileLink. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === FileLink.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["created"] = state?.created;
62
+ resourceInputs["expired"] = state?.expired;
63
+ resourceInputs["expiresAt"] = state?.expiresAt;
64
+ resourceInputs["file"] = state?.file;
65
+ resourceInputs["livemode"] = state?.livemode;
66
+ resourceInputs["metadata"] = state?.metadata;
67
+ resourceInputs["object"] = state?.object;
68
+ resourceInputs["url"] = state?.url;
69
+ }
70
+ else {
71
+ const args = argsOrState;
72
+ if (args?.file === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'file'");
74
+ }
75
+ resourceInputs["expiresAt"] = args?.expiresAt;
76
+ resourceInputs["file"] = args?.file;
77
+ resourceInputs["metadata"] = args?.metadata;
78
+ resourceInputs["created"] = undefined /*out*/;
79
+ resourceInputs["expired"] = undefined /*out*/;
80
+ resourceInputs["livemode"] = undefined /*out*/;
81
+ resourceInputs["object"] = undefined /*out*/;
82
+ resourceInputs["url"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ super(FileLink.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
86
+ }
87
+ }
88
+ exports.FileLink = FileLink;
89
+ //# s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type ApplePayDomain = import("./applePayDomain").ApplePayDomain;
3
+ export declare const ApplePayDomain: typeof import("./applePayDomain").ApplePayDomain;
4
+ export { BillingAlertArgs, BillingAlertState } from "./billingAlert";
5
+ export type BillingAlert = import("./billingAlert").BillingAlert;
6
+ export declare const BillingAlert: typeof import("./billingAlert").BillingAlert;
7
+ export { BillingCreditGrantArgs, BillingCreditGrantState } from "./billingCreditGrant";
8
+ export type BillingCreditGrant = import("./billingCreditGrant").BillingCreditGrant;
9
+ export declare const BillingCreditGrant: typeof import("./billingCreditGrant").BillingCreditGrant;
10
+ export { BillingMeterArgs, BillingMeterState } from "./billingMeter";
11
+ export type BillingMeter = import("./billingMeter").BillingMeter;
12
+ export declare const BillingMeter: typeof import("./billingMeter").BillingMeter;
13
+ export { BillingPortalConfigurationArgs, BillingPortalConfigurationState } from "./billingPortalConfiguration";
14
+ export type BillingPortalConfiguration = import("./billingPortalConfiguration").BillingPortalConfiguration;
15
+ export declare const BillingPortalConfiguration: typeof import("./billingPortalConfiguration").BillingPortalConfiguration;
16
+ export { ChargeArgs, ChargeState } from "./charge";
17
+ export type Charge = import("./charge").Charge;
18
+ export declare const Charge: typeof import("./charge").Charge;
19
+ export { ClimateOrderArgs, ClimateOrderState } from "./climateOrder";
20
+ export type ClimateOrder = import("./climateOrder").ClimateOrder;
21
+ export declare const ClimateOrder: typeof import("./climateOrder").ClimateOrder;
22
+ export { CouponArgs, CouponState } from "./coupon";
23
+ export type Coupon = import("./coupon").Coupon;
24
+ export declare const Coupon: typeof import("./coupon").Coupon;
25
+ export { CreditNoteArgs, CreditNoteState } from "./creditNote";
26
+ export type CreditNote = import("./creditNote").CreditNote;
27
+ export declare const CreditNote: typeof import("./creditNote").CreditNote;
28
+ export { CustomerArgs, CustomerState } from "./customer";
29
+ export type Customer = import("./customer").Customer;
30
+ export declare const Customer: typeof import("./customer").Customer;
31
+ export { CustomerBalanceTransactionArgs, CustomerBalanceTransactionState } from "./customerBalanceTransaction";
32
+ export type CustomerBalanceTransaction = import("./customerBalanceTransaction").CustomerBalanceTransaction;
33
+ export declare const CustomerBalanceTransaction: typeof import("./customerBalanceTransaction").CustomerBalanceTransaction;
34
+ export { EntitlementsFeatureArgs, EntitlementsFeatureState } from "./entitlementsFeature";
35
+ export type EntitlementsFeature = import("./entitlementsFeature").EntitlementsFeature;
36
+ export declare const EntitlementsFeature: typeof import("./entitlementsFeature").EntitlementsFeature;
37
+ export { FileArgs, FileState } from "./file";
38
+ export type File = import("./file").File;
39
+ export declare const File: typeof import("./file").File;
40
+ export { FileLinkArgs, FileLinkState } from "./fileLink";
41
+ export type FileLink = import("./fileLink").FileLink;
42
+ export declare const FileLink: typeof import("./fileLink").FileLink;
43
+ export { InvoiceArgs, InvoiceState } from "./invoice";
44
+ export type Invoice = import("./invoice").Invoice;
45
+ export declare const Invoice: typeof import("./invoice").Invoice;
46
+ export { InvoiceItemArgs, InvoiceItemState } from "./invoiceItem";
47
+ export type InvoiceItem = import("./invoiceItem").InvoiceItem;
48
+ export declare const InvoiceItem: typeof import("./invoiceItem").InvoiceItem;
49
+ export { IssuingCardArgs, IssuingCardState } from "./issuingCard";
50
+ export type IssuingCard = import("./issuingCard").IssuingCard;
51
+ export declare const IssuingCard: typeof import("./issuingCard").IssuingCard;
52
+ export { IssuingCardholderArgs, IssuingCardholderState } from "./issuingCardholder";
53
+ export type IssuingCardholder = import("./issuingCardholder").IssuingCardholder;
54
+ export declare const IssuingCardholder: typeof import("./issuingCardholder").IssuingCardholder;
55
+ export { IssuingDisputeArgs, IssuingDisputeState } from "./issuingDispute";
56
+ export type IssuingDispute = import("./issuingDispute").IssuingDispute;
57
+ export declare const IssuingDispute: typeof import("./issuingDispute").IssuingDispute;
58
+ export { IssuingPersonalizationDesignArgs, IssuingPersonalizationDesignState } from "./issuingPersonalizationDesign";
59
+ export type IssuingPersonalizationDesign = import("./issuingPersonalizationDesign").IssuingPersonalizationDesign;
60
+ export declare const IssuingPersonalizationDesign: typeof import("./issuingPersonalizationDesign").IssuingPersonalizationDesign;
61
+ export { PaymentIntentArgs, PaymentIntentState } from "./paymentIntent";
62
+ export type PaymentIntent = import("./paymentIntent").PaymentIntent;
63
+ export declare const PaymentIntent: typeof import("./paymentIntent").PaymentIntent;
64
+ export { PaymentLinkArgs, PaymentLinkState } from "./paymentLink";
65
+ export type PaymentLink = import("./paymentLink").PaymentLink;
66
+ export declare const PaymentLink: typeof import("./paymentLink").PaymentLink;
67
+ export { PaymentMethodArgs, PaymentMethodState } from "./paymentMethod";
68
+ export type PaymentMethod = import("./paymentMethod").PaymentMethod;
69
+ export declare const PaymentMethod: typeof import("./paymentMethod").PaymentMethod;
70
+ export { PaymentMethodConfigurationArgs, PaymentMethodConfigurationState } from "./paymentMethodConfiguration";
71
+ export type PaymentMethodConfiguration = import("./paymentMethodConfiguration").PaymentMethodConfiguration;
72
+ export declare const PaymentMethodConfiguration: typeof import("./paymentMethodConfiguration").PaymentMethodConfiguration;
73
+ export { PaymentMethodDomainArgs, PaymentMethodDomainState } from "./paymentMethodDomain";
74
+ export type PaymentMethodDomain = import("./paymentMethodDomain").PaymentMethodDomain;
75
+ export declare const PaymentMethodDomain: typeof import("./paymentMethodDomain").PaymentMethodDomain;
76
+ export { PersonArgs, PersonState } from "./person";
77
+ export type Person = import("./person").Person;
78
+ export declare const Person: typeof import("./person").Person;
79
+ export { PlanArgs, PlanState } from "./plan";
80
+ export type Plan = import("./plan").Plan;
81
+ export declare const Plan: typeof import("./plan").Plan;
82
+ export { PriceArgs, PriceState } from "./price";
83
+ export type Price = import("./price").Price;
84
+ export declare const Price: typeof import("./price").Price;
85
+ export { ProductArgs, ProductState } from "./product";
86
+ export type Product = import("./product").Product;
87
+ export declare const Product: typeof import("./product").Product;
88
+ export { ProductFeatureArgs, ProductFeatureState } from "./productFeature";
89
+ export type ProductFeature = import("./productFeature").ProductFeature;
90
+ export declare const ProductFeature: typeof import("./productFeature").ProductFeature;
91
+ export { PromotionCodeArgs, PromotionCodeState } from "./promotionCode";
92
+ export type PromotionCode = import("./promotionCode").PromotionCode;
93
+ export declare const PromotionCode: typeof import("./promotionCode").PromotionCode;
94
+ export * from "./provider";
95
+ export { QuoteArgs, QuoteState } from "./quote";
96
+ export type Quote = import("./quote").Quote;
97
+ export declare const Quote: typeof import("./quote").Quote;
98
+ export { RadarValueListArgs, RadarValueListState } from "./radarValueList";
99
+ export type RadarValueList = import("./radarValueList").RadarValueList;
100
+ export declare const RadarValueList: typeof import("./radarValueList").RadarValueList;
101
+ export { RadarValueListItemArgs, RadarValueListItemState } from "./radarValueListItem";
102
+ export type RadarValueListItem = import("./radarValueListItem").RadarValueListItem;
103
+ export declare const RadarValueListItem: typeof import("./radarValueListItem").RadarValueListItem;
104
+ export { SetupIntentArgs, SetupIntentState } from "./setupIntent";
105
+ export type SetupIntent = import("./setupIntent").SetupIntent;
106
+ export declare const SetupIntent: typeof import("./setupIntent").SetupIntent;
107
+ export { ShippingRateArgs, ShippingRateState } from "./shippingRate";
108
+ export type ShippingRate = import("./shippingRate").ShippingRate;
109
+ export declare const ShippingRate: typeof import("./shippingRate").ShippingRate;
110
+ export { SourceArgs, SourceState } from "./source";
111
+ export type Source = import("./source").Source;
112
+ export declare const Source: typeof import("./source").Source;
113
+ export { SubscriptionArgs, SubscriptionState } from "./subscription";
114
+ export type Subscription = import("./subscription").Subscription;
115
+ export declare const Subscription: typeof import("./subscription").Subscription;
116
+ export { SubscriptionItemArgs, SubscriptionItemState } from "./subscriptionItem";
117
+ export type SubscriptionItem = import("./subscriptionItem").SubscriptionItem;
118
+ export declare const SubscriptionItem: typeof import("./subscriptionItem").SubscriptionItem;
119
+ export { SubscriptionScheduleArgs, SubscriptionScheduleState } from "./subscriptionSchedule";
120
+ export type SubscriptionSchedule = import("./subscriptionSchedule").SubscriptionSchedule;
121
+ export declare const SubscriptionSchedule: typeof import("./subscriptionSchedule").SubscriptionSchedule;
122
+ export { TaxIdArgs, TaxIdState } from "./taxId";
123
+ export type TaxId = import("./taxId").TaxId;
124
+ export declare const TaxId: typeof import("./taxId").TaxId;
125
+ export { TaxRateArgs, TaxRateState } from "./taxRate";
126
+ export type TaxRate = import("./taxRate").TaxRate;
127
+ export declare const TaxRate: typeof import("./taxRate").TaxRate;
128
+ export { TaxRegistrationArgs, TaxRegistrationState } from "./taxRegistration";
129
+ export type TaxRegistration = import("./taxRegistration").TaxRegistration;
130
+ export declare const TaxRegistration: typeof import("./taxRegistration").TaxRegistration;
131
+ export { TerminalConfigurationArgs, TerminalConfigurationState } from "./terminalConfiguration";
132
+ export type TerminalConfiguration = import("./terminalConfiguration").TerminalConfiguration;
133
+ export declare const TerminalConfiguration: typeof import("./terminalConfiguration").TerminalConfiguration;
134
+ export { TerminalLocationArgs, TerminalLocationState } from "./terminalLocation";
135
+ export type TerminalLocation = import("./terminalLocation").TerminalLocation;
136
+ export declare const TerminalLocation: typeof import("./terminalLocation").TerminalLocation;
137
+ export { TerminalReaderArgs, TerminalReaderState } from "./terminalReader";
138
+ export type TerminalReader = import("./terminalReader").TerminalReader;
139
+ export declare const TerminalReader: typeof import("./terminalReader").TerminalReader;
140
+ export { TreasuryFinancialAccountArgs, TreasuryFinancialAccountState } from "./treasuryFinancialAccount";
141
+ export type TreasuryFinancialAccount = import("./treasuryFinancialAccount").TreasuryFinancialAccount;
142
+ export declare const TreasuryFinancialAccount: typeof import("./treasuryFinancialAccount").TreasuryFinancialAccount;
143
+ export { V2CoreEventDestinationArgs, V2CoreEventDestinationState } from "./v2coreEventDestination";
144
+ export type V2CoreEventDestination = import("./v2coreEventDestination").V2CoreEventDestination;
145
+ export declare const V2CoreEventDestination: typeof import("./v2coreEventDestination").V2CoreEventDestination;
146
+ export { WebhookEndpointArgs, WebhookEndpointState } from "./webhookEndpoint";
147
+ export type WebhookEndpoint = import("./webhookEndpoint").WebhookEndpoint;
148
+ export declare const WebhookEndpoint: typeof import("./webhookEndpoint").WebhookEndpoint;
149
+ import * as config from "./config";
150
+ import * as types from "./types";
151
+ export { config, types, };
152
+ //# sourceMappingURL=index.d.ts.map