@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.
- package/README.md +3 -3
- package/bin/applePayDomain.d.ts +64 -0
- package/bin/applePayDomain.d.ts.map +1 -0
- package/bin/applePayDomain.js +81 -0
- package/bin/applePayDomain.js.map +1 -0
- package/bin/billingAlert.d.ts +99 -0
- package/bin/billingAlert.d.ts.map +1 -0
- package/bin/billingAlert.js +88 -0
- package/bin/billingAlert.js.map +1 -0
- package/bin/billingCreditGrant.d.ts +195 -0
- package/bin/billingCreditGrant.d.ts.map +1 -0
- package/bin/billingCreditGrant.js +108 -0
- package/bin/billingCreditGrant.js.map +1 -0
- package/bin/billingMeter.d.ts +126 -0
- package/bin/billingMeter.d.ts.map +1 -0
- package/bin/billingMeter.js +100 -0
- package/bin/billingMeter.js.map +1 -0
- package/bin/billingPortalConfiguration.d.ts +142 -0
- package/bin/billingPortalConfiguration.d.ts.map +1 -0
- package/bin/billingPortalConfiguration.js +97 -0
- package/bin/billingPortalConfiguration.js.map +1 -0
- package/bin/charge.d.ts +488 -0
- package/bin/charge.d.ts.map +1 -0
- package/bin/charge.js +166 -0
- package/bin/charge.js.map +1 -0
- package/bin/climateOrder.d.ts +239 -0
- package/bin/climateOrder.d.ts.map +1 -0
- package/bin/climateOrder.js +119 -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 +208 -0
- package/bin/coupon.d.ts.map +1 -0
- package/bin/coupon.js +102 -0
- package/bin/coupon.js.map +1 -0
- package/bin/creditNote.d.ts +366 -0
- package/bin/creditNote.d.ts.map +1 -0
- package/bin/creditNote.js +141 -0
- package/bin/creditNote.js.map +1 -0
- package/bin/customer.d.ts +376 -0
- package/bin/customer.d.ts.map +1 -0
- package/bin/customer.js +134 -0
- package/bin/customer.js.map +1 -0
- package/bin/customerBalanceTransaction.d.ts +167 -0
- package/bin/customerBalanceTransaction.d.ts.map +1 -0
- package/bin/customerBalanceTransaction.js +105 -0
- package/bin/customerBalanceTransaction.js.map +1 -0
- package/bin/entitlementsFeature.d.ts +103 -0
- package/bin/entitlementsFeature.d.ts.map +1 -0
- package/bin/entitlementsFeature.js +85 -0
- package/bin/entitlementsFeature.js.map +1 -0
- package/bin/file.d.ts +145 -0
- package/bin/file.d.ts.map +1 -0
- package/bin/file.js +100 -0
- package/bin/file.js.map +1 -0
- package/bin/fileLink.d.ts +119 -0
- package/bin/fileLink.d.ts.map +1 -0
- package/bin/fileLink.js +89 -0
- package/bin/fileLink.js.map +1 -0
- package/bin/index.d.ts +152 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +305 -0
- package/bin/index.js.map +1 -0
- package/bin/invoice.d.ts +785 -0
- package/bin/invoice.d.ts.map +1 -0
- package/bin/invoice.js +230 -0
- package/bin/invoice.js.map +1 -0
- package/bin/invoiceItem.d.ts +326 -0
- package/bin/invoiceItem.d.ts.map +1 -0
- package/bin/invoiceItem.js +122 -0
- package/bin/invoiceItem.js.map +1 -0
- package/bin/issuingCard.d.ts +305 -0
- package/bin/issuingCard.d.ts.map +1 -0
- package/bin/issuingCard.js +128 -0
- package/bin/issuingCard.js.map +1 -0
- package/bin/issuingCardholder.d.ts +197 -0
- package/bin/issuingCardholder.d.ts.map +1 -0
- package/bin/issuingCardholder.js +103 -0
- package/bin/issuingCardholder.js.map +1 -0
- package/bin/issuingDispute.d.ts +144 -0
- package/bin/issuingDispute.d.ts.map +1 -0
- package/bin/issuingDispute.js +92 -0
- package/bin/issuingDispute.js.map +1 -0
- package/bin/issuingPersonalizationDesign.d.ts +169 -0
- package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
- package/bin/issuingPersonalizationDesign.js +101 -0
- package/bin/issuingPersonalizationDesign.js.map +1 -0
- package/bin/package.json +35 -0
- package/bin/paymentIntent.d.ts +646 -0
- package/bin/paymentIntent.d.ts.map +1 -0
- package/bin/paymentIntent.js +180 -0
- package/bin/paymentIntent.js.map +1 -0
- package/bin/paymentLink.d.ts +407 -0
- package/bin/paymentLink.d.ts.map +1 -0
- package/bin/paymentLink.js +145 -0
- package/bin/paymentLink.js.map +1 -0
- package/bin/paymentMethod.d.ts +215 -0
- package/bin/paymentMethod.d.ts.map +1 -0
- package/bin/paymentMethod.js +138 -0
- package/bin/paymentMethod.js.map +1 -0
- package/bin/paymentMethodConfiguration.d.ts +296 -0
- package/bin/paymentMethodConfiguration.d.ts.map +1 -0
- package/bin/paymentMethodConfiguration.js +204 -0
- package/bin/paymentMethodConfiguration.js.map +1 -0
- package/bin/paymentMethodDomain.d.ts +135 -0
- package/bin/paymentMethodDomain.d.ts.map +1 -0
- package/bin/paymentMethodDomain.js +95 -0
- package/bin/paymentMethodDomain.js.map +1 -0
- package/bin/person.d.ts +410 -0
- package/bin/person.d.ts.map +1 -0
- package/bin/person.js +147 -0
- package/bin/person.js.map +1 -0
- package/bin/plan.d.ts +261 -0
- package/bin/plan.d.ts.map +1 -0
- package/bin/plan.js +114 -0
- package/bin/plan.js.map +1 -0
- package/bin/price.d.ts +296 -0
- package/bin/price.d.ts.map +1 -0
- package/bin/price.js +119 -0
- package/bin/price.js.map +1 -0
- package/bin/product.d.ts +253 -0
- package/bin/product.d.ts.map +1 -0
- package/bin/product.js +108 -0
- package/bin/product.js.map +1 -0
- package/bin/productFeature.d.ts +71 -0
- package/bin/productFeature.d.ts.map +1 -0
- package/bin/productFeature.js +84 -0
- package/bin/productFeature.js.map +1 -0
- package/bin/promotionCode.d.ts +167 -0
- package/bin/promotionCode.d.ts.map +1 -0
- package/bin/promotionCode.js +96 -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 +342 -0
- package/bin/quote.d.ts.map +1 -0
- package/bin/quote.js +134 -0
- package/bin/quote.js.map +1 -0
- package/bin/radarValueList.d.ts +123 -0
- package/bin/radarValueList.d.ts.map +1 -0
- package/bin/radarValueList.js +89 -0
- package/bin/radarValueList.js.map +1 -0
- package/bin/radarValueListItem.d.ts +93 -0
- package/bin/radarValueListItem.d.ts.map +1 -0
- package/bin/radarValueListItem.js +88 -0
- package/bin/radarValueListItem.js.map +1 -0
- package/bin/setupIntent.d.ts +476 -0
- package/bin/setupIntent.d.ts.map +1 -0
- package/bin/setupIntent.js +142 -0
- package/bin/setupIntent.js.map +1 -0
- package/bin/shippingRate.d.ts +156 -0
- package/bin/shippingRate.d.ts.map +1 -0
- package/bin/shippingRate.js +95 -0
- package/bin/shippingRate.js.map +1 -0
- package/bin/source.d.ts +295 -0
- package/bin/source.d.ts.map +1 -0
- package/bin/source.js +154 -0
- package/bin/source.js.map +1 -0
- package/bin/subscription.d.ts +634 -0
- package/bin/subscription.d.ts.map +1 -0
- package/bin/subscription.js +178 -0
- package/bin/subscription.js.map +1 -0
- package/bin/subscriptionItem.d.ts +277 -0
- package/bin/subscriptionItem.d.ts.map +1 -0
- package/bin/subscriptionItem.js +109 -0
- package/bin/subscriptionItem.js.map +1 -0
- package/bin/subscriptionSchedule.d.ts +243 -0
- package/bin/subscriptionSchedule.d.ts.map +1 -0
- package/bin/subscriptionSchedule.js +114 -0
- package/bin/subscriptionSchedule.js.map +1 -0
- package/bin/taxId.d.ts +131 -0
- package/bin/taxId.d.ts.map +1 -0
- package/bin/taxId.js +99 -0
- package/bin/taxId.js.map +1 -0
- package/bin/taxRate.d.ts +225 -0
- package/bin/taxRate.d.ts.map +1 -0
- package/bin/taxRate.js +113 -0
- package/bin/taxRate.js.map +1 -0
- package/bin/taxRegistration.d.ts +110 -0
- package/bin/taxRegistration.d.ts.map +1 -0
- package/bin/taxRegistration.js +95 -0
- package/bin/taxRegistration.js.map +1 -0
- package/bin/terminalConfiguration.d.ts +117 -0
- package/bin/terminalConfiguration.d.ts.map +1 -0
- package/bin/terminalConfiguration.js +106 -0
- package/bin/terminalConfiguration.js.map +1 -0
- package/bin/terminalLocation.d.ts +139 -0
- package/bin/terminalLocation.d.ts.map +1 -0
- package/bin/terminalLocation.js +90 -0
- package/bin/terminalLocation.js.map +1 -0
- package/bin/terminalReader.d.ts +160 -0
- package/bin/terminalReader.d.ts.map +1 -0
- package/bin/terminalReader.js +99 -0
- package/bin/terminalReader.js.map +1 -0
- package/bin/treasuryFinancialAccount.d.ts +195 -0
- package/bin/treasuryFinancialAccount.d.ts.map +1 -0
- package/bin/treasuryFinancialAccount.js +109 -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 +16586 -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 +16585 -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 +152 -0
- package/bin/utilities.js.map +1 -0
- package/bin/v2coreEventDestination.d.ts +252 -0
- package/bin/v2coreEventDestination.d.ts.map +1 -0
- package/bin/v2coreEventDestination.js +117 -0
- package/bin/v2coreEventDestination.js.map +1 -0
- package/bin/webhookEndpoint.d.ts +163 -0
- package/bin/webhookEndpoint.d.ts.map +1 -0
- package/bin/webhookEndpoint.js +102 -0
- package/bin/webhookEndpoint.js.map +1 -0
- package/package.json +32 -3
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'stripe:index/billingCreditGrant:BillingCreditGrant';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of BillingCreditGrant. 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'] === BillingCreditGrant.__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["applicabilityConfig"] = state?.applicabilityConfig;
|
|
63
|
+
resourceInputs["category"] = state?.category;
|
|
64
|
+
resourceInputs["created"] = state?.created;
|
|
65
|
+
resourceInputs["customer"] = state?.customer;
|
|
66
|
+
resourceInputs["customerAccount"] = state?.customerAccount;
|
|
67
|
+
resourceInputs["effectiveAt"] = state?.effectiveAt;
|
|
68
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
69
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
70
|
+
resourceInputs["metadata"] = state?.metadata;
|
|
71
|
+
resourceInputs["name"] = state?.name;
|
|
72
|
+
resourceInputs["object"] = state?.object;
|
|
73
|
+
resourceInputs["priority"] = state?.priority;
|
|
74
|
+
resourceInputs["testClock"] = state?.testClock;
|
|
75
|
+
resourceInputs["updated"] = state?.updated;
|
|
76
|
+
resourceInputs["voidedAt"] = state?.voidedAt;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const args = argsOrState;
|
|
80
|
+
if (args?.amount === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'amount'");
|
|
82
|
+
}
|
|
83
|
+
if (args?.applicabilityConfig === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'applicabilityConfig'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["amount"] = args?.amount;
|
|
87
|
+
resourceInputs["applicabilityConfig"] = args?.applicabilityConfig;
|
|
88
|
+
resourceInputs["category"] = args?.category;
|
|
89
|
+
resourceInputs["customer"] = args?.customer;
|
|
90
|
+
resourceInputs["customerAccount"] = args?.customerAccount;
|
|
91
|
+
resourceInputs["effectiveAt"] = args?.effectiveAt;
|
|
92
|
+
resourceInputs["expiresAt"] = args?.expiresAt;
|
|
93
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
94
|
+
resourceInputs["name"] = args?.name;
|
|
95
|
+
resourceInputs["priority"] = args?.priority;
|
|
96
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["testClock"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["updated"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["voidedAt"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(BillingCreditGrant.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.BillingCreditGrant = BillingCreditGrant;
|
|
108
|
+
//# sourceMappingURL=billingCreditGrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingCreditGrant.js","sourceRoot":"","sources":["../bill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AG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,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;;AA/IL,gDAgJC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
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 BillingMeter extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing BillingMeter 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?: BillingMeterState, opts?: pulumi.CustomResourceOptions): BillingMeter;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of BillingMeter. 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 BillingMeter;
|
|
20
|
+
/**
|
|
21
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
22
|
+
*/
|
|
23
|
+
readonly created: pulumi.Output<number>;
|
|
24
|
+
readonly customerMappings: pulumi.Output<outputs.BillingMeterCustomerMapping[] | undefined>;
|
|
25
|
+
readonly defaultAggregations: pulumi.Output<outputs.BillingMeterDefaultAggregation[] | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The meter's name.
|
|
28
|
+
*/
|
|
29
|
+
readonly displayName: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the meter event to record usage for. Corresponds with the <span pulumi-lang-nodejs="`eventName`" pulumi-lang-dotnet="`EventName`" pulumi-lang-go="`eventName`" pulumi-lang-python="`event_name`" pulumi-lang-yaml="`eventName`" pulumi-lang-java="`eventName`" pulumi-lang-hcl="`event_name`">`eventName`</span> field on meter events.
|
|
32
|
+
*/
|
|
33
|
+
readonly eventName: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The time window which meter events have been pre-aggregated for, if any.
|
|
36
|
+
*/
|
|
37
|
+
readonly eventTimeWindow: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* 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>.
|
|
40
|
+
*/
|
|
41
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
44
|
+
*/
|
|
45
|
+
readonly object: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The meter's status.
|
|
48
|
+
*/
|
|
49
|
+
readonly status: pulumi.Output<string>;
|
|
50
|
+
readonly statusTransitions: pulumi.Output<outputs.BillingMeterStatusTransitions>;
|
|
51
|
+
/**
|
|
52
|
+
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
53
|
+
*/
|
|
54
|
+
readonly updated: pulumi.Output<number>;
|
|
55
|
+
readonly valueSettings: pulumi.Output<outputs.BillingMeterValueSetting[] | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a BillingMeter resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: BillingMeterArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering BillingMeter resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface BillingMeterState {
|
|
69
|
+
/**
|
|
70
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
71
|
+
*/
|
|
72
|
+
created?: pulumi.Input<number>;
|
|
73
|
+
customerMappings?: pulumi.Input<pulumi.Input<inputs.BillingMeterCustomerMapping>[]>;
|
|
74
|
+
defaultAggregations?: pulumi.Input<pulumi.Input<inputs.BillingMeterDefaultAggregation>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* The meter's name.
|
|
77
|
+
*/
|
|
78
|
+
displayName?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the meter event to record usage for. Corresponds with the <span pulumi-lang-nodejs="`eventName`" pulumi-lang-dotnet="`EventName`" pulumi-lang-go="`eventName`" pulumi-lang-python="`event_name`" pulumi-lang-yaml="`eventName`" pulumi-lang-java="`eventName`" pulumi-lang-hcl="`event_name`">`eventName`</span> field on meter events.
|
|
81
|
+
*/
|
|
82
|
+
eventName?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The time window which meter events have been pre-aggregated for, if any.
|
|
85
|
+
*/
|
|
86
|
+
eventTimeWindow?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* 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>.
|
|
89
|
+
*/
|
|
90
|
+
livemode?: pulumi.Input<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
93
|
+
*/
|
|
94
|
+
object?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The meter's status.
|
|
97
|
+
*/
|
|
98
|
+
status?: pulumi.Input<string>;
|
|
99
|
+
statusTransitions?: pulumi.Input<inputs.BillingMeterStatusTransitions>;
|
|
100
|
+
/**
|
|
101
|
+
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
102
|
+
*/
|
|
103
|
+
updated?: pulumi.Input<number>;
|
|
104
|
+
valueSettings?: pulumi.Input<pulumi.Input<inputs.BillingMeterValueSetting>[]>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a BillingMeter resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface BillingMeterArgs {
|
|
110
|
+
customerMappings?: pulumi.Input<pulumi.Input<inputs.BillingMeterCustomerMapping>[]>;
|
|
111
|
+
defaultAggregations?: pulumi.Input<pulumi.Input<inputs.BillingMeterDefaultAggregation>[]>;
|
|
112
|
+
/**
|
|
113
|
+
* The meter's name.
|
|
114
|
+
*/
|
|
115
|
+
displayName: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The name of the meter event to record usage for. Corresponds with the <span pulumi-lang-nodejs="`eventName`" pulumi-lang-dotnet="`EventName`" pulumi-lang-go="`eventName`" pulumi-lang-python="`event_name`" pulumi-lang-yaml="`eventName`" pulumi-lang-java="`eventName`" pulumi-lang-hcl="`event_name`">`eventName`</span> field on meter events.
|
|
118
|
+
*/
|
|
119
|
+
eventName: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The time window which meter events have been pre-aggregated for, if any.
|
|
122
|
+
*/
|
|
123
|
+
eventTimeWindow?: pulumi.Input<string>;
|
|
124
|
+
valueSettings?: pulumi.Input<pulumi.Input<inputs.BillingMeterValueSetting>[]>;
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=billingMeter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingMeter.d.ts","sourceRoot":"","sources":["../billingMeter.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,YAAa,S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aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;CACjF;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,EAAE,CAAC,CAAC;IACpF,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,8BAA8B,CAAC,EAAE,CAAC,CAAC;IAC1F;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;CACjF"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.BillingMeter = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class BillingMeter extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing BillingMeter 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 BillingMeter(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'stripe:index/billingMeter:BillingMeter';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of BillingMeter. 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'] === BillingMeter.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["created"] = state?.created;
|
|
62
|
+
resourceInputs["customerMappings"] = state?.customerMappings;
|
|
63
|
+
resourceInputs["defaultAggregations"] = state?.defaultAggregations;
|
|
64
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
65
|
+
resourceInputs["eventName"] = state?.eventName;
|
|
66
|
+
resourceInputs["eventTimeWindow"] = state?.eventTimeWindow;
|
|
67
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
68
|
+
resourceInputs["object"] = state?.object;
|
|
69
|
+
resourceInputs["status"] = state?.status;
|
|
70
|
+
resourceInputs["statusTransitions"] = state?.statusTransitions;
|
|
71
|
+
resourceInputs["updated"] = state?.updated;
|
|
72
|
+
resourceInputs["valueSettings"] = state?.valueSettings;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if (args?.displayName === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'displayName'");
|
|
78
|
+
}
|
|
79
|
+
if (args?.eventName === undefined && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'eventName'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["customerMappings"] = args?.customerMappings;
|
|
83
|
+
resourceInputs["defaultAggregations"] = args?.defaultAggregations;
|
|
84
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
85
|
+
resourceInputs["eventName"] = args?.eventName;
|
|
86
|
+
resourceInputs["eventTimeWindow"] = args?.eventTimeWindow;
|
|
87
|
+
resourceInputs["valueSettings"] = args?.valueSettings;
|
|
88
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["statusTransitions"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["updated"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(BillingMeter.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.BillingMeter = BillingMeter;
|
|
100
|
+
//# sourceMappingURL=billingMeter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingMeter.js","sourceRoot":"","sources":["../billingMeter.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,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wCAAwC,CAAC;IAE/E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,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C,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,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,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,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;;AAjHL,oCAkHC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 BillingPortalConfiguration extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing BillingPortalConfiguration 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?: BillingPortalConfigurationState, opts?: pulumi.CustomResourceOptions): BillingPortalConfiguration;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of BillingPortalConfiguration. 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 BillingPortalConfiguration;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the configuration is active and can be used to create portal sessions.
|
|
22
|
+
*/
|
|
23
|
+
readonly active: pulumi.Output<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the Connect Application that created the configuration.
|
|
26
|
+
*/
|
|
27
|
+
readonly application: pulumi.Output<string>;
|
|
28
|
+
readonly businessProfile: pulumi.Output<outputs.BillingPortalConfigurationBusinessProfile>;
|
|
29
|
+
/**
|
|
30
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
31
|
+
*/
|
|
32
|
+
readonly created: pulumi.Output<number>;
|
|
33
|
+
/**
|
|
34
|
+
* The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
|
|
35
|
+
*/
|
|
36
|
+
readonly defaultReturnUrl: pulumi.Output<string>;
|
|
37
|
+
readonly features: pulumi.Output<outputs.BillingPortalConfigurationFeatures>;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the configuration is the default. If <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session.
|
|
40
|
+
*/
|
|
41
|
+
readonly isDefault: pulumi.Output<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* 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>.
|
|
44
|
+
*/
|
|
45
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
46
|
+
readonly loginPage: pulumi.Output<outputs.BillingPortalConfigurationLoginPage>;
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
readonly metadata: pulumi.Output<{
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the configuration.
|
|
55
|
+
*/
|
|
56
|
+
readonly name: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
59
|
+
*/
|
|
60
|
+
readonly object: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a BillingPortalConfiguration resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: BillingPortalConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering BillingPortalConfiguration resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface BillingPortalConfigurationState {
|
|
74
|
+
/**
|
|
75
|
+
* Whether the configuration is active and can be used to create portal sessions.
|
|
76
|
+
*/
|
|
77
|
+
active?: pulumi.Input<boolean>;
|
|
78
|
+
/**
|
|
79
|
+
* ID of the Connect Application that created the configuration.
|
|
80
|
+
*/
|
|
81
|
+
application?: pulumi.Input<string>;
|
|
82
|
+
businessProfile?: pulumi.Input<inputs.BillingPortalConfigurationBusinessProfile>;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
85
|
+
*/
|
|
86
|
+
created?: pulumi.Input<number>;
|
|
87
|
+
/**
|
|
88
|
+
* The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
|
|
89
|
+
*/
|
|
90
|
+
defaultReturnUrl?: pulumi.Input<string>;
|
|
91
|
+
features?: pulumi.Input<inputs.BillingPortalConfigurationFeatures>;
|
|
92
|
+
/**
|
|
93
|
+
* Whether the configuration is the default. If <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session.
|
|
94
|
+
*/
|
|
95
|
+
isDefault?: pulumi.Input<boolean>;
|
|
96
|
+
/**
|
|
97
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
98
|
+
*/
|
|
99
|
+
livemode?: pulumi.Input<boolean>;
|
|
100
|
+
loginPage?: pulumi.Input<inputs.BillingPortalConfigurationLoginPage>;
|
|
101
|
+
/**
|
|
102
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
103
|
+
*/
|
|
104
|
+
metadata?: pulumi.Input<{
|
|
105
|
+
[key: string]: pulumi.Input<string>;
|
|
106
|
+
}>;
|
|
107
|
+
/**
|
|
108
|
+
* The name of the configuration.
|
|
109
|
+
*/
|
|
110
|
+
name?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
113
|
+
*/
|
|
114
|
+
object?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a BillingPortalConfiguration resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface BillingPortalConfigurationArgs {
|
|
120
|
+
/**
|
|
121
|
+
* Whether the configuration is active and can be used to create portal sessions.
|
|
122
|
+
*/
|
|
123
|
+
active?: pulumi.Input<boolean>;
|
|
124
|
+
businessProfile?: pulumi.Input<inputs.BillingPortalConfigurationBusinessProfile>;
|
|
125
|
+
/**
|
|
126
|
+
* The default URL to redirect customers to when they click on the portal's link to return to your website. This can be [overriden](https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.
|
|
127
|
+
*/
|
|
128
|
+
defaultReturnUrl?: pulumi.Input<string>;
|
|
129
|
+
features: pulumi.Input<inputs.BillingPortalConfigurationFeatures>;
|
|
130
|
+
loginPage?: pulumi.Input<inputs.BillingPortalConfigurationLoginPage>;
|
|
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
|
+
}>;
|
|
137
|
+
/**
|
|
138
|
+
* The name of the configuration.
|
|
139
|
+
*/
|
|
140
|
+
name?: pulumi.Input<string>;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=billingPortalConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingPortalConfiguration.d.ts","sourceRoot":"","sources":["../billingPortalConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,0BAA0B;IAOtK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,0BAA0B;IAOrE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvD;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnE,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC;IAC1G;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,gB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IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.BillingPortalConfiguration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class BillingPortalConfiguration extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing BillingPortalConfiguration 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 BillingPortalConfiguration(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'stripe:index/billingPortalConfiguration:BillingPortalConfiguration';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of BillingPortalConfiguration. 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'] === BillingPortalConfiguration.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["active"] = state?.active;
|
|
62
|
+
resourceInputs["application"] = state?.application;
|
|
63
|
+
resourceInputs["businessProfile"] = state?.businessProfile;
|
|
64
|
+
resourceInputs["created"] = state?.created;
|
|
65
|
+
resourceInputs["defaultReturnUrl"] = state?.defaultReturnUrl;
|
|
66
|
+
resourceInputs["features"] = state?.features;
|
|
67
|
+
resourceInputs["isDefault"] = state?.isDefault;
|
|
68
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
69
|
+
resourceInputs["loginPage"] = state?.loginPage;
|
|
70
|
+
resourceInputs["metadata"] = state?.metadata;
|
|
71
|
+
resourceInputs["name"] = state?.name;
|
|
72
|
+
resourceInputs["object"] = state?.object;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if (args?.features === undefined && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'features'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["active"] = args?.active;
|
|
80
|
+
resourceInputs["businessProfile"] = args?.businessProfile;
|
|
81
|
+
resourceInputs["defaultReturnUrl"] = args?.defaultReturnUrl;
|
|
82
|
+
resourceInputs["features"] = args?.features;
|
|
83
|
+
resourceInputs["loginPage"] = args?.loginPage;
|
|
84
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
85
|
+
resourceInputs["name"] = args?.name;
|
|
86
|
+
resourceInputs["application"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["isDefault"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(BillingPortalConfiguration.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.BillingPortalConfiguration = BillingPortalConfiguration;
|
|
97
|
+
//# sourceMappingURL=billingPortalConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingPortalConfiguration.js","sourceRoot":"","sources":["../billingPortalConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAA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