@schematichq/schematic-typescript-node 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schematic.cjs.js +727 -9
- package/dist/schematic.d.ts +885 -49
- package/dist/schematic.esm.js +683 -9
- package/package.json +1 -1
package/dist/schematic.d.ts
CHANGED
|
@@ -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,
|
|
@@ -990,6 +1028,11 @@ declare namespace api {
|
|
|
990
1028
|
EventBodyFromJSONTyped,
|
|
991
1029
|
EventBodyToJSON,
|
|
992
1030
|
EventBody,
|
|
1031
|
+
instanceOfEventBodyFlagCheck,
|
|
1032
|
+
EventBodyFlagCheckFromJSON,
|
|
1033
|
+
EventBodyFlagCheckFromJSONTyped,
|
|
1034
|
+
EventBodyFlagCheckToJSON,
|
|
1035
|
+
EventBodyFlagCheck,
|
|
993
1036
|
instanceOfEventBodyIdentify,
|
|
994
1037
|
EventBodyIdentifyFromJSON,
|
|
995
1038
|
EventBodyIdentifyFromJSONTyped,
|
|
@@ -1358,6 +1401,16 @@ declare namespace api {
|
|
|
1358
1401
|
ListCrmProductsResponseFromJSONTyped,
|
|
1359
1402
|
ListCrmProductsResponseToJSON,
|
|
1360
1403
|
ListCrmProductsResponse,
|
|
1404
|
+
instanceOfListCustomersParams,
|
|
1405
|
+
ListCustomersParamsFromJSON,
|
|
1406
|
+
ListCustomersParamsFromJSONTyped,
|
|
1407
|
+
ListCustomersParamsToJSON,
|
|
1408
|
+
ListCustomersParams,
|
|
1409
|
+
instanceOfListCustomersResponse,
|
|
1410
|
+
ListCustomersResponseFromJSON,
|
|
1411
|
+
ListCustomersResponseFromJSONTyped,
|
|
1412
|
+
ListCustomersResponseToJSON,
|
|
1413
|
+
ListCustomersResponse,
|
|
1361
1414
|
instanceOfListEntityKeyDefinitionsParams,
|
|
1362
1415
|
ListEntityKeyDefinitionsParamsFromJSON,
|
|
1363
1416
|
ListEntityKeyDefinitionsParamsFromJSONTyped,
|
|
@@ -1790,6 +1843,11 @@ declare namespace api {
|
|
|
1790
1843
|
UpdateWebhookResponseFromJSONTyped,
|
|
1791
1844
|
UpdateWebhookResponseToJSON,
|
|
1792
1845
|
UpdateWebhookResponse,
|
|
1846
|
+
instanceOfUpsertBillingCustomerResponse,
|
|
1847
|
+
UpsertBillingCustomerResponseFromJSON,
|
|
1848
|
+
UpsertBillingCustomerResponseFromJSONTyped,
|
|
1849
|
+
UpsertBillingCustomerResponseToJSON,
|
|
1850
|
+
UpsertBillingCustomerResponse,
|
|
1793
1851
|
instanceOfUpsertBillingProductPlanResponse,
|
|
1794
1852
|
UpsertBillingProductPlanResponseFromJSON,
|
|
1795
1853
|
UpsertBillingProductPlanResponseFromJSONTyped,
|
|
@@ -2429,6 +2487,22 @@ export declare class BaseAPI {
|
|
|
2429
2487
|
*
|
|
2430
2488
|
*/
|
|
2431
2489
|
export declare class BillingApi extends runtime.BaseAPI {
|
|
2490
|
+
/**
|
|
2491
|
+
* Count customers
|
|
2492
|
+
*/
|
|
2493
|
+
countCustomersRaw(requestParameters: CountCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CountCustomersResponse>>;
|
|
2494
|
+
/**
|
|
2495
|
+
* Count customers
|
|
2496
|
+
*/
|
|
2497
|
+
countCustomers(requestParameters?: CountCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<CountCustomersResponse>;
|
|
2498
|
+
/**
|
|
2499
|
+
* List customers
|
|
2500
|
+
*/
|
|
2501
|
+
listCustomersRaw(requestParameters: ListCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListCustomersResponse>>;
|
|
2502
|
+
/**
|
|
2503
|
+
* List customers
|
|
2504
|
+
*/
|
|
2505
|
+
listCustomers(requestParameters?: ListCustomersRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListCustomersResponse>;
|
|
2432
2506
|
/**
|
|
2433
2507
|
* List products
|
|
2434
2508
|
*/
|
|
@@ -2437,6 +2511,14 @@ export declare class BillingApi extends runtime.BaseAPI {
|
|
|
2437
2511
|
* List products
|
|
2438
2512
|
*/
|
|
2439
2513
|
listProducts(requestParameters?: ListProductsRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<ListProductsResponse>;
|
|
2514
|
+
/**
|
|
2515
|
+
* Upsert billing customer
|
|
2516
|
+
*/
|
|
2517
|
+
upsertBillingCustomerRaw(requestParameters: UpsertBillingCustomerRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpsertBillingCustomerResponse>>;
|
|
2518
|
+
/**
|
|
2519
|
+
* Upsert billing customer
|
|
2520
|
+
*/
|
|
2521
|
+
upsertBillingCustomer(requestParameters: UpsertBillingCustomerRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingCustomerResponse>;
|
|
2440
2522
|
/**
|
|
2441
2523
|
* Upsert billing product
|
|
2442
2524
|
*/
|
|
@@ -2455,6 +2537,184 @@ export declare class BillingApi extends runtime.BaseAPI {
|
|
|
2455
2537
|
upsertBillingSubscription(requestParameters: UpsertBillingSubscriptionRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingSubscriptionResponse>;
|
|
2456
2538
|
}
|
|
2457
2539
|
|
|
2540
|
+
/**
|
|
2541
|
+
* Schematic API
|
|
2542
|
+
* Schematic API
|
|
2543
|
+
*
|
|
2544
|
+
* The version of the OpenAPI document: 0.1
|
|
2545
|
+
*
|
|
2546
|
+
*
|
|
2547
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2548
|
+
* https://openapi-generator.tech
|
|
2549
|
+
* Do not edit the class manually.
|
|
2550
|
+
*/
|
|
2551
|
+
/**
|
|
2552
|
+
* The created resource
|
|
2553
|
+
* @export
|
|
2554
|
+
* @interface BillingCustomerResponseData
|
|
2555
|
+
*/
|
|
2556
|
+
export declare interface BillingCustomerResponseData {
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @type {string}
|
|
2560
|
+
* @memberof BillingCustomerResponseData
|
|
2561
|
+
*/
|
|
2562
|
+
companyId?: string;
|
|
2563
|
+
/**
|
|
2564
|
+
*
|
|
2565
|
+
* @type {Date}
|
|
2566
|
+
* @memberof BillingCustomerResponseData
|
|
2567
|
+
*/
|
|
2568
|
+
deletedAt?: Date;
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @type {string}
|
|
2572
|
+
* @memberof BillingCustomerResponseData
|
|
2573
|
+
*/
|
|
2574
|
+
email: string;
|
|
2575
|
+
/**
|
|
2576
|
+
*
|
|
2577
|
+
* @type {string}
|
|
2578
|
+
* @memberof BillingCustomerResponseData
|
|
2579
|
+
*/
|
|
2580
|
+
externalId: string;
|
|
2581
|
+
/**
|
|
2582
|
+
*
|
|
2583
|
+
* @type {boolean}
|
|
2584
|
+
* @memberof BillingCustomerResponseData
|
|
2585
|
+
*/
|
|
2586
|
+
failedToImport: boolean;
|
|
2587
|
+
/**
|
|
2588
|
+
*
|
|
2589
|
+
* @type {string}
|
|
2590
|
+
* @memberof BillingCustomerResponseData
|
|
2591
|
+
*/
|
|
2592
|
+
id: string;
|
|
2593
|
+
/**
|
|
2594
|
+
*
|
|
2595
|
+
* @type {string}
|
|
2596
|
+
* @memberof BillingCustomerResponseData
|
|
2597
|
+
*/
|
|
2598
|
+
name: string;
|
|
2599
|
+
/**
|
|
2600
|
+
*
|
|
2601
|
+
* @type {Date}
|
|
2602
|
+
* @memberof BillingCustomerResponseData
|
|
2603
|
+
*/
|
|
2604
|
+
updatedAt: Date;
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
export declare function BillingCustomerResponseDataFromJSON(json: any): BillingCustomerResponseData;
|
|
2608
|
+
|
|
2609
|
+
export declare function BillingCustomerResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCustomerResponseData;
|
|
2610
|
+
|
|
2611
|
+
export declare function BillingCustomerResponseDataToJSON(value?: BillingCustomerResponseData | null): any;
|
|
2612
|
+
|
|
2613
|
+
/**
|
|
2614
|
+
* Schematic API
|
|
2615
|
+
* Schematic API
|
|
2616
|
+
*
|
|
2617
|
+
* The version of the OpenAPI document: 0.1
|
|
2618
|
+
*
|
|
2619
|
+
*
|
|
2620
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2621
|
+
* https://openapi-generator.tech
|
|
2622
|
+
* Do not edit the class manually.
|
|
2623
|
+
*/
|
|
2624
|
+
/**
|
|
2625
|
+
*
|
|
2626
|
+
* @export
|
|
2627
|
+
* @interface BillingCustomerSubscription
|
|
2628
|
+
*/
|
|
2629
|
+
export declare interface BillingCustomerSubscription {
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @type {Date}
|
|
2633
|
+
* @memberof BillingCustomerSubscription
|
|
2634
|
+
*/
|
|
2635
|
+
expiredAt?: Date;
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @type {number}
|
|
2639
|
+
* @memberof BillingCustomerSubscription
|
|
2640
|
+
*/
|
|
2641
|
+
totalPrice: number;
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
export declare function BillingCustomerSubscriptionFromJSON(json: any): BillingCustomerSubscription;
|
|
2645
|
+
|
|
2646
|
+
export declare function BillingCustomerSubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCustomerSubscription;
|
|
2647
|
+
|
|
2648
|
+
export declare function BillingCustomerSubscriptionToJSON(value?: BillingCustomerSubscription | null): any;
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
*
|
|
2652
|
+
* @export
|
|
2653
|
+
* @interface BillingCustomerWithSubscriptionsResponseData
|
|
2654
|
+
*/
|
|
2655
|
+
export declare interface BillingCustomerWithSubscriptionsResponseData {
|
|
2656
|
+
/**
|
|
2657
|
+
*
|
|
2658
|
+
* @type {string}
|
|
2659
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2660
|
+
*/
|
|
2661
|
+
companyId?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
*
|
|
2664
|
+
* @type {Date}
|
|
2665
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2666
|
+
*/
|
|
2667
|
+
deletedAt?: Date;
|
|
2668
|
+
/**
|
|
2669
|
+
*
|
|
2670
|
+
* @type {string}
|
|
2671
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2672
|
+
*/
|
|
2673
|
+
email: string;
|
|
2674
|
+
/**
|
|
2675
|
+
*
|
|
2676
|
+
* @type {string}
|
|
2677
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2678
|
+
*/
|
|
2679
|
+
externalId: string;
|
|
2680
|
+
/**
|
|
2681
|
+
*
|
|
2682
|
+
* @type {boolean}
|
|
2683
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2684
|
+
*/
|
|
2685
|
+
failedToImport: boolean;
|
|
2686
|
+
/**
|
|
2687
|
+
*
|
|
2688
|
+
* @type {string}
|
|
2689
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2690
|
+
*/
|
|
2691
|
+
id: string;
|
|
2692
|
+
/**
|
|
2693
|
+
*
|
|
2694
|
+
* @type {string}
|
|
2695
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2696
|
+
*/
|
|
2697
|
+
name: string;
|
|
2698
|
+
/**
|
|
2699
|
+
*
|
|
2700
|
+
* @type {Array<BillingCustomerSubscription>}
|
|
2701
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2702
|
+
*/
|
|
2703
|
+
subscriptions: Array<BillingCustomerSubscription>;
|
|
2704
|
+
/**
|
|
2705
|
+
*
|
|
2706
|
+
* @type {Date}
|
|
2707
|
+
* @memberof BillingCustomerWithSubscriptionsResponseData
|
|
2708
|
+
*/
|
|
2709
|
+
updatedAt: Date;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
export declare function BillingCustomerWithSubscriptionsResponseDataFromJSON(json: any): BillingCustomerWithSubscriptionsResponseData;
|
|
2713
|
+
|
|
2714
|
+
export declare function BillingCustomerWithSubscriptionsResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingCustomerWithSubscriptionsResponseData;
|
|
2715
|
+
|
|
2716
|
+
export declare function BillingCustomerWithSubscriptionsResponseDataToJSON(value?: BillingCustomerWithSubscriptionsResponseData | null): any;
|
|
2717
|
+
|
|
2458
2718
|
/**
|
|
2459
2719
|
* Schematic API
|
|
2460
2720
|
* Schematic API
|
|
@@ -2504,6 +2764,43 @@ export declare function BillingProductPlanResponseDataFromJSONTyped(json: any, i
|
|
|
2504
2764
|
|
|
2505
2765
|
export declare function BillingProductPlanResponseDataToJSON(value?: BillingProductPlanResponseData | null): any;
|
|
2506
2766
|
|
|
2767
|
+
/**
|
|
2768
|
+
* Schematic API
|
|
2769
|
+
* Schematic API
|
|
2770
|
+
*
|
|
2771
|
+
* The version of the OpenAPI document: 0.1
|
|
2772
|
+
*
|
|
2773
|
+
*
|
|
2774
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2775
|
+
* https://openapi-generator.tech
|
|
2776
|
+
* Do not edit the class manually.
|
|
2777
|
+
*/
|
|
2778
|
+
/**
|
|
2779
|
+
*
|
|
2780
|
+
* @export
|
|
2781
|
+
* @interface BillingProductPricing
|
|
2782
|
+
*/
|
|
2783
|
+
export declare interface BillingProductPricing {
|
|
2784
|
+
/**
|
|
2785
|
+
*
|
|
2786
|
+
* @type {number}
|
|
2787
|
+
* @memberof BillingProductPricing
|
|
2788
|
+
*/
|
|
2789
|
+
price: number;
|
|
2790
|
+
/**
|
|
2791
|
+
*
|
|
2792
|
+
* @type {string}
|
|
2793
|
+
* @memberof BillingProductPricing
|
|
2794
|
+
*/
|
|
2795
|
+
productExternalId: string;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
export declare function BillingProductPricingFromJSON(json: any): BillingProductPricing;
|
|
2799
|
+
|
|
2800
|
+
export declare function BillingProductPricingFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingProductPricing;
|
|
2801
|
+
|
|
2802
|
+
export declare function BillingProductPricingToJSON(value?: BillingProductPricing | null): any;
|
|
2803
|
+
|
|
2507
2804
|
/**
|
|
2508
2805
|
* Schematic API
|
|
2509
2806
|
* Schematic API
|
|
@@ -4392,6 +4689,95 @@ export declare function CountComponentsResponseFromJSONTyped(json: any, ignoreDi
|
|
|
4392
4689
|
|
|
4393
4690
|
export declare function CountComponentsResponseToJSON(value?: CountComponentsResponse | null): any;
|
|
4394
4691
|
|
|
4692
|
+
/**
|
|
4693
|
+
* Schematic API
|
|
4694
|
+
* Schematic API
|
|
4695
|
+
*
|
|
4696
|
+
* The version of the OpenAPI document: 0.1
|
|
4697
|
+
*
|
|
4698
|
+
*
|
|
4699
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4700
|
+
* https://openapi-generator.tech
|
|
4701
|
+
* Do not edit the class manually.
|
|
4702
|
+
*/
|
|
4703
|
+
/**
|
|
4704
|
+
* Input parameters
|
|
4705
|
+
* @export
|
|
4706
|
+
* @interface CountCustomersParams
|
|
4707
|
+
*/
|
|
4708
|
+
export declare interface CountCustomersParams {
|
|
4709
|
+
/**
|
|
4710
|
+
*
|
|
4711
|
+
* @type {boolean}
|
|
4712
|
+
* @memberof CountCustomersParams
|
|
4713
|
+
*/
|
|
4714
|
+
failedToImport?: boolean;
|
|
4715
|
+
/**
|
|
4716
|
+
* Page limit (default 100)
|
|
4717
|
+
* @type {number}
|
|
4718
|
+
* @memberof CountCustomersParams
|
|
4719
|
+
*/
|
|
4720
|
+
limit?: number;
|
|
4721
|
+
/**
|
|
4722
|
+
*
|
|
4723
|
+
* @type {string}
|
|
4724
|
+
* @memberof CountCustomersParams
|
|
4725
|
+
*/
|
|
4726
|
+
name?: string;
|
|
4727
|
+
/**
|
|
4728
|
+
* Page offset (default 0)
|
|
4729
|
+
* @type {number}
|
|
4730
|
+
* @memberof CountCustomersParams
|
|
4731
|
+
*/
|
|
4732
|
+
offset?: number;
|
|
4733
|
+
/**
|
|
4734
|
+
*
|
|
4735
|
+
* @type {string}
|
|
4736
|
+
* @memberof CountCustomersParams
|
|
4737
|
+
*/
|
|
4738
|
+
q?: string;
|
|
4739
|
+
}
|
|
4740
|
+
|
|
4741
|
+
export declare function CountCustomersParamsFromJSON(json: any): CountCustomersParams;
|
|
4742
|
+
|
|
4743
|
+
export declare function CountCustomersParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountCustomersParams;
|
|
4744
|
+
|
|
4745
|
+
export declare function CountCustomersParamsToJSON(value?: CountCustomersParams | null): any;
|
|
4746
|
+
|
|
4747
|
+
export declare interface CountCustomersRequest {
|
|
4748
|
+
name?: string;
|
|
4749
|
+
failedToImport?: boolean;
|
|
4750
|
+
q?: string;
|
|
4751
|
+
limit?: number;
|
|
4752
|
+
offset?: number;
|
|
4753
|
+
}
|
|
4754
|
+
|
|
4755
|
+
/**
|
|
4756
|
+
*
|
|
4757
|
+
* @export
|
|
4758
|
+
* @interface CountCustomersResponse
|
|
4759
|
+
*/
|
|
4760
|
+
export declare interface CountCustomersResponse {
|
|
4761
|
+
/**
|
|
4762
|
+
*
|
|
4763
|
+
* @type {CountResponse}
|
|
4764
|
+
* @memberof CountCustomersResponse
|
|
4765
|
+
*/
|
|
4766
|
+
data: CountResponse;
|
|
4767
|
+
/**
|
|
4768
|
+
*
|
|
4769
|
+
* @type {CountCustomersParams}
|
|
4770
|
+
* @memberof CountCustomersResponse
|
|
4771
|
+
*/
|
|
4772
|
+
params: CountCustomersParams;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
export declare function CountCustomersResponseFromJSON(json: any): CountCustomersResponse;
|
|
4776
|
+
|
|
4777
|
+
export declare function CountCustomersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountCustomersResponse;
|
|
4778
|
+
|
|
4779
|
+
export declare function CountCustomersResponseToJSON(value?: CountCustomersResponse | null): any;
|
|
4780
|
+
|
|
4395
4781
|
/**
|
|
4396
4782
|
* @export
|
|
4397
4783
|
*/
|
|
@@ -5753,6 +6139,69 @@ export declare function CreateApiKeyResponseFromJSONTyped(json: any, ignoreDiscr
|
|
|
5753
6139
|
|
|
5754
6140
|
export declare function CreateApiKeyResponseToJSON(value?: CreateApiKeyResponse | null): any;
|
|
5755
6141
|
|
|
6142
|
+
/**
|
|
6143
|
+
* Schematic API
|
|
6144
|
+
* Schematic API
|
|
6145
|
+
*
|
|
6146
|
+
* The version of the OpenAPI document: 0.1
|
|
6147
|
+
*
|
|
6148
|
+
*
|
|
6149
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6150
|
+
* https://openapi-generator.tech
|
|
6151
|
+
* Do not edit the class manually.
|
|
6152
|
+
*/
|
|
6153
|
+
/**
|
|
6154
|
+
*
|
|
6155
|
+
* @export
|
|
6156
|
+
* @interface CreateBillingCustomerRequestBody
|
|
6157
|
+
*/
|
|
6158
|
+
export declare interface CreateBillingCustomerRequestBody {
|
|
6159
|
+
/**
|
|
6160
|
+
*
|
|
6161
|
+
* @type {string}
|
|
6162
|
+
* @memberof CreateBillingCustomerRequestBody
|
|
6163
|
+
*/
|
|
6164
|
+
companyId?: string;
|
|
6165
|
+
/**
|
|
6166
|
+
*
|
|
6167
|
+
* @type {string}
|
|
6168
|
+
* @memberof CreateBillingCustomerRequestBody
|
|
6169
|
+
*/
|
|
6170
|
+
email: string;
|
|
6171
|
+
/**
|
|
6172
|
+
*
|
|
6173
|
+
* @type {string}
|
|
6174
|
+
* @memberof CreateBillingCustomerRequestBody
|
|
6175
|
+
*/
|
|
6176
|
+
externalId: string;
|
|
6177
|
+
/**
|
|
6178
|
+
*
|
|
6179
|
+
* @type {boolean}
|
|
6180
|
+
* @memberof CreateBillingCustomerRequestBody
|
|
6181
|
+
*/
|
|
6182
|
+
failedToImport: boolean;
|
|
6183
|
+
/**
|
|
6184
|
+
*
|
|
6185
|
+
* @type {{ [key: string]: string; }}
|
|
6186
|
+
* @memberof CreateBillingCustomerRequestBody
|
|
6187
|
+
*/
|
|
6188
|
+
meta: {
|
|
6189
|
+
[key: string]: string;
|
|
6190
|
+
};
|
|
6191
|
+
/**
|
|
6192
|
+
*
|
|
6193
|
+
* @type {string}
|
|
6194
|
+
* @memberof CreateBillingCustomerRequestBody
|
|
6195
|
+
*/
|
|
6196
|
+
name: string;
|
|
6197
|
+
}
|
|
6198
|
+
|
|
6199
|
+
export declare function CreateBillingCustomerRequestBodyFromJSON(json: any): CreateBillingCustomerRequestBody;
|
|
6200
|
+
|
|
6201
|
+
export declare function CreateBillingCustomerRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBillingCustomerRequestBody;
|
|
6202
|
+
|
|
6203
|
+
export declare function CreateBillingCustomerRequestBodyToJSON(value?: CreateBillingCustomerRequestBody | null): any;
|
|
6204
|
+
|
|
5756
6205
|
/**
|
|
5757
6206
|
* Schematic API
|
|
5758
6207
|
* Schematic API
|
|
@@ -5808,17 +6257,6 @@ export declare function CreateBillingProductRequestBodyFromJSONTyped(json: any,
|
|
|
5808
6257
|
|
|
5809
6258
|
export declare function CreateBillingProductRequestBodyToJSON(value?: CreateBillingProductRequestBody | null): any;
|
|
5810
6259
|
|
|
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
6260
|
/**
|
|
5823
6261
|
*
|
|
5824
6262
|
* @export
|
|
@@ -5845,16 +6283,22 @@ export declare interface CreateBillingSubscriptionsRequestBody {
|
|
|
5845
6283
|
interval?: string;
|
|
5846
6284
|
/**
|
|
5847
6285
|
*
|
|
5848
|
-
* @type {Array<
|
|
6286
|
+
* @type {Array<BillingProductPricing>}
|
|
5849
6287
|
* @memberof CreateBillingSubscriptionsRequestBody
|
|
5850
6288
|
*/
|
|
5851
|
-
productExternalIds: Array<
|
|
6289
|
+
productExternalIds: Array<BillingProductPricing>;
|
|
5852
6290
|
/**
|
|
5853
6291
|
*
|
|
5854
6292
|
* @type {string}
|
|
5855
6293
|
* @memberof CreateBillingSubscriptionsRequestBody
|
|
5856
6294
|
*/
|
|
5857
6295
|
subscriptionExternalId: string;
|
|
6296
|
+
/**
|
|
6297
|
+
*
|
|
6298
|
+
* @type {number}
|
|
6299
|
+
* @memberof CreateBillingSubscriptionsRequestBody
|
|
6300
|
+
*/
|
|
6301
|
+
totalPrice: number;
|
|
5858
6302
|
}
|
|
5859
6303
|
|
|
5860
6304
|
export declare function CreateBillingSubscriptionsRequestBodyFromJSON(json: any): CreateBillingSubscriptionsRequestBody;
|
|
@@ -6595,6 +7039,7 @@ export declare interface CreateEventRequestBody {
|
|
|
6595
7039
|
export declare const CreateEventRequestBodyEventTypeEnum: {
|
|
6596
7040
|
readonly Identify: "identify";
|
|
6597
7041
|
readonly Track: "track";
|
|
7042
|
+
readonly FlagCheck: "flag_check";
|
|
6598
7043
|
};
|
|
6599
7044
|
|
|
6600
7045
|
export declare type CreateEventRequestBodyEventTypeEnum = (typeof CreateEventRequestBodyEventTypeEnum)[keyof typeof CreateEventRequestBodyEventTypeEnum];
|
|
@@ -6665,12 +7110,24 @@ export declare interface CreateFeatureRequestBody {
|
|
|
6665
7110
|
* @memberof CreateFeatureRequestBody
|
|
6666
7111
|
*/
|
|
6667
7112
|
flag?: CreateOrUpdateFlagRequestBody;
|
|
7113
|
+
/**
|
|
7114
|
+
*
|
|
7115
|
+
* @type {string}
|
|
7116
|
+
* @memberof CreateFeatureRequestBody
|
|
7117
|
+
*/
|
|
7118
|
+
icon?: string;
|
|
6668
7119
|
/**
|
|
6669
7120
|
*
|
|
6670
7121
|
* @type {string}
|
|
6671
7122
|
* @memberof CreateFeatureRequestBody
|
|
6672
7123
|
*/
|
|
6673
7124
|
lifecyclePhase?: string;
|
|
7125
|
+
/**
|
|
7126
|
+
*
|
|
7127
|
+
* @type {string}
|
|
7128
|
+
* @memberof CreateFeatureRequestBody
|
|
7129
|
+
*/
|
|
7130
|
+
maintainerId?: string;
|
|
6674
7131
|
/**
|
|
6675
7132
|
*
|
|
6676
7133
|
* @type {string}
|
|
@@ -6779,6 +7236,12 @@ export declare interface CreateFlagRequestBody {
|
|
|
6779
7236
|
* @memberof CreateFlagRequestBody
|
|
6780
7237
|
*/
|
|
6781
7238
|
key: string;
|
|
7239
|
+
/**
|
|
7240
|
+
*
|
|
7241
|
+
* @type {string}
|
|
7242
|
+
* @memberof CreateFlagRequestBody
|
|
7243
|
+
*/
|
|
7244
|
+
maintainerId?: string;
|
|
6782
7245
|
/**
|
|
6783
7246
|
*
|
|
6784
7247
|
* @type {string}
|
|
@@ -7035,6 +7498,12 @@ export declare interface CreateOrUpdateFlagRequestBody {
|
|
|
7035
7498
|
* @memberof CreateOrUpdateFlagRequestBody
|
|
7036
7499
|
*/
|
|
7037
7500
|
key: string;
|
|
7501
|
+
/**
|
|
7502
|
+
*
|
|
7503
|
+
* @type {string}
|
|
7504
|
+
* @memberof CreateOrUpdateFlagRequestBody
|
|
7505
|
+
*/
|
|
7506
|
+
maintainerId?: string;
|
|
7038
7507
|
/**
|
|
7039
7508
|
*
|
|
7040
7509
|
* @type {string}
|
|
@@ -7272,6 +7741,12 @@ export declare interface CreatePlanRequestBody {
|
|
|
7272
7741
|
* @memberof CreatePlanRequestBody
|
|
7273
7742
|
*/
|
|
7274
7743
|
description: string;
|
|
7744
|
+
/**
|
|
7745
|
+
*
|
|
7746
|
+
* @type {string}
|
|
7747
|
+
* @memberof CreatePlanRequestBody
|
|
7748
|
+
*/
|
|
7749
|
+
icon?: string;
|
|
7275
7750
|
/**
|
|
7276
7751
|
*
|
|
7277
7752
|
* @type {string}
|
|
@@ -9068,57 +9543,146 @@ export declare function EnvironmentDetailResponseDataToJSON(value?: EnvironmentD
|
|
|
9068
9543
|
*/
|
|
9069
9544
|
export declare interface EnvironmentResponseData {
|
|
9070
9545
|
/**
|
|
9071
|
-
*
|
|
9072
|
-
* @type {Date}
|
|
9073
|
-
* @memberof EnvironmentResponseData
|
|
9546
|
+
*
|
|
9547
|
+
* @type {Date}
|
|
9548
|
+
* @memberof EnvironmentResponseData
|
|
9549
|
+
*/
|
|
9550
|
+
createdAt: Date;
|
|
9551
|
+
/**
|
|
9552
|
+
*
|
|
9553
|
+
* @type {string}
|
|
9554
|
+
* @memberof EnvironmentResponseData
|
|
9555
|
+
*/
|
|
9556
|
+
environmentType: string;
|
|
9557
|
+
/**
|
|
9558
|
+
*
|
|
9559
|
+
* @type {string}
|
|
9560
|
+
* @memberof EnvironmentResponseData
|
|
9561
|
+
*/
|
|
9562
|
+
id: string;
|
|
9563
|
+
/**
|
|
9564
|
+
*
|
|
9565
|
+
* @type {string}
|
|
9566
|
+
* @memberof EnvironmentResponseData
|
|
9567
|
+
*/
|
|
9568
|
+
name: string;
|
|
9569
|
+
/**
|
|
9570
|
+
*
|
|
9571
|
+
* @type {Date}
|
|
9572
|
+
* @memberof EnvironmentResponseData
|
|
9573
|
+
*/
|
|
9574
|
+
updatedAt: Date;
|
|
9575
|
+
}
|
|
9576
|
+
|
|
9577
|
+
export declare function EnvironmentResponseDataFromJSON(json: any): EnvironmentResponseData;
|
|
9578
|
+
|
|
9579
|
+
export declare function EnvironmentResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentResponseData;
|
|
9580
|
+
|
|
9581
|
+
export declare function EnvironmentResponseDataToJSON(value?: EnvironmentResponseData | null): any;
|
|
9582
|
+
|
|
9583
|
+
export declare interface ErrorContext {
|
|
9584
|
+
fetch: FetchAPI;
|
|
9585
|
+
url: string;
|
|
9586
|
+
init: RequestInit_2;
|
|
9587
|
+
error: unknown;
|
|
9588
|
+
response?: Response_2;
|
|
9589
|
+
}
|
|
9590
|
+
|
|
9591
|
+
/**
|
|
9592
|
+
* @type EventBody
|
|
9593
|
+
*
|
|
9594
|
+
* @export
|
|
9595
|
+
*/
|
|
9596
|
+
export declare type EventBody = EventBodyFlagCheck | EventBodyIdentify | EventBodyTrack;
|
|
9597
|
+
|
|
9598
|
+
/**
|
|
9599
|
+
* Schematic API
|
|
9600
|
+
* Schematic API
|
|
9601
|
+
*
|
|
9602
|
+
* The version of the OpenAPI document: 0.1
|
|
9603
|
+
*
|
|
9604
|
+
*
|
|
9605
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9606
|
+
* https://openapi-generator.tech
|
|
9607
|
+
* Do not edit the class manually.
|
|
9608
|
+
*/
|
|
9609
|
+
/**
|
|
9610
|
+
*
|
|
9611
|
+
* @export
|
|
9612
|
+
* @interface EventBodyFlagCheck
|
|
9613
|
+
*/
|
|
9614
|
+
export declare interface EventBodyFlagCheck {
|
|
9615
|
+
/**
|
|
9616
|
+
* Schematic company ID (starting with 'comp_') of the company evaluated, if any
|
|
9617
|
+
* @type {string}
|
|
9618
|
+
* @memberof EventBodyFlagCheck
|
|
9619
|
+
*/
|
|
9620
|
+
companyId?: string;
|
|
9621
|
+
/**
|
|
9622
|
+
* Report an error that occurred during the flag check
|
|
9623
|
+
* @type {string}
|
|
9624
|
+
* @memberof EventBodyFlagCheck
|
|
9625
|
+
*/
|
|
9626
|
+
error?: string;
|
|
9627
|
+
/**
|
|
9628
|
+
* Schematic flag ID (starting with 'flag_') for the flag matching the key, if any
|
|
9629
|
+
* @type {string}
|
|
9630
|
+
* @memberof EventBodyFlagCheck
|
|
9631
|
+
*/
|
|
9632
|
+
flagId?: string;
|
|
9633
|
+
/**
|
|
9634
|
+
* The key of the flag being checked
|
|
9635
|
+
* @type {string}
|
|
9636
|
+
* @memberof EventBodyFlagCheck
|
|
9074
9637
|
*/
|
|
9075
|
-
|
|
9638
|
+
flagKey: string;
|
|
9076
9639
|
/**
|
|
9077
|
-
*
|
|
9640
|
+
* The reason why the value was returned
|
|
9078
9641
|
* @type {string}
|
|
9079
|
-
* @memberof
|
|
9642
|
+
* @memberof EventBodyFlagCheck
|
|
9080
9643
|
*/
|
|
9081
|
-
|
|
9644
|
+
reason: string;
|
|
9082
9645
|
/**
|
|
9083
|
-
*
|
|
9646
|
+
* Key-value pairs used to to identify company for which the flag was checked
|
|
9647
|
+
* @type {{ [key: string]: string; }}
|
|
9648
|
+
* @memberof EventBodyFlagCheck
|
|
9649
|
+
*/
|
|
9650
|
+
reqCompany?: {
|
|
9651
|
+
[key: string]: string;
|
|
9652
|
+
};
|
|
9653
|
+
/**
|
|
9654
|
+
* Key-value pairs used to to identify user for which the flag was checked
|
|
9655
|
+
* @type {{ [key: string]: string; }}
|
|
9656
|
+
* @memberof EventBodyFlagCheck
|
|
9657
|
+
*/
|
|
9658
|
+
reqUser?: {
|
|
9659
|
+
[key: string]: string;
|
|
9660
|
+
};
|
|
9661
|
+
/**
|
|
9662
|
+
* Schematic rule ID (starting with 'rule_') of the rule that matched for the flag, if any
|
|
9084
9663
|
* @type {string}
|
|
9085
|
-
* @memberof
|
|
9664
|
+
* @memberof EventBodyFlagCheck
|
|
9086
9665
|
*/
|
|
9087
|
-
|
|
9666
|
+
ruleId?: string;
|
|
9088
9667
|
/**
|
|
9089
|
-
*
|
|
9668
|
+
* Schematic user ID (starting with 'user_') of the user evaluated, if any
|
|
9090
9669
|
* @type {string}
|
|
9091
|
-
* @memberof
|
|
9670
|
+
* @memberof EventBodyFlagCheck
|
|
9092
9671
|
*/
|
|
9093
|
-
|
|
9672
|
+
userId?: string;
|
|
9094
9673
|
/**
|
|
9095
|
-
*
|
|
9096
|
-
* @type {
|
|
9097
|
-
* @memberof
|
|
9674
|
+
* The value of the flag for the given company and/or user
|
|
9675
|
+
* @type {boolean}
|
|
9676
|
+
* @memberof EventBodyFlagCheck
|
|
9098
9677
|
*/
|
|
9099
|
-
|
|
9678
|
+
value: boolean;
|
|
9100
9679
|
}
|
|
9101
9680
|
|
|
9102
|
-
export declare function
|
|
9103
|
-
|
|
9104
|
-
export declare function EnvironmentResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentResponseData;
|
|
9105
|
-
|
|
9106
|
-
export declare function EnvironmentResponseDataToJSON(value?: EnvironmentResponseData | null): any;
|
|
9681
|
+
export declare function EventBodyFlagCheckFromJSON(json: any): EventBodyFlagCheck;
|
|
9107
9682
|
|
|
9108
|
-
export declare
|
|
9109
|
-
fetch: FetchAPI;
|
|
9110
|
-
url: string;
|
|
9111
|
-
init: RequestInit_2;
|
|
9112
|
-
error: unknown;
|
|
9113
|
-
response?: Response_2;
|
|
9114
|
-
}
|
|
9683
|
+
export declare function EventBodyFlagCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventBodyFlagCheck;
|
|
9115
9684
|
|
|
9116
|
-
|
|
9117
|
-
* @type EventBody
|
|
9118
|
-
*
|
|
9119
|
-
* @export
|
|
9120
|
-
*/
|
|
9121
|
-
export declare type EventBody = EventBodyIdentify | EventBodyTrack;
|
|
9685
|
+
export declare function EventBodyFlagCheckToJSON(value?: EventBodyFlagCheck | null): any;
|
|
9122
9686
|
|
|
9123
9687
|
export declare function EventBodyFromJSON(json: any): EventBody;
|
|
9124
9688
|
|
|
@@ -9888,6 +10452,12 @@ export declare interface FeatureDetailResponseData {
|
|
|
9888
10452
|
* @memberof FeatureDetailResponseData
|
|
9889
10453
|
*/
|
|
9890
10454
|
flags: Array<FlagDetailResponseData>;
|
|
10455
|
+
/**
|
|
10456
|
+
*
|
|
10457
|
+
* @type {string}
|
|
10458
|
+
* @memberof FeatureDetailResponseData
|
|
10459
|
+
*/
|
|
10460
|
+
icon?: string;
|
|
9891
10461
|
/**
|
|
9892
10462
|
*
|
|
9893
10463
|
* @type {string}
|
|
@@ -9900,6 +10470,12 @@ export declare interface FeatureDetailResponseData {
|
|
|
9900
10470
|
* @memberof FeatureDetailResponseData
|
|
9901
10471
|
*/
|
|
9902
10472
|
lifecyclePhase?: string;
|
|
10473
|
+
/**
|
|
10474
|
+
*
|
|
10475
|
+
* @type {string}
|
|
10476
|
+
* @memberof FeatureDetailResponseData
|
|
10477
|
+
*/
|
|
10478
|
+
maintainerId?: string;
|
|
9903
10479
|
/**
|
|
9904
10480
|
*
|
|
9905
10481
|
* @type {string}
|
|
@@ -9979,6 +10555,12 @@ export declare interface FeatureResponseData {
|
|
|
9979
10555
|
* @memberof FeatureResponseData
|
|
9980
10556
|
*/
|
|
9981
10557
|
featureType: string;
|
|
10558
|
+
/**
|
|
10559
|
+
*
|
|
10560
|
+
* @type {string}
|
|
10561
|
+
* @memberof FeatureResponseData
|
|
10562
|
+
*/
|
|
10563
|
+
icon?: string;
|
|
9982
10564
|
/**
|
|
9983
10565
|
*
|
|
9984
10566
|
* @type {string}
|
|
@@ -9991,6 +10573,12 @@ export declare interface FeatureResponseData {
|
|
|
9991
10573
|
* @memberof FeatureResponseData
|
|
9992
10574
|
*/
|
|
9993
10575
|
lifecyclePhase?: string;
|
|
10576
|
+
/**
|
|
10577
|
+
*
|
|
10578
|
+
* @type {string}
|
|
10579
|
+
* @memberof FeatureResponseData
|
|
10580
|
+
*/
|
|
10581
|
+
maintainerId?: string;
|
|
9994
10582
|
/**
|
|
9995
10583
|
*
|
|
9996
10584
|
* @type {string}
|
|
@@ -10631,12 +11219,24 @@ export declare interface FlagDetailResponseData {
|
|
|
10631
11219
|
* @memberof FlagDetailResponseData
|
|
10632
11220
|
*/
|
|
10633
11221
|
key: string;
|
|
11222
|
+
/**
|
|
11223
|
+
*
|
|
11224
|
+
* @type {Date}
|
|
11225
|
+
* @memberof FlagDetailResponseData
|
|
11226
|
+
*/
|
|
11227
|
+
lastCheckedAt?: Date;
|
|
10634
11228
|
/**
|
|
10635
11229
|
*
|
|
10636
11230
|
* @type {FlagCheckLogResponseData}
|
|
10637
11231
|
* @memberof FlagDetailResponseData
|
|
10638
11232
|
*/
|
|
10639
11233
|
latestCheck?: FlagCheckLogResponseData;
|
|
11234
|
+
/**
|
|
11235
|
+
*
|
|
11236
|
+
* @type {string}
|
|
11237
|
+
* @memberof FlagDetailResponseData
|
|
11238
|
+
*/
|
|
11239
|
+
maintainerId?: string;
|
|
10640
11240
|
/**
|
|
10641
11241
|
*
|
|
10642
11242
|
* @type {string}
|
|
@@ -10722,6 +11322,12 @@ export declare interface FlagResponseData {
|
|
|
10722
11322
|
* @memberof FlagResponseData
|
|
10723
11323
|
*/
|
|
10724
11324
|
key: string;
|
|
11325
|
+
/**
|
|
11326
|
+
*
|
|
11327
|
+
* @type {string}
|
|
11328
|
+
* @memberof FlagResponseData
|
|
11329
|
+
*/
|
|
11330
|
+
maintainerId?: string;
|
|
10725
11331
|
/**
|
|
10726
11332
|
*
|
|
10727
11333
|
* @type {string}
|
|
@@ -11962,11 +12568,31 @@ export declare function instanceOfApiKeyResponseData(value: object): value is Ap
|
|
|
11962
12568
|
*/
|
|
11963
12569
|
export declare function instanceOfAudienceRequestBody(value: object): value is AudienceRequestBody;
|
|
11964
12570
|
|
|
12571
|
+
/**
|
|
12572
|
+
* Check if a given object implements the BillingCustomerResponseData interface.
|
|
12573
|
+
*/
|
|
12574
|
+
export declare function instanceOfBillingCustomerResponseData(value: object): value is BillingCustomerResponseData;
|
|
12575
|
+
|
|
12576
|
+
/**
|
|
12577
|
+
* Check if a given object implements the BillingCustomerSubscription interface.
|
|
12578
|
+
*/
|
|
12579
|
+
export declare function instanceOfBillingCustomerSubscription(value: object): value is BillingCustomerSubscription;
|
|
12580
|
+
|
|
12581
|
+
/**
|
|
12582
|
+
* Check if a given object implements the BillingCustomerWithSubscriptionsResponseData interface.
|
|
12583
|
+
*/
|
|
12584
|
+
export declare function instanceOfBillingCustomerWithSubscriptionsResponseData(value: object): value is BillingCustomerWithSubscriptionsResponseData;
|
|
12585
|
+
|
|
11965
12586
|
/**
|
|
11966
12587
|
* Check if a given object implements the BillingProductPlanResponseData interface.
|
|
11967
12588
|
*/
|
|
11968
12589
|
export declare function instanceOfBillingProductPlanResponseData(value: object): value is BillingProductPlanResponseData;
|
|
11969
12590
|
|
|
12591
|
+
/**
|
|
12592
|
+
* Check if a given object implements the BillingProductPricing interface.
|
|
12593
|
+
*/
|
|
12594
|
+
export declare function instanceOfBillingProductPricing(value: object): value is BillingProductPricing;
|
|
12595
|
+
|
|
11970
12596
|
/**
|
|
11971
12597
|
* Check if a given object implements the BillingProductResponseData interface.
|
|
11972
12598
|
*/
|
|
@@ -12117,6 +12743,16 @@ export declare function instanceOfCountComponentsParams(value: object): value is
|
|
|
12117
12743
|
*/
|
|
12118
12744
|
export declare function instanceOfCountComponentsResponse(value: object): value is CountComponentsResponse;
|
|
12119
12745
|
|
|
12746
|
+
/**
|
|
12747
|
+
* Check if a given object implements the CountCustomersParams interface.
|
|
12748
|
+
*/
|
|
12749
|
+
export declare function instanceOfCountCustomersParams(value: object): value is CountCustomersParams;
|
|
12750
|
+
|
|
12751
|
+
/**
|
|
12752
|
+
* Check if a given object implements the CountCustomersResponse interface.
|
|
12753
|
+
*/
|
|
12754
|
+
export declare function instanceOfCountCustomersResponse(value: object): value is CountCustomersResponse;
|
|
12755
|
+
|
|
12120
12756
|
/**
|
|
12121
12757
|
* Check if a given object implements the CountEntityKeyDefinitionsParams interface.
|
|
12122
12758
|
*/
|
|
@@ -12262,6 +12898,11 @@ export declare function instanceOfCreateApiKeyRequestBody(value: object): value
|
|
|
12262
12898
|
*/
|
|
12263
12899
|
export declare function instanceOfCreateApiKeyResponse(value: object): value is CreateApiKeyResponse;
|
|
12264
12900
|
|
|
12901
|
+
/**
|
|
12902
|
+
* Check if a given object implements the CreateBillingCustomerRequestBody interface.
|
|
12903
|
+
*/
|
|
12904
|
+
export declare function instanceOfCreateBillingCustomerRequestBody(value: object): value is CreateBillingCustomerRequestBody;
|
|
12905
|
+
|
|
12265
12906
|
/**
|
|
12266
12907
|
* Check if a given object implements the CreateBillingProductRequestBody interface.
|
|
12267
12908
|
*/
|
|
@@ -12577,6 +13218,11 @@ export declare function instanceOfEnvironmentDetailResponseData(value: object):
|
|
|
12577
13218
|
*/
|
|
12578
13219
|
export declare function instanceOfEnvironmentResponseData(value: object): value is EnvironmentResponseData;
|
|
12579
13220
|
|
|
13221
|
+
/**
|
|
13222
|
+
* Check if a given object implements the EventBodyFlagCheck interface.
|
|
13223
|
+
*/
|
|
13224
|
+
export declare function instanceOfEventBodyFlagCheck(value: object): value is EventBodyFlagCheck;
|
|
13225
|
+
|
|
12580
13226
|
/**
|
|
12581
13227
|
* Check if a given object implements the EventBodyIdentify interface.
|
|
12582
13228
|
*/
|
|
@@ -12942,6 +13588,16 @@ export declare function instanceOfListCrmProductsParams(value: object): value is
|
|
|
12942
13588
|
*/
|
|
12943
13589
|
export declare function instanceOfListCrmProductsResponse(value: object): value is ListCrmProductsResponse;
|
|
12944
13590
|
|
|
13591
|
+
/**
|
|
13592
|
+
* Check if a given object implements the ListCustomersParams interface.
|
|
13593
|
+
*/
|
|
13594
|
+
export declare function instanceOfListCustomersParams(value: object): value is ListCustomersParams;
|
|
13595
|
+
|
|
13596
|
+
/**
|
|
13597
|
+
* Check if a given object implements the ListCustomersResponse interface.
|
|
13598
|
+
*/
|
|
13599
|
+
export declare function instanceOfListCustomersResponse(value: object): value is ListCustomersResponse;
|
|
13600
|
+
|
|
12945
13601
|
/**
|
|
12946
13602
|
* Check if a given object implements the ListEntityKeyDefinitionsParams interface.
|
|
12947
13603
|
*/
|
|
@@ -13357,6 +14013,11 @@ export declare function instanceOfUpdateWebhookRequestBody(value: object): value
|
|
|
13357
14013
|
*/
|
|
13358
14014
|
export declare function instanceOfUpdateWebhookResponse(value: object): value is UpdateWebhookResponse;
|
|
13359
14015
|
|
|
14016
|
+
/**
|
|
14017
|
+
* Check if a given object implements the UpsertBillingCustomerResponse interface.
|
|
14018
|
+
*/
|
|
14019
|
+
export declare function instanceOfUpsertBillingCustomerResponse(value: object): value is UpsertBillingCustomerResponse;
|
|
14020
|
+
|
|
13360
14021
|
/**
|
|
13361
14022
|
* Check if a given object implements the UpsertBillingProductPlanResponse interface.
|
|
13362
14023
|
*/
|
|
@@ -14404,6 +15065,95 @@ export declare function ListCrmProductsResponseFromJSONTyped(json: any, ignoreDi
|
|
|
14404
15065
|
|
|
14405
15066
|
export declare function ListCrmProductsResponseToJSON(value?: ListCrmProductsResponse | null): any;
|
|
14406
15067
|
|
|
15068
|
+
/**
|
|
15069
|
+
* Schematic API
|
|
15070
|
+
* Schematic API
|
|
15071
|
+
*
|
|
15072
|
+
* The version of the OpenAPI document: 0.1
|
|
15073
|
+
*
|
|
15074
|
+
*
|
|
15075
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15076
|
+
* https://openapi-generator.tech
|
|
15077
|
+
* Do not edit the class manually.
|
|
15078
|
+
*/
|
|
15079
|
+
/**
|
|
15080
|
+
* Input parameters
|
|
15081
|
+
* @export
|
|
15082
|
+
* @interface ListCustomersParams
|
|
15083
|
+
*/
|
|
15084
|
+
export declare interface ListCustomersParams {
|
|
15085
|
+
/**
|
|
15086
|
+
*
|
|
15087
|
+
* @type {boolean}
|
|
15088
|
+
* @memberof ListCustomersParams
|
|
15089
|
+
*/
|
|
15090
|
+
failedToImport?: boolean;
|
|
15091
|
+
/**
|
|
15092
|
+
* Page limit (default 100)
|
|
15093
|
+
* @type {number}
|
|
15094
|
+
* @memberof ListCustomersParams
|
|
15095
|
+
*/
|
|
15096
|
+
limit?: number;
|
|
15097
|
+
/**
|
|
15098
|
+
*
|
|
15099
|
+
* @type {string}
|
|
15100
|
+
* @memberof ListCustomersParams
|
|
15101
|
+
*/
|
|
15102
|
+
name?: string;
|
|
15103
|
+
/**
|
|
15104
|
+
* Page offset (default 0)
|
|
15105
|
+
* @type {number}
|
|
15106
|
+
* @memberof ListCustomersParams
|
|
15107
|
+
*/
|
|
15108
|
+
offset?: number;
|
|
15109
|
+
/**
|
|
15110
|
+
*
|
|
15111
|
+
* @type {string}
|
|
15112
|
+
* @memberof ListCustomersParams
|
|
15113
|
+
*/
|
|
15114
|
+
q?: string;
|
|
15115
|
+
}
|
|
15116
|
+
|
|
15117
|
+
export declare function ListCustomersParamsFromJSON(json: any): ListCustomersParams;
|
|
15118
|
+
|
|
15119
|
+
export declare function ListCustomersParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomersParams;
|
|
15120
|
+
|
|
15121
|
+
export declare function ListCustomersParamsToJSON(value?: ListCustomersParams | null): any;
|
|
15122
|
+
|
|
15123
|
+
export declare interface ListCustomersRequest {
|
|
15124
|
+
name?: string;
|
|
15125
|
+
failedToImport?: boolean;
|
|
15126
|
+
q?: string;
|
|
15127
|
+
limit?: number;
|
|
15128
|
+
offset?: number;
|
|
15129
|
+
}
|
|
15130
|
+
|
|
15131
|
+
/**
|
|
15132
|
+
*
|
|
15133
|
+
* @export
|
|
15134
|
+
* @interface ListCustomersResponse
|
|
15135
|
+
*/
|
|
15136
|
+
export declare interface ListCustomersResponse {
|
|
15137
|
+
/**
|
|
15138
|
+
* The returned resources
|
|
15139
|
+
* @type {Array<BillingCustomerWithSubscriptionsResponseData>}
|
|
15140
|
+
* @memberof ListCustomersResponse
|
|
15141
|
+
*/
|
|
15142
|
+
data: Array<BillingCustomerWithSubscriptionsResponseData>;
|
|
15143
|
+
/**
|
|
15144
|
+
*
|
|
15145
|
+
* @type {ListCustomersParams}
|
|
15146
|
+
* @memberof ListCustomersResponse
|
|
15147
|
+
*/
|
|
15148
|
+
params: ListCustomersParams;
|
|
15149
|
+
}
|
|
15150
|
+
|
|
15151
|
+
export declare function ListCustomersResponseFromJSON(json: any): ListCustomersResponse;
|
|
15152
|
+
|
|
15153
|
+
export declare function ListCustomersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomersResponse;
|
|
15154
|
+
|
|
15155
|
+
export declare function ListCustomersResponseToJSON(value?: ListCustomersResponse | null): any;
|
|
15156
|
+
|
|
14407
15157
|
/**
|
|
14408
15158
|
* @export
|
|
14409
15159
|
*/
|
|
@@ -14761,6 +15511,18 @@ export declare interface ListEventsParams {
|
|
|
14761
15511
|
* @memberof ListEventsParams
|
|
14762
15512
|
*/
|
|
14763
15513
|
eventSubtype?: string;
|
|
15514
|
+
/**
|
|
15515
|
+
*
|
|
15516
|
+
* @type {Array<string>}
|
|
15517
|
+
* @memberof ListEventsParams
|
|
15518
|
+
*/
|
|
15519
|
+
eventTypes?: Array<string>;
|
|
15520
|
+
/**
|
|
15521
|
+
*
|
|
15522
|
+
* @type {string}
|
|
15523
|
+
* @memberof ListEventsParams
|
|
15524
|
+
*/
|
|
15525
|
+
flagId?: string;
|
|
14764
15526
|
/**
|
|
14765
15527
|
* Page limit (default 100)
|
|
14766
15528
|
* @type {number}
|
|
@@ -14789,8 +15551,10 @@ export declare function ListEventsParamsToJSON(value?: ListEventsParams | null):
|
|
|
14789
15551
|
|
|
14790
15552
|
export declare interface ListEventsRequest {
|
|
14791
15553
|
companyId?: string;
|
|
14792
|
-
userId?: string;
|
|
14793
15554
|
eventSubtype?: string;
|
|
15555
|
+
eventTypes?: Array<string>;
|
|
15556
|
+
flagId?: string;
|
|
15557
|
+
userId?: string;
|
|
14794
15558
|
limit?: number;
|
|
14795
15559
|
offset?: number;
|
|
14796
15560
|
}
|
|
@@ -16478,6 +17242,12 @@ export declare interface PlanDetailResponseData {
|
|
|
16478
17242
|
* @memberof PlanDetailResponseData
|
|
16479
17243
|
*/
|
|
16480
17244
|
audienceType: string;
|
|
17245
|
+
/**
|
|
17246
|
+
*
|
|
17247
|
+
* @type {Array<BillingProductResponseData>}
|
|
17248
|
+
* @memberof PlanDetailResponseData
|
|
17249
|
+
*/
|
|
17250
|
+
billingProducts: Array<BillingProductResponseData>;
|
|
16481
17251
|
/**
|
|
16482
17252
|
*
|
|
16483
17253
|
* @type {number}
|
|
@@ -16502,6 +17272,12 @@ export declare interface PlanDetailResponseData {
|
|
|
16502
17272
|
* @memberof PlanDetailResponseData
|
|
16503
17273
|
*/
|
|
16504
17274
|
features: Array<FeatureDetailResponseData>;
|
|
17275
|
+
/**
|
|
17276
|
+
*
|
|
17277
|
+
* @type {string}
|
|
17278
|
+
* @memberof PlanDetailResponseData
|
|
17279
|
+
*/
|
|
17280
|
+
icon?: string;
|
|
16505
17281
|
/**
|
|
16506
17282
|
*
|
|
16507
17283
|
* @type {string}
|
|
@@ -16673,6 +17449,12 @@ export declare interface PlanResponseData {
|
|
|
16673
17449
|
* @memberof PlanResponseData
|
|
16674
17450
|
*/
|
|
16675
17451
|
description: string;
|
|
17452
|
+
/**
|
|
17453
|
+
*
|
|
17454
|
+
* @type {string}
|
|
17455
|
+
* @memberof PlanResponseData
|
|
17456
|
+
*/
|
|
17457
|
+
icon?: string;
|
|
16676
17458
|
/**
|
|
16677
17459
|
*
|
|
16678
17460
|
* @type {string}
|
|
@@ -16808,6 +17590,12 @@ export declare class PlansApi extends runtime.BaseAPI {
|
|
|
16808
17590
|
* @interface PreviewObject
|
|
16809
17591
|
*/
|
|
16810
17592
|
export declare interface PreviewObject {
|
|
17593
|
+
/**
|
|
17594
|
+
*
|
|
17595
|
+
* @type {string}
|
|
17596
|
+
* @memberof PreviewObject
|
|
17597
|
+
*/
|
|
17598
|
+
description?: string;
|
|
16811
17599
|
/**
|
|
16812
17600
|
*
|
|
16813
17601
|
* @type {string}
|
|
@@ -18316,12 +19104,24 @@ export declare interface UpdateFeatureRequestBody {
|
|
|
18316
19104
|
* @memberof UpdateFeatureRequestBody
|
|
18317
19105
|
*/
|
|
18318
19106
|
flag?: CreateOrUpdateFlagRequestBody;
|
|
19107
|
+
/**
|
|
19108
|
+
*
|
|
19109
|
+
* @type {string}
|
|
19110
|
+
* @memberof UpdateFeatureRequestBody
|
|
19111
|
+
*/
|
|
19112
|
+
icon?: string;
|
|
18319
19113
|
/**
|
|
18320
19114
|
*
|
|
18321
19115
|
* @type {string}
|
|
18322
19116
|
* @memberof UpdateFeatureRequestBody
|
|
18323
19117
|
*/
|
|
18324
19118
|
lifecyclePhase?: string;
|
|
19119
|
+
/**
|
|
19120
|
+
*
|
|
19121
|
+
* @type {string}
|
|
19122
|
+
* @memberof UpdateFeatureRequestBody
|
|
19123
|
+
*/
|
|
19124
|
+
maintainerId?: string;
|
|
18325
19125
|
/**
|
|
18326
19126
|
*
|
|
18327
19127
|
* @type {string}
|
|
@@ -18604,6 +19404,12 @@ export declare interface UpdatePlanRequestBody {
|
|
|
18604
19404
|
* @memberof UpdatePlanRequestBody
|
|
18605
19405
|
*/
|
|
18606
19406
|
description?: string;
|
|
19407
|
+
/**
|
|
19408
|
+
*
|
|
19409
|
+
* @type {string}
|
|
19410
|
+
* @memberof UpdatePlanRequestBody
|
|
19411
|
+
*/
|
|
19412
|
+
icon?: string;
|
|
18607
19413
|
/**
|
|
18608
19414
|
*
|
|
18609
19415
|
* @type {string}
|
|
@@ -18907,6 +19713,36 @@ export declare function UpdateWebhookResponseFromJSONTyped(json: any, ignoreDisc
|
|
|
18907
19713
|
|
|
18908
19714
|
export declare function UpdateWebhookResponseToJSON(value?: UpdateWebhookResponse | null): any;
|
|
18909
19715
|
|
|
19716
|
+
export declare interface UpsertBillingCustomerRequest {
|
|
19717
|
+
createBillingCustomerRequestBody: CreateBillingCustomerRequestBody;
|
|
19718
|
+
}
|
|
19719
|
+
|
|
19720
|
+
/**
|
|
19721
|
+
*
|
|
19722
|
+
* @export
|
|
19723
|
+
* @interface UpsertBillingCustomerResponse
|
|
19724
|
+
*/
|
|
19725
|
+
export declare interface UpsertBillingCustomerResponse {
|
|
19726
|
+
/**
|
|
19727
|
+
*
|
|
19728
|
+
* @type {BillingCustomerResponseData}
|
|
19729
|
+
* @memberof UpsertBillingCustomerResponse
|
|
19730
|
+
*/
|
|
19731
|
+
data: BillingCustomerResponseData;
|
|
19732
|
+
/**
|
|
19733
|
+
* Input parameters
|
|
19734
|
+
* @type {object}
|
|
19735
|
+
* @memberof UpsertBillingCustomerResponse
|
|
19736
|
+
*/
|
|
19737
|
+
params: object;
|
|
19738
|
+
}
|
|
19739
|
+
|
|
19740
|
+
export declare function UpsertBillingCustomerResponseFromJSON(json: any): UpsertBillingCustomerResponse;
|
|
19741
|
+
|
|
19742
|
+
export declare function UpsertBillingCustomerResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertBillingCustomerResponse;
|
|
19743
|
+
|
|
19744
|
+
export declare function UpsertBillingCustomerResponseToJSON(value?: UpsertBillingCustomerResponse | null): any;
|
|
19745
|
+
|
|
18910
19746
|
export declare interface UpsertBillingProductPlanRequest {
|
|
18911
19747
|
upsertBillingProductRequestBody: UpsertBillingProductRequestBody;
|
|
18912
19748
|
planId: string;
|