@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.
@@ -16661,6 +16661,112 @@ function BillingCustomerWithSubscriptionsResponseDataToJSON(value) {
16661
16661
  };
16662
16662
  }
16663
16663
 
16664
+ // src/api/models/BillingPriceResponseData.ts
16665
+ function instanceOfBillingPriceResponseData(value) {
16666
+ if (!("externalPriceId" in value) || value["externalPriceId"] === void 0)
16667
+ return false;
16668
+ if (!("id" in value) || value["id"] === void 0)
16669
+ return false;
16670
+ if (!("interval" in value) || value["interval"] === void 0)
16671
+ return false;
16672
+ if (!("price" in value) || value["price"] === void 0)
16673
+ return false;
16674
+ return true;
16675
+ }
16676
+ function BillingPriceResponseDataFromJSON(json) {
16677
+ return BillingPriceResponseDataFromJSONTyped(json, false);
16678
+ }
16679
+ function BillingPriceResponseDataFromJSONTyped(json, ignoreDiscriminator) {
16680
+ if (json == null) {
16681
+ return json;
16682
+ }
16683
+ return {
16684
+ externalPriceId: json["external_price_id"],
16685
+ id: json["id"],
16686
+ interval: json["interval"],
16687
+ price: json["price"]
16688
+ };
16689
+ }
16690
+ function BillingPriceResponseDataToJSON(value) {
16691
+ if (value == null) {
16692
+ return value;
16693
+ }
16694
+ return {
16695
+ external_price_id: value["externalPriceId"],
16696
+ id: value["id"],
16697
+ interval: value["interval"],
16698
+ price: value["price"]
16699
+ };
16700
+ }
16701
+
16702
+ // src/api/models/BillingProductDetailResponseData.ts
16703
+ function instanceOfBillingProductDetailResponseData(value) {
16704
+ if (!("prices" in value) || value["prices"] === void 0)
16705
+ return false;
16706
+ if (!("accountId" in value) || value["accountId"] === void 0)
16707
+ return false;
16708
+ if (!("createdAt" in value) || value["createdAt"] === void 0)
16709
+ return false;
16710
+ if (!("currency" in value) || value["currency"] === void 0)
16711
+ return false;
16712
+ if (!("environmentId" in value) || value["environmentId"] === void 0)
16713
+ return false;
16714
+ if (!("externalId" in value) || value["externalId"] === void 0)
16715
+ return false;
16716
+ if (!("name" in value) || value["name"] === void 0)
16717
+ return false;
16718
+ if (!("price" in value) || value["price"] === void 0)
16719
+ return false;
16720
+ if (!("productId" in value) || value["productId"] === void 0)
16721
+ return false;
16722
+ if (!("quantity" in value) || value["quantity"] === void 0)
16723
+ return false;
16724
+ if (!("updatedAt" in value) || value["updatedAt"] === void 0)
16725
+ return false;
16726
+ return true;
16727
+ }
16728
+ function BillingProductDetailResponseDataFromJSON(json) {
16729
+ return BillingProductDetailResponseDataFromJSONTyped(json, false);
16730
+ }
16731
+ function BillingProductDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
16732
+ if (json == null) {
16733
+ return json;
16734
+ }
16735
+ return {
16736
+ prices: json["Prices"].map(
16737
+ BillingPriceResponseDataFromJSON
16738
+ ),
16739
+ accountId: json["account_id"],
16740
+ createdAt: new Date(json["created_at"]),
16741
+ currency: json["currency"],
16742
+ environmentId: json["environment_id"],
16743
+ externalId: json["external_id"],
16744
+ name: json["name"],
16745
+ price: json["price"],
16746
+ productId: json["product_id"],
16747
+ quantity: json["quantity"],
16748
+ updatedAt: new Date(json["updated_at"])
16749
+ };
16750
+ }
16751
+ function BillingProductDetailResponseDataToJSON(value) {
16752
+ if (value == null) {
16753
+ return value;
16754
+ }
16755
+ return {
16756
+ Prices: value["prices"].map(BillingPriceResponseDataToJSON),
16757
+ account_id: value["accountId"],
16758
+ created_at: value["createdAt"].toISOString(),
16759
+ currency: value["currency"],
16760
+ environment_id: value["environmentId"],
16761
+ external_id: value["externalId"],
16762
+ name: value["name"],
16763
+ price: value["price"],
16764
+ product_id: value["productId"],
16765
+ quantity: value["quantity"],
16766
+ updated_at: value["updatedAt"].toISOString()
16767
+ };
16768
+ }
16769
+
16664
16770
  // src/api/models/BillingProductPlanResponseData.ts
