@stigg/js-client-sdk 0.29.0 → 0.32.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.
|
@@ -267,8 +267,10 @@ export declare type CustomerFilter = {
|
|
|
267
267
|
export declare type CustomerFilterCustomerSubscriptionFilter = {
|
|
268
268
|
and?: InputMaybe<Array<CustomerFilterCustomerSubscriptionFilter>>;
|
|
269
269
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
270
|
+
cancellationDate?: InputMaybe<DateFieldComparison>;
|
|
270
271
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
271
272
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
273
|
+
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
272
274
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
273
275
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
274
276
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -276,6 +278,7 @@ export declare type CustomerFilterCustomerSubscriptionFilter = {
|
|
|
276
278
|
refId?: InputMaybe<StringFieldComparison>;
|
|
277
279
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
278
280
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
281
|
+
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
279
282
|
};
|
|
280
283
|
export declare type CustomerFilterPromotionalEntitlementFilter = {
|
|
281
284
|
and?: InputMaybe<Array<CustomerFilterPromotionalEntitlementFilter>>;
|
|
@@ -315,9 +318,11 @@ export declare type CustomerSubscriptionFilter = {
|
|
|
315
318
|
addons?: InputMaybe<CustomerSubscriptionFilterSubscriptionAddonFilter>;
|
|
316
319
|
and?: InputMaybe<Array<CustomerSubscriptionFilter>>;
|
|
317
320
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
321
|
+
cancellationDate?: InputMaybe<DateFieldComparison>;
|
|
318
322
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
319
323
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
320
324
|
customer?: InputMaybe<CustomerSubscriptionFilterCustomerFilter>;
|
|
325
|
+
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
321
326
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
322
327
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
323
328
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -326,6 +331,7 @@ export declare type CustomerSubscriptionFilter = {
|
|
|
326
331
|
refId?: InputMaybe<StringFieldComparison>;
|
|
327
332
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
328
333
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
334
|
+
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
329
335
|
};
|
|
330
336
|
export declare type CustomerSubscriptionFilterCustomerFilter = {
|
|
331
337
|
and?: InputMaybe<Array<CustomerSubscriptionFilterCustomerFilter>>;
|
|
@@ -363,14 +369,17 @@ export declare type CustomerSubscriptionSort = {
|
|
|
363
369
|
};
|
|
364
370
|
export declare enum CustomerSubscriptionSortFields {
|
|
365
371
|
BillingId = "billingId",
|
|
372
|
+
CancellationDate = "cancellationDate",
|
|
366
373
|
CreatedAt = "createdAt",
|
|
367
374
|
CrmId = "crmId",
|
|
375
|
+
EffectiveEndDate = "effectiveEndDate",
|
|
368
376
|
EndDate = "endDate",
|
|
369
377
|
EnvironmentId = "environmentId",
|
|
370
378
|
Id = "id",
|
|
371
379
|
RefId = "refId",
|
|
372
380
|
StartDate = "startDate",
|
|
373
|
-
Status = "status"
|
|
381
|
+
Status = "status",
|
|
382
|
+
TrialEndDate = "trialEndDate"
|
|
374
383
|
}
|
|
375
384
|
export declare type DateFieldComparison = {
|
|
376
385
|
between?: InputMaybe<DateFieldComparisonBetween>;
|
|
@@ -504,6 +513,7 @@ export declare enum ErrorCode {
|
|
|
504
513
|
IdentityForbidden = "IdentityForbidden",
|
|
505
514
|
IntegrityViolation = "IntegrityViolation",
|
|
506
515
|
InvalidAddressError = "InvalidAddressError",
|
|
516
|
+
InvalidCancellationDate = "InvalidCancellationDate",
|
|
507
517
|
InvalidEntitlementResetPeriod = "InvalidEntitlementResetPeriod",
|
|
508
518
|
InvalidMemberDelete = "InvalidMemberDelete",
|
|
509
519
|
InvalidUsageValueForIncrementalFeatureError = "InvalidUsageValueForIncrementalFeatureError",
|
|
@@ -520,6 +530,7 @@ export declare enum ErrorCode {
|
|
|
520
530
|
RateLimitExceeded = "RateLimitExceeded",
|
|
521
531
|
SubscriptionAlreadyCanceledOrExpired = "SubscriptionAlreadyCanceledOrExpired",
|
|
522
532
|
SubscriptionNotFound = "SubscriptionNotFound",
|
|
533
|
+
TrialCantBeCancelledAtArbitraryDate = "TrialCantBeCancelledAtArbitraryDate",
|
|
523
534
|
TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
|
|
524
535
|
UnPublishedPackage = "UnPublishedPackage",
|
|
525
536
|
Unauthenticated = "Unauthenticated",
|
|
@@ -1305,8 +1316,10 @@ export declare type SubscriptionAddonFilterAddonFilter = {
|
|
|
1305
1316
|
export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
|
|
1306
1317
|
and?: InputMaybe<Array<SubscriptionAddonFilterCustomerSubscriptionFilter>>;
|
|
1307
1318
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
1319
|
+
cancellationDate?: InputMaybe<DateFieldComparison>;
|
|
1308
1320
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
1309
1321
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
1322
|
+
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
1310
1323
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
1311
1324
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
1312
1325
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -1314,6 +1327,7 @@ export declare type SubscriptionAddonFilterCustomerSubscriptionFilter = {
|
|
|
1314
1327
|
refId?: InputMaybe<StringFieldComparison>;
|
|
1315
1328
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
1316
1329
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
1330
|
+
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
1317
1331
|
};
|
|
1318
1332
|
export declare type SubscriptionAddonFilterPriceFilter = {
|
|
1319
1333
|
and?: InputMaybe<Array<SubscriptionAddonFilterPriceFilter>>;
|
|
@@ -1347,7 +1361,8 @@ export declare type SubscriptionCancellationInput = {
|
|
|
1347
1361
|
};
|
|
1348
1362
|
export declare enum SubscriptionCancellationTime {
|
|
1349
1363
|
EndOfBillingPeriod = "END_OF_BILLING_PERIOD",
|
|
1350
|
-
Immediate = "IMMEDIATE"
|
|
1364
|
+
Immediate = "IMMEDIATE",
|
|
1365
|
+
SpecificDate = "SPECIFIC_DATE"
|
|
1351
1366
|
}
|
|
1352
1367
|
export declare enum SubscriptionEndSetup {
|
|
1353
1368
|
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
@@ -1404,8 +1419,10 @@ export declare type SubscriptionPriceFilter = {
|
|
|
1404
1419
|
export declare type SubscriptionPriceFilterCustomerSubscriptionFilter = {
|
|
1405
1420
|
and?: InputMaybe<Array<SubscriptionPriceFilterCustomerSubscriptionFilter>>;
|
|
1406
1421
|
billingId?: InputMaybe<StringFieldComparison>;
|
|
1422
|
+
cancellationDate?: InputMaybe<DateFieldComparison>;
|
|
1407
1423
|
createdAt?: InputMaybe<DateFieldComparison>;
|
|
1408
1424
|
crmId?: InputMaybe<StringFieldComparison>;
|
|
1425
|
+
effectiveEndDate?: InputMaybe<DateFieldComparison>;
|
|
1409
1426
|
endDate?: InputMaybe<DateFieldComparison>;
|
|
1410
1427
|
environmentId?: InputMaybe<StringFieldComparison>;
|
|
1411
1428
|
id?: InputMaybe<StringFieldComparison>;
|
|
@@ -1413,6 +1430,7 @@ export declare type SubscriptionPriceFilterCustomerSubscriptionFilter = {
|
|
|
1413
1430
|
refId?: InputMaybe<StringFieldComparison>;
|
|
1414
1431
|
startDate?: InputMaybe<DateFieldComparison>;
|
|
1415
1432
|
status?: InputMaybe<SubscriptionStatusFilterComparison>;
|
|
1433
|
+
trialEndDate?: InputMaybe<DateFieldComparison>;
|
|
1416
1434
|
};
|
|
1417
1435
|
export declare type SubscriptionPriceFilterPriceFilter = {
|
|
1418
1436
|
and?: InputMaybe<Array<SubscriptionPriceFilterPriceFilter>>;
|
|
@@ -1707,6 +1725,8 @@ export declare type SubscriptionFragment = {
|
|
|
1707
1725
|
id: string;
|
|
1708
1726
|
startDate: any;
|
|
1709
1727
|
endDate?: any | null | undefined;
|
|
1728
|
+
trialEndDate?: any | null | undefined;
|
|
1729
|
+
cancellationDate?: any | null | undefined;
|
|
1710
1730
|
status: SubscriptionStatus;
|
|
1711
1731
|
refId: string;
|
|
1712
1732
|
currentBillingPeriodEnd?: any | null | undefined;
|