@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/charge.js ADDED
@@ -0,0 +1,166 @@
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.Charge = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class Charge extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Charge 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 Charge(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'stripe:index/charge:Charge';
46
+ /**
47
+ * Returns true if the given object is an instance of Charge. 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'] === Charge.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["amount"] = state?.amount;
62
+ resourceInputs["amountCaptured"] = state?.amountCaptured;
63
+ resourceInputs["amountRefunded"] = state?.amountRefunded;
64
+ resourceInputs["application"] = state?.application;
65
+ resourceInputs["applicationFee"] = state?.applicationFee;
66
+ resourceInputs["applicationFeeAmount"] = state?.applicationFeeAmount;
67
+ resourceInputs["authorizationCode"] = state?.authorizationCode;
68
+ resourceInputs["balanceTransaction"] = state?.balanceTransaction;
69
+ resourceInputs["billingDetails"] = state?.billingDetails;
70
+ resourceInputs["calculatedStatementDescriptor"] = state?.calculatedStatementDescriptor;
71
+ resourceInputs["capture"] = state?.capture;
72
+ resourceInputs["captured"] = state?.captured;
73
+ resourceInputs["created"] = state?.created;
74
+ resourceInputs["currency"] = state?.currency;
75
+ resourceInputs["customer"] = state?.customer;
76
+ resourceInputs["description"] = state?.description;
77
+ resourceInputs["destination"] = state?.destination;
78
+ resourceInputs["disputed"] = state?.disputed;
79
+ resourceInputs["failureBalanceTransaction"] = state?.failureBalanceTransaction;
80
+ resourceInputs["failureCode"] = state?.failureCode;
81
+ resourceInputs["failureMessage"] = state?.failureMessage;
82
+ resourceInputs["fraudDetails"] = state?.fraudDetails;
83
+ resourceInputs["level3"] = state?.level3;
84
+ resourceInputs["livemode"] = state?.livemode;
85
+ resourceInputs["metadata"] = state?.metadata;
86
+ resourceInputs["object"] = state?.object;
87
+ resourceInputs["onBehalfOf"] = state?.onBehalfOf;
88
+ resourceInputs["outcome"] = state?.outcome;
89
+ resourceInputs["paid"] = state?.paid;
90
+ resourceInputs["paymentIntent"] = state?.paymentIntent;
91
+ resourceInputs["paymentMethod"] = state?.paymentMethod;
92
+ resourceInputs["paymentMethodDetails"] = state?.paymentMethodDetails;
93
+ resourceInputs["presentmentDetails"] = state?.presentmentDetails;
94
+ resourceInputs["radarOptions"] = state?.radarOptions;
95
+ resourceInputs["receiptEmail"] = state?.receiptEmail;
96
+ resourceInputs["receiptNumber"] = state?.receiptNumber;
97
+ resourceInputs["refunded"] = state?.refunded;
98
+ resourceInputs["review"] = state?.review;
99
+ resourceInputs["shipping"] = state?.shipping;
100
+ resourceInputs["source"] = state?.source;
101
+ resourceInputs["sourceTransfer"] = state?.sourceTransfer;
102
+ resourceInputs["statementDescriptor"] = state?.statementDescriptor;
103
+ resourceInputs["statementDescriptorSuffix"] = state?.statementDescriptorSuffix;
104
+ resourceInputs["status"] = state?.status;
105
+ resourceInputs["transfer"] = state?.transfer;
106
+ resourceInputs["transferData"] = state?.transferData;
107
+ resourceInputs["transferGroup"] = state?.transferGroup;
108
+ }
109
+ else {
110
+ const args = argsOrState;
111
+ resourceInputs["amount"] = args?.amount;
112
+ resourceInputs["applicationFee"] = args?.applicationFee;
113
+ resourceInputs["applicationFeeAmount"] = args?.applicationFeeAmount;
114
+ resourceInputs["capture"] = args?.capture ? pulumi.secret(args.capture) : undefined;
115
+ resourceInputs["currency"] = args?.currency;
116
+ resourceInputs["customer"] = args?.customer;
117
+ resourceInputs["description"] = args?.description;
118
+ resourceInputs["destination"] = args?.destination ? pulumi.secret(args.destination) : undefined;
119
+ resourceInputs["fraudDetails"] = args?.fraudDetails;
120
+ resourceInputs["metadata"] = args?.metadata;
121
+ resourceInputs["onBehalfOf"] = args?.onBehalfOf;
122
+ resourceInputs["radarOptions"] = args?.radarOptions;
123
+ resourceInputs["receiptEmail"] = args?.receiptEmail;
124
+ resourceInputs["shipping"] = args?.shipping;
125
+ resourceInputs["source"] = args?.source;
126
+ resourceInputs["statementDescriptor"] = args?.statementDescriptor;
127
+ resourceInputs["statementDescriptorSuffix"] = args?.statementDescriptorSuffix;
128
+ resourceInputs["transferData"] = args?.transferData;
129
+ resourceInputs["transferGroup"] = args?.transferGroup;
130
+ resourceInputs["amountCaptured"] = undefined /*out*/;
131
+ resourceInputs["amountRefunded"] = undefined /*out*/;
132
+ resourceInputs["application"] = undefined /*out*/;
133
+ resourceInputs["authorizationCode"] = undefined /*out*/;
134
+ resourceInputs["balanceTransaction"] = undefined /*out*/;
135
+ resourceInputs["billingDetails"] = undefined /*out*/;
136
+ resourceInputs["calculatedStatementDescriptor"] = undefined /*out*/;
137
+ resourceInputs["captured"] = undefined /*out*/;
138
+ resourceInputs["created"] = undefined /*out*/;
139
+ resourceInputs["disputed"] = undefined /*out*/;
140
+ resourceInputs["failureBalanceTransaction"] = undefined /*out*/;
141
+ resourceInputs["failureCode"] = undefined /*out*/;
142
+ resourceInputs["failureMessage"] = undefined /*out*/;
143
+ resourceInputs["level3"] = undefined /*out*/;
144
+ resourceInputs["livemode"] = undefined /*out*/;
145
+ resourceInputs["object"] = undefined /*out*/;
146
+ resourceInputs["outcome"] = undefined /*out*/;
147
+ resourceInputs["paid"] = undefined /*out*/;
148
+ resourceInputs["paymentIntent"] = undefined /*out*/;
149
+ resourceInputs["paymentMethod"] = undefined /*out*/;
150
+ resourceInputs["paymentMethodDetails"] = undefined /*out*/;
151
+ resourceInputs["presentmentDetails"] = undefined /*out*/;
152
+ resourceInputs["receiptNumber"] = undefined /*out*/;
153
+ resourceInputs["refunded"] = undefined /*out*/;
154
+ resourceInputs["review"] = undefined /*out*/;
155
+ resourceInputs["sourceTransfer"] = undefined /*out*/;
156
+ resourceInputs["status"] = undefined /*out*/;
157
+ resourceInputs["transfer"] = undefined /*out*/;
158
+ }
159
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
160
+ const secretOpts = { additionalSecretOutputs: ["capture", "destination"] };
161
+ opts = pulumi.mergeOptions(opts, secretOpts);
162
+ super(Charge.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
163
+ }
164
+ }
165
+ exports.Charge = Charge;
166
+ //# sourceMappingURL=charge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"charge.js","sourceRoot":"","sources":["../charge.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4BAA4B,CAAC;IAEnE;;;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,C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AC,OAAO,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACzG,CAAC;;AArUL,wBAsUC"}
@@ -0,0 +1,239 @@
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 ClimateOrder extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing ClimateOrder 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?: ClimateOrderState, opts?: pulumi.CustomResourceOptions): ClimateOrder;
15
+ /**
16
+ * Returns true if the given object is an instance of ClimateOrder. 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 ClimateOrder;
20
+ /**
21
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
22
+ * Requested amount of carbon removal units. Either this or <span pulumi-lang-nodejs="`metricTons`" pulumi-lang-dotnet="`MetricTons`" pulumi-lang-go="`metricTons`" pulumi-lang-python="`metric_tons`" pulumi-lang-yaml="`metricTons`" pulumi-lang-java="`metricTons`" pulumi-lang-hcl="`metric_tons`">`metricTons`</span> must be specified.
23
+ */
24
+ readonly amount: pulumi.Output<number | undefined>;
25
+ /**
26
+ * Total amount of [Frontier](https://frontierclimate.com/)'s service fees in the currency's smallest unit.
27
+ */
28
+ readonly amountFees: pulumi.Output<number>;
29
+ /**
30
+ * Total amount of the carbon removal in the currency's smallest unit.
31
+ */
32
+ readonly amountSubtotal: pulumi.Output<number>;
33
+ /**
34
+ * Total amount of the order including fees in the currency's smallest unit.
35
+ */
36
+ readonly amountTotal: pulumi.Output<number>;
37
+ readonly beneficiary: pulumi.Output<outputs.ClimateOrderBeneficiary>;
38
+ /**
39
+ * Time at which the order was canceled. Measured in seconds since the Unix epoch.
40
+ */
41
+ readonly canceledAt: pulumi.Output<number>;
42
+ /**
43
+ * Reason for the cancellation of this order.
44
+ */
45
+ readonly cancellationReason: pulumi.Output<string>;
46
+ /**
47
+ * For delivered orders, a URL to a delivery certificate for the order.
48
+ */
49
+ readonly certificate: pulumi.Output<string>;
50
+ /**
51
+ * Time at which the order was confirmed. Measured in seconds since the Unix epoch.
52
+ */
53
+ readonly confirmedAt: pulumi.Output<number>;
54
+ /**
55
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
56
+ */
57
+ readonly created: pulumi.Output<number>;
58
+ /**
59
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase, representing the currency for this order.
60
+ */
61
+ readonly currency: pulumi.Output<string>;
62
+ /**
63
+ * Time at which the order's<span pulumi-lang-nodejs=" expectedDeliveryYear " pulumi-lang-dotnet=" ExpectedDeliveryYear " pulumi-lang-go=" expectedDeliveryYear " pulumi-lang-python=" expected_delivery_year " pulumi-lang-yaml=" expectedDeliveryYear " pulumi-lang-java=" expectedDeliveryYear " pulumi-lang-hcl=" expected_delivery_year "> expectedDeliveryYear </span>was delayed. Measured in seconds since the Unix epoch.
64
+ */
65
+ readonly delayedAt: pulumi.Output<number>;
66
+ /**
67
+ * Time at which the order was delivered. Measured in seconds since the Unix epoch.
68
+ */
69
+ readonly deliveredAt: pulumi.Output<number>;
70
+ /**
71
+ * Details about the delivery of carbon removal for this order.
72
+ */
73
+ readonly deliveryDetails: pulumi.Output<outputs.ClimateOrderDeliveryDetail[]>;
74
+ /**
75
+ * The year this order is expected to be delivered.
76
+ */
77
+ readonly expectedDeliveryYear: pulumi.Output<number>;
78
+ /**
79
+ * Has the value <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 live mode or the value <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> if the object exists in test mode.
80
+ */
81
+ readonly livemode: pulumi.Output<boolean>;
82
+ /**
83
+ * 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.
84
+ */
85
+ readonly metadata: pulumi.Output<{
86
+ [key: string]: string;
87
+ }>;
88
+ /**
89
+ * Quantity of carbon removal that is included in this order.
90
+ */
91
+ readonly metricTons: pulumi.Output<number>;
92
+ /**
93
+ * String representing the object's type. Objects of the same type share the same value.
94
+ */
95
+ readonly object: pulumi.Output<string>;
96
+ /**
97
+ * Unique ID for the Climate `Product` this order is purchasing.
98
+ */
99
+ readonly product: pulumi.Output<string>;
100
+ /**
101
+ * Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch.
102
+ */
103
+ readonly productSubstitutedAt: pulumi.Output<number>;
104
+ /**
105
+ * The current status of this order.
106
+ */
107
+ readonly status: pulumi.Output<string>;
108
+ /**
109
+ * Create a ClimateOrder resource with the given unique name, arguments, and options.
110
+ *
111
+ * @param name The _unique_ name of the resource.
112
+ * @param args The arguments to use to populate this resource's properties.
113
+ * @param opts A bag of options that control this resource's behavior.
114
+ */
115
+ constructor(name: string, args: ClimateOrderArgs, opts?: pulumi.CustomResourceOptions);
116
+ }
117
+ /**
118
+ * Input properties used for looking up and filtering ClimateOrder resources.
119
+ */
120
+ export interface ClimateOrderState {
121
+ /**
122
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
123
+ * Requested amount of carbon removal units. Either this or <span pulumi-lang-nodejs="`metricTons`" pulumi-lang-dotnet="`MetricTons`" pulumi-lang-go="`metricTons`" pulumi-lang-python="`metric_tons`" pulumi-lang-yaml="`metricTons`" pulumi-lang-java="`metricTons`" pulumi-lang-hcl="`metric_tons`">`metricTons`</span> must be specified.
124
+ */
125
+ amount?: pulumi.Input<number>;
126
+ /**
127
+ * Total amount of [Frontier](https://frontierclimate.com/)'s service fees in the currency's smallest unit.
128
+ */
129
+ amountFees?: pulumi.Input<number>;
130
+ /**
131
+ * Total amount of the carbon removal in the currency's smallest unit.
132
+ */
133
+ amountSubtotal?: pulumi.Input<number>;
134
+ /**
135
+ * Total amount of the order including fees in the currency's smallest unit.
136
+ */
137
+ amountTotal?: pulumi.Input<number>;
138
+ beneficiary?: pulumi.Input<inputs.ClimateOrderBeneficiary>;
139
+ /**
140
+ * Time at which the order was canceled. Measured in seconds since the Unix epoch.
141
+ */
142
+ canceledAt?: pulumi.Input<number>;
143
+ /**
144
+ * Reason for the cancellation of this order.
145
+ */
146
+ cancellationReason?: pulumi.Input<string>;
147
+ /**
148
+ * For delivered orders, a URL to a delivery certificate for the order.
149
+ */
150
+ certificate?: pulumi.Input<string>;
151
+ /**
152
+ * Time at which the order was confirmed. Measured in seconds since the Unix epoch.
153
+ */
154
+ confirmedAt?: pulumi.Input<number>;
155
+ /**
156
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
157
+ */
158
+ created?: pulumi.Input<number>;
159
+ /**
160
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase, representing the currency for this order.
161
+ */
162
+ currency?: pulumi.Input<string>;
163
+ /**
164
+ * Time at which the order's<span pulumi-lang-nodejs=" expectedDeliveryYear " pulumi-lang-dotnet=" ExpectedDeliveryYear " pulumi-lang-go=" expectedDeliveryYear " pulumi-lang-python=" expected_delivery_year " pulumi-lang-yaml=" expectedDeliveryYear " pulumi-lang-java=" expectedDeliveryYear " pulumi-lang-hcl=" expected_delivery_year "> expectedDeliveryYear </span>was delayed. Measured in seconds since the Unix epoch.
165
+ */
166
+ delayedAt?: pulumi.Input<number>;
167
+ /**
168
+ * Time at which the order was delivered. Measured in seconds since the Unix epoch.
169
+ */
170
+ deliveredAt?: pulumi.Input<number>;
171
+ /**
172
+ * Details about the delivery of carbon removal for this order.
173
+ */
174
+ deliveryDetails?: pulumi.Input<pulumi.Input<inputs.ClimateOrderDeliveryDetail>[]>;
175
+ /**
176
+ * The year this order is expected to be delivered.
177
+ */
178
+ expectedDeliveryYear?: pulumi.Input<number>;
179
+ /**
180
+ * Has the value <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 live mode or the value <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> if the object exists in test mode.
181
+ */
182
+ livemode?: pulumi.Input<boolean>;
183
+ /**
184
+ * 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.
185
+ */
186
+ metadata?: pulumi.Input<{
187
+ [key: string]: pulumi.Input<string>;
188
+ }>;
189
+ /**
190
+ * Quantity of carbon removal that is included in this order.
191
+ */
192
+ metricTons?: pulumi.Input<number>;
193
+ /**
194
+ * String representing the object's type. Objects of the same type share the same value.
195
+ */
196
+ object?: pulumi.Input<string>;
197
+ /**
198
+ * Unique ID for the Climate `Product` this order is purchasing.
199
+ */
200
+ product?: pulumi.Input<string>;
201
+ /**
202
+ * Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch.
203
+ */
204
+ productSubstitutedAt?: pulumi.Input<number>;
205
+ /**
206
+ * The current status of this order.
207
+ */
208
+ status?: pulumi.Input<string>;
209
+ }
210
+ /**
211
+ * The set of arguments for constructing a ClimateOrder resource.
212
+ */
213
+ export interface ClimateOrderArgs {
214
+ /**
215
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
216
+ * Requested amount of carbon removal units. Either this or <span pulumi-lang-nodejs="`metricTons`" pulumi-lang-dotnet="`MetricTons`" pulumi-lang-go="`metricTons`" pulumi-lang-python="`metric_tons`" pulumi-lang-yaml="`metricTons`" pulumi-lang-java="`metricTons`" pulumi-lang-hcl="`metric_tons`">`metricTons`</span> must be specified.
217
+ */
218
+ amount?: pulumi.Input<number>;
219
+ beneficiary?: pulumi.Input<inputs.ClimateOrderBeneficiary>;
220
+ /**
221
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase, representing the currency for this order.
222
+ */
223
+ currency?: pulumi.Input<string>;
224
+ /**
225
+ * 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.
226
+ */
227
+ metadata?: pulumi.Input<{
228
+ [key: string]: pulumi.Input<string>;
229
+ }>;
230
+ /**
231
+ * Quantity of carbon removal that is included in this order.
232
+ */
233
+ metricTons?: pulumi.Input<number>;
234
+ /**
235
+ * Unique ID for the Climate `Product` this order is purchasing.
236
+ */
237
+ product: pulumi.Input<string>;
238
+ }
239
+ //# sourceMappingURL=climateOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"climateOrder.d.ts","sourceRoot":"","sources":["../climateOrder.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C,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
@@ -0,0 +1,119 @@
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.ClimateOrder = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class ClimateOrder extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing ClimateOrder 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 ClimateOrder(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'stripe:index/climateOrder:ClimateOrder';
46
+ /**
47
+ * Returns true if the given object is an instance of ClimateOrder. 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'] === ClimateOrder.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["amount"] = state?.amount;
62
+ resourceInputs["amountFees"] = state?.amountFees;
63
+ resourceInputs["amountSubtotal"] = state?.amountSubtotal;
64
+ resourceInputs["amountTotal"] = state?.amountTotal;
65
+ resourceInputs["beneficiary"] = state?.beneficiary;
66
+ resourceInputs["canceledAt"] = state?.canceledAt;
67
+ resourceInputs["cancellationReason"] = state?.cancellationReason;
68
+ resourceInputs["certificate"] = state?.certificate;
69
+ resourceInputs["confirmedAt"] = state?.confirmedAt;
70
+ resourceInputs["created"] = state?.created;
71
+ resourceInputs["currency"] = state?.currency;
72
+ resourceInputs["delayedAt"] = state?.delayedAt;
73
+ resourceInputs["deliveredAt"] = state?.deliveredAt;
74
+ resourceInputs["deliveryDetails"] = state?.deliveryDetails;
75
+ resourceInputs["expectedDeliveryYear"] = state?.expectedDeliveryYear;
76
+ resourceInputs["livemode"] = state?.livemode;
77
+ resourceInputs["metadata"] = state?.metadata;
78
+ resourceInputs["metricTons"] = state?.metricTons;
79
+ resourceInputs["object"] = state?.object;
80
+ resourceInputs["product"] = state?.product;
81
+ resourceInputs["productSubstitutedAt"] = state?.productSubstitutedAt;
82
+ resourceInputs["status"] = state?.status;
83
+ }
84
+ else {
85
+ const args = argsOrState;
86
+ if (args?.product === undefined && !opts.urn) {
87
+ throw new Error("Missing required property 'product'");
88
+ }
89
+ resourceInputs["amount"] = args?.amount ? pulumi.secret(args.amount) : undefined;
90
+ resourceInputs["beneficiary"] = args?.beneficiary;
91
+ resourceInputs["currency"] = args?.currency;
92
+ resourceInputs["metadata"] = args?.metadata;
93
+ resourceInputs["metricTons"] = args?.metricTons;
94
+ resourceInputs["product"] = args?.product;
95
+ resourceInputs["amountFees"] = undefined /*out*/;
96
+ resourceInputs["amountSubtotal"] = undefined /*out*/;
97
+ resourceInputs["amountTotal"] = undefined /*out*/;
98
+ resourceInputs["canceledAt"] = undefined /*out*/;
99
+ resourceInputs["cancellationReason"] = undefined /*out*/;
100
+ resourceInputs["certificate"] = undefined /*out*/;
101
+ resourceInputs["confirmedAt"] = undefined /*out*/;
102
+ resourceInputs["created"] = undefined /*out*/;
103
+ resourceInputs["delayedAt"] = undefined /*out*/;
104
+ resourceInputs["deliveredAt"] = undefined /*out*/;
105
+ resourceInputs["deliveryDetails"] = undefined /*out*/;
106
+ resourceInputs["expectedDeliveryYear"] = undefined /*out*/;
107
+ resourceInputs["livemode"] = undefined /*out*/;
108
+ resourceInputs["object"] = undefined /*out*/;
109
+ resourceInputs["productSubstitutedAt"] = undefined /*out*/;
110
+ resourceInputs["status"] = undefined /*out*/;
111
+ }
112
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
113
+ const secretOpts = { additionalSecretOutputs: ["amount"] };
114
+ opts = pulumi.mergeOptions(opts, secretOpts);
115
+ super(ClimateOrder.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
116
+ }
117
+ }
118
+ exports.ClimateOrder = ClimateOrder;
119
+ //# sourceMappingURL=climateOrder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"climateOrder.js","sourceRoot":"","sources":["../climateOrder.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2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E,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AAtLL,oCAuLC"}
@@ -0,0 +1,2 @@
1
+ export * from "./vars";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Stripe API key. Can also be set via the STRIPE_API_KEY environment variable.
3
+ */
4
+ export declare const apiKey: string | undefined;
5
+ /**
6
+ * Connected account context for Connect-scoped requests. Can also be set via the STRIPE_ACCOUNT environment variable.
7
+ */
8
+ export declare const stripeAccount: string | undefined;
9
+ //# sourceMappingURL=vars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC"}