@humanlayer/pulumi-stripe 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +4 -0
  2. package/bin/billingMeter.d.ts +130 -0
  3. package/bin/billingMeter.js +72 -0
  4. package/bin/billingMeter.js.map +1 -0
  5. package/bin/config/index.d.ts +1 -0
  6. package/bin/config/index.js +21 -0
  7. package/bin/config/index.js.map +1 -0
  8. package/bin/config/vars.d.ts +4 -0
  9. package/bin/config/vars.js +13 -0
  10. package/bin/config/vars.js.map +1 -0
  11. package/bin/coupon.d.ts +203 -0
  12. package/bin/coupon.js +77 -0
  13. package/bin/coupon.js.map +1 -0
  14. package/bin/customer.d.ts +248 -0
  15. package/bin/customer.js +93 -0
  16. package/bin/customer.js.map +1 -0
  17. package/bin/entitlementsFeature.d.ts +86 -0
  18. package/bin/entitlementsFeature.js +58 -0
  19. package/bin/entitlementsFeature.js.map +1 -0
  20. package/bin/getBillingMeter.d.ts +26 -0
  21. package/bin/getBillingMeter.js +25 -0
  22. package/bin/getBillingMeter.js.map +1 -0
  23. package/bin/index.d.ts +64 -0
  24. package/bin/index.js +145 -0
  25. package/bin/index.js.map +1 -0
  26. package/bin/price.d.ts +232 -0
  27. package/bin/price.js +82 -0
  28. package/bin/price.js.map +1 -0
  29. package/bin/product.d.ts +212 -0
  30. package/bin/product.js +75 -0
  31. package/bin/product.js.map +1 -0
  32. package/bin/promotionCode.d.ts +160 -0
  33. package/bin/promotionCode.js +70 -0
  34. package/bin/promotionCode.js.map +1 -0
  35. package/bin/provider.d.ts +49 -0
  36. package/bin/provider.js +55 -0
  37. package/bin/provider.js.map +1 -0
  38. package/bin/shippingRate.d.ts +136 -0
  39. package/bin/shippingRate.js +66 -0
  40. package/bin/shippingRate.js.map +1 -0
  41. package/bin/taxRate.d.ts +186 -0
  42. package/bin/taxRate.js +82 -0
  43. package/bin/taxRate.js.map +1 -0
  44. package/bin/types/index.d.ts +3 -0
  45. package/bin/types/index.js +11 -0
  46. package/bin/types/index.js.map +1 -0
  47. package/bin/types/input.d.ts +713 -0
  48. package/bin/types/input.js +5 -0
  49. package/bin/types/input.js.map +1 -0
  50. package/bin/types/output.d.ts +712 -0
  51. package/bin/types/output.js +5 -0
  52. package/bin/types/output.js.map +1 -0
  53. package/bin/utilities.d.ts +4 -0
  54. package/bin/utilities.js +90 -0
  55. package/bin/utilities.js.map +1 -0
  56. package/bin/v2billingLicenseFee.d.ts +200 -0
  57. package/bin/v2billingLicenseFee.js +93 -0
  58. package/bin/v2billingLicenseFee.js.map +1 -0
  59. package/bin/v2billingLicensedItem.d.ts +90 -0
  60. package/bin/v2billingLicensedItem.js +58 -0
  61. package/bin/v2billingLicensedItem.js.map +1 -0
  62. package/bin/v2billingMeteredItem.d.ts +128 -0
  63. package/bin/v2billingMeteredItem.js +67 -0
  64. package/bin/v2billingMeteredItem.js.map +1 -0
  65. package/bin/v2billingPricingPlan.d.ts +138 -0
  66. package/bin/v2billingPricingPlan.js +74 -0
  67. package/bin/v2billingPricingPlan.js.map +1 -0
  68. package/bin/v2billingPricingPlanComponent.d.ts +144 -0
  69. package/bin/v2billingPricingPlanComponent.js +71 -0
  70. package/bin/v2billingPricingPlanComponent.js.map +1 -0
  71. package/bin/v2billingRateCard.d.ts +150 -0
  72. package/bin/v2billingRateCard.js +82 -0
  73. package/bin/v2billingRateCard.js.map +1 -0
  74. package/bin/v2billingRateCardRate.d.ts +132 -0
  75. package/bin/v2billingRateCardRate.js +69 -0
  76. package/bin/v2billingRateCardRate.js.map +1 -0
  77. package/bin/v2billingServiceAction.d.ts +98 -0
  78. package/bin/v2billingServiceAction.js +66 -0
  79. package/bin/v2billingServiceAction.js.map +1 -0
  80. package/bin/v2coreEventDestination.d.ts +172 -0
  81. package/bin/v2coreEventDestination.js +78 -0
  82. package/bin/v2coreEventDestination.js.map +1 -0
  83. package/bin/webhookEndpoint.d.ts +120 -0
  84. package/bin/webhookEndpoint.js +73 -0
  85. package/bin/webhookEndpoint.js.map +1 -0
  86. package/package.json +42 -0