16665
16771
  function instanceOfBillingProductPlanResponseData(value) {
16666
16772
  if (!("accountId" in value) || value["accountId"] === void 0)
@@ -17361,6 +17467,8 @@ function EntityTraitDetailResponseDataToJSON(value) {
17361
17467
 
17362
17468
  // src/api/models/CompanyDetailResponseData.ts
17363
17469
  function instanceOfCompanyDetailResponseData(value) {
17470
+ if (!("addOns" in value) || value["addOns"] === void 0)
17471
+ return false;
17364
17472
  if (!("createdAt" in value) || value["createdAt"] === void 0)
17365
17473
  return false;
17366
17474
  if (!("entityTraits" in value) || value["entityTraits"] === void 0)
@@ -17389,6 +17497,7 @@ function CompanyDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
17389
17497
  return json;
17390
17498
  }
17391
17499
  return {
17500
+ addOns: json["add_ons"].map(PreviewObjectFromJSON),
17392
17501
  createdAt: new Date(json["created_at"]),
17393
17502
  entityTraits: json["entity_traits"].map(
17394
17503
  EntityTraitDetailResponseDataFromJSON
@@ -17399,6 +17508,7 @@ function CompanyDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
17399
17508
  lastSeenAt: json["last_seen_at"] == null ? void 0 : new Date(json["last_seen_at"]),
17400
17509
  logoUrl: json["logo_url"] == null ? void 0 : json["logo_url"],
17401
17510
  name: json["name"],
17511
+ plan: json["plan"] == null ? void 0 : PreviewObjectFromJSON(json["plan"]),
17402
17512
  plans: json["plans"].map(PreviewObjectFromJSON),
17403
17513
  traits: json["traits"] == null ? void 0 : json["traits"],
17404
17514
  updatedAt: new Date(json["updated_at"]),
@@ -17410,6 +17520,7 @@ function CompanyDetailResponseDataToJSON(value) {
17410
17520
  return value;
17411
17521
  }
17412
17522
  return {
17523
+ add_ons: value["addOns"].map(PreviewObjectToJSON),
17413
17524
  created_at: value["createdAt"].toISOString(),
17414
17525
  entity_traits: value["entityTraits"].map(
17415
17526
  EntityTraitDetailResponseDataToJSON
@@ -17420,6 +17531,7 @@ function CompanyDetailResponseDataToJSON(value) {
17420
17531
  last_seen_at: value["lastSeenAt"] == null ? void 0 : value["lastSeenAt"].toISOString(),
17421
17532
  logo_url: value["logoUrl"],
17422
17533
  name: value["name"],
17534
+ plan: PreviewObjectToJSON(value["plan"]),
17423
17535
  plans: value["plans"].map(PreviewObjectToJSON),
17424
17536
  traits: value["traits"],
17425
17537
  updated_at: value["updatedAt"].toISOString(),
@@ -17567,6 +17679,8 @@ function instanceOfFeatureResponseData(value) {
17567
17679
  return false;
17568
17680
  if (!("featureType" in value) || value["featureType"] === void 0)
17569
17681
  return false;
17682
+ if (!("icon" in value) || value["icon"] === void 0)
17683
+ return false;
17570
17684
  if (!("id" in value) || value["id"] === void 0)
17571
17685
  return false;
17572
17686
  if (!("name" in value) || value["name"] === void 0)
@@ -17587,7 +17701,7 @@ function FeatureResponseDataFromJSONTyped(json, ignoreDiscriminator) {
17587
17701
  description: json["description"],
17588
17702
  eventSubtype: json["event_subtype"] == null ? void 0 : json["event_subtype"],
17589
17703
  featureType: json["feature_type"],
17590
- icon: json["icon"] == null ? void 0 : json["icon"],
17704
+ icon: json["icon"],
17591
17705
  id: json["id"],
17592
17706
  lifecyclePhase: json["lifecycle_phase"] == null ? void 0 : json["lifecycle_phase"],
17593
17707
  maintainerId: json["maintainer_id"] == null ? void 0 : json["maintainer_id"],
@@ -18115,74 +18229,6 @@ function RuleDetailResponseDataToJSON(value) {
18115
18229
  };
18116
18230
  }
18117
18231
 
18118
- // src/api/models/FlagCheckLogResponseData.ts
18119
- function instanceOfFlagCheckLogResponseData(value) {
18120
- if (!("checkStatus" in value) || value["checkStatus"] === void 0)
18121
- return false;
18122
- if (!("createdAt" in value) || value["createdAt"] === void 0)
18123
- return false;
18124
- if (!("environmentId" in value) || value["environmentId"] === void 0)
18125
- return false;
18126
- if (!("flagKey" in value) || value["flagKey"] === void 0)
18127
- return false;
18128
- if (!("id" in value) || value["id"] === void 0)
18129
- return false;
18130
- if (!("reason" in value) || value["reason"] === void 0)
18131
- return false;
18132
- if (!("updatedAt" in value) || value["updatedAt"] === void 0)
18133
- return false;
18134
- if (!("value" in value) || value["value"] === void 0)
18135
- return false;
18136
- return true;
18137
- }
18138
- function FlagCheckLogResponseDataFromJSON(json) {
18139
- return FlagCheckLogResponseDataFromJSONTyped(json, false);
18140
- }
18141
- function FlagCheckLogResponseDataFromJSONTyped(json, ignoreDiscriminator) {
18142
- if (json == null) {
18143
- return json;
18144
- }
18145
- return {
18146
- checkStatus: json["check_status"],
18147
- companyId: json["company_id"] == null ? void 0 : json["company_id"],
18148
- createdAt: new Date(json["created_at"]),
18149
- environmentId: json["environment_id"],
18150
- error: json["error"] == null ? void 0 : json["error"],
18151
- flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
18152
- flagKey: json["flag_key"],
18153
- id: json["id"],
18154
- reason: json["reason"],
18155
- reqCompany: json["req_company"] == null ? void 0 : json["req_company"],
18156
- reqUser: json["req_user"] == null ? void 0 : json["req_user"],
18157
- ruleId: json["rule_id"] == null ? void 0 : json["rule_id"],
18158
- updatedAt: new Date(json["updated_at"]),
18159
- userId: json["user_id"] == null ? void 0 : json["user_id"],
18160
- value: json["value"]
18161
- };
18162
- }
18163
- function FlagCheckLogResponseDataToJSON(value) {
18164
- if (value == null) {
18165
- return value;
18166
- }
18167
- return {
18168
- check_status: value["checkStatus"],
18169
- company_id: value["companyId"],
18170
- created_at: value["createdAt"].toISOString(),
18171
- environment_id: value["environmentId"],
18172
- error: value["error"],
18173
- flag_id: value["flagId"],
18174
- flag_key: value["flagKey"],
18175
- id: value["id"],
18176
- reason: value["reason"],
18177
- req_company: value["reqCompany"],
18178
- req_user: value["reqUser"],
18179
- rule_id: value["ruleId"],
18180
- updated_at: value["updatedAt"].toISOString(),
18181
- user_id: value["userId"],
18182
- value: value["value"]
18183
- };
18184
- }
18185
-
18186
18232
  // src/api/models/FlagDetailResponseData.ts
18187
18233
  function instanceOfFlagDetailResponseData(value) {
18188
18234
  if (!("createdAt" in value) || value["createdAt"] === void 0)
@@ -18222,7 +18268,6 @@ function FlagDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
18222
18268
  id: json["id"],
18223
18269
  key: json["key"],
18224
18270
  lastCheckedAt: json["last_checked_at"] == null ? void 0 : new Date(json["last_checked_at"]),
18225
- latestCheck: json["latest_check"] == null ? void 0 : FlagCheckLogResponseDataFromJSON(json["latest_check"]),
18226
18271
  maintainerId: json["maintainer_id"] == null ? void 0 : json["maintainer_id"],
18227
18272
  name: json["name"],
18228
18273
  rules: json["rules"].map(RuleDetailResponseDataFromJSON),
@@ -18243,7 +18288,6 @@ function FlagDetailResponseDataToJSON(value) {
18243
18288
  id: value["id"],
18244
18289
  key: value["key"],
18245
18290
  last_checked_at: value["lastCheckedAt"] == null ? void 0 : value["lastCheckedAt"].toISOString(),
18246
- latest_check: FlagCheckLogResponseDataToJSON(value["latestCheck"]),
18247
18291
  maintainer_id: value["maintainerId"],
18248
18292
  name: value["name"],
18249
18293
  rules: value["rules"].map(RuleDetailResponseDataToJSON),
@@ -18261,6 +18305,8 @@ function instanceOfFeatureDetailResponseData(value) {
18261
18305
  return false;
18262
18306
  if (!("flags" in value) || value["flags"] === void 0)
18263
18307
  return false;
18308
+ if (!("icon" in value) || value["icon"] === void 0)
18309
+ return false;
18264
18310
  if (!("id" in value) || value["id"] === void 0)
18265
18311
  return false;
18266
18312
  if (!("name" in value) || value["name"] === void 0)
@@ -18285,7 +18331,7 @@ function FeatureDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
18285
18331
  eventSummary: json["event_summary"] == null ? void 0 : EventSummaryResponseDataFromJSON(json["event_summary"]),
18286
18332
  featureType: json["feature_type"],
18287
18333
  flags: json["flags"].map(FlagDetailResponseDataFromJSON),
18288
- icon: json["icon"] == null ? void 0 : json["icon"],
18334
+ icon: json["icon"],
18289
18335
  id: json["id"],
18290
18336
  lifecyclePhase: json["lifecycle_phase"] == null ? void 0 : json["lifecycle_phase"],
18291
18337
  maintainerId: json["maintainer_id"] == null ? void 0 : json["maintainer_id"],
@@ -18327,6 +18373,8 @@ function instanceOfPlanResponseData(value) {
18327
18373
  return false;
18328
18374
  if (!("description" in value) || value["description"] === void 0)
18329
18375
  return false;
18376
+ if (!("icon" in value) || value["icon"] === void 0)
18377
+ return false;
18330
18378
  if (!("id" in value) || value["id"] === void 0)
18331
18379
  return false;
18332
18380
  if (!("name" in value) || value["name"] === void 0)
@@ -18348,7 +18396,7 @@ function PlanResponseDataFromJSONTyped(json, ignoreDiscriminator) {
18348
18396
  audienceType: json["audience_type"],
18349
18397
  createdAt: new Date(json["created_at"]),
18350
18398
  description: json["description"],
18351
- icon: json["icon"] == null ? void 0 : json["icon"],
18399
+ icon: json["icon"],
18352
18400
  id: json["id"],
18353
18401
  name: json["name"],
18354
18402
  planType: json["plan_type"],
@@ -19333,68 +19381,6 @@ function CountFeaturesResponseToJSON(value) {
19333
19381
  };
19334
19382
  }
19335
19383
 
19336
- // src/api/models/CountFlagChecksParams.ts
19337
- function instanceOfCountFlagChecksParams(value) {
19338
- return true;
19339
- }
19340
- function CountFlagChecksParamsFromJSON(json) {
19341
- return CountFlagChecksParamsFromJSONTyped(json, false);
19342
- }
19343
- function CountFlagChecksParamsFromJSONTyped(json, ignoreDiscriminator) {
19344
- if (json == null) {
19345
- return json;
19346
- }
19347
- return {
19348
- flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
19349
- flagIds: json["flag_ids"] == null ? void 0 : json["flag_ids"],
19350
- id: json["id"] == null ? void 0 : json["id"],
19351
- limit: json["limit"] == null ? void 0 : json["limit"],
19352
- offset: json["offset"] == null ? void 0 : json["offset"]
19353
- };
19354
- }
19355
- function CountFlagChecksParamsToJSON(value) {
19356
- if (value == null) {
19357
- return value;
19358
- }
19359
- return {
19360
- flag_id: value["flagId"],
19361
- flag_ids: value["flagIds"],
19362
- id: value["id"],
19363
- limit: value["limit"],
19364
- offset: value["offset"]
19365
- };
19366
- }
19367
-
19368
- // src/api/models/CountFlagChecksResponse.ts
19369
- function instanceOfCountFlagChecksResponse(value) {
19370
- if (!("data" in value) || value["data"] === void 0)
19371
- return false;
19372
- if (!("params" in value) || value["params"] === void 0)
19373
- return false;
19374
- return true;
19375
- }
19376
- function CountFlagChecksResponseFromJSON(json) {
19377
- return CountFlagChecksResponseFromJSONTyped(json, false);
19378
- }
19379
- function CountFlagChecksResponseFromJSONTyped(json, ignoreDiscriminator) {
19380
- if (json == null) {
19381
- return json;
19382
- }
19383
- return {
19384
- data: CountResponseFromJSON(json["data"]),
19385
- params: CountFlagChecksParamsFromJSON(json["params"])
19386
- };
19387
- }
19388
- function CountFlagChecksResponseToJSON(value) {
19389
- if (value == null) {
19390
- return value;
19391
- }
19392
- return {
19393
- data: CountResponseToJSON(value["data"]),
19394
- params: CountFlagChecksParamsToJSON(value["params"])
19395
- };
19396
- }
19397
-
19398
19384
  // src/api/models/CountFlagsParams.ts
19399
19385
  function instanceOfCountFlagsParams(value) {
19400
19386
  return true;
@@ -19877,6 +19863,44 @@ function CreateBillingCustomerRequestBodyToJSON(value) {
19877
19863
  };
19878
19864
  }
19879
19865
 
19866
+ // src/api/models/CreateBillingPriceRequestBody.ts
19867
+ function instanceOfCreateBillingPriceRequestBody(value) {
19868
+ if (!("interval" in value) || value["interval"] === void 0)
19869
+ return false;
19870
+ if (!("price" in value) || value["price"] === void 0)
19871
+ return false;
19872
+ if (!("priceExternalId" in value) || value["priceExternalId"] === void 0)
19873
+ return false;
19874
+ if (!("productExternalId" in value) || value["productExternalId"] === void 0)
19875
+ return false;
19876
+ return true;
19877
+ }
19878
+ function CreateBillingPriceRequestBodyFromJSON(json) {
19879
+ return CreateBillingPriceRequestBodyFromJSONTyped(json, false);
19880
+ }
19881
+ function CreateBillingPriceRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
19882
+ if (json == null) {
19883
+ return json;
19884
+ }
19885
+ return {
19886
+ interval: json["interval"],
19887
+ price: json["price"],
19888
+ priceExternalId: json["price_external_id"],
19889
+ productExternalId: json["product_external_id"]
19890
+ };
19891
+ }
19892
+ function CreateBillingPriceRequestBodyToJSON(value) {
19893
+ if (value == null) {
19894
+ return value;
19895
+ }
19896
+ return {
19897
+ interval: value["interval"],
19898
+ price: value["price"],
19899
+ price_external_id: value["priceExternalId"],
19900
+ product_external_id: value["productExternalId"]
19901
+ };
19902
+ }
19903
+
19880
19904
  // src/api/models/CreateBillingProductRequestBody.ts
19881
19905
  function instanceOfCreateBillingProductRequestBody(value) {
19882
19906
  if (!("currency" in value) || value["currency"] === void 0)
@@ -21269,12 +21293,8 @@ function CreatePlanEntitlementResponseToJSON(value) {
21269
21293
 
21270
21294
  // src/api/models/CreatePlanRequestBody.ts
21271
21295
  var CreatePlanRequestBodyPlanTypeEnum = {
21272
- Product: "product",
21273
- PricingPlan: "pricing_plan",
21274
- AddOn: "add_on",
21275
- Overage: "overage",
21276
- BillableMetric: "billable_metric",
21277
- Other: "other"
21296
+ Plan: "plan",
21297
+ AddOn: "add_on"
21278
21298
  };
21279
21299
  function instanceOfCreatePlanRequestBody(value) {
21280
21300
  if (!("description" in value) || value["description"] === void 0)
@@ -21317,8 +21337,6 @@ function CreatePlanRequestBodyToJSON(value) {
21317
21337
  function instanceOfPlanDetailResponseData(value) {
21318
21338
  if (!("audienceType" in value) || value["audienceType"] === void 0)
21319
21339
  return false;
21320
- if (!("billingProducts" in value) || value["billingProducts"] === void 0)
21321
- return false;
21322
21340
  if (!("companyCount" in value) || value["companyCount"] === void 0)
21323
21341
  return false;
21324
21342
  if (!("createdAt" in value) || value["createdAt"] === void 0)
@@ -21327,6 +21345,8 @@ function instanceOfPlanDetailResponseData(value) {
21327
21345
  return false;
21328
21346
  if (!("features" in value) || value["features"] === void 0)
21329
21347
  return false;
21348
+ if (!("icon" in value) || value["icon"] === void 0)
21349
+ return false;
21330
21350
  if (!("id" in value) || value["id"] === void 0)
21331
21351
  return false;
21332
21352
  if (!("name" in value) || value["name"] === void 0)
@@ -21346,16 +21366,14 @@ function PlanDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
21346
21366
  }
21347
21367
  return {
21348
21368
  audienceType: json["audience_type"],
21349
- billingProducts: json["billing_products"].map(
21350
- BillingProductResponseDataFromJSON
21351
- ),
21369
+ billingProduct: json["billing_product"] == null ? void 0 : BillingProductDetailResponseDataFromJSON(json["billing_product"]),
21352
21370
  companyCount: json["company_count"],
21353
21371
  createdAt: new Date(json["created_at"]),
21354
21372
  description: json["description"],
21355
21373
  features: json["features"].map(
21356
21374
  FeatureDetailResponseDataFromJSON
21357
21375
  ),
21358
- icon: json["icon"] == null ? void 0 : json["icon"],
21376
+ icon: json["icon"],
21359
21377
  id: json["id"],
21360
21378
  name: json["name"],
21361
21379
  planType: json["plan_type"],
@@ -21368,8 +21386,8 @@ function PlanDetailResponseDataToJSON(value) {
21368
21386
  }
21369
21387
  return {
21370
21388
  audience_type: value["audienceType"],
21371
- billing_products: value["billingProducts"].map(
21372
- BillingProductResponseDataToJSON
21389
+ billing_product: BillingProductDetailResponseDataToJSON(
21390
+ value["billingProduct"]
21373
21391
  ),
21374
21392
  company_count: value["companyCount"],
21375
21393
  created_at: value["createdAt"].toISOString(),
@@ -22885,144 +22903,8 @@ function FlagResponseDataToJSON(value) {
22885
22903
  };
22886
22904
  }
22887
22905
 
22888
- // src/api/models/RuleResponseData.ts
22889
- function instanceOfRuleResponseData(value) {
22890
- if (!("createdAt" in value) || value["createdAt"] === void 0)
22891
- return false;
22892
- if (!("environmentId" in value) || value["environmentId"] === void 0)
22893
- return false;
22894
- if (!("id" in value) || value["id"] === void 0)
22895
- return false;
22896
- if (!("name" in value) || value["name"] === void 0)
22897
- return false;
22898
- if (!("priority" in value) || value["priority"] === void 0)
22899
- return false;
22900
- if (!("ruleType" in value) || value["ruleType"] === void 0)
22901
- return false;
22902
- if (!("updatedAt" in value) || value["updatedAt"] === void 0)
22903
- return false;
22904
- if (!("value" in value) || value["value"] === void 0)
22905
- return false;
22906
- return true;
22907
- }
22908
- function RuleResponseDataFromJSON(json) {
22909
- return RuleResponseDataFromJSONTyped(json, false);
22910
- }
22911
- function RuleResponseDataFromJSONTyped(json, ignoreDiscriminator) {
22912
- if (json == null) {
22913
- return json;
22914
- }
22915
- return {
22916
- createdAt: new Date(json["created_at"]),
22917
- environmentId: json["environment_id"],
22918
- flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
22919
- id: json["id"],
22920
- name: json["name"],
22921
- planId: json["plan_id"] == null ? void 0 : json["plan_id"],
22922
- priority: json["priority"],
22923
- ruleType: json["rule_type"],
22924
- updatedAt: new Date(json["updated_at"]),
22925
- value: json["value"]
22926
- };
22927
- }
22928
- function RuleResponseDataToJSON(value) {
22929
- if (value == null) {
22930
- return value;
22931
- }
22932
- return {
22933
- created_at: value["createdAt"].toISOString(),
22934
- environment_id: value["environmentId"],
22935
- flag_id: value["flagId"],
22936
- id: value["id"],
22937
- name: value["name"],
22938
- plan_id: value["planId"],
22939
- priority: value["priority"],
22940
- rule_type: value["ruleType"],
22941
- updated_at: value["updatedAt"].toISOString(),
22942
- value: value["value"]
22943
- };
22944
- }
22945
-
22946
- // src/api/models/FlagCheckLogDetailResponseData.ts
22947
- function instanceOfFlagCheckLogDetailResponseData(value) {
22948
- if (!("checkStatus" in value) || value["checkStatus"] === void 0)
22949
- return false;
22950
- if (!("createdAt" in value) || value["createdAt"] === void 0)
22951
- return false;
22952
- if (!("environmentId" in value) || value["environmentId"] === void 0)
22953
- return false;
22954
- if (!("flagKey" in value) || value["flagKey"] === void 0)
22955
- return false;
22956
- if (!("id" in value) || value["id"] === void 0)
22957
- return false;
22958
- if (!("reason" in value) || value["reason"] === void 0)
22959
- return false;
22960
- if (!("updatedAt" in value) || value["updatedAt"] === void 0)
22961
- return false;
22962
- if (!("value" in value) || value["value"] === void 0)
22963
- return false;
22964
- return true;
22965
- }
22966
- function FlagCheckLogDetailResponseDataFromJSON(json) {
22967
- return FlagCheckLogDetailResponseDataFromJSONTyped(json, false);
22968
- }
22969
- function FlagCheckLogDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
22970
- if (json == null) {
22971
- return json;
22972
- }
22973
- return {
22974
- checkStatus: json["check_status"],
22975
- company: json["company"] == null ? void 0 : CompanyResponseDataFromJSON(json["company"]),
22976
- companyId: json["company_id"] == null ? void 0 : json["company_id"],
22977
- createdAt: new Date(json["created_at"]),
22978
- environment: json["environment"] == null ? void 0 : EnvironmentResponseDataFromJSON(json["environment"]),
22979
- environmentId: json["environment_id"],
22980
- error: json["error"] == null ? void 0 : json["error"],
22981
- flag: json["flag"] == null ? void 0 : FlagResponseDataFromJSON(json["flag"]),
22982
- flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
22983
- flagKey: json["flag_key"],
22984
- id: json["id"],
22985
- reason: json["reason"],
22986
- reqCompany: json["req_company"] == null ? void 0 : json["req_company"],
22987
- reqUser: json["req_user"] == null ? void 0 : json["req_user"],
22988
- rule: json["rule"] == null ? void 0 : RuleResponseDataFromJSON(json["rule"]),
22989
- ruleId: json["rule_id"] == null ? void 0 : json["rule_id"],
22990
- updatedAt: new Date(json["updated_at"]),
22991
- user: json["user"] == null ? void 0 : UserResponseDataFromJSON(json["user"]),
22992
- userId: json["user_id"] == null ? void 0 : json["user_id"],
22993
- value: json["value"]
22994
- };
22995
- }
22996
- function FlagCheckLogDetailResponseDataToJSON(value) {
22997
- if (value == null) {
22998
- return value;
22999
- }
23000
- return {
23001
- check_status: value["checkStatus"],
23002
- company: CompanyResponseDataToJSON(value["company"]),
23003
- company_id: value["companyId"],
23004
- created_at: value["createdAt"].toISOString(),
23005
- environment: EnvironmentResponseDataToJSON(value["environment"]),
23006
- environment_id: value["environmentId"],
23007
- error: value["error"],
23008
- flag: FlagResponseDataToJSON(value["flag"]),
23009
- flag_id: value["flagId"],
23010
- flag_key: value["flagKey"],
23011
- id: value["id"],
23012
- reason: value["reason"],
23013
- req_company: value["reqCompany"],
23014
- req_user: value["reqUser"],
23015
- rule: RuleResponseDataToJSON(value["rule"]),
23016
- rule_id: value["ruleId"],
23017
- updated_at: value["updatedAt"].toISOString(),
23018
- user: UserResponseDataToJSON(value["user"]),
23019
- user_id: value["userId"],
23020
- value: value["value"]
23021
- };
23022
- }
23023
-
23024
- // src/api/models/GetActiveCompanySubscriptionParams.ts
23025
- function instanceOfGetActiveCompanySubscriptionParams(value) {
22906
+ // src/api/models/GetActiveCompanySubscriptionParams.ts
22907
+ function instanceOfGetActiveCompanySubscriptionParams(value) {
23026
22908
  return true;
23027
22909
  }
23028
22910
  function GetActiveCompanySubscriptionParamsFromJSON(json) {
@@ -23721,36 +23603,6 @@ function GetFeatureUsageByCompanyResponseToJSON(value) {
23721
23603
  };
23722
23604
  }
23723
23605
 
23724
- // src/api/models/GetFlagCheckResponse.ts
23725
- function instanceOfGetFlagCheckResponse(value) {
23726
- if (!("data" in value) || value["data"] === void 0)
23727
- return false;
23728
- if (!("params" in value) || value["params"] === void 0)
23729
- return false;
23730
- return true;
23731
- }
23732
- function GetFlagCheckResponseFromJSON(json) {
23733
- return GetFlagCheckResponseFromJSONTyped(json, false);
23734
- }
23735
- function GetFlagCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
23736
- if (json == null) {
23737
- return json;
23738
- }
23739
- return {
23740
- data: FlagCheckLogDetailResponseDataFromJSON(json["data"]),
23741
- params: json["params"]
23742
- };
23743
- }
23744
- function GetFlagCheckResponseToJSON(value) {
23745
- if (value == null) {
23746
- return value;
23747
- }
23748
- return {
23749
- data: FlagCheckLogDetailResponseDataToJSON(value["data"]),
23750
- params: value["params"]
23751
- };
23752
- }
23753
-
23754
23606
  // src/api/models/GetFlagResponse.ts
23755
23607
  function instanceOfGetFlagResponse(value) {
23756
23608
  if (!("data" in value) || value["data"] === void 0)
@@ -23781,68 +23633,6 @@ function GetFlagResponseToJSON(value) {
23781
23633
  };
23782
23634
  }
23783
23635
 
23784
- // src/api/models/GetLatestFlagChecksParams.ts
23785
- function instanceOfGetLatestFlagChecksParams(value) {
23786
- return true;
23787
- }
23788
- function GetLatestFlagChecksParamsFromJSON(json) {
23789
- return GetLatestFlagChecksParamsFromJSONTyped(json, false);
23790
- }
23791
- function GetLatestFlagChecksParamsFromJSONTyped(json, ignoreDiscriminator) {
23792
- if (json == null) {
23793
- return json;
23794
- }
23795
- return {
23796
- flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
23797
- flagIds: json["flag_ids"] == null ? void 0 : json["flag_ids"],
23798
- id: json["id"] == null ? void 0 : json["id"],
23799
- limit: json["limit"] == null ? void 0 : json["limit"],
23800
- offset: json["offset"] == null ? void 0 : json["offset"]
23801
- };
23802
- }
23803
- function GetLatestFlagChecksParamsToJSON(value) {
23804
- if (value == null) {
23805
- return value;
23806
- }
23807
- return {
23808
- flag_id: value["flagId"],
23809
- flag_ids: value["flagIds"],
23810
- id: value["id"],
23811
- limit: value["limit"],
23812
- offset: value["offset"]
23813
- };
23814
- }
23815
-
23816
- // src/api/models/GetLatestFlagChecksResponse.ts
23817
- function instanceOfGetLatestFlagChecksResponse(value) {
23818
- if (!("data" in value) || value["data"] === void 0)
23819
- return false;
23820
- if (!("params" in value) || value["params"] === void 0)
23821
- return false;
23822
- return true;
23823
- }
23824
- function GetLatestFlagChecksResponseFromJSON(json) {
23825
- return GetLatestFlagChecksResponseFromJSONTyped(json, false);
23826
- }
23827
- function GetLatestFlagChecksResponseFromJSONTyped(json, ignoreDiscriminator) {
23828
- if (json == null) {
23829
- return json;
23830
- }
23831
- return {
23832
- data: json["data"].map(FlagCheckLogResponseDataFromJSON),
23833
- params: GetLatestFlagChecksParamsFromJSON(json["params"])
23834
- };
23835
- }
23836
- function GetLatestFlagChecksResponseToJSON(value) {
23837
- if (value == null) {
23838
- return value;
23839
- }
23840
- return {
23841
- data: value["data"].map(FlagCheckLogResponseDataToJSON),
23842
- params: GetLatestFlagChecksParamsToJSON(value["params"])
23843
- };
23844
- }
23845
-
23846
23636
  // src/api/models/GetOrCreateCompanyMembershipRequestBody.ts
23847
23637
  function instanceOfGetOrCreateCompanyMembershipRequestBody(value) {
23848
23638
  if (!("companyId" in value) || value["companyId"] === void 0)
@@ -24555,6 +24345,72 @@ function ListAudienceUsersResponseToJSON(value) {
24555
24345
  };
24556
24346
  }
24557
24347
 
24348
+ // src/api/models/ListBillingProductsParams.ts
24349
+ function instanceOfListBillingProductsParams(value) {
24350
+ return true;
24351
+ }
24352
+ function ListBillingProductsParamsFromJSON(json) {
24353
+ return ListBillingProductsParamsFromJSONTyped(json, false);
24354
+ }
24355
+ function ListBillingProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
24356
+ if (json == null) {
24357
+ return json;
24358
+ }
24359
+ return {
24360
+ ids: json["ids"] == null ? void 0 : json["ids"],
24361
+ limit: json["limit"] == null ? void 0 : json["limit"],
24362
+ name: json["name"] == null ? void 0 : json["name"],
24363
+ offset: json["offset"] == null ? void 0 : json["offset"],
24364
+ q: json["q"] == null ? void 0 : json["q"]
24365
+ };
24366
+ }
24367
+ function ListBillingProductsParamsToJSON(value) {
24368
+ if (value == null) {
24369
+ return value;
24370
+ }
24371
+ return {
24372
+ ids: value["ids"],
24373
+ limit: value["limit"],
24374
+ name: value["name"],
24375
+ offset: value["offset"],
24376
+ q: value["q"]
24377
+ };
24378
+ }
24379
+
24380
+ // src/api/models/ListBillingProductsResponse.ts
24381
+ function instanceOfListBillingProductsResponse(value) {
24382
+ if (!("data" in value) || value["data"] === void 0)
24383
+ return false;
24384
+ if (!("params" in value) || value["params"] === void 0)
24385
+ return false;
24386
+ return true;
24387
+ }
24388
+ function ListBillingProductsResponseFromJSON(json) {
24389
+ return ListBillingProductsResponseFromJSONTyped(json, false);
24390
+ }
24391
+ function ListBillingProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
24392
+ if (json == null) {
24393
+ return json;
24394
+ }
24395
+ return {
24396
+ data: json["data"].map(
24397
+ BillingProductDetailResponseDataFromJSON
24398
+ ),
24399
+ params: ListBillingProductsParamsFromJSON(json["params"])
24400
+ };
24401
+ }
24402
+ function ListBillingProductsResponseToJSON(value) {
24403
+ if (value == null) {
24404
+ return value;
24405
+ }
24406
+ return {
24407
+ data: value["data"].map(
24408
+ BillingProductDetailResponseDataToJSON
24409
+ ),
24410
+ params: ListBillingProductsParamsToJSON(value["params"])
24411
+ };
24412
+ }
24413
+
24558
24414
  // src/api/models/ListCompaniesParams.ts
24559
24415
  function instanceOfListCompaniesParams(value) {
24560
24416
  return true;
@@ -25521,72 +25377,6 @@ function ListFeaturesResponseToJSON(value) {
25521
25377
  };
25522
25378
  }
25523
25379
 
25524
- // src/api/models/ListFlagChecksParams.ts
25525
- function instanceOfListFlagChecksParams(value) {
25526
- return true;
25527
- }
25528
- function ListFlagChecksParamsFromJSON(json) {
25529
- return ListFlagChecksParamsFromJSONTyped(json, false);
25530
- }
25531
- function ListFlagChecksParamsFromJSONTyped(json, ignoreDiscriminator) {
25532
- if (json == null) {
25533
- return json;
25534
- }
25535
- return {
25536
- flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
25537
- flagIds: json["flag_ids"] == null ? void 0 : json["flag_ids"],
25538
- id: json["id"] == null ? void 0 : json["id"],
25539
- limit: json["limit"] == null ? void 0 : json["limit"],
25540
- offset: json["offset"] == null ? void 0 : json["offset"]
25541
- };
25542
- }
25543
- function ListFlagChecksParamsToJSON(value) {
25544
- if (value == null) {
25545
- return value;
25546
- }
25547
- return {
25548
- flag_id: value["flagId"],
25549
- flag_ids: value["flagIds"],
25550
- id: value["id"],
25551
- limit: value["limit"],
25552
- offset: value["offset"]
25553
- };
25554
- }
25555
-
25556
- // src/api/models/ListFlagChecksResponse.ts
25557
- function instanceOfListFlagChecksResponse(value) {
25558
- if (!("data" in value) || value["data"] === void 0)
25559
- return false;
25560
- if (!("params" in value) || value["params"] === void 0)
25561
- return false;
25562
- return true;
25563
- }
25564
- function ListFlagChecksResponseFromJSON(json) {
25565
- return ListFlagChecksResponseFromJSONTyped(json, false);
25566
- }
25567
- function ListFlagChecksResponseFromJSONTyped(json, ignoreDiscriminator) {
25568
- if (json == null) {
25569
- return json;
25570
- }
25571
- return {
25572
- data: json["data"].map(
25573
- FlagCheckLogDetailResponseDataFromJSON
25574
- ),
25575
- params: ListFlagChecksParamsFromJSON(json["params"])
25576
- };
25577
- }
25578
- function ListFlagChecksResponseToJSON(value) {
25579
- if (value == null) {
25580
- return value;
25581
- }
25582
- return {
25583
- data: value["data"].map(
25584
- FlagCheckLogDetailResponseDataToJSON
25585
- ),
25586
- params: ListFlagChecksParamsToJSON(value["params"])
25587
- };
25588
- }
25589
-
25590
25380
  // src/api/models/ListFlagsParams.ts
25591
25381
  function instanceOfListFlagsParams(value) {
25592
25382
  return true;
@@ -25903,14 +25693,14 @@ function ListPlansResponseToJSON(value) {
25903
25693
  };
25904
25694
  }
25905
25695
 
25906
- // src/api/models/ListProductsParams.ts
25907
- function instanceOfListProductsParams(value) {
25696
+ // src/api/models/ListProductPricesParams.ts
25697
+ function instanceOfListProductPricesParams(value) {
25908
25698
  return true;
25909
25699
  }
25910
- function ListProductsParamsFromJSON(json) {
25911
- return ListProductsParamsFromJSONTyped(json, false);
25700
+ function ListProductPricesParamsFromJSON(json) {
25701
+ return ListProductPricesParamsFromJSONTyped(json, false);
25912
25702
  }
25913
- function ListProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
25703
+ function ListProductPricesParamsFromJSONTyped(json, ignoreDiscriminator) {
25914
25704
  if (json == null) {
25915
25705
  return json;
25916
25706
  }
@@ -25922,7 +25712,7 @@ function ListProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
25922
25712
  q: json["q"] == null ? void 0 : json["q"]
25923
25713
  };
25924
25714
  }
25925
- function ListProductsParamsToJSON(value) {
25715
+ function ListProductPricesParamsToJSON(value) {
25926
25716
  if (value == null) {
25927
25717
  return value;
25928
25718
  }
@@ -25935,33 +25725,33 @@ function ListProductsParamsToJSON(value) {
25935
25725
  };
25936
25726
  }
25937
25727
 
25938
- // src/api/models/ListProductsResponse.ts
25939
- function instanceOfListProductsResponse(value) {
25728
+ // src/api/models/ListProductPricesResponse.ts
25729
+ function instanceOfListProductPricesResponse(value) {
25940
25730
  if (!("data" in value) || value["data"] === void 0)
25941
25731
  return false;
25942
25732
  if (!("params" in value) || value["params"] === void 0)
25943
25733
  return false;
25944
25734
  return true;
25945
25735
  }
25946
- function ListProductsResponseFromJSON(json) {
25947
- return ListProductsResponseFromJSONTyped(json, false);
25736
+ function ListProductPricesResponseFromJSON(json) {
25737
+ return ListProductPricesResponseFromJSONTyped(json, false);
25948
25738
  }
25949
- function ListProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
25739
+ function ListProductPricesResponseFromJSONTyped(json, ignoreDiscriminator) {
25950
25740
  if (json == null) {
25951
25741
  return json;
25952
25742
  }
25953
25743
  return {
25954
- data: json["data"].map(BillingProductResponseDataFromJSON),
25955
- params: ListProductsParamsFromJSON(json["params"])
25744
+ data: json["data"].map(BillingPriceResponseDataFromJSON),
25745
+ params: ListProductPricesParamsFromJSON(json["params"])
25956
25746
  };
25957
25747
  }
25958
- function ListProductsResponseToJSON(value) {
25748
+ function ListProductPricesResponseToJSON(value) {
25959
25749
  if (value == null) {
25960
25750
  return value;
25961
25751
  }
25962
25752
  return {
25963
- data: value["data"].map(BillingProductResponseDataToJSON),
25964
- params: ListProductsParamsToJSON(value["params"])
25753
+ data: value["data"].map(BillingPriceResponseDataToJSON),
25754
+ params: ListProductPricesParamsToJSON(value["params"])
25965
25755
  };
25966
25756
  }
25967
25757
 
@@ -26467,6 +26257,64 @@ function RuleConditionResponseDataToJSON(value) {
26467
26257
  };
26468
26258
  }
26469
26259
 
26260
+ // src/api/models/RuleResponseData.ts
26261
+ function instanceOfRuleResponseData(value) {
26262
+ if (!("createdAt" in value) || value["createdAt"] === void 0)
26263
+ return false;
26264
+ if (!("environmentId" in value) || value["environmentId"] === void 0)
26265
+ return false;
26266
+ if (!("id" in value) || value["id"] === void 0)
26267
+ return false;
26268
+ if (!("name" in value) || value["name"] === void 0)
26269
+ return false;
26270
+ if (!("priority" in value) || value["priority"] === void 0)
26271
+ return false;
26272
+ if (!("ruleType" in value) || value["ruleType"] === void 0)
26273
+ return false;
26274
+ if (!("updatedAt" in value) || value["updatedAt"] === void 0)
26275
+ return false;
26276
+ if (!("value" in value) || value["value"] === void 0)
26277
+ return false;
26278
+ return true;
26279
+ }
26280
+ function RuleResponseDataFromJSON(json) {
26281
+ return RuleResponseDataFromJSONTyped(json, false);
26282
+ }
26283
+ function RuleResponseDataFromJSONTyped(json, ignoreDiscriminator) {
26284
+ if (json == null) {
26285
+ return json;
26286
+ }
26287
+ return {
26288
+ createdAt: new Date(json["created_at"]),
26289
+ environmentId: json["environment_id"],
26290
+ flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
26291
+ id: json["id"],
26292
+ name: json["name"],
26293
+ planId: json["plan_id"] == null ? void 0 : json["plan_id"],
26294
+ priority: json["priority"],
26295
+ ruleType: json["rule_type"],
26296
+ updatedAt: new Date(json["updated_at"]),
26297
+ value: json["value"]
26298
+ };
26299
+ }
26300
+ function RuleResponseDataToJSON(value) {
26301
+ if (value == null) {
26302
+ return value;
26303
+ }
26304
+ return {
26305
+ created_at: value["createdAt"].toISOString(),
26306
+ environment_id: value["environmentId"],
26307
+ flag_id: value["flagId"],
26308
+ id: value["id"],
26309
+ name: value["name"],
26310
+ plan_id: value["planId"],
26311
+ priority: value["priority"],
26312
+ rule_type: value["ruleType"],
26313
+ updated_at: value["updatedAt"].toISOString(),
26314
+ value: value["value"]
26315
+ };
26316
+ }
26317
+
26470
26318
  // src/api/models/RulesDetailResponseData.ts
26471
26319
  function instanceOfRulesDetailResponseData(value) {
26472
26320
  if (!("rules" in value) || value["rules"] === void 0)
@@ -27180,14 +27028,6 @@ function UpdatePlanEntitlementResponseToJSON(value) {
27180
27028
  }
27181
27029
 
27182
27030
  // src/api/models/UpdatePlanRequestBody.ts
27183
- var UpdatePlanRequestBodyPlanTypeEnum = {
27184
- Product: "product",
27185
- PricingPlan: "pricing_plan",
27186
- AddOn: "add_on",
27187
- Overage: "overage",
27188
- BillableMetric: "billable_metric",
27189
- Other: "other"
27190
- };
27191
27031
  function instanceOfUpdatePlanRequestBody(value) {
27192
27032
  if (!("audienceType" in value) || value["audienceType"] === void 0)
27193
27033
  return false;
@@ -27206,8 +27046,7 @@ function UpdatePlanRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
27206
27046
  audienceType: json["audience_type"],
27207
27047
  description: json["description"] == null ? void 0 : json["description"],
27208
27048
  icon: json["icon"] == null ? void 0 : json["icon"],
27209
- name: json["name"],
27210
- planType: json["plan_type"] == null ? void 0 : json["plan_type"]
27049
+ name: json["name"]
27211
27050
  };
27212
27051
  }
27213
27052
  function UpdatePlanRequestBodyToJSON(value) {
@@ -27218,8 +27057,7 @@ function UpdatePlanRequestBodyToJSON(value) {
27218
27057
  audience_type: value["audienceType"],
27219
27058
  description: value["description"],
27220
27059
  icon: value["icon"],
27221
- name: value["name"],
27222
- plan_type: value["planType"]
27060
+ name: value["name"]
27223
27061
  };
27224
27062
  }
27225
27063
 
@@ -27467,6 +27305,36 @@ function UpsertBillingCustomerResponseToJSON(value) {
27467
27305
  };
27468
27306
  }
27469
27307
 
27308
+ // src/api/models/UpsertBillingPriceResponse.ts
27309
+ function instanceOfUpsertBillingPriceResponse(value) {
27310
+ if (!("data" in value) || value["data"] === void 0)
27311
+ return false;
27312
+ if (!("params" in value) || value["params"] === void 0)
27313
+ return false;
27314
+ return true;
27315
+ }
27316
+ function UpsertBillingPriceResponseFromJSON(json) {
27317
+ return UpsertBillingPriceResponseFromJSONTyped(json, false);
27318
+ }
27319
+ function UpsertBillingPriceResponseFromJSONTyped(json, ignoreDiscriminator) {
27320
+ if (json == null) {
27321
+ return json;
27322
+ }
27323
+ return {
27324
+ data: BillingPriceResponseDataFromJSON(json["data"]),
27325
+ params: json["params"]
27326
+ };
27327
+ }
27328
+ function UpsertBillingPriceResponseToJSON(value) {
27329
+ if (value == null) {
27330
+ return value;
27331
+ }
27332
+ return {
27333
+ data: BillingPriceResponseDataToJSON(value["data"]),
27334
+ params: value["params"]
27335
+ };
27336
+ }
27337
+
27470
27338
  // src/api/models/UpsertBillingProductPlanResponse.ts
27471
27339
  function instanceOfUpsertBillingProductPlanResponse(value) {
27472
27340
  if (!("data" in value) || value["data"] === void 0)
@@ -28797,6 +28665,56 @@ var BillingApi = class extends BaseAPI {
28797
28665
  );
28798
28666
  return await response.value();
28799
28667
  }
28668
+ /**
28669
+ * List billing products
28670
+ */
28671
+ async listBillingProductsRaw(requestParameters, initOverrides) {
28672
+ const queryParameters = {};
28673
+ if (requestParameters["ids"] != null) {
28674
+ queryParameters["ids"] = requestParameters["ids"];
28675
+ }
28676
+ if (requestParameters["name"] != null) {
28677
+ queryParameters["name"] = requestParameters["name"];
28678
+ }
28679
+ if (requestParameters["q"] != null) {
28680
+ queryParameters["q"] = requestParameters["q"];
28681
+ }
28682
+ if (requestParameters["limit"] != null) {
28683
+ queryParameters["limit"] = requestParameters["limit"];
28684
+ }
28685
+ if (requestParameters["offset"] != null) {
28686
+ queryParameters["offset"] = requestParameters["offset"];
28687
+ }
28688
+ const headerParameters = {};
28689
+ if (this.configuration && this.configuration.apiKey) {
28690
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
28691
+ "X-Schematic-Api-Key"
28692
+ );
28693
+ }
28694
+ const response = await this.request(
28695
+ {
28696
+ path: `/billing/products`,
28697
+ method: "GET",
28698
+ headers: headerParameters,
28699
+ query: queryParameters
28700
+ },
28701
+ initOverrides
28702
+ );
28703
+ return new JSONApiResponse(
28704
+ response,
28705
+ (jsonValue) => ListBillingProductsResponseFromJSON(jsonValue)
28706
+ );
28707
+ }
28708
+ /**
28709
+ * List billing products
28710
+ */
28711
+ async listBillingProducts(requestParameters = {}, initOverrides) {
28712
+ const response = await this.listBillingProductsRaw(
28713
+ requestParameters,
28714
+ initOverrides
28715
+ );
28716
+ return await response.value();
28717
+ }
28800
28718
  /**
28801
28719
  * List customers
28802
28720
  */
@@ -28848,9 +28766,9 @@ var BillingApi = class extends BaseAPI {
28848
28766
  return await response.value();
28849
28767
  }
28850
28768
  /**
28851
- * List products
28769
+ * List product prices
28852
28770
  */
28853
- async listProductsRaw(requestParameters, initOverrides) {
28771
+ async listProductPricesRaw(requestParameters, initOverrides) {
28854
28772
  const queryParameters = {};
28855
28773
  if (requestParameters["ids"] != null) {
28856
28774
  queryParameters["ids"] = requestParameters["ids"];
@@ -28875,7 +28793,7 @@ var BillingApi = class extends BaseAPI {
28875
28793
  }
28876
28794
  const response = await this.request(
28877
28795
  {
28878
- path: `/billing/products`,
28796
+ path: `/billing/product/prices`,
28879
28797
  method: "GET",
28880
28798
  headers: headerParameters,
28881
28799
  query: queryParameters
@@ -28884,14 +28802,14 @@ var BillingApi = class extends BaseAPI {
28884
28802
  );
28885
28803
  return new JSONApiResponse(
28886
28804
  response,
28887
- (jsonValue) => ListProductsResponseFromJSON(jsonValue)
28805
+ (jsonValue) => ListProductPricesResponseFromJSON(jsonValue)
28888
28806
  );
28889
28807
  }
28890
28808
  /**
28891
- * List products
28809
+ * List product prices
28892
28810
  */
28893
- async listProducts(requestParameters = {}, initOverrides) {
28894
- const response = await this.listProductsRaw(
28811
+ async listProductPrices(requestParameters = {}, initOverrides) {
28812
+ const response = await this.listProductPricesRaw(
28895
28813
  requestParameters,
28896
28814
  initOverrides
28897
28815
  );
@@ -28942,6 +28860,51 @@ var BillingApi = class extends BaseAPI {
28942
28860
  );
28943
28861
  return await response.value();
28944
28862
  }
28863
+ /**
28864
+ * Upsert billing price
28865
+ */
28866
+ async upsertBillingPriceRaw(requestParameters, initOverrides) {
28867
+ if (requestParameters["createBillingPriceRequestBody"] == null) {
28868
+ throw new RequiredError(
28869
+ "createBillingPriceRequestBody",
28870
+ 'Required parameter "createBillingPriceRequestBody" was null or undefined when calling upsertBillingPrice().'
28871
+ );
28872
+ }
28873
+ const queryParameters = {};
28874
+ const headerParameters = {};
28875
+ headerParameters["Content-Type"] = "application/json";
28876
+ if (this.configuration && this.configuration.apiKey) {
28877
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
28878
+ "X-Schematic-Api-Key"
28879
+ );
28880
+ }
28881
+ const response = await this.request(
28882
+ {
28883
+ path: `/billing/price/upsert`,
28884
+ method: "POST",
28885
+ headers: headerParameters,
28886
+ query: queryParameters,
28887
+ body: CreateBillingPriceRequestBodyToJSON(
28888
+ requestParameters["createBillingPriceRequestBody"]
28889
+ )
28890
+ },
28891
+ initOverrides
28892
+ );
28893
+ return new JSONApiResponse(
28894
+ response,
28895
+ (jsonValue) => UpsertBillingPriceResponseFromJSON(jsonValue)
28896
+ );
28897
+ }
28898
+ /**
28899
+ * Upsert billing price
28900
+ */
28901
+ async upsertBillingPrice(requestParameters, initOverrides) {
28902
+ const response = await this.upsertBillingPriceRaw(
28903
+ requestParameters,
28904
+ initOverrides
28905
+ );
28906
+ return await response.value();
28907
+ }
28945
28908
  /**
28946
28909
  * Upsert billing product
28947
28910
  */
@@ -32720,56 +32683,6 @@ var FeaturesApi = class extends BaseAPI {
32720
32683
  );
32721
32684
  return await response.value();
32722
32685
  }
32723
- /**
32724
- * Count flag checks
32725
- */
32726
- async countFlagChecksRaw(requestParameters, initOverrides) {
32727
- const queryParameters = {};
32728
- if (requestParameters["flagId"] != null) {
32729
- queryParameters["flag_id"] = requestParameters["flagId"];
32730
- }
32731
- if (requestParameters["flagIds"] != null) {
32732
- queryParameters["flag_ids"] = requestParameters["flagIds"];
32733
- }
32734
- if (requestParameters["id"] != null) {
32735
- queryParameters["id"] = requestParameters["id"];
32736
- }
32737
- if (requestParameters["limit"] != null) {
32738
- queryParameters["limit"] = requestParameters["limit"];
32739
- }
32740
- if (requestParameters["offset"] != null) {
32741
- queryParameters["offset"] = requestParameters["offset"];
32742
- }
32743
- const headerParameters = {};
32744
- if (this.configuration && this.configuration.apiKey) {
32745
- headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
32746
- "X-Schematic-Api-Key"
32747
- );
32748
- }
32749
- const response = await this.request(
32750
- {
32751
- path: `/flag-checks/count`,
32752
- method: "GET",
32753
- headers: headerParameters,
32754
- query: queryParameters
32755
- },
32756
- initOverrides
32757
- );
32758
- return new JSONApiResponse(
32759
- response,
32760
- (jsonValue) => CountFlagChecksResponseFromJSON(jsonValue)
32761
- );
32762
- }
32763
- /**
32764
- * Count flag checks
32765
- */
32766
- async countFlagChecks(requestParameters = {}, initOverrides) {
32767
- const response = await this.countFlagChecksRaw(
32768
- requestParameters,
32769
- initOverrides
32770
- );
32771
- return await response.value();
32772
- }
32773
32686
  /**
32774
32687
  * Count flags
32775
32688
  */
@@ -33071,100 +32984,6 @@ var FeaturesApi = class extends BaseAPI {
33071
32984
  const response = await this.getFlagRaw(requestParameters, initOverrides);
33072
32985
  return await response.value();
33073
32986
  }
33074
- /**
33075
- * Get flag check
33076
- */
33077
- async getFlagCheckRaw(requestParameters, initOverrides) {
33078
- if (requestParameters["flagCheckId"] == null) {
33079
- throw new RequiredError(
33080
- "flagCheckId",
33081
- 'Required parameter "flagCheckId" was null or undefined when calling getFlagCheck().'
33082
- );
33083
- }
33084
- const queryParameters = {};
33085
- const headerParameters = {};
33086
- if (this.configuration && this.configuration.apiKey) {
33087
- headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
33088
- "X-Schematic-Api-Key"
33089
- );
33090
- }
33091
- const response = await this.request(
33092
- {
33093
- path: `/flag-checks/{flag_check_id}`.replace(
33094
- `{${"flag_check_id"}}`,
33095
- encodeURIComponent(String(requestParameters["flagCheckId"]))
33096
- ),
33097
- method: "GET",
33098
- headers: headerParameters,
33099
- query: queryParameters
33100
- },
33101
- initOverrides
33102
- );
33103
- return new JSONApiResponse(
33104
- response,
33105
- (jsonValue) => GetFlagCheckResponseFromJSON(jsonValue)
33106
- );
33107
- }
33108
- /**
33109
- * Get flag check
33110
- */
33111
- async getFlagCheck(requestParameters, initOverrides) {
33112
- const response = await this.getFlagCheckRaw(
33113
- requestParameters,
33114
- initOverrides
33115
- );
33116
- return await response.value();
33117
- }
33118
- /**
33119
- * Get latest flag checks
33120
- */
33121
- async getLatestFlagChecksRaw(requestParameters, initOverrides) {
33122
- const queryParameters = {};
33123
- if (requestParameters["flagId"] != null) {
33124
- queryParameters["flag_id"] = requestParameters["flagId"];
33125
- }
33126
- if (requestParameters["flagIds"] != null) {
33127
- queryParameters["flag_ids"] = requestParameters["flagIds"];
33128
- }
33129
- if (requestParameters["id"] != null) {
33130
- queryParameters["id"] = requestParameters["id"];
33131
- }
33132
- if (requestParameters["limit"] != null) {
33133
- queryParameters["limit"] = requestParameters["limit"];
33134
- }
33135
- if (requestParameters["offset"] != null) {
33136
- queryParameters["offset"] = requestParameters["offset"];
33137
- }
33138
- const headerParameters = {};
33139
- if (this.configuration && this.configuration.apiKey) {
33140
- headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
33141
- "X-Schematic-Api-Key"
33142
- );
33143
- }
33144
- const response = await this.request(
33145
- {
33146
- path: `/flag-checks/latest`,
33147
- method: "GET",
33148
- headers: headerParameters,
33149
- query: queryParameters
33150
- },
33151
- initOverrides
33152
- );
33153
- return new JSONApiResponse(
33154
- response,
33155
- (jsonValue) => GetLatestFlagChecksResponseFromJSON(jsonValue)
33156
- );
33157
- }
33158
- /**
33159
- * Get latest flag checks
33160
- */
33161
- async getLatestFlagChecks(requestParameters = {}, initOverrides) {
33162
- const response = await this.getLatestFlagChecksRaw(
33163
- requestParameters,
33164
- initOverrides
33165
- );
33166
- return await response.value();
33167
- }
33168
32987
  /**
33169
32988
  * List audience companies
33170
32989
  */
@@ -33308,56 +33127,6 @@ var FeaturesApi = class extends BaseAPI {
33308
33127
  );
33309
33128
  return await response.value();
33310
33129
  }
33311
- /**
33312
- * List flag checks
33313
- */
33314
- async listFlagChecksRaw(requestParameters, initOverrides) {
33315
- const queryParameters = {};
33316
- if (requestParameters["flagId"] != null) {
33317
- queryParameters["flag_id"] = requestParameters["flagId"];
33318
- }
33319
- if (requestParameters["flagIds"] != null) {
33320
- queryParameters["flag_ids"] = requestParameters["flagIds"];
33321
- }
33322
- if (requestParameters["id"] != null) {
33323
- queryParameters["id"] = requestParameters["id"];
33324
- }
33325
- if (requestParameters["limit"] != null) {
33326
- queryParameters["limit"] = requestParameters["limit"];
33327
- }
33328
- if (requestParameters["offset"] != null) {
33329
- queryParameters["offset"] = requestParameters["offset"];
33330
- }
33331
- const headerParameters = {};
33332
- if (this.configuration && this.configuration.apiKey) {
33333
- headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
33334
- "X-Schematic-Api-Key"
33335
- );
33336
- }
33337
- const response = await this.request(
33338
- {
33339
- path: `/flag-checks`,
33340
- method: "GET",
33341
- headers: headerParameters,
33342
- query: queryParameters
33343
- },
33344
- initOverrides
33345
- );
33346
- return new JSONApiResponse(
33347
- response,
33348
- (jsonValue) => ListFlagChecksResponseFromJSON(jsonValue)
33349
- );
33350
- }
33351
- /**
33352
- * List flag checks
33353
- */
33354
- async listFlagChecks(requestParameters = {}, initOverrides) {
33355
- const response = await this.listFlagChecksRaw(
33356
- requestParameters,
33357
- initOverrides
33358
- );
33359
- return await response.value();
33360
- }
33361
33130
  /**
33362
33131
  * List flags
33363
33132
  */
@@ -34650,7 +34419,7 @@ var Schematic = class {
34650
34419
  constructor(apiKey, opts) {
34651
34420
  const { offline = false } = opts ?? {};
34652
34421
  const { basePath, flagDefaults = {} } = opts ?? {};
34653
- const version = "1.0.21";
34422
+ const version = "1.0.23";
34654
34423
  const headers = {
34655
34424
  "User-Agent": `schematic-typescript-node@v${version}`
34656
34425
  };
@@ -34801,6 +34570,12 @@ export {
34801
34570
  BillingCustomerWithSubscriptionsResponseDataFromJSON,
34802
34571
  BillingCustomerWithSubscriptionsResponseDataFromJSONTyped,
34803
34572
  BillingCustomerWithSubscriptionsResponseDataToJSON,
34573
+ BillingPriceResponseDataFromJSON,
34574
+ BillingPriceResponseDataFromJSONTyped,
34575
+ BillingPriceResponseDataToJSON,
34576
+ BillingProductDetailResponseDataFromJSON,
34577
+ BillingProductDetailResponseDataFromJSONTyped,
34578
+ BillingProductDetailResponseDataToJSON,
34804
34579
  BillingProductPlanResponseDataFromJSON,
34805
34580
  BillingProductPlanResponseDataFromJSONTyped,
34806
34581
  BillingProductPlanResponseDataToJSON,
@@ -34950,12 +34725,6 @@ export {
34950
34725
  CountFeaturesResponseFromJSON,
34951
34726
  CountFeaturesResponseFromJSONTyped,
34952
34727
  CountFeaturesResponseToJSON,
34953
- CountFlagChecksParamsFromJSON,
34954
- CountFlagChecksParamsFromJSONTyped,
34955
- CountFlagChecksParamsToJSON,
34956
- CountFlagChecksResponseFromJSON,
34957
- CountFlagChecksResponseFromJSONTyped,
34958
- CountFlagChecksResponseToJSON,
34959
34728
  CountFlagsParamsFromJSON,
34960
34729
  CountFlagsParamsFromJSONTyped,
34961
34730
  CountFlagsParamsToJSON,
@@ -35004,6 +34773,9 @@ export {
35004
34773
  CreateBillingCustomerRequestBodyFromJSON,
35005
34774
  CreateBillingCustomerRequestBodyFromJSONTyped,
35006
34775
  CreateBillingCustomerRequestBodyToJSON,
34776
+ CreateBillingPriceRequestBodyFromJSON,
34777
+ CreateBillingPriceRequestBodyFromJSONTyped,
34778
+ CreateBillingPriceRequestBodyToJSON,
35007
34779
  CreateBillingProductRequestBodyFromJSON,
35008
34780
  CreateBillingProductRequestBodyFromJSONTyped,
35009
34781
  CreateBillingProductRequestBodyToJSON,
@@ -35262,12 +35034,6 @@ export {
35262
35034
  FeatureUsageResponseDataToJSON,
35263
35035
  FeaturesApi,
35264
35036
  FetchError2 as FetchError,
35265
- FlagCheckLogDetailResponseDataFromJSON,
35266
- FlagCheckLogDetailResponseDataFromJSONTyped,
35267
- FlagCheckLogDetailResponseDataToJSON,
35268
- FlagCheckLogResponseDataFromJSON,
35269
- FlagCheckLogResponseDataFromJSONTyped,
35270
- FlagCheckLogResponseDataToJSON,
35271
35037
  FlagDetailResponseDataFromJSON,
35272
35038
  FlagDetailResponseDataFromJSONTyped,
35273
35039
  FlagDetailResponseDataToJSON,
@@ -35337,18 +35103,9 @@ export {
35337
35103
  GetFeatureUsageByCompanyResponseFromJSON,
35338
35104
  GetFeatureUsageByCompanyResponseFromJSONTyped,
35339
35105
  GetFeatureUsageByCompanyResponseToJSON,
35340
- GetFlagCheckResponseFromJSON,
35341
- GetFlagCheckResponseFromJSONTyped,
35342
- GetFlagCheckResponseToJSON,
35343
35106
  GetFlagResponseFromJSON,
35344
35107
  GetFlagResponseFromJSONTyped,
35345
35108
  GetFlagResponseToJSON,
35346
- GetLatestFlagChecksParamsFromJSON,
35347
- GetLatestFlagChecksParamsFromJSONTyped,
35348
- GetLatestFlagChecksParamsToJSON,
35349
- GetLatestFlagChecksResponseFromJSON,
35350
- GetLatestFlagChecksResponseFromJSONTyped,
35351
- GetLatestFlagChecksResponseToJSON,
35352
35109
  GetOrCreateCompanyMembershipRequestBodyFromJSON,
35353
35110
  GetOrCreateCompanyMembershipRequestBodyFromJSONTyped,
35354
35111
  GetOrCreateCompanyMembershipRequestBodyToJSON,
@@ -35410,6 +35167,12 @@ export {
35410
35167
  ListAudienceUsersResponseFromJSON,
35411
35168
  ListAudienceUsersResponseFromJSONTyped,
35412
35169
  ListAudienceUsersResponseToJSON,
35170
+ ListBillingProductsParamsFromJSON,
35171
+ ListBillingProductsParamsFromJSONTyped,
35172
+ ListBillingProductsParamsToJSON,
35173
+ ListBillingProductsResponseFromJSON,
35174
+ ListBillingProductsResponseFromJSONTyped,
35175
+ ListBillingProductsResponseToJSON,
35413
35176
  ListCompaniesParamsFromJSON,
35414
35177
  ListCompaniesParamsFromJSONTyped,
35415
35178
  ListCompaniesParamsToJSON,
@@ -35506,12 +35269,6 @@ export {
35506
35269
  ListFeaturesResponseFromJSON,
35507
35270
  ListFeaturesResponseFromJSONTyped,
35508
35271
  ListFeaturesResponseToJSON,
35509
- ListFlagChecksParamsFromJSON,
35510
- ListFlagChecksParamsFromJSONTyped,
35511
- ListFlagChecksParamsToJSON,
35512
- ListFlagChecksResponseFromJSON,
35513
- ListFlagChecksResponseFromJSONTyped,
35514
- ListFlagChecksResponseToJSON,
35515
35272
  ListFlagsParamsFromJSON,
35516
35273
  ListFlagsParamsFromJSONTyped,
35517
35274
  ListFlagsParamsToJSON,
@@ -35536,12 +35293,12 @@ export {
35536
35293
  ListPlansResponseFromJSON,
35537
35294
  ListPlansResponseFromJSONTyped,
35538
35295
  ListPlansResponseToJSON,
35539
- ListProductsParamsFromJSON,
35540
- ListProductsParamsFromJSONTyped,
35541
- ListProductsParamsToJSON,
35542
- ListProductsResponseFromJSON,
35543
- ListProductsResponseFromJSONTyped,
35544
- ListProductsResponseToJSON,
35296
+ ListProductPricesParamsFromJSON,
35297
+ ListProductPricesParamsFromJSONTyped,
35298
+ ListProductPricesParamsToJSON,
35299
+ ListProductPricesResponseFromJSON,
35300
+ ListProductPricesResponseFromJSONTyped,
35301
+ ListProductPricesResponseToJSON,
35545
35302
  ListUsersParamsFromJSON,
35546
35303
  ListUsersParamsFromJSONTyped,
35547
35304
  ListUsersParamsToJSON,
@@ -35706,7 +35463,6 @@ export {
35706
35463
  UpdatePlanEntitlementResponseToJSON,
35707
35464
  UpdatePlanRequestBodyFromJSON,
35708
35465
  UpdatePlanRequestBodyFromJSONTyped,
35709
- UpdatePlanRequestBodyPlanTypeEnum,
35710
35466
  UpdatePlanRequestBodyToJSON,
35711
35467
  UpdatePlanResponseFromJSON,
35712
35468
  UpdatePlanResponseFromJSONTyped,
@@ -35730,6 +35486,9 @@ export {
35730
35486
  UpsertBillingCustomerResponseFromJSON,
35731
35487
  UpsertBillingCustomerResponseFromJSONTyped,
35732
35488
  UpsertBillingCustomerResponseToJSON,
35489
+ UpsertBillingPriceResponseFromJSON,
35490
+ UpsertBillingPriceResponseFromJSONTyped,
35491
+ UpsertBillingPriceResponseToJSON,
35733
35492
  UpsertBillingProductPlanResponseFromJSON,
35734
35493
  UpsertBillingProductPlanResponseFromJSONTyped,
35735
35494
  UpsertBillingProductPlanResponseToJSON,
@@ -35806,6 +35565,8 @@ export {
35806
35565
  instanceOfBillingCustomerResponseData,
35807
35566
  instanceOfBillingCustomerSubscription,
35808
35567
  instanceOfBillingCustomerWithSubscriptionsResponseData,
35568
+ instanceOfBillingPriceResponseData,
35569
+ instanceOfBillingProductDetailResponseData,
35809
35570
  instanceOfBillingProductPlanResponseData,
35810
35571
  instanceOfBillingProductPricing,
35811
35572
  instanceOfBillingProductResponseData,
@@ -35852,8 +35613,6 @@ export {
35852
35613
  instanceOfCountFeatureUsersResponse,
35853
35614
  instanceOfCountFeaturesParams,
35854
35615
  instanceOfCountFeaturesResponse,
35855
- instanceOfCountFlagChecksParams,
35856
- instanceOfCountFlagChecksResponse,
35857
35616
  instanceOfCountFlagsParams,
35858
35617
  instanceOfCountFlagsResponse,
35859
35618
  instanceOfCountPlanEntitlementsParams,
@@ -35870,6 +35629,7 @@ export {
35870
35629
  instanceOfCreateApiKeyRequestBody,
35871
35630
  instanceOfCreateApiKeyResponse,
35872
35631
  instanceOfCreateBillingCustomerRequestBody,
35632
+ instanceOfCreateBillingPriceRequestBody,
35873
35633
  instanceOfCreateBillingProductRequestBody,
35874
35634
  instanceOfCreateBillingSubscriptionsRequestBody,
35875
35635
  instanceOfCreateCompanyOverrideRequestBody,
@@ -35946,8 +35706,6 @@ export {
35946
35706
  instanceOfFeatureResponseData,
35947
35707
  instanceOfFeatureUsageDetailResponseData,
35948
35708
  instanceOfFeatureUsageResponseData,
35949
- instanceOfFlagCheckLogDetailResponseData,
35950
- instanceOfFlagCheckLogResponseData,
35951
35709
  instanceOfFlagDetailResponseData,
35952
35710
  instanceOfFlagResponseData,
35953
35711
  instanceOfGetActiveCompanySubscriptionParams,
@@ -35971,10 +35729,7 @@ export {
35971
35729
  instanceOfGetFeatureResponse,
35972
35730
  instanceOfGetFeatureUsageByCompanyParams,
35973
35731
  instanceOfGetFeatureUsageByCompanyResponse,
35974
- instanceOfGetFlagCheckResponse,
35975
35732
  instanceOfGetFlagResponse,
35976
- instanceOfGetLatestFlagChecksParams,
35977
- instanceOfGetLatestFlagChecksResponse,
35978
35733
  instanceOfGetOrCreateCompanyMembershipRequestBody,
35979
35734
  instanceOfGetOrCreateCompanyMembershipResponse,
35980
35735
  instanceOfGetOrCreateEntityTraitDefinitionResponse,
@@ -35995,6 +35750,8 @@ export {
35995
35750
  instanceOfListApiRequestsResponse,
35996
35751
  instanceOfListAudienceCompaniesResponse,
35997
35752
  instanceOfListAudienceUsersResponse,
35753
+ instanceOfListBillingProductsParams,
35754
+ instanceOfListBillingProductsResponse,
35998
35755
  instanceOfListCompaniesParams,
35999
35756
  instanceOfListCompaniesResponse,
36000
35757
  instanceOfListCompanyMembershipsParams,
@@ -36025,8 +35782,6 @@ export {
36025
35782
  instanceOfListFeatureUsersResponse,
36026
35783
  instanceOfListFeaturesParams,
36027
35784
  instanceOfListFeaturesResponse,
36028
- instanceOfListFlagChecksParams,
36029
- instanceOfListFlagChecksResponse,
36030
35785
  instanceOfListFlagsParams,
36031
35786
  instanceOfListFlagsResponse,
36032
35787
  instanceOfListMetricCountsParams,
@@ -36035,8 +35790,8 @@ export {
36035
35790
  instanceOfListPlanEntitlementsResponse,
36036
35791
  instanceOfListPlansParams,
36037
35792
  instanceOfListPlansResponse,
36038
- instanceOfListProductsParams,
36039
- instanceOfListProductsResponse,
35793
+ instanceOfListProductPricesParams,
35794
+ instanceOfListProductPricesResponse,
36040
35795
  instanceOfListUsersParams,
36041
35796
  instanceOfListUsersResponse,
36042
35797
  instanceOfListWebhookEventsParams,
@@ -36093,6 +35848,7 @@ export {
36093
35848
  instanceOfUpdateWebhookRequestBody,
36094
35849
  instanceOfUpdateWebhookResponse,
36095
35850
  instanceOfUpsertBillingCustomerResponse,
35851
+ instanceOfUpsertBillingPriceResponse,
36096
35852
  instanceOfUpsertBillingProductPlanResponse,
36097
35853
  instanceOfUpsertBillingProductRequestBody,
36098
35854
  instanceOfUpsertBillingProductResponse,