@stigg/node-server-sdk 0.18.1 → 0.21.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/api/entitlements/entitlementsApi.d.ts +1 -4
- package/dist/api/entitlements/entitlementsApi.js +1 -16
- package/dist/api/generated/types.d.ts +85 -830
- package/dist/api/generated/types.js +15 -14
- package/dist/api/initApolloClient.d.ts +2 -2
- package/dist/api/initApolloClient.js +3 -3
- package/dist/api/managementApi.d.ts +3 -2
- package/dist/api/managementApi.js +30 -1
- package/dist/client.d.ts +50 -17
- package/dist/client.js +82 -51
- package/dist/configuration.d.ts +3 -11
- package/dist/configuration.js +7 -4
- package/dist/models.d.ts +87 -43
- package/dist/models.js +35 -15
- package/dist/services/cache/cachedEntitlement.d.ts +2 -5
- package/dist/services/cache/cachedEntitlement.js +1 -1
- package/dist/services/entitlementDecisionService.d.ts +2 -2
- package/dist/services/entitlementDecisionService.js +12 -14
- package/dist/services/entitlementsService.d.ts +8 -2
- package/dist/services/entitlementsService.js +71 -21
- package/dist/services/generateRandomSlug.d.ts +1 -0
- package/dist/services/generateRandomSlug.js +10 -0
- package/dist/services/loggerService.d.ts +8 -1
- package/dist/services/loggerService.js +1 -1
- package/dist/utils/ModelMapper.d.ts +7 -3
- package/dist/utils/ModelMapper.js +64 -58
- package/package.json +3 -2
- package/CHANGELOG.md +0 -53
|
@@ -31,48 +31,12 @@ export declare enum AccessDeniedReason {
|
|
|
31
31
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit",
|
|
32
32
|
Unknown = "Unknown"
|
|
33
33
|
}
|
|
34
|
-
export declare type AddAddonsToCustomerSubscriptionInput = {
|
|
35
|
-
/** The id of the record. */
|
|
36
|
-
id: Scalars['String'];
|
|
37
|
-
/** The ids of the relations. */
|
|
38
|
-
relationIds: Array<Scalars['String']>;
|
|
39
|
-
};
|
|
40
|
-
export declare type AddApiKeysToEnvironmentInput = {
|
|
41
|
-
/** The id of the record. */
|
|
42
|
-
id: Scalars['String'];
|
|
43
|
-
/** The ids of the relations. */
|
|
44
|
-
relationIds: Array<Scalars['String']>;
|
|
45
|
-
};
|
|
46
34
|
export declare type AddCompatibleAddonsToPlanInput = {
|
|
47
35
|
/** The id of the record. */
|
|
48
36
|
id: Scalars['String'];
|
|
49
37
|
/** The ids of the relations. */
|
|
50
38
|
relationIds: Array<Scalars['String']>;
|
|
51
39
|
};
|
|
52
|
-
export declare type AddPricesToAddonInput = {
|
|
53
|
-
/** The id of the record. */
|
|
54
|
-
id: Scalars['String'];
|
|
55
|
-
/** The ids of the relations. */
|
|
56
|
-
relationIds: Array<Scalars['String']>;
|
|
57
|
-
};
|
|
58
|
-
export declare type AddPricesToCustomerSubscriptionInput = {
|
|
59
|
-
/** The id of the record. */
|
|
60
|
-
id: Scalars['String'];
|
|
61
|
-
/** The ids of the relations. */
|
|
62
|
-
relationIds: Array<Scalars['String']>;
|
|
63
|
-
};
|
|
64
|
-
export declare type AddPricesToPlanInput = {
|
|
65
|
-
/** The id of the record. */
|
|
66
|
-
id: Scalars['String'];
|
|
67
|
-
/** The ids of the relations. */
|
|
68
|
-
relationIds: Array<Scalars['String']>;
|
|
69
|
-
};
|
|
70
|
-
export declare type AddSubscriptionsToCustomerInput = {
|
|
71
|
-
/** The id of the record. */
|
|
72
|
-
id: Scalars['String'];
|
|
73
|
-
/** The ids of the relations. */
|
|
74
|
-
relationIds: Array<Scalars['String']>;
|
|
75
|
-
};
|
|
76
40
|
export declare type AddonCreateInput = {
|
|
77
41
|
billingId?: Maybe<Scalars['String']>;
|
|
78
42
|
description?: Maybe<Scalars['String']>;
|
|
@@ -82,22 +46,6 @@ export declare type AddonCreateInput = {
|
|
|
82
46
|
refId: Scalars['String'];
|
|
83
47
|
status?: Maybe<PackageStatus>;
|
|
84
48
|
};
|
|
85
|
-
export declare type AddonDeleteFilter = {
|
|
86
|
-
and?: Maybe<Array<AddonDeleteFilter>>;
|
|
87
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
88
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
89
|
-
description?: Maybe<StringFieldComparison>;
|
|
90
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
91
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
92
|
-
id?: Maybe<StringFieldComparison>;
|
|
93
|
-
isLatest?: Maybe<BooleanFieldComparison>;
|
|
94
|
-
or?: Maybe<Array<AddonDeleteFilter>>;
|
|
95
|
-
productId?: Maybe<StringFieldComparison>;
|
|
96
|
-
refId?: Maybe<StringFieldComparison>;
|
|
97
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
98
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
99
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
100
|
-
};
|
|
101
49
|
export declare type AddonFilter = {
|
|
102
50
|
and?: Maybe<Array<AddonFilter>>;
|
|
103
51
|
billingId?: Maybe<StringFieldComparison>;
|
|
@@ -249,30 +197,10 @@ export declare type CreateIntegrationInput = {
|
|
|
249
197
|
vendorIdentifier: VendorIdentifier;
|
|
250
198
|
zuoraCredentials?: Maybe<ZuoraCredentialsInput>;
|
|
251
199
|
};
|
|
252
|
-
export declare type CreateManyCustomersInput = {
|
|
253
|
-
/** Array of records to create */
|
|
254
|
-
customers: Array<CustomerInput>;
|
|
255
|
-
};
|
|
256
|
-
export declare type CreateManyEnvironmentsInput = {
|
|
257
|
-
/** Array of records to create */
|
|
258
|
-
environments: Array<CreateEnvironment>;
|
|
259
|
-
};
|
|
260
|
-
export declare type CreateManyHooksInput = {
|
|
261
|
-
/** Array of records to create */
|
|
262
|
-
hooks: Array<CreateHook>;
|
|
263
|
-
};
|
|
264
|
-
export declare type CreateManyIntegrationsInput = {
|
|
265
|
-
/** Array of records to create */
|
|
266
|
-
integrations: Array<CreateIntegrationInput>;
|
|
267
|
-
};
|
|
268
200
|
export declare type CreateManyPackageEntitlementsInput = {
|
|
269
201
|
/** Array of records to create */
|
|
270
202
|
packageEntitlements: Array<PackageEntitlementInput>;
|
|
271
203
|
};
|
|
272
|
-
export declare type CreateManyProductsInput = {
|
|
273
|
-
/** Array of records to create */
|
|
274
|
-
products: Array<ProductCreateInput>;
|
|
275
|
-
};
|
|
276
204
|
export declare type CreateManyPromotionalEntitlementsInput = {
|
|
277
205
|
/** Array of records to create */
|
|
278
206
|
promotionalEntitlements: Array<PromotionalEntitlementInput>;
|
|
@@ -297,18 +225,10 @@ export declare type CreateOneIntegrationInput = {
|
|
|
297
225
|
/** The record to create */
|
|
298
226
|
integration: CreateIntegrationInput;
|
|
299
227
|
};
|
|
300
|
-
export declare type CreateOnePackageEntitlementInput = {
|
|
301
|
-
/** The record to create */
|
|
302
|
-
packageEntitlement: PackageEntitlementInput;
|
|
303
|
-
};
|
|
304
228
|
export declare type CreateOneProductInput = {
|
|
305
229
|
/** The record to create */
|
|
306
230
|
product: ProductCreateInput;
|
|
307
231
|
};
|
|
308
|
-
export declare type CreateOnePromotionalEntitlementInput = {
|
|
309
|
-
/** The record to create */
|
|
310
|
-
promotionalEntitlement: PromotionalEntitlementInput;
|
|
311
|
-
};
|
|
312
232
|
/** Currency */
|
|
313
233
|
export declare enum Currency {
|
|
314
234
|
Usd = "USD"
|
|
@@ -323,19 +243,6 @@ export declare type CursorPaging = {
|
|
|
323
243
|
/** Paginate last */
|
|
324
244
|
last?: Maybe<Scalars['Int']>;
|
|
325
245
|
};
|
|
326
|
-
export declare type CustomerDeleteFilter = {
|
|
327
|
-
and?: Maybe<Array<CustomerDeleteFilter>>;
|
|
328
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
329
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
330
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
331
|
-
email?: Maybe<StringFieldComparison>;
|
|
332
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
333
|
-
id?: Maybe<StringFieldComparison>;
|
|
334
|
-
name?: Maybe<StringFieldComparison>;
|
|
335
|
-
or?: Maybe<Array<CustomerDeleteFilter>>;
|
|
336
|
-
refId?: Maybe<StringFieldComparison>;
|
|
337
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
338
|
-
};
|
|
339
246
|
export declare type CustomerFilter = {
|
|
340
247
|
and?: Maybe<Array<CustomerFilter>>;
|
|
341
248
|
billingId?: Maybe<StringFieldComparison>;
|
|
@@ -453,19 +360,6 @@ export declare enum CustomerSubscriptionSortFields {
|
|
|
453
360
|
StartDate = "startDate",
|
|
454
361
|
Status = "status"
|
|
455
362
|
}
|
|
456
|
-
export declare type CustomerUpdateFilter = {
|
|
457
|
-
and?: Maybe<Array<CustomerUpdateFilter>>;
|
|
458
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
459
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
460
|
-
crmId?: Maybe<StringFieldComparison>;
|
|
461
|
-
email?: Maybe<StringFieldComparison>;
|
|
462
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
463
|
-
id?: Maybe<StringFieldComparison>;
|
|
464
|
-
name?: Maybe<StringFieldComparison>;
|
|
465
|
-
or?: Maybe<Array<CustomerUpdateFilter>>;
|
|
466
|
-
refId?: Maybe<StringFieldComparison>;
|
|
467
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
468
|
-
};
|
|
469
363
|
export declare type DateFieldComparison = {
|
|
470
364
|
between?: Maybe<DateFieldComparisonBetween>;
|
|
471
365
|
eq?: Maybe<Scalars['DateTime']>;
|
|
@@ -488,50 +382,6 @@ export declare type DefaultTrialConfigInputDto = {
|
|
|
488
382
|
duration: Scalars['Float'];
|
|
489
383
|
units: TrialPeriodUnits;
|
|
490
384
|
};
|
|
491
|
-
export declare type DeleteManyAddonsInput = {
|
|
492
|
-
/** Filter to find records to delete */
|
|
493
|
-
filter: AddonDeleteFilter;
|
|
494
|
-
};
|
|
495
|
-
export declare type DeleteManyCustomersInput = {
|
|
496
|
-
/** Filter to find records to delete */
|
|
497
|
-
filter: CustomerDeleteFilter;
|
|
498
|
-
};
|
|
499
|
-
export declare type DeleteManyEnvironmentsInput = {
|
|
500
|
-
/** Filter to find records to delete */
|
|
501
|
-
filter: EnvironmentDeleteFilter;
|
|
502
|
-
};
|
|
503
|
-
export declare type DeleteManyEventLogsInput = {
|
|
504
|
-
/** Filter to find records to delete */
|
|
505
|
-
filter: EventLogDeleteFilter;
|
|
506
|
-
};
|
|
507
|
-
export declare type DeleteManyHooksInput = {
|
|
508
|
-
/** Filter to find records to delete */
|
|
509
|
-
filter: HookDeleteFilter;
|
|
510
|
-
};
|
|
511
|
-
export declare type DeleteManyIntegrationsInput = {
|
|
512
|
-
/** Filter to find records to delete */
|
|
513
|
-
filter: IntegrationDeleteFilter;
|
|
514
|
-
};
|
|
515
|
-
export declare type DeleteManyPackageEntitlementsInput = {
|
|
516
|
-
/** Filter to find records to delete */
|
|
517
|
-
filter: PackageEntitlementDeleteFilter;
|
|
518
|
-
};
|
|
519
|
-
export declare type DeleteManyPlansInput = {
|
|
520
|
-
/** Filter to find records to delete */
|
|
521
|
-
filter: PlanDeleteFilter;
|
|
522
|
-
};
|
|
523
|
-
export declare type DeleteManyPricesInput = {
|
|
524
|
-
/** Filter to find records to delete */
|
|
525
|
-
filter: PriceDeleteFilter;
|
|
526
|
-
};
|
|
527
|
-
export declare type DeleteManyProductsInput = {
|
|
528
|
-
/** Filter to find records to delete */
|
|
529
|
-
filter: ProductDeleteFilter;
|
|
530
|
-
};
|
|
531
|
-
export declare type DeleteManyPromotionalEntitlementsInput = {
|
|
532
|
-
/** Filter to find records to delete */
|
|
533
|
-
filter: PromotionalEntitlementDeleteFilter;
|
|
534
|
-
};
|
|
535
385
|
export declare type DeleteOneAddonInput = {
|
|
536
386
|
/** The id of the record to delete. */
|
|
537
387
|
id: Scalars['String'];
|
|
@@ -544,10 +394,6 @@ export declare type DeleteOneEnvironmentInput = {
|
|
|
544
394
|
/** The id of the record to delete. */
|
|
545
395
|
id: Scalars['String'];
|
|
546
396
|
};
|
|
547
|
-
export declare type DeleteOneEventLogInput = {
|
|
548
|
-
/** The id of the record to delete. */
|
|
549
|
-
id: Scalars['String'];
|
|
550
|
-
};
|
|
551
397
|
export declare type DeleteOneFeatureInput = {
|
|
552
398
|
/** The id of the record to delete. */
|
|
553
399
|
id: Scalars['String'];
|
|
@@ -595,12 +441,6 @@ export declare enum EntitlementResetPeriod {
|
|
|
595
441
|
Month = "MONTH",
|
|
596
442
|
Week = "WEEK"
|
|
597
443
|
}
|
|
598
|
-
export declare type EnvironmentDeleteFilter = {
|
|
599
|
-
and?: Maybe<Array<EnvironmentDeleteFilter>>;
|
|
600
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
601
|
-
id?: Maybe<StringFieldComparison>;
|
|
602
|
-
or?: Maybe<Array<EnvironmentDeleteFilter>>;
|
|
603
|
-
};
|
|
604
444
|
export declare type EnvironmentFilter = {
|
|
605
445
|
and?: Maybe<Array<EnvironmentFilter>>;
|
|
606
446
|
displayName?: Maybe<StringFieldComparison>;
|
|
@@ -616,12 +456,6 @@ export declare enum EnvironmentSortFields {
|
|
|
616
456
|
DisplayName = "displayName",
|
|
617
457
|
Id = "id"
|
|
618
458
|
}
|
|
619
|
-
export declare type EnvironmentUpdateFilter = {
|
|
620
|
-
and?: Maybe<Array<EnvironmentUpdateFilter>>;
|
|
621
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
622
|
-
id?: Maybe<StringFieldComparison>;
|
|
623
|
-
or?: Maybe<Array<EnvironmentUpdateFilter>>;
|
|
624
|
-
};
|
|
625
459
|
/** error codes */
|
|
626
460
|
export declare enum ErrorCode {
|
|
627
461
|
AddonNotFound = "AddonNotFound",
|
|
@@ -644,6 +478,7 @@ export declare enum ErrorCode {
|
|
|
644
478
|
PlanNotFound = "PlanNotFound",
|
|
645
479
|
PlansCircularDependencyError = "PlansCircularDependencyError",
|
|
646
480
|
PriceNotFound = "PriceNotFound",
|
|
481
|
+
SubscriptionNotFound = "SubscriptionNotFound",
|
|
647
482
|
TrialsNotAllowedInProduct = "TrialsNotAllowedInProduct",
|
|
648
483
|
UnPublishedPackage = "UnPublishedPackage",
|
|
649
484
|
UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon",
|
|
@@ -651,27 +486,6 @@ export declare enum ErrorCode {
|
|
|
651
486
|
UnsupportedFeatureType = "UnsupportedFeatureType",
|
|
652
487
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
653
488
|
}
|
|
654
|
-
export declare type EventLogDeleteFilter = {
|
|
655
|
-
and?: Maybe<Array<EventLogDeleteFilter>>;
|
|
656
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
657
|
-
id?: Maybe<StringFieldComparison>;
|
|
658
|
-
or?: Maybe<Array<EventLogDeleteFilter>>;
|
|
659
|
-
};
|
|
660
|
-
export declare type EventLogFilter = {
|
|
661
|
-
and?: Maybe<Array<EventLogFilter>>;
|
|
662
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
663
|
-
id?: Maybe<StringFieldComparison>;
|
|
664
|
-
or?: Maybe<Array<EventLogFilter>>;
|
|
665
|
-
};
|
|
666
|
-
export declare type EventLogSort = {
|
|
667
|
-
direction: SortDirection;
|
|
668
|
-
field: EventLogSortFields;
|
|
669
|
-
nulls?: Maybe<SortNulls>;
|
|
670
|
-
};
|
|
671
|
-
export declare enum EventLogSortFields {
|
|
672
|
-
EnvironmentId = "environmentId",
|
|
673
|
-
Id = "id"
|
|
674
|
-
}
|
|
675
489
|
/** EventLogType */
|
|
676
490
|
export declare enum EventLogType {
|
|
677
491
|
AddonCreated = "ADDON_CREATED",
|
|
@@ -793,15 +607,6 @@ export declare type GetPackageByRefIdInput = {
|
|
|
793
607
|
refId: Scalars['String'];
|
|
794
608
|
versionNumber?: Maybe<Scalars['Float']>;
|
|
795
609
|
};
|
|
796
|
-
export declare type HookDeleteFilter = {
|
|
797
|
-
and?: Maybe<Array<HookDeleteFilter>>;
|
|
798
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
799
|
-
endpoint?: Maybe<StringFieldComparison>;
|
|
800
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
801
|
-
id?: Maybe<StringFieldComparison>;
|
|
802
|
-
or?: Maybe<Array<HookDeleteFilter>>;
|
|
803
|
-
status?: Maybe<HookStatusFilterComparison>;
|
|
804
|
-
};
|
|
805
610
|
export declare type HookFilter = {
|
|
806
611
|
and?: Maybe<Array<HookFilter>>;
|
|
807
612
|
createdAt?: Maybe<DateFieldComparison>;
|
|
@@ -844,15 +649,6 @@ export declare type HookStatusFilterComparison = {
|
|
|
844
649
|
notIn?: Maybe<Array<HookStatus>>;
|
|
845
650
|
notLike?: Maybe<HookStatus>;
|
|
846
651
|
};
|
|
847
|
-
export declare type HookUpdateFilter = {
|
|
848
|
-
and?: Maybe<Array<HookUpdateFilter>>;
|
|
849
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
850
|
-
endpoint?: Maybe<StringFieldComparison>;
|
|
851
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
852
|
-
id?: Maybe<StringFieldComparison>;
|
|
853
|
-
or?: Maybe<Array<HookUpdateFilter>>;
|
|
854
|
-
status?: Maybe<HookStatusFilterComparison>;
|
|
855
|
-
};
|
|
856
652
|
export declare type InitiateCheckoutInput = {
|
|
857
653
|
addons?: Maybe<Array<CheckoutAddonInput>>;
|
|
858
654
|
billingPeriod: BillingPeriod;
|
|
@@ -880,13 +676,6 @@ export declare type IntFieldComparisonBetween = {
|
|
|
880
676
|
lower: Scalars['Int'];
|
|
881
677
|
upper: Scalars['Int'];
|
|
882
678
|
};
|
|
883
|
-
export declare type IntegrationDeleteFilter = {
|
|
884
|
-
and?: Maybe<Array<IntegrationDeleteFilter>>;
|
|
885
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
886
|
-
id?: Maybe<StringFieldComparison>;
|
|
887
|
-
or?: Maybe<Array<IntegrationDeleteFilter>>;
|
|
888
|
-
vendorIdentifier?: Maybe<VendorIdentifierFilterComparison>;
|
|
889
|
-
};
|
|
890
679
|
export declare type IntegrationFilter = {
|
|
891
680
|
and?: Maybe<Array<IntegrationFilter>>;
|
|
892
681
|
environmentId?: Maybe<StringFieldComparison>;
|
|
@@ -904,13 +693,6 @@ export declare enum IntegrationSortFields {
|
|
|
904
693
|
Id = "id",
|
|
905
694
|
VendorIdentifier = "vendorIdentifier"
|
|
906
695
|
}
|
|
907
|
-
export declare type IntegrationUpdateFilter = {
|
|
908
|
-
and?: Maybe<Array<IntegrationUpdateFilter>>;
|
|
909
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
910
|
-
id?: Maybe<StringFieldComparison>;
|
|
911
|
-
or?: Maybe<Array<IntegrationUpdateFilter>>;
|
|
912
|
-
vendorIdentifier?: Maybe<VendorIdentifierFilterComparison>;
|
|
913
|
-
};
|
|
914
696
|
export declare type MemberFilter = {
|
|
915
697
|
and?: Maybe<Array<MemberFilter>>;
|
|
916
698
|
id?: Maybe<StringFieldComparison>;
|
|
@@ -981,15 +763,6 @@ export declare type NumberFieldComparisonBetween = {
|
|
|
981
763
|
lower: Scalars['Float'];
|
|
982
764
|
upper: Scalars['Float'];
|
|
983
765
|
};
|
|
984
|
-
export declare type PackageEntitlementDeleteFilter = {
|
|
985
|
-
and?: Maybe<Array<PackageEntitlementDeleteFilter>>;
|
|
986
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
987
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
988
|
-
id?: Maybe<StringFieldComparison>;
|
|
989
|
-
or?: Maybe<Array<PackageEntitlementDeleteFilter>>;
|
|
990
|
-
packageId?: Maybe<StringFieldComparison>;
|
|
991
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
992
|
-
};
|
|
993
766
|
export declare type PackageEntitlementFilter = {
|
|
994
767
|
and?: Maybe<Array<PackageEntitlementFilter>>;
|
|
995
768
|
createdAt?: Maybe<DateFieldComparison>;
|
|
@@ -1054,15 +827,6 @@ export declare enum PackageEntitlementSortFields {
|
|
|
1054
827
|
PackageId = "packageId",
|
|
1055
828
|
UpdatedAt = "updatedAt"
|
|
1056
829
|
}
|
|
1057
|
-
export declare type PackageEntitlementUpdateFilter = {
|
|
1058
|
-
and?: Maybe<Array<PackageEntitlementUpdateFilter>>;
|
|
1059
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1060
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1061
|
-
id?: Maybe<StringFieldComparison>;
|
|
1062
|
-
or?: Maybe<Array<PackageEntitlementUpdateFilter>>;
|
|
1063
|
-
packageId?: Maybe<StringFieldComparison>;
|
|
1064
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1065
|
-
};
|
|
1066
830
|
export declare type PackageEntitlementUpdateInput = {
|
|
1067
831
|
description?: Maybe<Scalars['String']>;
|
|
1068
832
|
hasUnlimitedUsage?: Maybe<Scalars['Boolean']>;
|
|
@@ -1106,8 +870,8 @@ export declare type PlanCreateInput = {
|
|
|
1106
870
|
refId: Scalars['String'];
|
|
1107
871
|
status?: Maybe<PackageStatus>;
|
|
1108
872
|
};
|
|
1109
|
-
export declare type
|
|
1110
|
-
and?: Maybe<Array<
|
|
873
|
+
export declare type PlanFilter = {
|
|
874
|
+
and?: Maybe<Array<PlanFilter>>;
|
|
1111
875
|
billingId?: Maybe<StringFieldComparison>;
|
|
1112
876
|
createdAt?: Maybe<DateFieldComparison>;
|
|
1113
877
|
description?: Maybe<StringFieldComparison>;
|
|
@@ -1115,28 +879,25 @@ export declare type PlanDeleteFilter = {
|
|
|
1115
879
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1116
880
|
id?: Maybe<StringFieldComparison>;
|
|
1117
881
|
isLatest?: Maybe<BooleanFieldComparison>;
|
|
1118
|
-
or?: Maybe<Array<
|
|
882
|
+
or?: Maybe<Array<PlanFilter>>;
|
|
883
|
+
product?: Maybe<PlanFilterProductFilter>;
|
|
1119
884
|
productId?: Maybe<StringFieldComparison>;
|
|
1120
885
|
refId?: Maybe<StringFieldComparison>;
|
|
1121
886
|
status?: Maybe<PackageStatusFilterComparison>;
|
|
1122
887
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
1123
888
|
versionNumber?: Maybe<IntFieldComparison>;
|
|
1124
889
|
};
|
|
1125
|
-
export declare type
|
|
1126
|
-
and?: Maybe<Array<
|
|
1127
|
-
billingId?: Maybe<StringFieldComparison>;
|
|
890
|
+
export declare type PlanFilterProductFilter = {
|
|
891
|
+
and?: Maybe<Array<PlanFilterProductFilter>>;
|
|
1128
892
|
createdAt?: Maybe<DateFieldComparison>;
|
|
1129
893
|
description?: Maybe<StringFieldComparison>;
|
|
1130
894
|
displayName?: Maybe<StringFieldComparison>;
|
|
1131
895
|
environmentId?: Maybe<StringFieldComparison>;
|
|
1132
896
|
id?: Maybe<StringFieldComparison>;
|
|
1133
|
-
|
|
1134
|
-
or?: Maybe<Array<
|
|
1135
|
-
productId?: Maybe<StringFieldComparison>;
|
|
897
|
+
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
898
|
+
or?: Maybe<Array<PlanFilterProductFilter>>;
|
|
1136
899
|
refId?: Maybe<StringFieldComparison>;
|
|
1137
|
-
status?: Maybe<PackageStatusFilterComparison>;
|
|
1138
900
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
1139
|
-
versionNumber?: Maybe<IntFieldComparison>;
|
|
1140
901
|
};
|
|
1141
902
|
export declare type PlanSort = {
|
|
1142
903
|
direction: SortDirection;
|
|
@@ -1174,13 +935,6 @@ export declare type PriceCreateInput = {
|
|
|
1174
935
|
packageId: Scalars['String'];
|
|
1175
936
|
price: MoneyInputDto;
|
|
1176
937
|
};
|
|
1177
|
-
export declare type PriceDeleteFilter = {
|
|
1178
|
-
and?: Maybe<Array<PriceDeleteFilter>>;
|
|
1179
|
-
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
1180
|
-
billingPeriod?: Maybe<BillingPeriodFilterComparison>;
|
|
1181
|
-
id?: Maybe<StringFieldComparison>;
|
|
1182
|
-
or?: Maybe<Array<PriceDeleteFilter>>;
|
|
1183
|
-
};
|
|
1184
938
|
export declare type PriceFilter = {
|
|
1185
939
|
and?: Maybe<Array<PriceFilter>>;
|
|
1186
940
|
billingModel?: Maybe<BillingModelFilterComparison>;
|
|
@@ -1230,18 +984,6 @@ export declare type ProductCreateInput = {
|
|
|
1230
984
|
environmentId: Scalars['String'];
|
|
1231
985
|
refId: Scalars['String'];
|
|
1232
986
|
};
|
|
1233
|
-
export declare type ProductDeleteFilter = {
|
|
1234
|
-
and?: Maybe<Array<ProductDeleteFilter>>;
|
|
1235
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1236
|
-
description?: Maybe<StringFieldComparison>;
|
|
1237
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1238
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1239
|
-
id?: Maybe<StringFieldComparison>;
|
|
1240
|
-
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
1241
|
-
or?: Maybe<Array<ProductDeleteFilter>>;
|
|
1242
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1243
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1244
|
-
};
|
|
1245
987
|
export declare type ProductFilter = {
|
|
1246
988
|
and?: Maybe<Array<ProductFilter>>;
|
|
1247
989
|
createdAt?: Maybe<DateFieldComparison>;
|
|
@@ -1254,6 +996,11 @@ export declare type ProductFilter = {
|
|
|
1254
996
|
refId?: Maybe<StringFieldComparison>;
|
|
1255
997
|
updatedAt?: Maybe<DateFieldComparison>;
|
|
1256
998
|
};
|
|
999
|
+
export declare type ProductSettingsInput = {
|
|
1000
|
+
downgradePlanId?: Maybe<Scalars['String']>;
|
|
1001
|
+
subscriptionCancellationTime: SubscriptionCancellationTime;
|
|
1002
|
+
subscriptionEndSetup: SubscriptionEndSetup;
|
|
1003
|
+
};
|
|
1257
1004
|
export declare type ProductSort = {
|
|
1258
1005
|
direction: SortDirection;
|
|
1259
1006
|
field: ProductSortFields;
|
|
@@ -1269,32 +1016,10 @@ export declare enum ProductSortFields {
|
|
|
1269
1016
|
RefId = "refId",
|
|
1270
1017
|
UpdatedAt = "updatedAt"
|
|
1271
1018
|
}
|
|
1272
|
-
export declare type ProductUpdateFilter = {
|
|
1273
|
-
and?: Maybe<Array<ProductUpdateFilter>>;
|
|
1274
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1275
|
-
description?: Maybe<StringFieldComparison>;
|
|
1276
|
-
displayName?: Maybe<StringFieldComparison>;
|
|
1277
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1278
|
-
id?: Maybe<StringFieldComparison>;
|
|
1279
|
-
isDefaultProduct?: Maybe<BooleanFieldComparison>;
|
|
1280
|
-
or?: Maybe<Array<ProductUpdateFilter>>;
|
|
1281
|
-
refId?: Maybe<StringFieldComparison>;
|
|
1282
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1283
|
-
};
|
|
1284
1019
|
export declare type ProductUpdateInput = {
|
|
1285
1020
|
description?: Maybe<Scalars['String']>;
|
|
1286
1021
|
displayName?: Maybe<Scalars['String']>;
|
|
1287
|
-
|
|
1288
|
-
trialSetup?: Maybe<TrialSetup>;
|
|
1289
|
-
};
|
|
1290
|
-
export declare type PromotionalEntitlementDeleteFilter = {
|
|
1291
|
-
and?: Maybe<Array<PromotionalEntitlementDeleteFilter>>;
|
|
1292
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1293
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1294
|
-
id?: Maybe<StringFieldComparison>;
|
|
1295
|
-
or?: Maybe<Array<PromotionalEntitlementDeleteFilter>>;
|
|
1296
|
-
status?: Maybe<PromotionalEntitlementStatusFilterComparison>;
|
|
1297
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1022
|
+
productSettings?: Maybe<ProductSettingsInput>;
|
|
1298
1023
|
};
|
|
1299
1024
|
export declare type PromotionalEntitlementFilter = {
|
|
1300
1025
|
and?: Maybe<Array<PromotionalEntitlementFilter>>;
|
|
@@ -1362,15 +1087,6 @@ export declare type PromotionalEntitlementStatusFilterComparison = {
|
|
|
1362
1087
|
notIn?: Maybe<Array<PromotionalEntitlementStatus>>;
|
|
1363
1088
|
notLike?: Maybe<PromotionalEntitlementStatus>;
|
|
1364
1089
|
};
|
|
1365
|
-
export declare type PromotionalEntitlementUpdateFilter = {
|
|
1366
|
-
and?: Maybe<Array<PromotionalEntitlementUpdateFilter>>;
|
|
1367
|
-
createdAt?: Maybe<DateFieldComparison>;
|
|
1368
|
-
environmentId?: Maybe<StringFieldComparison>;
|
|
1369
|
-
id?: Maybe<StringFieldComparison>;
|
|
1370
|
-
or?: Maybe<Array<PromotionalEntitlementUpdateFilter>>;
|
|
1371
|
-
status?: Maybe<PromotionalEntitlementStatusFilterComparison>;
|
|
1372
|
-
updatedAt?: Maybe<DateFieldComparison>;
|
|
1373
|
-
};
|
|
1374
1090
|
export declare type PromotionalEntitlementUpdateInput = {
|
|
1375
1091
|
description?: Maybe<Scalars['String']>;
|
|
1376
1092
|
endDate?: Maybe<Scalars['DateTime']>;
|
|
@@ -1387,499 +1103,55 @@ export declare enum PublishMigrationType {
|
|
|
1387
1103
|
AllCustomers = "ALL_CUSTOMERS",
|
|
1388
1104
|
NewCustomers = "NEW_CUSTOMERS"
|
|
1389
1105
|
}
|
|
1390
|
-
export declare type
|
|
1391
|
-
/** The id of the record. */
|
|
1392
|
-
id: Scalars['String'];
|
|
1393
|
-
/** The id of relation. */
|
|
1394
|
-
relationId: Scalars['String'];
|
|
1395
|
-
};
|
|
1396
|
-
export declare type RemoveAccountFromFeatureInput = {
|
|
1397
|
-
/** The id of the record. */
|
|
1398
|
-
id: Scalars['String'];
|
|
1399
|
-
/** The id of relation. */
|
|
1400
|
-
relationId: Scalars['String'];
|
|
1401
|
-
};
|
|
1402
|
-
export declare type RemoveAccountFromHookInput = {
|
|
1403
|
-
/** The id of the record. */
|
|
1404
|
-
id: Scalars['String'];
|
|
1405
|
-
/** The id of relation. */
|
|
1406
|
-
relationId: Scalars['String'];
|
|
1407
|
-
};
|
|
1408
|
-
export declare type RemoveAccountFromIntegrationInput = {
|
|
1409
|
-
/** The id of the record. */
|
|
1410
|
-
id: Scalars['String'];
|
|
1411
|
-
/** The id of relation. */
|
|
1412
|
-
relationId: Scalars['String'];
|
|
1413
|
-
};
|
|
1414
|
-
export declare type RemoveAccountFromMemberInput = {
|
|
1415
|
-
/** The id of the record. */
|
|
1416
|
-
id: Scalars['String'];
|
|
1417
|
-
/** The id of relation. */
|
|
1418
|
-
relationId: Scalars['String'];
|
|
1419
|
-
};
|
|
1420
|
-
export declare type RemoveAddonFromSubscriptionAddonInput = {
|
|
1106
|
+
export declare type RemoveBasePlanFromPlanInput = {
|
|
1421
1107
|
/** The id of the record. */
|
|
1422
1108
|
id: Scalars['String'];
|
|
1423
1109
|
/** The id of relation. */
|
|
1424
1110
|
relationId: Scalars['String'];
|
|
1425
1111
|
};
|
|
1426
|
-
export declare type
|
|
1112
|
+
export declare type RemoveCompatibleAddonsFromPlanInput = {
|
|
1427
1113
|
/** The id of the record. */
|
|
1428
1114
|
id: Scalars['String'];
|
|
1429
1115
|
/** The ids of the relations. */
|
|
1430
1116
|
relationIds: Array<Scalars['String']>;
|
|
1431
1117
|
};
|
|
1432
|
-
export declare type
|
|
1118
|
+
export declare type SetBasePlanOnPlanInput = {
|
|
1433
1119
|
/** The id of the record. */
|
|
1434
1120
|
id: Scalars['String'];
|
|
1435
1121
|
/** The id of relation. */
|
|
1436
1122
|
relationId: Scalars['String'];
|
|
1437
1123
|
};
|
|
1438
|
-
export declare type
|
|
1124
|
+
export declare type SetCompatibleAddonsOnPlanInput = {
|
|
1439
1125
|
/** The id of the record. */
|
|
1440
1126
|
id: Scalars['String'];
|
|
1441
1127
|
/** The ids of the relations. */
|
|
1442
1128
|
relationIds: Array<Scalars['String']>;
|
|
1443
1129
|
};
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
export declare
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
/** The id of the record. */
|
|
1470
|
-
id: Scalars['String'];
|
|
1471
|
-
/** The id of relation. */
|
|
1472
|
-
relationId: Scalars['String'];
|
|
1473
|
-
};
|
|
1474
|
-
export declare type RemoveEnvironmentFromCustomerInput = {
|
|
1475
|
-
/** The id of the record. */
|
|
1476
|
-
id: Scalars['String'];
|
|
1477
|
-
/** The id of relation. */
|
|
1478
|
-
relationId: Scalars['String'];
|
|
1479
|
-
};
|
|
1480
|
-
export declare type RemoveEnvironmentFromCustomerSubscriptionInput = {
|
|
1481
|
-
/** The id of the record. */
|
|
1482
|
-
id: Scalars['String'];
|
|
1483
|
-
/** The id of relation. */
|
|
1484
|
-
relationId: Scalars['String'];
|
|
1485
|
-
};
|
|
1486
|
-
export declare type RemoveEnvironmentFromEventLogInput = {
|
|
1487
|
-
/** The id of the record. */
|
|
1488
|
-
id: Scalars['String'];
|
|
1489
|
-
/** The id of relation. */
|
|
1490
|
-
relationId: Scalars['String'];
|
|
1491
|
-
};
|
|
1492
|
-
export declare type RemoveEnvironmentFromFeatureInput = {
|
|
1493
|
-
/** The id of the record. */
|
|
1494
|
-
id: Scalars['String'];
|
|
1495
|
-
/** The id of relation. */
|
|
1496
|
-
relationId: Scalars['String'];
|
|
1497
|
-
};
|
|
1498
|
-
export declare type RemoveEnvironmentFromHookInput = {
|
|
1499
|
-
/** The id of the record. */
|
|
1500
|
-
id: Scalars['String'];
|
|
1501
|
-
/** The id of relation. */
|
|
1502
|
-
relationId: Scalars['String'];
|
|
1503
|
-
};
|
|
1504
|
-
export declare type RemoveEnvironmentFromIntegrationInput = {
|
|
1505
|
-
/** The id of the record. */
|
|
1506
|
-
id: Scalars['String'];
|
|
1507
|
-
/** The id of relation. */
|
|
1508
|
-
relationId: Scalars['String'];
|
|
1509
|
-
};
|
|
1510
|
-
export declare type RemoveEnvironmentFromPlanInput = {
|
|
1511
|
-
/** The id of the record. */
|
|
1512
|
-
id: Scalars['String'];
|
|
1513
|
-
/** The id of relation. */
|
|
1514
|
-
relationId: Scalars['String'];
|
|
1515
|
-
};
|
|
1516
|
-
export declare type RemoveEnvironmentFromProductInput = {
|
|
1517
|
-
/** The id of the record. */
|
|
1518
|
-
id: Scalars['String'];
|
|
1519
|
-
/** The id of relation. */
|
|
1520
|
-
relationId: Scalars['String'];
|
|
1521
|
-
};
|
|
1522
|
-
export declare type RemoveEnvironmentFromUsageMeasurementInput = {
|
|
1523
|
-
/** The id of the record. */
|
|
1524
|
-
id: Scalars['String'];
|
|
1525
|
-
/** The id of relation. */
|
|
1526
|
-
relationId: Scalars['String'];
|
|
1527
|
-
};
|
|
1528
|
-
export declare type RemoveFeatureFromPackageEntitlementInput = {
|
|
1529
|
-
/** The id of the record. */
|
|
1530
|
-
id: Scalars['String'];
|
|
1531
|
-
/** The id of relation. */
|
|
1532
|
-
relationId: Scalars['String'];
|
|
1533
|
-
};
|
|
1534
|
-
export declare type RemoveFeatureFromPromotionalEntitlementInput = {
|
|
1535
|
-
/** The id of the record. */
|
|
1536
|
-
id: Scalars['String'];
|
|
1537
|
-
/** The id of relation. */
|
|
1538
|
-
relationId: Scalars['String'];
|
|
1539
|
-
};
|
|
1540
|
-
export declare type RemoveFeatureFromUsageMeasurementInput = {
|
|
1541
|
-
/** The id of the record. */
|
|
1542
|
-
id: Scalars['String'];
|
|
1543
|
-
/** The id of relation. */
|
|
1544
|
-
relationId: Scalars['String'];
|
|
1545
|
-
};
|
|
1546
|
-
export declare type RemovePackageFromPackageEntitlementInput = {
|
|
1547
|
-
/** The id of the record. */
|
|
1548
|
-
id: Scalars['String'];
|
|
1549
|
-
/** The id of relation. */
|
|
1550
|
-
relationId: Scalars['String'];
|
|
1551
|
-
};
|
|
1552
|
-
export declare type RemovePackageFromPriceInput = {
|
|
1553
|
-
/** The id of the record. */
|
|
1554
|
-
id: Scalars['String'];
|
|
1555
|
-
/** The id of relation. */
|
|
1556
|
-
relationId: Scalars['String'];
|
|
1557
|
-
};
|
|
1558
|
-
export declare type RemovePlanFromCustomerSubscriptionInput = {
|
|
1559
|
-
/** The id of the record. */
|
|
1560
|
-
id: Scalars['String'];
|
|
1561
|
-
/** The id of relation. */
|
|
1562
|
-
relationId: Scalars['String'];
|
|
1563
|
-
};
|
|
1564
|
-
export declare type RemovePriceFromSubscriptionAddonInput = {
|
|
1565
|
-
/** The id of the record. */
|
|
1566
|
-
id: Scalars['String'];
|
|
1567
|
-
/** The id of relation. */
|
|
1568
|
-
relationId: Scalars['String'];
|
|
1569
|
-
};
|
|
1570
|
-
export declare type RemovePriceFromSubscriptionPriceInput = {
|
|
1571
|
-
/** The id of the record. */
|
|
1572
|
-
id: Scalars['String'];
|
|
1573
|
-
/** The id of relation. */
|
|
1574
|
-
relationId: Scalars['String'];
|
|
1575
|
-
};
|
|
1576
|
-
export declare type RemovePricesFromAddonInput = {
|
|
1577
|
-
/** The id of the record. */
|
|
1578
|
-
id: Scalars['String'];
|
|
1579
|
-
/** The ids of the relations. */
|
|
1580
|
-
relationIds: Array<Scalars['String']>;
|
|
1581
|
-
};
|
|
1582
|
-
export declare type RemovePricesFromCustomerSubscriptionInput = {
|
|
1583
|
-
/** The id of the record. */
|
|
1584
|
-
id: Scalars['String'];
|
|
1585
|
-
/** The ids of the relations. */
|
|
1586
|
-
relationIds: Array<Scalars['String']>;
|
|
1587
|
-
};
|
|
1588
|
-
export declare type RemovePricesFromPlanInput = {
|
|
1589
|
-
/** The id of the record. */
|
|
1590
|
-
id: Scalars['String'];
|
|
1591
|
-
/** The ids of the relations. */
|
|
1592
|
-
relationIds: Array<Scalars['String']>;
|
|
1593
|
-
};
|
|
1594
|
-
export declare type RemoveSubscriptionFromSubscriptionAddonInput = {
|
|
1595
|
-
/** The id of the record. */
|
|
1596
|
-
id: Scalars['String'];
|
|
1597
|
-
/** The id of relation. */
|
|
1598
|
-
relationId: Scalars['String'];
|
|
1599
|
-
};
|
|
1600
|
-
export declare type RemoveSubscriptionFromSubscriptionPriceInput = {
|
|
1601
|
-
/** The id of the record. */
|
|
1602
|
-
id: Scalars['String'];
|
|
1603
|
-
/** The id of relation. */
|
|
1604
|
-
relationId: Scalars['String'];
|
|
1605
|
-
};
|
|
1606
|
-
export declare type RemoveUserFromMemberInput = {
|
|
1607
|
-
/** The id of the record. */
|
|
1608
|
-
id: Scalars['String'];
|
|
1609
|
-
/** The id of relation. */
|
|
1610
|
-
relationId: Scalars['String'];
|
|
1611
|
-
};
|
|
1612
|
-
export declare type SetAccountOnEnvironmentInput = {
|
|
1613
|
-
/** The id of the record. */
|
|
1614
|
-
id: Scalars['String'];
|
|
1615
|
-
/** The id of relation. */
|
|
1616
|
-
relationId: Scalars['String'];
|
|
1617
|
-
};
|
|
1618
|
-
export declare type SetAccountOnFeatureInput = {
|
|
1619
|
-
/** The id of the record. */
|
|
1620
|
-
id: Scalars['String'];
|
|
1621
|
-
/** The id of relation. */
|
|
1622
|
-
relationId: Scalars['String'];
|
|
1623
|
-
};
|
|
1624
|
-
export declare type SetAccountOnHookInput = {
|
|
1625
|
-
/** The id of the record. */
|
|
1626
|
-
id: Scalars['String'];
|
|
1627
|
-
/** The id of relation. */
|
|
1628
|
-
relationId: Scalars['String'];
|
|
1629
|
-
};
|
|
1630
|
-
export declare type SetAccountOnIntegrationInput = {
|
|
1631
|
-
/** The id of the record. */
|
|
1632
|
-
id: Scalars['String'];
|
|
1633
|
-
/** The id of relation. */
|
|
1634
|
-
relationId: Scalars['String'];
|
|
1635
|
-
};
|
|
1636
|
-
export declare type SetAccountOnMemberInput = {
|
|
1637
|
-
/** The id of the record. */
|
|
1638
|
-
id: Scalars['String'];
|
|
1639
|
-
/** The id of relation. */
|
|
1640
|
-
relationId: Scalars['String'];
|
|
1641
|
-
};
|
|
1642
|
-
export declare type SetAddonOnSubscriptionAddonInput = {
|
|
1643
|
-
/** The id of the record. */
|
|
1644
|
-
id: Scalars['String'];
|
|
1645
|
-
/** The id of relation. */
|
|
1646
|
-
relationId: Scalars['String'];
|
|
1647
|
-
};
|
|
1648
|
-
export declare type SetAddonsOnCustomerSubscriptionInput = {
|
|
1649
|
-
/** The id of the record. */
|
|
1650
|
-
id: Scalars['String'];
|
|
1651
|
-
/** The ids of the relations. */
|
|
1652
|
-
relationIds: Array<Scalars['String']>;
|
|
1653
|
-
};
|
|
1654
|
-
export declare type SetApiKeysOnEnvironmentInput = {
|
|
1655
|
-
/** The id of the record. */
|
|
1656
|
-
id: Scalars['String'];
|
|
1657
|
-
/** The ids of the relations. */
|
|
1658
|
-
relationIds: Array<Scalars['String']>;
|
|
1659
|
-
};
|
|
1660
|
-
export declare type SetBasePlanOnPlanInput = {
|
|
1661
|
-
/** The id of the record. */
|
|
1662
|
-
id: Scalars['String'];
|
|
1663
|
-
/** The id of relation. */
|
|
1664
|
-
relationId: Scalars['String'];
|
|
1665
|
-
};
|
|
1666
|
-
export declare type SetCompatibleAddonsOnPlanInput = {
|
|
1667
|
-
/** The id of the record. */
|
|
1668
|
-
id: Scalars['String'];
|
|
1669
|
-
/** The ids of the relations. */
|
|
1670
|
-
relationIds: Array<Scalars['String']>;
|
|
1671
|
-
};
|
|
1672
|
-
export declare type SetCustomerOnCustomerSubscriptionInput = {
|
|
1673
|
-
/** The id of the record. */
|
|
1674
|
-
id: Scalars['String'];
|
|
1675
|
-
/** The id of relation. */
|
|
1676
|
-
relationId: Scalars['String'];
|
|
1677
|
-
};
|
|
1678
|
-
export declare type SetCustomerOnPromotionalEntitlementInput = {
|
|
1679
|
-
/** The id of the record. */
|
|
1680
|
-
id: Scalars['String'];
|
|
1681
|
-
/** The id of relation. */
|
|
1682
|
-
relationId: Scalars['String'];
|
|
1683
|
-
};
|
|
1684
|
-
export declare type SetCustomerOnUsageMeasurementInput = {
|
|
1685
|
-
/** The id of the record. */
|
|
1686
|
-
id: Scalars['String'];
|
|
1687
|
-
/** The id of relation. */
|
|
1688
|
-
relationId: Scalars['String'];
|
|
1689
|
-
};
|
|
1690
|
-
export declare type SetDowngradePlanOnProductInput = {
|
|
1691
|
-
/** The id of the record. */
|
|
1692
|
-
id: Scalars['String'];
|
|
1693
|
-
/** The id of relation. */
|
|
1694
|
-
relationId: Scalars['String'];
|
|
1695
|
-
};
|
|
1696
|
-
export declare type SetEnvironmentOnAddonInput = {
|
|
1697
|
-
/** The id of the record. */
|
|
1698
|
-
id: Scalars['String'];
|
|
1699
|
-
/** The id of relation. */
|
|
1700
|
-
relationId: Scalars['String'];
|
|
1701
|
-
};
|
|
1702
|
-
export declare type SetEnvironmentOnCustomerInput = {
|
|
1703
|
-
/** The id of the record. */
|
|
1704
|
-
id: Scalars['String'];
|
|
1705
|
-
/** The id of relation. */
|
|
1706
|
-
relationId: Scalars['String'];
|
|
1707
|
-
};
|
|
1708
|
-
export declare type SetEnvironmentOnCustomerSubscriptionInput = {
|
|
1709
|
-
/** The id of the record. */
|
|
1710
|
-
id: Scalars['String'];
|
|
1711
|
-
/** The id of relation. */
|
|
1712
|
-
relationId: Scalars['String'];
|
|
1713
|
-
};
|
|
1714
|
-
export declare type SetEnvironmentOnEventLogInput = {
|
|
1715
|
-
/** The id of the record. */
|
|
1716
|
-
id: Scalars['String'];
|
|
1717
|
-
/** The id of relation. */
|
|
1718
|
-
relationId: Scalars['String'];
|
|
1719
|
-
};
|
|
1720
|
-
export declare type SetEnvironmentOnFeatureInput = {
|
|
1721
|
-
/** The id of the record. */
|
|
1722
|
-
id: Scalars['String'];
|
|
1723
|
-
/** The id of relation. */
|
|
1724
|
-
relationId: Scalars['String'];
|
|
1725
|
-
};
|
|
1726
|
-
export declare type SetEnvironmentOnHookInput = {
|
|
1727
|
-
/** The id of the record. */
|
|
1728
|
-
id: Scalars['String'];
|
|
1729
|
-
/** The id of relation. */
|
|
1730
|
-
relationId: Scalars['String'];
|
|
1731
|
-
};
|
|
1732
|
-
export declare type SetEnvironmentOnIntegrationInput = {
|
|
1733
|
-
/** The id of the record. */
|
|
1734
|
-
id: Scalars['String'];
|
|
1735
|
-
/** The id of relation. */
|
|
1736
|
-
relationId: Scalars['String'];
|
|
1737
|
-
};
|
|
1738
|
-
export declare type SetEnvironmentOnPlanInput = {
|
|
1739
|
-
/** The id of the record. */
|
|
1740
|
-
id: Scalars['String'];
|
|
1741
|
-
/** The id of relation. */
|
|
1742
|
-
relationId: Scalars['String'];
|
|
1743
|
-
};
|
|
1744
|
-
export declare type SetEnvironmentOnProductInput = {
|
|
1745
|
-
/** The id of the record. */
|
|
1746
|
-
id: Scalars['String'];
|
|
1747
|
-
/** The id of relation. */
|
|
1748
|
-
relationId: Scalars['String'];
|
|
1749
|
-
};
|
|
1750
|
-
export declare type SetEnvironmentOnUsageMeasurementInput = {
|
|
1751
|
-
/** The id of the record. */
|
|
1752
|
-
id: Scalars['String'];
|
|
1753
|
-
/** The id of relation. */
|
|
1754
|
-
relationId: Scalars['String'];
|
|
1755
|
-
};
|
|
1756
|
-
export declare type SetFeatureOnPackageEntitlementInput = {
|
|
1757
|
-
/** The id of the record. */
|
|
1758
|
-
id: Scalars['String'];
|
|
1759
|
-
/** The id of relation. */
|
|
1760
|
-
relationId: Scalars['String'];
|
|
1761
|
-
};
|
|
1762
|
-
export declare type SetFeatureOnPromotionalEntitlementInput = {
|
|
1763
|
-
/** The id of the record. */
|
|
1764
|
-
id: Scalars['String'];
|
|
1765
|
-
/** The id of relation. */
|
|
1766
|
-
relationId: Scalars['String'];
|
|
1767
|
-
};
|
|
1768
|
-
export declare type SetFeatureOnUsageMeasurementInput = {
|
|
1769
|
-
/** The id of the record. */
|
|
1770
|
-
id: Scalars['String'];
|
|
1771
|
-
/** The id of relation. */
|
|
1772
|
-
relationId: Scalars['String'];
|
|
1773
|
-
};
|
|
1774
|
-
export declare type SetPackageOnPackageEntitlementInput = {
|
|
1775
|
-
/** The id of the record. */
|
|
1776
|
-
id: Scalars['String'];
|
|
1777
|
-
/** The id of relation. */
|
|
1778
|
-
relationId: Scalars['String'];
|
|
1779
|
-
};
|
|
1780
|
-
export declare type SetPackageOnPriceInput = {
|
|
1781
|
-
/** The id of the record. */
|
|
1782
|
-
id: Scalars['String'];
|
|
1783
|
-
/** The id of relation. */
|
|
1784
|
-
relationId: Scalars['String'];
|
|
1785
|
-
};
|
|
1786
|
-
export declare type SetPlanOnCustomerSubscriptionInput = {
|
|
1787
|
-
/** The id of the record. */
|
|
1788
|
-
id: Scalars['String'];
|
|
1789
|
-
/** The id of relation. */
|
|
1790
|
-
relationId: Scalars['String'];
|
|
1791
|
-
};
|
|
1792
|
-
export declare type SetPriceOnSubscriptionAddonInput = {
|
|
1793
|
-
/** The id of the record. */
|
|
1794
|
-
id: Scalars['String'];
|
|
1795
|
-
/** The id of relation. */
|
|
1796
|
-
relationId: Scalars['String'];
|
|
1797
|
-
};
|
|
1798
|
-
export declare type SetPriceOnSubscriptionPriceInput = {
|
|
1799
|
-
/** The id of the record. */
|
|
1800
|
-
id: Scalars['String'];
|
|
1801
|
-
/** The id of relation. */
|
|
1802
|
-
relationId: Scalars['String'];
|
|
1803
|
-
};
|
|
1804
|
-
export declare type SetPricesOnAddonInput = {
|
|
1805
|
-
/** The id of the record. */
|
|
1806
|
-
id: Scalars['String'];
|
|
1807
|
-
/** The ids of the relations. */
|
|
1808
|
-
relationIds: Array<Scalars['String']>;
|
|
1809
|
-
};
|
|
1810
|
-
export declare type SetPricesOnCustomerSubscriptionInput = {
|
|
1811
|
-
/** The id of the record. */
|
|
1812
|
-
id: Scalars['String'];
|
|
1813
|
-
/** The ids of the relations. */
|
|
1814
|
-
relationIds: Array<Scalars['String']>;
|
|
1815
|
-
};
|
|
1816
|
-
export declare type SetPricesOnPlanInput = {
|
|
1817
|
-
/** The id of the record. */
|
|
1818
|
-
id: Scalars['String'];
|
|
1819
|
-
/** The ids of the relations. */
|
|
1820
|
-
relationIds: Array<Scalars['String']>;
|
|
1821
|
-
};
|
|
1822
|
-
export declare type SetProductOnAddonInput = {
|
|
1823
|
-
/** The id of the record. */
|
|
1824
|
-
id: Scalars['String'];
|
|
1825
|
-
/** The id of relation. */
|
|
1826
|
-
relationId: Scalars['String'];
|
|
1827
|
-
};
|
|
1828
|
-
export declare type SetProductOnPlanInput = {
|
|
1829
|
-
/** The id of the record. */
|
|
1830
|
-
id: Scalars['String'];
|
|
1831
|
-
/** The id of relation. */
|
|
1832
|
-
relationId: Scalars['String'];
|
|
1833
|
-
};
|
|
1834
|
-
export declare type SetSubscriptionOnSubscriptionAddonInput = {
|
|
1835
|
-
/** The id of the record. */
|
|
1836
|
-
id: Scalars['String'];
|
|
1837
|
-
/** The id of relation. */
|
|
1838
|
-
relationId: Scalars['String'];
|
|
1839
|
-
};
|
|
1840
|
-
export declare type SetSubscriptionOnSubscriptionPriceInput = {
|
|
1841
|
-
/** The id of the record. */
|
|
1842
|
-
id: Scalars['String'];
|
|
1843
|
-
/** The id of relation. */
|
|
1844
|
-
relationId: Scalars['String'];
|
|
1845
|
-
};
|
|
1846
|
-
export declare type SetSubscriptionsOnCustomerInput = {
|
|
1847
|
-
/** The id of the record. */
|
|
1848
|
-
id: Scalars['String'];
|
|
1849
|
-
/** The ids of the relations. */
|
|
1850
|
-
relationIds: Array<Scalars['String']>;
|
|
1851
|
-
};
|
|
1852
|
-
export declare type SetUserOnMemberInput = {
|
|
1853
|
-
/** The id of the record. */
|
|
1854
|
-
id: Scalars['String'];
|
|
1855
|
-
/** The id of relation. */
|
|
1856
|
-
relationId: Scalars['String'];
|
|
1857
|
-
};
|
|
1858
|
-
/** Sort Directions */
|
|
1859
|
-
export declare enum SortDirection {
|
|
1860
|
-
Asc = "ASC",
|
|
1861
|
-
Desc = "DESC"
|
|
1862
|
-
}
|
|
1863
|
-
/** Sort Nulls Options */
|
|
1864
|
-
export declare enum SortNulls {
|
|
1865
|
-
NullsFirst = "NULLS_FIRST",
|
|
1866
|
-
NullsLast = "NULLS_LAST"
|
|
1867
|
-
}
|
|
1868
|
-
export declare type StringFieldComparison = {
|
|
1869
|
-
eq?: Maybe<Scalars['String']>;
|
|
1870
|
-
gt?: Maybe<Scalars['String']>;
|
|
1871
|
-
gte?: Maybe<Scalars['String']>;
|
|
1872
|
-
iLike?: Maybe<Scalars['String']>;
|
|
1873
|
-
in?: Maybe<Array<Scalars['String']>>;
|
|
1874
|
-
is?: Maybe<Scalars['Boolean']>;
|
|
1875
|
-
isNot?: Maybe<Scalars['Boolean']>;
|
|
1876
|
-
like?: Maybe<Scalars['String']>;
|
|
1877
|
-
lt?: Maybe<Scalars['String']>;
|
|
1878
|
-
lte?: Maybe<Scalars['String']>;
|
|
1879
|
-
neq?: Maybe<Scalars['String']>;
|
|
1880
|
-
notILike?: Maybe<Scalars['String']>;
|
|
1881
|
-
notIn?: Maybe<Array<Scalars['String']>>;
|
|
1882
|
-
notLike?: Maybe<Scalars['String']>;
|
|
1130
|
+
/** Sort Directions */
|
|
1131
|
+
export declare enum SortDirection {
|
|
1132
|
+
Asc = "ASC",
|
|
1133
|
+
Desc = "DESC"
|
|
1134
|
+
}
|
|
1135
|
+
/** Sort Nulls Options */
|
|
1136
|
+
export declare enum SortNulls {
|
|
1137
|
+
NullsFirst = "NULLS_FIRST",
|
|
1138
|
+
NullsLast = "NULLS_LAST"
|
|
1139
|
+
}
|
|
1140
|
+
export declare type StringFieldComparison = {
|
|
1141
|
+
eq?: Maybe<Scalars['String']>;
|
|
1142
|
+
gt?: Maybe<Scalars['String']>;
|
|
1143
|
+
gte?: Maybe<Scalars['String']>;
|
|
1144
|
+
iLike?: Maybe<Scalars['String']>;
|
|
1145
|
+
in?: Maybe<Array<Scalars['String']>>;
|
|
1146
|
+
is?: Maybe<Scalars['Boolean']>;
|
|
1147
|
+
isNot?: Maybe<Scalars['Boolean']>;
|
|
1148
|
+
like?: Maybe<Scalars['String']>;
|
|
1149
|
+
lt?: Maybe<Scalars['String']>;
|
|
1150
|
+
lte?: Maybe<Scalars['String']>;
|
|
1151
|
+
neq?: Maybe<Scalars['String']>;
|
|
1152
|
+
notILike?: Maybe<Scalars['String']>;
|
|
1153
|
+
notIn?: Maybe<Array<Scalars['String']>>;
|
|
1154
|
+
notLike?: Maybe<Scalars['String']>;
|
|
1883
1155
|
};
|
|
1884
1156
|
export declare type StripeCredentialsInput = {
|
|
1885
1157
|
accountId?: Maybe<Scalars['String']>;
|
|
@@ -1946,6 +1218,20 @@ export declare enum SubscriptionAddonSortFields {
|
|
|
1946
1218
|
Quantity = "quantity",
|
|
1947
1219
|
UpdatedAt = "updatedAt"
|
|
1948
1220
|
}
|
|
1221
|
+
export declare type SubscriptionCancellationInput = {
|
|
1222
|
+
endDate?: Maybe<Scalars['DateTime']>;
|
|
1223
|
+
environmentId: Scalars['String'];
|
|
1224
|
+
subscriptionCancellationTime?: Maybe<SubscriptionCancellationTime>;
|
|
1225
|
+
subscriptionRefId: Scalars['String'];
|
|
1226
|
+
};
|
|
1227
|
+
export declare enum SubscriptionCancellationTime {
|
|
1228
|
+
EndOfBillingPeriod = "END_OF_BILLING_PERIOD",
|
|
1229
|
+
Immediate = "IMMEDIATE"
|
|
1230
|
+
}
|
|
1231
|
+
export declare enum SubscriptionEndSetup {
|
|
1232
|
+
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
1233
|
+
DowngradeToFree = "DOWNGRADE_TO_FREE"
|
|
1234
|
+
}
|
|
1949
1235
|
export declare type SubscriptionInput = {
|
|
1950
1236
|
addons?: Maybe<Array<SubscriptionAddonInput>>;
|
|
1951
1237
|
billingId?: Maybe<Scalars['String']>;
|
|
@@ -2004,9 +1290,10 @@ export declare enum SubscriptionPriceSortFields {
|
|
|
2004
1290
|
/** Subscription status */
|
|
2005
1291
|
export declare enum SubscriptionStatus {
|
|
2006
1292
|
Active = "ACTIVE",
|
|
1293
|
+
Canceled = "CANCELED",
|
|
2007
1294
|
Expired = "EXPIRED",
|
|
2008
|
-
|
|
2009
|
-
|
|
1295
|
+
InTrial = "IN_TRIAL",
|
|
1296
|
+
NotStarted = "NOT_STARTED"
|
|
2010
1297
|
}
|
|
2011
1298
|
export declare type SubscriptionStatusFilterComparison = {
|
|
2012
1299
|
eq?: Maybe<SubscriptionStatus>;
|
|
@@ -2033,11 +1320,6 @@ export declare enum TrialPeriodUnits {
|
|
|
2033
1320
|
Day = "DAY",
|
|
2034
1321
|
Month = "MONTH"
|
|
2035
1322
|
}
|
|
2036
|
-
export declare enum TrialSetup {
|
|
2037
|
-
CancelSubscription = "CANCEL_SUBSCRIPTION",
|
|
2038
|
-
DowngradeToFree = "DOWNGRADE_TO_FREE",
|
|
2039
|
-
NoTrials = "NO_TRIALS"
|
|
2040
|
-
}
|
|
2041
1323
|
export declare type UpdateCustomer = {
|
|
2042
1324
|
billingId?: Maybe<Scalars['String']>;
|
|
2043
1325
|
billingLinkUrl?: Maybe<Scalars['String']>;
|
|
@@ -2085,48 +1367,6 @@ export declare type UpdateIntegrationInput = {
|
|
|
2085
1367
|
vendorIdentifier: VendorIdentifier;
|
|
2086
1368
|
zuoraCredentials?: Maybe<ZuoraCredentialsInput>;
|
|
2087
1369
|
};
|
|
2088
|
-
export declare type UpdateManyCustomersInput = {
|
|
2089
|
-
/** Filter used to find fields to update */
|
|
2090
|
-
filter: CustomerUpdateFilter;
|
|
2091
|
-
/** The update to apply to all records found using the filter */
|
|
2092
|
-
update: UpdateCustomer;
|
|
2093
|
-
};
|
|
2094
|
-
export declare type UpdateManyEnvironmentsInput = {
|
|
2095
|
-
/** Filter used to find fields to update */
|
|
2096
|
-
filter: EnvironmentUpdateFilter;
|
|
2097
|
-
/** The update to apply to all records found using the filter */
|
|
2098
|
-
update: UpdateEnvironment;
|
|
2099
|
-
};
|
|
2100
|
-
export declare type UpdateManyHooksInput = {
|
|
2101
|
-
/** Filter used to find fields to update */
|
|
2102
|
-
filter: HookUpdateFilter;
|
|
2103
|
-
/** The update to apply to all records found using the filter */
|
|
2104
|
-
update: UpdateHook;
|
|
2105
|
-
};
|
|
2106
|
-
export declare type UpdateManyIntegrationsInput = {
|
|
2107
|
-
/** Filter used to find fields to update */
|
|
2108
|
-
filter: IntegrationUpdateFilter;
|
|
2109
|
-
/** The update to apply to all records found using the filter */
|
|
2110
|
-
update: UpdateIntegrationInput;
|
|
2111
|
-
};
|
|
2112
|
-
export declare type UpdateManyPackageEntitlementsInput = {
|
|
2113
|
-
/** Filter used to find fields to update */
|
|
2114
|
-
filter: PackageEntitlementUpdateFilter;
|
|
2115
|
-
/** The update to apply to all records found using the filter */
|
|
2116
|
-
update: PackageEntitlementUpdateInput;
|
|
2117
|
-
};
|
|
2118
|
-
export declare type UpdateManyProductsInput = {
|
|
2119
|
-
/** Filter used to find fields to update */
|
|
2120
|
-
filter: ProductUpdateFilter;
|
|
2121
|
-
/** The update to apply to all records found using the filter */
|
|
2122
|
-
update: ProductUpdateInput;
|
|
2123
|
-
};
|
|
2124
|
-
export declare type UpdateManyPromotionalEntitlementsInput = {
|
|
2125
|
-
/** Filter used to find fields to update */
|
|
2126
|
-
filter: PromotionalEntitlementUpdateFilter;
|
|
2127
|
-
/** The update to apply to all records found using the filter */
|
|
2128
|
-
update: PromotionalEntitlementUpdateInput;
|
|
2129
|
-
};
|
|
2130
1370
|
export declare type UpdateOneCustomerInput = {
|
|
2131
1371
|
/** The id of the record to update */
|
|
2132
1372
|
id: Scalars['String'];
|
|
@@ -2284,15 +1524,6 @@ export declare type GetEnvironmentQuery = {
|
|
|
2284
1524
|
__typename?: 'Query';
|
|
2285
1525
|
currentEnvironment: string;
|
|
2286
1526
|
};
|
|
2287
|
-
export declare type EntitlementQueryVariables = Exact<{
|
|
2288
|
-
query: FetchEntitlementQuery;
|
|
2289
|
-
}>;
|
|
2290
|
-
export declare type EntitlementQuery = {
|
|
2291
|
-
__typename?: 'Query';
|
|
2292
|
-
entitlement: {
|
|
2293
|
-
__typename?: 'Entitlement';
|
|
2294
|
-
} & EntitlementFragment;
|
|
2295
|
-
};
|
|
2296
1527
|
export declare type CachedEntitlementsQueryVariables = Exact<{
|
|
2297
1528
|
query: FetchEntitlementsQuery;
|
|
2298
1529
|
}>;
|
|
@@ -2400,6 +1631,30 @@ export declare type CreateSubscriptionMutation = {
|
|
|
2400
1631
|
};
|
|
2401
1632
|
};
|
|
2402
1633
|
};
|
|
1634
|
+
export declare type CancelSubscriptionMutationVariables = Exact<{
|
|
1635
|
+
input: SubscriptionCancellationInput;
|
|
1636
|
+
}>;
|
|
1637
|
+
export declare type CancelSubscriptionMutation = {
|
|
1638
|
+
__typename?: 'Mutation';
|
|
1639
|
+
cancelSubscription: {
|
|
1640
|
+
__typename?: 'CustomerSubscription';
|
|
1641
|
+
plan: {
|
|
1642
|
+
__typename?: 'Plan';
|
|
1643
|
+
refId: string;
|
|
1644
|
+
};
|
|
1645
|
+
addons?: Array<{
|
|
1646
|
+
__typename?: 'SubscriptionAddon';
|
|
1647
|
+
addon: {
|
|
1648
|
+
__typename?: 'Addon';
|
|
1649
|
+
refId: string;
|
|
1650
|
+
};
|
|
1651
|
+
}> | null | undefined;
|
|
1652
|
+
customer: {
|
|
1653
|
+
__typename?: 'Customer';
|
|
1654
|
+
refId: string;
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
2403
1658
|
export declare type InitiateCheckoutMutationVariables = Exact<{
|
|
2404
1659
|
input: InitiateCheckoutInput;
|
|
2405
1660
|
}>;
|