@schematichq/schematic-typescript-node 1.0.16 → 1.0.18

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.
@@ -5,6 +5,20 @@ import { default as FormData_2 } from 'form-data';
5
5
  import { RequestInit as RequestInit_2 } from 'node-fetch';
6
6
  import { Response as Response_2 } from 'node-fetch';
7
7
 
8
+ /**
9
+ *
10
+ */
11
+ export declare class AccesstokensApi extends runtime.BaseAPI {
12
+ /**
13
+ * Issue temporary access token
14
+ */
15
+ issueTemporaryAccessTokenRaw(requestParameters: IssueTemporaryAccessTokenRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssueTemporaryAccessTokenResponse>>;
16
+ /**
17
+ * Issue temporary access token
18
+ */
19
+ issueTemporaryAccessToken(requestParameters: IssueTemporaryAccessTokenRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<IssueTemporaryAccessTokenResponse>;
20
+ }
21
+
8
22
  /**
9
23
  *
10
24
  */
@@ -159,6 +173,8 @@ declare namespace api {
159
173
  VoidApiResponse,
160
174
  BlobApiResponse,
161
175
  TextApiResponse,
176
+ IssueTemporaryAccessTokenRequest,
177
+ AccesstokensApi,
162
178
  CountApiKeysRequest,
163
179
  CountApiRequestsRequest,
164
180
  CreateApiKeyRequest,
@@ -221,6 +237,7 @@ declare namespace api {
221
237
  CreateComponentRequest,
222
238
  DeleteComponentRequest,
223
239
  GetComponentRequest,
240
+ HydrateComponentRequest,
224
241
  ListComponentsRequest,
225
242
  UpdateComponentRequest,
226
243
  ComponentsApi,
@@ -291,6 +308,7 @@ declare namespace api {
291
308
  ListPlansRequest,
292
309
  UpdateAudienceRequest,
293
310
  UpdatePlanRequest,
311
+ UpsertBillingProductPlanRequest,
294
312
  PlansApi,
295
313
  CountWebhookEventsRequest,
296
314
  CountWebhooksRequest,
@@ -332,6 +350,11 @@ declare namespace api {
332
350
  AudienceRequestBodyFromJSONTyped,
333
351
  AudienceRequestBodyToJSON,
334
352
  AudienceRequestBody,
353
+ instanceOfBillingProductPlanResponseData,
354
+ BillingProductPlanResponseDataFromJSON,
355
+ BillingProductPlanResponseDataFromJSONTyped,
356
+ BillingProductPlanResponseDataToJSON,
357
+ BillingProductPlanResponseData,
335
358
  instanceOfBillingProductResponseData,
336
359
  BillingProductResponseDataFromJSON,
337
360
  BillingProductResponseDataFromJSONTyped,
@@ -412,6 +435,11 @@ declare namespace api {
412
435
  CompanySubscriptionResponseDataFromJSONTyped,
413
436
  CompanySubscriptionResponseDataToJSON,
414
437
  CompanySubscriptionResponseData,
438
+ instanceOfComponentHydrateView,
439
+ ComponentHydrateViewFromJSON,
440
+ ComponentHydrateViewFromJSONTyped,
441
+ ComponentHydrateViewToJSON,
442
+ ComponentHydrateView,
415
443
  instanceOfComponentResponseData,
416
444
  ComponentResponseDataFromJSON,
417
445
  ComponentResponseDataFromJSONTyped,
@@ -1215,6 +1243,26 @@ declare namespace api {
1215
1243
  GetWebhookResponseFromJSONTyped,
1216
1244
  GetWebhookResponseToJSON,
1217
1245
  GetWebhookResponse,
1246
+ instanceOfHydrateComponentResponse,
1247
+ HydrateComponentResponseFromJSON,
1248
+ HydrateComponentResponseFromJSONTyped,
1249
+ HydrateComponentResponseToJSON,
1250
+ HydrateComponentResponse,
1251
+ instanceOfIssueTemporaryAccessTokenRequestBody,
1252
+ IssueTemporaryAccessTokenRequestBodyFromJSON,
1253
+ IssueTemporaryAccessTokenRequestBodyFromJSONTyped,
1254
+ IssueTemporaryAccessTokenRequestBodyToJSON,
1255
+ IssueTemporaryAccessTokenRequestBody,
1256
+ instanceOfIssueTemporaryAccessTokenResponse,
1257
+ IssueTemporaryAccessTokenResponseFromJSON,
1258
+ IssueTemporaryAccessTokenResponseFromJSONTyped,
1259
+ IssueTemporaryAccessTokenResponseToJSON,
1260
+ IssueTemporaryAccessTokenResponse,
1261
+ instanceOfIssueTemporaryAccessTokenResponseData,
1262
+ IssueTemporaryAccessTokenResponseDataFromJSON,
1263
+ IssueTemporaryAccessTokenResponseDataFromJSONTyped,
1264
+ IssueTemporaryAccessTokenResponseDataToJSON,
1265
+ IssueTemporaryAccessTokenResponseData,
1218
1266
  instanceOfKeysRequestBody,
1219
1267
  KeysRequestBodyFromJSON,
1220
1268
  KeysRequestBodyFromJSONTyped,
@@ -1598,6 +1646,11 @@ declare namespace api {
1598
1646
  SegmentStatusRespFromJSONTyped,
1599
1647
  SegmentStatusRespToJSON,
1600
1648
  SegmentStatusResp,
1649
+ instanceOfTemporaryAccessTokenResponseData,
1650
+ TemporaryAccessTokenResponseDataFromJSON,
1651
+ TemporaryAccessTokenResponseDataFromJSONTyped,
1652
+ TemporaryAccessTokenResponseDataToJSON,
1653
+ TemporaryAccessTokenResponseData,
1601
1654
  instanceOfUpdateApiKeyRequestBody,
1602
1655
  UpdateApiKeyRequestBodyFromJSON,
1603
1656
  UpdateApiKeyRequestBodyFromJSONTyped,
@@ -1636,6 +1689,7 @@ declare namespace api {
1636
1689
  UpdateComponentRequestBodyToJSON,
1637
1690
  UpdateComponentRequestBody,
1638
1691
  UpdateComponentRequestBodyEntityTypeEnum,
1692
+ UpdateComponentRequestBodyStateEnum,
1639
1693
  instanceOfUpdateComponentResponse,
1640
1694
  UpdateComponentResponseFromJSON,
1641
1695
  UpdateComponentResponseFromJSONTyped,
@@ -1736,6 +1790,16 @@ declare namespace api {
1736
1790
  UpdateWebhookResponseFromJSONTyped,
1737
1791
  UpdateWebhookResponseToJSON,
1738
1792
  UpdateWebhookResponse,
1793
+ instanceOfUpsertBillingProductPlanResponse,
1794
+ UpsertBillingProductPlanResponseFromJSON,
1795
+ UpsertBillingProductPlanResponseFromJSONTyped,
1796
+ UpsertBillingProductPlanResponseToJSON,
1797
+ UpsertBillingProductPlanResponse,
1798
+ instanceOfUpsertBillingProductRequestBody,
1799
+ UpsertBillingProductRequestBodyFromJSON,
1800
+ UpsertBillingProductRequestBodyFromJSONTyped,
1801
+ UpsertBillingProductRequestBodyToJSON,
1802
+ UpsertBillingProductRequestBody,
1739
1803
  instanceOfUpsertBillingProductResponse,
1740
1804
  UpsertBillingProductResponseFromJSON,
1741
1805
  UpsertBillingProductResponseFromJSONTyped,
@@ -2391,6 +2455,55 @@ export declare class BillingApi extends runtime.BaseAPI {
2391
2455
  upsertBillingSubscription(requestParameters: UpsertBillingSubscriptionRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingSubscriptionResponse>;
2392
2456
  }
2393
2457
 
2458
+ /**
2459
+ * Schematic API
2460
+ * Schematic API
2461
+ *
2462
+ * The version of the OpenAPI document: 0.1
2463
+ *
2464
+ *
2465
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2466
+ * https://openapi-generator.tech
2467
+ * Do not edit the class manually.
2468
+ */
2469
+ /**
2470
+ * The updated resource
2471
+ * @export
2472
+ * @interface BillingProductPlanResponseData
2473
+ */
2474
+ export declare interface BillingProductPlanResponseData {
2475
+ /**
2476
+ *
2477
+ * @type {string}
2478
+ * @memberof BillingProductPlanResponseData
2479
+ */
2480
+ accountId: string;
2481
+ /**
2482
+ *
2483
+ * @type {string}
2484
+ * @memberof BillingProductPlanResponseData
2485
+ */
2486
+ billingProductId: string;
2487
+ /**
2488
+ *
2489
+ * @type {string}
2490
+ * @memberof BillingProductPlanResponseData
2491
+ */
2492
+ environmentId: string;
2493
+ /**
2494
+ *
2495
+ * @type {string}
2496
+ * @memberof BillingProductPlanResponseData
2497
+ */
2498
+ planId: string;
2499
+ }
2500
+
2501
+ export declare function BillingProductPlanResponseDataFromJSON(json: any): BillingProductPlanResponseData;
2502
+
2503
+ export declare function BillingProductPlanResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingProductPlanResponseData;
2504
+
2505
+ export declare function BillingProductPlanResponseDataToJSON(value?: BillingProductPlanResponseData | null): any;
2506
+
2394
2507
  /**
2395
2508
  * Schematic API
2396
2509
  * Schematic API
@@ -2426,12 +2539,6 @@ export declare interface BillingProductResponseData {
2426
2539
  * @memberof BillingProductResponseData
2427
2540
  */
2428
2541
  currency: string;
2429
- /**
2430
- *
2431
- * @type {Date}
2432
- * @memberof BillingProductResponseData
2433
- */
2434
- deletedAt?: Date;
2435
2542
  /**
2436
2543
  *
2437
2544
  * @type {string}
@@ -2499,12 +2606,6 @@ export declare function BillingProductResponseDataToJSON(value?: BillingProductR
2499
2606
  * @interface BillingSubscriptionResponseData
2500
2607
  */
2501
2608
  export declare interface BillingSubscriptionResponseData {
2502
- /**
2503
- *
2504
- * @type {Date}
2505
- * @memberof BillingSubscriptionResponseData
2506
- */
2507
- deletedAt?: Date;
2508
2609
  /**
2509
2610
  *
2510
2611
  * @type {Date}
@@ -3585,6 +3686,32 @@ export declare function CompanySubscriptionResponseDataFromJSONTyped(json: any,
3585
3686
 
3586
3687
  export declare function CompanySubscriptionResponseDataToJSON(value?: CompanySubscriptionResponseData | null): any;
3587
3688
 
3689
+ /**
3690
+ * The returned resource
3691
+ * @export
3692
+ * @interface ComponentHydrateView
3693
+ */
3694
+ export declare interface ComponentHydrateView {
3695
+ /**
3696
+ *
3697
+ * @type {ComponentResponseData}
3698
+ * @memberof ComponentHydrateView
3699
+ */
3700
+ component?: ComponentResponseData;
3701
+ /**
3702
+ *
3703
+ * @type {object}
3704
+ * @memberof ComponentHydrateView
3705
+ */
3706
+ data: object;
3707
+ }
3708
+
3709
+ export declare function ComponentHydrateViewFromJSON(json: any): ComponentHydrateView;
3710
+
3711
+ export declare function ComponentHydrateViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentHydrateView;
3712
+
3713
+ export declare function ComponentHydrateViewToJSON(value?: ComponentHydrateView | null): any;
3714
+
3588
3715
  /**
3589
3716
  * Schematic API
3590
3717
  * Schematic API
@@ -3597,7 +3724,7 @@ export declare function CompanySubscriptionResponseDataToJSON(value?: CompanySub
3597
3724
  * Do not edit the class manually.
3598
3725
  */
3599
3726
  /**
3600
- * The updated resource
3727
+ *
3601
3728
  * @export
3602
3729
  * @interface ComponentResponseData
3603
3730
  */
@@ -3626,6 +3753,12 @@ export declare interface ComponentResponseData {
3626
3753
  * @memberof ComponentResponseData
3627
3754
  */
3628
3755
  name: string;
3756
+ /**
3757
+ *
3758
+ * @type {string}
3759
+ * @memberof ComponentResponseData
3760
+ */
3761
+ state: string;
3629
3762
  /**
3630
3763
  *
3631
3764
  * @type {string}
@@ -3682,6 +3815,14 @@ export declare class ComponentsApi extends runtime.BaseAPI {
3682
3815
  * Get component
3683
3816
  */
3684
3817
  getComponent(requestParameters: GetComponentRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<GetComponentResponse>;
3818
+ /**
3819
+ * Hydrate component
3820
+ */
3821
+ hydrateComponentRaw(requestParameters: HydrateComponentRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HydrateComponentResponse>>;
3822
+ /**
3823
+ * Hydrate component
3824
+ */
3825
+ hydrateComponent(requestParameters: HydrateComponentRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<HydrateComponentResponse>;
3685
3826
  /**
3686
3827
  * List components
3687
3828
  */
@@ -7113,6 +7254,12 @@ export declare interface CreatePlanRequest {
7113
7254
  * @interface CreatePlanRequestBody
7114
7255
  */
7115
7256
  export declare interface CreatePlanRequestBody {
7257
+ /**
7258
+ *
7259
+ * @type {string}
7260
+ * @memberof CreatePlanRequestBody
7261
+ */
7262
+ audienceType?: string;
7116
7263
  /**
7117
7264
  *
7118
7265
  * @type {string}
@@ -7478,12 +7625,6 @@ export declare interface CrmDealLineItem {
7478
7625
  * @memberof CrmDealLineItem
7479
7626
  */
7480
7627
  currency: string;
7481
- /**
7482
- *
7483
- * @type {Date}
7484
- * @memberof CrmDealLineItem
7485
- */
7486
- deletedAt?: Date;
7487
7628
  /**
7488
7629
  *
7489
7630
  * @type {string}
@@ -7599,12 +7740,6 @@ export declare interface CrmDealResponseData {
7599
7740
  * @memberof CrmDealResponseData
7600
7741
  */
7601
7742
  dealId: string;
7602
- /**
7603
- *
7604
- * @type {Date}
7605
- * @memberof CrmDealResponseData
7606
- */
7607
- deletedAt?: Date;
7608
7743
  /**
7609
7744
  *
7610
7745
  * @type {string}
@@ -7678,12 +7813,6 @@ export declare interface CrmLineItemResponseData {
7678
7813
  * @memberof CrmLineItemResponseData
7679
7814
  */
7680
7815
  dealId?: string;
7681
- /**
7682
- *
7683
- * @type {Date}
7684
- * @memberof CrmLineItemResponseData
7685
- */
7686
- deletedAt?: Date;
7687
7816
  /**
7688
7817
  *
7689
7818
  * @type {string}
@@ -7745,12 +7874,6 @@ export declare interface CrmProductResponseData {
7745
7874
  * @memberof CrmProductResponseData
7746
7875
  */
7747
7876
  currency: string;
7748
- /**
7749
- *
7750
- * @type {Date}
7751
- * @memberof CrmProductResponseData
7752
- */
7753
- deletedAt?: Date;
7754
7877
  /**
7755
7878
  *
7756
7879
  * @type {string}
@@ -11766,6 +11889,36 @@ export declare type HTTPRequestInit = {
11766
11889
  body?: HTTPBody;
11767
11890
  };
11768
11891
 
11892
+ export declare interface HydrateComponentRequest {
11893
+ componentId: string;
11894
+ }
11895
+
11896
+ /**
11897
+ *
11898
+ * @export
11899
+ * @interface HydrateComponentResponse
11900
+ */
11901
+ export declare interface HydrateComponentResponse {
11902
+ /**
11903
+ *
11904
+ * @type {ComponentHydrateView}
11905
+ * @memberof HydrateComponentResponse
11906
+ */
11907
+ data: ComponentHydrateView;
11908
+ /**
11909
+ * Input parameters
11910
+ * @type {object}
11911
+ * @memberof HydrateComponentResponse
11912
+ */
11913
+ params: object;
11914
+ }
11915
+
11916
+ export declare function HydrateComponentResponseFromJSON(json: any): HydrateComponentResponse;
11917
+
11918
+ export declare function HydrateComponentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HydrateComponentResponse;
11919
+
11920
+ export declare function HydrateComponentResponseToJSON(value?: HydrateComponentResponse | null): any;
11921
+
11769
11922
  export declare function init(apiKey: string, opts?: SchematicOptions): Schematic;
11770
11923
 
11771
11924
  export declare type InitOverrideFunction = (requestContext: {
@@ -11803,6 +11956,11 @@ export declare function instanceOfApiKeyResponseData(value: object): value is Ap
11803
11956
  */
11804
11957
  export declare function instanceOfAudienceRequestBody(value: object): value is AudienceRequestBody;
11805
11958
 
11959
+ /**
11960
+ * Check if a given object implements the BillingProductPlanResponseData interface.
11961
+ */
11962
+ export declare function instanceOfBillingProductPlanResponseData(value: object): value is BillingProductPlanResponseData;
11963
+
11806
11964
  /**
11807
11965
  * Check if a given object implements the BillingProductResponseData interface.
11808
11966
  */
@@ -11883,6 +12041,11 @@ export declare function instanceOfCompanyResponseData(value: object): value is C
11883
12041
  */
11884
12042
  export declare function instanceOfCompanySubscriptionResponseData(value: object): value is CompanySubscriptionResponseData;
11885
12043
 
12044
+ /**
12045
+ * Check if a given object implements the ComponentHydrateView interface.
12046
+ */
12047
+ export declare function instanceOfComponentHydrateView(value: object): value is ComponentHydrateView;
12048
+
11886
12049
  /**
11887
12050
  * Check if a given object implements the ComponentResponseData interface.
11888
12051
  */
@@ -12658,6 +12821,26 @@ export declare function instanceOfGetWebhookEventResponse(value: object): value
12658
12821
  */
12659
12822
  export declare function instanceOfGetWebhookResponse(value: object): value is GetWebhookResponse;
12660
12823
 
12824
+ /**
12825
+ * Check if a given object implements the HydrateComponentResponse interface.
12826
+ */
12827
+ export declare function instanceOfHydrateComponentResponse(value: object): value is HydrateComponentResponse;
12828
+
12829
+ /**
12830
+ * Check if a given object implements the IssueTemporaryAccessTokenRequestBody interface.
12831
+ */
12832
+ export declare function instanceOfIssueTemporaryAccessTokenRequestBody(value: object): value is IssueTemporaryAccessTokenRequestBody;
12833
+
12834
+ /**
12835
+ * Check if a given object implements the IssueTemporaryAccessTokenResponse interface.
12836
+ */
12837
+ export declare function instanceOfIssueTemporaryAccessTokenResponse(value: object): value is IssueTemporaryAccessTokenResponse;
12838
+
12839
+ /**
12840
+ * Check if a given object implements the IssueTemporaryAccessTokenResponseData interface.
12841
+ */
12842
+ export declare function instanceOfIssueTemporaryAccessTokenResponseData(value: object): value is IssueTemporaryAccessTokenResponseData;
12843
+
12661
12844
  /**
12662
12845
  * Check if a given object implements the KeysRequestBody interface.
12663
12846
  */
@@ -13038,6 +13221,11 @@ export declare function instanceOfRulesDetailResponseData(value: object): value
13038
13221
  */
13039
13222
  export declare function instanceOfSegmentStatusResp(value: object): value is SegmentStatusResp;
13040
13223
 
13224
+ /**
13225
+ * Check if a given object implements the TemporaryAccessTokenResponseData interface.
13226
+ */
13227
+ export declare function instanceOfTemporaryAccessTokenResponseData(value: object): value is TemporaryAccessTokenResponseData;
13228
+
13041
13229
  /**
13042
13230
  * Check if a given object implements the UpdateApiKeyRequestBody interface.
13043
13231
  */
@@ -13163,6 +13351,16 @@ export declare function instanceOfUpdateWebhookRequestBody(value: object): value
13163
13351
  */
13164
13352
  export declare function instanceOfUpdateWebhookResponse(value: object): value is UpdateWebhookResponse;
13165
13353
 
13354
+ /**
13355
+ * Check if a given object implements the UpsertBillingProductPlanResponse interface.
13356
+ */
13357
+ export declare function instanceOfUpsertBillingProductPlanResponse(value: object): value is UpsertBillingProductPlanResponse;
13358
+
13359
+ /**
13360
+ * Check if a given object implements the UpsertBillingProductRequestBody interface.
13361
+ */
13362
+ export declare function instanceOfUpsertBillingProductRequestBody(value: object): value is UpsertBillingProductRequestBody;
13363
+
13166
13364
  /**
13167
13365
  * Check if a given object implements the UpsertBillingProductResponse interface.
13168
13366
  */
@@ -13258,6 +13456,152 @@ export declare function instanceOfWebhookEventResponseData(value: object): value
13258
13456
  */
13259
13457
  export declare function instanceOfWebhookResponseData(value: object): value is WebhookResponseData;
13260
13458
 
13459
+ export declare interface IssueTemporaryAccessTokenRequest {
13460
+ issueTemporaryAccessTokenRequestBody: IssueTemporaryAccessTokenRequestBody;
13461
+ }
13462
+
13463
+ /**
13464
+ * Schematic API
13465
+ * Schematic API
13466
+ *
13467
+ * The version of the OpenAPI document: 0.1
13468
+ *
13469
+ *
13470
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13471
+ * https://openapi-generator.tech
13472
+ * Do not edit the class manually.
13473
+ */
13474
+ /**
13475
+ *
13476
+ * @export
13477
+ * @interface IssueTemporaryAccessTokenRequestBody
13478
+ */
13479
+ export declare interface IssueTemporaryAccessTokenRequestBody {
13480
+ /**
13481
+ *
13482
+ * @type {object}
13483
+ * @memberof IssueTemporaryAccessTokenRequestBody
13484
+ */
13485
+ lookup: object;
13486
+ /**
13487
+ *
13488
+ * @type {string}
13489
+ * @memberof IssueTemporaryAccessTokenRequestBody
13490
+ */
13491
+ resourceType: string;
13492
+ }
13493
+
13494
+ export declare function IssueTemporaryAccessTokenRequestBodyFromJSON(json: any): IssueTemporaryAccessTokenRequestBody;
13495
+
13496
+ export declare function IssueTemporaryAccessTokenRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueTemporaryAccessTokenRequestBody;
13497
+
13498
+ export declare function IssueTemporaryAccessTokenRequestBodyToJSON(value?: IssueTemporaryAccessTokenRequestBody | null): any;
13499
+
13500
+ /**
13501
+ *
13502
+ * @export
13503
+ * @interface IssueTemporaryAccessTokenResponse
13504
+ */
13505
+ export declare interface IssueTemporaryAccessTokenResponse {
13506
+ /**
13507
+ *
13508
+ * @type {IssueTemporaryAccessTokenResponseData}
13509
+ * @memberof IssueTemporaryAccessTokenResponse
13510
+ */
13511
+ data: IssueTemporaryAccessTokenResponseData;
13512
+ /**
13513
+ * Input parameters
13514
+ * @type {object}
13515
+ * @memberof IssueTemporaryAccessTokenResponse
13516
+ */
13517
+ params: object;
13518
+ }
13519
+
13520
+ /**
13521
+ * Schematic API
13522
+ * Schematic API
13523
+ *
13524
+ * The version of the OpenAPI document: 0.1
13525
+ *
13526
+ *
13527
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13528
+ * https://openapi-generator.tech
13529
+ * Do not edit the class manually.
13530
+ */
13531
+ /**
13532
+ * The created resource
13533
+ * @export
13534
+ * @interface IssueTemporaryAccessTokenResponseData
13535
+ */
13536
+ export declare interface IssueTemporaryAccessTokenResponseData {
13537
+ /**
13538
+ *
13539
+ * @type {string}
13540
+ * @memberof IssueTemporaryAccessTokenResponseData
13541
+ */
13542
+ accountId: string;
13543
+ /**
13544
+ *
13545
+ * @type {string}
13546
+ * @memberof IssueTemporaryAccessTokenResponseData
13547
+ */
13548
+ apiKeyId: string;
13549
+ /**
13550
+ *
13551
+ * @type {Date}
13552
+ * @memberof IssueTemporaryAccessTokenResponseData
13553
+ */
13554
+ createdAt: Date;
13555
+ /**
13556
+ *
13557
+ * @type {string}
13558
+ * @memberof IssueTemporaryAccessTokenResponseData
13559
+ */
13560
+ environmentId: string;
13561
+ /**
13562
+ *
13563
+ * @type {Date}
13564
+ * @memberof IssueTemporaryAccessTokenResponseData
13565
+ */
13566
+ expiredAt: Date;
13567
+ /**
13568
+ *
13569
+ * @type {string}
13570
+ * @memberof IssueTemporaryAccessTokenResponseData
13571
+ */
13572
+ id: string;
13573
+ /**
13574
+ *
13575
+ * @type {string}
13576
+ * @memberof IssueTemporaryAccessTokenResponseData
13577
+ */
13578
+ resourceType: string;
13579
+ /**
13580
+ *
13581
+ * @type {string}
13582
+ * @memberof IssueTemporaryAccessTokenResponseData
13583
+ */
13584
+ token: string;
13585
+ /**
13586
+ *
13587
+ * @type {Date}
13588
+ * @memberof IssueTemporaryAccessTokenResponseData
13589
+ */
13590
+ updatedAt: Date;
13591
+ }
13592
+
13593
+ export declare function IssueTemporaryAccessTokenResponseDataFromJSON(json: any): IssueTemporaryAccessTokenResponseData;
13594
+
13595
+ export declare function IssueTemporaryAccessTokenResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueTemporaryAccessTokenResponseData;
13596
+
13597
+ export declare function IssueTemporaryAccessTokenResponseDataToJSON(value?: IssueTemporaryAccessTokenResponseData | null): any;
13598
+
13599
+ export declare function IssueTemporaryAccessTokenResponseFromJSON(json: any): IssueTemporaryAccessTokenResponse;
13600
+
13601
+ export declare function IssueTemporaryAccessTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueTemporaryAccessTokenResponse;
13602
+
13603
+ export declare function IssueTemporaryAccessTokenResponseToJSON(value?: IssueTemporaryAccessTokenResponse | null): any;
13604
+
13261
13605
  export declare type Json = any;
13262
13606
 
13263
13607
  export declare class JSONApiResponse<T> {
@@ -16126,6 +16470,12 @@ export declare function PlanAudienceResponseDataToJSON(value?: PlanAudienceRespo
16126
16470
  * @interface PlanDetailResponseData
16127
16471
  */
16128
16472
  export declare interface PlanDetailResponseData {
16473
+ /**
16474
+ *
16475
+ * @type {string}
16476
+ * @memberof PlanDetailResponseData
16477
+ */
16478
+ audienceType: string;
16129
16479
  /**
16130
16480
  *
16131
16481
  * @type {number}
@@ -16303,6 +16653,12 @@ export declare function PlanEntitlementResponseDataToJSON(value?: PlanEntitlemen
16303
16653
  * @interface PlanResponseData
16304
16654
  */
16305
16655
  export declare interface PlanResponseData {
16656
+ /**
16657
+ *
16658
+ * @type {string}
16659
+ * @memberof PlanResponseData
16660
+ */
16661
+ audienceType: string;
16306
16662
  /**
16307
16663
  *
16308
16664
  * @type {Date}
@@ -16423,6 +16779,14 @@ export declare class PlansApi extends runtime.BaseAPI {
16423
16779
  * Update plan
16424
16780
  */
16425
16781
  updatePlan(requestParameters: UpdatePlanRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpdatePlanResponse>;
16782
+ /**
16783
+ * Upsert billing product plan
16784
+ */
16785
+ upsertBillingProductPlanRaw(requestParameters: UpsertBillingProductPlanRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpsertBillingProductPlanResponse>>;
16786
+ /**
16787
+ * Upsert billing product plan
16788
+ */
16789
+ upsertBillingProductPlan(requestParameters: UpsertBillingProductPlanRequest, initOverrides?: RequestInit_2 | runtime.InitOverrideFunction): Promise<UpsertBillingProductPlanResponse>;
16426
16790
  }
16427
16791
 
16428
16792
  /**
@@ -17260,6 +17624,7 @@ declare namespace runtime {
17260
17624
  }
17261
17625
 
17262
17626
  export declare class Schematic {
17627
+ AccessTokens: api.AccesstokensApi;
17263
17628
  Accounts: api.AccountsApi;
17264
17629
  Billing: api.BillingApi;
17265
17630
  Companies: api.CompaniesApi;
@@ -17346,6 +17711,79 @@ export declare function SegmentStatusRespFromJSONTyped(json: any, ignoreDiscrimi
17346
17711
 
17347
17712
  export declare function SegmentStatusRespToJSON(value?: SegmentStatusResp | null): any;
17348
17713
 
17714
+ /**
17715
+ * Schematic API
17716
+ * Schematic API
17717
+ *
17718
+ * The version of the OpenAPI document: 0.1
17719
+ *
17720
+ *
17721
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17722
+ * https://openapi-generator.tech
17723
+ * Do not edit the class manually.
17724
+ */
17725
+ /**
17726
+ *
17727
+ * @export
17728
+ * @interface TemporaryAccessTokenResponseData
17729
+ */
17730
+ export declare interface TemporaryAccessTokenResponseData {
17731
+ /**
17732
+ *
17733
+ * @type {string}
17734
+ * @memberof TemporaryAccessTokenResponseData
17735
+ */
17736
+ accountId: string;
17737
+ /**
17738
+ *
17739
+ * @type {string}
17740
+ * @memberof TemporaryAccessTokenResponseData
17741
+ */
17742
+ apiKeyId: string;
17743
+ /**
17744
+ *
17745
+ * @type {Date}
17746
+ * @memberof TemporaryAccessTokenResponseData
17747
+ */
17748
+ createdAt: Date;
17749
+ /**
17750
+ *
17751
+ * @type {string}
17752
+ * @memberof TemporaryAccessTokenResponseData
17753
+ */
17754
+ environmentId: string;
17755
+ /**
17756
+ *
17757
+ * @type {Date}
17758
+ * @memberof TemporaryAccessTokenResponseData
17759
+ */
17760
+ expiredAt: Date;
17761
+ /**
17762
+ *
17763
+ * @type {string}
17764
+ * @memberof TemporaryAccessTokenResponseData
17765
+ */
17766
+ id: string;
17767
+ /**
17768
+ *
17769
+ * @type {string}
17770
+ * @memberof TemporaryAccessTokenResponseData
17771
+ */
17772
+ resourceType: string;
17773
+ /**
17774
+ *
17775
+ * @type {Date}
17776
+ * @memberof TemporaryAccessTokenResponseData
17777
+ */
17778
+ updatedAt: Date;
17779
+ }
17780
+
17781
+ export declare function TemporaryAccessTokenResponseDataFromJSON(json: any): TemporaryAccessTokenResponseData;
17782
+
17783
+ export declare function TemporaryAccessTokenResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemporaryAccessTokenResponseData;
17784
+
17785
+ export declare function TemporaryAccessTokenResponseDataToJSON(value?: TemporaryAccessTokenResponseData | null): any;
17786
+
17349
17787
  export declare class TextApiResponse {
17350
17788
  raw: Response_2;
17351
17789
  constructor(raw: Response_2);
@@ -17626,6 +18064,12 @@ export declare interface UpdateComponentRequestBody {
17626
18064
  * @memberof UpdateComponentRequestBody
17627
18065
  */
17628
18066
  name?: string;
18067
+ /**
18068
+ *
18069
+ * @type {string}
18070
+ * @memberof UpdateComponentRequestBody
18071
+ */
18072
+ state?: UpdateComponentRequestBodyStateEnum;
17629
18073
  }
17630
18074
 
17631
18075
  /**
@@ -17642,6 +18086,16 @@ export declare function UpdateComponentRequestBodyFromJSON(json: any): UpdateCom
17642
18086
 
17643
18087
  export declare function UpdateComponentRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateComponentRequestBody;
17644
18088
 
18089
+ /**
18090
+ * @export
18091
+ */
18092
+ export declare const UpdateComponentRequestBodyStateEnum: {
18093
+ readonly Draft: "draft";
18094
+ readonly Live: "live";
18095
+ };
18096
+
18097
+ export declare type UpdateComponentRequestBodyStateEnum = (typeof UpdateComponentRequestBodyStateEnum)[keyof typeof UpdateComponentRequestBodyStateEnum];
18098
+
17645
18099
  export declare function UpdateComponentRequestBodyToJSON(value?: UpdateComponentRequestBody | null): any;
17646
18100
 
17647
18101
  /**
@@ -18142,6 +18596,12 @@ export declare interface UpdatePlanRequest {
18142
18596
  * @interface UpdatePlanRequestBody
18143
18597
  */
18144
18598
  export declare interface UpdatePlanRequestBody {
18599
+ /**
18600
+ *
18601
+ * @type {string}
18602
+ * @memberof UpdatePlanRequestBody
18603
+ */
18604
+ audienceType: string;
18145
18605
  /**
18146
18606
  *
18147
18607
  * @type {string}
@@ -18451,10 +18911,72 @@ export declare function UpdateWebhookResponseFromJSONTyped(json: any, ignoreDisc
18451
18911
 
18452
18912
  export declare function UpdateWebhookResponseToJSON(value?: UpdateWebhookResponse | null): any;
18453
18913
 
18914
+ export declare interface UpsertBillingProductPlanRequest {
18915
+ upsertBillingProductRequestBody: UpsertBillingProductRequestBody;
18916
+ planId: string;
18917
+ }
18918
+
18919
+ /**
18920
+ *
18921
+ * @export
18922
+ * @interface UpsertBillingProductPlanResponse
18923
+ */
18924
+ export declare interface UpsertBillingProductPlanResponse {
18925
+ /**
18926
+ *
18927
+ * @type {BillingProductPlanResponseData}
18928
+ * @memberof UpsertBillingProductPlanResponse
18929
+ */
18930
+ data: BillingProductPlanResponseData;
18931
+ /**
18932
+ * Input parameters
18933
+ * @type {object}
18934
+ * @memberof UpsertBillingProductPlanResponse
18935
+ */
18936
+ params: object;
18937
+ }
18938
+
18939
+ export declare function UpsertBillingProductPlanResponseFromJSON(json: any): UpsertBillingProductPlanResponse;
18940
+
18941
+ export declare function UpsertBillingProductPlanResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertBillingProductPlanResponse;
18942
+
18943
+ export declare function UpsertBillingProductPlanResponseToJSON(value?: UpsertBillingProductPlanResponse | null): any;
18944
+
18454
18945
  export declare interface UpsertBillingProductRequest {
18455
18946
  createBillingProductRequestBody: CreateBillingProductRequestBody;
18456
18947
  }
18457
18948
 
18949
+ /**
18950
+ * Schematic API
18951
+ * Schematic API
18952
+ *
18953
+ * The version of the OpenAPI document: 0.1
18954
+ *
18955
+ *
18956
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18957
+ * https://openapi-generator.tech
18958
+ * Do not edit the class manually.
18959
+ */
18960
+ /**
18961
+ *
18962
+ * @export
18963
+ * @interface UpsertBillingProductRequestBody
18964
+ */
18965
+ export declare interface UpsertBillingProductRequestBody {
18966
+ /**
18967
+ *
18968
+ * @type {string}
18969
+ * @memberof UpsertBillingProductRequestBody
18970
+ */
18971
+ billingProductID: string;
18972
+ }
18973
+
18974
+ export declare function UpsertBillingProductRequestBodyFromJSON(json: any): UpsertBillingProductRequestBody;
18975
+
18976
+ export declare function UpsertBillingProductRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertBillingProductRequestBody;
18977
+
18978
+ export declare function UpsertBillingProductRequestBodyToJSON(value?: UpsertBillingProductRequestBody | null): any;
18979
+
18458
18980
  /**
18459
18981
  *
18460
18982
  * @export