@schematichq/schematic-typescript-node 1.0.19 → 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,
@@ -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
@@ -4392,6 +4684,95 @@ export declare function CountComponentsResponseFromJSONTyped(json: any, ignoreDi
4392
4684
 
4393
4685
  export declare function CountComponentsResponseToJSON(value?: CountComponentsResponse | null): any;
4394
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
+
4395
4776
  /**
4396
4777
  * @export
4397
4778
  */
@@ -5753,6 +6134,69 @@ export declare function CreateApiKeyResponseFromJSONTyped(json: any, ignoreDiscr
5753
6134
 
5754
6135
  export declare function CreateApiKeyResponseToJSON(value?: CreateApiKeyResponse | null): any;
5755
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
+
5756
6200
  /**
5757
6201
  * Schematic API
5758
6202
  * Schematic API
@@ -5808,17 +6252,6 @@ export declare function CreateBillingProductRequestBodyFromJSONTyped(json: any,
5808
6252
 
5809
6253
  export declare function CreateBillingProductRequestBodyToJSON(value?: CreateBillingProductRequestBody | null): any;
5810
6254
 
5811
- /**
5812
- * Schematic API
5813
- * Schematic API
5814
- *
5815
- * The version of the OpenAPI document: 0.1
5816
- *
5817
- *
5818
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5819
- * https://openapi-generator.tech
5820
- * Do not edit the class manually.
5821
- */
5822
6255
  /**
5823
6256
  *
5824
6257
  * @export
@@ -5845,16 +6278,22 @@ export declare interface CreateBillingSubscriptionsRequestBody {
5845
6278
  interval?: string;
5846
6279
  /**
5847
6280
  *
5848
- * @type {Array<string>}
6281
+ * @type {Array<BillingProductPricing>}
5849
6282
  * @memberof CreateBillingSubscriptionsRequestBody
5850
6283
  */
5851
- productExternalIds: Array<string>;
6284
+ productExternalIds: Array<BillingProductPricing>;
5852
6285
  /**
5853
6286
  *
5854
6287
  * @type {string}
5855
6288
  * @memberof CreateBillingSubscriptionsRequestBody
5856
6289
  */
5857
6290
  subscriptionExternalId: string;
6291
+ /**
6292
+ *
6293
+ * @type {number}
6294
+ * @memberof CreateBillingSubscriptionsRequestBody
6295
+ */
6296
+ totalPrice: number;
5858
6297
  }
5859
6298
 
5860
6299
  export declare function CreateBillingSubscriptionsRequestBodyFromJSON(json: any): CreateBillingSubscriptionsRequestBody;
@@ -11962,11 +12401,31 @@ export declare function instanceOfApiKeyResponseData(value: object): value is Ap
11962
12401
  */
11963
12402
  export declare function instanceOfAudienceRequestBody(value: object): value is AudienceRequestBody;
11964
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
+
11965
12419
  /**
11966
12420
  * Check if a given object implements the BillingProductPlanResponseData interface.
11967
12421
  */
11968
12422
  export declare function instanceOfBillingProductPlanResponseData(value: object): value is BillingProductPlanResponseData;
11969
12423
 
12424
+ /**
12425
+ * Check if a given object implements the BillingProductPricing interface.
12426
+ */
12427
+ export declare function instanceOfBillingProductPricing(value: object): value is BillingProductPricing;
12428
+
11970
12429
  /**
11971
12430
  * Check if a given object implements the BillingProductResponseData interface.
11972
12431
  */
@@ -12117,6 +12576,16 @@ export declare function instanceOfCountComponentsParams(value: object): value is
12117
12576
  */
12118
12577
  export declare function instanceOfCountComponentsResponse(value: object): value is CountComponentsResponse;
12119
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
+
12120
12589
  /**
12121
12590
  * Check if a given object implements the CountEntityKeyDefinitionsParams interface.
12122
12591
  */
@@ -12262,6 +12731,11 @@ export declare function instanceOfCreateApiKeyRequestBody(value: object): value
12262
12731
  */
12263
12732
  export declare function instanceOfCreateApiKeyResponse(value: object): value is CreateApiKeyResponse;
12264
12733
 
12734
+ /**
12735
+ * Check if a given object implements the CreateBillingCustomerRequestBody interface.
12736
+ */
12737
+ export declare function instanceOfCreateBillingCustomerRequestBody(value: object): value is CreateBillingCustomerRequestBody;
12738
+
12265
12739
  /**
12266
12740
  * Check if a given object implements the CreateBillingProductRequestBody interface.
12267
12741
  */
@@ -12942,6 +13416,16 @@ export declare function instanceOfListCrmProductsParams(value: object): value is
12942
13416
  */
12943
13417
  export declare function instanceOfListCrmProductsResponse(value: object): value is ListCrmProductsResponse;
12944
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
+
12945
13429
  /**
12946
13430
  * Check if a given object implements the ListEntityKeyDefinitionsParams interface.
12947
13431
  */
@@ -13357,6 +13841,11 @@ export declare function instanceOfUpdateWebhookRequestBody(value: object): value
13357
13841
  */
13358
13842
  export declare function instanceOfUpdateWebhookResponse(value: object): value is UpdateWebhookResponse;
13359
13843
 
13844
+ /**
13845
+ * Check if a given object implements the UpsertBillingCustomerResponse interface.
13846
+ */
13847
+ export declare function instanceOfUpsertBillingCustomerResponse(value: object): value is UpsertBillingCustomerResponse;
13848
+
13360
13849
  /**
13361
13850
  * Check if a given object implements the UpsertBillingProductPlanResponse interface.
13362
13851
  */
@@ -14404,6 +14893,95 @@ export declare function ListCrmProductsResponseFromJSONTyped(json: any, ignoreDi
14404
14893
 
14405
14894
  export declare function ListCrmProductsResponseToJSON(value?: ListCrmProductsResponse | null): any;
14406
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
+
14407
14985
  /**
14408
14986
  * @export
14409
14987
  */
@@ -18907,6 +19485,36 @@ export declare function UpdateWebhookResponseFromJSONTyped(json: any, ignoreDisc
18907
19485
 
18908
19486
  export declare function UpdateWebhookResponseToJSON(value?: UpdateWebhookResponse | null): any;
18909
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
+
18910
19518
  export declare interface UpsertBillingProductPlanRequest {
18911
19519
  upsertBillingProductRequestBody: UpsertBillingProductRequestBody;
18912
19520
  planId: string;