@schematichq/schematic-typescript-node 1.0.21 → 1.0.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/dist/schematic.cjs.js +508 -765
- package/dist/schematic.d.ts +443 -767
- package/dist/schematic.esm.js +476 -720
- package/package.json +1 -1
package/dist/schematic.cjs.js
CHANGED
|
@@ -14549,6 +14549,12 @@ __export(src_exports, {
|
|
|
14549
14549
|
BillingCustomerWithSubscriptionsResponseDataFromJSON: () => BillingCustomerWithSubscriptionsResponseDataFromJSON,
|
|
14550
14550
|
BillingCustomerWithSubscriptionsResponseDataFromJSONTyped: () => BillingCustomerWithSubscriptionsResponseDataFromJSONTyped,
|
|
14551
14551
|
BillingCustomerWithSubscriptionsResponseDataToJSON: () => BillingCustomerWithSubscriptionsResponseDataToJSON,
|
|
14552
|
+
BillingPriceResponseDataFromJSON: () => BillingPriceResponseDataFromJSON,
|
|
14553
|
+
BillingPriceResponseDataFromJSONTyped: () => BillingPriceResponseDataFromJSONTyped,
|
|
14554
|
+
BillingPriceResponseDataToJSON: () => BillingPriceResponseDataToJSON,
|
|
14555
|
+
BillingProductDetailResponseDataFromJSON: () => BillingProductDetailResponseDataFromJSON,
|
|
14556
|
+
BillingProductDetailResponseDataFromJSONTyped: () => BillingProductDetailResponseDataFromJSONTyped,
|
|
14557
|
+
BillingProductDetailResponseDataToJSON: () => BillingProductDetailResponseDataToJSON,
|
|
14552
14558
|
BillingProductPlanResponseDataFromJSON: () => BillingProductPlanResponseDataFromJSON,
|
|
14553
14559
|
BillingProductPlanResponseDataFromJSONTyped: () => BillingProductPlanResponseDataFromJSONTyped,
|
|
14554
14560
|
BillingProductPlanResponseDataToJSON: () => BillingProductPlanResponseDataToJSON,
|
|
@@ -14698,12 +14704,6 @@ __export(src_exports, {
|
|
|
14698
14704
|
CountFeaturesResponseFromJSON: () => CountFeaturesResponseFromJSON,
|
|
14699
14705
|
CountFeaturesResponseFromJSONTyped: () => CountFeaturesResponseFromJSONTyped,
|
|
14700
14706
|
CountFeaturesResponseToJSON: () => CountFeaturesResponseToJSON,
|
|
14701
|
-
CountFlagChecksParamsFromJSON: () => CountFlagChecksParamsFromJSON,
|
|
14702
|
-
CountFlagChecksParamsFromJSONTyped: () => CountFlagChecksParamsFromJSONTyped,
|
|
14703
|
-
CountFlagChecksParamsToJSON: () => CountFlagChecksParamsToJSON,
|
|
14704
|
-
CountFlagChecksResponseFromJSON: () => CountFlagChecksResponseFromJSON,
|
|
14705
|
-
CountFlagChecksResponseFromJSONTyped: () => CountFlagChecksResponseFromJSONTyped,
|
|
14706
|
-
CountFlagChecksResponseToJSON: () => CountFlagChecksResponseToJSON,
|
|
14707
14707
|
CountFlagsParamsFromJSON: () => CountFlagsParamsFromJSON,
|
|
14708
14708
|
CountFlagsParamsFromJSONTyped: () => CountFlagsParamsFromJSONTyped,
|
|
14709
14709
|
CountFlagsParamsToJSON: () => CountFlagsParamsToJSON,
|
|
@@ -14752,6 +14752,9 @@ __export(src_exports, {
|
|
|
14752
14752
|
CreateBillingCustomerRequestBodyFromJSON: () => CreateBillingCustomerRequestBodyFromJSON,
|
|
14753
14753
|
CreateBillingCustomerRequestBodyFromJSONTyped: () => CreateBillingCustomerRequestBodyFromJSONTyped,
|
|
14754
14754
|
CreateBillingCustomerRequestBodyToJSON: () => CreateBillingCustomerRequestBodyToJSON,
|
|
14755
|
+
CreateBillingPriceRequestBodyFromJSON: () => CreateBillingPriceRequestBodyFromJSON,
|
|
14756
|
+
CreateBillingPriceRequestBodyFromJSONTyped: () => CreateBillingPriceRequestBodyFromJSONTyped,
|
|
14757
|
+
CreateBillingPriceRequestBodyToJSON: () => CreateBillingPriceRequestBodyToJSON,
|
|
14755
14758
|
CreateBillingProductRequestBodyFromJSON: () => CreateBillingProductRequestBodyFromJSON,
|
|
14756
14759
|
CreateBillingProductRequestBodyFromJSONTyped: () => CreateBillingProductRequestBodyFromJSONTyped,
|
|
14757
14760
|
CreateBillingProductRequestBodyToJSON: () => CreateBillingProductRequestBodyToJSON,
|
|
@@ -15010,12 +15013,6 @@ __export(src_exports, {
|
|
|
15010
15013
|
FeatureUsageResponseDataToJSON: () => FeatureUsageResponseDataToJSON,
|
|
15011
15014
|
FeaturesApi: () => FeaturesApi,
|
|
15012
15015
|
FetchError: () => FetchError2,
|
|
15013
|
-
FlagCheckLogDetailResponseDataFromJSON: () => FlagCheckLogDetailResponseDataFromJSON,
|
|
15014
|
-
FlagCheckLogDetailResponseDataFromJSONTyped: () => FlagCheckLogDetailResponseDataFromJSONTyped,
|
|
15015
|
-
FlagCheckLogDetailResponseDataToJSON: () => FlagCheckLogDetailResponseDataToJSON,
|
|
15016
|
-
FlagCheckLogResponseDataFromJSON: () => FlagCheckLogResponseDataFromJSON,
|
|
15017
|
-
FlagCheckLogResponseDataFromJSONTyped: () => FlagCheckLogResponseDataFromJSONTyped,
|
|
15018
|
-
FlagCheckLogResponseDataToJSON: () => FlagCheckLogResponseDataToJSON,
|
|
15019
15016
|
FlagDetailResponseDataFromJSON: () => FlagDetailResponseDataFromJSON,
|
|
15020
15017
|
FlagDetailResponseDataFromJSONTyped: () => FlagDetailResponseDataFromJSONTyped,
|
|
15021
15018
|
FlagDetailResponseDataToJSON: () => FlagDetailResponseDataToJSON,
|
|
@@ -15085,18 +15082,9 @@ __export(src_exports, {
|
|
|
15085
15082
|
GetFeatureUsageByCompanyResponseFromJSON: () => GetFeatureUsageByCompanyResponseFromJSON,
|
|
15086
15083
|
GetFeatureUsageByCompanyResponseFromJSONTyped: () => GetFeatureUsageByCompanyResponseFromJSONTyped,
|
|
15087
15084
|
GetFeatureUsageByCompanyResponseToJSON: () => GetFeatureUsageByCompanyResponseToJSON,
|
|
15088
|
-
GetFlagCheckResponseFromJSON: () => GetFlagCheckResponseFromJSON,
|
|
15089
|
-
GetFlagCheckResponseFromJSONTyped: () => GetFlagCheckResponseFromJSONTyped,
|
|
15090
|
-
GetFlagCheckResponseToJSON: () => GetFlagCheckResponseToJSON,
|
|
15091
15085
|
GetFlagResponseFromJSON: () => GetFlagResponseFromJSON,
|
|
15092
15086
|
GetFlagResponseFromJSONTyped: () => GetFlagResponseFromJSONTyped,
|
|
15093
15087
|
GetFlagResponseToJSON: () => GetFlagResponseToJSON,
|
|
15094
|
-
GetLatestFlagChecksParamsFromJSON: () => GetLatestFlagChecksParamsFromJSON,
|
|
15095
|
-
GetLatestFlagChecksParamsFromJSONTyped: () => GetLatestFlagChecksParamsFromJSONTyped,
|
|
15096
|
-
GetLatestFlagChecksParamsToJSON: () => GetLatestFlagChecksParamsToJSON,
|
|
15097
|
-
GetLatestFlagChecksResponseFromJSON: () => GetLatestFlagChecksResponseFromJSON,
|
|
15098
|
-
GetLatestFlagChecksResponseFromJSONTyped: () => GetLatestFlagChecksResponseFromJSONTyped,
|
|
15099
|
-
GetLatestFlagChecksResponseToJSON: () => GetLatestFlagChecksResponseToJSON,
|
|
15100
15088
|
GetOrCreateCompanyMembershipRequestBodyFromJSON: () => GetOrCreateCompanyMembershipRequestBodyFromJSON,
|
|
15101
15089
|
GetOrCreateCompanyMembershipRequestBodyFromJSONTyped: () => GetOrCreateCompanyMembershipRequestBodyFromJSONTyped,
|
|
15102
15090
|
GetOrCreateCompanyMembershipRequestBodyToJSON: () => GetOrCreateCompanyMembershipRequestBodyToJSON,
|
|
@@ -15158,6 +15146,12 @@ __export(src_exports, {
|
|
|
15158
15146
|
ListAudienceUsersResponseFromJSON: () => ListAudienceUsersResponseFromJSON,
|
|
15159
15147
|
ListAudienceUsersResponseFromJSONTyped: () => ListAudienceUsersResponseFromJSONTyped,
|
|
15160
15148
|
ListAudienceUsersResponseToJSON: () => ListAudienceUsersResponseToJSON,
|
|
15149
|
+
ListBillingProductsParamsFromJSON: () => ListBillingProductsParamsFromJSON,
|
|
15150
|
+
ListBillingProductsParamsFromJSONTyped: () => ListBillingProductsParamsFromJSONTyped,
|
|
15151
|
+
ListBillingProductsParamsToJSON: () => ListBillingProductsParamsToJSON,
|
|
15152
|
+
ListBillingProductsResponseFromJSON: () => ListBillingProductsResponseFromJSON,
|
|
15153
|
+
ListBillingProductsResponseFromJSONTyped: () => ListBillingProductsResponseFromJSONTyped,
|
|
15154
|
+
ListBillingProductsResponseToJSON: () => ListBillingProductsResponseToJSON,
|
|
15161
15155
|
ListCompaniesParamsFromJSON: () => ListCompaniesParamsFromJSON,
|
|
15162
15156
|
ListCompaniesParamsFromJSONTyped: () => ListCompaniesParamsFromJSONTyped,
|
|
15163
15157
|
ListCompaniesParamsToJSON: () => ListCompaniesParamsToJSON,
|
|
@@ -15254,12 +15248,6 @@ __export(src_exports, {
|
|
|
15254
15248
|
ListFeaturesResponseFromJSON: () => ListFeaturesResponseFromJSON,
|
|
15255
15249
|
ListFeaturesResponseFromJSONTyped: () => ListFeaturesResponseFromJSONTyped,
|
|
15256
15250
|
ListFeaturesResponseToJSON: () => ListFeaturesResponseToJSON,
|
|
15257
|
-
ListFlagChecksParamsFromJSON: () => ListFlagChecksParamsFromJSON,
|
|
15258
|
-
ListFlagChecksParamsFromJSONTyped: () => ListFlagChecksParamsFromJSONTyped,
|
|
15259
|
-
ListFlagChecksParamsToJSON: () => ListFlagChecksParamsToJSON,
|
|
15260
|
-
ListFlagChecksResponseFromJSON: () => ListFlagChecksResponseFromJSON,
|
|
15261
|
-
ListFlagChecksResponseFromJSONTyped: () => ListFlagChecksResponseFromJSONTyped,
|
|
15262
|
-
ListFlagChecksResponseToJSON: () => ListFlagChecksResponseToJSON,
|
|
15263
15251
|
ListFlagsParamsFromJSON: () => ListFlagsParamsFromJSON,
|
|
15264
15252
|
ListFlagsParamsFromJSONTyped: () => ListFlagsParamsFromJSONTyped,
|
|
15265
15253
|
ListFlagsParamsToJSON: () => ListFlagsParamsToJSON,
|
|
@@ -15284,12 +15272,12 @@ __export(src_exports, {
|
|
|
15284
15272
|
ListPlansResponseFromJSON: () => ListPlansResponseFromJSON,
|
|
15285
15273
|
ListPlansResponseFromJSONTyped: () => ListPlansResponseFromJSONTyped,
|
|
15286
15274
|
ListPlansResponseToJSON: () => ListPlansResponseToJSON,
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15275
|
+
ListProductPricesParamsFromJSON: () => ListProductPricesParamsFromJSON,
|
|
15276
|
+
ListProductPricesParamsFromJSONTyped: () => ListProductPricesParamsFromJSONTyped,
|
|
15277
|
+
ListProductPricesParamsToJSON: () => ListProductPricesParamsToJSON,
|
|
15278
|
+
ListProductPricesResponseFromJSON: () => ListProductPricesResponseFromJSON,
|
|
15279
|
+
ListProductPricesResponseFromJSONTyped: () => ListProductPricesResponseFromJSONTyped,
|
|
15280
|
+
ListProductPricesResponseToJSON: () => ListProductPricesResponseToJSON,
|
|
15293
15281
|
ListUsersParamsFromJSON: () => ListUsersParamsFromJSON,
|
|
15294
15282
|
ListUsersParamsFromJSONTyped: () => ListUsersParamsFromJSONTyped,
|
|
15295
15283
|
ListUsersParamsToJSON: () => ListUsersParamsToJSON,
|
|
@@ -15454,7 +15442,6 @@ __export(src_exports, {
|
|
|
15454
15442
|
UpdatePlanEntitlementResponseToJSON: () => UpdatePlanEntitlementResponseToJSON,
|
|
15455
15443
|
UpdatePlanRequestBodyFromJSON: () => UpdatePlanRequestBodyFromJSON,
|
|
15456
15444
|
UpdatePlanRequestBodyFromJSONTyped: () => UpdatePlanRequestBodyFromJSONTyped,
|
|
15457
|
-
UpdatePlanRequestBodyPlanTypeEnum: () => UpdatePlanRequestBodyPlanTypeEnum,
|
|
15458
15445
|
UpdatePlanRequestBodyToJSON: () => UpdatePlanRequestBodyToJSON,
|
|
15459
15446
|
UpdatePlanResponseFromJSON: () => UpdatePlanResponseFromJSON,
|
|
15460
15447
|
UpdatePlanResponseFromJSONTyped: () => UpdatePlanResponseFromJSONTyped,
|
|
@@ -15478,6 +15465,9 @@ __export(src_exports, {
|
|
|
15478
15465
|
UpsertBillingCustomerResponseFromJSON: () => UpsertBillingCustomerResponseFromJSON,
|
|
15479
15466
|
UpsertBillingCustomerResponseFromJSONTyped: () => UpsertBillingCustomerResponseFromJSONTyped,
|
|
15480
15467
|
UpsertBillingCustomerResponseToJSON: () => UpsertBillingCustomerResponseToJSON,
|
|
15468
|
+
UpsertBillingPriceResponseFromJSON: () => UpsertBillingPriceResponseFromJSON,
|
|
15469
|
+
UpsertBillingPriceResponseFromJSONTyped: () => UpsertBillingPriceResponseFromJSONTyped,
|
|
15470
|
+
UpsertBillingPriceResponseToJSON: () => UpsertBillingPriceResponseToJSON,
|
|
15481
15471
|
UpsertBillingProductPlanResponseFromJSON: () => UpsertBillingProductPlanResponseFromJSON,
|
|
15482
15472
|
UpsertBillingProductPlanResponseFromJSONTyped: () => UpsertBillingProductPlanResponseFromJSONTyped,
|
|
15483
15473
|
UpsertBillingProductPlanResponseToJSON: () => UpsertBillingProductPlanResponseToJSON,
|
|
@@ -15554,6 +15544,8 @@ __export(src_exports, {
|
|
|
15554
15544
|
instanceOfBillingCustomerResponseData: () => instanceOfBillingCustomerResponseData,
|
|
15555
15545
|
instanceOfBillingCustomerSubscription: () => instanceOfBillingCustomerSubscription,
|
|
15556
15546
|
instanceOfBillingCustomerWithSubscriptionsResponseData: () => instanceOfBillingCustomerWithSubscriptionsResponseData,
|
|
15547
|
+
instanceOfBillingPriceResponseData: () => instanceOfBillingPriceResponseData,
|
|
15548
|
+
instanceOfBillingProductDetailResponseData: () => instanceOfBillingProductDetailResponseData,
|
|
15557
15549
|
instanceOfBillingProductPlanResponseData: () => instanceOfBillingProductPlanResponseData,
|
|
15558
15550
|
instanceOfBillingProductPricing: () => instanceOfBillingProductPricing,
|
|
15559
15551
|
instanceOfBillingProductResponseData: () => instanceOfBillingProductResponseData,
|
|
@@ -15600,8 +15592,6 @@ __export(src_exports, {
|
|
|
15600
15592
|
instanceOfCountFeatureUsersResponse: () => instanceOfCountFeatureUsersResponse,
|
|
15601
15593
|
instanceOfCountFeaturesParams: () => instanceOfCountFeaturesParams,
|
|
15602
15594
|
instanceOfCountFeaturesResponse: () => instanceOfCountFeaturesResponse,
|
|
15603
|
-
instanceOfCountFlagChecksParams: () => instanceOfCountFlagChecksParams,
|
|
15604
|
-
instanceOfCountFlagChecksResponse: () => instanceOfCountFlagChecksResponse,
|
|
15605
15595
|
instanceOfCountFlagsParams: () => instanceOfCountFlagsParams,
|
|
15606
15596
|
instanceOfCountFlagsResponse: () => instanceOfCountFlagsResponse,
|
|
15607
15597
|
instanceOfCountPlanEntitlementsParams: () => instanceOfCountPlanEntitlementsParams,
|
|
@@ -15618,6 +15608,7 @@ __export(src_exports, {
|
|
|
15618
15608
|
instanceOfCreateApiKeyRequestBody: () => instanceOfCreateApiKeyRequestBody,
|
|
15619
15609
|
instanceOfCreateApiKeyResponse: () => instanceOfCreateApiKeyResponse,
|
|
15620
15610
|
instanceOfCreateBillingCustomerRequestBody: () => instanceOfCreateBillingCustomerRequestBody,
|
|
15611
|
+
instanceOfCreateBillingPriceRequestBody: () => instanceOfCreateBillingPriceRequestBody,
|
|
15621
15612
|
instanceOfCreateBillingProductRequestBody: () => instanceOfCreateBillingProductRequestBody,
|
|
15622
15613
|
instanceOfCreateBillingSubscriptionsRequestBody: () => instanceOfCreateBillingSubscriptionsRequestBody,
|
|
15623
15614
|
instanceOfCreateCompanyOverrideRequestBody: () => instanceOfCreateCompanyOverrideRequestBody,
|
|
@@ -15694,8 +15685,6 @@ __export(src_exports, {
|
|
|
15694
15685
|
instanceOfFeatureResponseData: () => instanceOfFeatureResponseData,
|
|
15695
15686
|
instanceOfFeatureUsageDetailResponseData: () => instanceOfFeatureUsageDetailResponseData,
|
|
15696
15687
|
instanceOfFeatureUsageResponseData: () => instanceOfFeatureUsageResponseData,
|
|
15697
|
-
instanceOfFlagCheckLogDetailResponseData: () => instanceOfFlagCheckLogDetailResponseData,
|
|
15698
|
-
instanceOfFlagCheckLogResponseData: () => instanceOfFlagCheckLogResponseData,
|
|
15699
15688
|
instanceOfFlagDetailResponseData: () => instanceOfFlagDetailResponseData,
|
|
15700
15689
|
instanceOfFlagResponseData: () => instanceOfFlagResponseData,
|
|
15701
15690
|
instanceOfGetActiveCompanySubscriptionParams: () => instanceOfGetActiveCompanySubscriptionParams,
|
|
@@ -15719,10 +15708,7 @@ __export(src_exports, {
|
|
|
15719
15708
|
instanceOfGetFeatureResponse: () => instanceOfGetFeatureResponse,
|
|
15720
15709
|
instanceOfGetFeatureUsageByCompanyParams: () => instanceOfGetFeatureUsageByCompanyParams,
|
|
15721
15710
|
instanceOfGetFeatureUsageByCompanyResponse: () => instanceOfGetFeatureUsageByCompanyResponse,
|
|
15722
|
-
instanceOfGetFlagCheckResponse: () => instanceOfGetFlagCheckResponse,
|
|
15723
15711
|
instanceOfGetFlagResponse: () => instanceOfGetFlagResponse,
|
|
15724
|
-
instanceOfGetLatestFlagChecksParams: () => instanceOfGetLatestFlagChecksParams,
|
|
15725
|
-
instanceOfGetLatestFlagChecksResponse: () => instanceOfGetLatestFlagChecksResponse,
|
|
15726
15712
|
instanceOfGetOrCreateCompanyMembershipRequestBody: () => instanceOfGetOrCreateCompanyMembershipRequestBody,
|
|
15727
15713
|
instanceOfGetOrCreateCompanyMembershipResponse: () => instanceOfGetOrCreateCompanyMembershipResponse,
|
|
15728
15714
|
instanceOfGetOrCreateEntityTraitDefinitionResponse: () => instanceOfGetOrCreateEntityTraitDefinitionResponse,
|
|
@@ -15743,6 +15729,8 @@ __export(src_exports, {
|
|
|
15743
15729
|
instanceOfListApiRequestsResponse: () => instanceOfListApiRequestsResponse,
|
|
15744
15730
|
instanceOfListAudienceCompaniesResponse: () => instanceOfListAudienceCompaniesResponse,
|
|
15745
15731
|
instanceOfListAudienceUsersResponse: () => instanceOfListAudienceUsersResponse,
|
|
15732
|
+
instanceOfListBillingProductsParams: () => instanceOfListBillingProductsParams,
|
|
15733
|
+
instanceOfListBillingProductsResponse: () => instanceOfListBillingProductsResponse,
|
|
15746
15734
|
instanceOfListCompaniesParams: () => instanceOfListCompaniesParams,
|
|
15747
15735
|
instanceOfListCompaniesResponse: () => instanceOfListCompaniesResponse,
|
|
15748
15736
|
instanceOfListCompanyMembershipsParams: () => instanceOfListCompanyMembershipsParams,
|
|
@@ -15773,8 +15761,6 @@ __export(src_exports, {
|
|
|
15773
15761
|
instanceOfListFeatureUsersResponse: () => instanceOfListFeatureUsersResponse,
|
|
15774
15762
|
instanceOfListFeaturesParams: () => instanceOfListFeaturesParams,
|
|
15775
15763
|
instanceOfListFeaturesResponse: () => instanceOfListFeaturesResponse,
|
|
15776
|
-
instanceOfListFlagChecksParams: () => instanceOfListFlagChecksParams,
|
|
15777
|
-
instanceOfListFlagChecksResponse: () => instanceOfListFlagChecksResponse,
|
|
15778
15764
|
instanceOfListFlagsParams: () => instanceOfListFlagsParams,
|
|
15779
15765
|
instanceOfListFlagsResponse: () => instanceOfListFlagsResponse,
|
|
15780
15766
|
instanceOfListMetricCountsParams: () => instanceOfListMetricCountsParams,
|
|
@@ -15783,8 +15769,8 @@ __export(src_exports, {
|
|
|
15783
15769
|
instanceOfListPlanEntitlementsResponse: () => instanceOfListPlanEntitlementsResponse,
|
|
15784
15770
|
instanceOfListPlansParams: () => instanceOfListPlansParams,
|
|
15785
15771
|
instanceOfListPlansResponse: () => instanceOfListPlansResponse,
|
|
15786
|
-
|
|
15787
|
-
|
|
15772
|
+
instanceOfListProductPricesParams: () => instanceOfListProductPricesParams,
|
|
15773
|
+
instanceOfListProductPricesResponse: () => instanceOfListProductPricesResponse,
|
|
15788
15774
|
instanceOfListUsersParams: () => instanceOfListUsersParams,
|
|
15789
15775
|
instanceOfListUsersResponse: () => instanceOfListUsersResponse,
|
|
15790
15776
|
instanceOfListWebhookEventsParams: () => instanceOfListWebhookEventsParams,
|
|
@@ -15841,6 +15827,7 @@ __export(src_exports, {
|
|
|
15841
15827
|
instanceOfUpdateWebhookRequestBody: () => instanceOfUpdateWebhookRequestBody,
|
|
15842
15828
|
instanceOfUpdateWebhookResponse: () => instanceOfUpdateWebhookResponse,
|
|
15843
15829
|
instanceOfUpsertBillingCustomerResponse: () => instanceOfUpsertBillingCustomerResponse,
|
|
15830
|
+
instanceOfUpsertBillingPriceResponse: () => instanceOfUpsertBillingPriceResponse,
|
|
15844
15831
|
instanceOfUpsertBillingProductPlanResponse: () => instanceOfUpsertBillingProductPlanResponse,
|
|
15845
15832
|
instanceOfUpsertBillingProductRequestBody: () => instanceOfUpsertBillingProductRequestBody,
|
|
15846
15833
|
instanceOfUpsertBillingProductResponse: () => instanceOfUpsertBillingProductResponse,
|
|
@@ -18009,6 +17996,112 @@ function BillingCustomerWithSubscriptionsResponseDataToJSON(value) {
|
|
|
18009
17996
|
};
|
|
18010
17997
|
}
|
|
18011
17998
|
|
|
17999
|
+
// src/api/models/BillingPriceResponseData.ts
|
|
18000
|
+
function instanceOfBillingPriceResponseData(value) {
|
|
18001
|
+
if (!("externalPriceId" in value) || value["externalPriceId"] === void 0)
|
|
18002
|
+
return false;
|
|
18003
|
+
if (!("id" in value) || value["id"] === void 0)
|
|
18004
|
+
return false;
|
|
18005
|
+
if (!("interval" in value) || value["interval"] === void 0)
|
|
18006
|
+
return false;
|
|
18007
|
+
if (!("price" in value) || value["price"] === void 0)
|
|
18008
|
+
return false;
|
|
18009
|
+
return true;
|
|
18010
|
+
}
|
|
18011
|
+
function BillingPriceResponseDataFromJSON(json) {
|
|
18012
|
+
return BillingPriceResponseDataFromJSONTyped(json, false);
|
|
18013
|
+
}
|
|
18014
|
+
function BillingPriceResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
18015
|
+
if (json == null) {
|
|
18016
|
+
return json;
|
|
18017
|
+
}
|
|
18018
|
+
return {
|
|
18019
|
+
externalPriceId: json["external_price_id"],
|
|
18020
|
+
id: json["id"],
|
|
18021
|
+
interval: json["interval"],
|
|
18022
|
+
price: json["price"]
|
|
18023
|
+
};
|
|
18024
|
+
}
|
|
18025
|
+
function BillingPriceResponseDataToJSON(value) {
|
|
18026
|
+
if (value == null) {
|
|
18027
|
+
return value;
|
|
18028
|
+
}
|
|
18029
|
+
return {
|
|
18030
|
+
external_price_id: value["externalPriceId"],
|
|
18031
|
+
id: value["id"],
|
|
18032
|
+
interval: value["interval"],
|
|
18033
|
+
price: value["price"]
|
|
18034
|
+
};
|
|
18035
|
+
}
|
|
18036
|
+
|
|
18037
|
+
// src/api/models/BillingProductDetailResponseData.ts
|
|
18038
|
+
function instanceOfBillingProductDetailResponseData(value) {
|
|
18039
|
+
if (!("prices" in value) || value["prices"] === void 0)
|
|
18040
|
+
return false;
|
|
18041
|
+
if (!("accountId" in value) || value["accountId"] === void 0)
|
|
18042
|
+
return false;
|
|
18043
|
+
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
18044
|
+
return false;
|
|
18045
|
+
if (!("currency" in value) || value["currency"] === void 0)
|
|
18046
|
+
return false;
|
|
18047
|
+
if (!("environmentId" in value) || value["environmentId"] === void 0)
|
|
18048
|
+
return false;
|
|
18049
|
+
if (!("externalId" in value) || value["externalId"] === void 0)
|
|
18050
|
+
return false;
|
|
18051
|
+
if (!("name" in value) || value["name"] === void 0)
|
|
18052
|
+
return false;
|
|
18053
|
+
if (!("price" in value) || value["price"] === void 0)
|
|
18054
|
+
return false;
|
|
18055
|
+
if (!("productId" in value) || value["productId"] === void 0)
|
|
18056
|
+
return false;
|
|
18057
|
+
if (!("quantity" in value) || value["quantity"] === void 0)
|
|
18058
|
+
return false;
|
|
18059
|
+
if (!("updatedAt" in value) || value["updatedAt"] === void 0)
|
|
18060
|
+
return false;
|
|
18061
|
+
return true;
|
|
18062
|
+
}
|
|
18063
|
+
function BillingProductDetailResponseDataFromJSON(json) {
|
|
18064
|
+
return BillingProductDetailResponseDataFromJSONTyped(json, false);
|
|
18065
|
+
}
|
|
18066
|
+
function BillingProductDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
18067
|
+
if (json == null) {
|
|
18068
|
+
return json;
|
|
18069
|
+
}
|
|
18070
|
+
return {
|
|
18071
|
+
prices: json["Prices"].map(
|
|
18072
|
+
BillingPriceResponseDataFromJSON
|
|
18073
|
+
),
|
|
18074
|
+
accountId: json["account_id"],
|
|
18075
|
+
createdAt: new Date(json["created_at"]),
|
|
18076
|
+
currency: json["currency"],
|
|
18077
|
+
environmentId: json["environment_id"],
|
|
18078
|
+
externalId: json["external_id"],
|
|
18079
|
+
name: json["name"],
|
|
18080
|
+
price: json["price"],
|
|
18081
|
+
productId: json["product_id"],
|
|
18082
|
+
quantity: json["quantity"],
|
|
18083
|
+
updatedAt: new Date(json["updated_at"])
|
|
18084
|
+
};
|
|
18085
|
+
}
|
|
18086
|
+
function BillingProductDetailResponseDataToJSON(value) {
|
|
18087
|
+
if (value == null) {
|
|
18088
|
+
return value;
|
|
18089
|
+
}
|
|
18090
|
+
return {
|
|
18091
|
+
Prices: value["prices"].map(BillingPriceResponseDataToJSON),
|
|
18092
|
+
account_id: value["accountId"],
|
|
18093
|
+
created_at: value["createdAt"].toISOString(),
|
|
18094
|
+
currency: value["currency"],
|
|
18095
|
+
environment_id: value["environmentId"],
|
|
18096
|
+
external_id: value["externalId"],
|
|
18097
|
+
name: value["name"],
|
|
18098
|
+
price: value["price"],
|
|
18099
|
+
product_id: value["productId"],
|
|
18100
|
+
quantity: value["quantity"],
|
|
18101
|
+
updated_at: value["updatedAt"].toISOString()
|
|
18102
|
+
};
|
|
18103
|
+
}
|
|
18104
|
+
|
|
18012
18105
|
// src/api/models/BillingProductPlanResponseData.ts
|
|
18013
18106
|
function instanceOfBillingProductPlanResponseData(value) {
|
|
18014
18107
|
if (!("accountId" in value) || value["accountId"] === void 0)
|
|
@@ -18709,6 +18802,8 @@ function EntityTraitDetailResponseDataToJSON(value) {
|
|
|
18709
18802
|
|
|
18710
18803
|
// src/api/models/CompanyDetailResponseData.ts
|
|
18711
18804
|
function instanceOfCompanyDetailResponseData(value) {
|
|
18805
|
+
if (!("addOns" in value) || value["addOns"] === void 0)
|
|
18806
|
+
return false;
|
|
18712
18807
|
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
18713
18808
|
return false;
|
|
18714
18809
|
if (!("entityTraits" in value) || value["entityTraits"] === void 0)
|
|
@@ -18737,6 +18832,7 @@ function CompanyDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18737
18832
|
return json;
|
|
18738
18833
|
}
|
|
18739
18834
|
return {
|
|
18835
|
+
addOns: json["add_ons"].map(PreviewObjectFromJSON),
|
|
18740
18836
|
createdAt: new Date(json["created_at"]),
|
|
18741
18837
|
entityTraits: json["entity_traits"].map(
|
|
18742
18838
|
EntityTraitDetailResponseDataFromJSON
|
|
@@ -18747,6 +18843,7 @@ function CompanyDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18747
18843
|
lastSeenAt: json["last_seen_at"] == null ? void 0 : new Date(json["last_seen_at"]),
|
|
18748
18844
|
logoUrl: json["logo_url"] == null ? void 0 : json["logo_url"],
|
|
18749
18845
|
name: json["name"],
|
|
18846
|
+
plan: json["plan"] == null ? void 0 : PreviewObjectFromJSON(json["plan"]),
|
|
18750
18847
|
plans: json["plans"].map(PreviewObjectFromJSON),
|
|
18751
18848
|
traits: json["traits"] == null ? void 0 : json["traits"],
|
|
18752
18849
|
updatedAt: new Date(json["updated_at"]),
|
|
@@ -18758,6 +18855,7 @@ function CompanyDetailResponseDataToJSON(value) {
|
|
|
18758
18855
|
return value;
|
|
18759
18856
|
}
|
|
18760
18857
|
return {
|
|
18858
|
+
add_ons: value["addOns"].map(PreviewObjectToJSON),
|
|
18761
18859
|
created_at: value["createdAt"].toISOString(),
|
|
18762
18860
|
entity_traits: value["entityTraits"].map(
|
|
18763
18861
|
EntityTraitDetailResponseDataToJSON
|
|
@@ -18768,6 +18866,7 @@ function CompanyDetailResponseDataToJSON(value) {
|
|
|
18768
18866
|
last_seen_at: value["lastSeenAt"] == null ? void 0 : value["lastSeenAt"].toISOString(),
|
|
18769
18867
|
logo_url: value["logoUrl"],
|
|
18770
18868
|
name: value["name"],
|
|
18869
|
+
plan: PreviewObjectToJSON(value["plan"]),
|
|
18771
18870
|
plans: value["plans"].map(PreviewObjectToJSON),
|
|
18772
18871
|
traits: value["traits"],
|
|
18773
18872
|
updated_at: value["updatedAt"].toISOString(),
|
|
@@ -18915,6 +19014,8 @@ function instanceOfFeatureResponseData(value) {
|
|
|
18915
19014
|
return false;
|
|
18916
19015
|
if (!("featureType" in value) || value["featureType"] === void 0)
|
|
18917
19016
|
return false;
|
|
19017
|
+
if (!("icon" in value) || value["icon"] === void 0)
|
|
19018
|
+
return false;
|
|
18918
19019
|
if (!("id" in value) || value["id"] === void 0)
|
|
18919
19020
|
return false;
|
|
18920
19021
|
if (!("name" in value) || value["name"] === void 0)
|
|
@@ -18935,7 +19036,7 @@ function FeatureResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18935
19036
|
description: json["description"],
|
|
18936
19037
|
eventSubtype: json["event_subtype"] == null ? void 0 : json["event_subtype"],
|
|
18937
19038
|
featureType: json["feature_type"],
|
|
18938
|
-
icon: json["icon"]
|
|
19039
|
+
icon: json["icon"],
|
|
18939
19040
|
id: json["id"],
|
|
18940
19041
|
lifecyclePhase: json["lifecycle_phase"] == null ? void 0 : json["lifecycle_phase"],
|
|
18941
19042
|
maintainerId: json["maintainer_id"] == null ? void 0 : json["maintainer_id"],
|
|
@@ -19463,74 +19564,6 @@ function RuleDetailResponseDataToJSON(value) {
|
|
|
19463
19564
|
};
|
|
19464
19565
|
}
|
|
19465
19566
|
|
|
19466
|
-
// src/api/models/FlagCheckLogResponseData.ts
|
|
19467
|
-
function instanceOfFlagCheckLogResponseData(value) {
|
|
19468
|
-
if (!("checkStatus" in value) || value["checkStatus"] === void 0)
|
|
19469
|
-
return false;
|
|
19470
|
-
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
19471
|
-
return false;
|
|
19472
|
-
if (!("environmentId" in value) || value["environmentId"] === void 0)
|
|
19473
|
-
return false;
|
|
19474
|
-
if (!("flagKey" in value) || value["flagKey"] === void 0)
|
|
19475
|
-
return false;
|
|
19476
|
-
if (!("id" in value) || value["id"] === void 0)
|
|
19477
|
-
return false;
|
|
19478
|
-
if (!("reason" in value) || value["reason"] === void 0)
|
|
19479
|
-
return false;
|
|
19480
|
-
if (!("updatedAt" in value) || value["updatedAt"] === void 0)
|
|
19481
|
-
return false;
|
|
19482
|
-
if (!("value" in value) || value["value"] === void 0)
|
|
19483
|
-
return false;
|
|
19484
|
-
return true;
|
|
19485
|
-
}
|
|
19486
|
-
function FlagCheckLogResponseDataFromJSON(json) {
|
|
19487
|
-
return FlagCheckLogResponseDataFromJSONTyped(json, false);
|
|
19488
|
-
}
|
|
19489
|
-
function FlagCheckLogResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
19490
|
-
if (json == null) {
|
|
19491
|
-
return json;
|
|
19492
|
-
}
|
|
19493
|
-
return {
|
|
19494
|
-
checkStatus: json["check_status"],
|
|
19495
|
-
companyId: json["company_id"] == null ? void 0 : json["company_id"],
|
|
19496
|
-
createdAt: new Date(json["created_at"]),
|
|
19497
|
-
environmentId: json["environment_id"],
|
|
19498
|
-
error: json["error"] == null ? void 0 : json["error"],
|
|
19499
|
-
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
19500
|
-
flagKey: json["flag_key"],
|
|
19501
|
-
id: json["id"],
|
|
19502
|
-
reason: json["reason"],
|
|
19503
|
-
reqCompany: json["req_company"] == null ? void 0 : json["req_company"],
|
|
19504
|
-
reqUser: json["req_user"] == null ? void 0 : json["req_user"],
|
|
19505
|
-
ruleId: json["rule_id"] == null ? void 0 : json["rule_id"],
|
|
19506
|
-
updatedAt: new Date(json["updated_at"]),
|
|
19507
|
-
userId: json["user_id"] == null ? void 0 : json["user_id"],
|
|
19508
|
-
value: json["value"]
|
|
19509
|
-
};
|
|
19510
|
-
}
|
|
19511
|
-
function FlagCheckLogResponseDataToJSON(value) {
|
|
19512
|
-
if (value == null) {
|
|
19513
|
-
return value;
|
|
19514
|
-
}
|
|
19515
|
-
return {
|
|
19516
|
-
check_status: value["checkStatus"],
|
|
19517
|
-
company_id: value["companyId"],
|
|
19518
|
-
created_at: value["createdAt"].toISOString(),
|
|
19519
|
-
environment_id: value["environmentId"],
|
|
19520
|
-
error: value["error"],
|
|
19521
|
-
flag_id: value["flagId"],
|
|
19522
|
-
flag_key: value["flagKey"],
|
|
19523
|
-
id: value["id"],
|
|
19524
|
-
reason: value["reason"],
|
|
19525
|
-
req_company: value["reqCompany"],
|
|
19526
|
-
req_user: value["reqUser"],
|
|
19527
|
-
rule_id: value["ruleId"],
|
|
19528
|
-
updated_at: value["updatedAt"].toISOString(),
|
|
19529
|
-
user_id: value["userId"],
|
|
19530
|
-
value: value["value"]
|
|
19531
|
-
};
|
|
19532
|
-
}
|
|
19533
|
-
|
|
19534
19567
|
// src/api/models/FlagDetailResponseData.ts
|
|
19535
19568
|
function instanceOfFlagDetailResponseData(value) {
|
|
19536
19569
|
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
@@ -19570,7 +19603,6 @@ function FlagDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19570
19603
|
id: json["id"],
|
|
19571
19604
|
key: json["key"],
|
|
19572
19605
|
lastCheckedAt: json["last_checked_at"] == null ? void 0 : new Date(json["last_checked_at"]),
|
|
19573
|
-
latestCheck: json["latest_check"] == null ? void 0 : FlagCheckLogResponseDataFromJSON(json["latest_check"]),
|
|
19574
19606
|
maintainerId: json["maintainer_id"] == null ? void 0 : json["maintainer_id"],
|
|
19575
19607
|
name: json["name"],
|
|
19576
19608
|
rules: json["rules"].map(RuleDetailResponseDataFromJSON),
|
|
@@ -19591,7 +19623,6 @@ function FlagDetailResponseDataToJSON(value) {
|
|
|
19591
19623
|
id: value["id"],
|
|
19592
19624
|
key: value["key"],
|
|
19593
19625
|
last_checked_at: value["lastCheckedAt"] == null ? void 0 : value["lastCheckedAt"].toISOString(),
|
|
19594
|
-
latest_check: FlagCheckLogResponseDataToJSON(value["latestCheck"]),
|
|
19595
19626
|
maintainer_id: value["maintainerId"],
|
|
19596
19627
|
name: value["name"],
|
|
19597
19628
|
rules: value["rules"].map(RuleDetailResponseDataToJSON),
|
|
@@ -19609,6 +19640,8 @@ function instanceOfFeatureDetailResponseData(value) {
|
|
|
19609
19640
|
return false;
|
|
19610
19641
|
if (!("flags" in value) || value["flags"] === void 0)
|
|
19611
19642
|
return false;
|
|
19643
|
+
if (!("icon" in value) || value["icon"] === void 0)
|
|
19644
|
+
return false;
|
|
19612
19645
|
if (!("id" in value) || value["id"] === void 0)
|
|
19613
19646
|
return false;
|
|
19614
19647
|
if (!("name" in value) || value["name"] === void 0)
|
|
@@ -19633,7 +19666,7 @@ function FeatureDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19633
19666
|
eventSummary: json["event_summary"] == null ? void 0 : EventSummaryResponseDataFromJSON(json["event_summary"]),
|
|
19634
19667
|
featureType: json["feature_type"],
|
|
19635
19668
|
flags: json["flags"].map(FlagDetailResponseDataFromJSON),
|
|
19636
|
-
icon: json["icon"]
|
|
19669
|
+
icon: json["icon"],
|
|
19637
19670
|
id: json["id"],
|
|
19638
19671
|
lifecyclePhase: json["lifecycle_phase"] == null ? void 0 : json["lifecycle_phase"],
|
|
19639
19672
|
maintainerId: json["maintainer_id"] == null ? void 0 : json["maintainer_id"],
|
|
@@ -19675,6 +19708,8 @@ function instanceOfPlanResponseData(value) {
|
|
|
19675
19708
|
return false;
|
|
19676
19709
|
if (!("description" in value) || value["description"] === void 0)
|
|
19677
19710
|
return false;
|
|
19711
|
+
if (!("icon" in value) || value["icon"] === void 0)
|
|
19712
|
+
return false;
|
|
19678
19713
|
if (!("id" in value) || value["id"] === void 0)
|
|
19679
19714
|
return false;
|
|
19680
19715
|
if (!("name" in value) || value["name"] === void 0)
|
|
@@ -19696,7 +19731,7 @@ function PlanResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19696
19731
|
audienceType: json["audience_type"],
|
|
19697
19732
|
createdAt: new Date(json["created_at"]),
|
|
19698
19733
|
description: json["description"],
|
|
19699
|
-
icon: json["icon"]
|
|
19734
|
+
icon: json["icon"],
|
|
19700
19735
|
id: json["id"],
|
|
19701
19736
|
name: json["name"],
|
|
19702
19737
|
planType: json["plan_type"],
|
|
@@ -20681,68 +20716,6 @@ function CountFeaturesResponseToJSON(value) {
|
|
|
20681
20716
|
};
|
|
20682
20717
|
}
|
|
20683
20718
|
|
|
20684
|
-
// src/api/models/CountFlagChecksParams.ts
|
|
20685
|
-
function instanceOfCountFlagChecksParams(value) {
|
|
20686
|
-
return true;
|
|
20687
|
-
}
|
|
20688
|
-
function CountFlagChecksParamsFromJSON(json) {
|
|
20689
|
-
return CountFlagChecksParamsFromJSONTyped(json, false);
|
|
20690
|
-
}
|
|
20691
|
-
function CountFlagChecksParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
20692
|
-
if (json == null) {
|
|
20693
|
-
return json;
|
|
20694
|
-
}
|
|
20695
|
-
return {
|
|
20696
|
-
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
20697
|
-
flagIds: json["flag_ids"] == null ? void 0 : json["flag_ids"],
|
|
20698
|
-
id: json["id"] == null ? void 0 : json["id"],
|
|
20699
|
-
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
20700
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
20701
|
-
};
|
|
20702
|
-
}
|
|
20703
|
-
function CountFlagChecksParamsToJSON(value) {
|
|
20704
|
-
if (value == null) {
|
|
20705
|
-
return value;
|
|
20706
|
-
}
|
|
20707
|
-
return {
|
|
20708
|
-
flag_id: value["flagId"],
|
|
20709
|
-
flag_ids: value["flagIds"],
|
|
20710
|
-
id: value["id"],
|
|
20711
|
-
limit: value["limit"],
|
|
20712
|
-
offset: value["offset"]
|
|
20713
|
-
};
|
|
20714
|
-
}
|
|
20715
|
-
|
|
20716
|
-
// src/api/models/CountFlagChecksResponse.ts
|
|
20717
|
-
function instanceOfCountFlagChecksResponse(value) {
|
|
20718
|
-
if (!("data" in value) || value["data"] === void 0)
|
|
20719
|
-
return false;
|
|
20720
|
-
if (!("params" in value) || value["params"] === void 0)
|
|
20721
|
-
return false;
|
|
20722
|
-
return true;
|
|
20723
|
-
}
|
|
20724
|
-
function CountFlagChecksResponseFromJSON(json) {
|
|
20725
|
-
return CountFlagChecksResponseFromJSONTyped(json, false);
|
|
20726
|
-
}
|
|
20727
|
-
function CountFlagChecksResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20728
|
-
if (json == null) {
|
|
20729
|
-
return json;
|
|
20730
|
-
}
|
|
20731
|
-
return {
|
|
20732
|
-
data: CountResponseFromJSON(json["data"]),
|
|
20733
|
-
params: CountFlagChecksParamsFromJSON(json["params"])
|
|
20734
|
-
};
|
|
20735
|
-
}
|
|
20736
|
-
function CountFlagChecksResponseToJSON(value) {
|
|
20737
|
-
if (value == null) {
|
|
20738
|
-
return value;
|
|
20739
|
-
}
|
|
20740
|
-
return {
|
|
20741
|
-
data: CountResponseToJSON(value["data"]),
|
|
20742
|
-
params: CountFlagChecksParamsToJSON(value["params"])
|
|
20743
|
-
};
|
|
20744
|
-
}
|
|
20745
|
-
|
|
20746
20719
|
// src/api/models/CountFlagsParams.ts
|
|
20747
20720
|
function instanceOfCountFlagsParams(value) {
|
|
20748
20721
|
return true;
|
|
@@ -21225,6 +21198,44 @@ function CreateBillingCustomerRequestBodyToJSON(value) {
|
|
|
21225
21198
|
};
|
|
21226
21199
|
}
|
|
21227
21200
|
|
|
21201
|
+
// src/api/models/CreateBillingPriceRequestBody.ts
|
|
21202
|
+
function instanceOfCreateBillingPriceRequestBody(value) {
|
|
21203
|
+
if (!("interval" in value) || value["interval"] === void 0)
|
|
21204
|
+
return false;
|
|
21205
|
+
if (!("price" in value) || value["price"] === void 0)
|
|
21206
|
+
return false;
|
|
21207
|
+
if (!("priceExternalId" in value) || value["priceExternalId"] === void 0)
|
|
21208
|
+
return false;
|
|
21209
|
+
if (!("productExternalId" in value) || value["productExternalId"] === void 0)
|
|
21210
|
+
return false;
|
|
21211
|
+
return true;
|
|
21212
|
+
}
|
|
21213
|
+
function CreateBillingPriceRequestBodyFromJSON(json) {
|
|
21214
|
+
return CreateBillingPriceRequestBodyFromJSONTyped(json, false);
|
|
21215
|
+
}
|
|
21216
|
+
function CreateBillingPriceRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
21217
|
+
if (json == null) {
|
|
21218
|
+
return json;
|
|
21219
|
+
}
|
|
21220
|
+
return {
|
|
21221
|
+
interval: json["interval"],
|
|
21222
|
+
price: json["price"],
|
|
21223
|
+
priceExternalId: json["price_external_id"],
|
|
21224
|
+
productExternalId: json["product_external_id"]
|
|
21225
|
+
};
|
|
21226
|
+
}
|
|
21227
|
+
function CreateBillingPriceRequestBodyToJSON(value) {
|
|
21228
|
+
if (value == null) {
|
|
21229
|
+
return value;
|
|
21230
|
+
}
|
|
21231
|
+
return {
|
|
21232
|
+
interval: value["interval"],
|
|
21233
|
+
price: value["price"],
|
|
21234
|
+
price_external_id: value["priceExternalId"],
|
|
21235
|
+
product_external_id: value["productExternalId"]
|
|
21236
|
+
};
|
|
21237
|
+
}
|
|
21238
|
+
|
|
21228
21239
|
// src/api/models/CreateBillingProductRequestBody.ts
|
|
21229
21240
|
function instanceOfCreateBillingProductRequestBody(value) {
|
|
21230
21241
|
if (!("currency" in value) || value["currency"] === void 0)
|
|
@@ -22617,12 +22628,8 @@ function CreatePlanEntitlementResponseToJSON(value) {
|
|
|
22617
22628
|
|
|
22618
22629
|
// src/api/models/CreatePlanRequestBody.ts
|
|
22619
22630
|
var CreatePlanRequestBodyPlanTypeEnum = {
|
|
22620
|
-
|
|
22621
|
-
|
|
22622
|
-
AddOn: "add_on",
|
|
22623
|
-
Overage: "overage",
|
|
22624
|
-
BillableMetric: "billable_metric",
|
|
22625
|
-
Other: "other"
|
|
22631
|
+
Plan: "plan",
|
|
22632
|
+
AddOn: "add_on"
|
|
22626
22633
|
};
|
|
22627
22634
|
function instanceOfCreatePlanRequestBody(value) {
|
|
22628
22635
|
if (!("description" in value) || value["description"] === void 0)
|
|
@@ -22665,8 +22672,6 @@ function CreatePlanRequestBodyToJSON(value) {
|
|
|
22665
22672
|
function instanceOfPlanDetailResponseData(value) {
|
|
22666
22673
|
if (!("audienceType" in value) || value["audienceType"] === void 0)
|
|
22667
22674
|
return false;
|
|
22668
|
-
if (!("billingProducts" in value) || value["billingProducts"] === void 0)
|
|
22669
|
-
return false;
|
|
22670
22675
|
if (!("companyCount" in value) || value["companyCount"] === void 0)
|
|
22671
22676
|
return false;
|
|
22672
22677
|
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
@@ -22675,6 +22680,8 @@ function instanceOfPlanDetailResponseData(value) {
|
|
|
22675
22680
|
return false;
|
|
22676
22681
|
if (!("features" in value) || value["features"] === void 0)
|
|
22677
22682
|
return false;
|
|
22683
|
+
if (!("icon" in value) || value["icon"] === void 0)
|
|
22684
|
+
return false;
|
|
22678
22685
|
if (!("id" in value) || value["id"] === void 0)
|
|
22679
22686
|
return false;
|
|
22680
22687
|
if (!("name" in value) || value["name"] === void 0)
|
|
@@ -22694,16 +22701,14 @@ function PlanDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22694
22701
|
}
|
|
22695
22702
|
return {
|
|
22696
22703
|
audienceType: json["audience_type"],
|
|
22697
|
-
|
|
22698
|
-
BillingProductResponseDataFromJSON
|
|
22699
|
-
),
|
|
22704
|
+
billingProduct: json["billing_product"] == null ? void 0 : BillingProductDetailResponseDataFromJSON(json["billing_product"]),
|
|
22700
22705
|
companyCount: json["company_count"],
|
|
22701
22706
|
createdAt: new Date(json["created_at"]),
|
|
22702
22707
|
description: json["description"],
|
|
22703
22708
|
features: json["features"].map(
|
|
22704
22709
|
FeatureDetailResponseDataFromJSON
|
|
22705
22710
|
),
|
|
22706
|
-
icon: json["icon"]
|
|
22711
|
+
icon: json["icon"],
|
|
22707
22712
|
id: json["id"],
|
|
22708
22713
|
name: json["name"],
|
|
22709
22714
|
planType: json["plan_type"],
|
|
@@ -22716,8 +22721,8 @@ function PlanDetailResponseDataToJSON(value) {
|
|
|
22716
22721
|
}
|
|
22717
22722
|
return {
|
|
22718
22723
|
audience_type: value["audienceType"],
|
|
22719
|
-
|
|
22720
|
-
|
|
22724
|
+
billing_product: BillingProductDetailResponseDataToJSON(
|
|
22725
|
+
value["billingProduct"]
|
|
22721
22726
|
),
|
|
22722
22727
|
company_count: value["companyCount"],
|
|
22723
22728
|
created_at: value["createdAt"].toISOString(),
|
|
@@ -24233,144 +24238,8 @@ function FlagResponseDataToJSON(value) {
|
|
|
24233
24238
|
};
|
|
24234
24239
|
}
|
|
24235
24240
|
|
|
24236
|
-
// src/api/models/
|
|
24237
|
-
function
|
|
24238
|
-
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
24239
|
-
return false;
|
|
24240
|
-
if (!("environmentId" in value) || value["environmentId"] === void 0)
|
|
24241
|
-
return false;
|
|
24242
|
-
if (!("id" in value) || value["id"] === void 0)
|
|
24243
|
-
return false;
|
|
24244
|
-
if (!("name" in value) || value["name"] === void 0)
|
|
24245
|
-
return false;
|
|
24246
|
-
if (!("priority" in value) || value["priority"] === void 0)
|
|
24247
|
-
return false;
|
|
24248
|
-
if (!("ruleType" in value) || value["ruleType"] === void 0)
|
|
24249
|
-
return false;
|
|
24250
|
-
if (!("updatedAt" in value) || value["updatedAt"] === void 0)
|
|
24251
|
-
return false;
|
|
24252
|
-
if (!("value" in value) || value["value"] === void 0)
|
|
24253
|
-
return false;
|
|
24254
|
-
return true;
|
|
24255
|
-
}
|
|
24256
|
-
function RuleResponseDataFromJSON(json) {
|
|
24257
|
-
return RuleResponseDataFromJSONTyped(json, false);
|
|
24258
|
-
}
|
|
24259
|
-
function RuleResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24260
|
-
if (json == null) {
|
|
24261
|
-
return json;
|
|
24262
|
-
}
|
|
24263
|
-
return {
|
|
24264
|
-
createdAt: new Date(json["created_at"]),
|
|
24265
|
-
environmentId: json["environment_id"],
|
|
24266
|
-
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
24267
|
-
id: json["id"],
|
|
24268
|
-
name: json["name"],
|
|
24269
|
-
planId: json["plan_id"] == null ? void 0 : json["plan_id"],
|
|
24270
|
-
priority: json["priority"],
|
|
24271
|
-
ruleType: json["rule_type"],
|
|
24272
|
-
updatedAt: new Date(json["updated_at"]),
|
|
24273
|
-
value: json["value"]
|
|
24274
|
-
};
|
|
24275
|
-
}
|
|
24276
|
-
function RuleResponseDataToJSON(value) {
|
|
24277
|
-
if (value == null) {
|
|
24278
|
-
return value;
|
|
24279
|
-
}
|
|
24280
|
-
return {
|
|
24281
|
-
created_at: value["createdAt"].toISOString(),
|
|
24282
|
-
environment_id: value["environmentId"],
|
|
24283
|
-
flag_id: value["flagId"],
|
|
24284
|
-
id: value["id"],
|
|
24285
|
-
name: value["name"],
|
|
24286
|
-
plan_id: value["planId"],
|
|
24287
|
-
priority: value["priority"],
|
|
24288
|
-
rule_type: value["ruleType"],
|
|
24289
|
-
updated_at: value["updatedAt"].toISOString(),
|
|
24290
|
-
value: value["value"]
|
|
24291
|
-
};
|
|
24292
|
-
}
|
|
24293
|
-
|
|
24294
|
-
// src/api/models/FlagCheckLogDetailResponseData.ts
|
|
24295
|
-
function instanceOfFlagCheckLogDetailResponseData(value) {
|
|
24296
|
-
if (!("checkStatus" in value) || value["checkStatus"] === void 0)
|
|
24297
|
-
return false;
|
|
24298
|
-
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
24299
|
-
return false;
|
|
24300
|
-
if (!("environmentId" in value) || value["environmentId"] === void 0)
|
|
24301
|
-
return false;
|
|
24302
|
-
if (!("flagKey" in value) || value["flagKey"] === void 0)
|
|
24303
|
-
return false;
|
|
24304
|
-
if (!("id" in value) || value["id"] === void 0)
|
|
24305
|
-
return false;
|
|
24306
|
-
if (!("reason" in value) || value["reason"] === void 0)
|
|
24307
|
-
return false;
|
|
24308
|
-
if (!("updatedAt" in value) || value["updatedAt"] === void 0)
|
|
24309
|
-
return false;
|
|
24310
|
-
if (!("value" in value) || value["value"] === void 0)
|
|
24311
|
-
return false;
|
|
24312
|
-
return true;
|
|
24313
|
-
}
|
|
24314
|
-
function FlagCheckLogDetailResponseDataFromJSON(json) {
|
|
24315
|
-
return FlagCheckLogDetailResponseDataFromJSONTyped(json, false);
|
|
24316
|
-
}
|
|
24317
|
-
function FlagCheckLogDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24318
|
-
if (json == null) {
|
|
24319
|
-
return json;
|
|
24320
|
-
}
|
|
24321
|
-
return {
|
|
24322
|
-
checkStatus: json["check_status"],
|
|
24323
|
-
company: json["company"] == null ? void 0 : CompanyResponseDataFromJSON(json["company"]),
|
|
24324
|
-
companyId: json["company_id"] == null ? void 0 : json["company_id"],
|
|
24325
|
-
createdAt: new Date(json["created_at"]),
|
|
24326
|
-
environment: json["environment"] == null ? void 0 : EnvironmentResponseDataFromJSON(json["environment"]),
|
|
24327
|
-
environmentId: json["environment_id"],
|
|
24328
|
-
error: json["error"] == null ? void 0 : json["error"],
|
|
24329
|
-
flag: json["flag"] == null ? void 0 : FlagResponseDataFromJSON(json["flag"]),
|
|
24330
|
-
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
24331
|
-
flagKey: json["flag_key"],
|
|
24332
|
-
id: json["id"],
|
|
24333
|
-
reason: json["reason"],
|
|
24334
|
-
reqCompany: json["req_company"] == null ? void 0 : json["req_company"],
|
|
24335
|
-
reqUser: json["req_user"] == null ? void 0 : json["req_user"],
|
|
24336
|
-
rule: json["rule"] == null ? void 0 : RuleResponseDataFromJSON(json["rule"]),
|
|
24337
|
-
ruleId: json["rule_id"] == null ? void 0 : json["rule_id"],
|
|
24338
|
-
updatedAt: new Date(json["updated_at"]),
|
|
24339
|
-
user: json["user"] == null ? void 0 : UserResponseDataFromJSON(json["user"]),
|
|
24340
|
-
userId: json["user_id"] == null ? void 0 : json["user_id"],
|
|
24341
|
-
value: json["value"]
|
|
24342
|
-
};
|
|
24343
|
-
}
|
|
24344
|
-
function FlagCheckLogDetailResponseDataToJSON(value) {
|
|
24345
|
-
if (value == null) {
|
|
24346
|
-
return value;
|
|
24347
|
-
}
|
|
24348
|
-
return {
|
|
24349
|
-
check_status: value["checkStatus"],
|
|
24350
|
-
company: CompanyResponseDataToJSON(value["company"]),
|
|
24351
|
-
company_id: value["companyId"],
|
|
24352
|
-
created_at: value["createdAt"].toISOString(),
|
|
24353
|
-
environment: EnvironmentResponseDataToJSON(value["environment"]),
|
|
24354
|
-
environment_id: value["environmentId"],
|
|
24355
|
-
error: value["error"],
|
|
24356
|
-
flag: FlagResponseDataToJSON(value["flag"]),
|
|
24357
|
-
flag_id: value["flagId"],
|
|
24358
|
-
flag_key: value["flagKey"],
|
|
24359
|
-
id: value["id"],
|
|
24360
|
-
reason: value["reason"],
|
|
24361
|
-
req_company: value["reqCompany"],
|
|
24362
|
-
req_user: value["reqUser"],
|
|
24363
|
-
rule: RuleResponseDataToJSON(value["rule"]),
|
|
24364
|
-
rule_id: value["ruleId"],
|
|
24365
|
-
updated_at: value["updatedAt"].toISOString(),
|
|
24366
|
-
user: UserResponseDataToJSON(value["user"]),
|
|
24367
|
-
user_id: value["userId"],
|
|
24368
|
-
value: value["value"]
|
|
24369
|
-
};
|
|
24370
|
-
}
|
|
24371
|
-
|
|
24372
|
-
// src/api/models/GetActiveCompanySubscriptionParams.ts
|
|
24373
|
-
function instanceOfGetActiveCompanySubscriptionParams(value) {
|
|
24241
|
+
// src/api/models/GetActiveCompanySubscriptionParams.ts
|
|
24242
|
+
function instanceOfGetActiveCompanySubscriptionParams(value) {
|
|
24374
24243
|
return true;
|
|
24375
24244
|
}
|
|
24376
24245
|
function GetActiveCompanySubscriptionParamsFromJSON(json) {
|
|
@@ -25069,36 +24938,6 @@ function GetFeatureUsageByCompanyResponseToJSON(value) {
|
|
|
25069
24938
|
};
|
|
25070
24939
|
}
|
|
25071
24940
|
|
|
25072
|
-
// src/api/models/GetFlagCheckResponse.ts
|
|
25073
|
-
function instanceOfGetFlagCheckResponse(value) {
|
|
25074
|
-
if (!("data" in value) || value["data"] === void 0)
|
|
25075
|
-
return false;
|
|
25076
|
-
if (!("params" in value) || value["params"] === void 0)
|
|
25077
|
-
return false;
|
|
25078
|
-
return true;
|
|
25079
|
-
}
|
|
25080
|
-
function GetFlagCheckResponseFromJSON(json) {
|
|
25081
|
-
return GetFlagCheckResponseFromJSONTyped(json, false);
|
|
25082
|
-
}
|
|
25083
|
-
function GetFlagCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25084
|
-
if (json == null) {
|
|
25085
|
-
return json;
|
|
25086
|
-
}
|
|
25087
|
-
return {
|
|
25088
|
-
data: FlagCheckLogDetailResponseDataFromJSON(json["data"]),
|
|
25089
|
-
params: json["params"]
|
|
25090
|
-
};
|
|
25091
|
-
}
|
|
25092
|
-
function GetFlagCheckResponseToJSON(value) {
|
|
25093
|
-
if (value == null) {
|
|
25094
|
-
return value;
|
|
25095
|
-
}
|
|
25096
|
-
return {
|
|
25097
|
-
data: FlagCheckLogDetailResponseDataToJSON(value["data"]),
|
|
25098
|
-
params: value["params"]
|
|
25099
|
-
};
|
|
25100
|
-
}
|
|
25101
|
-
|
|
25102
24941
|
// src/api/models/GetFlagResponse.ts
|
|
25103
24942
|
function instanceOfGetFlagResponse(value) {
|
|
25104
24943
|
if (!("data" in value) || value["data"] === void 0)
|
|
@@ -25129,68 +24968,6 @@ function GetFlagResponseToJSON(value) {
|
|
|
25129
24968
|
};
|
|
25130
24969
|
}
|
|
25131
24970
|
|
|
25132
|
-
// src/api/models/GetLatestFlagChecksParams.ts
|
|
25133
|
-
function instanceOfGetLatestFlagChecksParams(value) {
|
|
25134
|
-
return true;
|
|
25135
|
-
}
|
|
25136
|
-
function GetLatestFlagChecksParamsFromJSON(json) {
|
|
25137
|
-
return GetLatestFlagChecksParamsFromJSONTyped(json, false);
|
|
25138
|
-
}
|
|
25139
|
-
function GetLatestFlagChecksParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25140
|
-
if (json == null) {
|
|
25141
|
-
return json;
|
|
25142
|
-
}
|
|
25143
|
-
return {
|
|
25144
|
-
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
25145
|
-
flagIds: json["flag_ids"] == null ? void 0 : json["flag_ids"],
|
|
25146
|
-
id: json["id"] == null ? void 0 : json["id"],
|
|
25147
|
-
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
25148
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
25149
|
-
};
|
|
25150
|
-
}
|
|
25151
|
-
function GetLatestFlagChecksParamsToJSON(value) {
|
|
25152
|
-
if (value == null) {
|
|
25153
|
-
return value;
|
|
25154
|
-
}
|
|
25155
|
-
return {
|
|
25156
|
-
flag_id: value["flagId"],
|
|
25157
|
-
flag_ids: value["flagIds"],
|
|
25158
|
-
id: value["id"],
|
|
25159
|
-
limit: value["limit"],
|
|
25160
|
-
offset: value["offset"]
|
|
25161
|
-
};
|
|
25162
|
-
}
|
|
25163
|
-
|
|
25164
|
-
// src/api/models/GetLatestFlagChecksResponse.ts
|
|
25165
|
-
function instanceOfGetLatestFlagChecksResponse(value) {
|
|
25166
|
-
if (!("data" in value) || value["data"] === void 0)
|
|
25167
|
-
return false;
|
|
25168
|
-
if (!("params" in value) || value["params"] === void 0)
|
|
25169
|
-
return false;
|
|
25170
|
-
return true;
|
|
25171
|
-
}
|
|
25172
|
-
function GetLatestFlagChecksResponseFromJSON(json) {
|
|
25173
|
-
return GetLatestFlagChecksResponseFromJSONTyped(json, false);
|
|
25174
|
-
}
|
|
25175
|
-
function GetLatestFlagChecksResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25176
|
-
if (json == null) {
|
|
25177
|
-
return json;
|
|
25178
|
-
}
|
|
25179
|
-
return {
|
|
25180
|
-
data: json["data"].map(FlagCheckLogResponseDataFromJSON),
|
|
25181
|
-
params: GetLatestFlagChecksParamsFromJSON(json["params"])
|
|
25182
|
-
};
|
|
25183
|
-
}
|
|
25184
|
-
function GetLatestFlagChecksResponseToJSON(value) {
|
|
25185
|
-
if (value == null) {
|
|
25186
|
-
return value;
|
|
25187
|
-
}
|
|
25188
|
-
return {
|
|
25189
|
-
data: value["data"].map(FlagCheckLogResponseDataToJSON),
|
|
25190
|
-
params: GetLatestFlagChecksParamsToJSON(value["params"])
|
|
25191
|
-
};
|
|
25192
|
-
}
|
|
25193
|
-
|
|
25194
24971
|
// src/api/models/GetOrCreateCompanyMembershipRequestBody.ts
|
|
25195
24972
|
function instanceOfGetOrCreateCompanyMembershipRequestBody(value) {
|
|
25196
24973
|
if (!("companyId" in value) || value["companyId"] === void 0)
|
|
@@ -25903,6 +25680,72 @@ function ListAudienceUsersResponseToJSON(value) {
|
|
|
25903
25680
|
};
|
|
25904
25681
|
}
|
|
25905
25682
|
|
|
25683
|
+
// src/api/models/ListBillingProductsParams.ts
|
|
25684
|
+
function instanceOfListBillingProductsParams(value) {
|
|
25685
|
+
return true;
|
|
25686
|
+
}
|
|
25687
|
+
function ListBillingProductsParamsFromJSON(json) {
|
|
25688
|
+
return ListBillingProductsParamsFromJSONTyped(json, false);
|
|
25689
|
+
}
|
|
25690
|
+
function ListBillingProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25691
|
+
if (json == null) {
|
|
25692
|
+
return json;
|
|
25693
|
+
}
|
|
25694
|
+
return {
|
|
25695
|
+
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
25696
|
+
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
25697
|
+
name: json["name"] == null ? void 0 : json["name"],
|
|
25698
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
25699
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
25700
|
+
};
|
|
25701
|
+
}
|
|
25702
|
+
function ListBillingProductsParamsToJSON(value) {
|
|
25703
|
+
if (value == null) {
|
|
25704
|
+
return value;
|
|
25705
|
+
}
|
|
25706
|
+
return {
|
|
25707
|
+
ids: value["ids"],
|
|
25708
|
+
limit: value["limit"],
|
|
25709
|
+
name: value["name"],
|
|
25710
|
+
offset: value["offset"],
|
|
25711
|
+
q: value["q"]
|
|
25712
|
+
};
|
|
25713
|
+
}
|
|
25714
|
+
|
|
25715
|
+
// src/api/models/ListBillingProductsResponse.ts
|
|
25716
|
+
function instanceOfListBillingProductsResponse(value) {
|
|
25717
|
+
if (!("data" in value) || value["data"] === void 0)
|
|
25718
|
+
return false;
|
|
25719
|
+
if (!("params" in value) || value["params"] === void 0)
|
|
25720
|
+
return false;
|
|
25721
|
+
return true;
|
|
25722
|
+
}
|
|
25723
|
+
function ListBillingProductsResponseFromJSON(json) {
|
|
25724
|
+
return ListBillingProductsResponseFromJSONTyped(json, false);
|
|
25725
|
+
}
|
|
25726
|
+
function ListBillingProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25727
|
+
if (json == null) {
|
|
25728
|
+
return json;
|
|
25729
|
+
}
|
|
25730
|
+
return {
|
|
25731
|
+
data: json["data"].map(
|
|
25732
|
+
BillingProductDetailResponseDataFromJSON
|
|
25733
|
+
),
|
|
25734
|
+
params: ListBillingProductsParamsFromJSON(json["params"])
|
|
25735
|
+
};
|
|
25736
|
+
}
|
|
25737
|
+
function ListBillingProductsResponseToJSON(value) {
|
|
25738
|
+
if (value == null) {
|
|
25739
|
+
return value;
|
|
25740
|
+
}
|
|
25741
|
+
return {
|
|
25742
|
+
data: value["data"].map(
|
|
25743
|
+
BillingProductDetailResponseDataToJSON
|
|
25744
|
+
),
|
|
25745
|
+
params: ListBillingProductsParamsToJSON(value["params"])
|
|
25746
|
+
};
|
|
25747
|
+
}
|
|
25748
|
+
|
|
25906
25749
|
// src/api/models/ListCompaniesParams.ts
|
|
25907
25750
|
function instanceOfListCompaniesParams(value) {
|
|
25908
25751
|
return true;
|
|
@@ -26869,72 +26712,6 @@ function ListFeaturesResponseToJSON(value) {
|
|
|
26869
26712
|
};
|
|
26870
26713
|
}
|
|
26871
26714
|
|
|
26872
|
-
// src/api/models/ListFlagChecksParams.ts
|
|
26873
|
-
function instanceOfListFlagChecksParams(value) {
|
|
26874
|
-
return true;
|
|
26875
|
-
}
|
|
26876
|
-
function ListFlagChecksParamsFromJSON(json) {
|
|
26877
|
-
return ListFlagChecksParamsFromJSONTyped(json, false);
|
|
26878
|
-
}
|
|
26879
|
-
function ListFlagChecksParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
26880
|
-
if (json == null) {
|
|
26881
|
-
return json;
|
|
26882
|
-
}
|
|
26883
|
-
return {
|
|
26884
|
-
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
26885
|
-
flagIds: json["flag_ids"] == null ? void 0 : json["flag_ids"],
|
|
26886
|
-
id: json["id"] == null ? void 0 : json["id"],
|
|
26887
|
-
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
26888
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
26889
|
-
};
|
|
26890
|
-
}
|
|
26891
|
-
function ListFlagChecksParamsToJSON(value) {
|
|
26892
|
-
if (value == null) {
|
|
26893
|
-
return value;
|
|
26894
|
-
}
|
|
26895
|
-
return {
|
|
26896
|
-
flag_id: value["flagId"],
|
|
26897
|
-
flag_ids: value["flagIds"],
|
|
26898
|
-
id: value["id"],
|
|
26899
|
-
limit: value["limit"],
|
|
26900
|
-
offset: value["offset"]
|
|
26901
|
-
};
|
|
26902
|
-
}
|
|
26903
|
-
|
|
26904
|
-
// src/api/models/ListFlagChecksResponse.ts
|
|
26905
|
-
function instanceOfListFlagChecksResponse(value) {
|
|
26906
|
-
if (!("data" in value) || value["data"] === void 0)
|
|
26907
|
-
return false;
|
|
26908
|
-
if (!("params" in value) || value["params"] === void 0)
|
|
26909
|
-
return false;
|
|
26910
|
-
return true;
|
|
26911
|
-
}
|
|
26912
|
-
function ListFlagChecksResponseFromJSON(json) {
|
|
26913
|
-
return ListFlagChecksResponseFromJSONTyped(json, false);
|
|
26914
|
-
}
|
|
26915
|
-
function ListFlagChecksResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26916
|
-
if (json == null) {
|
|
26917
|
-
return json;
|
|
26918
|
-
}
|
|
26919
|
-
return {
|
|
26920
|
-
data: json["data"].map(
|
|
26921
|
-
FlagCheckLogDetailResponseDataFromJSON
|
|
26922
|
-
),
|
|
26923
|
-
params: ListFlagChecksParamsFromJSON(json["params"])
|
|
26924
|
-
};
|
|
26925
|
-
}
|
|
26926
|
-
function ListFlagChecksResponseToJSON(value) {
|
|
26927
|
-
if (value == null) {
|
|
26928
|
-
return value;
|
|
26929
|
-
}
|
|
26930
|
-
return {
|
|
26931
|
-
data: value["data"].map(
|
|
26932
|
-
FlagCheckLogDetailResponseDataToJSON
|
|
26933
|
-
),
|
|
26934
|
-
params: ListFlagChecksParamsToJSON(value["params"])
|
|
26935
|
-
};
|
|
26936
|
-
}
|
|
26937
|
-
|
|
26938
26715
|
// src/api/models/ListFlagsParams.ts
|
|
26939
26716
|
function instanceOfListFlagsParams(value) {
|
|
26940
26717
|
return true;
|
|
@@ -27251,14 +27028,14 @@ function ListPlansResponseToJSON(value) {
|
|
|
27251
27028
|
};
|
|
27252
27029
|
}
|
|
27253
27030
|
|
|
27254
|
-
// src/api/models/
|
|
27255
|
-
function
|
|
27031
|
+
// src/api/models/ListProductPricesParams.ts
|
|
27032
|
+
function instanceOfListProductPricesParams(value) {
|
|
27256
27033
|
return true;
|
|
27257
27034
|
}
|
|
27258
|
-
function
|
|
27259
|
-
return
|
|
27035
|
+
function ListProductPricesParamsFromJSON(json) {
|
|
27036
|
+
return ListProductPricesParamsFromJSONTyped(json, false);
|
|
27260
27037
|
}
|
|
27261
|
-
function
|
|
27038
|
+
function ListProductPricesParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
27262
27039
|
if (json == null) {
|
|
27263
27040
|
return json;
|
|
27264
27041
|
}
|
|
@@ -27270,7 +27047,7 @@ function ListProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27270
27047
|
q: json["q"] == null ? void 0 : json["q"]
|
|
27271
27048
|
};
|
|
27272
27049
|
}
|
|
27273
|
-
function
|
|
27050
|
+
function ListProductPricesParamsToJSON(value) {
|
|
27274
27051
|
if (value == null) {
|
|
27275
27052
|
return value;
|
|
27276
27053
|
}
|
|
@@ -27283,33 +27060,33 @@ function ListProductsParamsToJSON(value) {
|
|
|
27283
27060
|
};
|
|
27284
27061
|
}
|
|
27285
27062
|
|
|
27286
|
-
// src/api/models/
|
|
27287
|
-
function
|
|
27063
|
+
// src/api/models/ListProductPricesResponse.ts
|
|
27064
|
+
function instanceOfListProductPricesResponse(value) {
|
|
27288
27065
|
if (!("data" in value) || value["data"] === void 0)
|
|
27289
27066
|
return false;
|
|
27290
27067
|
if (!("params" in value) || value["params"] === void 0)
|
|
27291
27068
|
return false;
|
|
27292
27069
|
return true;
|
|
27293
27070
|
}
|
|
27294
|
-
function
|
|
27295
|
-
return
|
|
27071
|
+
function ListProductPricesResponseFromJSON(json) {
|
|
27072
|
+
return ListProductPricesResponseFromJSONTyped(json, false);
|
|
27296
27073
|
}
|
|
27297
|
-
function
|
|
27074
|
+
function ListProductPricesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27298
27075
|
if (json == null) {
|
|
27299
27076
|
return json;
|
|
27300
27077
|
}
|
|
27301
27078
|
return {
|
|
27302
|
-
data: json["data"].map(
|
|
27303
|
-
params:
|
|
27079
|
+
data: json["data"].map(BillingPriceResponseDataFromJSON),
|
|
27080
|
+
params: ListProductPricesParamsFromJSON(json["params"])
|
|
27304
27081
|
};
|
|
27305
27082
|
}
|
|
27306
|
-
function
|
|
27083
|
+
function ListProductPricesResponseToJSON(value) {
|
|
27307
27084
|
if (value == null) {
|
|
27308
27085
|
return value;
|
|
27309
27086
|
}
|
|
27310
27087
|
return {
|
|
27311
|
-
data: value["data"].map(
|
|
27312
|
-
params:
|
|
27088
|
+
data: value["data"].map(BillingPriceResponseDataToJSON),
|
|
27089
|
+
params: ListProductPricesParamsToJSON(value["params"])
|
|
27313
27090
|
};
|
|
27314
27091
|
}
|
|
27315
27092
|
|
|
@@ -27815,6 +27592,64 @@ function RuleConditionResponseDataToJSON(value) {
|
|
|
27815
27592
|
};
|
|
27816
27593
|
}
|
|
27817
27594
|
|
|
27595
|
+
// src/api/models/RuleResponseData.ts
|
|
27596
|
+
function instanceOfRuleResponseData(value) {
|
|
27597
|
+
if (!("createdAt" in value) || value["createdAt"] === void 0)
|
|
27598
|
+
return false;
|
|
27599
|
+
if (!("environmentId" in value) || value["environmentId"] === void 0)
|
|
27600
|
+
return false;
|
|
27601
|
+
if (!("id" in value) || value["id"] === void 0)
|
|
27602
|
+
return false;
|
|
27603
|
+
if (!("name" in value) || value["name"] === void 0)
|
|
27604
|
+
return false;
|
|
27605
|
+
if (!("priority" in value) || value["priority"] === void 0)
|
|
27606
|
+
return false;
|
|
27607
|
+
if (!("ruleType" in value) || value["ruleType"] === void 0)
|
|
27608
|
+
return false;
|
|
27609
|
+
if (!("updatedAt" in value) || value["updatedAt"] === void 0)
|
|
27610
|
+
return false;
|
|
27611
|
+
if (!("value" in value) || value["value"] === void 0)
|
|
27612
|
+
return false;
|
|
27613
|
+
return true;
|
|
27614
|
+
}
|
|
27615
|
+
function RuleResponseDataFromJSON(json) {
|
|
27616
|
+
return RuleResponseDataFromJSONTyped(json, false);
|
|
27617
|
+
}
|
|
27618
|
+
function RuleResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
27619
|
+
if (json == null) {
|
|
27620
|
+
return json;
|
|
27621
|
+
}
|
|
27622
|
+
return {
|
|
27623
|
+
createdAt: new Date(json["created_at"]),
|
|
27624
|
+
environmentId: json["environment_id"],
|
|
27625
|
+
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
27626
|
+
id: json["id"],
|
|
27627
|
+
name: json["name"],
|
|
27628
|
+
planId: json["plan_id"] == null ? void 0 : json["plan_id"],
|
|
27629
|
+
priority: json["priority"],
|
|
27630
|
+
ruleType: json["rule_type"],
|
|
27631
|
+
updatedAt: new Date(json["updated_at"]),
|
|
27632
|
+
value: json["value"]
|
|
27633
|
+
};
|
|
27634
|
+
}
|
|
27635
|
+
function RuleResponseDataToJSON(value) {
|
|
27636
|
+
if (value == null) {
|
|
27637
|
+
return value;
|
|
27638
|
+
}
|
|
27639
|
+
return {
|
|
27640
|
+
created_at: value["createdAt"].toISOString(),
|
|
27641
|
+
environment_id: value["environmentId"],
|
|
27642
|
+
flag_id: value["flagId"],
|
|
27643
|
+
id: value["id"],
|
|
27644
|
+
name: value["name"],
|
|
27645
|
+
plan_id: value["planId"],
|
|
27646
|
+
priority: value["priority"],
|
|
27647
|
+
rule_type: value["ruleType"],
|
|
27648
|
+
updated_at: value["updatedAt"].toISOString(),
|
|
27649
|
+
value: value["value"]
|
|
27650
|
+
};
|
|
27651
|
+
}
|
|
27652
|
+
|
|
27818
27653
|
// src/api/models/RulesDetailResponseData.ts
|
|
27819
27654
|
function instanceOfRulesDetailResponseData(value) {
|
|
27820
27655
|
if (!("rules" in value) || value["rules"] === void 0)
|
|
@@ -28528,14 +28363,6 @@ function UpdatePlanEntitlementResponseToJSON(value) {
|
|
|
28528
28363
|
}
|
|
28529
28364
|
|
|
28530
28365
|
// src/api/models/UpdatePlanRequestBody.ts
|
|
28531
|
-
var UpdatePlanRequestBodyPlanTypeEnum = {
|
|
28532
|
-
Product: "product",
|
|
28533
|
-
PricingPlan: "pricing_plan",
|
|
28534
|
-
AddOn: "add_on",
|
|
28535
|
-
Overage: "overage",
|
|
28536
|
-
BillableMetric: "billable_metric",
|
|
28537
|
-
Other: "other"
|
|
28538
|
-
};
|
|
28539
28366
|
function instanceOfUpdatePlanRequestBody(value) {
|
|
28540
28367
|
if (!("audienceType" in value) || value["audienceType"] === void 0)
|
|
28541
28368
|
return false;
|
|
@@ -28554,8 +28381,7 @@ function UpdatePlanRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28554
28381
|
audienceType: json["audience_type"],
|
|
28555
28382
|
description: json["description"] == null ? void 0 : json["description"],
|
|
28556
28383
|
icon: json["icon"] == null ? void 0 : json["icon"],
|
|
28557
|
-
name: json["name"]
|
|
28558
|
-
planType: json["plan_type"] == null ? void 0 : json["plan_type"]
|
|
28384
|
+
name: json["name"]
|
|
28559
28385
|
};
|
|
28560
28386
|
}
|
|
28561
28387
|
function UpdatePlanRequestBodyToJSON(value) {
|
|
@@ -28566,8 +28392,7 @@ function UpdatePlanRequestBodyToJSON(value) {
|
|
|
28566
28392
|
audience_type: value["audienceType"],
|
|
28567
28393
|
description: value["description"],
|
|
28568
28394
|
icon: value["icon"],
|
|
28569
|
-
name: value["name"]
|
|
28570
|
-
plan_type: value["planType"]
|
|
28395
|
+
name: value["name"]
|
|
28571
28396
|
};
|
|
28572
28397
|
}
|
|
28573
28398
|
|
|
@@ -28815,6 +28640,36 @@ function UpsertBillingCustomerResponseToJSON(value) {
|
|
|
28815
28640
|
};
|
|
28816
28641
|
}
|
|
28817
28642
|
|
|
28643
|
+
// src/api/models/UpsertBillingPriceResponse.ts
|
|
28644
|
+
function instanceOfUpsertBillingPriceResponse(value) {
|
|
28645
|
+
if (!("data" in value) || value["data"] === void 0)
|
|
28646
|
+
return false;
|
|
28647
|
+
if (!("params" in value) || value["params"] === void 0)
|
|
28648
|
+
return false;
|
|
28649
|
+
return true;
|
|
28650
|
+
}
|
|
28651
|
+
function UpsertBillingPriceResponseFromJSON(json) {
|
|
28652
|
+
return UpsertBillingPriceResponseFromJSONTyped(json, false);
|
|
28653
|
+
}
|
|
28654
|
+
function UpsertBillingPriceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28655
|
+
if (json == null) {
|
|
28656
|
+
return json;
|
|
28657
|
+
}
|
|
28658
|
+
return {
|
|
28659
|
+
data: BillingPriceResponseDataFromJSON(json["data"]),
|
|
28660
|
+
params: json["params"]
|
|
28661
|
+
};
|
|
28662
|
+
}
|
|
28663
|
+
function UpsertBillingPriceResponseToJSON(value) {
|
|
28664
|
+
if (value == null) {
|
|
28665
|
+
return value;
|
|
28666
|
+
}
|
|
28667
|
+
return {
|
|
28668
|
+
data: BillingPriceResponseDataToJSON(value["data"]),
|
|
28669
|
+
params: value["params"]
|
|
28670
|
+
};
|
|
28671
|
+
}
|
|
28672
|
+
|
|
28818
28673
|
// src/api/models/UpsertBillingProductPlanResponse.ts
|
|
28819
28674
|
function instanceOfUpsertBillingProductPlanResponse(value) {
|
|
28820
28675
|
if (!("data" in value) || value["data"] === void 0)
|
|
@@ -30145,6 +30000,56 @@ var BillingApi = class extends BaseAPI {
|
|
|
30145
30000
|
);
|
|
30146
30001
|
return await response.value();
|
|
30147
30002
|
}
|
|
30003
|
+
/**
|
|
30004
|
+
* List billing products
|
|
30005
|
+
*/
|
|
30006
|
+
async listBillingProductsRaw(requestParameters, initOverrides) {
|
|
30007
|
+
const queryParameters = {};
|
|
30008
|
+
if (requestParameters["ids"] != null) {
|
|
30009
|
+
queryParameters["ids"] = requestParameters["ids"];
|
|
30010
|
+
}
|
|
30011
|
+
if (requestParameters["name"] != null) {
|
|
30012
|
+
queryParameters["name"] = requestParameters["name"];
|
|
30013
|
+
}
|
|
30014
|
+
if (requestParameters["q"] != null) {
|
|
30015
|
+
queryParameters["q"] = requestParameters["q"];
|
|
30016
|
+
}
|
|
30017
|
+
if (requestParameters["limit"] != null) {
|
|
30018
|
+
queryParameters["limit"] = requestParameters["limit"];
|
|
30019
|
+
}
|
|
30020
|
+
if (requestParameters["offset"] != null) {
|
|
30021
|
+
queryParameters["offset"] = requestParameters["offset"];
|
|
30022
|
+
}
|
|
30023
|
+
const headerParameters = {};
|
|
30024
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
30025
|
+
headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
|
|
30026
|
+
"X-Schematic-Api-Key"
|
|
30027
|
+
);
|
|
30028
|
+
}
|
|
30029
|
+
const response = await this.request(
|
|
30030
|
+
{
|
|
30031
|
+
path: `/billing/products`,
|
|
30032
|
+
method: "GET",
|
|
30033
|
+
headers: headerParameters,
|
|
30034
|
+
query: queryParameters
|
|
30035
|
+
},
|
|
30036
|
+
initOverrides
|
|
30037
|
+
);
|
|
30038
|
+
return new JSONApiResponse(
|
|
30039
|
+
response,
|
|
30040
|
+
(jsonValue) => ListBillingProductsResponseFromJSON(jsonValue)
|
|
30041
|
+
);
|
|
30042
|
+
}
|
|
30043
|
+
/**
|
|
30044
|
+
* List billing products
|
|
30045
|
+
*/
|
|
30046
|
+
async listBillingProducts(requestParameters = {}, initOverrides) {
|
|
30047
|
+
const response = await this.listBillingProductsRaw(
|
|
30048
|
+
requestParameters,
|
|
30049
|
+
initOverrides
|
|
30050
|
+
);
|
|
30051
|
+
return await response.value();
|
|
30052
|
+
}
|
|
30148
30053
|
/**
|
|
30149
30054
|
* List customers
|
|
30150
30055
|
*/
|
|
@@ -30196,9 +30101,9 @@ var BillingApi = class extends BaseAPI {
|
|
|
30196
30101
|
return await response.value();
|
|
30197
30102
|
}
|
|
30198
30103
|
/**
|
|
30199
|
-
* List
|
|
30104
|
+
* List product prices
|
|
30200
30105
|
*/
|
|
30201
|
-
async
|
|
30106
|
+
async listProductPricesRaw(requestParameters, initOverrides) {
|
|
30202
30107
|
const queryParameters = {};
|
|
30203
30108
|
if (requestParameters["ids"] != null) {
|
|
30204
30109
|
queryParameters["ids"] = requestParameters["ids"];
|
|
@@ -30223,7 +30128,7 @@ var BillingApi = class extends BaseAPI {
|
|
|
30223
30128
|
}
|
|
30224
30129
|
const response = await this.request(
|
|
30225
30130
|
{
|
|
30226
|
-
path: `/billing/
|
|
30131
|
+
path: `/billing/product/prices`,
|
|
30227
30132
|
method: "GET",
|
|
30228
30133
|
headers: headerParameters,
|
|
30229
30134
|
query: queryParameters
|
|
@@ -30232,14 +30137,14 @@ var BillingApi = class extends BaseAPI {
|
|
|
30232
30137
|
);
|
|
30233
30138
|
return new JSONApiResponse(
|
|
30234
30139
|
response,
|
|
30235
|
-
(jsonValue) =>
|
|
30140
|
+
(jsonValue) => ListProductPricesResponseFromJSON(jsonValue)
|
|
30236
30141
|
);
|
|
30237
30142
|
}
|
|
30238
30143
|
/**
|
|
30239
|
-
* List
|
|
30144
|
+
* List product prices
|
|
30240
30145
|
*/
|
|
30241
|
-
async
|
|
30242
|
-
const response = await this.
|
|
30146
|
+
async listProductPrices(requestParameters = {}, initOverrides) {
|
|
30147
|
+
const response = await this.listProductPricesRaw(
|
|
30243
30148
|
requestParameters,
|
|
30244
30149
|
initOverrides
|
|
30245
30150
|
);
|
|
@@ -30290,6 +30195,51 @@ var BillingApi = class extends BaseAPI {
|
|
|
30290
30195
|
);
|
|
30291
30196
|
return await response.value();
|
|
30292
30197
|
}
|
|
30198
|
+
/**
|
|
30199
|
+
* Upsert billing price
|
|
30200
|
+
*/
|
|
30201
|
+
async upsertBillingPriceRaw(requestParameters, initOverrides) {
|
|
30202
|
+
if (requestParameters["createBillingPriceRequestBody"] == null) {
|
|
30203
|
+
throw new RequiredError(
|
|
30204
|
+
"createBillingPriceRequestBody",
|
|
30205
|
+
'Required parameter "createBillingPriceRequestBody" was null or undefined when calling upsertBillingPrice().'
|
|
30206
|
+
);
|
|
30207
|
+
}
|
|
30208
|
+
const queryParameters = {};
|
|
30209
|
+
const headerParameters = {};
|
|
30210
|
+
headerParameters["Content-Type"] = "application/json";
|
|
30211
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
30212
|
+
headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
|
|
30213
|
+
"X-Schematic-Api-Key"
|
|
30214
|
+
);
|
|
30215
|
+
}
|
|
30216
|
+
const response = await this.request(
|
|
30217
|
+
{
|
|
30218
|
+
path: `/billing/price/upsert`,
|
|
30219
|
+
method: "POST",
|
|
30220
|
+
headers: headerParameters,
|
|
30221
|
+
query: queryParameters,
|
|
30222
|
+
body: CreateBillingPriceRequestBodyToJSON(
|
|
30223
|
+
requestParameters["createBillingPriceRequestBody"]
|
|
30224
|
+
)
|
|
30225
|
+
},
|
|
30226
|
+
initOverrides
|
|
30227
|
+
);
|
|
30228
|
+
return new JSONApiResponse(
|
|
30229
|
+
response,
|
|
30230
|
+
(jsonValue) => UpsertBillingPriceResponseFromJSON(jsonValue)
|
|
30231
|
+
);
|
|
30232
|
+
}
|
|
30233
|
+
/**
|
|
30234
|
+
* Upsert billing price
|
|
30235
|
+
*/
|
|
30236
|
+
async upsertBillingPrice(requestParameters, initOverrides) {
|
|
30237
|
+
const response = await this.upsertBillingPriceRaw(
|
|
30238
|
+
requestParameters,
|
|
30239
|
+
initOverrides
|
|
30240
|
+
);
|
|
30241
|
+
return await response.value();
|
|
30242
|
+
}
|
|
30293
30243
|
/**
|
|
30294
30244
|
* Upsert billing product
|
|
30295
30245
|
*/
|
|
@@ -34068,56 +34018,6 @@ var FeaturesApi = class extends BaseAPI {
|
|
|
34068
34018
|
);
|
|
34069
34019
|
return await response.value();
|
|
34070
34020
|
}
|
|
34071
|
-
/**
|
|
34072
|
-
* Count flag checks
|
|
34073
|
-
*/
|
|
34074
|
-
async countFlagChecksRaw(requestParameters, initOverrides) {
|
|
34075
|
-
const queryParameters = {};
|
|
34076
|
-
if (requestParameters["flagId"] != null) {
|
|
34077
|
-
queryParameters["flag_id"] = requestParameters["flagId"];
|
|
34078
|
-
}
|
|
34079
|
-
if (requestParameters["flagIds"] != null) {
|
|
34080
|
-
queryParameters["flag_ids"] = requestParameters["flagIds"];
|
|
34081
|
-
}
|
|
34082
|
-
if (requestParameters["id"] != null) {
|
|
34083
|
-
queryParameters["id"] = requestParameters["id"];
|
|
34084
|
-
}
|
|
34085
|
-
if (requestParameters["limit"] != null) {
|
|
34086
|
-
queryParameters["limit"] = requestParameters["limit"];
|
|
34087
|
-
}
|
|
34088
|
-
if (requestParameters["offset"] != null) {
|
|
34089
|
-
queryParameters["offset"] = requestParameters["offset"];
|
|
34090
|
-
}
|
|
34091
|
-
const headerParameters = {};
|
|
34092
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
34093
|
-
headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
|
|
34094
|
-
"X-Schematic-Api-Key"
|
|
34095
|
-
);
|
|
34096
|
-
}
|
|
34097
|
-
const response = await this.request(
|
|
34098
|
-
{
|
|
34099
|
-
path: `/flag-checks/count`,
|
|
34100
|
-
method: "GET",
|
|
34101
|
-
headers: headerParameters,
|
|
34102
|
-
query: queryParameters
|
|
34103
|
-
},
|
|
34104
|
-
initOverrides
|
|
34105
|
-
);
|
|
34106
|
-
return new JSONApiResponse(
|
|
34107
|
-
response,
|
|
34108
|
-
(jsonValue) => CountFlagChecksResponseFromJSON(jsonValue)
|
|
34109
|
-
);
|
|
34110
|
-
}
|
|
34111
|
-
/**
|
|
34112
|
-
* Count flag checks
|
|
34113
|
-
*/
|
|
34114
|
-
async countFlagChecks(requestParameters = {}, initOverrides) {
|
|
34115
|
-
const response = await this.countFlagChecksRaw(
|
|
34116
|
-
requestParameters,
|
|
34117
|
-
initOverrides
|
|
34118
|
-
);
|
|
34119
|
-
return await response.value();
|
|
34120
|
-
}
|
|
34121
34021
|
/**
|
|
34122
34022
|
* Count flags
|
|
34123
34023
|
*/
|
|
@@ -34419,100 +34319,6 @@ var FeaturesApi = class extends BaseAPI {
|
|
|
34419
34319
|
const response = await this.getFlagRaw(requestParameters, initOverrides);
|
|
34420
34320
|
return await response.value();
|
|
34421
34321
|
}
|
|
34422
|
-
/**
|
|
34423
|
-
* Get flag check
|
|
34424
|
-
*/
|
|
34425
|
-
async getFlagCheckRaw(requestParameters, initOverrides) {
|
|
34426
|
-
if (requestParameters["flagCheckId"] == null) {
|
|
34427
|
-
throw new RequiredError(
|
|
34428
|
-
"flagCheckId",
|
|
34429
|
-
'Required parameter "flagCheckId" was null or undefined when calling getFlagCheck().'
|
|
34430
|
-
);
|
|
34431
|
-
}
|
|
34432
|
-
const queryParameters = {};
|
|
34433
|
-
const headerParameters = {};
|
|
34434
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
34435
|
-
headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
|
|
34436
|
-
"X-Schematic-Api-Key"
|
|
34437
|
-
);
|
|
34438
|
-
}
|
|
34439
|
-
const response = await this.request(
|
|
34440
|
-
{
|
|
34441
|
-
path: `/flag-checks/{flag_check_id}`.replace(
|
|
34442
|
-
`{${"flag_check_id"}}`,
|
|
34443
|
-
encodeURIComponent(String(requestParameters["flagCheckId"]))
|
|
34444
|
-
),
|
|
34445
|
-
method: "GET",
|
|
34446
|
-
headers: headerParameters,
|
|
34447
|
-
query: queryParameters
|
|
34448
|
-
},
|
|
34449
|
-
initOverrides
|
|
34450
|
-
);
|
|
34451
|
-
return new JSONApiResponse(
|
|
34452
|
-
response,
|
|
34453
|
-
(jsonValue) => GetFlagCheckResponseFromJSON(jsonValue)
|
|
34454
|
-
);
|
|
34455
|
-
}
|
|
34456
|
-
/**
|
|
34457
|
-
* Get flag check
|
|
34458
|
-
*/
|
|
34459
|
-
async getFlagCheck(requestParameters, initOverrides) {
|
|
34460
|
-
const response = await this.getFlagCheckRaw(
|
|
34461
|
-
requestParameters,
|
|
34462
|
-
initOverrides
|
|
34463
|
-
);
|
|
34464
|
-
return await response.value();
|
|
34465
|
-
}
|
|
34466
|
-
/**
|
|
34467
|
-
* Get latest flag checks
|
|
34468
|
-
*/
|
|
34469
|
-
async getLatestFlagChecksRaw(requestParameters, initOverrides) {
|
|
34470
|
-
const queryParameters = {};
|
|
34471
|
-
if (requestParameters["flagId"] != null) {
|
|
34472
|
-
queryParameters["flag_id"] = requestParameters["flagId"];
|
|
34473
|
-
}
|
|
34474
|
-
if (requestParameters["flagIds"] != null) {
|
|
34475
|
-
queryParameters["flag_ids"] = requestParameters["flagIds"];
|
|
34476
|
-
}
|
|
34477
|
-
if (requestParameters["id"] != null) {
|
|
34478
|
-
queryParameters["id"] = requestParameters["id"];
|
|
34479
|
-
}
|
|
34480
|
-
if (requestParameters["limit"] != null) {
|
|
34481
|
-
queryParameters["limit"] = requestParameters["limit"];
|
|
34482
|
-
}
|
|
34483
|
-
if (requestParameters["offset"] != null) {
|
|
34484
|
-
queryParameters["offset"] = requestParameters["offset"];
|
|
34485
|
-
}
|
|
34486
|
-
const headerParameters = {};
|
|
34487
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
34488
|
-
headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
|
|
34489
|
-
"X-Schematic-Api-Key"
|
|
34490
|
-
);
|
|
34491
|
-
}
|
|
34492
|
-
const response = await this.request(
|
|
34493
|
-
{
|
|
34494
|
-
path: `/flag-checks/latest`,
|
|
34495
|
-
method: "GET",
|
|
34496
|
-
headers: headerParameters,
|
|
34497
|
-
query: queryParameters
|
|
34498
|
-
},
|
|
34499
|
-
initOverrides
|
|
34500
|
-
);
|
|
34501
|
-
return new JSONApiResponse(
|
|
34502
|
-
response,
|
|
34503
|
-
(jsonValue) => GetLatestFlagChecksResponseFromJSON(jsonValue)
|
|
34504
|
-
);
|
|
34505
|
-
}
|
|
34506
|
-
/**
|
|
34507
|
-
* Get latest flag checks
|
|
34508
|
-
*/
|
|
34509
|
-
async getLatestFlagChecks(requestParameters = {}, initOverrides) {
|
|
34510
|
-
const response = await this.getLatestFlagChecksRaw(
|
|
34511
|
-
requestParameters,
|
|
34512
|
-
initOverrides
|
|
34513
|
-
);
|
|
34514
|
-
return await response.value();
|
|
34515
|
-
}
|
|
34516
34322
|
/**
|
|
34517
34323
|
* List audience companies
|
|
34518
34324
|
*/
|
|
@@ -34656,56 +34462,6 @@ var FeaturesApi = class extends BaseAPI {
|
|
|
34656
34462
|
);
|
|
34657
34463
|
return await response.value();
|
|
34658
34464
|
}
|
|
34659
|
-
/**
|
|
34660
|
-
* List flag checks
|
|
34661
|
-
*/
|
|
34662
|
-
async listFlagChecksRaw(requestParameters, initOverrides) {
|
|
34663
|
-
const queryParameters = {};
|
|
34664
|
-
if (requestParameters["flagId"] != null) {
|
|
34665
|
-
queryParameters["flag_id"] = requestParameters["flagId"];
|
|
34666
|
-
}
|
|
34667
|
-
if (requestParameters["flagIds"] != null) {
|
|
34668
|
-
queryParameters["flag_ids"] = requestParameters["flagIds"];
|
|
34669
|
-
}
|
|
34670
|
-
if (requestParameters["id"] != null) {
|
|
34671
|
-
queryParameters["id"] = requestParameters["id"];
|
|
34672
|
-
}
|
|
34673
|
-
if (requestParameters["limit"] != null) {
|
|
34674
|
-
queryParameters["limit"] = requestParameters["limit"];
|
|
34675
|
-
}
|
|
34676
|
-
if (requestParameters["offset"] != null) {
|
|
34677
|
-
queryParameters["offset"] = requestParameters["offset"];
|
|
34678
|
-
}
|
|
34679
|
-
const headerParameters = {};
|
|
34680
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
34681
|
-
headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
|
|
34682
|
-
"X-Schematic-Api-Key"
|
|
34683
|
-
);
|
|
34684
|
-
}
|
|
34685
|
-
const response = await this.request(
|
|
34686
|
-
{
|
|
34687
|
-
path: `/flag-checks`,
|
|
34688
|
-
method: "GET",
|
|
34689
|
-
headers: headerParameters,
|
|
34690
|
-
query: queryParameters
|
|
34691
|
-
},
|
|
34692
|
-
initOverrides
|
|
34693
|
-
);
|
|
34694
|
-
return new JSONApiResponse(
|
|
34695
|
-
response,
|
|
34696
|
-
(jsonValue) => ListFlagChecksResponseFromJSON(jsonValue)
|
|
34697
|
-
);
|
|
34698
|
-
}
|
|
34699
|
-
/**
|
|
34700
|
-
* List flag checks
|
|
34701
|
-
*/
|
|
34702
|
-
async listFlagChecks(requestParameters = {}, initOverrides) {
|
|
34703
|
-
const response = await this.listFlagChecksRaw(
|
|
34704
|
-
requestParameters,
|
|
34705
|
-
initOverrides
|
|
34706
|
-
);
|
|
34707
|
-
return await response.value();
|
|
34708
|
-
}
|
|
34709
34465
|
/**
|
|
34710
34466
|
* List flags
|
|
34711
34467
|
*/
|
|
@@ -35998,7 +35754,7 @@ var Schematic = class {
|
|
|
35998
35754
|
constructor(apiKey, opts) {
|
|
35999
35755
|
const { offline = false } = opts ?? {};
|
|
36000
35756
|
const { basePath, flagDefaults = {} } = opts ?? {};
|
|
36001
|
-
const version = "1.0.
|
|
35757
|
+
const version = "1.0.23";
|
|
36002
35758
|
const headers = {
|
|
36003
35759
|
"User-Agent": `schematic-typescript-node@v${version}`
|
|
36004
35760
|
};
|
|
@@ -36150,6 +35906,12 @@ function init(apiKey, opts) {
|
|
|
36150
35906
|
BillingCustomerWithSubscriptionsResponseDataFromJSON,
|
|
36151
35907
|
BillingCustomerWithSubscriptionsResponseDataFromJSONTyped,
|
|
36152
35908
|
BillingCustomerWithSubscriptionsResponseDataToJSON,
|
|
35909
|
+
BillingPriceResponseDataFromJSON,
|
|
35910
|
+
BillingPriceResponseDataFromJSONTyped,
|
|
35911
|
+
BillingPriceResponseDataToJSON,
|
|
35912
|
+
BillingProductDetailResponseDataFromJSON,
|
|
35913
|
+
BillingProductDetailResponseDataFromJSONTyped,
|
|
35914
|
+
BillingProductDetailResponseDataToJSON,
|
|
36153
35915
|
BillingProductPlanResponseDataFromJSON,
|
|
36154
35916
|
BillingProductPlanResponseDataFromJSONTyped,
|
|
36155
35917
|
BillingProductPlanResponseDataToJSON,
|
|
@@ -36299,12 +36061,6 @@ function init(apiKey, opts) {
|
|
|
36299
36061
|
CountFeaturesResponseFromJSON,
|
|
36300
36062
|
CountFeaturesResponseFromJSONTyped,
|
|
36301
36063
|
CountFeaturesResponseToJSON,
|
|
36302
|
-
CountFlagChecksParamsFromJSON,
|
|
36303
|
-
CountFlagChecksParamsFromJSONTyped,
|
|
36304
|
-
CountFlagChecksParamsToJSON,
|
|
36305
|
-
CountFlagChecksResponseFromJSON,
|
|
36306
|
-
CountFlagChecksResponseFromJSONTyped,
|
|
36307
|
-
CountFlagChecksResponseToJSON,
|
|
36308
36064
|
CountFlagsParamsFromJSON,
|
|
36309
36065
|
CountFlagsParamsFromJSONTyped,
|
|
36310
36066
|
CountFlagsParamsToJSON,
|
|
@@ -36353,6 +36109,9 @@ function init(apiKey, opts) {
|
|
|
36353
36109
|
CreateBillingCustomerRequestBodyFromJSON,
|
|
36354
36110
|
CreateBillingCustomerRequestBodyFromJSONTyped,
|
|
36355
36111
|
CreateBillingCustomerRequestBodyToJSON,
|
|
36112
|
+
CreateBillingPriceRequestBodyFromJSON,
|
|
36113
|
+
CreateBillingPriceRequestBodyFromJSONTyped,
|
|
36114
|
+
CreateBillingPriceRequestBodyToJSON,
|
|
36356
36115
|
CreateBillingProductRequestBodyFromJSON,
|
|
36357
36116
|
CreateBillingProductRequestBodyFromJSONTyped,
|
|
36358
36117
|
CreateBillingProductRequestBodyToJSON,
|
|
@@ -36611,12 +36370,6 @@ function init(apiKey, opts) {
|
|
|
36611
36370
|
FeatureUsageResponseDataToJSON,
|
|
36612
36371
|
FeaturesApi,
|
|
36613
36372
|
FetchError,
|
|
36614
|
-
FlagCheckLogDetailResponseDataFromJSON,
|
|
36615
|
-
FlagCheckLogDetailResponseDataFromJSONTyped,
|
|
36616
|
-
FlagCheckLogDetailResponseDataToJSON,
|
|
36617
|
-
FlagCheckLogResponseDataFromJSON,
|
|
36618
|
-
FlagCheckLogResponseDataFromJSONTyped,
|
|
36619
|
-
FlagCheckLogResponseDataToJSON,
|
|
36620
36373
|
FlagDetailResponseDataFromJSON,
|
|
36621
36374
|
FlagDetailResponseDataFromJSONTyped,
|
|
36622
36375
|
FlagDetailResponseDataToJSON,
|
|
@@ -36686,18 +36439,9 @@ function init(apiKey, opts) {
|
|
|
36686
36439
|
GetFeatureUsageByCompanyResponseFromJSON,
|
|
36687
36440
|
GetFeatureUsageByCompanyResponseFromJSONTyped,
|
|
36688
36441
|
GetFeatureUsageByCompanyResponseToJSON,
|
|
36689
|
-
GetFlagCheckResponseFromJSON,
|
|
36690
|
-
GetFlagCheckResponseFromJSONTyped,
|
|
36691
|
-
GetFlagCheckResponseToJSON,
|
|
36692
36442
|
GetFlagResponseFromJSON,
|
|
36693
36443
|
GetFlagResponseFromJSONTyped,
|
|
36694
36444
|
GetFlagResponseToJSON,
|
|
36695
|
-
GetLatestFlagChecksParamsFromJSON,
|
|
36696
|
-
GetLatestFlagChecksParamsFromJSONTyped,
|
|
36697
|
-
GetLatestFlagChecksParamsToJSON,
|
|
36698
|
-
GetLatestFlagChecksResponseFromJSON,
|
|
36699
|
-
GetLatestFlagChecksResponseFromJSONTyped,
|
|
36700
|
-
GetLatestFlagChecksResponseToJSON,
|
|
36701
36445
|
GetOrCreateCompanyMembershipRequestBodyFromJSON,
|
|
36702
36446
|
GetOrCreateCompanyMembershipRequestBodyFromJSONTyped,
|
|
36703
36447
|
GetOrCreateCompanyMembershipRequestBodyToJSON,
|
|
@@ -36759,6 +36503,12 @@ function init(apiKey, opts) {
|
|
|
36759
36503
|
ListAudienceUsersResponseFromJSON,
|
|
36760
36504
|
ListAudienceUsersResponseFromJSONTyped,
|
|
36761
36505
|
ListAudienceUsersResponseToJSON,
|
|
36506
|
+
ListBillingProductsParamsFromJSON,
|
|
36507
|
+
ListBillingProductsParamsFromJSONTyped,
|
|
36508
|
+
ListBillingProductsParamsToJSON,
|
|
36509
|
+
ListBillingProductsResponseFromJSON,
|
|
36510
|
+
ListBillingProductsResponseFromJSONTyped,
|
|
36511
|
+
ListBillingProductsResponseToJSON,
|
|
36762
36512
|
ListCompaniesParamsFromJSON,
|
|
36763
36513
|
ListCompaniesParamsFromJSONTyped,
|
|
36764
36514
|
ListCompaniesParamsToJSON,
|
|
@@ -36855,12 +36605,6 @@ function init(apiKey, opts) {
|
|
|
36855
36605
|
ListFeaturesResponseFromJSON,
|
|
36856
36606
|
ListFeaturesResponseFromJSONTyped,
|
|
36857
36607
|
ListFeaturesResponseToJSON,
|
|
36858
|
-
ListFlagChecksParamsFromJSON,
|
|
36859
|
-
ListFlagChecksParamsFromJSONTyped,
|
|
36860
|
-
ListFlagChecksParamsToJSON,
|
|
36861
|
-
ListFlagChecksResponseFromJSON,
|
|
36862
|
-
ListFlagChecksResponseFromJSONTyped,
|
|
36863
|
-
ListFlagChecksResponseToJSON,
|
|
36864
36608
|
ListFlagsParamsFromJSON,
|
|
36865
36609
|
ListFlagsParamsFromJSONTyped,
|
|
36866
36610
|
ListFlagsParamsToJSON,
|
|
@@ -36885,12 +36629,12 @@ function init(apiKey, opts) {
|
|
|
36885
36629
|
ListPlansResponseFromJSON,
|
|
36886
36630
|
ListPlansResponseFromJSONTyped,
|
|
36887
36631
|
ListPlansResponseToJSON,
|
|
36888
|
-
|
|
36889
|
-
|
|
36890
|
-
|
|
36891
|
-
|
|
36892
|
-
|
|
36893
|
-
|
|
36632
|
+
ListProductPricesParamsFromJSON,
|
|
36633
|
+
ListProductPricesParamsFromJSONTyped,
|
|
36634
|
+
ListProductPricesParamsToJSON,
|
|
36635
|
+
ListProductPricesResponseFromJSON,
|
|
36636
|
+
ListProductPricesResponseFromJSONTyped,
|
|
36637
|
+
ListProductPricesResponseToJSON,
|
|
36894
36638
|
ListUsersParamsFromJSON,
|
|
36895
36639
|
ListUsersParamsFromJSONTyped,
|
|
36896
36640
|
ListUsersParamsToJSON,
|
|
@@ -37055,7 +36799,6 @@ function init(apiKey, opts) {
|
|
|
37055
36799
|
UpdatePlanEntitlementResponseToJSON,
|
|
37056
36800
|
UpdatePlanRequestBodyFromJSON,
|
|
37057
36801
|
UpdatePlanRequestBodyFromJSONTyped,
|
|
37058
|
-
UpdatePlanRequestBodyPlanTypeEnum,
|
|
37059
36802
|
UpdatePlanRequestBodyToJSON,
|
|
37060
36803
|
UpdatePlanResponseFromJSON,
|
|
37061
36804
|
UpdatePlanResponseFromJSONTyped,
|
|
@@ -37079,6 +36822,9 @@ function init(apiKey, opts) {
|
|
|
37079
36822
|
UpsertBillingCustomerResponseFromJSON,
|
|
37080
36823
|
UpsertBillingCustomerResponseFromJSONTyped,
|
|
37081
36824
|
UpsertBillingCustomerResponseToJSON,
|
|
36825
|
+
UpsertBillingPriceResponseFromJSON,
|
|
36826
|
+
UpsertBillingPriceResponseFromJSONTyped,
|
|
36827
|
+
UpsertBillingPriceResponseToJSON,
|
|
37082
36828
|
UpsertBillingProductPlanResponseFromJSON,
|
|
37083
36829
|
UpsertBillingProductPlanResponseFromJSONTyped,
|
|
37084
36830
|
UpsertBillingProductPlanResponseToJSON,
|
|
@@ -37155,6 +36901,8 @@ function init(apiKey, opts) {
|
|
|
37155
36901
|
instanceOfBillingCustomerResponseData,
|
|
37156
36902
|
instanceOfBillingCustomerSubscription,
|
|
37157
36903
|
instanceOfBillingCustomerWithSubscriptionsResponseData,
|
|
36904
|
+
instanceOfBillingPriceResponseData,
|
|
36905
|
+
instanceOfBillingProductDetailResponseData,
|
|
37158
36906
|
instanceOfBillingProductPlanResponseData,
|
|
37159
36907
|
instanceOfBillingProductPricing,
|
|
37160
36908
|
instanceOfBillingProductResponseData,
|
|
@@ -37201,8 +36949,6 @@ function init(apiKey, opts) {
|
|
|
37201
36949
|
instanceOfCountFeatureUsersResponse,
|
|
37202
36950
|
instanceOfCountFeaturesParams,
|
|
37203
36951
|
instanceOfCountFeaturesResponse,
|
|
37204
|
-
instanceOfCountFlagChecksParams,
|
|
37205
|
-
instanceOfCountFlagChecksResponse,
|
|
37206
36952
|
instanceOfCountFlagsParams,
|
|
37207
36953
|
instanceOfCountFlagsResponse,
|
|
37208
36954
|
instanceOfCountPlanEntitlementsParams,
|
|
@@ -37219,6 +36965,7 @@ function init(apiKey, opts) {
|
|
|
37219
36965
|
instanceOfCreateApiKeyRequestBody,
|
|
37220
36966
|
instanceOfCreateApiKeyResponse,
|
|
37221
36967
|
instanceOfCreateBillingCustomerRequestBody,
|
|
36968
|
+
instanceOfCreateBillingPriceRequestBody,
|
|
37222
36969
|
instanceOfCreateBillingProductRequestBody,
|
|
37223
36970
|
instanceOfCreateBillingSubscriptionsRequestBody,
|
|
37224
36971
|
instanceOfCreateCompanyOverrideRequestBody,
|
|
@@ -37295,8 +37042,6 @@ function init(apiKey, opts) {
|
|
|
37295
37042
|
instanceOfFeatureResponseData,
|
|
37296
37043
|
instanceOfFeatureUsageDetailResponseData,
|
|
37297
37044
|
instanceOfFeatureUsageResponseData,
|
|
37298
|
-
instanceOfFlagCheckLogDetailResponseData,
|
|
37299
|
-
instanceOfFlagCheckLogResponseData,
|
|
37300
37045
|
instanceOfFlagDetailResponseData,
|
|
37301
37046
|
instanceOfFlagResponseData,
|
|
37302
37047
|
instanceOfGetActiveCompanySubscriptionParams,
|
|
@@ -37320,10 +37065,7 @@ function init(apiKey, opts) {
|
|
|
37320
37065
|
instanceOfGetFeatureResponse,
|
|
37321
37066
|
instanceOfGetFeatureUsageByCompanyParams,
|
|
37322
37067
|
instanceOfGetFeatureUsageByCompanyResponse,
|
|
37323
|
-
instanceOfGetFlagCheckResponse,
|
|
37324
37068
|
instanceOfGetFlagResponse,
|
|
37325
|
-
instanceOfGetLatestFlagChecksParams,
|
|
37326
|
-
instanceOfGetLatestFlagChecksResponse,
|
|
37327
37069
|
instanceOfGetOrCreateCompanyMembershipRequestBody,
|
|
37328
37070
|
instanceOfGetOrCreateCompanyMembershipResponse,
|
|
37329
37071
|
instanceOfGetOrCreateEntityTraitDefinitionResponse,
|
|
@@ -37344,6 +37086,8 @@ function init(apiKey, opts) {
|
|
|
37344
37086
|
instanceOfListApiRequestsResponse,
|
|
37345
37087
|
instanceOfListAudienceCompaniesResponse,
|
|
37346
37088
|
instanceOfListAudienceUsersResponse,
|
|
37089
|
+
instanceOfListBillingProductsParams,
|
|
37090
|
+
instanceOfListBillingProductsResponse,
|
|
37347
37091
|
instanceOfListCompaniesParams,
|
|
37348
37092
|
instanceOfListCompaniesResponse,
|
|
37349
37093
|
instanceOfListCompanyMembershipsParams,
|
|
@@ -37374,8 +37118,6 @@ function init(apiKey, opts) {
|
|
|
37374
37118
|
instanceOfListFeatureUsersResponse,
|
|
37375
37119
|
instanceOfListFeaturesParams,
|
|
37376
37120
|
instanceOfListFeaturesResponse,
|
|
37377
|
-
instanceOfListFlagChecksParams,
|
|
37378
|
-
instanceOfListFlagChecksResponse,
|
|
37379
37121
|
instanceOfListFlagsParams,
|
|
37380
37122
|
instanceOfListFlagsResponse,
|
|
37381
37123
|
instanceOfListMetricCountsParams,
|
|
@@ -37384,8 +37126,8 @@ function init(apiKey, opts) {
|
|
|
37384
37126
|
instanceOfListPlanEntitlementsResponse,
|
|
37385
37127
|
instanceOfListPlansParams,
|
|
37386
37128
|
instanceOfListPlansResponse,
|
|
37387
|
-
|
|
37388
|
-
|
|
37129
|
+
instanceOfListProductPricesParams,
|
|
37130
|
+
instanceOfListProductPricesResponse,
|
|
37389
37131
|
instanceOfListUsersParams,
|
|
37390
37132
|
instanceOfListUsersResponse,
|
|
37391
37133
|
instanceOfListWebhookEventsParams,
|
|
@@ -37442,6 +37184,7 @@ function init(apiKey, opts) {
|
|
|
37442
37184
|
instanceOfUpdateWebhookRequestBody,
|
|
37443
37185
|
instanceOfUpdateWebhookResponse,
|
|
37444
37186
|
instanceOfUpsertBillingCustomerResponse,
|
|
37187
|
+
instanceOfUpsertBillingPriceResponse,
|
|
37445
37188
|
instanceOfUpsertBillingProductPlanResponse,
|
|
37446
37189
|
instanceOfUpsertBillingProductRequestBody,
|
|
37447
37190
|
instanceOfUpsertBillingProductResponse,
|