@lshay-provider/stripe 0.0.0-stage → 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 (283) hide show
  1. package/README.md +3 -3
  2. package/bin/applePayDomain.d.ts +72 -0
  3. package/bin/applePayDomain.d.ts.map +1 -0
  4. package/bin/applePayDomain.js +91 -0
  5. package/bin/applePayDomain.js.map +1 -0
  6. package/bin/appsInstall.d.ts +201 -0
  7. package/bin/appsInstall.d.ts.map +1 -0
  8. package/bin/appsInstall.js +121 -0
  9. package/bin/appsInstall.js.map +1 -0
  10. package/bin/billingAlert.d.ts +107 -0
  11. package/bin/billingAlert.d.ts.map +1 -0
  12. package/bin/billingAlert.js +98 -0
  13. package/bin/billingAlert.js.map +1 -0
  14. package/bin/billingCreditGrant.d.ts +203 -0
  15. package/bin/billingCreditGrant.d.ts.map +1 -0
  16. package/bin/billingCreditGrant.js +118 -0
  17. package/bin/billingCreditGrant.js.map +1 -0
  18. package/bin/billingFeedbackOption.d.ts +85 -0
  19. package/bin/billingFeedbackOption.d.ts.map +1 -0
  20. package/bin/billingFeedbackOption.js +93 -0
  21. package/bin/billingFeedbackOption.js.map +1 -0
  22. package/bin/billingMeter.d.ts +134 -0
  23. package/bin/billingMeter.d.ts.map +1 -0
  24. package/bin/billingMeter.js +110 -0
  25. package/bin/billingMeter.js.map +1 -0
  26. package/bin/billingPortalConfiguration.d.ts +150 -0
  27. package/bin/billingPortalConfiguration.d.ts.map +1 -0
  28. package/bin/billingPortalConfiguration.js +107 -0
  29. package/bin/billingPortalConfiguration.js.map +1 -0
  30. package/bin/charge.d.ts +496 -0
  31. package/bin/charge.d.ts.map +1 -0
  32. package/bin/charge.js +176 -0
  33. package/bin/charge.js.map +1 -0
  34. package/bin/climateOrder.d.ts +247 -0
  35. package/bin/climateOrder.d.ts.map +1 -0
  36. package/bin/climateOrder.js +129 -0
  37. package/bin/climateOrder.js.map +1 -0
  38. package/bin/config/index.d.ts +2 -0
  39. package/bin/config/index.d.ts.map +1 -0
  40. package/bin/config/index.js +21 -0
  41. package/bin/config/index.js.map +1 -0
  42. package/bin/config/vars.d.ts +9 -0
  43. package/bin/config/vars.d.ts.map +1 -0
  44. package/bin/config/vars.js +42 -0
  45. package/bin/config/vars.js.map +1 -0
  46. package/bin/coupon.d.ts +228 -0
  47. package/bin/coupon.d.ts.map +1 -0
  48. package/bin/coupon.js +114 -0
  49. package/bin/coupon.js.map +1 -0
  50. package/bin/creditNote.d.ts +374 -0
  51. package/bin/creditNote.d.ts.map +1 -0
  52. package/bin/creditNote.js +151 -0
  53. package/bin/creditNote.js.map +1 -0
  54. package/bin/customer.d.ts +384 -0
  55. package/bin/customer.d.ts.map +1 -0
  56. package/bin/customer.js +144 -0
  57. package/bin/customer.js.map +1 -0
  58. package/bin/customerBalanceTransaction.d.ts +175 -0
  59. package/bin/customerBalanceTransaction.d.ts.map +1 -0
  60. package/bin/customerBalanceTransaction.js +115 -0
  61. package/bin/customerBalanceTransaction.js.map +1 -0
  62. package/bin/entitlementsFeature.d.ts +111 -0
  63. package/bin/entitlementsFeature.d.ts.map +1 -0
  64. package/bin/entitlementsFeature.js +95 -0
  65. package/bin/entitlementsFeature.js.map +1 -0
  66. package/bin/file.d.ts +153 -0
  67. package/bin/file.d.ts.map +1 -0
  68. package/bin/file.js +110 -0
  69. package/bin/file.js.map +1 -0
  70. package/bin/fileLink.d.ts +127 -0
  71. package/bin/fileLink.d.ts.map +1 -0
  72. package/bin/fileLink.js +99 -0
  73. package/bin/fileLink.js.map +1 -0
  74. package/bin/index.d.ts +191 -0
  75. package/bin/index.d.ts.map +1 -0
  76. package/bin/index.js +370 -0
  77. package/bin/index.js.map +1 -0
  78. package/bin/invoice.d.ts +795 -0
  79. package/bin/invoice.d.ts.map +1 -0
  80. package/bin/invoice.js +242 -0
  81. package/bin/invoice.js.map +1 -0
  82. package/bin/invoiceItem.d.ts +354 -0
  83. package/bin/invoiceItem.d.ts.map +1 -0
  84. package/bin/invoiceItem.js +136 -0
  85. package/bin/invoiceItem.js.map +1 -0
  86. package/bin/issuingCard.d.ts +313 -0
  87. package/bin/issuingCard.d.ts.map +1 -0
  88. package/bin/issuingCard.js +138 -0
  89. package/bin/issuingCard.js.map +1 -0
  90. package/bin/issuingCardholder.d.ts +205 -0
  91. package/bin/issuingCardholder.d.ts.map +1 -0
  92. package/bin/issuingCardholder.js +113 -0
  93. package/bin/issuingCardholder.js.map +1 -0
  94. package/bin/issuingDispute.d.ts +152 -0
  95. package/bin/issuingDispute.d.ts.map +1 -0
  96. package/bin/issuingDispute.js +102 -0
  97. package/bin/issuingDispute.js.map +1 -0
  98. package/bin/issuingPersonalizationDesign.d.ts +177 -0
  99. package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
  100. package/bin/issuingPersonalizationDesign.js +111 -0
  101. package/bin/issuingPersonalizationDesign.js.map +1 -0
  102. package/bin/package.json +34 -0
  103. package/bin/paymentIntent.d.ts +670 -0
  104. package/bin/paymentIntent.d.ts.map +1 -0
  105. package/bin/paymentIntent.js +194 -0
  106. package/bin/paymentIntent.js.map +1 -0
  107. package/bin/paymentLink.d.ts +415 -0
  108. package/bin/paymentLink.d.ts.map +1 -0
  109. package/bin/paymentLink.js +155 -0
  110. package/bin/paymentLink.js.map +1 -0
  111. package/bin/paymentMethod.d.ts +232 -0
  112. package/bin/paymentMethod.d.ts.map +1 -0
  113. package/bin/paymentMethod.js +154 -0
  114. package/bin/paymentMethod.js.map +1 -0
  115. package/bin/paymentMethodConfiguration.d.ts +310 -0
  116. package/bin/paymentMethodConfiguration.d.ts.map +1 -0
  117. package/bin/paymentMethodConfiguration.js +218 -0
  118. package/bin/paymentMethodConfiguration.js.map +1 -0
  119. package/bin/paymentMethodDomain.d.ts +143 -0
  120. package/bin/paymentMethodDomain.d.ts.map +1 -0
  121. package/bin/paymentMethodDomain.js +105 -0
  122. package/bin/paymentMethodDomain.js.map +1 -0
  123. package/bin/person.d.ts +436 -0
  124. package/bin/person.d.ts.map +1 -0
  125. package/bin/person.js +157 -0
  126. package/bin/person.js.map +1 -0
  127. package/bin/plan.d.ts +281 -0
  128. package/bin/plan.d.ts.map +1 -0
  129. package/bin/plan.js +126 -0
  130. package/bin/plan.js.map +1 -0
  131. package/bin/price.d.ts +304 -0
  132. package/bin/price.d.ts.map +1 -0
  133. package/bin/price.js +129 -0
  134. package/bin/price.js.map +1 -0
  135. package/bin/product.d.ts +285 -0
  136. package/bin/product.d.ts.map +1 -0
  137. package/bin/product.js +122 -0
  138. package/bin/product.js.map +1 -0
  139. package/bin/productCatalogTrialOffer.d.ts +105 -0
  140. package/bin/productCatalogTrialOffer.d.ts.map +1 -0
  141. package/bin/productCatalogTrialOffer.js +103 -0
  142. package/bin/productCatalogTrialOffer.js.map +1 -0
  143. package/bin/productFeature.d.ts +88 -0
  144. package/bin/productFeature.d.ts.map +1 -0
  145. package/bin/productFeature.js +94 -0
  146. package/bin/productFeature.js.map +1 -0
  147. package/bin/promotionCode.d.ts +175 -0
  148. package/bin/promotionCode.d.ts.map +1 -0
  149. package/bin/promotionCode.js +106 -0
  150. package/bin/promotionCode.js.map +1 -0
  151. package/bin/provider.d.ts +60 -0
  152. package/bin/provider.d.ts.map +1 -0
  153. package/bin/provider.js +80 -0
  154. package/bin/provider.js.map +1 -0
  155. package/bin/quote.d.ts +350 -0
  156. package/bin/quote.d.ts.map +1 -0
  157. package/bin/quote.js +144 -0
  158. package/bin/quote.js.map +1 -0
  159. package/bin/radarValueList.d.ts +131 -0
  160. package/bin/radarValueList.d.ts.map +1 -0
  161. package/bin/radarValueList.js +99 -0
  162. package/bin/radarValueList.js.map +1 -0
  163. package/bin/radarValueListItem.d.ts +101 -0
  164. package/bin/radarValueListItem.d.ts.map +1 -0
  165. package/bin/radarValueListItem.js +98 -0
  166. package/bin/radarValueListItem.js.map +1 -0
  167. package/bin/setupIntent.d.ts +492 -0
  168. package/bin/setupIntent.d.ts.map +1 -0
  169. package/bin/setupIntent.js +154 -0
  170. package/bin/setupIntent.js.map +1 -0
  171. package/bin/shippingRate.d.ts +164 -0
  172. package/bin/shippingRate.d.ts.map +1 -0
  173. package/bin/shippingRate.js +105 -0
  174. package/bin/shippingRate.js.map +1 -0
  175. package/bin/source.d.ts +303 -0
  176. package/bin/source.d.ts.map +1 -0
  177. package/bin/source.js +164 -0
  178. package/bin/source.js.map +1 -0
  179. package/bin/subscription.d.ts +650 -0
  180. package/bin/subscription.d.ts.map +1 -0
  181. package/bin/subscription.js +190 -0
  182. package/bin/subscription.js.map +1 -0
  183. package/bin/subscriptionItem.d.ts +297 -0
  184. package/bin/subscriptionItem.d.ts.map +1 -0
  185. package/bin/subscriptionItem.js +121 -0
  186. package/bin/subscriptionItem.js.map +1 -0
  187. package/bin/subscriptionSchedule.d.ts +263 -0
  188. package/bin/subscriptionSchedule.d.ts.map +1 -0
  189. package/bin/subscriptionSchedule.js +126 -0
  190. package/bin/subscriptionSchedule.js.map +1 -0
  191. package/bin/taxId.d.ts +139 -0
  192. package/bin/taxId.d.ts.map +1 -0
  193. package/bin/taxId.js +109 -0
  194. package/bin/taxId.js.map +1 -0
  195. package/bin/taxLocation.d.ts +90 -0
  196. package/bin/taxLocation.d.ts.map +1 -0
  197. package/bin/taxLocation.js +96 -0
  198. package/bin/taxLocation.js.map +1 -0
  199. package/bin/taxRate.d.ts +233 -0
  200. package/bin/taxRate.d.ts.map +1 -0
  201. package/bin/taxRate.js +123 -0
  202. package/bin/taxRate.js.map +1 -0
  203. package/bin/taxRegistration.d.ts +118 -0
  204. package/bin/taxRegistration.d.ts.map +1 -0
  205. package/bin/taxRegistration.js +105 -0
  206. package/bin/taxRegistration.js.map +1 -0
  207. package/bin/terminalConfiguration.d.ts +131 -0
  208. package/bin/terminalConfiguration.d.ts.map +1 -0
  209. package/bin/terminalConfiguration.js +120 -0
  210. package/bin/terminalConfiguration.js.map +1 -0
  211. package/bin/terminalLocation.d.ts +147 -0
  212. package/bin/terminalLocation.d.ts.map +1 -0
  213. package/bin/terminalLocation.js +100 -0
  214. package/bin/terminalLocation.js.map +1 -0
  215. package/bin/terminalReader.d.ts +168 -0
  216. package/bin/terminalReader.d.ts.map +1 -0
  217. package/bin/terminalReader.js +109 -0
  218. package/bin/terminalReader.js.map +1 -0
  219. package/bin/threeDSecureAuthentication.d.ts +297 -0
  220. package/bin/threeDSecureAuthentication.d.ts.map +1 -0
  221. package/bin/threeDSecureAuthentication.js +132 -0
  222. package/bin/threeDSecureAuthentication.js.map +1 -0
  223. package/bin/treasuryFinancialAccount.d.ts +203 -0
  224. package/bin/treasuryFinancialAccount.d.ts.map +1 -0
  225. package/bin/treasuryFinancialAccount.js +119 -0
  226. package/bin/treasuryFinancialAccount.js.map +1 -0
  227. package/bin/types/index.d.ts +4 -0
  228. package/bin/types/index.d.ts.map +1 -0
  229. package/bin/types/index.js +34 -0
  230. package/bin/types/index.js.map +1 -0
  231. package/bin/types/input.d.ts +18743 -0
  232. package/bin/types/input.d.ts.map +1 -0
  233. package/bin/types/input.js +5 -0
  234. package/bin/types/input.js.map +1 -0
  235. package/bin/types/output.d.ts +18742 -0
  236. package/bin/types/output.d.ts.map +1 -0
  237. package/bin/types/output.js +5 -0
  238. package/bin/types/output.js.map +1 -0
  239. package/bin/utilities.d.ts +6 -0
  240. package/bin/utilities.d.ts.map +1 -0
  241. package/bin/utilities.js +125 -0
  242. package/bin/utilities.js.map +1 -0
  243. package/bin/v2coreEventDestination.d.ts +260 -0
  244. package/bin/v2coreEventDestination.d.ts.map +1 -0
  245. package/bin/v2coreEventDestination.js +127 -0
  246. package/bin/v2coreEventDestination.js.map +1 -0
  247. package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
  248. package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
  249. package/bin/v2coreVaultGbBankAccount.js +111 -0
  250. package/bin/v2coreVaultGbBankAccount.js.map +1 -0
  251. package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
  252. package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
  253. package/bin/v2coreVaultUsBankAccount.js +118 -0
  254. package/bin/v2coreVaultUsBankAccount.js.map +1 -0
  255. package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
  256. package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
  257. package/bin/v2moneyManagementFinancialAddress.js +102 -0
  258. package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
  259. package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
  260. package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
  261. package/bin/v2moneyManagementInboundTransfer.js +105 -0
  262. package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
  263. package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
  264. package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
  265. package/bin/v2moneyManagementOutboundPayment.js +125 -0
  266. package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
  267. package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
  268. package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
  269. package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
  270. package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
  271. package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
  272. package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
  273. package/bin/v2moneyManagementPayoutIntent.js +127 -0
  274. package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
  275. package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
  276. package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
  277. package/bin/v2moneyManagementRecipientVerification.js +107 -0
  278. package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
  279. package/bin/webhookEndpoint.d.ts +171 -0
  280. package/bin/webhookEndpoint.d.ts.map +1 -0
  281. package/bin/webhookEndpoint.js +112 -0
  282. package/bin/webhookEndpoint.js.map +1 -0
  283. package/package.json +31 -3
