@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.
- package/README.md +3 -3
- package/bin/applePayDomain.d.ts +72 -0
- package/bin/applePayDomain.d.ts.map +1 -0
- package/bin/applePayDomain.js +91 -0
- package/bin/applePayDomain.js.map +1 -0
- package/bin/appsInstall.d.ts +201 -0
- package/bin/appsInstall.d.ts.map +1 -0
- package/bin/appsInstall.js +121 -0
- package/bin/appsInstall.js.map +1 -0
- package/bin/billingAlert.d.ts +107 -0
- package/bin/billingAlert.d.ts.map +1 -0
- package/bin/billingAlert.js +98 -0
- package/bin/billingAlert.js.map +1 -0
- package/bin/billingCreditGrant.d.ts +203 -0
- package/bin/billingCreditGrant.d.ts.map +1 -0
- package/bin/billingCreditGrant.js +118 -0
- package/bin/billingCreditGrant.js.map +1 -0
- package/bin/billingFeedbackOption.d.ts +85 -0
- package/bin/billingFeedbackOption.d.ts.map +1 -0
- package/bin/billingFeedbackOption.js +93 -0
- package/bin/billingFeedbackOption.js.map +1 -0
- package/bin/billingMeter.d.ts +134 -0
- package/bin/billingMeter.d.ts.map +1 -0
- package/bin/billingMeter.js +110 -0
- package/bin/billingMeter.js.map +1 -0
- package/bin/billingPortalConfiguration.d.ts +150 -0
- package/bin/billingPortalConfiguration.d.ts.map +1 -0
- package/bin/billingPortalConfiguration.js +107 -0
- package/bin/billingPortalConfiguration.js.map +1 -0
- package/bin/charge.d.ts +496 -0
- package/bin/charge.d.ts.map +1 -0
- package/bin/charge.js +176 -0
- package/bin/charge.js.map +1 -0
- package/bin/climateOrder.d.ts +247 -0
- package/bin/climateOrder.d.ts.map +1 -0
- package/bin/climateOrder.js +129 -0
- package/bin/climateOrder.js.map +1 -0
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +9 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +42 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/coupon.d.ts +228 -0
- package/bin/coupon.d.ts.map +1 -0
- package/bin/coupon.js +114 -0
- package/bin/coupon.js.map +1 -0
- package/bin/creditNote.d.ts +374 -0
- package/bin/creditNote.d.ts.map +1 -0
- package/bin/creditNote.js +151 -0
- package/bin/creditNote.js.map +1 -0
- package/bin/customer.d.ts +384 -0
- package/bin/customer.d.ts.map +1 -0
- package/bin/customer.js +144 -0
- package/bin/customer.js.map +1 -0
- package/bin/customerBalanceTransaction.d.ts +175 -0
- package/bin/customerBalanceTransaction.d.ts.map +1 -0
- package/bin/customerBalanceTransaction.js +115 -0
- package/bin/customerBalanceTransaction.js.map +1 -0
- package/bin/entitlementsFeature.d.ts +111 -0
- package/bin/entitlementsFeature.d.ts.map +1 -0
- package/bin/entitlementsFeature.js +95 -0
- package/bin/entitlementsFeature.js.map +1 -0
- package/bin/file.d.ts +153 -0
- package/bin/file.d.ts.map +1 -0
- package/bin/file.js +110 -0
- package/bin/file.js.map +1 -0
- package/bin/fileLink.d.ts +127 -0
- package/bin/fileLink.d.ts.map +1 -0
- package/bin/fileLink.js +99 -0
- package/bin/fileLink.js.map +1 -0
- package/bin/index.d.ts +191 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +370 -0
- package/bin/index.js.map +1 -0
- package/bin/invoice.d.ts +795 -0
- package/bin/invoice.d.ts.map +1 -0
- package/bin/invoice.js +242 -0
- package/bin/invoice.js.map +1 -0
- package/bin/invoiceItem.d.ts +354 -0
- package/bin/invoiceItem.d.ts.map +1 -0
- package/bin/invoiceItem.js +136 -0
- package/bin/invoiceItem.js.map +1 -0
- package/bin/issuingCard.d.ts +313 -0
- package/bin/issuingCard.d.ts.map +1 -0
- package/bin/issuingCard.js +138 -0
- package/bin/issuingCard.js.map +1 -0
- package/bin/issuingCardholder.d.ts +205 -0
- package/bin/issuingCardholder.d.ts.map +1 -0
- package/bin/issuingCardholder.js +113 -0
- package/bin/issuingCardholder.js.map +1 -0
- package/bin/issuingDispute.d.ts +152 -0
- package/bin/issuingDispute.d.ts.map +1 -0
- package/bin/issuingDispute.js +102 -0
- package/bin/issuingDispute.js.map +1 -0
- package/bin/issuingPersonalizationDesign.d.ts +177 -0
- package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
- package/bin/issuingPersonalizationDesign.js +111 -0
- package/bin/issuingPersonalizationDesign.js.map +1 -0
- package/bin/package.json +34 -0
- package/bin/paymentIntent.d.ts +670 -0
- package/bin/paymentIntent.d.ts.map +1 -0
- package/bin/paymentIntent.js +194 -0
- package/bin/paymentIntent.js.map +1 -0
- package/bin/paymentLink.d.ts +415 -0
- package/bin/paymentLink.d.ts.map +1 -0
- package/bin/paymentLink.js +155 -0
- package/bin/paymentLink.js.map +1 -0
- package/bin/paymentMethod.d.ts +232 -0
- package/bin/paymentMethod.d.ts.map +1 -0
- package/bin/paymentMethod.js +154 -0
- package/bin/paymentMethod.js.map +1 -0
- package/bin/paymentMethodConfiguration.d.ts +310 -0
- package/bin/paymentMethodConfiguration.d.ts.map +1 -0
- package/bin/paymentMethodConfiguration.js +218 -0
- package/bin/paymentMethodConfiguration.js.map +1 -0
- package/bin/paymentMethodDomain.d.ts +143 -0
- package/bin/paymentMethodDomain.d.ts.map +1 -0
- package/bin/paymentMethodDomain.js +105 -0
- package/bin/paymentMethodDomain.js.map +1 -0
- package/bin/person.d.ts +436 -0
- package/bin/person.d.ts.map +1 -0
- package/bin/person.js +157 -0
- package/bin/person.js.map +1 -0
- package/bin/plan.d.ts +281 -0
- package/bin/plan.d.ts.map +1 -0
- package/bin/plan.js +126 -0
- package/bin/plan.js.map +1 -0
- package/bin/price.d.ts +304 -0
- package/bin/price.d.ts.map +1 -0
- package/bin/price.js +129 -0
- package/bin/price.js.map +1 -0
- package/bin/product.d.ts +285 -0
- package/bin/product.d.ts.map +1 -0
- package/bin/product.js +122 -0
- package/bin/product.js.map +1 -0
- package/bin/productCatalogTrialOffer.d.ts +105 -0
- package/bin/productCatalogTrialOffer.d.ts.map +1 -0
- package/bin/productCatalogTrialOffer.js +103 -0
- package/bin/productCatalogTrialOffer.js.map +1 -0
- package/bin/productFeature.d.ts +88 -0
- package/bin/productFeature.d.ts.map +1 -0
- package/bin/productFeature.js +94 -0
- package/bin/productFeature.js.map +1 -0
- package/bin/promotionCode.d.ts +175 -0
- package/bin/promotionCode.d.ts.map +1 -0
- package/bin/promotionCode.js +106 -0
- package/bin/promotionCode.js.map +1 -0
- package/bin/provider.d.ts +60 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +80 -0
- package/bin/provider.js.map +1 -0
- package/bin/quote.d.ts +350 -0
- package/bin/quote.d.ts.map +1 -0
- package/bin/quote.js +144 -0
- package/bin/quote.js.map +1 -0
- package/bin/radarValueList.d.ts +131 -0
- package/bin/radarValueList.d.ts.map +1 -0
- package/bin/radarValueList.js +99 -0
- package/bin/radarValueList.js.map +1 -0
- package/bin/radarValueListItem.d.ts +101 -0
- package/bin/radarValueListItem.d.ts.map +1 -0
- package/bin/radarValueListItem.js +98 -0
- package/bin/radarValueListItem.js.map +1 -0
- package/bin/setupIntent.d.ts +492 -0
- package/bin/setupIntent.d.ts.map +1 -0
- package/bin/setupIntent.js +154 -0
- package/bin/setupIntent.js.map +1 -0
- package/bin/shippingRate.d.ts +164 -0
- package/bin/shippingRate.d.ts.map +1 -0
- package/bin/shippingRate.js +105 -0
- package/bin/shippingRate.js.map +1 -0
- package/bin/source.d.ts +303 -0
- package/bin/source.d.ts.map +1 -0
- package/bin/source.js +164 -0
- package/bin/source.js.map +1 -0
- package/bin/subscription.d.ts +650 -0
- package/bin/subscription.d.ts.map +1 -0
- package/bin/subscription.js +190 -0
- package/bin/subscription.js.map +1 -0
- package/bin/subscriptionItem.d.ts +297 -0
- package/bin/subscriptionItem.d.ts.map +1 -0
- package/bin/subscriptionItem.js +121 -0
- package/bin/subscriptionItem.js.map +1 -0
- package/bin/subscriptionSchedule.d.ts +263 -0
- package/bin/subscriptionSchedule.d.ts.map +1 -0
- package/bin/subscriptionSchedule.js +126 -0
- package/bin/subscriptionSchedule.js.map +1 -0
- package/bin/taxId.d.ts +139 -0
- package/bin/taxId.d.ts.map +1 -0
- package/bin/taxId.js +109 -0
- package/bin/taxId.js.map +1 -0
- package/bin/taxLocation.d.ts +90 -0
- package/bin/taxLocation.d.ts.map +1 -0
- package/bin/taxLocation.js +96 -0
- package/bin/taxLocation.js.map +1 -0
- package/bin/taxRate.d.ts +233 -0
- package/bin/taxRate.d.ts.map +1 -0
- package/bin/taxRate.js +123 -0
- package/bin/taxRate.js.map +1 -0
- package/bin/taxRegistration.d.ts +118 -0
- package/bin/taxRegistration.d.ts.map +1 -0
- package/bin/taxRegistration.js +105 -0
- package/bin/taxRegistration.js.map +1 -0
- package/bin/terminalConfiguration.d.ts +131 -0
- package/bin/terminalConfiguration.d.ts.map +1 -0
- package/bin/terminalConfiguration.js +120 -0
- package/bin/terminalConfiguration.js.map +1 -0
- package/bin/terminalLocation.d.ts +147 -0
- package/bin/terminalLocation.d.ts.map +1 -0
- package/bin/terminalLocation.js +100 -0
- package/bin/terminalLocation.js.map +1 -0
- package/bin/terminalReader.d.ts +168 -0
- package/bin/terminalReader.d.ts.map +1 -0
- package/bin/terminalReader.js +109 -0
- package/bin/terminalReader.js.map +1 -0
- package/bin/threeDSecureAuthentication.d.ts +297 -0
- package/bin/threeDSecureAuthentication.d.ts.map +1 -0
- package/bin/threeDSecureAuthentication.js +132 -0
- package/bin/threeDSecureAuthentication.js.map +1 -0
- package/bin/treasuryFinancialAccount.d.ts +203 -0
- package/bin/treasuryFinancialAccount.d.ts.map +1 -0
- package/bin/treasuryFinancialAccount.js +119 -0
- package/bin/treasuryFinancialAccount.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +18743 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +18742 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +6 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +125 -0
- package/bin/utilities.js.map +1 -0
- package/bin/v2coreEventDestination.d.ts +260 -0
- package/bin/v2coreEventDestination.d.ts.map +1 -0
- package/bin/v2coreEventDestination.js +127 -0
- package/bin/v2coreEventDestination.js.map +1 -0
- package/bin/v2coreVaultGbBankAccount.d.ts +182 -0
- package/bin/v2coreVaultGbBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultGbBankAccount.js +111 -0
- package/bin/v2coreVaultGbBankAccount.js.map +1 -0
- package/bin/v2coreVaultUsBankAccount.d.ts +193 -0
- package/bin/v2coreVaultUsBankAccount.d.ts.map +1 -0
- package/bin/v2coreVaultUsBankAccount.js +118 -0
- package/bin/v2coreVaultUsBankAccount.js.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts +117 -0
- package/bin/v2moneyManagementFinancialAddress.d.ts.map +1 -0
- package/bin/v2moneyManagementFinancialAddress.js +102 -0
- package/bin/v2moneyManagementFinancialAddress.js.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts +127 -0
- package/bin/v2moneyManagementInboundTransfer.d.ts.map +1 -0
- package/bin/v2moneyManagementInboundTransfer.js +105 -0
- package/bin/v2moneyManagementInboundTransfer.js.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts +237 -0
- package/bin/v2moneyManagementOutboundPayment.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundPayment.js +125 -0
- package/bin/v2moneyManagementOutboundPayment.js.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts +121 -0
- package/bin/v2moneyManagementOutboundSetupIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js +96 -0
- package/bin/v2moneyManagementOutboundSetupIntent.js.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts +246 -0
- package/bin/v2moneyManagementPayoutIntent.d.ts.map +1 -0
- package/bin/v2moneyManagementPayoutIntent.js +127 -0
- package/bin/v2moneyManagementPayoutIntent.js.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts +155 -0
- package/bin/v2moneyManagementRecipientVerification.d.ts.map +1 -0
- package/bin/v2moneyManagementRecipientVerification.js +107 -0
- package/bin/v2moneyManagementRecipientVerification.js.map +1 -0
- package/bin/webhookEndpoint.d.ts +171 -0
- package/bin/webhookEndpoint.d.ts.map +1 -0
- package/bin/webhookEndpoint.js +112 -0
- package/bin/webhookEndpoint.js.map +1 -0
- package/package.json +31 -3
|
@@ -0,0 +1,98 @@
|
|
|
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.BillingAlert = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class BillingAlert extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing BillingAlert 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 BillingAlert(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing BillingAlert 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/billingAlert:BillingAlert", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'stripe:index/billingAlert:BillingAlert';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of BillingAlert. 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'] === BillingAlert.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["alertType"] = state?.alertType;
|
|
72
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
73
|
+
resourceInputs["object"] = state?.object;
|
|
74
|
+
resourceInputs["status"] = state?.status;
|
|
75
|
+
resourceInputs["title"] = state?.title;
|
|
76
|
+
resourceInputs["usageThreshold"] = state?.usageThreshold;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if (args?.alertType === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'alertType'");
|
|
82
|
+
}
|
|
83
|
+
if (args?.title === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'title'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["alertType"] = args?.alertType;
|
|
87
|
+
resourceInputs["title"] = args?.title;
|
|
88
|
+
resourceInputs["usageThreshold"] = args?.usageThreshold;
|
|
89
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(BillingAlert.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.BillingAlert = BillingAlert;
|
|
98
|
+
//# sourceMappingURL=billingAlert.js.map
|
|
@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AAE,CAAC,CAAC;IAC/G,CAAC;;AApGL,oCAqGC"}
|
|
@@ -0,0 +1,203 @@
|
|
|
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 BillingCreditGrant extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing BillingCreditGrant 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?: BillingCreditGrantState, opts?: pulumi.CustomResourceOptions): BillingCreditGrant;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing BillingCreditGrant resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: BillingCreditGrantState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of BillingCreditGrant. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is BillingCreditGrant;
|
|
28
|
+
readonly amount: pulumi.Output<outputs.BillingCreditGrantAmount>;
|
|
29
|
+
readonly applicabilityConfig: pulumi.Output<outputs.BillingCreditGrantApplicabilityConfig>;
|
|
30
|
+
/**
|
|
31
|
+
* The category of this credit grant. This is for tracking purposes and isn't displayed to the customer.
|
|
32
|
+
*/
|
|
33
|
+
readonly category: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
36
|
+
*/
|
|
37
|
+
readonly created: pulumi.Output<number>;
|
|
38
|
+
/**
|
|
39
|
+
* ID of the customer receiving the billing credits.
|
|
40
|
+
*/
|
|
41
|
+
readonly customer: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the account representing the customer receiving the billing credits
|
|
44
|
+
*/
|
|
45
|
+
readonly customerAccount: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The time when the billing credits become effective-when they're eligible for use.
|
|
48
|
+
*/
|
|
49
|
+
readonly effectiveAt: pulumi.Output<number>;
|
|
50
|
+
/**
|
|
51
|
+
* The time when the billing credits expire. If not present, the billing credits don't expire.
|
|
52
|
+
*/
|
|
53
|
+
readonly expiresAt: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* 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>.
|
|
56
|
+
*/
|
|
57
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* 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.
|
|
60
|
+
*/
|
|
61
|
+
readonly metadata: pulumi.Output<{
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* A descriptive name shown in dashboard.
|
|
66
|
+
*/
|
|
67
|
+
readonly name: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
70
|
+
*/
|
|
71
|
+
readonly object: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
|
|
74
|
+
*/
|
|
75
|
+
readonly priority: pulumi.Output<number>;
|
|
76
|
+
/**
|
|
77
|
+
* ID of the test clock this credit grant belongs to.
|
|
78
|
+
*/
|
|
79
|
+
readonly testClock: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
82
|
+
*/
|
|
83
|
+
readonly updated: pulumi.Output<number>;
|
|
84
|
+
/**
|
|
85
|
+
* The time when this credit grant was voided. If not present, the credit grant hasn't been voided.
|
|
86
|
+
*/
|
|
87
|
+
readonly voidedAt: pulumi.Output<number>;
|
|
88
|
+
/**
|
|
89
|
+
* Create a BillingCreditGrant resource with the given unique name, arguments, and options.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resource.
|
|
92
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
93
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
94
|
+
*/
|
|
95
|
+
constructor(name: string, args: BillingCreditGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Input properties used for looking up and filtering BillingCreditGrant resources.
|
|
99
|
+
*/
|
|
100
|
+
export interface BillingCreditGrantState {
|
|
101
|
+
amount?: pulumi.Input<inputs.BillingCreditGrantAmount | undefined>;
|
|
102
|
+
applicabilityConfig?: pulumi.Input<inputs.BillingCreditGrantApplicabilityConfig | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* The category of this credit grant. This is for tracking purposes and isn't displayed to the customer.
|
|
105
|
+
*/
|
|
106
|
+
category?: pulumi.Input<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
109
|
+
*/
|
|
110
|
+
created?: pulumi.Input<number | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* ID of the customer receiving the billing credits.
|
|
113
|
+
*/
|
|
114
|
+
customer?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* ID of the account representing the customer receiving the billing credits
|
|
117
|
+
*/
|
|
118
|
+
customerAccount?: pulumi.Input<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* The time when the billing credits become effective-when they're eligible for use.
|
|
121
|
+
*/
|
|
122
|
+
effectiveAt?: pulumi.Input<number | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The time when the billing credits expire. If not present, the billing credits don't expire.
|
|
125
|
+
*/
|
|
126
|
+
expiresAt?: pulumi.Input<number | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* 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>.
|
|
129
|
+
*/
|
|
130
|
+
livemode?: pulumi.Input<boolean | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
133
|
+
*/
|
|
134
|
+
metadata?: pulumi.Input<{
|
|
135
|
+
[key: string]: pulumi.Input<string>;
|
|
136
|
+
} | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* A descriptive name shown in dashboard.
|
|
139
|
+
*/
|
|
140
|
+
name?: pulumi.Input<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
143
|
+
*/
|
|
144
|
+
object?: pulumi.Input<string | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
|
|
147
|
+
*/
|
|
148
|
+
priority?: pulumi.Input<number | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* ID of the test clock this credit grant belongs to.
|
|
151
|
+
*/
|
|
152
|
+
testClock?: pulumi.Input<string | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
155
|
+
*/
|
|
156
|
+
updated?: pulumi.Input<number | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* The time when this credit grant was voided. If not present, the credit grant hasn't been voided.
|
|
159
|
+
*/
|
|
160
|
+
voidedAt?: pulumi.Input<number | undefined>;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The set of arguments for constructing a BillingCreditGrant resource.
|
|
164
|
+
*/
|
|
165
|
+
export interface BillingCreditGrantArgs {
|
|
166
|
+
amount: pulumi.Input<inputs.BillingCreditGrantAmount>;
|
|
167
|
+
applicabilityConfig: pulumi.Input<inputs.BillingCreditGrantApplicabilityConfig>;
|
|
168
|
+
/**
|
|
169
|
+
* The category of this credit grant. This is for tracking purposes and isn't displayed to the customer.
|
|
170
|
+
*/
|
|
171
|
+
category?: pulumi.Input<string | undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* ID of the customer receiving the billing credits.
|
|
174
|
+
*/
|
|
175
|
+
customer?: pulumi.Input<string | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* ID of the account representing the customer receiving the billing credits
|
|
178
|
+
*/
|
|
179
|
+
customerAccount?: pulumi.Input<string | undefined>;
|
|
180
|
+
/**
|
|
181
|
+
* The time when the billing credits become effective-when they're eligible for use.
|
|
182
|
+
*/
|
|
183
|
+
effectiveAt?: pulumi.Input<number | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* The time when the billing credits expire. If not present, the billing credits don't expire.
|
|
186
|
+
*/
|
|
187
|
+
expiresAt?: pulumi.Input<number | undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* 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.
|
|
190
|
+
*/
|
|
191
|
+
metadata?: pulumi.Input<{
|
|
192
|
+
[key: string]: pulumi.Input<string>;
|
|
193
|
+
} | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* A descriptive name shown in dashboard.
|
|
196
|
+
*/
|
|
197
|
+
name?: pulumi.Input<string | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
|
|
200
|
+
*/
|
|
201
|
+
priority?: pulumi.Input<number | undefined>;
|
|
202
|
+
}
|
|
203
|
+
//# sourceMappingURL=billingCreditGrant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingCreditGrant.d.ts","sourceRoot":"","sources":["../billingCreditGrant.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kBAAkB;IAItJ;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB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K,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C"}
|
|
@@ -0,0 +1,118 @@
|
|
|
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.BillingCreditGrant = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class BillingCreditGrant extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing BillingCreditGrant 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 BillingCreditGrant(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing BillingCreditGrant 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/billingCreditGrant:BillingCreditGrant", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'stripe:index/billingCreditGrant:BillingCreditGrant';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of BillingCreditGrant. 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'] === BillingCreditGrant.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["amount"] = state?.amount;
|
|
72
|
+
resourceInputs["applicabilityConfig"] = state?.applicabilityConfig;
|
|
73
|
+
resourceInputs["category"] = state?.category;
|
|
74
|
+
resourceInputs["created"] = state?.created;
|
|
75
|
+
resourceInputs["customer"] = state?.customer;
|
|
76
|
+
resourceInputs["customerAccount"] = state?.customerAccount;
|
|
77
|
+
resourceInputs["effectiveAt"] = state?.effectiveAt;
|
|
78
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
79
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
80
|
+
resourceInputs["metadata"] = state?.metadata;
|
|
81
|
+
resourceInputs["name"] = state?.name;
|
|
82
|
+
resourceInputs["object"] = state?.object;
|
|
83
|
+
resourceInputs["priority"] = state?.priority;
|
|
84
|
+
resourceInputs["testClock"] = state?.testClock;
|
|
85
|
+
resourceInputs["updated"] = state?.updated;
|
|
86
|
+
resourceInputs["voidedAt"] = state?.voidedAt;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
const args = argsOrState;
|
|
90
|
+
if (args?.amount === undefined && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'amount'");
|
|
92
|
+
}
|
|
93
|
+
if (args?.applicabilityConfig === undefined && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'applicabilityConfig'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["amount"] = args?.amount;
|
|
97
|
+
resourceInputs["applicabilityConfig"] = args?.applicabilityConfig;
|
|
98
|
+
resourceInputs["category"] = args?.category;
|
|
99
|
+
resourceInputs["customer"] = args?.customer;
|
|
100
|
+
resourceInputs["customerAccount"] = args?.customerAccount;
|
|
101
|
+
resourceInputs["effectiveAt"] = args?.effectiveAt;
|
|
102
|
+
resourceInputs["expiresAt"] = args?.expiresAt;
|
|
103
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
104
|
+
resourceInputs["name"] = args?.name;
|
|
105
|
+
resourceInputs["priority"] = args?.priority;
|
|
106
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["testClock"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["updated"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["voidedAt"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(BillingCreditGrant.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.BillingCreditGrant = BillingCreditGrant;
|
|
118
|
+
//# sourceMappingURL=billingCreditGrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingCreditGrant.js","sourceRoot":"","sources":["../billingCreditGrant.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAA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G,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACrH,CAAC;;AA1JL,gDA2JC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 BillingFeedbackOption extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing BillingFeedbackOption 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?: BillingFeedbackOptionState, opts?: pulumi.CustomResourceOptions): BillingFeedbackOption;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing BillingFeedbackOption resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: BillingFeedbackOptionState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of BillingFeedbackOption. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is BillingFeedbackOption;
|
|
28
|
+
/**
|
|
29
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
30
|
+
*/
|
|
31
|
+
readonly description: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* 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>.
|
|
34
|
+
*/
|
|
35
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
36
|
+
/**
|
|
37
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
38
|
+
*/
|
|
39
|
+
readonly object: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The feedback option's status.
|
|
42
|
+
*/
|
|
43
|
+
readonly status: pulumi.Output<string>;
|
|
44
|
+
readonly statusTransitions: pulumi.Output<outputs.BillingFeedbackOptionStatusTransitions>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a BillingFeedbackOption resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args: BillingFeedbackOptionArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Input properties used for looking up and filtering BillingFeedbackOption resources.
|
|
56
|
+
*/
|
|
57
|
+
export interface BillingFeedbackOptionState {
|
|
58
|
+
/**
|
|
59
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
60
|
+
*/
|
|
61
|
+
description?: pulumi.Input<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* 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>.
|
|
64
|
+
*/
|
|
65
|
+
livemode?: pulumi.Input<boolean | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
68
|
+
*/
|
|
69
|
+
object?: pulumi.Input<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The feedback option's status.
|
|
72
|
+
*/
|
|
73
|
+
status?: pulumi.Input<string | undefined>;
|
|
74
|
+
statusTransitions?: pulumi.Input<inputs.BillingFeedbackOptionStatusTransitions | undefined>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a BillingFeedbackOption resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface BillingFeedbackOptionArgs {
|
|
80
|
+
/**
|
|
81
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
82
|
+
*/
|
|
83
|
+
description: pulumi.Input<string>;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=billingFeedbackOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingFeedbackOption.d.ts","sourceRoot":"","sources":["../billingFeedbackOption.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAI5J;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAO/I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE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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.BillingFeedbackOption = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class BillingFeedbackOption extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing BillingFeedbackOption 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 BillingFeedbackOption(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing BillingFeedbackOption 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/billingFeedbackOption:BillingFeedbackOption", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'stripe:index/billingFeedbackOption:BillingFeedbackOption';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of BillingFeedbackOption. 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'] === BillingFeedbackOption.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["description"] = state?.description;
|
|
72
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
73
|
+
resourceInputs["object"] = state?.object;
|
|
74
|
+
resourceInputs["status"] = state?.status;
|
|
75
|
+
resourceInputs["statusTransitions"] = state?.statusTransitions;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if (args?.description === undefined && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'description'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["description"] = args?.description;
|
|
83
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["statusTransitions"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(BillingFeedbackOption.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.BillingFeedbackOption = BillingFeedbackOption;
|
|
93
|
+
//# sourceMappingURL=billingFeedbackOption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingFeedbackOption.js","sourceRoot":"","sources":["../billingFeedbackOption.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAkC,EAAE,IAAmC;QAClH,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,0DAA0D,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,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