@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.
@@ -191,9 +191,11 @@ declare namespace api {
191
191
  UpdateEnvironmentRequest,
192
192
  AccountsApi,
193
193
  CountCustomersRequest,
194
+ ListBillingProductsRequest,
194
195
  ListCustomersRequest,
195
- ListProductsRequest,
196
+ ListProductPricesRequest,
196
197
  UpsertBillingCustomerRequest,
198
+ UpsertBillingPriceRequest,
197
199
  UpsertBillingProductRequest,
198
200
  UpsertBillingSubscriptionRequest,
199
201
  BillingApi,
@@ -283,7 +285,6 @@ declare namespace api {
283
285
  CountAudienceCompaniesRequest,
284
286
  CountAudienceUsersRequest,
285
287
  CountFeaturesRequest,
286
- CountFlagChecksRequest,
287
288
  CountFlagsRequest,
288
289
  CreateFeatureRequest,
289
290
  CreateFlagRequest,
@@ -291,12 +292,9 @@ declare namespace api {
291
292
  DeleteFlagRequest,
292
293
  GetFeatureRequest,
293
294
  GetFlagRequest,
294
- GetFlagCheckRequest,
295
- GetLatestFlagChecksRequest,
296
295
  ListAudienceCompaniesRequest,
297
296
  ListAudienceUsersRequest,
298
297
  ListFeaturesRequest,
299
- ListFlagChecksRequest,
300
298
  ListFlagsRequest,
301
299
  UpdateFeatureRequest,
302
300
  UpdateFlagRequest,
@@ -368,6 +366,16 @@ declare namespace api {
368
366
  BillingCustomerWithSubscriptionsResponseDataFromJSONTyped,
369
367
  BillingCustomerWithSubscriptionsResponseDataToJSON,
370
368
  BillingCustomerWithSubscriptionsResponseData,
369
+ instanceOfBillingPriceResponseData,
370
+ BillingPriceResponseDataFromJSON,
371
+ BillingPriceResponseDataFromJSONTyped,
372
+ BillingPriceResponseDataToJSON,
373
+ BillingPriceResponseData,
374
+ instanceOfBillingProductDetailResponseData,
375
+ BillingProductDetailResponseDataFromJSON,
376
+ BillingProductDetailResponseDataFromJSONTyped,
377
+ BillingProductDetailResponseDataToJSON,
378
+ BillingProductDetailResponseData,
371
379
  instanceOfBillingProductPlanResponseData,
372
380
  BillingProductPlanResponseDataFromJSON,
373
381
  BillingProductPlanResponseDataFromJSONTyped,
@@ -601,16 +609,6 @@ declare namespace api {
601
609
  CountFeaturesResponseFromJSONTyped,
602
610
  CountFeaturesResponseToJSON,
603
611
  CountFeaturesResponse,
604
- instanceOfCountFlagChecksParams,
605
- CountFlagChecksParamsFromJSON,
606
- CountFlagChecksParamsFromJSONTyped,
607
- CountFlagChecksParamsToJSON,
608
- CountFlagChecksParams,
609
- instanceOfCountFlagChecksResponse,
610
- CountFlagChecksResponseFromJSON,
611
- CountFlagChecksResponseFromJSONTyped,
612
- CountFlagChecksResponseToJSON,
613
- CountFlagChecksResponse,
614
612
  instanceOfCountFlagsParams,
615
613
  CountFlagsParamsFromJSON,
616
614
  CountFlagsParamsFromJSONTyped,
@@ -691,6 +689,11 @@ declare namespace api {
691
689
  CreateBillingCustomerRequestBodyFromJSONTyped,
692
690
  CreateBillingCustomerRequestBodyToJSON,
693
691
  CreateBillingCustomerRequestBody,
692
+ instanceOfCreateBillingPriceRequestBody,
693
+ CreateBillingPriceRequestBodyFromJSON,
694
+ CreateBillingPriceRequestBodyFromJSONTyped,
695
+ CreateBillingPriceRequestBodyToJSON,
696
+ CreateBillingPriceRequestBody,
694
697
  instanceOfCreateBillingProductRequestBody,
695
698
  CreateBillingProductRequestBodyFromJSON,
696
699
  CreateBillingProductRequestBodyFromJSONTyped,
@@ -1096,16 +1099,6 @@ declare namespace api {
1096
1099
  FeatureUsageResponseDataToJSON,
1097
1100
  FeatureUsageResponseData,
1098
1101
  FeatureUsageResponseDataAllocationTypeEnum,
1099
- instanceOfFlagCheckLogDetailResponseData,
1100
- FlagCheckLogDetailResponseDataFromJSON,
1101
- FlagCheckLogDetailResponseDataFromJSONTyped,
1102
- FlagCheckLogDetailResponseDataToJSON,
1103
- FlagCheckLogDetailResponseData,
1104
- instanceOfFlagCheckLogResponseData,
1105
- FlagCheckLogResponseDataFromJSON,
1106
- FlagCheckLogResponseDataFromJSONTyped,
1107
- FlagCheckLogResponseDataToJSON,
1108
- FlagCheckLogResponseData,
1109
1102
  instanceOfFlagDetailResponseData,
1110
1103
  FlagDetailResponseDataFromJSON,
1111
1104
  FlagDetailResponseDataFromJSONTyped,
@@ -1221,26 +1214,11 @@ declare namespace api {
1221
1214
  GetFeatureUsageByCompanyResponseFromJSONTyped,
1222
1215
  GetFeatureUsageByCompanyResponseToJSON,
1223
1216
  GetFeatureUsageByCompanyResponse,
1224
- instanceOfGetFlagCheckResponse,
1225
- GetFlagCheckResponseFromJSON,
1226
- GetFlagCheckResponseFromJSONTyped,
1227
- GetFlagCheckResponseToJSON,
1228
- GetFlagCheckResponse,
1229
1217
  instanceOfGetFlagResponse,
1230
1218
  GetFlagResponseFromJSON,
1231
1219
  GetFlagResponseFromJSONTyped,
1232
1220
  GetFlagResponseToJSON,
1233
1221
  GetFlagResponse,
1234
- instanceOfGetLatestFlagChecksParams,
1235
- GetLatestFlagChecksParamsFromJSON,
1236
- GetLatestFlagChecksParamsFromJSONTyped,
1237
- GetLatestFlagChecksParamsToJSON,
1238
- GetLatestFlagChecksParams,
1239
- instanceOfGetLatestFlagChecksResponse,
1240
- GetLatestFlagChecksResponseFromJSON,
1241
- GetLatestFlagChecksResponseFromJSONTyped,
1242
- GetLatestFlagChecksResponseToJSON,
1243
- GetLatestFlagChecksResponse,
1244
1222
  instanceOfGetOrCreateCompanyMembershipRequestBody,
1245
1223
  GetOrCreateCompanyMembershipRequestBodyFromJSON,
1246
1224
  GetOrCreateCompanyMembershipRequestBodyFromJSONTyped,
@@ -1341,6 +1319,16 @@ declare namespace api {
1341
1319
  ListAudienceUsersResponseFromJSONTyped,
1342
1320
  ListAudienceUsersResponseToJSON,
1343
1321
  ListAudienceUsersResponse,
1322
+ instanceOfListBillingProductsParams,
1323
+ ListBillingProductsParamsFromJSON,
1324
+ ListBillingProductsParamsFromJSONTyped,
1325
+ ListBillingProductsParamsToJSON,
1326
+ ListBillingProductsParams,
1327
+ instanceOfListBillingProductsResponse,
1328
+ ListBillingProductsResponseFromJSON,
1329
+ ListBillingProductsResponseFromJSONTyped,
1330
+ ListBillingProductsResponseToJSON,
1331
+ ListBillingProductsResponse,
1344
1332
  instanceOfListCompaniesParams,
1345
1333
  ListCompaniesParamsFromJSON,
1346
1334
  ListCompaniesParamsFromJSONTyped,
@@ -1494,16 +1482,6 @@ declare namespace api {
1494
1482
  ListFeaturesResponseFromJSONTyped,
1495
1483
  ListFeaturesResponseToJSON,
1496
1484
  ListFeaturesResponse,
1497
- instanceOfListFlagChecksParams,
1498
- ListFlagChecksParamsFromJSON,
1499
- ListFlagChecksParamsFromJSONTyped,
1500
- ListFlagChecksParamsToJSON,
1501
- ListFlagChecksParams,
1502
- instanceOfListFlagChecksResponse,
1503
- ListFlagChecksResponseFromJSON,
1504
- ListFlagChecksResponseFromJSONTyped,
1505
- ListFlagChecksResponseToJSON,
1506
- ListFlagChecksResponse,
1507
1485
  instanceOfListFlagsParams,
1508
1486
  ListFlagsParamsFromJSON,
1509
1487
  ListFlagsParamsFromJSONTyped,
@@ -1544,16 +1522,16 @@ declare namespace api {
1544
1522
  ListPlansResponseFromJSONTyped,
1545
1523
  ListPlansResponseToJSON,
1546
1524
  ListPlansResponse,
1547
- instanceOfListProductsParams,
1548
- ListProductsParamsFromJSON,
1549
- ListProductsParamsFromJSONTyped,
1550
- ListProductsParamsToJSON,
1551
- ListProductsParams,
1552
- instanceOfListProductsResponse,
1553
- ListProductsResponseFromJSON,
1554
- ListProductsResponseFromJSONTyped,
1555
- ListProductsResponseToJSON,
1556
- ListProductsResponse,
1525
+ instanceOfListProductPricesParams,
1526
+ ListProductPricesParamsFromJSON,
1527
+ ListProductPricesParamsFromJSONTyped,
1528
+ ListProductPricesParamsToJSON,
1529
+ ListProductPricesParams,
1530
+ instanceOfListProductPricesResponse,
1531
+ ListProductPricesResponseFromJSON,
1532
+ ListProductPricesResponseFromJSONTyped,
1533
+ ListProductPricesResponseToJSON,
1534
+ ListProductPricesResponse,
1557
1535
  instanceOfListUsersParams,
1558
1536
  ListUsersParamsFromJSON,
1559
1537
  ListUsersParamsFromJSONTyped,
@@ -1813,7 +1791,6 @@ declare namespace api {
1813
1791
  UpdatePlanRequestBodyFromJSONTyped,
1814
1792
  UpdatePlanRequestBodyToJSON,
1815
1793
  UpdatePlanRequestBody,
1816
- UpdatePlanRequestBodyPlanTypeEnum,
1817
1794
  instanceOfUpdatePlanResponse,
1818
1795
  UpdatePlanResponseFromJSON,
1819
1796
  UpdatePlanResponseFromJSONTyped,
@@ -1848,6 +1825,11 @@ declare namespace api {
1848
1825
  UpsertBillingCustomerResponseFromJSONTyped,
1849
1826
  UpsertBillingCustomerResponseToJSON,
1850
1827
  UpsertBillingCustomerResponse,
1828
+ instanceOfUpsertBillingPriceResponse,
1829
+ UpsertBillingPriceResponseFromJSON,
1830
+ UpsertBillingPriceResponseFromJSONTyped,
1831
+ UpsertBillingPriceResponseToJSON,
1832
+ UpsertBillingPriceResponse,
1851
1833
  instanceOfUpsertBillingProductPlanResponse,
1852
1834
  UpsertBillingProductPlanResponseFromJSON,
1853
1835
  UpsertBillingProductPlanResponseFromJSONTyped,
@@ -2495,6 +2477,14 @@ export declare class BillingApi extends runtime.BaseAPI {
2495
2477
  * Count customers
2496
2478
  */
2497
2479
  countCustomers(requestParameters?: CountCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<CountCustomersResponse>;
2480
+ /**
2481
+ * List billing products
2482
+ */
2483
+ listBillingProductsRaw(requestParameters: ListBillingProductsRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBillingProductsResponse>>;
2484
+ /**
2485
+ * List billing products
2486
+ */
2487
+ listBillingProducts(requestParameters?: ListBillingProductsRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListBillingProductsResponse>;
2498
2488
  /**
2499
2489
  * List customers
2500
2490
  */
@@ -2504,13 +2494,13 @@ export declare class BillingApi extends runtime.BaseAPI {
2504
2494
  */
2505
2495
  listCustomers(requestParameters?: ListCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListCustomersResponse>;
2506
2496
  /**
2507
- * List products
2497
+ * List product prices
2508
2498
  */
2509
- listProductsRaw(requestParameters: ListProductsRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProductsResponse>>;
2499
+ listProductPricesRaw(requestParameters: ListProductPricesRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProductPricesResponse>>;
2510
2500
  /**
2511
- * List products
2501
+ * List product prices
2512
2502
  */
2513
- listProducts(requestParameters?: ListProductsRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListProductsResponse>;
2503
+ listProductPrices(requestParameters?: ListProductPricesRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListProductPricesResponse>;
2514
2504
  /**
2515
2505
  * Upsert billing customer
2516
2506
  */
@@ -2519,6 +2509,14 @@ export declare class BillingApi extends runtime.BaseAPI {
2519
2509
  * Upsert billing customer
2520
2510
  */
2521
2511
  upsertBillingCustomer(requestParameters: UpsertBillingCustomerRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingCustomerResponse>;
2512
+ /**
2513
+ * Upsert billing price
2514
+ */
2515
+ upsertBillingPriceRaw(requestParameters: UpsertBillingPriceRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpsertBillingPriceResponse>>;
2516
+ /**
2517
+ * Upsert billing price
2518
+ */
2519
+ upsertBillingPrice(requestParameters: UpsertBillingPriceRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingPriceResponse>;
2522
2520
  /**
2523
2521
  * Upsert billing product
2524
2522
  */
@@ -2715,6 +2713,135 @@ export declare function BillingCustomerWithSubscriptionsResponseDataFromJSONType
2715
2713
 
2716
2714
  export declare function BillingCustomerWithSubscriptionsResponseDataToJSON(value?: BillingCustomerWithSubscriptionsResponseData | null): any;
2717
2715
 
2716
+ /**
2717
+ * Schematic API
2718
+ * Schematic API
2719
+ *
2720
+ * The version of the OpenAPI document: 0.1
2721
+ *
2722
+ *
2723
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2724
+ * https://openapi-generator.tech
2725
+ * Do not edit the class manually.
2726
+ */
2727
+ /**
2728
+ *
2729
+ * @export
2730
+ * @interface BillingPriceResponseData
2731
+ */
2732
+ export declare interface BillingPriceResponseData {
2733
+ /**
2734
+ *
2735
+ * @type {string}
2736
+ * @memberof BillingPriceResponseData
2737
+ */
2738
+ externalPriceId: string;
2739
+ /**
2740
+ *
2741
+ * @type {string}
2742
+ * @memberof BillingPriceResponseData
2743
+ */
2744
+ id: string;
2745
+ /**
2746
+ *
2747
+ * @type {string}
2748
+ * @memberof BillingPriceResponseData
2749
+ */
2750
+ interval: string;
2751
+ /**
2752
+ *
2753
+ * @type {number}
2754
+ * @memberof BillingPriceResponseData
2755
+ */
2756
+ price: number;
2757
+ }
2758
+
2759
+ export declare function BillingPriceResponseDataFromJSON(json: any): BillingPriceResponseData;
2760
+
2761
+ export declare function BillingPriceResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingPriceResponseData;
2762
+
2763
+ export declare function BillingPriceResponseDataToJSON(value?: BillingPriceResponseData | null): any;
2764
+
2765
+ /**
2766
+ *
2767
+ * @export
2768
+ * @interface BillingProductDetailResponseData
2769
+ */
2770
+ export declare interface BillingProductDetailResponseData {
2771
+ /**
2772
+ *
2773
+ * @type {Array<BillingPriceResponseData>}
2774
+ * @memberof BillingProductDetailResponseData
2775
+ */
2776
+ prices: Array<BillingPriceResponseData>;
2777
+ /**
2778
+ *
2779
+ * @type {string}
2780
+ * @memberof BillingProductDetailResponseData
2781
+ */
2782
+ accountId: string;
2783
+ /**
2784
+ *
2785
+ * @type {Date}
2786
+ * @memberof BillingProductDetailResponseData
2787
+ */
2788
+ createdAt: Date;
2789
+ /**
2790
+ *
2791
+ * @type {string}
2792
+ * @memberof BillingProductDetailResponseData
2793
+ */
2794
+ currency: string;
2795
+ /**
2796
+ *
2797
+ * @type {string}
2798
+ * @memberof BillingProductDetailResponseData
2799
+ */
2800
+ environmentId: string;
2801
+ /**
2802
+ *
2803
+ * @type {string}
2804
+ * @memberof BillingProductDetailResponseData
2805
+ */
2806
+ externalId: string;
2807
+ /**
2808
+ *
2809
+ * @type {string}
2810
+ * @memberof BillingProductDetailResponseData
2811
+ */
2812
+ name: string;
2813
+ /**
2814
+ *
2815
+ * @type {number}
2816
+ * @memberof BillingProductDetailResponseData
2817
+ */
2818
+ price: number;
2819
+ /**
2820
+ *
2821
+ * @type {string}
2822
+ * @memberof BillingProductDetailResponseData
2823
+ */
2824
+ productId: string;
2825
+ /**
2826
+ *
2827
+ * @type {number}
2828
+ * @memberof BillingProductDetailResponseData
2829
+ */
2830
+ quantity: number;
2831
+ /**
2832
+ *
2833
+ * @type {Date}
2834
+ * @memberof BillingProductDetailResponseData
2835
+ */
2836
+ updatedAt: Date;
2837
+ }
2838
+
2839
+ export declare function BillingProductDetailResponseDataFromJSON(json: any): BillingProductDetailResponseData;
2840
+
2841
+ export declare function BillingProductDetailResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingProductDetailResponseData;
2842
+
2843
+ export declare function BillingProductDetailResponseDataToJSON(value?: BillingProductDetailResponseData | null): any;
2844
+
2718
2845
  /**
2719
2846
  * Schematic API
2720
2847
  * Schematic API
@@ -3522,6 +3649,12 @@ export declare function CompanyCrmDealsResponseDataToJSON(value?: CompanyCrmDeal
3522
3649
  * @interface CompanyDetailResponseData
3523
3650
  */
3524
3651
  export declare interface CompanyDetailResponseData {
3652
+ /**
3653
+ *
3654
+ * @type {Array<PreviewObject>}
3655
+ * @memberof CompanyDetailResponseData
3656
+ */
3657
+ addOns: Array<PreviewObject>;
3525
3658
  /**
3526
3659
  *
3527
3660
  * @type {Date}
@@ -3570,6 +3703,12 @@ export declare interface CompanyDetailResponseData {
3570
3703
  * @memberof CompanyDetailResponseData
3571
3704
  */
3572
3705
  name: string;
3706
+ /**
3707
+ *
3708
+ * @type {PreviewObject}
3709
+ * @memberof CompanyDetailResponseData
3710
+ */
3711
+ plan?: PreviewObject;
3573
3712
  /**
3574
3713
  *
3575
3714
  * @type {Array<PreviewObject>}
@@ -5391,95 +5530,6 @@ export declare function CountFeatureUsersResponseFromJSONTyped(json: any, ignore
5391
5530
 
5392
5531
  export declare function CountFeatureUsersResponseToJSON(value?: CountFeatureUsersResponse | null): any;
5393
5532
 
5394
- /**
5395
- * Schematic API
5396
- * Schematic API
5397
- *
5398
- * The version of the OpenAPI document: 0.1
5399
- *
5400
- *
5401
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5402
- * https://openapi-generator.tech
5403
- * Do not edit the class manually.
5404
- */
5405
- /**
5406
- * Input parameters
5407
- * @export
5408
- * @interface CountFlagChecksParams
5409
- */
5410
- export declare interface CountFlagChecksParams {
5411
- /**
5412
- *
5413
- * @type {string}
5414
- * @memberof CountFlagChecksParams
5415
- */
5416
- flagId?: string;
5417
- /**
5418
- *
5419
- * @type {Array<string>}
5420
- * @memberof CountFlagChecksParams
5421
- */
5422
- flagIds?: Array<string>;
5423
- /**
5424
- *
5425
- * @type {string}
5426
- * @memberof CountFlagChecksParams
5427
- */
5428
- id?: string;
5429
- /**
5430
- * Page limit (default 100)
5431
- * @type {number}
5432
- * @memberof CountFlagChecksParams
5433
- */
5434
- limit?: number;
5435
- /**
5436
- * Page offset (default 0)
5437
- * @type {number}
5438
- * @memberof CountFlagChecksParams
5439
- */
5440
- offset?: number;
5441
- }
5442
-
5443
- export declare function CountFlagChecksParamsFromJSON(json: any): CountFlagChecksParams;
5444
-
5445
- export declare function CountFlagChecksParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountFlagChecksParams;
5446
-
5447
- export declare function CountFlagChecksParamsToJSON(value?: CountFlagChecksParams | null): any;
5448
-
5449
- export declare interface CountFlagChecksRequest {
5450
- flagId?: string;
5451
- flagIds?: Array<string>;
5452
- id?: string;
5453
- limit?: number;
5454
- offset?: number;
5455
- }
5456
-
5457
- /**
5458
- *
5459
- * @export
5460
- * @interface CountFlagChecksResponse
5461
- */
5462
- export declare interface CountFlagChecksResponse {
5463
- /**
5464
- *
5465
- * @type {CountResponse}
5466
- * @memberof CountFlagChecksResponse
5467
- */
5468
- data: CountResponse;
5469
- /**
5470
- *
5471
- * @type {CountFlagChecksParams}
5472
- * @memberof CountFlagChecksResponse
5473
- */
5474
- params: CountFlagChecksParams;
5475
- }
5476
-
5477
- export declare function CountFlagChecksResponseFromJSON(json: any): CountFlagChecksResponse;
5478
-
5479
- export declare function CountFlagChecksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountFlagChecksResponse;
5480
-
5481
- export declare function CountFlagChecksResponseToJSON(value?: CountFlagChecksResponse | null): any;
5482
-
5483
5533
  /**
5484
5534
  * Schematic API
5485
5535
  * Schematic API
@@ -6202,6 +6252,55 @@ export declare function CreateBillingCustomerRequestBodyFromJSONTyped(json: any,
6202
6252
 
6203
6253
  export declare function CreateBillingCustomerRequestBodyToJSON(value?: CreateBillingCustomerRequestBody | null): any;
6204
6254
 
6255
+ /**
6256
+ * Schematic API
6257
+ * Schematic API
6258
+ *
6259
+ * The version of the OpenAPI document: 0.1
6260
+ *
6261
+ *
6262
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6263
+ * https://openapi-generator.tech
6264
+ * Do not edit the class manually.
6265
+ */
6266
+ /**
6267
+ *
6268
+ * @export
6269
+ * @interface CreateBillingPriceRequestBody
6270
+ */
6271
+ export declare interface CreateBillingPriceRequestBody {
6272
+ /**
6273
+ *
6274
+ * @type {string}
6275
+ * @memberof CreateBillingPriceRequestBody
6276
+ */
6277
+ interval: string;
6278
+ /**
6279
+ *
6280
+ * @type {number}
6281
+ * @memberof CreateBillingPriceRequestBody
6282
+ */
6283
+ price: number;
6284
+ /**
6285
+ *
6286
+ * @type {string}
6287
+ * @memberof CreateBillingPriceRequestBody
6288
+ */
6289
+ priceExternalId: string;
6290
+ /**
6291
+ *
6292
+ * @type {string}
6293
+ * @memberof CreateBillingPriceRequestBody
6294
+ */
6295
+ productExternalId: string;
6296
+ }
6297
+
6298
+ export declare function CreateBillingPriceRequestBodyFromJSON(json: any): CreateBillingPriceRequestBody;
6299
+
6300
+ export declare function CreateBillingPriceRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBillingPriceRequestBody;
6301
+
6302
+ export declare function CreateBillingPriceRequestBodyToJSON(value?: CreateBillingPriceRequestBody | null): any;
6303
+
6205
6304
  /**
6206
6305
  * Schematic API
6207
6306
  * Schematic API
@@ -7769,12 +7868,8 @@ export declare function CreatePlanRequestBodyFromJSONTyped(json: any, ignoreDisc
7769
7868
  * @export
7770
7869
  */
7771
7870
  export declare const CreatePlanRequestBodyPlanTypeEnum: {
7772
- readonly Product: "product";
7773
- readonly PricingPlan: "pricing_plan";
7871
+ readonly Plan: "plan";
7774
7872
  readonly AddOn: "add_on";
7775
- readonly Overage: "overage";
7776
- readonly BillableMetric: "billable_metric";
7777
- readonly Other: "other";
7778
7873
  };
7779
7874
 
7780
7875
  export declare type CreatePlanRequestBodyPlanTypeEnum = (typeof CreatePlanRequestBodyPlanTypeEnum)[keyof typeof CreatePlanRequestBodyPlanTypeEnum];
@@ -9537,7 +9632,7 @@ export declare function EnvironmentDetailResponseDataToJSON(value?: EnvironmentD
9537
9632
  * Do not edit the class manually.
9538
9633
  */
9539
9634
  /**
9540
- *
9635
+ * The updated resource
9541
9636
  * @export
9542
9637
  * @interface EnvironmentResponseData
9543
9638
  */
@@ -10457,7 +10552,7 @@ export declare interface FeatureDetailResponseData {
10457
10552
  * @type {string}
10458
10553
  * @memberof FeatureDetailResponseData
10459
10554
  */
10460
- icon?: string;
10555
+ icon: string;
10461
10556
  /**
10462
10557
  *
10463
10558
  * @type {string}
@@ -10560,7 +10655,7 @@ export declare interface FeatureResponseData {
10560
10655
  * @type {string}
10561
10656
  * @memberof FeatureResponseData
10562
10657
  */
10563
- icon?: string;
10658
+ icon: string;
10564
10659
  /**
10565
10660
  *
10566
10661
  * @type {string}
@@ -10649,14 +10744,6 @@ export declare class FeaturesApi extends runtime.BaseAPI {
10649
10744
  * Count features
10650
10745
  */
10651
10746
  countFeatures(requestParameters?: CountFeaturesRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<CountFeaturesResponse>;
10652
- /**
10653
- * Count flag checks
10654
- */
10655
- countFlagChecksRaw(requestParameters: CountFlagChecksRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CountFlagChecksResponse>>;
10656
- /**
10657
- * Count flag checks
10658
- */
10659
- countFlagChecks(requestParameters?: CountFlagChecksRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<CountFlagChecksResponse>;
10660
10747
  /**
10661
10748
  * Count flags
10662
10749
  */
@@ -10713,22 +10800,6 @@ export declare class FeaturesApi extends runtime.BaseAPI {
10713
10800
  * Get flag
10714
10801
  */
10715
10802
  getFlag(requestParameters: GetFlagRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<GetFlagResponse>;
10716
- /**
10717
- * Get flag check
10718
- */
10719
- getFlagCheckRaw(requestParameters: GetFlagCheckRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetFlagCheckResponse>>;
10720
- /**
10721
- * Get flag check
10722
- */
10723
- getFlagCheck(requestParameters: GetFlagCheckRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<GetFlagCheckResponse>;
10724
- /**
10725
- * Get latest flag checks
10726
- */
10727
- getLatestFlagChecksRaw(requestParameters: GetLatestFlagChecksRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetLatestFlagChecksResponse>>;
10728
- /**
10729
- * Get latest flag checks
10730
- */
10731
- getLatestFlagChecks(requestParameters?: GetLatestFlagChecksRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<GetLatestFlagChecksResponse>;
10732
10803
  /**
10733
10804
  * List audience companies
10734
10805
  */
@@ -10753,14 +10824,6 @@ export declare class FeaturesApi extends runtime.BaseAPI {
10753
10824
  * List features
10754
10825
  */
10755
10826
  listFeatures(requestParameters?: ListFeaturesRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListFeaturesResponse>;
10756
- /**
10757
- * List flag checks
10758
- */
10759
- listFlagChecksRaw(requestParameters: ListFlagChecksRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListFlagChecksResponse>>;
10760
- /**
10761
- * List flag checks
10762
- */
10763
- listFlagChecks(requestParameters?: ListFlagChecksRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListFlagChecksResponse>;
10764
10827
  /**
10765
10828
  * List flags
10766
10829
  */
@@ -10911,276 +10974,19 @@ export declare interface FetchParams {
10911
10974
  /**
10912
10975
  *
10913
10976
  * @export
10914
- * @interface FlagCheckLogDetailResponseData
10977
+ * @interface FlagDetailResponseData
10915
10978
  */
10916
- export declare interface FlagCheckLogDetailResponseData {
10979
+ export declare interface FlagDetailResponseData {
10917
10980
  /**
10918
10981
  *
10919
- * @type {string}
10920
- * @memberof FlagCheckLogDetailResponseData
10982
+ * @type {Date}
10983
+ * @memberof FlagDetailResponseData
10921
10984
  */
10922
- checkStatus: string;
10985
+ createdAt: Date;
10923
10986
  /**
10924
10987
  *
10925
- * @type {CompanyResponseData}
10926
- * @memberof FlagCheckLogDetailResponseData
10927
- */
10928
- company?: CompanyResponseData;
10929
- /**
10930
- *
10931
- * @type {string}
10932
- * @memberof FlagCheckLogDetailResponseData
10933
- */
10934
- companyId?: string;
10935
- /**
10936
- *
10937
- * @type {Date}
10938
- * @memberof FlagCheckLogDetailResponseData
10939
- */
10940
- createdAt: Date;
10941
- /**
10942
- *
10943
- * @type {EnvironmentResponseData}
10944
- * @memberof FlagCheckLogDetailResponseData
10945
- */
10946
- environment?: EnvironmentResponseData;
10947
- /**
10948
- *
10949
- * @type {string}
10950
- * @memberof FlagCheckLogDetailResponseData
10951
- */
10952
- environmentId: string;
10953
- /**
10954
- *
10955
- * @type {string}
10956
- * @memberof FlagCheckLogDetailResponseData
10957
- */
10958
- error?: string;
10959
- /**
10960
- *
10961
- * @type {FlagResponseData}
10962
- * @memberof FlagCheckLogDetailResponseData
10963
- */
10964
- flag?: FlagResponseData;
10965
- /**
10966
- *
10967
- * @type {string}
10968
- * @memberof FlagCheckLogDetailResponseData
10969
- */
10970
- flagId?: string;
10971
- /**
10972
- *
10973
- * @type {string}
10974
- * @memberof FlagCheckLogDetailResponseData
10975
- */
10976
- flagKey: string;
10977
- /**
10978
- *
10979
- * @type {string}
10980
- * @memberof FlagCheckLogDetailResponseData
10981
- */
10982
- id: string;
10983
- /**
10984
- *
10985
- * @type {string}
10986
- * @memberof FlagCheckLogDetailResponseData
10987
- */
10988
- reason: string;
10989
- /**
10990
- *
10991
- * @type {{ [key: string]: string; }}
10992
- * @memberof FlagCheckLogDetailResponseData
10993
- */
10994
- reqCompany?: {
10995
- [key: string]: string;
10996
- };
10997
- /**
10998
- *
10999
- * @type {{ [key: string]: string; }}
11000
- * @memberof FlagCheckLogDetailResponseData
11001
- */
11002
- reqUser?: {
11003
- [key: string]: string;
11004
- };
11005
- /**
11006
- *
11007
- * @type {RuleResponseData}
11008
- * @memberof FlagCheckLogDetailResponseData
11009
- */
11010
- rule?: RuleResponseData;
11011
- /**
11012
- *
11013
- * @type {string}
11014
- * @memberof FlagCheckLogDetailResponseData
11015
- */
11016
- ruleId?: string;
11017
- /**
11018
- *
11019
- * @type {Date}
11020
- * @memberof FlagCheckLogDetailResponseData
11021
- */
11022
- updatedAt: Date;
11023
- /**
11024
- *
11025
- * @type {UserResponseData}
11026
- * @memberof FlagCheckLogDetailResponseData
11027
- */
11028
- user?: UserResponseData;
11029
- /**
11030
- *
11031
- * @type {string}
11032
- * @memberof FlagCheckLogDetailResponseData
11033
- */
11034
- userId?: string;
11035
- /**
11036
- *
11037
- * @type {boolean}
11038
- * @memberof FlagCheckLogDetailResponseData
11039
- */
11040
- value: boolean;
11041
- }
11042
-
11043
- export declare function FlagCheckLogDetailResponseDataFromJSON(json: any): FlagCheckLogDetailResponseData;
11044
-
11045
- export declare function FlagCheckLogDetailResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagCheckLogDetailResponseData;
11046
-
11047
- export declare function FlagCheckLogDetailResponseDataToJSON(value?: FlagCheckLogDetailResponseData | null): any;
11048
-
11049
- /**
11050
- * Schematic API
11051
- * Schematic API
11052
- *
11053
- * The version of the OpenAPI document: 0.1
11054
- *
11055
- *
11056
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11057
- * https://openapi-generator.tech
11058
- * Do not edit the class manually.
11059
- */
11060
- /**
11061
- *
11062
- * @export
11063
- * @interface FlagCheckLogResponseData
11064
- */
11065
- export declare interface FlagCheckLogResponseData {
11066
- /**
11067
- *
11068
- * @type {string}
11069
- * @memberof FlagCheckLogResponseData
11070
- */
11071
- checkStatus: string;
11072
- /**
11073
- *
11074
- * @type {string}
11075
- * @memberof FlagCheckLogResponseData
11076
- */
11077
- companyId?: string;
11078
- /**
11079
- *
11080
- * @type {Date}
11081
- * @memberof FlagCheckLogResponseData
11082
- */
11083
- createdAt: Date;
11084
- /**
11085
- *
11086
- * @type {string}
11087
- * @memberof FlagCheckLogResponseData
11088
- */
11089
- environmentId: string;
11090
- /**
11091
- *
11092
- * @type {string}
11093
- * @memberof FlagCheckLogResponseData
11094
- */
11095
- error?: string;
11096
- /**
11097
- *
11098
- * @type {string}
11099
- * @memberof FlagCheckLogResponseData
11100
- */
11101
- flagId?: string;
11102
- /**
11103
- *
11104
- * @type {string}
11105
- * @memberof FlagCheckLogResponseData
11106
- */
11107
- flagKey: string;
11108
- /**
11109
- *
11110
- * @type {string}
11111
- * @memberof FlagCheckLogResponseData
11112
- */
11113
- id: string;
11114
- /**
11115
- *
11116
- * @type {string}
11117
- * @memberof FlagCheckLogResponseData
11118
- */
11119
- reason: string;
11120
- /**
11121
- *
11122
- * @type {{ [key: string]: string; }}
11123
- * @memberof FlagCheckLogResponseData
11124
- */
11125
- reqCompany?: {
11126
- [key: string]: string;
11127
- };
11128
- /**
11129
- *
11130
- * @type {{ [key: string]: string; }}
11131
- * @memberof FlagCheckLogResponseData
11132
- */
11133
- reqUser?: {
11134
- [key: string]: string;
11135
- };
11136
- /**
11137
- *
11138
- * @type {string}
11139
- * @memberof FlagCheckLogResponseData
11140
- */
11141
- ruleId?: string;
11142
- /**
11143
- *
11144
- * @type {Date}
11145
- * @memberof FlagCheckLogResponseData
11146
- */
11147
- updatedAt: Date;
11148
- /**
11149
- *
11150
- * @type {string}
11151
- * @memberof FlagCheckLogResponseData
11152
- */
11153
- userId?: string;
11154
- /**
11155
- *
11156
- * @type {boolean}
11157
- * @memberof FlagCheckLogResponseData
11158
- */
11159
- value: boolean;
11160
- }
11161
-
11162
- export declare function FlagCheckLogResponseDataFromJSON(json: any): FlagCheckLogResponseData;
11163
-
11164
- export declare function FlagCheckLogResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlagCheckLogResponseData;
11165
-
11166
- export declare function FlagCheckLogResponseDataToJSON(value?: FlagCheckLogResponseData | null): any;
11167
-
11168
- /**
11169
- *
11170
- * @export
11171
- * @interface FlagDetailResponseData
11172
- */
11173
- export declare interface FlagDetailResponseData {
11174
- /**
11175
- *
11176
- * @type {Date}
11177
- * @memberof FlagDetailResponseData
11178
- */
11179
- createdAt: Date;
11180
- /**
11181
- *
11182
- * @type {boolean}
11183
- * @memberof FlagDetailResponseData
10988
+ * @type {boolean}
10989
+ * @memberof FlagDetailResponseData
11184
10990
  */
11185
10991
  defaultValue: boolean;
11186
10992
  /**
@@ -11225,12 +11031,6 @@ export declare interface FlagDetailResponseData {
11225
11031
  * @memberof FlagDetailResponseData
11226
11032
  */
11227
11033
  lastCheckedAt?: Date;
11228
- /**
11229
- *
11230
- * @type {FlagCheckLogResponseData}
11231
- * @memberof FlagDetailResponseData
11232
- */
11233
- latestCheck?: FlagCheckLogResponseData;
11234
11034
  /**
11235
11035
  *
11236
11036
  * @type {string}
@@ -12060,36 +11860,6 @@ export declare function GetFeatureUsageByCompanyResponseFromJSONTyped(json: any,
12060
11860
 
12061
11861
  export declare function GetFeatureUsageByCompanyResponseToJSON(value?: GetFeatureUsageByCompanyResponse | null): any;
12062
11862
 
12063
- export declare interface GetFlagCheckRequest {
12064
- flagCheckId: string;
12065
- }
12066
-
12067
- /**
12068
- *
12069
- * @export
12070
- * @interface GetFlagCheckResponse
12071
- */
12072
- export declare interface GetFlagCheckResponse {
12073
- /**
12074
- *
12075
- * @type {FlagCheckLogDetailResponseData}
12076
- * @memberof GetFlagCheckResponse
12077
- */
12078
- data: FlagCheckLogDetailResponseData;
12079
- /**
12080
- * Input parameters
12081
- * @type {object}
12082
- * @memberof GetFlagCheckResponse
12083
- */
12084
- params: object;
12085
- }
12086
-
12087
- export declare function GetFlagCheckResponseFromJSON(json: any): GetFlagCheckResponse;
12088
-
12089
- export declare function GetFlagCheckResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFlagCheckResponse;
12090
-
12091
- export declare function GetFlagCheckResponseToJSON(value?: GetFlagCheckResponse | null): any;
12092
-
12093
11863
  export declare interface GetFlagRequest {
12094
11864
  flagId: string;
12095
11865
  }
@@ -12120,95 +11890,6 @@ export declare function GetFlagResponseFromJSONTyped(json: any, ignoreDiscrimina
12120
11890
 
12121
11891
  export declare function GetFlagResponseToJSON(value?: GetFlagResponse | null): any;
12122
11892
 
12123
- /**
12124
- * Schematic API
12125
- * Schematic API
12126
- *
12127
- * The version of the OpenAPI document: 0.1
12128
- *
12129
- *
12130
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12131
- * https://openapi-generator.tech
12132
- * Do not edit the class manually.
12133
- */
12134
- /**
12135
- * Input parameters
12136
- * @export
12137
- * @interface GetLatestFlagChecksParams
12138
- */
12139
- export declare interface GetLatestFlagChecksParams {
12140
- /**
12141
- *
12142
- * @type {string}
12143
- * @memberof GetLatestFlagChecksParams
12144
- */
12145
- flagId?: string;
12146
- /**
12147
- *
12148
- * @type {Array<string>}
12149
- * @memberof GetLatestFlagChecksParams
12150
- */
12151
- flagIds?: Array<string>;
12152
- /**
12153
- *
12154
- * @type {string}
12155
- * @memberof GetLatestFlagChecksParams
12156
- */
12157
- id?: string;
12158
- /**
12159
- * Page limit (default 100)
12160
- * @type {number}
12161
- * @memberof GetLatestFlagChecksParams
12162
- */
12163
- limit?: number;
12164
- /**
12165
- * Page offset (default 0)
12166
- * @type {number}
12167
- * @memberof GetLatestFlagChecksParams
12168
- */
12169
- offset?: number;
12170
- }
12171
-
12172
- export declare function GetLatestFlagChecksParamsFromJSON(json: any): GetLatestFlagChecksParams;
12173
-
12174
- export declare function GetLatestFlagChecksParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetLatestFlagChecksParams;
12175
-
12176
- export declare function GetLatestFlagChecksParamsToJSON(value?: GetLatestFlagChecksParams | null): any;
12177
-
12178
- export declare interface GetLatestFlagChecksRequest {
12179
- flagId?: string;
12180
- flagIds?: Array<string>;
12181
- id?: string;
12182
- limit?: number;
12183
- offset?: number;
12184
- }
12185
-
12186
- /**
12187
- *
12188
- * @export
12189
- * @interface GetLatestFlagChecksResponse
12190
- */
12191
- export declare interface GetLatestFlagChecksResponse {
12192
- /**
12193
- * The returned resources
12194
- * @type {Array<FlagCheckLogResponseData>}
12195
- * @memberof GetLatestFlagChecksResponse
12196
- */
12197
- data: Array<FlagCheckLogResponseData>;
12198
- /**
12199
- *
12200
- * @type {GetLatestFlagChecksParams}
12201
- * @memberof GetLatestFlagChecksResponse
12202
- */
12203
- params: GetLatestFlagChecksParams;
12204
- }
12205
-
12206
- export declare function GetLatestFlagChecksResponseFromJSON(json: any): GetLatestFlagChecksResponse;
12207
-
12208
- export declare function GetLatestFlagChecksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetLatestFlagChecksResponse;
12209
-
12210
- export declare function GetLatestFlagChecksResponseToJSON(value?: GetLatestFlagChecksResponse | null): any;
12211
-
12212
11893
  export declare interface GetOrCreateCompanyMembershipRequest {
12213
11894
  getOrCreateCompanyMembershipRequestBody: GetOrCreateCompanyMembershipRequestBody;
12214
11895
  }
@@ -12583,6 +12264,16 @@ export declare function instanceOfBillingCustomerSubscription(value: object): va
12583
12264
  */
12584
12265
  export declare function instanceOfBillingCustomerWithSubscriptionsResponseData(value: object): value is BillingCustomerWithSubscriptionsResponseData;
12585
12266
 
12267
+ /**
12268
+ * Check if a given object implements the BillingPriceResponseData interface.
12269
+ */
12270
+ export declare function instanceOfBillingPriceResponseData(value: object): value is BillingPriceResponseData;
12271
+
12272
+ /**
12273
+ * Check if a given object implements the BillingProductDetailResponseData interface.
12274
+ */
12275
+ export declare function instanceOfBillingProductDetailResponseData(value: object): value is BillingProductDetailResponseData;
12276
+
12586
12277
  /**
12587
12278
  * Check if a given object implements the BillingProductPlanResponseData interface.
12588
12279
  */
@@ -12813,16 +12504,6 @@ export declare function instanceOfCountFeatureUsersParams(value: object): value
12813
12504
  */
12814
12505
  export declare function instanceOfCountFeatureUsersResponse(value: object): value is CountFeatureUsersResponse;
12815
12506
 
12816
- /**
12817
- * Check if a given object implements the CountFlagChecksParams interface.
12818
- */
12819
- export declare function instanceOfCountFlagChecksParams(value: object): value is CountFlagChecksParams;
12820
-
12821
- /**
12822
- * Check if a given object implements the CountFlagChecksResponse interface.
12823
- */
12824
- export declare function instanceOfCountFlagChecksResponse(value: object): value is CountFlagChecksResponse;
12825
-
12826
12507
  /**
12827
12508
  * Check if a given object implements the CountFlagsParams interface.
12828
12509
  */
@@ -12903,6 +12584,11 @@ export declare function instanceOfCreateApiKeyResponse(value: object): value is
12903
12584
  */
12904
12585
  export declare function instanceOfCreateBillingCustomerRequestBody(value: object): value is CreateBillingCustomerRequestBody;
12905
12586
 
12587
+ /**
12588
+ * Check if a given object implements the CreateBillingPriceRequestBody interface.
12589
+ */
12590
+ export declare function instanceOfCreateBillingPriceRequestBody(value: object): value is CreateBillingPriceRequestBody;
12591
+
12906
12592
  /**
12907
12593
  * Check if a given object implements the CreateBillingProductRequestBody interface.
12908
12594
  */
@@ -13283,16 +12969,6 @@ export declare function instanceOfFeatureUsageDetailResponseData(value: object):
13283
12969
  */
13284
12970
  export declare function instanceOfFeatureUsageResponseData(value: object): value is FeatureUsageResponseData;
13285
12971
 
13286
- /**
13287
- * Check if a given object implements the FlagCheckLogDetailResponseData interface.
13288
- */
13289
- export declare function instanceOfFlagCheckLogDetailResponseData(value: object): value is FlagCheckLogDetailResponseData;
13290
-
13291
- /**
13292
- * Check if a given object implements the FlagCheckLogResponseData interface.
13293
- */
13294
- export declare function instanceOfFlagCheckLogResponseData(value: object): value is FlagCheckLogResponseData;
13295
-
13296
12972
  /**
13297
12973
  * Check if a given object implements the FlagDetailResponseData interface.
13298
12974
  */
@@ -13408,26 +13084,11 @@ export declare function instanceOfGetFeatureUsageByCompanyParams(value: object):
13408
13084
  */
13409
13085
  export declare function instanceOfGetFeatureUsageByCompanyResponse(value: object): value is GetFeatureUsageByCompanyResponse;
13410
13086
 
13411
- /**
13412
- * Check if a given object implements the GetFlagCheckResponse interface.
13413
- */
13414
- export declare function instanceOfGetFlagCheckResponse(value: object): value is GetFlagCheckResponse;
13415
-
13416
13087
  /**
13417
13088
  * Check if a given object implements the GetFlagResponse interface.
13418
13089
  */
13419
13090
  export declare function instanceOfGetFlagResponse(value: object): value is GetFlagResponse;
13420
13091
 
13421
- /**
13422
- * Check if a given object implements the GetLatestFlagChecksParams interface.
13423
- */
13424
- export declare function instanceOfGetLatestFlagChecksParams(value: object): value is GetLatestFlagChecksParams;
13425
-
13426
- /**
13427
- * Check if a given object implements the GetLatestFlagChecksResponse interface.
13428
- */
13429
- export declare function instanceOfGetLatestFlagChecksResponse(value: object): value is GetLatestFlagChecksResponse;
13430
-
13431
13092
  /**
13432
13093
  * Check if a given object implements the GetOrCreateCompanyMembershipRequestBody interface.
13433
13094
  */
@@ -13528,6 +13189,16 @@ export declare function instanceOfListAudienceCompaniesResponse(value: object):
13528
13189
  */
13529
13190
  export declare function instanceOfListAudienceUsersResponse(value: object): value is ListAudienceUsersResponse;
13530
13191
 
13192
+ /**
13193
+ * Check if a given object implements the ListBillingProductsParams interface.
13194
+ */
13195
+ export declare function instanceOfListBillingProductsParams(value: object): value is ListBillingProductsParams;
13196
+
13197
+ /**
13198
+ * Check if a given object implements the ListBillingProductsResponse interface.
13199
+ */
13200
+ export declare function instanceOfListBillingProductsResponse(value: object): value is ListBillingProductsResponse;
13201
+
13531
13202
  /**
13532
13203
  * Check if a given object implements the ListCompaniesParams interface.
13533
13204
  */
@@ -13678,16 +13349,6 @@ export declare function instanceOfListFeatureUsersParams(value: object): value i
13678
13349
  */
13679
13350
  export declare function instanceOfListFeatureUsersResponse(value: object): value is ListFeatureUsersResponse;
13680
13351
 
13681
- /**
13682
- * Check if a given object implements the ListFlagChecksParams interface.
13683
- */
13684
- export declare function instanceOfListFlagChecksParams(value: object): value is ListFlagChecksParams;
13685
-
13686
- /**
13687
- * Check if a given object implements the ListFlagChecksResponse interface.
13688
- */
13689
- export declare function instanceOfListFlagChecksResponse(value: object): value is ListFlagChecksResponse;
13690
-
13691
13352
  /**
13692
13353
  * Check if a given object implements the ListFlagsParams interface.
13693
13354
  */
@@ -13729,14 +13390,14 @@ export declare function instanceOfListPlansParams(value: object): value is ListP
13729
13390
  export declare function instanceOfListPlansResponse(value: object): value is ListPlansResponse;
13730
13391
 
13731
13392
  /**
13732
- * Check if a given object implements the ListProductsParams interface.
13393
+ * Check if a given object implements the ListProductPricesParams interface.
13733
13394
  */
13734
- export declare function instanceOfListProductsParams(value: object): value is ListProductsParams;
13395
+ export declare function instanceOfListProductPricesParams(value: object): value is ListProductPricesParams;
13735
13396
 
13736
13397
  /**
13737
- * Check if a given object implements the ListProductsResponse interface.
13398
+ * Check if a given object implements the ListProductPricesResponse interface.
13738
13399
  */
13739
- export declare function instanceOfListProductsResponse(value: object): value is ListProductsResponse;
13400
+ export declare function instanceOfListProductPricesResponse(value: object): value is ListProductPricesResponse;
13740
13401
 
13741
13402
  /**
13742
13403
  * Check if a given object implements the ListUsersParams interface.
@@ -14018,6 +13679,11 @@ export declare function instanceOfUpdateWebhookResponse(value: object): value is
14018
13679
  */
14019
13680
  export declare function instanceOfUpsertBillingCustomerResponse(value: object): value is UpsertBillingCustomerResponse;
14020
13681
 
13682
+ /**
13683
+ * Check if a given object implements the UpsertBillingPriceResponse interface.
13684
+ */
13685
+ export declare function instanceOfUpsertBillingPriceResponse(value: object): value is UpsertBillingPriceResponse;
13686
+
14021
13687
  /**
14022
13688
  * Check if a given object implements the UpsertBillingProductPlanResponse interface.
14023
13689
  */
@@ -14538,6 +14204,95 @@ export declare function ListAudienceUsersResponseFromJSONTyped(json: any, ignore
14538
14204
 
14539
14205
  export declare function ListAudienceUsersResponseToJSON(value?: ListAudienceUsersResponse | null): any;
14540
14206
 
14207
+ /**
14208
+ * Schematic API
14209
+ * Schematic API
14210
+ *
14211
+ * The version of the OpenAPI document: 0.1
14212
+ *
14213
+ *
14214
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14215
+ * https://openapi-generator.tech
14216
+ * Do not edit the class manually.
14217
+ */
14218
+ /**
14219
+ * Input parameters
14220
+ * @export
14221
+ * @interface ListBillingProductsParams
14222
+ */
14223
+ export declare interface ListBillingProductsParams {
14224
+ /**
14225
+ *
14226
+ * @type {Array<string>}
14227
+ * @memberof ListBillingProductsParams
14228
+ */
14229
+ ids?: Array<string>;
14230
+ /**
14231
+ * Page limit (default 100)
14232
+ * @type {number}
14233
+ * @memberof ListBillingProductsParams
14234
+ */
14235
+ limit?: number;
14236
+ /**
14237
+ *
14238
+ * @type {string}
14239
+ * @memberof ListBillingProductsParams
14240
+ */
14241
+ name?: string;
14242
+ /**
14243
+ * Page offset (default 0)
14244
+ * @type {number}
14245
+ * @memberof ListBillingProductsParams
14246
+ */
14247
+ offset?: number;
14248
+ /**
14249
+ *
14250
+ * @type {string}
14251
+ * @memberof ListBillingProductsParams
14252
+ */
14253
+ q?: string;
14254
+ }
14255
+
14256
+ export declare function ListBillingProductsParamsFromJSON(json: any): ListBillingProductsParams;
14257
+
14258
+ export declare function ListBillingProductsParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBillingProductsParams;
14259
+
14260
+ export declare function ListBillingProductsParamsToJSON(value?: ListBillingProductsParams | null): any;
14261
+
14262
+ export declare interface ListBillingProductsRequest {
14263
+ ids?: Array<string>;
14264
+ name?: string;
14265
+ q?: string;
14266
+ limit?: number;
14267
+ offset?: number;
14268
+ }
14269
+
14270
+ /**
14271
+ *
14272
+ * @export
14273
+ * @interface ListBillingProductsResponse
14274
+ */
14275
+ export declare interface ListBillingProductsResponse {
14276
+ /**
14277
+ * The returned resources
14278
+ * @type {Array<BillingProductDetailResponseData>}
14279
+ * @memberof ListBillingProductsResponse
14280
+ */
14281
+ data: Array<BillingProductDetailResponseData>;
14282
+ /**
14283
+ *
14284
+ * @type {ListBillingProductsParams}
14285
+ * @memberof ListBillingProductsResponse
14286
+ */
14287
+ params: ListBillingProductsParams;
14288
+ }
14289
+
14290
+ export declare function ListBillingProductsResponseFromJSON(json: any): ListBillingProductsResponse;
14291
+
14292
+ export declare function ListBillingProductsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBillingProductsResponse;
14293
+
14294
+ export declare function ListBillingProductsResponseToJSON(value?: ListBillingProductsResponse | null): any;
14295
+
14541
14296
  /**
14542
14297
  * Schematic API
14543
14298
  * Schematic API
@@ -15945,95 +15700,6 @@ export declare function ListFeatureUsersResponseFromJSONTyped(json: any, ignoreD
15945
15700
 
15946
15701
  export declare function ListFeatureUsersResponseToJSON(value?: ListFeatureUsersResponse | null): any;
15947
15702
 
15948
- /**
15949
- * Schematic API
15950
- * Schematic API
15951
- *
15952
- * The version of the OpenAPI document: 0.1
15953
- *
15954
- *
15955
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15956
- * https://openapi-generator.tech
15957
- * Do not edit the class manually.
15958
- */
15959
- /**
15960
- * Input parameters
15961
- * @export
15962
- * @interface ListFlagChecksParams
15963
- */
15964
- export declare interface ListFlagChecksParams {
15965
- /**
15966
- *
15967
- * @type {string}
15968
- * @memberof ListFlagChecksParams
15969
- */
15970
- flagId?: string;
15971
- /**
15972
- *
15973
- * @type {Array<string>}
15974
- * @memberof ListFlagChecksParams
15975
- */
15976
- flagIds?: Array<string>;
15977
- /**
15978
- *
15979
- * @type {string}
15980
- * @memberof ListFlagChecksParams
15981
- */
15982
- id?: string;
15983
- /**
15984
- * Page limit (default 100)
15985
- * @type {number}
15986
- * @memberof ListFlagChecksParams
15987
- */
15988
- limit?: number;
15989
- /**
15990
- * Page offset (default 0)
15991
- * @type {number}
15992
- * @memberof ListFlagChecksParams
15993
- */
15994
- offset?: number;
15995
- }
15996
-
15997
- export declare function ListFlagChecksParamsFromJSON(json: any): ListFlagChecksParams;
15998
-
15999
- export declare function ListFlagChecksParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListFlagChecksParams;
16000
-
16001
- export declare function ListFlagChecksParamsToJSON(value?: ListFlagChecksParams | null): any;
16002
-
16003
- export declare interface ListFlagChecksRequest {
16004
- flagId?: string;
16005
- flagIds?: Array<string>;
16006
- id?: string;
16007
- limit?: number;
16008
- offset?: number;
16009
- }
16010
-
16011
- /**
16012
- *
16013
- * @export
16014
- * @interface ListFlagChecksResponse
16015
- */
16016
- export declare interface ListFlagChecksResponse {
16017
- /**
16018
- * The returned resources
16019
- * @type {Array<FlagCheckLogDetailResponseData>}
16020
- * @memberof ListFlagChecksResponse
16021
- */
16022
- data: Array<FlagCheckLogDetailResponseData>;
16023
- /**
16024
- *
16025
- * @type {ListFlagChecksParams}
16026
- * @memberof ListFlagChecksResponse
16027
- */
16028
- params: ListFlagChecksParams;
16029
- }
16030
-
16031
- export declare function ListFlagChecksResponseFromJSON(json: any): ListFlagChecksResponse;
16032
-
16033
- export declare function ListFlagChecksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListFlagChecksResponse;
16034
-
16035
- export declare function ListFlagChecksResponseToJSON(value?: ListFlagChecksResponse | null): any;
16036
-
16037
15703
  /**
16038
15704
  * Schematic API
16039
15705
  * Schematic API
@@ -16467,48 +16133,48 @@ export declare function ListPlansResponseToJSON(value?: ListPlansResponse | null
16467
16133
  /**
16468
16134
  * Input parameters
16469
16135
  * @export
16470
- * @interface ListProductsParams
16136
+ * @interface ListProductPricesParams
16471
16137
  */
16472
- export declare interface ListProductsParams {
16138
+ export declare interface ListProductPricesParams {
16473
16139
  /**
16474
16140
  *
16475
16141
  * @type {Array<string>}
16476
- * @memberof ListProductsParams
16142
+ * @memberof ListProductPricesParams
16477
16143
  */
16478
16144
  ids?: Array<string>;
16479
16145
  /**
16480
16146
  * Page limit (default 100)
16481
16147
  * @type {number}
16482
- * @memberof ListProductsParams
16148
+ * @memberof ListProductPricesParams
16483
16149
  */
16484
16150
  limit?: number;
16485
16151
  /**
16486
16152
  *
16487
16153
  * @type {string}
16488
- * @memberof ListProductsParams
16154
+ * @memberof ListProductPricesParams
16489
16155
  */
16490
16156
  name?: string;
16491
16157
  /**
16492
16158
  * Page offset (default 0)
16493
16159
  * @type {number}
16494
- * @memberof ListProductsParams
16160
+ * @memberof ListProductPricesParams
16495
16161
  */
16496
16162
  offset?: number;
16497
16163
  /**
16498
16164
  *
16499
16165
  * @type {string}
16500
- * @memberof ListProductsParams
16166
+ * @memberof ListProductPricesParams
16501
16167
  */
16502
16168
  q?: string;
16503
16169
  }
16504
16170
 
16505
- export declare function ListProductsParamsFromJSON(json: any): ListProductsParams;
16171
+ export declare function ListProductPricesParamsFromJSON(json: any): ListProductPricesParams;
16506
16172
 
16507
- export declare function ListProductsParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProductsParams;
16173
+ export declare function ListProductPricesParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProductPricesParams;
16508
16174
 
16509
- export declare function ListProductsParamsToJSON(value?: ListProductsParams | null): any;
16175
+ export declare function ListProductPricesParamsToJSON(value?: ListProductPricesParams | null): any;
16510
16176
 
16511
- export declare interface ListProductsRequest {
16177
+ export declare interface ListProductPricesRequest {
16512
16178
  ids?: Array<string>;
16513
16179
  name?: string;
16514
16180
  q?: string;
@@ -16519,28 +16185,28 @@ export declare interface ListProductsRequest {
16519
16185
  /**
16520
16186
  *
16521
16187
  * @export
16522
- * @interface ListProductsResponse
16188
+ * @interface ListProductPricesResponse
16523
16189
  */
16524
- export declare interface ListProductsResponse {
16190
+ export declare interface ListProductPricesResponse {
16525
16191
  /**
16526
16192
  * The returned resources
16527
- * @type {Array<BillingProductResponseData>}
16528
- * @memberof ListProductsResponse
16193
+ * @type {Array<BillingPriceResponseData>}
16194
+ * @memberof ListProductPricesResponse
16529
16195
  */
16530
- data: Array<BillingProductResponseData>;
16196
+ data: Array<BillingPriceResponseData>;
16531
16197
  /**
16532
16198
  *
16533
- * @type {ListProductsParams}
16534
- * @memberof ListProductsResponse
16199
+ * @type {ListProductPricesParams}
16200
+ * @memberof ListProductPricesResponse
16535
16201
  */
16536
- params: ListProductsParams;
16202
+ params: ListProductPricesParams;
16537
16203
  }
16538
16204
 
16539
- export declare function ListProductsResponseFromJSON(json: any): ListProductsResponse;
16205
+ export declare function ListProductPricesResponseFromJSON(json: any): ListProductPricesResponse;
16540
16206
 
16541
- export declare function ListProductsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProductsResponse;
16207
+ export declare function ListProductPricesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProductPricesResponse;
16542
16208
 
16543
- export declare function ListProductsResponseToJSON(value?: ListProductsResponse | null): any;
16209
+ export declare function ListProductPricesResponseToJSON(value?: ListProductPricesResponse | null): any;
16544
16210
 
16545
16211
  /**
16546
16212
  * Schematic API
@@ -17244,10 +16910,10 @@ export declare interface PlanDetailResponseData {
17244
16910
  audienceType: string;
17245
16911
  /**
17246
16912
  *
17247
- * @type {Array<BillingProductResponseData>}
16913
+ * @type {BillingProductDetailResponseData}
17248
16914
  * @memberof PlanDetailResponseData
17249
16915
  */
17250
- billingProducts: Array<BillingProductResponseData>;
16916
+ billingProduct?: BillingProductDetailResponseData;
17251
16917
  /**
17252
16918
  *
17253
16919
  * @type {number}
@@ -17277,7 +16943,7 @@ export declare interface PlanDetailResponseData {
17277
16943
  * @type {string}
17278
16944
  * @memberof PlanDetailResponseData
17279
16945
  */
17280
- icon?: string;
16946
+ icon: string;
17281
16947
  /**
17282
16948
  *
17283
16949
  * @type {string}
@@ -17454,7 +17120,7 @@ export declare interface PlanResponseData {
17454
17120
  * @type {string}
17455
17121
  * @memberof PlanResponseData
17456
17122
  */
17457
- icon?: string;
17123
+ icon: string;
17458
17124
  /**
17459
17125
  *
17460
17126
  * @type {string}
@@ -19416,32 +19082,12 @@ export declare interface UpdatePlanRequestBody {
19416
19082
  * @memberof UpdatePlanRequestBody
19417
19083
  */
19418
19084
  name: string;
19419
- /**
19420
- *
19421
- * @type {string}
19422
- * @memberof UpdatePlanRequestBody
19423
- */
19424
- planType?: UpdatePlanRequestBodyPlanTypeEnum;
19425
19085
  }
19426
19086
 
19427
19087
  export declare function UpdatePlanRequestBodyFromJSON(json: any): UpdatePlanRequestBody;
19428
19088
 
19429
19089
  export declare function UpdatePlanRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePlanRequestBody;
19430
19090
 
19431
- /**
19432
- * @export
19433
- */
19434
- export declare const UpdatePlanRequestBodyPlanTypeEnum: {
19435
- readonly Product: "product";
19436
- readonly PricingPlan: "pricing_plan";
19437
- readonly AddOn: "add_on";
19438
- readonly Overage: "overage";
19439
- readonly BillableMetric: "billable_metric";
19440
- readonly Other: "other";
19441
- };
19442
-
19443
- export declare type UpdatePlanRequestBodyPlanTypeEnum = (typeof UpdatePlanRequestBodyPlanTypeEnum)[keyof typeof UpdatePlanRequestBodyPlanTypeEnum];
19444
-
19445
19091
  export declare function UpdatePlanRequestBodyToJSON(value?: UpdatePlanRequestBody | null): any;
19446
19092
 
19447
19093
  /**
@@ -19743,6 +19389,36 @@ export declare function UpsertBillingCustomerResponseFromJSONTyped(json: any, ig
19743
19389
 
19744
19390
  export declare function UpsertBillingCustomerResponseToJSON(value?: UpsertBillingCustomerResponse | null): any;
19745
19391
 
19392
+ export declare interface UpsertBillingPriceRequest {
19393
+ createBillingPriceRequestBody: CreateBillingPriceRequestBody;
19394
+ }
19395
+
19396
+ /**
19397
+ *
19398
+ * @export
19399
+ * @interface UpsertBillingPriceResponse
19400
+ */
19401
+ export declare interface UpsertBillingPriceResponse {
19402
+ /**
19403
+ *
19404
+ * @type {BillingPriceResponseData}
19405
+ * @memberof UpsertBillingPriceResponse
19406
+ */
19407
+ data: BillingPriceResponseData;
19408
+ /**
19409
+ * Input parameters
19410
+ * @type {object}
19411
+ * @memberof UpsertBillingPriceResponse
19412
+ */
19413
+ params: object;
19414
+ }
19415
+
19416
+ export declare function UpsertBillingPriceResponseFromJSON(json: any): UpsertBillingPriceResponse;
19417
+
19418
+ export declare function UpsertBillingPriceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertBillingPriceResponse;
19419
+
19420
+ export declare function UpsertBillingPriceResponseToJSON(value?: UpsertBillingPriceResponse | null): any;
19421
+
19746
19422
  export declare interface UpsertBillingProductPlanRequest {
19747
19423
  upsertBillingProductRequestBody: UpsertBillingProductRequestBody;
19748
19424
  planId: string;