@@ -0,0 +1,107 @@
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.V2MoneyManagementRecipientVerification = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class V2MoneyManagementRecipientVerification extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing V2MoneyManagementRecipientVerification 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 V2MoneyManagementRecipientVerification(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Check whether an existing V2MoneyManagementRecipientVerification 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/v2MoneyManagementRecipientVerification:V2MoneyManagementRecipientVerification", id, state || {}, { ...opts }, utilities.getPackage());
53
+ }
54
+ /** @internal */
55
+ static __pulumiType = 'stripe:index/v2MoneyManagementRecipientVerification:V2MoneyManagementRecipientVerification';
56
+ /**
57
+ * Returns true if the given object is an instance of V2MoneyManagementRecipientVerification. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === V2MoneyManagementRecipientVerification.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["consumedBy"] = state?.consumedBy;
72
+ resourceInputs["created"] = state?.created;
73
+ resourceInputs["expiresAt"] = state?.expiresAt;
74
+ resourceInputs["livemode"] = state?.livemode;
75
+ resourceInputs["matchResult"] = state?.matchResult;
76
+ resourceInputs["matchResultDetails"] = state?.matchResultDetails;
77
+ resourceInputs["object"] = state?.object;
78
+ resourceInputs["payoutMethod"] = state?.payoutMethod;
79
+ resourceInputs["recipient"] = state?.recipient;
80
+ resourceInputs["status"] = state?.status;
81
+ resourceInputs["statusTransitions"] = state?.statusTransitions;
82
+ resourceInputs["verificationType"] = state?.verificationType;
83
+ }
84
+ else {
85
+ const args = argsOrState;
86
+ if (args?.payoutMethod === undefined && !opts.urn) {
87
+ throw new Error("Missing required property 'payoutMethod'");
88
+ }
89
+ resourceInputs["payoutMethod"] = args?.payoutMethod;
90
+ resourceInputs["recipient"] = args?.recipient;
91
+ resourceInputs["consumedBy"] = undefined /*out*/;
92
+ resourceInputs["created"] = undefined /*out*/;
93
+ resourceInputs["expiresAt"] = undefined /*out*/;
94
+ resourceInputs["livemode"] = undefined /*out*/;
95
+ resourceInputs["matchResult"] = undefined /*out*/;
96
+ resourceInputs["matchResultDetails"] = undefined /*out*/;
97
+ resourceInputs["object"] = undefined /*out*/;
98
+ resourceInputs["status"] = undefined /*out*/;
99
+ resourceInputs["statusTransitions"] = undefined /*out*/;
100
+ resourceInputs["verificationType"] = undefined /*out*/;
101
+ }
102
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
103
+ super(V2MoneyManagementRecipientVerification.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
104
+ }
105
+ }
106
+ exports.V2MoneyManagementRecipientVerification = V2MoneyManagementRecipientVerification;
107
+ //# sourceMappingURL=v2moneyManagementRecipientVerification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2moneyManagementRecipientVerification.js","sourceRoot":"","sources":["../v2moneyManagementRecipientVerification.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAC7E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmD,EAAE,IAAmC;QACjJ,OAAO,IAAI,sCAAsC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAmD,EAAE,IAAmC;QACnI,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,4FAA4F,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,UAAU,EAA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+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class WebhookEndpoint extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing WebhookEndpoint 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?: WebhookEndpointState, opts?: pulumi.CustomResourceOptions): WebhookEndpoint;
13
+ /**
14
+ * Check whether an existing WebhookEndpoint resource with the given ID exists.
15
+ *
16
+ * @param id The _unique_ provider ID of the resource to check.
17
+ * @param state Any extra arguments used during the lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static exists(id: pulumi.Input<string>, state?: WebhookEndpointState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
21
+ /**
22
+ * Returns true if the given object is an instance of WebhookEndpoint. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj: any): obj is WebhookEndpoint;
26
+ /**
27
+ * The API version that events are rendered as for this webhook endpoint. You can't change this value after you create the endpoint.
28
+ */
29
+ readonly apiVersion: pulumi.Output<string>;
30
+ /**
31
+ * The ID of the associated Connect application.
32
+ */
33
+ readonly application: pulumi.Output<string>;
34
+ /**
35
+ * Whether this endpoint should receive events from connected accounts (<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>), or from your account (<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>). Defaults to <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 connect: pulumi.Output<boolean | undefined>;
38
+ /**
39
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
40
+ */
41
+ readonly created: pulumi.Output<number>;
42
+ /**
43
+ * An optional description of what the webhook is used for.
44
+ */
45
+ readonly description: pulumi.Output<string>;
46
+ /**
47
+ * The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection.
48
+ */
49
+ readonly enabledEvents: pulumi.Output<string[]>;
50
+ /**
51
+ * 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>.
52
+ */
53
+ readonly livemode: pulumi.Output<boolean>;
54
+ /**
55
+ * 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.
56
+ */
57
+ readonly metadata: pulumi.Output<{
58
+ [key: string]: string;
59
+ }>;
60
+ /**
61
+ * String representing the object's type. Objects of the same type share the same value.
62
+ */
63
+ readonly object: pulumi.Output<string>;
64
+ /**
65
+ * The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation.
66
+ */
67
+ readonly secret: pulumi.Output<string>;
68
+ /**
69
+ * The status of the webhook. It can be <span pulumi-lang-nodejs="`enabled`" pulumi-lang-dotnet="`Enabled`" pulumi-lang-go="`enabled`" pulumi-lang-python="`enabled`" pulumi-lang-yaml="`enabled`" pulumi-lang-java="`enabled`" pulumi-lang-hcl="`enabled`">`enabled`</span> or <span pulumi-lang-nodejs="`disabled`" pulumi-lang-dotnet="`Disabled`" pulumi-lang-go="`disabled`" pulumi-lang-python="`disabled`" pulumi-lang-yaml="`disabled`" pulumi-lang-java="`disabled`" pulumi-lang-hcl="`disabled`">`disabled`</span>.
70
+ */
71
+ readonly status: pulumi.Output<string>;
72
+ /**
73
+ * The URL of the webhook endpoint.
74
+ */
75
+ readonly url: pulumi.Output<string>;
76
+ /**
77
+ * Create a WebhookEndpoint resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: WebhookEndpointArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering WebhookEndpoint resources.
87
+ */
88
+ export interface WebhookEndpointState {
89
+ /**
90
+ * The API version that events are rendered as for this webhook endpoint. You can't change this value after you create the endpoint.
91
+ */
92
+ apiVersion?: pulumi.Input<string | undefined>;
93
+ /**
94
+ * The ID of the associated Connect application.
95
+ */
96
+ application?: pulumi.Input<string | undefined>;
97
+ /**
98
+ * Whether this endpoint should receive events from connected accounts (<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>), or from your account (<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>). Defaults to <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>.
99
+ */
100
+ connect?: pulumi.Input<boolean | undefined>;
101
+ /**
102
+ * Time at which the object was created. Measured in seconds since the Unix epoch.
103
+ */
104
+ created?: pulumi.Input<number | undefined>;
105
+ /**
106
+ * An optional description of what the webhook is used for.
107
+ */
108
+ description?: pulumi.Input<string | undefined>;
109
+ /**
110
+ * The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection.
111
+ */
112
+ enabledEvents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
113
+ /**
114
+ * 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>.
115
+ */
116
+ livemode?: pulumi.Input<boolean | undefined>;
117
+ /**
118
+ * 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.
119
+ */
120
+ metadata?: pulumi.Input<{
121
+ [key: string]: pulumi.Input<string>;
122
+ } | undefined>;
123
+ /**
124
+ * String representing the object's type. Objects of the same type share the same value.
125
+ */
126
+ object?: pulumi.Input<string | undefined>;
127
+ /**
128
+ * The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation.
129
+ */
130
+ secret?: pulumi.Input<string | undefined>;
131
+ /**
132
+ * The status of the webhook. It can be <span pulumi-lang-nodejs="`enabled`" pulumi-lang-dotnet="`Enabled`" pulumi-lang-go="`enabled`" pulumi-lang-python="`enabled`" pulumi-lang-yaml="`enabled`" pulumi-lang-java="`enabled`" pulumi-lang-hcl="`enabled`">`enabled`</span> or <span pulumi-lang-nodejs="`disabled`" pulumi-lang-dotnet="`Disabled`" pulumi-lang-go="`disabled`" pulumi-lang-python="`disabled`" pulumi-lang-yaml="`disabled`" pulumi-lang-java="`disabled`" pulumi-lang-hcl="`disabled`">`disabled`</span>.
133
+ */
134
+ status?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * The URL of the webhook endpoint.
137
+ */
138
+ url?: pulumi.Input<string | undefined>;
139
+ }
140
+ /**
141
+ * The set of arguments for constructing a WebhookEndpoint resource.
142
+ */
143
+ export interface WebhookEndpointArgs {
144
+ /**
145
+ * The API version that events are rendered as for this webhook endpoint. You can't change this value after you create the endpoint.
146
+ */
147
+ apiVersion?: pulumi.Input<string | undefined>;
148
+ /**
149
+ * Whether this endpoint should receive events from connected accounts (<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>), or from your account (<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>). Defaults to <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>.
150
+ */
151
+ connect?: pulumi.Input<boolean | undefined>;
152
+ /**
153
+ * An optional description of what the webhook is used for.
154
+ */
155
+ description?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection.
158
+ */
159
+ enabledEvents: pulumi.Input<pulumi.Input<string>[]>;
160
+ /**
161
+ * 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.
162
+ */
163
+ metadata?: pulumi.Input<{
164
+ [key: string]: pulumi.Input<string>;
165
+ } | undefined>;
166
+ /**
167
+ * The URL of the webhook endpoint.
168
+ */
169
+ url: pulumi.Input<string>;
170
+ }
171
+ //# sourceMappingURL=webhookEndpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhookEndpoint.d.ts","sourceRoot":"","sources":["../webhookEndpoint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAIhJ;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAOzI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnE;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,C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,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B"}
@@ -0,0 +1,112 @@
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.WebhookEndpoint = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class WebhookEndpoint extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing WebhookEndpoint 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 WebhookEndpoint(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Check whether an existing WebhookEndpoint 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/webhookEndpoint:WebhookEndpoint", id, state || {}, { ...opts }, utilities.getPackage());
53
+ }
54
+ /** @internal */
55
+ static __pulumiType = 'stripe:index/webhookEndpoint:WebhookEndpoint';
56
+ /**
57
+ * Returns true if the given object is an instance of WebhookEndpoint. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === WebhookEndpoint.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["apiVersion"] = state?.apiVersion;
72
+ resourceInputs["application"] = state?.application;
73
+ resourceInputs["connect"] = state?.connect;
74
+ resourceInputs["created"] = state?.created;
75
+ resourceInputs["description"] = state?.description;
76
+ resourceInputs["enabledEvents"] = state?.enabledEvents;
77
+ resourceInputs["livemode"] = state?.livemode;
78
+ resourceInputs["metadata"] = state?.metadata;
79
+ resourceInputs["object"] = state?.object;
80
+ resourceInputs["secret"] = state?.secret;
81
+ resourceInputs["status"] = state?.status;
82
+ resourceInputs["url"] = state?.url;
83
+ }
84
+ else {
85
+ const args = argsOrState;
86
+ if (args?.enabledEvents === undefined && !opts.urn) {
87
+ throw new Error("Missing required property 'enabledEvents'");
88
+ }
89
+ if (args?.url === undefined && !opts.urn) {
90
+ throw new Error("Missing required property 'url'");
91
+ }
92
+ resourceInputs["apiVersion"] = args?.apiVersion;
93
+ resourceInputs["connect"] = args?.connect;
94
+ resourceInputs["description"] = args?.description;
95
+ resourceInputs["enabledEvents"] = args?.enabledEvents;
96
+ resourceInputs["metadata"] = args?.metadata;
97
+ resourceInputs["url"] = args?.url;
98
+ resourceInputs["application"] = undefined /*out*/;
99
+ resourceInputs["created"] = undefined /*out*/;
100
+ resourceInputs["livemode"] = undefined /*out*/;
101
+ resourceInputs["object"] = undefined /*out*/;
102
+ resourceInputs["secret"] = undefined /*out*/;
103
+ resourceInputs["status"] = undefined /*out*/;
104
+ }
105
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
106
+ const secretOpts = { additionalSecretOutputs: ["secret"] };
107
+ opts = pulumi.mergeOptions(opts, secretOpts);
108
+ super(WebhookEndpoint.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
109
+ }
110
+ }
111
+ exports.WebhookEndpoint = WebhookEndpoint;
112
+ //# sourceMappingURL=webhookEndpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhookEndpoint.js","sourceRoot":"","sources":["../webhookEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAA4B,EAAE,IAAmC;QAC5G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AC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAClH,CAAC;;AA1IL,0CA2IC"}
package/package.json CHANGED
@@ -1,6 +1,34 @@
1
1
  {
2
2
  "name": "@lshay-provider/stripe",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.3.1",
4
+ "description": "A Pulumi provider dynamically bridged from stripe.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/lukeshay/pulumi-providers"
8
+ },
9
+ "main": "bin/index.js",
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "postinstall": "node ./scripts/postinstall.js"
13
+ },
14
+ "dependencies": {
15
+ "@pulumi/pulumi": "^3.269.0",
16
+ "@types/node": "^20",
17
+ "typescript": "^4.7.0"
18
+ },
19
+ "pulumi": {
20
+ "resource": true,
21
+ "name": "terraform-provider",
22
+ "version": "1.5.1",
23
+ "parameterization": {
24
+ "name": "stripe",
25
+ "version": "0.3.1",
26
+ "value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkudGVycmFmb3JtLmlvL3N0cmlwZS9zdHJpcGUiLCJ2ZXJzaW9uIjoiMC4zLjEifX0="
27
+ }
28
+ },
29
+ "files": [
30
+ "bin/",
31
+ "README.md",
32
+ "LICENSE"
33
+ ]
6
34
  }