@@ -0,0 +1,5 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
@@ -0,0 +1,4 @@
1
+ export declare function getEnv(...vars: string[]): string | undefined;
2
+ export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
+ export declare function getEnvNumber(...vars: string[]): number | undefined;
4
+ export declare function getVersion(): string;
@@ -0,0 +1,90 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getEnv = getEnv;
6
+ exports.getEnvBoolean = getEnvBoolean;
7
+ exports.getEnvNumber = getEnvNumber;
8
+ exports.getVersion = getVersion;
9
+ exports.resourceOptsDefaults = resourceOptsDefaults;
10
+ exports.lazyLoad = lazyLoad;
11
+ exports.callAsync = callAsync;
12
+ const runtime = require("@pulumi/pulumi/runtime");
13
+ function getEnv(...vars) {
14
+ for (const v of vars) {
15
+ const value = process.env[v];
16
+ if (value) {
17
+ return value;
18
+ }
19
+ }
20
+ return undefined;
21
+ }
22
+ function getEnvBoolean(...vars) {
23
+ const s = getEnv(...vars);
24
+ if (s !== undefined) {
25
+ // NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
26
+ // Terraform uses internally when parsing boolean values.
27
+ if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
28
+ return true;
29
+ }
30
+ if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
31
+ return false;
32
+ }
33
+ }
34
+ return undefined;
35
+ }
36
+ function getEnvNumber(...vars) {
37
+ const s = getEnv(...vars);
38
+ if (s !== undefined) {
39
+ const f = parseFloat(s);
40
+ if (!isNaN(f)) {
41
+ return f;
42
+ }
43
+ }
44
+ return undefined;
45
+ }
46
+ function getVersion() {
47
+ let version = require('./package.json').version;
48
+ // Node allows for the version to be prefixed by a "v", while semver doesn't.
49
+ // If there is a v, strip it off.
50
+ if (version.indexOf('v') === 0) {
51
+ version = version.slice(1);
52
+ }
53
+ return version;
54
+ }
55
+ /** @internal */
56
+ function resourceOptsDefaults() {
57
+ return { version: getVersion(), pluginDownloadURL: "github://api.github.com/humanlayer/pulumi-stripe" };
58
+ }
59
+ /** @internal */
60
+ function lazyLoad(exports, props, loadModule) {
61
+ for (let property of props) {
62
+ Object.defineProperty(exports, property, {
63
+ enumerable: true,
64
+ get: function () {
65
+ return loadModule()[property];
66
+ },
67
+ });
68
+ }
69
+ }
70
+ /** @internal */
71
+ async function callAsync(tok, props, res, opts) {
72
+ const o = runtime.call(tok, props, res);
73
+ const value = await o.promise(true /*withUnknowns*/);
74
+ const isKnown = await o.isKnown;
75
+ const isSecret = await o.isSecret;
76
+ const problem = !isKnown ? "an unknown value"
77
+ : isSecret ? "a secret value"
78
+ : undefined;
79
+ // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
80
+ if (problem) {
81
+ throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
82
+ "This is an error in the provider, please report this to the provider developer.");
83
+ }
84
+ // Extract a single property if requested.
85
+ if (opts && opts.property) {
86
+ return value[opts.property];
87
+ }
88
+ return value;
89
+ }
90
+ //# sourceMappingURL=utilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAMjF,wBAQC;AAED,sCAaC;AAED,oCASC;AAED,gCAQC;AAGD,oDAEC;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kBAAkB;QAC7B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB;YAC7B,CAAC,CAAC,SAAS,CAAC;IAChB,sGAAsG;IACtG,IAAI,OAAO,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,0BAA0B,OAAO,IAAI;YAC9E,iFAAiF,CAAC,CAAC;IAC3F,CAAC;IACD,0CAA0C;IAC1C,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
@@ -0,0 +1,200 @@
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 V2BillingLicenseFee extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing V2BillingLicenseFee 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?: V2BillingLicenseFeeState, opts?: pulumi.CustomResourceOptions): V2BillingLicenseFee;
15
+ /**
16
+ * Returns true if the given object is an instance of V2BillingLicenseFee. 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 V2BillingLicenseFee;
20
+ /**
21
+ * Whether this License Fee is active. Inactive License Fees cannot be used in new activations or be modified.
22
+ */
23
+ readonly active: pulumi.Output<boolean>;
24
+ /**
25
+ * Three-letter ISO currency code, in lowercase. Must be a supported currency.
26
+ */
27
+ readonly currency: pulumi.Output<string>;
28
+ /**
29
+ * A customer-facing name for the License Fee. This name is used in Stripe-hosted products like the Customer Portal and Checkout. It does not show up on Invoices. Maximum length of 250 characters.
30
+ */
31
+ readonly displayName: pulumi.Output<string>;
32
+ /**
33
+ * The ID of the license fee's most recently created version.
34
+ */
35
+ readonly latestVersion: pulumi.Output<string>;
36
+ /**
37
+ * The Licensed Item that this License Fee binds to.
38
+ */
39
+ readonly licensedItem: pulumi.Output<string>;
40
+ /**
41
+ * The ID of the License Fee Version that will be used by all subscriptions when no specific version is specified.
42
+ */
43
+ readonly liveVersion: pulumi.Output<string>;
44
+ /**
45
+ * An internal key you can use to search for a particular license fee. Maximum length of 200 characters.
46
+ */
47
+ readonly lookupKey: pulumi.Output<string>;
48
+ /**
49
+ * Set of [key-value pairs](https://www.terraform.io/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
50
+ */
51
+ readonly metadata: pulumi.Output<{
52
+ [key: string]: string;
53
+ }>;
54
+ /**
55
+ * The interval for assessing service. For example, a monthly license fee with a rate of $1 for the first 10 \"workloads\" and $2 thereafter means \"$1 per workload up to 10 workloads during a month of service.\" This is similar to but distinct from billing interval; the service interval deals with the rate at which the customer accumulates fees, while the billing interval in Cadence deals with the rate the customer is billed.
56
+ */
57
+ readonly serviceInterval: pulumi.Output<string>;
58
+ /**
59
+ * The length of the interval for assessing service. For example, set this to 3 and `serviceInterval` to `\"month\"` in order to specify quarterly service.
60
+ */
61
+ readonly serviceIntervalCount: pulumi.Output<number>;
62
+ /**
63
+ * The Stripe Tax tax behavior - whether the license fee is inclusive or exclusive of tax.
64
+ */
65
+ readonly taxBehavior: pulumi.Output<string>;
66
+ /**
67
+ * Defines whether the tiered price should be graduated or volume-based. In volume-based tiering, the maximum quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity grows into new tiers. Can only be set if `tiers` is set.
68
+ */
69
+ readonly tieringMode: pulumi.Output<string>;
70
+ /**
71
+ * Each element represents a pricing tier. Cannot be set if `unitAmount` is provided.
72
+ */
73
+ readonly tiers: pulumi.Output<outputs.V2BillingLicenseFeeTier[] | undefined>;
74
+ /**
75
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. Cannot be set if `tiers` is provided.
76
+ */
77
+ readonly unitAmount: pulumi.Output<string>;
78
+ /**
79
+ * Create a V2BillingLicenseFee resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args: V2BillingLicenseFeeArgs, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * Input properties used for looking up and filtering V2BillingLicenseFee resources.
89
+ */
90
+ export interface V2BillingLicenseFeeState {
91
+ /**
92
+ * Whether this License Fee is active. Inactive License Fees cannot be used in new activations or be modified.
93
+ */
94
+ active?: pulumi.Input<boolean>;
95
+ /**
96
+ * Three-letter ISO currency code, in lowercase. Must be a supported currency.
97
+ */
98
+ currency?: pulumi.Input<string>;
99
+ /**
100
+ * A customer-facing name for the License Fee. This name is used in Stripe-hosted products like the Customer Portal and Checkout. It does not show up on Invoices. Maximum length of 250 characters.
101
+ */
102
+ displayName?: pulumi.Input<string>;
103
+ /**
104
+ * The ID of the license fee's most recently created version.
105
+ */
106
+ latestVersion?: pulumi.Input<string>;
107
+ /**
108
+ * The Licensed Item that this License Fee binds to.
109
+ */
110
+ licensedItem?: pulumi.Input<string>;
111
+ /**
112
+ * The ID of the License Fee Version that will be used by all subscriptions when no specific version is specified.
113
+ */
114
+ liveVersion?: pulumi.Input<string>;
115
+ /**
116
+ * An internal key you can use to search for a particular license fee. Maximum length of 200 characters.
117
+ */
118
+ lookupKey?: pulumi.Input<string>;
119
+ /**
120
+ * Set of [key-value pairs](https://www.terraform.io/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
121
+ */
122
+ metadata?: pulumi.Input<{
123
+ [key: string]: pulumi.Input<string>;
124
+ }>;
125
+ /**
126
+ * The interval for assessing service. For example, a monthly license fee with a rate of $1 for the first 10 \"workloads\" and $2 thereafter means \"$1 per workload up to 10 workloads during a month of service.\" This is similar to but distinct from billing interval; the service interval deals with the rate at which the customer accumulates fees, while the billing interval in Cadence deals with the rate the customer is billed.
127
+ */
128
+ serviceInterval?: pulumi.Input<string>;
129
+ /**
130
+ * The length of the interval for assessing service. For example, set this to 3 and `serviceInterval` to `\"month\"` in order to specify quarterly service.
131
+ */
132
+ serviceIntervalCount?: pulumi.Input<number>;
133
+ /**
134
+ * The Stripe Tax tax behavior - whether the license fee is inclusive or exclusive of tax.
135
+ */
136
+ taxBehavior?: pulumi.Input<string>;
137
+ /**
138
+ * Defines whether the tiered price should be graduated or volume-based. In volume-based tiering, the maximum quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity grows into new tiers. Can only be set if `tiers` is set.
139
+ */
140
+ tieringMode?: pulumi.Input<string>;
141
+ /**
142
+ * Each element represents a pricing tier. Cannot be set if `unitAmount` is provided.
143
+ */
144
+ tiers?: pulumi.Input<pulumi.Input<inputs.V2BillingLicenseFeeTier>[]>;
145
+ /**
146
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. Cannot be set if `tiers` is provided.
147
+ */
148
+ unitAmount?: pulumi.Input<string>;
149
+ }
150
+ /**
151
+ * The set of arguments for constructing a V2BillingLicenseFee resource.
152
+ */
153
+ export interface V2BillingLicenseFeeArgs {
154
+ /**
155
+ * Three-letter ISO currency code, in lowercase. Must be a supported currency.
156
+ */
157
+ currency: pulumi.Input<string>;
158
+ /**
159
+ * A customer-facing name for the License Fee. This name is used in Stripe-hosted products like the Customer Portal and Checkout. It does not show up on Invoices. Maximum length of 250 characters.
160
+ */
161
+ displayName: pulumi.Input<string>;
162
+ /**
163
+ * The Licensed Item that this License Fee binds to.
164
+ */
165
+ licensedItem: pulumi.Input<string>;
166
+ /**
167
+ * An internal key you can use to search for a particular license fee. Maximum length of 200 characters.
168
+ */
169
+ lookupKey?: pulumi.Input<string>;
170
+ /**
171
+ * Set of [key-value pairs](https://www.terraform.io/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
172
+ */
173
+ metadata?: pulumi.Input<{
174
+ [key: string]: pulumi.Input<string>;
175
+ }>;
176
+ /**
177
+ * The interval for assessing service. For example, a monthly license fee with a rate of $1 for the first 10 \"workloads\" and $2 thereafter means \"$1 per workload up to 10 workloads during a month of service.\" This is similar to but distinct from billing interval; the service interval deals with the rate at which the customer accumulates fees, while the billing interval in Cadence deals with the rate the customer is billed.
178
+ */
179
+ serviceInterval: pulumi.Input<string>;
180
+ /**
181
+ * The length of the interval for assessing service. For example, set this to 3 and `serviceInterval` to `\"month\"` in order to specify quarterly service.
182
+ */
183
+ serviceIntervalCount: pulumi.Input<number>;
184
+ /**
185
+ * The Stripe Tax tax behavior - whether the license fee is inclusive or exclusive of tax.
186
+ */
187
+ taxBehavior: pulumi.Input<string>;
188
+ /**
189
+ * Defines whether the tiered price should be graduated or volume-based. In volume-based tiering, the maximum quantity within a period determines the per-unit price. In graduated tiering, the pricing changes as the quantity grows into new tiers. Can only be set if `tiers` is set.
190
+ */
191
+ tieringMode?: pulumi.Input<string>;
192
+ /**
193
+ * Each element represents a pricing tier. Cannot be set if `unitAmount` is provided.
194
+ */
195
+ tiers?: pulumi.Input<pulumi.Input<inputs.V2BillingLicenseFeeTier>[]>;
196
+ /**
197
+ * The per-unit amount to be charged, represented as a decimal string in minor currency units with at most 12 decimal places. Cannot be set if `tiers` is provided.
198
+ */
199
+ unitAmount?: pulumi.Input<string>;
200
+ }
@@ -0,0 +1,93 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.V2BillingLicenseFee = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class V2BillingLicenseFee extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing V2BillingLicenseFee resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new V2BillingLicenseFee(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of V2BillingLicenseFee. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === V2BillingLicenseFee.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["active"] = state?.active;
37
+ resourceInputs["currency"] = state?.currency;
38
+ resourceInputs["displayName"] = state?.displayName;
39
+ resourceInputs["latestVersion"] = state?.latestVersion;
40
+ resourceInputs["licensedItem"] = state?.licensedItem;
41
+ resourceInputs["liveVersion"] = state?.liveVersion;
42
+ resourceInputs["lookupKey"] = state?.lookupKey;
43
+ resourceInputs["metadata"] = state?.metadata;
44
+ resourceInputs["serviceInterval"] = state?.serviceInterval;
45
+ resourceInputs["serviceIntervalCount"] = state?.serviceIntervalCount;
46
+ resourceInputs["taxBehavior"] = state?.taxBehavior;
47
+ resourceInputs["tieringMode"] = state?.tieringMode;
48
+ resourceInputs["tiers"] = state?.tiers;
49
+ resourceInputs["unitAmount"] = state?.unitAmount;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ if (args?.currency === undefined && !opts.urn) {
54
+ throw new Error("Missing required property 'currency'");
55
+ }
56
+ if (args?.displayName === undefined && !opts.urn) {
57
+ throw new Error("Missing required property 'displayName'");
58
+ }
59
+ if (args?.licensedItem === undefined && !opts.urn) {
60
+ throw new Error("Missing required property 'licensedItem'");
61
+ }
62
+ if (args?.serviceInterval === undefined && !opts.urn) {
63
+ throw new Error("Missing required property 'serviceInterval'");
64
+ }
65
+ if (args?.serviceIntervalCount === undefined && !opts.urn) {
66
+ throw new Error("Missing required property 'serviceIntervalCount'");
67
+ }
68
+ if (args?.taxBehavior === undefined && !opts.urn) {
69
+ throw new Error("Missing required property 'taxBehavior'");
70
+ }
71
+ resourceInputs["currency"] = args?.currency;
72
+ resourceInputs["displayName"] = args?.displayName;
73
+ resourceInputs["licensedItem"] = args?.licensedItem;
74
+ resourceInputs["lookupKey"] = args?.lookupKey;
75
+ resourceInputs["metadata"] = args?.metadata;
76
+ resourceInputs["serviceInterval"] = args?.serviceInterval;
77
+ resourceInputs["serviceIntervalCount"] = args?.serviceIntervalCount;
78
+ resourceInputs["taxBehavior"] = args?.taxBehavior;
79
+ resourceInputs["tieringMode"] = args?.tieringMode;
80
+ resourceInputs["tiers"] = args?.tiers;
81
+ resourceInputs["unitAmount"] = args?.unitAmount;
82
+ resourceInputs["active"] = undefined /*out*/;
83
+ resourceInputs["latestVersion"] = undefined /*out*/;
84
+ resourceInputs["liveVersion"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(V2BillingLicenseFee.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.V2BillingLicenseFee = V2BillingLicenseFee;
91
+ /** @internal */
92
+ V2BillingLicenseFee.__pulumiType = 'stripe:index/v2BillingLicenseFee:V2BillingLicenseFee';
93
+ //# sourceMappingURL=v2billingLicenseFee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2billingLicenseFee.js","sourceRoot":"","sources":["../v2billingLicenseFee.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IAC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ensedItem resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: V2BillingLicensedItemState, opts?: pulumi.CustomResourceOptions): V2BillingLicensedItem;
13
+ /**
14
+ * Returns true if the given object is an instance of V2BillingLicensedItem. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is V2BillingLicensedItem;
18
+ /**
19
+ * Description that customers will see in the invoice line item. Maximum length of 250 characters.
20
+ */
21
+ readonly displayName: pulumi.Output<string>;
22
+ /**
23
+ * An internal key you can use to search for a particular billable item. Must be unique among billable items. Maximum length of 200 characters.
24
+ */
25
+ readonly lookupKey: pulumi.Output<string>;
26
+ /**
27
+ * Set of [key-value pairs](https://www.terraform.io/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
28
+ */
29
+ readonly metadata: pulumi.Output<{
30
+ [key: string]: string;
31
+ }>;
32
+ /**
33
+ * The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field to \"seat\" for Checkout to display \"(price) per seat\", or \"environment\" to display \"(price) per environment\". Maximum length of 100 characters.
34
+ */
35
+ readonly unitLabel: pulumi.Output<string>;
36
+ /**
37
+ * Create a V2BillingLicensedItem resource with the given unique name, arguments, and options.
38
+ *
39
+ * @param name The _unique_ name of the resource.
40
+ * @param args The arguments to use to populate this resource's properties.
41
+ * @param opts A bag of options that control this resource's behavior.
42
+ */
43
+ constructor(name: string, args: V2BillingLicensedItemArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * Input properties used for looking up and filtering V2BillingLicensedItem resources.
47
+ */
48
+ export interface V2BillingLicensedItemState {
49
+ /**
50
+ * Description that customers will see in the invoice line item. Maximum length of 250 characters.
51
+ */
52
+ displayName?: pulumi.Input<string>;
53
+ /**
54
+ * An internal key you can use to search for a particular billable item. Must be unique among billable items. Maximum length of 200 characters.
55
+ */
56
+ lookupKey?: pulumi.Input<string>;
57
+ /**
58
+ * Set of [key-value pairs](https://www.terraform.io/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
59
+ */
60
+ metadata?: pulumi.Input<{
61
+ [key: string]: pulumi.Input<string>;
62
+ }>;
63
+ /**
64
+ * The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field to \"seat\" for Checkout to display \"(price) per seat\", or \"environment\" to display \"(price) per environment\". Maximum length of 100 characters.
65
+ */
66
+ unitLabel?: pulumi.Input<string>;
67
+ }
68
+ /**
69
+ * The set of arguments for constructing a V2BillingLicensedItem resource.
70
+ */
71
+ export interface V2BillingLicensedItemArgs {
72
+ /**
73
+ * Description that customers will see in the invoice line item. Maximum length of 250 characters.
74
+ */
75
+ displayName: pulumi.Input<string>;
76
+ /**
77
+ * An internal key you can use to search for a particular billable item. Must be unique among billable items. Maximum length of 200 characters.
78
+ */
79
+ lookupKey?: pulumi.Input<string>;
80
+ /**
81
+ * Set of [key-value pairs](https://www.terraform.io/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
82
+ */
83
+ metadata?: pulumi.Input<{
84
+ [key: string]: pulumi.Input<string>;
85
+ }>;
86
+ /**
87
+ * The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field to \"seat\" for Checkout to display \"(price) per seat\", or \"environment\" to display \"(price) per environment\". Maximum length of 100 characters.
88
+ */
89
+ unitLabel?: pulumi.Input<string>;
90
+ }
@@ -0,0 +1,58 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.V2BillingLicensedItem = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class V2BillingLicensedItem extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing V2BillingLicensedItem resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new V2BillingLicensedItem(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of V2BillingLicensedItem. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === V2BillingLicensedItem.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["displayName"] = state?.displayName;
37
+ resourceInputs["lookupKey"] = state?.lookupKey;
38
+ resourceInputs["metadata"] = state?.metadata;
39
+ resourceInputs["unitLabel"] = state?.unitLabel;
40
+ }
41
+ else {
42
+ const args = argsOrState;
43
+ if (args?.displayName === undefined && !opts.urn) {
44
+ throw new Error("Missing required property 'displayName'");
45
+ }
46
+ resourceInputs["displayName"] = args?.displayName;
47
+ resourceInputs["lookupKey"] = args?.lookupKey;
48
+ resourceInputs["metadata"] = args?.metadata;
49
+ resourceInputs["unitLabel"] = args?.unitLabel;
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ super(V2BillingLicensedItem.__pulumiType, name, resourceInputs, opts);
53
+ }
54
+ }
55
+ exports.V2BillingLicensedItem = V2BillingLicensedItem;
56
+ /** @internal */
57
+ V2BillingLicensedItem.__pulumiType = 'stripe:index/v2BillingLicensedItem:V2BillingLicensedItem';
58
+ //# sourceMappingURL=v2billingLicensedItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2billingLicensedItem.js","sourceRoot":"","sources":["../v2billingLicensedItem.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC;YACV,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;QACnD,CAAC;aAAM,CAAC;YACJ,MAAM,IAAI,GAAG,WAAoD,CAAC;YAClE,IAAI,IAAI,E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