@stigg/js-client-sdk 3.75.0 → 3.77.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/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +6 -0
- package/dist/src/models.d.ts +6 -0
- package/package.json +2 -2
package/dist/models.d.ts
CHANGED
|
@@ -238,8 +238,13 @@ export declare type ApplySubscription = {
|
|
|
238
238
|
billingCountryCode?: string;
|
|
239
239
|
scheduleStrategy?: ScheduleStrategy;
|
|
240
240
|
};
|
|
241
|
+
export declare type TaxId = {
|
|
242
|
+
type: string;
|
|
243
|
+
value: string;
|
|
244
|
+
};
|
|
241
245
|
export declare type SubscriptionBillingInfo = {
|
|
242
246
|
taxRateIds?: string[];
|
|
247
|
+
taxIds?: TaxId[];
|
|
243
248
|
taxPercentage?: number;
|
|
244
249
|
billingAddress?: BillingAddress;
|
|
245
250
|
integrationId?: string;
|
|
@@ -419,6 +424,7 @@ export declare type Customer = {
|
|
|
419
424
|
id: string;
|
|
420
425
|
name?: string;
|
|
421
426
|
email?: string;
|
|
427
|
+
billingId?: string;
|
|
422
428
|
createdAt: Date;
|
|
423
429
|
updatedAt: Date;
|
|
424
430
|
subscriptions: Subscription[];
|
package/dist/src/models.d.ts
CHANGED
|
@@ -238,8 +238,13 @@ export declare type ApplySubscription = {
|
|
|
238
238
|
billingCountryCode?: string;
|
|
239
239
|
scheduleStrategy?: ScheduleStrategy;
|
|
240
240
|
};
|
|
241
|
+
export declare type TaxId = {
|
|
242
|
+
type: string;
|
|
243
|
+
value: string;
|
|
244
|
+
};
|
|
241
245
|
export declare type SubscriptionBillingInfo = {
|
|
242
246
|
taxRateIds?: string[];
|
|
247
|
+
taxIds?: TaxId[];
|
|
243
248
|
taxPercentage?: number;
|
|
244
249
|
billingAddress?: BillingAddress;
|
|
245
250
|
integrationId?: string;
|
|
@@ -419,6 +424,7 @@ export declare type Customer = {
|
|
|
419
424
|
id: string;
|
|
420
425
|
name?: string;
|
|
421
426
|
email?: string;
|
|
427
|
+
billingId?: string;
|
|
422
428
|
createdAt: Date;
|
|
423
429
|
updatedAt: Date;
|
|
424
430
|
subscriptions: Subscription[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stigg/js-client-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.77.0",
|
|
4
4
|
"description": "Stigg client-side SDK for Browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@apollo/client": "^3.4.17",
|
|
39
39
|
"@sentry/browser": "^7.11.1",
|
|
40
|
-
"@stigg/api-client-js": "5.
|
|
40
|
+
"@stigg/api-client-js": "5.89.0",
|
|
41
41
|
"cross-fetch": "^3.1.6",
|
|
42
42
|
"dayjs": "^1.11.13",
|
|
43
43
|
"fetch-retry": "^5.0.6",
|