@stigg/typescript 0.1.0-alpha.22 → 0.1.0-alpha.23
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/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/resources/v1/addons/addons.d.mts +493 -970
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +493 -970
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js +0 -6
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs +0 -6
- package/resources/v1/addons/addons.mjs.map +1 -1
- package/resources/v1/addons/entitlements.d.mts +28 -0
- package/resources/v1/addons/entitlements.d.mts.map +1 -1
- package/resources/v1/addons/entitlements.d.ts +28 -0
- package/resources/v1/addons/entitlements.d.ts.map +1 -1
- package/resources/v1/addons/index.d.mts +1 -1
- package/resources/v1/addons/index.d.mts.map +1 -1
- package/resources/v1/addons/index.d.ts +1 -1
- package/resources/v1/addons/index.d.ts.map +1 -1
- package/resources/v1/addons/index.js.map +1 -1
- package/resources/v1/addons/index.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +155 -5
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +155 -5
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +7 -0
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +7 -0
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +1 -1
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +1 -1
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/events/credits/credits.d.mts +1 -1
- package/resources/v1/events/credits/credits.d.mts.map +1 -1
- package/resources/v1/events/credits/credits.d.ts +1 -1
- package/resources/v1/events/credits/credits.d.ts.map +1 -1
- package/resources/v1/events/credits/credits.js.map +1 -1
- package/resources/v1/events/credits/credits.mjs.map +1 -1
- package/resources/v1/features.d.mts +9 -0
- package/resources/v1/features.d.mts.map +1 -1
- package/resources/v1/features.d.ts +9 -0
- package/resources/v1/features.d.ts.map +1 -1
- package/resources/v1/index.d.mts +3 -3
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -3
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/plans/entitlements.d.mts +28 -0
- package/resources/v1/plans/entitlements.d.mts.map +1 -1
- package/resources/v1/plans/entitlements.d.ts +28 -0
- package/resources/v1/plans/entitlements.d.ts.map +1 -1
- package/resources/v1/plans/index.d.mts +1 -1
- package/resources/v1/plans/index.d.mts.map +1 -1
- package/resources/v1/plans/index.d.ts +1 -1
- package/resources/v1/plans/index.d.ts.map +1 -1
- package/resources/v1/plans/index.js.map +1 -1
- package/resources/v1/plans/index.mjs.map +1 -1
- package/resources/v1/plans/plans.d.mts +392 -391
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +392 -391
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js +0 -7
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs +0 -7
- package/resources/v1/plans/plans.mjs.map +1 -1
- package/resources/v1/products.d.mts +5 -1
- package/resources/v1/products.d.mts.map +1 -1
- package/resources/v1/products.d.ts +5 -1
- package/resources/v1/products.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +17 -10
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +17 -10
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/usage.d.mts +1 -1
- package/resources/v1/usage.d.ts +1 -1
- package/resources/v1/v1.d.mts +6 -6
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +6 -6
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/addons/addons.ts +1111 -2508
- package/src/resources/v1/addons/entitlements.ts +33 -0
- package/src/resources/v1/addons/index.ts +0 -3
- package/src/resources/v1/customers/customers.ts +228 -4
- package/src/resources/v1/customers/index.ts +2 -0
- package/src/resources/v1/events/credits/credits.ts +3 -1
- package/src/resources/v1/features.ts +9 -0
- package/src/resources/v1/index.ts +2 -4
- package/src/resources/v1/plans/entitlements.ts +33 -0
- package/src/resources/v1/plans/index.ts +0 -1
- package/src/resources/v1/plans/plans.ts +924 -930
- package/src/resources/v1/products.ts +5 -1
- package/src/resources/v1/subscriptions/subscriptions.ts +14 -11
- package/src/resources/v1/usage.ts +1 -1
- package/src/resources/v1/v1.ts +4 -8
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -286,7 +286,7 @@ export interface ProductDuplicateProductParams {
|
|
|
286
286
|
/**
|
|
287
287
|
* The unique identifier for the entity
|
|
288
288
|
*/
|
|
289
|
-
|
|
289
|
+
targetId: string;
|
|
290
290
|
|
|
291
291
|
/**
|
|
292
292
|
* Description of the product
|
|
@@ -394,6 +394,10 @@ export namespace ProductUpdateProductParams {
|
|
|
394
394
|
*/
|
|
395
395
|
downgradePlanId?: string | null;
|
|
396
396
|
|
|
397
|
+
/**
|
|
398
|
+
* Indicates if the subscription should be prorated at the end of the billing
|
|
399
|
+
* period
|
|
400
|
+
*/
|
|
397
401
|
prorateAtEndOfBillingPeriod?: boolean | null;
|
|
398
402
|
|
|
399
403
|
/**
|
|
@@ -2715,6 +2715,11 @@ export namespace SubscriptionProvisionResponse {
|
|
|
2715
2715
|
|
|
2716
2716
|
export namespace UnionObjectVariant0 {
|
|
2717
2717
|
export interface Feature {
|
|
2718
|
+
/**
|
|
2719
|
+
* The unique reference ID of the entitlement.
|
|
2720
|
+
*/
|
|
2721
|
+
id: string;
|
|
2722
|
+
|
|
2718
2723
|
/**
|
|
2719
2724
|
* The human-readable name of the entitlement, shown in UI elements.
|
|
2720
2725
|
*/
|
|
@@ -2729,11 +2734,6 @@ export namespace SubscriptionProvisionResponse {
|
|
|
2729
2734
|
* The type of feature associated with the entitlement.
|
|
2730
2735
|
*/
|
|
2731
2736
|
featureType: 'BOOLEAN' | 'NUMBER' | 'ENUM';
|
|
2732
|
-
|
|
2733
|
-
/**
|
|
2734
|
-
* The unique reference ID of the entitlement.
|
|
2735
|
-
*/
|
|
2736
|
-
refId: string;
|
|
2737
2737
|
}
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
@@ -2805,14 +2805,14 @@ export namespace SubscriptionProvisionResponse {
|
|
|
2805
2805
|
displayName: string;
|
|
2806
2806
|
|
|
2807
2807
|
/**
|
|
2808
|
-
*
|
|
2808
|
+
* A description of the currency.
|
|
2809
2809
|
*/
|
|
2810
|
-
|
|
2810
|
+
description?: string | null;
|
|
2811
2811
|
|
|
2812
2812
|
/**
|
|
2813
|
-
*
|
|
2813
|
+
* Additional metadata associated with the currency.
|
|
2814
2814
|
*/
|
|
2815
|
-
|
|
2815
|
+
metadata?: { [key: string]: string } | null;
|
|
2816
2816
|
|
|
2817
2817
|
/**
|
|
2818
2818
|
* The plural form of the currency unit.
|
|
@@ -3945,6 +3945,9 @@ export namespace SubscriptionUpdateParams {
|
|
|
3945
3945
|
|
|
3946
3946
|
configuration?: AppliedCoupon.Configuration;
|
|
3947
3947
|
|
|
3948
|
+
/**
|
|
3949
|
+
* Stigg coupon ID
|
|
3950
|
+
*/
|
|
3948
3951
|
couponId?: string;
|
|
3949
3952
|
|
|
3950
3953
|
discount?: AppliedCoupon.Discount;
|
|
@@ -4127,7 +4130,7 @@ export namespace SubscriptionUpdateParams {
|
|
|
4127
4130
|
/**
|
|
4128
4131
|
* Additional metadata for the subscription
|
|
4129
4132
|
*/
|
|
4130
|
-
metadata?: { [key: string]:
|
|
4133
|
+
metadata?: { [key: string]: string };
|
|
4131
4134
|
|
|
4132
4135
|
prorationBehavior?: 'INVOICE_IMMEDIATELY' | 'CREATE_PRORATIONS' | 'NONE';
|
|
4133
4136
|
|
|
@@ -5151,7 +5154,7 @@ export namespace SubscriptionPreviewParams {
|
|
|
5151
5154
|
/**
|
|
5152
5155
|
* Additional billing metadata
|
|
5153
5156
|
*/
|
|
5154
|
-
metadata?:
|
|
5157
|
+
metadata?: { [key: string]: string };
|
|
5155
5158
|
|
|
5156
5159
|
/**
|
|
5157
5160
|
* Proration behavior
|
package/src/resources/v1/v1.ts
CHANGED
|
@@ -50,11 +50,8 @@ import {
|
|
|
50
50
|
AddonPublishParams,
|
|
51
51
|
AddonPublishResponse,
|
|
52
52
|
AddonRemoveDraftResponse,
|
|
53
|
-
AddonSetPricingParams,
|
|
54
53
|
AddonUpdateParams,
|
|
55
54
|
Addons,
|
|
56
|
-
SetPackagePricing,
|
|
57
|
-
SetPackagePricingResponse,
|
|
58
55
|
} from './addons/addons';
|
|
59
56
|
import * as CustomersAPI from './customers/customers';
|
|
60
57
|
import {
|
|
@@ -68,6 +65,8 @@ import {
|
|
|
68
65
|
CustomerListResponsesMyCursorIDPage,
|
|
69
66
|
CustomerProvisionParams,
|
|
70
67
|
CustomerResponse,
|
|
68
|
+
CustomerRetrieveEntitlementsParams,
|
|
69
|
+
CustomerRetrieveEntitlementsResponse,
|
|
71
70
|
CustomerUpdateParams,
|
|
72
71
|
Customers,
|
|
73
72
|
} from './customers/customers';
|
|
@@ -83,7 +82,6 @@ import {
|
|
|
83
82
|
PlanPublishParams,
|
|
84
83
|
PlanPublishResponse,
|
|
85
84
|
PlanRemoveDraftResponse,
|
|
86
|
-
PlanSetPricingParams,
|
|
87
85
|
PlanUpdateParams,
|
|
88
86
|
Plans,
|
|
89
87
|
} from './plans/plans';
|
|
@@ -136,6 +134,7 @@ export declare namespace V1 {
|
|
|
136
134
|
type CustomerListResponse as CustomerListResponse,
|
|
137
135
|
type CustomerImportResponse as CustomerImportResponse,
|
|
138
136
|
type CustomerListResourcesResponse as CustomerListResourcesResponse,
|
|
137
|
+
type CustomerRetrieveEntitlementsResponse as CustomerRetrieveEntitlementsResponse,
|
|
139
138
|
type CustomerListResponsesMyCursorIDPage as CustomerListResponsesMyCursorIDPage,
|
|
140
139
|
type CustomerListResourcesResponsesMyCursorIDPage as CustomerListResourcesResponsesMyCursorIDPage,
|
|
141
140
|
type CustomerUpdateParams as CustomerUpdateParams,
|
|
@@ -143,6 +142,7 @@ export declare namespace V1 {
|
|
|
143
142
|
type CustomerImportParams as CustomerImportParams,
|
|
144
143
|
type CustomerListResourcesParams as CustomerListResourcesParams,
|
|
145
144
|
type CustomerProvisionParams as CustomerProvisionParams,
|
|
145
|
+
type CustomerRetrieveEntitlementsParams as CustomerRetrieveEntitlementsParams,
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
export {
|
|
@@ -193,8 +193,6 @@ export declare namespace V1 {
|
|
|
193
193
|
export {
|
|
194
194
|
Addons as Addons,
|
|
195
195
|
type Addon as Addon,
|
|
196
|
-
type SetPackagePricing as SetPackagePricing,
|
|
197
|
-
type SetPackagePricingResponse as SetPackagePricingResponse,
|
|
198
196
|
type AddonListResponse as AddonListResponse,
|
|
199
197
|
type AddonPublishResponse as AddonPublishResponse,
|
|
200
198
|
type AddonRemoveDraftResponse as AddonRemoveDraftResponse,
|
|
@@ -203,7 +201,6 @@ export declare namespace V1 {
|
|
|
203
201
|
type AddonUpdateParams as AddonUpdateParams,
|
|
204
202
|
type AddonListParams as AddonListParams,
|
|
205
203
|
type AddonPublishParams as AddonPublishParams,
|
|
206
|
-
type AddonSetPricingParams as AddonSetPricingParams,
|
|
207
204
|
};
|
|
208
205
|
|
|
209
206
|
export {
|
|
@@ -217,7 +214,6 @@ export declare namespace V1 {
|
|
|
217
214
|
type PlanUpdateParams as PlanUpdateParams,
|
|
218
215
|
type PlanListParams as PlanListParams,
|
|
219
216
|
type PlanPublishParams as PlanPublishParams,
|
|
220
|
-
type PlanSetPricingParams as PlanSetPricingParams,
|
|
221
217
|
};
|
|
222
218
|
|
|
223
219
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.23'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.23";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.23";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.23'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.23'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|