@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,376 @@
|
|
|
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 Customer extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing Customer 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?: CustomerState, opts?: pulumi.CustomResourceOptions): Customer;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Customer. 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 Customer;
|
|
20
|
+
/**
|
|
21
|
+
* The customer's address.
|
|
22
|
+
*/
|
|
23
|
+
readonly addresses: pulumi.Output<outputs.CustomerAddress[] | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The current balance, if any, that's stored on the customer in their default currency. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize. For multi-currency balances, see <span pulumi-lang-nodejs="[invoiceCreditBalance]" pulumi-lang-dotnet="[InvoiceCreditBalance]" pulumi-lang-go="[invoiceCreditBalance]" pulumi-lang-python="[invoice_credit_balance]" pulumi-lang-yaml="[invoiceCreditBalance]" pulumi-lang-java="[invoiceCreditBalance]" pulumi-lang-hcl="[invoice_credit_balance]">[invoiceCreditBalance]</span>(https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance).
|
|
26
|
+
*/
|
|
27
|
+
readonly balance: pulumi.Output<number>;
|
|
28
|
+
/**
|
|
29
|
+
* The customer's business name.
|
|
30
|
+
*/
|
|
31
|
+
readonly businessName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is <span pulumi-lang-nodejs=""cashBalance"" pulumi-lang-dotnet=""CashBalance"" pulumi-lang-go=""cashBalance"" pulumi-lang-python=""cash_balance"" pulumi-lang-yaml=""cashBalance"" pulumi-lang-java=""cashBalance"" pulumi-lang-hcl=""cash_balance"">"cashBalance"</span>. The `settings<span pulumi-lang-nodejs="[reconciliationMode]" pulumi-lang-dotnet="[ReconciliationMode]" pulumi-lang-go="[reconciliationMode]" pulumi-lang-python="[reconciliation_mode]" pulumi-lang-yaml="[reconciliationMode]" pulumi-lang-java="[reconciliationMode]" pulumi-lang-hcl="[reconciliation_mode]">[reconciliationMode]</span>` field describes if these funds apply to these payment intents manually or automatically.
|
|
34
|
+
*/
|
|
35
|
+
readonly cashBalances: pulumi.Output<outputs.CustomerCashBalance[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
38
|
+
*/
|
|
39
|
+
readonly created: pulumi.Output<number>;
|
|
40
|
+
/**
|
|
41
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
|
|
42
|
+
*/
|
|
43
|
+
readonly currency: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of an Account representing a customer. You can use this ID with any v1 API that accepts a<span pulumi-lang-nodejs=" customerAccount " pulumi-lang-dotnet=" CustomerAccount " pulumi-lang-go=" customerAccount " pulumi-lang-python=" customer_account " pulumi-lang-yaml=" customerAccount " pulumi-lang-java=" customerAccount " pulumi-lang-hcl=" customer_account "> customerAccount </span>parameter.
|
|
46
|
+
*/
|
|
47
|
+
readonly customerAccount: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* ID of the default payment source for the customer.
|
|
50
|
+
*
|
|
51
|
+
* If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
|
|
52
|
+
*/
|
|
53
|
+
readonly defaultSource: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to <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>.
|
|
56
|
+
*
|
|
57
|
+
* If an invoice becomes uncollectible by [dunning](https://docs.stripe.com/billing/automatic-collection), <span pulumi-lang-nodejs="`delinquent`" pulumi-lang-dotnet="`Delinquent`" pulumi-lang-go="`delinquent`" pulumi-lang-python="`delinquent`" pulumi-lang-yaml="`delinquent`" pulumi-lang-java="`delinquent`" pulumi-lang-hcl="`delinquent`">`delinquent`</span> doesn't reset to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
58
|
+
*
|
|
59
|
+
* If you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
60
|
+
*/
|
|
61
|
+
readonly delinquent: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Describes the current discount active on the customer, if there is one.
|
|
68
|
+
*/
|
|
69
|
+
readonly discount: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The customer's email address.
|
|
72
|
+
*/
|
|
73
|
+
readonly email: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The customer's individual name.
|
|
76
|
+
*/
|
|
77
|
+
readonly individualName: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The current multi-currency balances, if any, that's stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that's added to their next invoice denominated in that currency. These balances don't apply to unpaid invoices. They solely track amounts that Stripe hasn't successfully applied to any invoice. Stripe only applies a balance in a specific currency to an invoice after that invoice (which is in the same currency) finalizes.
|
|
80
|
+
*/
|
|
81
|
+
readonly invoiceCreditBalance: pulumi.Output<{
|
|
82
|
+
[key: string]: number;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* The prefix for the customer used to generate unique invoice numbers.
|
|
86
|
+
*/
|
|
87
|
+
readonly invoicePrefix: pulumi.Output<string>;
|
|
88
|
+
readonly invoiceSettings: pulumi.Output<outputs.CustomerInvoiceSetting[] | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* 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>.
|
|
91
|
+
*/
|
|
92
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* 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.
|
|
95
|
+
*/
|
|
96
|
+
readonly metadata: pulumi.Output<{
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
}>;
|
|
99
|
+
/**
|
|
100
|
+
* The customer's full name or business name.
|
|
101
|
+
*/
|
|
102
|
+
readonly name: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The suffix of the customer's next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field omitted in API responses.
|
|
105
|
+
*/
|
|
106
|
+
readonly nextInvoiceSequence: pulumi.Output<number>;
|
|
107
|
+
/**
|
|
108
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
109
|
+
*/
|
|
110
|
+
readonly object: pulumi.Output<string>;
|
|
111
|
+
readonly paymentMethod: pulumi.Output<string | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* The customer's phone number.
|
|
114
|
+
*/
|
|
115
|
+
readonly phone: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The customer's preferred locales (languages), ordered by preference.
|
|
118
|
+
*/
|
|
119
|
+
readonly preferredLocales: pulumi.Output<string[]>;
|
|
120
|
+
/**
|
|
121
|
+
* Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
|
|
122
|
+
*/
|
|
123
|
+
readonly shippings: pulumi.Output<outputs.CustomerShipping[] | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
126
|
+
*/
|
|
127
|
+
readonly source: pulumi.Output<string | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Describes the customer's tax exemption status, which is <span pulumi-lang-nodejs="`none`" pulumi-lang-dotnet="`None`" pulumi-lang-go="`none`" pulumi-lang-python="`none`" pulumi-lang-yaml="`none`" pulumi-lang-java="`none`" pulumi-lang-hcl="`none`">`none`</span>, <span pulumi-lang-nodejs="`exempt`" pulumi-lang-dotnet="`Exempt`" pulumi-lang-go="`exempt`" pulumi-lang-python="`exempt`" pulumi-lang-yaml="`exempt`" pulumi-lang-java="`exempt`" pulumi-lang-hcl="`exempt`">`exempt`</span>, or <span pulumi-lang-nodejs="`reverse`" pulumi-lang-dotnet="`Reverse`" pulumi-lang-go="`reverse`" pulumi-lang-python="`reverse`" pulumi-lang-yaml="`reverse`" pulumi-lang-java="`reverse`" pulumi-lang-hcl="`reverse`">`reverse`</span>. When set to <span pulumi-lang-nodejs="`reverse`" pulumi-lang-dotnet="`Reverse`" pulumi-lang-go="`reverse`" pulumi-lang-python="`reverse`" pulumi-lang-yaml="`reverse`" pulumi-lang-java="`reverse`" pulumi-lang-hcl="`reverse`">`reverse`</span>, invoice and receipt PDFs include the following text: **"Reverse charge"**.
|
|
130
|
+
*/
|
|
131
|
+
readonly taxExempt: pulumi.Output<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The customer's tax IDs.
|
|
134
|
+
*/
|
|
135
|
+
readonly taxIdDatas: pulumi.Output<outputs.CustomerTaxIdData[] | undefined>;
|
|
136
|
+
readonly taxes: pulumi.Output<outputs.CustomerTax[] | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* ID of the test clock that this customer belongs to.
|
|
139
|
+
*/
|
|
140
|
+
readonly testClock: pulumi.Output<string>;
|
|
141
|
+
/**
|
|
142
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
143
|
+
*/
|
|
144
|
+
readonly validate: pulumi.Output<boolean | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* Create a Customer resource with the given unique name, arguments, and options.
|
|
147
|
+
*
|
|
148
|
+
* @param name The _unique_ name of the resource.
|
|
149
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
150
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
151
|
+
*/
|
|
152
|
+
constructor(name: string, args?: CustomerArgs, opts?: pulumi.CustomResourceOptions);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Input properties used for looking up and filtering Customer resources.
|
|
156
|
+
*/
|
|
157
|
+
export interface CustomerState {
|
|
158
|
+
/**
|
|
159
|
+
* The customer's address.
|
|
160
|
+
*/
|
|
161
|
+
addresses?: pulumi.Input<pulumi.Input<inputs.CustomerAddress>[]>;
|
|
162
|
+
/**
|
|
163
|
+
* The current balance, if any, that's stored on the customer in their default currency. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize. For multi-currency balances, see <span pulumi-lang-nodejs="[invoiceCreditBalance]" pulumi-lang-dotnet="[InvoiceCreditBalance]" pulumi-lang-go="[invoiceCreditBalance]" pulumi-lang-python="[invoice_credit_balance]" pulumi-lang-yaml="[invoiceCreditBalance]" pulumi-lang-java="[invoiceCreditBalance]" pulumi-lang-hcl="[invoice_credit_balance]">[invoiceCreditBalance]</span>(https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance).
|
|
164
|
+
*/
|
|
165
|
+
balance?: pulumi.Input<number>;
|
|
166
|
+
/**
|
|
167
|
+
* The customer's business name.
|
|
168
|
+
*/
|
|
169
|
+
businessName?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is <span pulumi-lang-nodejs=""cashBalance"" pulumi-lang-dotnet=""CashBalance"" pulumi-lang-go=""cashBalance"" pulumi-lang-python=""cash_balance"" pulumi-lang-yaml=""cashBalance"" pulumi-lang-java=""cashBalance"" pulumi-lang-hcl=""cash_balance"">"cashBalance"</span>. The `settings<span pulumi-lang-nodejs="[reconciliationMode]" pulumi-lang-dotnet="[ReconciliationMode]" pulumi-lang-go="[reconciliationMode]" pulumi-lang-python="[reconciliation_mode]" pulumi-lang-yaml="[reconciliationMode]" pulumi-lang-java="[reconciliationMode]" pulumi-lang-hcl="[reconciliation_mode]">[reconciliationMode]</span>` field describes if these funds apply to these payment intents manually or automatically.
|
|
172
|
+
*/
|
|
173
|
+
cashBalances?: pulumi.Input<pulumi.Input<inputs.CustomerCashBalance>[]>;
|
|
174
|
+
/**
|
|
175
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
176
|
+
*/
|
|
177
|
+
created?: pulumi.Input<number>;
|
|
178
|
+
/**
|
|
179
|
+
* Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
|
|
180
|
+
*/
|
|
181
|
+
currency?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The ID of an Account representing a customer. You can use this ID with any v1 API that accepts a<span pulumi-lang-nodejs=" customerAccount " pulumi-lang-dotnet=" CustomerAccount " pulumi-lang-go=" customerAccount " pulumi-lang-python=" customer_account " pulumi-lang-yaml=" customerAccount " pulumi-lang-java=" customerAccount " pulumi-lang-hcl=" customer_account "> customerAccount </span>parameter.
|
|
184
|
+
*/
|
|
185
|
+
customerAccount?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* ID of the default payment source for the customer.
|
|
188
|
+
*
|
|
189
|
+
* If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
|
|
190
|
+
*/
|
|
191
|
+
defaultSource?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to <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>.
|
|
194
|
+
*
|
|
195
|
+
* If an invoice becomes uncollectible by [dunning](https://docs.stripe.com/billing/automatic-collection), <span pulumi-lang-nodejs="`delinquent`" pulumi-lang-dotnet="`Delinquent`" pulumi-lang-go="`delinquent`" pulumi-lang-python="`delinquent`" pulumi-lang-yaml="`delinquent`" pulumi-lang-java="`delinquent`" pulumi-lang-hcl="`delinquent`">`delinquent`</span> doesn't reset to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
196
|
+
*
|
|
197
|
+
* If you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
198
|
+
*/
|
|
199
|
+
delinquent?: pulumi.Input<boolean>;
|
|
200
|
+
/**
|
|
201
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
202
|
+
*/
|
|
203
|
+
description?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Describes the current discount active on the customer, if there is one.
|
|
206
|
+
*/
|
|
207
|
+
discount?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* The customer's email address.
|
|
210
|
+
*/
|
|
211
|
+
email?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* The customer's individual name.
|
|
214
|
+
*/
|
|
215
|
+
individualName?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* The current multi-currency balances, if any, that's stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that's added to their next invoice denominated in that currency. These balances don't apply to unpaid invoices. They solely track amounts that Stripe hasn't successfully applied to any invoice. Stripe only applies a balance in a specific currency to an invoice after that invoice (which is in the same currency) finalizes.
|
|
218
|
+
*/
|
|
219
|
+
invoiceCreditBalance?: pulumi.Input<{
|
|
220
|
+
[key: string]: pulumi.Input<number>;
|
|
221
|
+
}>;
|
|
222
|
+
/**
|
|
223
|
+
* The prefix for the customer used to generate unique invoice numbers.
|
|
224
|
+
*/
|
|
225
|
+
invoicePrefix?: pulumi.Input<string>;
|
|
226
|
+
invoiceSettings?: pulumi.Input<pulumi.Input<inputs.CustomerInvoiceSetting>[]>;
|
|
227
|
+
/**
|
|
228
|
+
* 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>.
|
|
229
|
+
*/
|
|
230
|
+
livemode?: pulumi.Input<boolean>;
|
|
231
|
+
/**
|
|
232
|
+
* 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.
|
|
233
|
+
*/
|
|
234
|
+
metadata?: pulumi.Input<{
|
|
235
|
+
[key: string]: pulumi.Input<string>;
|
|
236
|
+
}>;
|
|
237
|
+
/**
|
|
238
|
+
* The customer's full name or business name.
|
|
239
|
+
*/
|
|
240
|
+
name?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* The suffix of the customer's next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field omitted in API responses.
|
|
243
|
+
*/
|
|
244
|
+
nextInvoiceSequence?: pulumi.Input<number>;
|
|
245
|
+
/**
|
|
246
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
247
|
+
*/
|
|
248
|
+
object?: pulumi.Input<string>;
|
|
249
|
+
paymentMethod?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* The customer's phone number.
|
|
252
|
+
*/
|
|
253
|
+
phone?: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* The customer's preferred locales (languages), ordered by preference.
|
|
256
|
+
*/
|
|
257
|
+
preferredLocales?: pulumi.Input<pulumi.Input<string>[]>;
|
|
258
|
+
/**
|
|
259
|
+
* Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
|
|
260
|
+
*/
|
|
261
|
+
shippings?: pulumi.Input<pulumi.Input<inputs.CustomerShipping>[]>;
|
|
262
|
+
/**
|
|
263
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
264
|
+
*/
|
|
265
|
+
source?: pulumi.Input<string>;
|
|
266
|
+
/**
|
|
267
|
+
* Describes the customer's tax exemption status, which is <span pulumi-lang-nodejs="`none`" pulumi-lang-dotnet="`None`" pulumi-lang-go="`none`" pulumi-lang-python="`none`" pulumi-lang-yaml="`none`" pulumi-lang-java="`none`" pulumi-lang-hcl="`none`">`none`</span>, <span pulumi-lang-nodejs="`exempt`" pulumi-lang-dotnet="`Exempt`" pulumi-lang-go="`exempt`" pulumi-lang-python="`exempt`" pulumi-lang-yaml="`exempt`" pulumi-lang-java="`exempt`" pulumi-lang-hcl="`exempt`">`exempt`</span>, or <span pulumi-lang-nodejs="`reverse`" pulumi-lang-dotnet="`Reverse`" pulumi-lang-go="`reverse`" pulumi-lang-python="`reverse`" pulumi-lang-yaml="`reverse`" pulumi-lang-java="`reverse`" pulumi-lang-hcl="`reverse`">`reverse`</span>. When set to <span pulumi-lang-nodejs="`reverse`" pulumi-lang-dotnet="`Reverse`" pulumi-lang-go="`reverse`" pulumi-lang-python="`reverse`" pulumi-lang-yaml="`reverse`" pulumi-lang-java="`reverse`" pulumi-lang-hcl="`reverse`">`reverse`</span>, invoice and receipt PDFs include the following text: **"Reverse charge"**.
|
|
268
|
+
*/
|
|
269
|
+
taxExempt?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* The customer's tax IDs.
|
|
272
|
+
*/
|
|
273
|
+
taxIdDatas?: pulumi.Input<pulumi.Input<inputs.CustomerTaxIdData>[]>;
|
|
274
|
+
taxes?: pulumi.Input<pulumi.Input<inputs.CustomerTax>[]>;
|
|
275
|
+
/**
|
|
276
|
+
* ID of the test clock that this customer belongs to.
|
|
277
|
+
*/
|
|
278
|
+
testClock?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
281
|
+
*/
|
|
282
|
+
validate?: pulumi.Input<boolean>;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* The set of arguments for constructing a Customer resource.
|
|
286
|
+
*/
|
|
287
|
+
export interface CustomerArgs {
|
|
288
|
+
/**
|
|
289
|
+
* The customer's address.
|
|
290
|
+
*/
|
|
291
|
+
addresses?: pulumi.Input<pulumi.Input<inputs.CustomerAddress>[]>;
|
|
292
|
+
/**
|
|
293
|
+
* The current balance, if any, that's stored on the customer in their default currency. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize. For multi-currency balances, see <span pulumi-lang-nodejs="[invoiceCreditBalance]" pulumi-lang-dotnet="[InvoiceCreditBalance]" pulumi-lang-go="[invoiceCreditBalance]" pulumi-lang-python="[invoice_credit_balance]" pulumi-lang-yaml="[invoiceCreditBalance]" pulumi-lang-java="[invoiceCreditBalance]" pulumi-lang-hcl="[invoice_credit_balance]">[invoiceCreditBalance]</span>(https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance).
|
|
294
|
+
*/
|
|
295
|
+
balance?: pulumi.Input<number>;
|
|
296
|
+
/**
|
|
297
|
+
* The customer's business name.
|
|
298
|
+
*/
|
|
299
|
+
businessName?: pulumi.Input<string>;
|
|
300
|
+
/**
|
|
301
|
+
* The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is <span pulumi-lang-nodejs=""cashBalance"" pulumi-lang-dotnet=""CashBalance"" pulumi-lang-go=""cashBalance"" pulumi-lang-python=""cash_balance"" pulumi-lang-yaml=""cashBalance"" pulumi-lang-java=""cashBalance"" pulumi-lang-hcl=""cash_balance"">"cashBalance"</span>. The `settings<span pulumi-lang-nodejs="[reconciliationMode]" pulumi-lang-dotnet="[ReconciliationMode]" pulumi-lang-go="[reconciliationMode]" pulumi-lang-python="[reconciliation_mode]" pulumi-lang-yaml="[reconciliationMode]" pulumi-lang-java="[reconciliationMode]" pulumi-lang-hcl="[reconciliation_mode]">[reconciliationMode]</span>` field describes if these funds apply to these payment intents manually or automatically.
|
|
302
|
+
*/
|
|
303
|
+
cashBalances?: pulumi.Input<pulumi.Input<inputs.CustomerCashBalance>[]>;
|
|
304
|
+
/**
|
|
305
|
+
* ID of the default payment source for the customer.
|
|
306
|
+
*
|
|
307
|
+
* If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
|
|
308
|
+
*/
|
|
309
|
+
defaultSource?: pulumi.Input<string>;
|
|
310
|
+
/**
|
|
311
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
312
|
+
*/
|
|
313
|
+
description?: pulumi.Input<string>;
|
|
314
|
+
/**
|
|
315
|
+
* The customer's email address.
|
|
316
|
+
*/
|
|
317
|
+
email?: pulumi.Input<string>;
|
|
318
|
+
/**
|
|
319
|
+
* The customer's individual name.
|
|
320
|
+
*/
|
|
321
|
+
individualName?: pulumi.Input<string>;
|
|
322
|
+
/**
|
|
323
|
+
* The prefix for the customer used to generate unique invoice numbers.
|
|
324
|
+
*/
|
|
325
|
+
invoicePrefix?: pulumi.Input<string>;
|
|
326
|
+
invoiceSettings?: pulumi.Input<pulumi.Input<inputs.CustomerInvoiceSetting>[]>;
|
|
327
|
+
/**
|
|
328
|
+
* 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.
|
|
329
|
+
*/
|
|
330
|
+
metadata?: pulumi.Input<{
|
|
331
|
+
[key: string]: pulumi.Input<string>;
|
|
332
|
+
}>;
|
|
333
|
+
/**
|
|
334
|
+
* The customer's full name or business name.
|
|
335
|
+
*/
|
|
336
|
+
name?: pulumi.Input<string>;
|
|
337
|
+
/**
|
|
338
|
+
* The suffix of the customer's next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field omitted in API responses.
|
|
339
|
+
*/
|
|
340
|
+
nextInvoiceSequence?: pulumi.Input<number>;
|
|
341
|
+
paymentMethod?: pulumi.Input<string>;
|
|
342
|
+
/**
|
|
343
|
+
* The customer's phone number.
|
|
344
|
+
*/
|
|
345
|
+
phone?: pulumi.Input<string>;
|
|
346
|
+
/**
|
|
347
|
+
* The customer's preferred locales (languages), ordered by preference.
|
|
348
|
+
*/
|
|
349
|
+
preferredLocales?: pulumi.Input<pulumi.Input<string>[]>;
|
|
350
|
+
/**
|
|
351
|
+
* Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
|
|
352
|
+
*/
|
|
353
|
+
shippings?: pulumi.Input<pulumi.Input<inputs.CustomerShipping>[]>;
|
|
354
|
+
/**
|
|
355
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
356
|
+
*/
|
|
357
|
+
source?: pulumi.Input<string>;
|
|
358
|
+
/**
|
|
359
|
+
* Describes the customer's tax exemption status, which is <span pulumi-lang-nodejs="`none`" pulumi-lang-dotnet="`None`" pulumi-lang-go="`none`" pulumi-lang-python="`none`" pulumi-lang-yaml="`none`" pulumi-lang-java="`none`" pulumi-lang-hcl="`none`">`none`</span>, <span pulumi-lang-nodejs="`exempt`" pulumi-lang-dotnet="`Exempt`" pulumi-lang-go="`exempt`" pulumi-lang-python="`exempt`" pulumi-lang-yaml="`exempt`" pulumi-lang-java="`exempt`" pulumi-lang-hcl="`exempt`">`exempt`</span>, or <span pulumi-lang-nodejs="`reverse`" pulumi-lang-dotnet="`Reverse`" pulumi-lang-go="`reverse`" pulumi-lang-python="`reverse`" pulumi-lang-yaml="`reverse`" pulumi-lang-java="`reverse`" pulumi-lang-hcl="`reverse`">`reverse`</span>. When set to <span pulumi-lang-nodejs="`reverse`" pulumi-lang-dotnet="`Reverse`" pulumi-lang-go="`reverse`" pulumi-lang-python="`reverse`" pulumi-lang-yaml="`reverse`" pulumi-lang-java="`reverse`" pulumi-lang-hcl="`reverse`">`reverse`</span>, invoice and receipt PDFs include the following text: **"Reverse charge"**.
|
|
360
|
+
*/
|
|
361
|
+
taxExempt?: pulumi.Input<string>;
|
|
362
|
+
/**
|
|
363
|
+
* The customer's tax IDs.
|
|
364
|
+
*/
|
|
365
|
+
taxIdDatas?: pulumi.Input<pulumi.Input<inputs.CustomerTaxIdData>[]>;
|
|
366
|
+
taxes?: pulumi.Input<pulumi.Input<inputs.CustomerTax>[]>;
|
|
367
|
+
/**
|
|
368
|
+
* ID of the test clock that this customer belongs to.
|
|
369
|
+
*/
|
|
370
|
+
testClock?: pulumi.Input<string>;
|
|
371
|
+
/**
|
|
372
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
373
|
+
*/
|
|
374
|
+
validate?: pulumi.Input<boolean>;
|
|
375
|
+
}
|
|
376
|
+
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../customer.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,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EA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,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACxD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAClE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IACzD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;CACpC"}
|
package/bin/customer.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
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.Customer = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class Customer extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Customer 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 Customer(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'stripe:index/customer:Customer';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Customer. 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'] === Customer.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["addresses"] = state?.addresses;
|
|
62
|
+
resourceInputs["balance"] = state?.balance;
|
|
63
|
+
resourceInputs["businessName"] = state?.businessName;
|
|
64
|
+
resourceInputs["cashBalances"] = state?.cashBalances;
|
|
65
|
+
resourceInputs["created"] = state?.created;
|
|
66
|
+
resourceInputs["currency"] = state?.currency;
|
|
67
|
+
resourceInputs["customerAccount"] = state?.customerAccount;
|
|
68
|
+
resourceInputs["defaultSource"] = state?.defaultSource;
|
|
69
|
+
resourceInputs["delinquent"] = state?.delinquent;
|
|
70
|
+
resourceInputs["description"] = state?.description;
|
|
71
|
+
resourceInputs["discount"] = state?.discount;
|
|
72
|
+
resourceInputs["email"] = state?.email;
|
|
73
|
+
resourceInputs["individualName"] = state?.individualName;
|
|
74
|
+
resourceInputs["invoiceCreditBalance"] = state?.invoiceCreditBalance;
|
|
75
|
+
resourceInputs["invoicePrefix"] = state?.invoicePrefix;
|
|
76
|
+
resourceInputs["invoiceSettings"] = state?.invoiceSettings;
|
|
77
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
78
|
+
resourceInputs["metadata"] = state?.metadata;
|
|
79
|
+
resourceInputs["name"] = state?.name;
|
|
80
|
+
resourceInputs["nextInvoiceSequence"] = state?.nextInvoiceSequence;
|
|
81
|
+
resourceInputs["object"] = state?.object;
|
|
82
|
+
resourceInputs["paymentMethod"] = state?.paymentMethod;
|
|
83
|
+
resourceInputs["phone"] = state?.phone;
|
|
84
|
+
resourceInputs["preferredLocales"] = state?.preferredLocales;
|
|
85
|
+
resourceInputs["shippings"] = state?.shippings;
|
|
86
|
+
resourceInputs["source"] = state?.source;
|
|
87
|
+
resourceInputs["taxExempt"] = state?.taxExempt;
|
|
88
|
+
resourceInputs["taxIdDatas"] = state?.taxIdDatas;
|
|
89
|
+
resourceInputs["taxes"] = state?.taxes;
|
|
90
|
+
resourceInputs["testClock"] = state?.testClock;
|
|
91
|
+
resourceInputs["validate"] = state?.validate;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
resourceInputs["addresses"] = args?.addresses;
|
|
96
|
+
resourceInputs["balance"] = args?.balance;
|
|
97
|
+
resourceInputs["businessName"] = args?.businessName;
|
|
98
|
+
resourceInputs["cashBalances"] = args?.cashBalances;
|
|
99
|
+
resourceInputs["defaultSource"] = args?.defaultSource;
|
|
100
|
+
resourceInputs["description"] = args?.description;
|
|
101
|
+
resourceInputs["email"] = args?.email;
|
|
102
|
+
resourceInputs["individualName"] = args?.individualName;
|
|
103
|
+
resourceInputs["invoicePrefix"] = args?.invoicePrefix;
|
|
104
|
+
resourceInputs["invoiceSettings"] = args?.invoiceSettings;
|
|
105
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
106
|
+
resourceInputs["name"] = args?.name;
|
|
107
|
+
resourceInputs["nextInvoiceSequence"] = args?.nextInvoiceSequence;
|
|
108
|
+
resourceInputs["paymentMethod"] = args?.paymentMethod;
|
|
109
|
+
resourceInputs["phone"] = args?.phone;
|
|
110
|
+
resourceInputs["preferredLocales"] = args?.preferredLocales;
|
|
111
|
+
resourceInputs["shippings"] = args?.shippings;
|
|
112
|
+
resourceInputs["source"] = args?.source ? pulumi.secret(args.source) : undefined;
|
|
113
|
+
resourceInputs["taxExempt"] = args?.taxExempt;
|
|
114
|
+
resourceInputs["taxIdDatas"] = args?.taxIdDatas;
|
|
115
|
+
resourceInputs["taxes"] = args?.taxes;
|
|
116
|
+
resourceInputs["testClock"] = args?.testClock;
|
|
117
|
+
resourceInputs["validate"] = args?.validate ? pulumi.secret(args.validate) : undefined;
|
|
118
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["currency"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["customerAccount"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["delinquent"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["discount"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["invoiceCreditBalance"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
126
|
+
}
|
|
127
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
128
|
+
const secretOpts = { additionalSecretOutputs: ["source", "validate"] };
|
|
129
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
130
|
+
super(Customer.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.Customer = Customer;
|
|
134
|
+
//# sourceMappingURL=customer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../customer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gCAAgC,CA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