@schematichq/schematic-typescript-node 1.0.18 → 1.0.20

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.
@@ -190,7 +190,10 @@ declare namespace api {
190
190
  UpdateApiKeyRequest,
191
191
  UpdateEnvironmentRequest,
192
192
  AccountsApi,
193
+ CountCustomersRequest,
194
+ ListCustomersRequest,
193
195
  ListProductsRequest,
196
+ UpsertBillingCustomerRequest,
194
197
  UpsertBillingProductRequest,
195
198
  UpsertBillingSubscriptionRequest,
196
199
  BillingApi,
@@ -350,11 +353,31 @@ declare namespace api {
350
353
  AudienceRequestBodyFromJSONTyped,
351
354
  AudienceRequestBodyToJSON,
352
355
  AudienceRequestBody,
356
+ instanceOfBillingCustomerResponseData,
357
+ BillingCustomerResponseDataFromJSON,
358
+ BillingCustomerResponseDataFromJSONTyped,
359
+ BillingCustomerResponseDataToJSON,
360
+ BillingCustomerResponseData,
361
+ instanceOfBillingCustomerSubscription,
362
+ BillingCustomerSubscriptionFromJSON,
363
+ BillingCustomerSubscriptionFromJSONTyped,
364
+ BillingCustomerSubscriptionToJSON,
365
+ BillingCustomerSubscription,
366
+ instanceOfBillingCustomerWithSubscriptionsResponseData,
367
+ BillingCustomerWithSubscriptionsResponseDataFromJSON,
368
+ BillingCustomerWithSubscriptionsResponseDataFromJSONTyped,
369
+ BillingCustomerWithSubscriptionsResponseDataToJSON,
370
+ BillingCustomerWithSubscriptionsResponseData,
353
371
  instanceOfBillingProductPlanResponseData,
354
372
  BillingProductPlanResponseDataFromJSON,
355
373
  BillingProductPlanResponseDataFromJSONTyped,
356
374
  BillingProductPlanResponseDataToJSON,
357
375
  BillingProductPlanResponseData,
376
+ instanceOfBillingProductPricing,
377
+ BillingProductPricingFromJSON,
378
+ BillingProductPricingFromJSONTyped,
379
+ BillingProductPricingToJSON,
380
+ BillingProductPricing,
358
381
  instanceOfBillingProductResponseData,
359
382
  BillingProductResponseDataFromJSON,
360
383
  BillingProductResponseDataFromJSONTyped,
@@ -435,11 +458,11 @@ declare namespace api {
435
458
  CompanySubscriptionResponseDataFromJSONTyped,
436
459
  CompanySubscriptionResponseDataToJSON,
437
460
  CompanySubscriptionResponseData,
438
- instanceOfComponentHydrateView,
439
- ComponentHydrateViewFromJSON,
440
- ComponentHydrateViewFromJSONTyped,
441
- ComponentHydrateViewToJSON,
442
- ComponentHydrateView,
461
+ instanceOfComponentHydrateResponseData,
462
+ ComponentHydrateResponseDataFromJSON,
463
+ ComponentHydrateResponseDataFromJSONTyped,
464
+ ComponentHydrateResponseDataToJSON,
465
+ ComponentHydrateResponseData,
443
466
  instanceOfComponentResponseData,
444
467
  ComponentResponseDataFromJSON,
445
468
  ComponentResponseDataFromJSONTyped,
@@ -505,6 +528,16 @@ declare namespace api {
505
528
  CountComponentsResponseFromJSONTyped,
506
529
  CountComponentsResponseToJSON,
507
530
  CountComponentsResponse,
531
+ instanceOfCountCustomersParams,
532
+ CountCustomersParamsFromJSON,
533
+ CountCustomersParamsFromJSONTyped,
534
+ CountCustomersParamsToJSON,
535
+ CountCustomersParams,
536
+ instanceOfCountCustomersResponse,
537
+ CountCustomersResponseFromJSON,
538
+ CountCustomersResponseFromJSONTyped,
539
+ CountCustomersResponseToJSON,
540
+ CountCustomersResponse,
508
541
  instanceOfCountEntityKeyDefinitionsParams,
509
542
  CountEntityKeyDefinitionsParamsFromJSON,
510
543
  CountEntityKeyDefinitionsParamsFromJSONTyped,
@@ -653,6 +686,11 @@ declare namespace api {
653
686
  CreateApiKeyResponseFromJSONTyped,
654
687
  CreateApiKeyResponseToJSON,
655
688
  CreateApiKeyResponse,
689
+ instanceOfCreateBillingCustomerRequestBody,
690
+ CreateBillingCustomerRequestBodyFromJSON,
691
+ CreateBillingCustomerRequestBodyFromJSONTyped,
692
+ CreateBillingCustomerRequestBodyToJSON,
693
+ CreateBillingCustomerRequestBody,
656
694
  instanceOfCreateBillingProductRequestBody,
657
695
  CreateBillingProductRequestBodyFromJSON,
658
696
  CreateBillingProductRequestBodyFromJSONTyped,
@@ -1358,6 +1396,16 @@ declare namespace api {
1358
1396
  ListCrmProductsResponseFromJSONTyped,
1359
1397
  ListCrmProductsResponseToJSON,
1360
1398
  ListCrmProductsResponse,
1399
+ instanceOfListCustomersParams,
1400
+ ListCustomersParamsFromJSON,
1401
+ ListCustomersParamsFromJSONTyped,
1402
+ ListCustomersParamsToJSON,
1403
+ ListCustomersParams,
1404
+ instanceOfListCustomersResponse,
1405
+ ListCustomersResponseFromJSON,
1406
+ ListCustomersResponseFromJSONTyped,
1407
+ ListCustomersResponseToJSON,
1408
+ ListCustomersResponse,
1361
1409
  instanceOfListEntityKeyDefinitionsParams,
1362
1410
  ListEntityKeyDefinitionsParamsFromJSON,
1363
1411
  ListEntityKeyDefinitionsParamsFromJSONTyped,
@@ -1790,6 +1838,11 @@ declare namespace api {
1790
1838
  UpdateWebhookResponseFromJSONTyped,
1791
1839
  UpdateWebhookResponseToJSON,
1792
1840
  UpdateWebhookResponse,
1841
+ instanceOfUpsertBillingCustomerResponse,
1842
+ UpsertBillingCustomerResponseFromJSON,
1843
+ UpsertBillingCustomerResponseFromJSONTyped,
1844
+ UpsertBillingCustomerResponseToJSON,
1845
+ UpsertBillingCustomerResponse,
1793
1846
  instanceOfUpsertBillingProductPlanResponse,
1794
1847
  UpsertBillingProductPlanResponseFromJSON,
1795
1848
  UpsertBillingProductPlanResponseFromJSONTyped,
@@ -2429,6 +2482,22 @@ export declare class BaseAPI {
2429
2482
  *
2430
2483
  */
2431
2484
  export declare class BillingApi extends runtime.BaseAPI {
2485
+ /**
2486
+ * Count customers
2487
+ */
2488
+ countCustomersRaw(requestParameters: CountCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CountCustomersResponse>>;
2489
+ /**
2490
+ * Count customers
2491
+ */
2492
+ countCustomers(requestParameters?: CountCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<CountCustomersResponse>;
2493
+ /**
2494
+ * List customers
2495
+ */
2496
+ listCustomersRaw(requestParameters: ListCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListCustomersResponse>>;
2497
+ /**
2498
+ * List customers
2499
+ */
2500
+ listCustomers(requestParameters?: ListCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListCustomersResponse>;
2432
2501
  /**
2433
2502
  * List products
2434
2503
  */
@@ -2437,6 +2506,14 @@ export declare class BillingApi extends runtime.BaseAPI {
2437
2506
  * List products
2438
2507
  */
2439
2508
  listProducts(requestParameters?: ListProductsRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListProductsResponse>;
2509
+ /**
2510
+ * Upsert billing customer
2511
+ */
2512
+ upsertBillingCustomerRaw(requestParameters: UpsertBillingCustomerRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpsertBillingCustomerResponse>>;
2513
+ /**
2514
+ * Upsert billing customer
2515
+ */
2516
+ upsertBillingCustomer(requestParameters: UpsertBillingCustomerRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingCustomerResponse>;
2440
2517
  /**
2441
2518
  * Upsert billing product
2442
2519
  */
@@ -2455,6 +2532,184 @@ export declare class BillingApi extends runtime.BaseAPI {
2455
2532
  upsertBillingSubscription(requestParameters: UpsertBillingSubscriptionRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingSubscriptionResponse>;
2456
2533
  }
2457
2534
 
2535
+ /**
2536
+ * Schematic API
2537
+ * Schematic API
2538
+ *
2539
+ * The version of the OpenAPI document: 0.1
2540
+ *
2541
+ *
2542
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2543
+ * https://openapi-generator.tech
2544
+ * Do not edit the class manually.
2545
+ */
2546
+ /**
2547
+ * The created resource
2548
+ * @export
2549
+ * @interface BillingCustomerResponseData
2550
+ */
2551
+ export declare interface BillingCustomerResponseData {
2552
+ /**
2553
+ *
2554
+ * @type {string}
2555
+ * @memberof BillingCustomerResponseData
2556
+ */
2557
+ companyId?: string;
2558
+ /**
2559
+ *
2560
+ * @type {Date}
2561
+ * @memberof BillingCustomerResponseData
2562
+ */
2563
+ deletedAt?: Date;
2564
+ /**
2565
+ *
2566
+ * @type {string}
2567
+ * @memberof BillingCustomerResponseData
2568
+ */
2569
+ email: string;
2570
+ /**
2571
+ *
2572
+ * @type {string}
2573
+ * @memberof BillingCustomerResponseData
2574
+ */
2575
+ externalId: string;
2576
+ /**
2577
+ *
2578
+ * @type {boolean}
2579
+ * @memberof BillingCustomerResponseData
2580
+ */
2581
+ failedToImport: boolean;
2582
+ /**
2583
+ *
2584
+ * @type {string}
2585
+ * @memberof BillingCustomerResponseData
2586
+ */
2587
+ id: string;
2588
+ /**
2589
+ *
2590
+ * @type {string}
2591
+ * @memberof BillingCustomerResponseData
2592
+ */
2593
+ name: string;
2594
+ /**
2595
+ *
2596
+ * @type {Date}
2597
+ * @memberof BillingCustomerResponseData
2598
+ */
2599
+ updatedAt: Date;
2600
+ }
2601
+
2602
+ export declare function BillingCustomerResponseDataFromJSON(json: any): BillingCustomerResponseData;
2603
+
2604
+ export declare function BillingCustomerResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCustomerResponseData;
2605
+
2606
+ export declare function BillingCustomerResponseDataToJSON(value?: BillingCustomerResponseData | null): any;
2607
+
2608
+ /**
2609
+ * Schematic API
2610
+ * Schematic API
2611
+ *
2612
+ * The version of the OpenAPI document: 0.1
2613
+ *
2614
+ *
2615
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2616
+ * https://openapi-generator.tech
2617
+ * Do not edit the class manually.
2618
+ */
2619
+ /**
2620
+ *
2621
+ * @export
2622
+ * @interface BillingCustomerSubscription
2623
+ */
2624
+ export declare interface BillingCustomerSubscription {
2625
+ /**
2626
+ *
2627
+ * @type {Date}
2628
+ * @memberof BillingCustomerSubscription
2629
+ */
2630
+ expiredAt?: Date;
2631
+ /**
2632
+ *
2633
+ * @type {number}
2634
+ * @memberof BillingCustomerSubscription
2635
+ */
2636
+ totalPrice: number;
2637
+ }
2638
+
2639
+ export declare function BillingCustomerSubscriptionFromJSON(json: any): BillingCustomerSubscription;
2640
+
2641
+ export declare function BillingCustomerSubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCustomerSubscription;
2642
+
2643
+ export declare function BillingCustomerSubscriptionToJSON(value?: BillingCustomerSubscription | null): any;
2644
+
2645
+ /**
2646
+ *
2647
+ * @export
2648
+ * @interface BillingCustomerWithSubscriptionsResponseData
2649
+ */
2650
+ export declare interface BillingCustomerWithSubscriptionsResponseData {
2651
+ /**
2652
+ *
2653
+ * @type {string}
2654
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2655
+ */
2656
+ companyId?: string;
2657
+ /**
2658
+ *
2659
+ * @type {Date}
2660
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2661
+ */
2662
+ deletedAt?: Date;
2663
+ /**
2664
+ *
2665
+ * @type {string}
2666
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2667
+ */
2668
+ email: string;
2669
+ /**
2670
+ *
2671
+ * @type {string}
2672
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2673
+ */
2674
+ externalId: string;
2675
+ /**
2676
+ *
2677
+ * @type {boolean}
2678
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2679
+ */
2680
+ failedToImport: boolean;
2681
+ /**
2682
+ *
2683
+ * @type {string}
2684
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2685
+ */
2686
+ id: string;
2687
+ /**
2688
+ *
2689
+ * @type {string}
2690
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2691
+ */
2692
+ name: string;
2693
+ /**
2694
+ *
2695
+ * @type {Array<BillingCustomerSubscription>}
2696
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2697
+ */
2698
+ subscriptions: Array<BillingCustomerSubscription>;
2699
+ /**
2700
+ *
2701
+ * @type {Date}
2702
+ * @memberof BillingCustomerWithSubscriptionsResponseData
2703
+ */
2704
+ updatedAt: Date;
2705
+ }
2706
+
2707
+ export declare function BillingCustomerWithSubscriptionsResponseDataFromJSON(json: any): BillingCustomerWithSubscriptionsResponseData;
2708
+
2709
+ export declare function BillingCustomerWithSubscriptionsResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCustomerWithSubscriptionsResponseData;
2710
+
2711
+ export declare function BillingCustomerWithSubscriptionsResponseDataToJSON(value?: BillingCustomerWithSubscriptionsResponseData | null): any;
2712
+
2458
2713
  /**
2459
2714
  * Schematic API
2460
2715
  * Schematic API
@@ -2504,6 +2759,43 @@ export declare function BillingProductPlanResponseDataFromJSONTyped(json: any, i
2504
2759
 
2505
2760
  export declare function BillingProductPlanResponseDataToJSON(value?: BillingProductPlanResponseData | null): any;
2506
2761
 
2762
+ /**
2763
+ * Schematic API
2764
+ * Schematic API
2765
+ *
2766
+ * The version of the OpenAPI document: 0.1
2767
+ *
2768
+ *
2769
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2770
+ * https://openapi-generator.tech
2771
+ * Do not edit the class manually.
2772
+ */
2773
+ /**
2774
+ *
2775
+ * @export
2776
+ * @interface BillingProductPricing
2777
+ */
2778
+ export declare interface BillingProductPricing {
2779
+ /**
2780
+ *
2781
+ * @type {number}
2782
+ * @memberof BillingProductPricing
2783
+ */
2784
+ price: number;
2785
+ /**
2786
+ *
2787
+ * @type {string}
2788
+ * @memberof BillingProductPricing
2789
+ */
2790
+ productExternalId: string;
2791
+ }
2792
+
2793
+ export declare function BillingProductPricingFromJSON(json: any): BillingProductPricing;
2794
+
2795
+ export declare function BillingProductPricingFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingProductPricing;
2796
+
2797
+ export declare function BillingProductPricingToJSON(value?: BillingProductPricing | null): any;
2798
+
2507
2799
  /**
2508
2800
  * Schematic API
2509
2801
  * Schematic API
@@ -3689,28 +3981,34 @@ export declare function CompanySubscriptionResponseDataToJSON(value?: CompanySub
3689
3981
  /**
3690
3982
  * The returned resource
3691
3983
  * @export
3692
- * @interface ComponentHydrateView
3984
+ * @interface ComponentHydrateResponseData
3693
3985
  */
3694
- export declare interface ComponentHydrateView {
3986
+ export declare interface ComponentHydrateResponseData {
3987
+ /**
3988
+ *
3989
+ * @type {CompanyDetailResponseData}
3990
+ * @memberof ComponentHydrateResponseData
3991
+ */
3992
+ company?: CompanyDetailResponseData;
3695
3993
  /**
3696
3994
  *
3697
3995
  * @type {ComponentResponseData}
3698
- * @memberof ComponentHydrateView
3996
+ * @memberof ComponentHydrateResponseData
3699
3997
  */
3700
3998
  component?: ComponentResponseData;
3701
3999
  /**
3702
4000
  *
3703
- * @type {object}
3704
- * @memberof ComponentHydrateView
4001
+ * @type {FeatureUsageDetailResponseData}
4002
+ * @memberof ComponentHydrateResponseData
3705
4003
  */
3706
- data: object;
4004
+ featureUsage?: FeatureUsageDetailResponseData;
3707
4005
  }
3708
4006
 
3709
- export declare function ComponentHydrateViewFromJSON(json: any): ComponentHydrateView;
4007
+ export declare function ComponentHydrateResponseDataFromJSON(json: any): ComponentHydrateResponseData;
3710
4008
 
3711
- export declare function ComponentHydrateViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentHydrateView;
4009
+ export declare function ComponentHydrateResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentHydrateResponseData;
3712
4010
 
3713
- export declare function ComponentHydrateViewToJSON(value?: ComponentHydrateView | null): any;
4011
+ export declare function ComponentHydrateResponseDataToJSON(value?: ComponentHydrateResponseData | null): any;
3714
4012
 
3715
4013
  /**
3716
4014
  * Schematic API
@@ -4386,6 +4684,95 @@ export declare function CountComponentsResponseFromJSONTyped(json: any, ignoreDi
4386
4684
 
4387
4685
  export declare function CountComponentsResponseToJSON(value?: CountComponentsResponse | null): any;
4388
4686
 
4687
+ /**
4688
+ * Schematic API
4689
+ * Schematic API
4690
+ *
4691
+ * The version of the OpenAPI document: 0.1
4692
+ *
4693
+ *
4694
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4695
+ * https://openapi-generator.tech
4696
+ * Do not edit the class manually.
4697
+ */
4698
+ /**
4699
+ * Input parameters
4700
+ * @export
4701
+ * @interface CountCustomersParams
4702
+ */
4703
+ export declare interface CountCustomersParams {
4704
+ /**
4705
+ *
4706
+ * @type {boolean}
4707
+ * @memberof CountCustomersParams
4708
+ */
4709
+ failedToImport?: boolean;
4710
+ /**
4711
+ * Page limit (default 100)
4712
+ * @type {number}
4713
+ * @memberof CountCustomersParams
4714
+ */
4715
+ limit?: number;
4716
+ /**
4717
+ *
4718
+ * @type {string}
4719
+ * @memberof CountCustomersParams
4720
+ */
4721
+ name?: string;
4722
+ /**
4723
+ * Page offset (default 0)
4724
+ * @type {number}
4725
+ * @memberof CountCustomersParams
4726
+ */
4727
+ offset?: number;
4728
+ /**
4729
+ *
4730
+ * @type {string}
4731
+ * @memberof CountCustomersParams
4732
+ */
4733
+ q?: string;
4734
+ }
4735
+
4736
+ export declare function CountCustomersParamsFromJSON(json: any): CountCustomersParams;
4737
+
4738
+ export declare function CountCustomersParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountCustomersParams;
4739
+
4740
+ export declare function CountCustomersParamsToJSON(value?: CountCustomersParams | null): any;
4741
+
4742
+ export declare interface CountCustomersRequest {
4743
+ name?: string;
4744
+ failedToImport?: boolean;
4745
+ q?: string;
4746
+ limit?: number;
4747
+ offset?: number;
4748
+ }
4749
+
4750
+ /**
4751
+ *
4752
+ * @export
4753
+ * @interface CountCustomersResponse
4754
+ */
4755
+ export declare interface CountCustomersResponse {
4756
+ /**
4757
+ *
4758
+ * @type {CountResponse}
4759
+ * @memberof CountCustomersResponse
4760
+ */
4761
+ data: CountResponse;
4762
+ /**
4763
+ *
4764
+ * @type {CountCustomersParams}
4765
+ * @memberof CountCustomersResponse
4766
+ */
4767
+ params: CountCustomersParams;
4768
+ }
4769
+
4770
+ export declare function CountCustomersResponseFromJSON(json: any): CountCustomersResponse;
4771
+
4772
+ export declare function CountCustomersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountCustomersResponse;
4773
+
4774
+ export declare function CountCustomersResponseToJSON(value?: CountCustomersResponse | null): any;
4775
+
4389
4776
  /**
4390
4777
  * @export
4391
4778
  */
@@ -5747,6 +6134,69 @@ export declare function CreateApiKeyResponseFromJSONTyped(json: any, ignoreDiscr
5747
6134
 
5748
6135
  export declare function CreateApiKeyResponseToJSON(value?: CreateApiKeyResponse | null): any;
5749
6136
 
6137
+ /**
6138
+ * Schematic API
6139
+ * Schematic API
6140
+ *
6141
+ * The version of the OpenAPI document: 0.1
6142
+ *
6143
+ *
6144
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6145
+ * https://openapi-generator.tech
6146
+ * Do not edit the class manually.
6147
+ */
6148
+ /**
6149
+ *
6150
+ * @export
6151
+ * @interface CreateBillingCustomerRequestBody
6152
+ */
6153
+ export declare interface CreateBillingCustomerRequestBody {
6154
+ /**
6155
+ *
6156
+ * @type {string}
6157
+ * @memberof CreateBillingCustomerRequestBody
6158
+ */
6159
+ companyId?: string;
6160
+ /**
6161
+ *
6162
+ * @type {string}
6163
+ * @memberof CreateBillingCustomerRequestBody
6164
+ */
6165
+ email: string;
6166
+ /**
6167
+ *
6168
+ * @type {string}
6169
+ * @memberof CreateBillingCustomerRequestBody
6170
+ */
6171
+ externalId: string;
6172
+ /**
6173
+ *
6174
+ * @type {boolean}
6175
+ * @memberof CreateBillingCustomerRequestBody
6176
+ */
6177
+ failedToImport: boolean;
6178
+ /**
6179
+ *
6180
+ * @type {{ [key: string]: string; }}
6181
+ * @memberof CreateBillingCustomerRequestBody
6182
+ */
6183
+ meta: {
6184
+ [key: string]: string;
6185
+ };
6186
+ /**
6187
+ *
6188
+ * @type {string}
6189
+ * @memberof CreateBillingCustomerRequestBody
6190
+ */
6191
+ name: string;
6192
+ }
6193
+
6194
+ export declare function CreateBillingCustomerRequestBodyFromJSON(json: any): CreateBillingCustomerRequestBody;
6195
+
6196
+ export declare function CreateBillingCustomerRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBillingCustomerRequestBody;
6197
+
6198
+ export declare function CreateBillingCustomerRequestBodyToJSON(value?: CreateBillingCustomerRequestBody | null): any;
6199
+
5750
6200
  /**
5751
6201
  * Schematic API
5752
6202
  * Schematic API
@@ -5802,17 +6252,6 @@ export declare function CreateBillingProductRequestBodyFromJSONTyped(json: any,
5802
6252
 
5803
6253
  export declare function CreateBillingProductRequestBodyToJSON(value?: CreateBillingProductRequestBody | null): any;
5804
6254
 
5805
- /**
5806
- * Schematic API
5807
- * Schematic API
5808
- *
5809
- * The version of the OpenAPI document: 0.1
5810
- *
5811
- *
5812
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5813
- * https://openapi-generator.tech
5814
- * Do not edit the class manually.
5815
- */
5816
6255
  /**
5817
6256
  *
5818
6257
  * @export
@@ -5839,16 +6278,22 @@ export declare interface CreateBillingSubscriptionsRequestBody {
5839
6278
  interval?: string;
5840
6279
  /**
5841
6280
  *
5842
- * @type {Array<string>}
6281
+ * @type {Array<BillingProductPricing>}
5843
6282
  * @memberof CreateBillingSubscriptionsRequestBody
5844
6283
  */
5845
- productExternalIds: Array<string>;
6284
+ productExternalIds: Array<BillingProductPricing>;
5846
6285
  /**
5847
6286
  *
5848
6287
  * @type {string}
5849
6288
  * @memberof CreateBillingSubscriptionsRequestBody
5850
6289
  */
5851
6290
  subscriptionExternalId: string;
6291
+ /**
6292
+ *
6293
+ * @type {number}
6294
+ * @memberof CreateBillingSubscriptionsRequestBody
6295
+ */
6296
+ totalPrice: number;
5852
6297
  }
5853
6298
 
5854
6299
  export declare function CreateBillingSubscriptionsRequestBodyFromJSON(json: any): CreateBillingSubscriptionsRequestBody;
@@ -10202,7 +10647,7 @@ export declare class FeaturesApi extends runtime.BaseAPI {
10202
10647
  }
10203
10648
 
10204
10649
  /**
10205
- * The returned resource
10650
+ *
10206
10651
  * @export
10207
10652
  * @interface FeatureUsageDetailResponseData
10208
10653
  */
@@ -11901,10 +12346,10 @@ export declare interface HydrateComponentRequest {
11901
12346
  export declare interface HydrateComponentResponse {
11902
12347
  /**
11903
12348
  *
11904
- * @type {ComponentHydrateView}
12349
+ * @type {ComponentHydrateResponseData}
11905
12350
  * @memberof HydrateComponentResponse
11906
12351
  */
11907
- data: ComponentHydrateView;
12352
+ data: ComponentHydrateResponseData;
11908
12353
  /**
11909
12354
  * Input parameters
11910
12355
  * @type {object}
@@ -11956,11 +12401,31 @@ export declare function instanceOfApiKeyResponseData(value: object): value is Ap
11956
12401
  */
11957
12402
  export declare function instanceOfAudienceRequestBody(value: object): value is AudienceRequestBody;
11958
12403
 
12404
+ /**
12405
+ * Check if a given object implements the BillingCustomerResponseData interface.
12406
+ */
12407
+ export declare function instanceOfBillingCustomerResponseData(value: object): value is BillingCustomerResponseData;
12408
+
12409
+ /**
12410
+ * Check if a given object implements the BillingCustomerSubscription interface.
12411
+ */
12412
+ export declare function instanceOfBillingCustomerSubscription(value: object): value is BillingCustomerSubscription;
12413
+
12414
+ /**
12415
+ * Check if a given object implements the BillingCustomerWithSubscriptionsResponseData interface.
12416
+ */
12417
+ export declare function instanceOfBillingCustomerWithSubscriptionsResponseData(value: object): value is BillingCustomerWithSubscriptionsResponseData;
12418
+
11959
12419
  /**
11960
12420
  * Check if a given object implements the BillingProductPlanResponseData interface.
11961
12421
  */
11962
12422
  export declare function instanceOfBillingProductPlanResponseData(value: object): value is BillingProductPlanResponseData;
11963
12423
 
12424
+ /**
12425
+ * Check if a given object implements the BillingProductPricing interface.
12426
+ */
12427
+ export declare function instanceOfBillingProductPricing(value: object): value is BillingProductPricing;
12428
+
11964
12429
  /**
11965
12430
  * Check if a given object implements the BillingProductResponseData interface.
11966
12431
  */
@@ -12042,9 +12507,9 @@ export declare function instanceOfCompanyResponseData(value: object): value is C
12042
12507
  export declare function instanceOfCompanySubscriptionResponseData(value: object): value is CompanySubscriptionResponseData;
12043
12508
 
12044
12509
  /**
12045
- * Check if a given object implements the ComponentHydrateView interface.
12510
+ * Check if a given object implements the ComponentHydrateResponseData interface.
12046
12511
  */
12047
- export declare function instanceOfComponentHydrateView(value: object): value is ComponentHydrateView;
12512
+ export declare function instanceOfComponentHydrateResponseData(value: object): value is ComponentHydrateResponseData;
12048
12513
 
12049
12514
  /**
12050
12515
  * Check if a given object implements the ComponentResponseData interface.
@@ -12111,6 +12576,16 @@ export declare function instanceOfCountComponentsParams(value: object): value is
12111
12576
  */
12112
12577
  export declare function instanceOfCountComponentsResponse(value: object): value is CountComponentsResponse;
12113
12578
 
12579
+ /**
12580
+ * Check if a given object implements the CountCustomersParams interface.
12581
+ */
12582
+ export declare function instanceOfCountCustomersParams(value: object): value is CountCustomersParams;
12583
+
12584
+ /**
12585
+ * Check if a given object implements the CountCustomersResponse interface.
12586
+ */
12587
+ export declare function instanceOfCountCustomersResponse(value: object): value is CountCustomersResponse;
12588
+
12114
12589
  /**
12115
12590
  * Check if a given object implements the CountEntityKeyDefinitionsParams interface.
12116
12591
  */
@@ -12256,6 +12731,11 @@ export declare function instanceOfCreateApiKeyRequestBody(value: object): value
12256
12731
  */
12257
12732
  export declare function instanceOfCreateApiKeyResponse(value: object): value is CreateApiKeyResponse;
12258
12733
 
12734
+ /**
12735
+ * Check if a given object implements the CreateBillingCustomerRequestBody interface.
12736
+ */
12737
+ export declare function instanceOfCreateBillingCustomerRequestBody(value: object): value is CreateBillingCustomerRequestBody;
12738
+
12259
12739
  /**
12260
12740
  * Check if a given object implements the CreateBillingProductRequestBody interface.
12261
12741
  */
@@ -12936,6 +13416,16 @@ export declare function instanceOfListCrmProductsParams(value: object): value is
12936
13416
  */
12937
13417
  export declare function instanceOfListCrmProductsResponse(value: object): value is ListCrmProductsResponse;
12938
13418
 
13419
+ /**
13420
+ * Check if a given object implements the ListCustomersParams interface.
13421
+ */
13422
+ export declare function instanceOfListCustomersParams(value: object): value is ListCustomersParams;
13423
+
13424
+ /**
13425
+ * Check if a given object implements the ListCustomersResponse interface.
13426
+ */
13427
+ export declare function instanceOfListCustomersResponse(value: object): value is ListCustomersResponse;
13428
+
12939
13429
  /**
12940
13430
  * Check if a given object implements the ListEntityKeyDefinitionsParams interface.
12941
13431
  */
@@ -13351,6 +13841,11 @@ export declare function instanceOfUpdateWebhookRequestBody(value: object): value
13351
13841
  */
13352
13842
  export declare function instanceOfUpdateWebhookResponse(value: object): value is UpdateWebhookResponse;
13353
13843
 
13844
+ /**
13845
+ * Check if a given object implements the UpsertBillingCustomerResponse interface.
13846
+ */
13847
+ export declare function instanceOfUpsertBillingCustomerResponse(value: object): value is UpsertBillingCustomerResponse;
13848
+
13354
13849
  /**
13355
13850
  * Check if a given object implements the UpsertBillingProductPlanResponse interface.
13356
13851
  */
@@ -13479,10 +13974,12 @@ export declare interface IssueTemporaryAccessTokenRequest {
13479
13974
  export declare interface IssueTemporaryAccessTokenRequestBody {
13480
13975
  /**
13481
13976
  *
13482
- * @type {object}
13977
+ * @type {{ [key: string]: string; }}
13483
13978
  * @memberof IssueTemporaryAccessTokenRequestBody
13484
13979
  */
13485
- lookup: object;
13980
+ lookup: {
13981
+ [key: string]: string;
13982
+ };
13486
13983
  /**
13487
13984
  *
13488
13985
  * @type {string}
@@ -13534,12 +14031,6 @@ export declare interface IssueTemporaryAccessTokenResponse {
13534
14031
  * @interface IssueTemporaryAccessTokenResponseData
13535
14032
  */
13536
14033
  export declare interface IssueTemporaryAccessTokenResponseData {
13537
- /**
13538
- *
13539
- * @type {string}
13540
- * @memberof IssueTemporaryAccessTokenResponseData
13541
- */
13542
- accountId: string;
13543
14034
  /**
13544
14035
  *
13545
14036
  * @type {string}
@@ -14402,6 +14893,95 @@ export declare function ListCrmProductsResponseFromJSONTyped(json: any, ignoreDi
14402
14893
 
14403
14894
  export declare function ListCrmProductsResponseToJSON(value?: ListCrmProductsResponse | null): any;
14404
14895
 
14896
+ /**
14897
+ * Schematic API
14898
+ * Schematic API
14899
+ *
14900
+ * The version of the OpenAPI document: 0.1
14901
+ *
14902
+ *
14903
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14904
+ * https://openapi-generator.tech
14905
+ * Do not edit the class manually.
14906
+ */
14907
+ /**
14908
+ * Input parameters
14909
+ * @export
14910
+ * @interface ListCustomersParams
14911
+ */
14912
+ export declare interface ListCustomersParams {
14913
+ /**
14914
+ *
14915
+ * @type {boolean}
14916
+ * @memberof ListCustomersParams
14917
+ */
14918
+ failedToImport?: boolean;
14919
+ /**
14920
+ * Page limit (default 100)
14921
+ * @type {number}
14922
+ * @memberof ListCustomersParams
14923
+ */
14924
+ limit?: number;
14925
+ /**
14926
+ *
14927
+ * @type {string}
14928
+ * @memberof ListCustomersParams
14929
+ */
14930
+ name?: string;
14931
+ /**
14932
+ * Page offset (default 0)
14933
+ * @type {number}
14934
+ * @memberof ListCustomersParams
14935
+ */
14936
+ offset?: number;
14937
+ /**
14938
+ *
14939
+ * @type {string}
14940
+ * @memberof ListCustomersParams
14941
+ */
14942
+ q?: string;
14943
+ }
14944
+
14945
+ export declare function ListCustomersParamsFromJSON(json: any): ListCustomersParams;
14946
+
14947
+ export declare function ListCustomersParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomersParams;
14948
+
14949
+ export declare function ListCustomersParamsToJSON(value?: ListCustomersParams | null): any;
14950
+
14951
+ export declare interface ListCustomersRequest {
14952
+ name?: string;
14953
+ failedToImport?: boolean;
14954
+ q?: string;
14955
+ limit?: number;
14956
+ offset?: number;
14957
+ }
14958
+
14959
+ /**
14960
+ *
14961
+ * @export
14962
+ * @interface ListCustomersResponse
14963
+ */
14964
+ export declare interface ListCustomersResponse {
14965
+ /**
14966
+ * The returned resources
14967
+ * @type {Array<BillingCustomerWithSubscriptionsResponseData>}
14968
+ * @memberof ListCustomersResponse
14969
+ */
14970
+ data: Array<BillingCustomerWithSubscriptionsResponseData>;
14971
+ /**
14972
+ *
14973
+ * @type {ListCustomersParams}
14974
+ * @memberof ListCustomersResponse
14975
+ */
14976
+ params: ListCustomersParams;
14977
+ }
14978
+
14979
+ export declare function ListCustomersResponseFromJSON(json: any): ListCustomersResponse;
14980
+
14981
+ export declare function ListCustomersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomersResponse;
14982
+
14983
+ export declare function ListCustomersResponseToJSON(value?: ListCustomersResponse | null): any;
14984
+
14405
14985
  /**
14406
14986
  * @export
14407
14987
  */
@@ -17728,12 +18308,6 @@ export declare function SegmentStatusRespToJSON(value?: SegmentStatusResp | null
17728
18308
  * @interface TemporaryAccessTokenResponseData
17729
18309
  */
17730
18310
  export declare interface TemporaryAccessTokenResponseData {
17731
- /**
17732
- *
17733
- * @type {string}
17734
- * @memberof TemporaryAccessTokenResponseData
17735
- */
17736
- accountId: string;
17737
18311
  /**
17738
18312
  *
17739
18313
  * @type {string}
@@ -18911,6 +19485,36 @@ export declare function UpdateWebhookResponseFromJSONTyped(json: any, ignoreDisc
18911
19485
 
18912
19486
  export declare function UpdateWebhookResponseToJSON(value?: UpdateWebhookResponse | null): any;
18913
19487
 
19488
+ export declare interface UpsertBillingCustomerRequest {
19489
+ createBillingCustomerRequestBody: CreateBillingCustomerRequestBody;
19490
+ }
19491
+
19492
+ /**
19493
+ *
19494
+ * @export
19495
+ * @interface UpsertBillingCustomerResponse
19496
+ */
19497
+ export declare interface UpsertBillingCustomerResponse {
19498
+ /**
19499
+ *
19500
+ * @type {BillingCustomerResponseData}
19501
+ * @memberof UpsertBillingCustomerResponse
19502
+ */
19503
+ data: BillingCustomerResponseData;
19504
+ /**
19505
+ * Input parameters
19506
+ * @type {object}
19507
+ * @memberof UpsertBillingCustomerResponse
19508
+ */
19509
+ params: object;
19510
+ }
19511
+
19512
+ export declare function UpsertBillingCustomerResponseFromJSON(json: any): UpsertBillingCustomerResponse;
19513
+
19514
+ export declare function UpsertBillingCustomerResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertBillingCustomerResponse;
19515
+
19516
+ export declare function UpsertBillingCustomerResponseToJSON(value?: UpsertBillingCustomerResponse | null): any;
19517
+
18914
19518
  export declare interface UpsertBillingProductPlanRequest {
18915
19519
  upsertBillingProductRequestBody: UpsertBillingProductRequestBody;
18916
19520
  planId: string;