v0 4.0.1 → 4.0.2-canary.a349052
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/{browser-CHMQRYQu.d.mts → browser-CWNcP1HL.d.mts} +904 -86
- package/dist/browser-CWNcP1HL.d.mts.map +1 -0
- package/dist/{browser-svQ52Hsl.d.cts → browser-t8i5-kxQ.d.cts} +904 -86
- package/dist/browser-t8i5-kxQ.d.cts.map +1 -0
- package/dist/browser.cjs +1 -1
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.mts +2 -2
- package/dist/browser.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{stream-DJsUHWmS.mjs → stream-O9jhVMON.mjs} +2 -2
- package/dist/stream-O9jhVMON.mjs.map +1 -0
- package/dist/stream-YWr_UoFI.cjs +13 -0
- package/package.json +1 -1
- package/dist/browser-CHMQRYQu.d.mts.map +0 -1
- package/dist/browser-svQ52Hsl.d.cts.map +0 -1
- package/dist/stream-DJsUHWmS.mjs.map +0 -1
- package/dist/stream-c0WDckA1.cjs +0 -13
|
@@ -1169,6 +1169,10 @@ type Message = {
|
|
|
1169
1169
|
* Why generation ended. Null while the agent is still generating; once non-null, the message is final and safe to consume.
|
|
1170
1170
|
*/
|
|
1171
1171
|
finishReason: 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Whether `GET /chats/{chatId}/files` reflects this assistant message. `pending` while the agent is generating or its changes are still being saved, which can continue for a few seconds after `finishReason` is set; `ready` once they are saved; `failed` if saving them failed, in which case the files are those of the previous version. Null on user messages.
|
|
1174
|
+
*/
|
|
1175
|
+
filesStatus: 'pending' | 'ready' | 'failed' | null;
|
|
1172
1176
|
/**
|
|
1173
1177
|
* True when this is an assistant message that produced restorable code and is not the currently active code.
|
|
1174
1178
|
*/
|
|
@@ -1796,6 +1800,10 @@ type MessageListResponse = {
|
|
|
1796
1800
|
* Why generation ended. Null while the agent is still generating; once non-null, the message is final and safe to consume.
|
|
1797
1801
|
*/
|
|
1798
1802
|
finishReason: 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | null;
|
|
1803
|
+
/**
|
|
1804
|
+
* Whether `GET /chats/{chatId}/files` reflects this assistant message. `pending` while the agent is generating or its changes are still being saved, which can continue for a few seconds after `finishReason` is set; `ready` once they are saved; `failed` if saving them failed, in which case the files are those of the previous version. Null on user messages.
|
|
1805
|
+
*/
|
|
1806
|
+
filesStatus: 'pending' | 'ready' | 'failed' | null;
|
|
1799
1807
|
/**
|
|
1800
1808
|
* True when this is an assistant message that produced restorable code and is not the currently active code.
|
|
1801
1809
|
*/
|
|
@@ -2436,6 +2444,10 @@ type MessageStreamEvent = {
|
|
|
2436
2444
|
* Why generation ended. Null while the agent is still generating; once non-null, the message is final and safe to consume.
|
|
2437
2445
|
*/
|
|
2438
2446
|
finishReason: 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | null;
|
|
2447
|
+
/**
|
|
2448
|
+
* Whether `GET /chats/{chatId}/files` reflects this assistant message. `pending` while the agent is generating or its changes are still being saved, which can continue for a few seconds after `finishReason` is set; `ready` once they are saved; `failed` if saving them failed, in which case the files are those of the previous version. Null on user messages.
|
|
2449
|
+
*/
|
|
2450
|
+
filesStatus: 'pending' | 'ready' | 'failed' | null;
|
|
2439
2451
|
/**
|
|
2440
2452
|
* True when this is an assistant message that produced restorable code and is not the currently active code.
|
|
2441
2453
|
*/
|
|
@@ -2627,6 +2639,24 @@ type MessageStreamEvent = {
|
|
|
2627
2639
|
*/
|
|
2628
2640
|
code?: string;
|
|
2629
2641
|
};
|
|
2642
|
+
type ChatTemplateSync = {
|
|
2643
|
+
/**
|
|
2644
|
+
* ID of the template published from this chat, as shown in its v0.app/templates URL.
|
|
2645
|
+
*/
|
|
2646
|
+
templateId: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* Commit the template is pinned to after the sync.
|
|
2649
|
+
*/
|
|
2650
|
+
gitSha: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* Commit the template was pinned to before the sync, or null if none was recorded.
|
|
2653
|
+
*/
|
|
2654
|
+
previousGitSha: string | null;
|
|
2655
|
+
/**
|
|
2656
|
+
* Whether the sync published a new template version. False when the template was already pinned to the production commit.
|
|
2657
|
+
*/
|
|
2658
|
+
changed: boolean;
|
|
2659
|
+
};
|
|
2630
2660
|
/**
|
|
2631
2661
|
* The source files of a chat.
|
|
2632
2662
|
*/
|
|
@@ -2794,6 +2824,66 @@ type SpendLimit = {
|
|
|
2794
2824
|
*/
|
|
2795
2825
|
updatedAt: Date;
|
|
2796
2826
|
};
|
|
2827
|
+
type PoolCreditLimitDefault = {
|
|
2828
|
+
object: 'pool_credit_limit_default';
|
|
2829
|
+
/**
|
|
2830
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
2831
|
+
*/
|
|
2832
|
+
setting: {
|
|
2833
|
+
/**
|
|
2834
|
+
* The member may spend shared-pool credits without a cap.
|
|
2835
|
+
*/
|
|
2836
|
+
access: 'unlimited';
|
|
2837
|
+
} | {
|
|
2838
|
+
/**
|
|
2839
|
+
* The member may spend only their monthly credits.
|
|
2840
|
+
*/
|
|
2841
|
+
access: 'none';
|
|
2842
|
+
} | {
|
|
2843
|
+
/**
|
|
2844
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
2845
|
+
*/
|
|
2846
|
+
access: 'limited';
|
|
2847
|
+
/**
|
|
2848
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
2849
|
+
*/
|
|
2850
|
+
limit: string;
|
|
2851
|
+
};
|
|
2852
|
+
};
|
|
2853
|
+
type PoolCreditLimitMember = {
|
|
2854
|
+
object: 'pool_credit_limit_member';
|
|
2855
|
+
/**
|
|
2856
|
+
* Team member user ID.
|
|
2857
|
+
*/
|
|
2858
|
+
userId: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
2861
|
+
*/
|
|
2862
|
+
setting: {
|
|
2863
|
+
/**
|
|
2864
|
+
* The member may spend shared-pool credits without a cap.
|
|
2865
|
+
*/
|
|
2866
|
+
access: 'unlimited';
|
|
2867
|
+
} | {
|
|
2868
|
+
/**
|
|
2869
|
+
* The member may spend only their monthly credits.
|
|
2870
|
+
*/
|
|
2871
|
+
access: 'none';
|
|
2872
|
+
} | {
|
|
2873
|
+
/**
|
|
2874
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
2875
|
+
*/
|
|
2876
|
+
access: 'limited';
|
|
2877
|
+
/**
|
|
2878
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
2879
|
+
*/
|
|
2880
|
+
limit: string;
|
|
2881
|
+
};
|
|
2882
|
+
/**
|
|
2883
|
+
* `default` when the team default applies, `member` when the member has their own setting.
|
|
2884
|
+
*/
|
|
2885
|
+
source: 'default' | 'member';
|
|
2886
|
+
};
|
|
2797
2887
|
type TrustedPreviewHosts = {
|
|
2798
2888
|
/**
|
|
2799
2889
|
* Canonicalized hostname patterns trusted to embed previews. Exact hosts match only themselves; *.example.com matches exactly one subdomain label; **.example.com matches one or more subdomain labels. Wildcards do not include the apex, so list example.com separately when it should also be trusted.
|
|
@@ -5858,6 +5948,56 @@ type ChatsDownloadArtifactResponses = {
|
|
|
5858
5948
|
200: Blob | File;
|
|
5859
5949
|
};
|
|
5860
5950
|
type ChatsDownloadArtifactResponse = ChatsDownloadArtifactResponses[keyof ChatsDownloadArtifactResponses];
|
|
5951
|
+
type ChatsSyncTemplateData = {
|
|
5952
|
+
body: {
|
|
5953
|
+
/**
|
|
5954
|
+
* Commit you expect the production deployment to be on, such as the commit of the deployment that triggered your workflow. A full SHA or a prefix of at least 7 characters. If production is on a different commit, the request fails with 409 and nothing is published.
|
|
5955
|
+
*/
|
|
5956
|
+
expectedGitSha?: string;
|
|
5957
|
+
};
|
|
5958
|
+
path: {
|
|
5959
|
+
/**
|
|
5960
|
+
* The unique identifier of the chat the template is published from.
|
|
5961
|
+
*/
|
|
5962
|
+
chatId: string;
|
|
5963
|
+
};
|
|
5964
|
+
query?: never;
|
|
5965
|
+
url: '/chats/{chatId}/template/sync';
|
|
5966
|
+
};
|
|
5967
|
+
type ChatsSyncTemplateErrors = {
|
|
5968
|
+
/**
|
|
5969
|
+
* Response for status 401
|
|
5970
|
+
*/
|
|
5971
|
+
401: Error$1;
|
|
5972
|
+
/**
|
|
5973
|
+
* Response for status 403
|
|
5974
|
+
*/
|
|
5975
|
+
403: Error$1;
|
|
5976
|
+
/**
|
|
5977
|
+
* Response for status 404
|
|
5978
|
+
*/
|
|
5979
|
+
404: Error$1;
|
|
5980
|
+
/**
|
|
5981
|
+
* Response for status 409
|
|
5982
|
+
*/
|
|
5983
|
+
409: Error$1;
|
|
5984
|
+
/**
|
|
5985
|
+
* Response for status 422
|
|
5986
|
+
*/
|
|
5987
|
+
422: Error$1;
|
|
5988
|
+
/**
|
|
5989
|
+
* Response for status 500
|
|
5990
|
+
*/
|
|
5991
|
+
500: Error$1;
|
|
5992
|
+
};
|
|
5993
|
+
type ChatsSyncTemplateError = ChatsSyncTemplateErrors[keyof ChatsSyncTemplateErrors];
|
|
5994
|
+
type ChatsSyncTemplateResponses = {
|
|
5995
|
+
/**
|
|
5996
|
+
* Response for status 200
|
|
5997
|
+
*/
|
|
5998
|
+
200: ChatTemplateSync;
|
|
5999
|
+
};
|
|
6000
|
+
type ChatsSyncTemplateResponse = ChatsSyncTemplateResponses[keyof ChatsSyncTemplateResponses];
|
|
5861
6001
|
type ChatsDeleteData = {
|
|
5862
6002
|
body?: never;
|
|
5863
6003
|
path: {
|
|
@@ -6711,6 +6851,10 @@ type ChatsUpdateFilesResponses = {
|
|
|
6711
6851
|
* Why generation ended. Null while the agent is still generating; once non-null, the message is final and safe to consume.
|
|
6712
6852
|
*/
|
|
6713
6853
|
finishReason: 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | null;
|
|
6854
|
+
/**
|
|
6855
|
+
* Whether `GET /chats/{chatId}/files` reflects this assistant message. `pending` while the agent is generating or its changes are still being saved, which can continue for a few seconds after `finishReason` is set; `ready` once they are saved; `failed` if saving them failed, in which case the files are those of the previous version. Null on user messages.
|
|
6856
|
+
*/
|
|
6857
|
+
filesStatus: 'pending' | 'ready' | 'failed' | null;
|
|
6714
6858
|
/**
|
|
6715
6859
|
* True when this is an assistant message that produced restorable code and is not the currently active code.
|
|
6716
6860
|
*/
|
|
@@ -7542,6 +7686,10 @@ type ChatsRestoreMessageResponses = {
|
|
|
7542
7686
|
* Why generation ended. Null while the agent is still generating; once non-null, the message is final and safe to consume.
|
|
7543
7687
|
*/
|
|
7544
7688
|
finishReason: 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | null;
|
|
7689
|
+
/**
|
|
7690
|
+
* Whether `GET /chats/{chatId}/files` reflects this assistant message. `pending` while the agent is generating or its changes are still being saved, which can continue for a few seconds after `finishReason` is set; `ready` once they are saved; `failed` if saving them failed, in which case the files are those of the previous version. Null on user messages.
|
|
7691
|
+
*/
|
|
7692
|
+
filesStatus: 'pending' | 'ready' | 'failed' | null;
|
|
7545
7693
|
/**
|
|
7546
7694
|
* True when this is an assistant message that produced restorable code and is not the currently active code.
|
|
7547
7695
|
*/
|
|
@@ -8316,18 +8464,13 @@ type McpServersUpdateResponses = {
|
|
|
8316
8464
|
200: McpServer;
|
|
8317
8465
|
};
|
|
8318
8466
|
type McpServersUpdateResponse = McpServersUpdateResponses[keyof McpServersUpdateResponses];
|
|
8319
|
-
type
|
|
8320
|
-
body
|
|
8321
|
-
/**
|
|
8322
|
-
* Distinct hostname patterns to delete. Provide hostnames only, without scheme, port, path, userinfo, query, or fragment. *.example.com matches one subdomain label; **.example.com matches one or more. Neither includes the apex. Patterns are canonicalized before comparison.
|
|
8323
|
-
*/
|
|
8324
|
-
hosts: Array<string>;
|
|
8325
|
-
};
|
|
8467
|
+
type PoolCreditLimitsGetDefaultData = {
|
|
8468
|
+
body?: never;
|
|
8326
8469
|
path?: never;
|
|
8327
8470
|
query?: never;
|
|
8328
|
-
url: '/
|
|
8471
|
+
url: '/pool-credit-limits/default';
|
|
8329
8472
|
};
|
|
8330
|
-
type
|
|
8473
|
+
type PoolCreditLimitsGetDefaultErrors = {
|
|
8331
8474
|
/**
|
|
8332
8475
|
* Response for status 401
|
|
8333
8476
|
*/
|
|
@@ -8345,64 +8488,53 @@ type SettingsDeletePreviewHostsErrors = {
|
|
|
8345
8488
|
*/
|
|
8346
8489
|
422: Error$1;
|
|
8347
8490
|
/**
|
|
8348
|
-
* Response for status
|
|
8349
|
-
*/
|
|
8350
|
-
500: Error$1;
|
|
8351
|
-
};
|
|
8352
|
-
type SettingsDeletePreviewHostsError = SettingsDeletePreviewHostsErrors[keyof SettingsDeletePreviewHostsErrors];
|
|
8353
|
-
type SettingsDeletePreviewHostsResponses = {
|
|
8354
|
-
/**
|
|
8355
|
-
* Response for status 200
|
|
8356
|
-
*/
|
|
8357
|
-
200: {
|
|
8358
|
-
success: true;
|
|
8359
|
-
};
|
|
8360
|
-
};
|
|
8361
|
-
type SettingsDeletePreviewHostsResponse = SettingsDeletePreviewHostsResponses[keyof SettingsDeletePreviewHostsResponses];
|
|
8362
|
-
type SettingsGetPreviewHostsData = {
|
|
8363
|
-
body?: never;
|
|
8364
|
-
path?: never;
|
|
8365
|
-
query?: never;
|
|
8366
|
-
url: '/settings/preview-hosts';
|
|
8367
|
-
};
|
|
8368
|
-
type SettingsGetPreviewHostsErrors = {
|
|
8369
|
-
/**
|
|
8370
|
-
* Response for status 401
|
|
8371
|
-
*/
|
|
8372
|
-
401: Error$1;
|
|
8373
|
-
/**
|
|
8374
|
-
* Response for status 403
|
|
8375
|
-
*/
|
|
8376
|
-
403: Error$1;
|
|
8377
|
-
/**
|
|
8378
|
-
* Response for status 404
|
|
8491
|
+
* Response for status 429
|
|
8379
8492
|
*/
|
|
8380
|
-
|
|
8493
|
+
429: Error$1;
|
|
8381
8494
|
/**
|
|
8382
8495
|
* Response for status 500
|
|
8383
8496
|
*/
|
|
8384
8497
|
500: Error$1;
|
|
8385
8498
|
};
|
|
8386
|
-
type
|
|
8387
|
-
type
|
|
8499
|
+
type PoolCreditLimitsGetDefaultError = PoolCreditLimitsGetDefaultErrors[keyof PoolCreditLimitsGetDefaultErrors];
|
|
8500
|
+
type PoolCreditLimitsGetDefaultResponses = {
|
|
8388
8501
|
/**
|
|
8389
8502
|
* Response for status 200
|
|
8390
8503
|
*/
|
|
8391
|
-
200:
|
|
8504
|
+
200: PoolCreditLimitDefault;
|
|
8392
8505
|
};
|
|
8393
|
-
type
|
|
8394
|
-
type
|
|
8506
|
+
type PoolCreditLimitsGetDefaultResponse = PoolCreditLimitsGetDefaultResponses[keyof PoolCreditLimitsGetDefaultResponses];
|
|
8507
|
+
type PoolCreditLimitsSetDefaultData = {
|
|
8395
8508
|
body: {
|
|
8396
8509
|
/**
|
|
8397
|
-
*
|
|
8510
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
8398
8511
|
*/
|
|
8399
|
-
|
|
8512
|
+
setting: {
|
|
8513
|
+
/**
|
|
8514
|
+
* The member may spend shared-pool credits without a cap.
|
|
8515
|
+
*/
|
|
8516
|
+
access: 'unlimited';
|
|
8517
|
+
} | {
|
|
8518
|
+
/**
|
|
8519
|
+
* The member may spend only their monthly credits.
|
|
8520
|
+
*/
|
|
8521
|
+
access: 'none';
|
|
8522
|
+
} | {
|
|
8523
|
+
/**
|
|
8524
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
8525
|
+
*/
|
|
8526
|
+
access: 'limited';
|
|
8527
|
+
/**
|
|
8528
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
8529
|
+
*/
|
|
8530
|
+
limit: string;
|
|
8531
|
+
};
|
|
8400
8532
|
};
|
|
8401
8533
|
path?: never;
|
|
8402
8534
|
query?: never;
|
|
8403
|
-
url: '/
|
|
8535
|
+
url: '/pool-credit-limits/default';
|
|
8404
8536
|
};
|
|
8405
|
-
type
|
|
8537
|
+
type PoolCreditLimitsSetDefaultErrors = {
|
|
8406
8538
|
/**
|
|
8407
8539
|
* Response for status 401
|
|
8408
8540
|
*/
|
|
@@ -8419,31 +8551,39 @@ type SettingsAppendPreviewHostsErrors = {
|
|
|
8419
8551
|
* Response for status 422
|
|
8420
8552
|
*/
|
|
8421
8553
|
422: Error$1;
|
|
8554
|
+
/**
|
|
8555
|
+
* Response for status 429
|
|
8556
|
+
*/
|
|
8557
|
+
429: Error$1;
|
|
8422
8558
|
/**
|
|
8423
8559
|
* Response for status 500
|
|
8424
8560
|
*/
|
|
8425
8561
|
500: Error$1;
|
|
8426
8562
|
};
|
|
8427
|
-
type
|
|
8428
|
-
type
|
|
8563
|
+
type PoolCreditLimitsSetDefaultError = PoolCreditLimitsSetDefaultErrors[keyof PoolCreditLimitsSetDefaultErrors];
|
|
8564
|
+
type PoolCreditLimitsSetDefaultResponses = {
|
|
8429
8565
|
/**
|
|
8430
8566
|
* Response for status 200
|
|
8431
8567
|
*/
|
|
8432
|
-
200:
|
|
8568
|
+
200: PoolCreditLimitDefault;
|
|
8433
8569
|
};
|
|
8434
|
-
type
|
|
8435
|
-
type
|
|
8436
|
-
body
|
|
8570
|
+
type PoolCreditLimitsSetDefaultResponse = PoolCreditLimitsSetDefaultResponses[keyof PoolCreditLimitsSetDefaultResponses];
|
|
8571
|
+
type PoolCreditLimitsMembersListData = {
|
|
8572
|
+
body?: never;
|
|
8573
|
+
path?: never;
|
|
8574
|
+
query?: {
|
|
8437
8575
|
/**
|
|
8438
|
-
*
|
|
8576
|
+
* Next-page cursor.
|
|
8439
8577
|
*/
|
|
8440
|
-
|
|
8578
|
+
cursor?: string;
|
|
8579
|
+
/**
|
|
8580
|
+
* Members per page, from 1 to 100. Defaults to 50.
|
|
8581
|
+
*/
|
|
8582
|
+
limit?: number;
|
|
8441
8583
|
};
|
|
8442
|
-
|
|
8443
|
-
query?: never;
|
|
8444
|
-
url: '/settings/preview-hosts';
|
|
8584
|
+
url: '/pool-credit-limits/members';
|
|
8445
8585
|
};
|
|
8446
|
-
type
|
|
8586
|
+
type PoolCreditLimitsMembersListErrors = {
|
|
8447
8587
|
/**
|
|
8448
8588
|
* Response for status 401
|
|
8449
8589
|
*/
|
|
@@ -8460,39 +8600,578 @@ type SettingsSetPreviewHostsErrors = {
|
|
|
8460
8600
|
* Response for status 422
|
|
8461
8601
|
*/
|
|
8462
8602
|
422: Error$1;
|
|
8603
|
+
/**
|
|
8604
|
+
* Response for status 429
|
|
8605
|
+
*/
|
|
8606
|
+
429: Error$1;
|
|
8463
8607
|
/**
|
|
8464
8608
|
* Response for status 500
|
|
8465
8609
|
*/
|
|
8466
8610
|
500: Error$1;
|
|
8467
8611
|
};
|
|
8468
|
-
type
|
|
8469
|
-
type
|
|
8612
|
+
type PoolCreditLimitsMembersListError = PoolCreditLimitsMembersListErrors[keyof PoolCreditLimitsMembersListErrors];
|
|
8613
|
+
type PoolCreditLimitsMembersListResponses = {
|
|
8470
8614
|
/**
|
|
8471
8615
|
* Response for status 200
|
|
8472
8616
|
*/
|
|
8473
|
-
200:
|
|
8617
|
+
200: {
|
|
8618
|
+
object: 'list';
|
|
8619
|
+
data: Array<{
|
|
8620
|
+
object: 'pool_credit_limit_member';
|
|
8621
|
+
/**
|
|
8622
|
+
* Team member user ID.
|
|
8623
|
+
*/
|
|
8624
|
+
userId: string;
|
|
8625
|
+
/**
|
|
8626
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
8627
|
+
*/
|
|
8628
|
+
setting: {
|
|
8629
|
+
/**
|
|
8630
|
+
* The member may spend shared-pool credits without a cap.
|
|
8631
|
+
*/
|
|
8632
|
+
access: 'unlimited';
|
|
8633
|
+
} | {
|
|
8634
|
+
/**
|
|
8635
|
+
* The member may spend only their monthly credits.
|
|
8636
|
+
*/
|
|
8637
|
+
access: 'none';
|
|
8638
|
+
} | {
|
|
8639
|
+
/**
|
|
8640
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
8641
|
+
*/
|
|
8642
|
+
access: 'limited';
|
|
8643
|
+
/**
|
|
8644
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
8645
|
+
*/
|
|
8646
|
+
limit: string;
|
|
8647
|
+
};
|
|
8648
|
+
/**
|
|
8649
|
+
* `default` when the team default applies, `member` when the member has their own setting.
|
|
8650
|
+
*/
|
|
8651
|
+
source: 'default' | 'member';
|
|
8652
|
+
/**
|
|
8653
|
+
* Display name.
|
|
8654
|
+
*/
|
|
8655
|
+
name: string | null;
|
|
8656
|
+
/**
|
|
8657
|
+
* Username.
|
|
8658
|
+
*/
|
|
8659
|
+
username: string | null;
|
|
8660
|
+
/**
|
|
8661
|
+
* Email address.
|
|
8662
|
+
*/
|
|
8663
|
+
email: string | null;
|
|
8664
|
+
/**
|
|
8665
|
+
* Team role.
|
|
8666
|
+
*/
|
|
8667
|
+
role: string;
|
|
8668
|
+
}>;
|
|
8669
|
+
pagination: {
|
|
8670
|
+
hasMore: boolean;
|
|
8671
|
+
/**
|
|
8672
|
+
* Pass as `cursor` to fetch the next page.
|
|
8673
|
+
*/
|
|
8674
|
+
cursor: string | null;
|
|
8675
|
+
};
|
|
8676
|
+
};
|
|
8474
8677
|
};
|
|
8475
|
-
type
|
|
8476
|
-
type
|
|
8477
|
-
body
|
|
8478
|
-
path?: never;
|
|
8479
|
-
query?: {
|
|
8480
|
-
/**
|
|
8481
|
-
* Inclusive ISO 8601 start timestamp. Defaults to seven days ago.
|
|
8482
|
-
*/
|
|
8483
|
-
start?: Date;
|
|
8484
|
-
/**
|
|
8485
|
-
* Exclusive ISO 8601 end timestamp. Defaults to the current time.
|
|
8486
|
-
*/
|
|
8487
|
-
end?: Date;
|
|
8678
|
+
type PoolCreditLimitsMembersListResponse = PoolCreditLimitsMembersListResponses[keyof PoolCreditLimitsMembersListResponses];
|
|
8679
|
+
type PoolCreditLimitsMembersUpdateData = {
|
|
8680
|
+
body: {
|
|
8488
8681
|
/**
|
|
8489
|
-
*
|
|
8682
|
+
* Up to 100 changes, applied together or not at all.
|
|
8490
8683
|
*/
|
|
8491
|
-
|
|
8684
|
+
updates: Array<{
|
|
8685
|
+
/**
|
|
8686
|
+
* Team member user ID, or `me` for the authenticated user.
|
|
8687
|
+
*/
|
|
8688
|
+
userId: string;
|
|
8689
|
+
/**
|
|
8690
|
+
* The member’s own setting, or null to remove it so the team default applies.
|
|
8691
|
+
*/
|
|
8692
|
+
setting: {
|
|
8693
|
+
/**
|
|
8694
|
+
* The member may spend shared-pool credits without a cap.
|
|
8695
|
+
*/
|
|
8696
|
+
access: 'unlimited';
|
|
8697
|
+
} | {
|
|
8698
|
+
/**
|
|
8699
|
+
* The member may spend only their monthly credits.
|
|
8700
|
+
*/
|
|
8701
|
+
access: 'none';
|
|
8702
|
+
} | {
|
|
8703
|
+
/**
|
|
8704
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
8705
|
+
*/
|
|
8706
|
+
access: 'limited';
|
|
8707
|
+
/**
|
|
8708
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
8709
|
+
*/
|
|
8710
|
+
limit: string;
|
|
8711
|
+
} | null;
|
|
8712
|
+
}>;
|
|
8492
8713
|
};
|
|
8493
|
-
|
|
8714
|
+
path?: never;
|
|
8715
|
+
query?: never;
|
|
8716
|
+
url: '/pool-credit-limits/members';
|
|
8494
8717
|
};
|
|
8495
|
-
type
|
|
8718
|
+
type PoolCreditLimitsMembersUpdateErrors = {
|
|
8719
|
+
/**
|
|
8720
|
+
* Response for status 401
|
|
8721
|
+
*/
|
|
8722
|
+
401: Error$1;
|
|
8723
|
+
/**
|
|
8724
|
+
* Response for status 403
|
|
8725
|
+
*/
|
|
8726
|
+
403: Error$1;
|
|
8727
|
+
/**
|
|
8728
|
+
* Response for status 404
|
|
8729
|
+
*/
|
|
8730
|
+
404: Error$1;
|
|
8731
|
+
/**
|
|
8732
|
+
* Response for status 422
|
|
8733
|
+
*/
|
|
8734
|
+
422: Error$1;
|
|
8735
|
+
/**
|
|
8736
|
+
* Response for status 429
|
|
8737
|
+
*/
|
|
8738
|
+
429: Error$1;
|
|
8739
|
+
/**
|
|
8740
|
+
* Response for status 500
|
|
8741
|
+
*/
|
|
8742
|
+
500: Error$1;
|
|
8743
|
+
};
|
|
8744
|
+
type PoolCreditLimitsMembersUpdateError = PoolCreditLimitsMembersUpdateErrors[keyof PoolCreditLimitsMembersUpdateErrors];
|
|
8745
|
+
type PoolCreditLimitsMembersUpdateResponses = {
|
|
8746
|
+
/**
|
|
8747
|
+
* Response for status 200
|
|
8748
|
+
*/
|
|
8749
|
+
200: {
|
|
8750
|
+
object: 'list';
|
|
8751
|
+
data: Array<{
|
|
8752
|
+
object: 'pool_credit_limit_member';
|
|
8753
|
+
/**
|
|
8754
|
+
* Team member user ID.
|
|
8755
|
+
*/
|
|
8756
|
+
userId: string;
|
|
8757
|
+
/**
|
|
8758
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
8759
|
+
*/
|
|
8760
|
+
setting: {
|
|
8761
|
+
/**
|
|
8762
|
+
* The member may spend shared-pool credits without a cap.
|
|
8763
|
+
*/
|
|
8764
|
+
access: 'unlimited';
|
|
8765
|
+
} | {
|
|
8766
|
+
/**
|
|
8767
|
+
* The member may spend only their monthly credits.
|
|
8768
|
+
*/
|
|
8769
|
+
access: 'none';
|
|
8770
|
+
} | {
|
|
8771
|
+
/**
|
|
8772
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
8773
|
+
*/
|
|
8774
|
+
access: 'limited';
|
|
8775
|
+
/**
|
|
8776
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
8777
|
+
*/
|
|
8778
|
+
limit: string;
|
|
8779
|
+
};
|
|
8780
|
+
/**
|
|
8781
|
+
* `default` when the team default applies, `member` when the member has their own setting.
|
|
8782
|
+
*/
|
|
8783
|
+
source: 'default' | 'member';
|
|
8784
|
+
}>;
|
|
8785
|
+
};
|
|
8786
|
+
};
|
|
8787
|
+
type PoolCreditLimitsMembersUpdateResponse = PoolCreditLimitsMembersUpdateResponses[keyof PoolCreditLimitsMembersUpdateResponses];
|
|
8788
|
+
type PoolCreditLimitsMembersResetData = {
|
|
8789
|
+
body?: never;
|
|
8790
|
+
path: {
|
|
8791
|
+
/**
|
|
8792
|
+
* Team member user ID, or `me` for the authenticated user (for an API key, the user who created it).
|
|
8793
|
+
*/
|
|
8794
|
+
userId: string;
|
|
8795
|
+
};
|
|
8796
|
+
query?: never;
|
|
8797
|
+
url: '/pool-credit-limits/members/{userId}';
|
|
8798
|
+
};
|
|
8799
|
+
type PoolCreditLimitsMembersResetErrors = {
|
|
8800
|
+
/**
|
|
8801
|
+
* Response for status 401
|
|
8802
|
+
*/
|
|
8803
|
+
401: Error$1;
|
|
8804
|
+
/**
|
|
8805
|
+
* Response for status 403
|
|
8806
|
+
*/
|
|
8807
|
+
403: Error$1;
|
|
8808
|
+
/**
|
|
8809
|
+
* Response for status 404
|
|
8810
|
+
*/
|
|
8811
|
+
404: Error$1;
|
|
8812
|
+
/**
|
|
8813
|
+
* Response for status 422
|
|
8814
|
+
*/
|
|
8815
|
+
422: Error$1;
|
|
8816
|
+
/**
|
|
8817
|
+
* Response for status 429
|
|
8818
|
+
*/
|
|
8819
|
+
429: Error$1;
|
|
8820
|
+
/**
|
|
8821
|
+
* Response for status 500
|
|
8822
|
+
*/
|
|
8823
|
+
500: Error$1;
|
|
8824
|
+
};
|
|
8825
|
+
type PoolCreditLimitsMembersResetError = PoolCreditLimitsMembersResetErrors[keyof PoolCreditLimitsMembersResetErrors];
|
|
8826
|
+
type PoolCreditLimitsMembersResetResponses = {
|
|
8827
|
+
/**
|
|
8828
|
+
* Response for status 200
|
|
8829
|
+
*/
|
|
8830
|
+
200: PoolCreditLimitMember;
|
|
8831
|
+
};
|
|
8832
|
+
type PoolCreditLimitsMembersResetResponse = PoolCreditLimitsMembersResetResponses[keyof PoolCreditLimitsMembersResetResponses];
|
|
8833
|
+
type PoolCreditLimitsMembersGetData = {
|
|
8834
|
+
body?: never;
|
|
8835
|
+
path: {
|
|
8836
|
+
/**
|
|
8837
|
+
* Team member user ID, or `me` for the authenticated user (for an API key, the user who created it).
|
|
8838
|
+
*/
|
|
8839
|
+
userId: string;
|
|
8840
|
+
};
|
|
8841
|
+
query?: never;
|
|
8842
|
+
url: '/pool-credit-limits/members/{userId}';
|
|
8843
|
+
};
|
|
8844
|
+
type PoolCreditLimitsMembersGetErrors = {
|
|
8845
|
+
/**
|
|
8846
|
+
* Response for status 401
|
|
8847
|
+
*/
|
|
8848
|
+
401: Error$1;
|
|
8849
|
+
/**
|
|
8850
|
+
* Response for status 403
|
|
8851
|
+
*/
|
|
8852
|
+
403: Error$1;
|
|
8853
|
+
/**
|
|
8854
|
+
* Response for status 404
|
|
8855
|
+
*/
|
|
8856
|
+
404: Error$1;
|
|
8857
|
+
/**
|
|
8858
|
+
* Response for status 422
|
|
8859
|
+
*/
|
|
8860
|
+
422: Error$1;
|
|
8861
|
+
/**
|
|
8862
|
+
* Response for status 429
|
|
8863
|
+
*/
|
|
8864
|
+
429: Error$1;
|
|
8865
|
+
/**
|
|
8866
|
+
* Response for status 500
|
|
8867
|
+
*/
|
|
8868
|
+
500: Error$1;
|
|
8869
|
+
};
|
|
8870
|
+
type PoolCreditLimitsMembersGetError = PoolCreditLimitsMembersGetErrors[keyof PoolCreditLimitsMembersGetErrors];
|
|
8871
|
+
type PoolCreditLimitsMembersGetResponses = {
|
|
8872
|
+
/**
|
|
8873
|
+
* Response for status 200
|
|
8874
|
+
*/
|
|
8875
|
+
200: {
|
|
8876
|
+
object: 'pool_credit_limit_member';
|
|
8877
|
+
/**
|
|
8878
|
+
* Team member user ID.
|
|
8879
|
+
*/
|
|
8880
|
+
userId: string;
|
|
8881
|
+
/**
|
|
8882
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
8883
|
+
*/
|
|
8884
|
+
setting: {
|
|
8885
|
+
/**
|
|
8886
|
+
* The member may spend shared-pool credits without a cap.
|
|
8887
|
+
*/
|
|
8888
|
+
access: 'unlimited';
|
|
8889
|
+
} | {
|
|
8890
|
+
/**
|
|
8891
|
+
* The member may spend only their monthly credits.
|
|
8892
|
+
*/
|
|
8893
|
+
access: 'none';
|
|
8894
|
+
} | {
|
|
8895
|
+
/**
|
|
8896
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
8897
|
+
*/
|
|
8898
|
+
access: 'limited';
|
|
8899
|
+
/**
|
|
8900
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
8901
|
+
*/
|
|
8902
|
+
limit: string;
|
|
8903
|
+
};
|
|
8904
|
+
/**
|
|
8905
|
+
* `default` when the team default applies, `member` when the member has their own setting.
|
|
8906
|
+
*/
|
|
8907
|
+
source: 'default' | 'member';
|
|
8908
|
+
usage: {
|
|
8909
|
+
/**
|
|
8910
|
+
* Shared-pool credits used since the billing cycle started, in USD.
|
|
8911
|
+
*/
|
|
8912
|
+
used: string;
|
|
8913
|
+
/**
|
|
8914
|
+
* Shared-pool credits the member may still use under their setting this billing cycle, in USD, or null when unlimited. The team pool’s balance may be lower.
|
|
8915
|
+
*/
|
|
8916
|
+
remaining: string | null;
|
|
8917
|
+
/**
|
|
8918
|
+
* Start of the current billing cycle.
|
|
8919
|
+
*/
|
|
8920
|
+
cycleStart: string;
|
|
8921
|
+
/**
|
|
8922
|
+
* End of the current billing cycle.
|
|
8923
|
+
*/
|
|
8924
|
+
cycleEnd: string;
|
|
8925
|
+
};
|
|
8926
|
+
};
|
|
8927
|
+
};
|
|
8928
|
+
type PoolCreditLimitsMembersGetResponse = PoolCreditLimitsMembersGetResponses[keyof PoolCreditLimitsMembersGetResponses];
|
|
8929
|
+
type PoolCreditLimitsMembersSetData = {
|
|
8930
|
+
body: {
|
|
8931
|
+
/**
|
|
8932
|
+
* How much of the shared credit pool a member may spend per billing cycle, after their monthly credits.
|
|
8933
|
+
*/
|
|
8934
|
+
setting: {
|
|
8935
|
+
/**
|
|
8936
|
+
* The member may spend shared-pool credits without a cap.
|
|
8937
|
+
*/
|
|
8938
|
+
access: 'unlimited';
|
|
8939
|
+
} | {
|
|
8940
|
+
/**
|
|
8941
|
+
* The member may spend only their monthly credits.
|
|
8942
|
+
*/
|
|
8943
|
+
access: 'none';
|
|
8944
|
+
} | {
|
|
8945
|
+
/**
|
|
8946
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
8947
|
+
*/
|
|
8948
|
+
access: 'limited';
|
|
8949
|
+
/**
|
|
8950
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
8951
|
+
*/
|
|
8952
|
+
limit: string;
|
|
8953
|
+
};
|
|
8954
|
+
};
|
|
8955
|
+
path: {
|
|
8956
|
+
/**
|
|
8957
|
+
* Team member user ID, or `me` for the authenticated user (for an API key, the user who created it).
|
|
8958
|
+
*/
|
|
8959
|
+
userId: string;
|
|
8960
|
+
};
|
|
8961
|
+
query?: never;
|
|
8962
|
+
url: '/pool-credit-limits/members/{userId}';
|
|
8963
|
+
};
|
|
8964
|
+
type PoolCreditLimitsMembersSetErrors = {
|
|
8965
|
+
/**
|
|
8966
|
+
* Response for status 401
|
|
8967
|
+
*/
|
|
8968
|
+
401: Error$1;
|
|
8969
|
+
/**
|
|
8970
|
+
* Response for status 403
|
|
8971
|
+
*/
|
|
8972
|
+
403: Error$1;
|
|
8973
|
+
/**
|
|
8974
|
+
* Response for status 404
|
|
8975
|
+
*/
|
|
8976
|
+
404: Error$1;
|
|
8977
|
+
/**
|
|
8978
|
+
* Response for status 422
|
|
8979
|
+
*/
|
|
8980
|
+
422: Error$1;
|
|
8981
|
+
/**
|
|
8982
|
+
* Response for status 429
|
|
8983
|
+
*/
|
|
8984
|
+
429: Error$1;
|
|
8985
|
+
/**
|
|
8986
|
+
* Response for status 500
|
|
8987
|
+
*/
|
|
8988
|
+
500: Error$1;
|
|
8989
|
+
};
|
|
8990
|
+
type PoolCreditLimitsMembersSetError = PoolCreditLimitsMembersSetErrors[keyof PoolCreditLimitsMembersSetErrors];
|
|
8991
|
+
type PoolCreditLimitsMembersSetResponses = {
|
|
8992
|
+
/**
|
|
8993
|
+
* Response for status 200
|
|
8994
|
+
*/
|
|
8995
|
+
200: PoolCreditLimitMember;
|
|
8996
|
+
};
|
|
8997
|
+
type PoolCreditLimitsMembersSetResponse = PoolCreditLimitsMembersSetResponses[keyof PoolCreditLimitsMembersSetResponses];
|
|
8998
|
+
type SettingsDeletePreviewHostsData = {
|
|
8999
|
+
body: {
|
|
9000
|
+
/**
|
|
9001
|
+
* Distinct hostname patterns to delete. Provide hostnames only, without scheme, port, path, userinfo, query, or fragment. *.example.com matches one subdomain label; **.example.com matches one or more. Neither includes the apex. Patterns are canonicalized before comparison.
|
|
9002
|
+
*/
|
|
9003
|
+
hosts: Array<string>;
|
|
9004
|
+
};
|
|
9005
|
+
path?: never;
|
|
9006
|
+
query?: never;
|
|
9007
|
+
url: '/settings/preview-hosts';
|
|
9008
|
+
};
|
|
9009
|
+
type SettingsDeletePreviewHostsErrors = {
|
|
9010
|
+
/**
|
|
9011
|
+
* Response for status 401
|
|
9012
|
+
*/
|
|
9013
|
+
401: Error$1;
|
|
9014
|
+
/**
|
|
9015
|
+
* Response for status 403
|
|
9016
|
+
*/
|
|
9017
|
+
403: Error$1;
|
|
9018
|
+
/**
|
|
9019
|
+
* Response for status 404
|
|
9020
|
+
*/
|
|
9021
|
+
404: Error$1;
|
|
9022
|
+
/**
|
|
9023
|
+
* Response for status 422
|
|
9024
|
+
*/
|
|
9025
|
+
422: Error$1;
|
|
9026
|
+
/**
|
|
9027
|
+
* Response for status 500
|
|
9028
|
+
*/
|
|
9029
|
+
500: Error$1;
|
|
9030
|
+
};
|
|
9031
|
+
type SettingsDeletePreviewHostsError = SettingsDeletePreviewHostsErrors[keyof SettingsDeletePreviewHostsErrors];
|
|
9032
|
+
type SettingsDeletePreviewHostsResponses = {
|
|
9033
|
+
/**
|
|
9034
|
+
* Response for status 200
|
|
9035
|
+
*/
|
|
9036
|
+
200: {
|
|
9037
|
+
success: true;
|
|
9038
|
+
};
|
|
9039
|
+
};
|
|
9040
|
+
type SettingsDeletePreviewHostsResponse = SettingsDeletePreviewHostsResponses[keyof SettingsDeletePreviewHostsResponses];
|
|
9041
|
+
type SettingsGetPreviewHostsData = {
|
|
9042
|
+
body?: never;
|
|
9043
|
+
path?: never;
|
|
9044
|
+
query?: never;
|
|
9045
|
+
url: '/settings/preview-hosts';
|
|
9046
|
+
};
|
|
9047
|
+
type SettingsGetPreviewHostsErrors = {
|
|
9048
|
+
/**
|
|
9049
|
+
* Response for status 401
|
|
9050
|
+
*/
|
|
9051
|
+
401: Error$1;
|
|
9052
|
+
/**
|
|
9053
|
+
* Response for status 403
|
|
9054
|
+
*/
|
|
9055
|
+
403: Error$1;
|
|
9056
|
+
/**
|
|
9057
|
+
* Response for status 404
|
|
9058
|
+
*/
|
|
9059
|
+
404: Error$1;
|
|
9060
|
+
/**
|
|
9061
|
+
* Response for status 500
|
|
9062
|
+
*/
|
|
9063
|
+
500: Error$1;
|
|
9064
|
+
};
|
|
9065
|
+
type SettingsGetPreviewHostsError = SettingsGetPreviewHostsErrors[keyof SettingsGetPreviewHostsErrors];
|
|
9066
|
+
type SettingsGetPreviewHostsResponses = {
|
|
9067
|
+
/**
|
|
9068
|
+
* Response for status 200
|
|
9069
|
+
*/
|
|
9070
|
+
200: TrustedPreviewHosts;
|
|
9071
|
+
};
|
|
9072
|
+
type SettingsGetPreviewHostsResponse = SettingsGetPreviewHostsResponses[keyof SettingsGetPreviewHostsResponses];
|
|
9073
|
+
type SettingsAppendPreviewHostsData = {
|
|
9074
|
+
body: {
|
|
9075
|
+
/**
|
|
9076
|
+
* Distinct hostname patterns to append. Provide hostnames only, without scheme, port, path, userinfo, query, or fragment. *.example.com matches one subdomain label; **.example.com matches one or more. Neither includes the apex. Patterns are canonicalized before comparison.
|
|
9077
|
+
*/
|
|
9078
|
+
hosts: Array<string>;
|
|
9079
|
+
};
|
|
9080
|
+
path?: never;
|
|
9081
|
+
query?: never;
|
|
9082
|
+
url: '/settings/preview-hosts';
|
|
9083
|
+
};
|
|
9084
|
+
type SettingsAppendPreviewHostsErrors = {
|
|
9085
|
+
/**
|
|
9086
|
+
* Response for status 401
|
|
9087
|
+
*/
|
|
9088
|
+
401: Error$1;
|
|
9089
|
+
/**
|
|
9090
|
+
* Response for status 403
|
|
9091
|
+
*/
|
|
9092
|
+
403: Error$1;
|
|
9093
|
+
/**
|
|
9094
|
+
* Response for status 404
|
|
9095
|
+
*/
|
|
9096
|
+
404: Error$1;
|
|
9097
|
+
/**
|
|
9098
|
+
* Response for status 422
|
|
9099
|
+
*/
|
|
9100
|
+
422: Error$1;
|
|
9101
|
+
/**
|
|
9102
|
+
* Response for status 500
|
|
9103
|
+
*/
|
|
9104
|
+
500: Error$1;
|
|
9105
|
+
};
|
|
9106
|
+
type SettingsAppendPreviewHostsError = SettingsAppendPreviewHostsErrors[keyof SettingsAppendPreviewHostsErrors];
|
|
9107
|
+
type SettingsAppendPreviewHostsResponses = {
|
|
9108
|
+
/**
|
|
9109
|
+
* Response for status 200
|
|
9110
|
+
*/
|
|
9111
|
+
200: TrustedPreviewHosts;
|
|
9112
|
+
};
|
|
9113
|
+
type SettingsAppendPreviewHostsResponse = SettingsAppendPreviewHostsResponses[keyof SettingsAppendPreviewHostsResponses];
|
|
9114
|
+
type SettingsSetPreviewHostsData = {
|
|
9115
|
+
body: {
|
|
9116
|
+
/**
|
|
9117
|
+
* The complete list of exact or wildcard hostname patterns trusted to embed previews. Provide hostnames only, without a scheme, port, path, userinfo, query string, or fragment. Use *.example.com for exactly one subdomain label and **.example.com for one or more. Wildcards do not include example.com itself; add the apex as a separate entry when needed.
|
|
9118
|
+
*/
|
|
9119
|
+
hosts: Array<string>;
|
|
9120
|
+
};
|
|
9121
|
+
path?: never;
|
|
9122
|
+
query?: never;
|
|
9123
|
+
url: '/settings/preview-hosts';
|
|
9124
|
+
};
|
|
9125
|
+
type SettingsSetPreviewHostsErrors = {
|
|
9126
|
+
/**
|
|
9127
|
+
* Response for status 401
|
|
9128
|
+
*/
|
|
9129
|
+
401: Error$1;
|
|
9130
|
+
/**
|
|
9131
|
+
* Response for status 403
|
|
9132
|
+
*/
|
|
9133
|
+
403: Error$1;
|
|
9134
|
+
/**
|
|
9135
|
+
* Response for status 404
|
|
9136
|
+
*/
|
|
9137
|
+
404: Error$1;
|
|
9138
|
+
/**
|
|
9139
|
+
* Response for status 422
|
|
9140
|
+
*/
|
|
9141
|
+
422: Error$1;
|
|
9142
|
+
/**
|
|
9143
|
+
* Response for status 500
|
|
9144
|
+
*/
|
|
9145
|
+
500: Error$1;
|
|
9146
|
+
};
|
|
9147
|
+
type SettingsSetPreviewHostsError = SettingsSetPreviewHostsErrors[keyof SettingsSetPreviewHostsErrors];
|
|
9148
|
+
type SettingsSetPreviewHostsResponses = {
|
|
9149
|
+
/**
|
|
9150
|
+
* Response for status 200
|
|
9151
|
+
*/
|
|
9152
|
+
200: TrustedPreviewHosts;
|
|
9153
|
+
};
|
|
9154
|
+
type SettingsSetPreviewHostsResponse = SettingsSetPreviewHostsResponses[keyof SettingsSetPreviewHostsResponses];
|
|
9155
|
+
type UsageGetSummaryData = {
|
|
9156
|
+
body?: never;
|
|
9157
|
+
path?: never;
|
|
9158
|
+
query?: {
|
|
9159
|
+
/**
|
|
9160
|
+
* Inclusive ISO 8601 start timestamp. Defaults to seven days ago.
|
|
9161
|
+
*/
|
|
9162
|
+
start?: Date;
|
|
9163
|
+
/**
|
|
9164
|
+
* Exclusive ISO 8601 end timestamp. Defaults to the current time.
|
|
9165
|
+
*/
|
|
9166
|
+
end?: Date;
|
|
9167
|
+
/**
|
|
9168
|
+
* Filter usage by user. Team owners and billing members may select any team member; other callers may select only themselves.
|
|
9169
|
+
*/
|
|
9170
|
+
userId?: string;
|
|
9171
|
+
};
|
|
9172
|
+
url: '/usage/summary';
|
|
9173
|
+
};
|
|
9174
|
+
type UsageGetSummaryErrors = {
|
|
8496
9175
|
/**
|
|
8497
9176
|
* Response for status 401
|
|
8498
9177
|
*/
|
|
@@ -9273,6 +9952,15 @@ declare class Chats$1 extends HeyApiClient {
|
|
|
9273
9952
|
chatId: string;
|
|
9274
9953
|
artifactId: string;
|
|
9275
9954
|
}, options?: Options<never, ThrowOnError>): RequestResult<ChatsDownloadArtifactResponses, ChatsDownloadArtifactErrors, ThrowOnError, "fields">;
|
|
9955
|
+
/**
|
|
9956
|
+
* Sync Chat Template
|
|
9957
|
+
*
|
|
9958
|
+
* Republishes the template published from this chat at the commit of the chat's READY production deployment, like Sync from Repo in the template settings. Only templates connected to a GitHub repository can be synced, by the template's author or an owner of the team the template is shared with. Call it after a production deployment is ready, for example from a GitHub Actions workflow.
|
|
9959
|
+
*/
|
|
9960
|
+
syncTemplate<ThrowOnError extends boolean = false>(parameters: {
|
|
9961
|
+
chatId: string;
|
|
9962
|
+
expectedGitSha?: string;
|
|
9963
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<ChatsSyncTemplateResponses, ChatsSyncTemplateErrors, ThrowOnError, "fields">;
|
|
9276
9964
|
/**
|
|
9277
9965
|
* Delete Chat
|
|
9278
9966
|
*
|
|
@@ -10411,7 +11099,7 @@ declare class SecurityChecks extends HeyApiClient {
|
|
|
10411
11099
|
/**
|
|
10412
11100
|
* Get Security Check
|
|
10413
11101
|
*
|
|
10414
|
-
* Returns a Security Check's status, v0's checked findings, and what the check cost. Poll until `status` is `completed`.
|
|
11102
|
+
* Returns a DeepSec Security Check's status, v0's checked findings, and what the check cost. Poll until `status` is `completed`.
|
|
10415
11103
|
*/
|
|
10416
11104
|
get<ThrowOnError extends boolean = false>(parameters: {
|
|
10417
11105
|
chatId: string;
|
|
@@ -10420,7 +11108,7 @@ declare class SecurityChecks extends HeyApiClient {
|
|
|
10420
11108
|
/**
|
|
10421
11109
|
* Create Security Check
|
|
10422
11110
|
*
|
|
10423
|
-
* Runs a Security Check of your v0 app. To check an app that isn't in v0 yet, pass its GitHub repository or Vercel project, and v0 imports it into a new private chat. Poll GET /chats/:chatId/security-checks/:checkId for the result. Requires a user API key.
|
|
11111
|
+
* Runs a DeepSec Security Check of your v0 app. To check an app that isn't in v0 yet, pass its GitHub repository or Vercel project, and v0 imports it into a new private chat. Poll GET /chats/:chatId/security-checks/:checkId for the result. Requires a user API key.
|
|
10424
11112
|
*/
|
|
10425
11113
|
create<ThrowOnError extends boolean = false>(parameters: {
|
|
10426
11114
|
scope: 'project' | 'changes';
|
|
@@ -10572,6 +11260,134 @@ declare class McpServers extends HeyApiClient {
|
|
|
10572
11260
|
scope?: 'user' | 'team';
|
|
10573
11261
|
}, options?: Options<never, ThrowOnError>): RequestResult<McpServersUpdateResponses, McpServersUpdateErrors, ThrowOnError, "fields">;
|
|
10574
11262
|
}
|
|
11263
|
+
declare class Members extends HeyApiClient {
|
|
11264
|
+
/**
|
|
11265
|
+
* List Pool Credit Limit Members
|
|
11266
|
+
*
|
|
11267
|
+
* Lists team members with v0 access, each with the setting that applies to them. Team owners and billing members only.
|
|
11268
|
+
*/
|
|
11269
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
11270
|
+
cursor?: string;
|
|
11271
|
+
limit?: number;
|
|
11272
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsMembersListResponses, PoolCreditLimitsMembersListErrors, ThrowOnError, "fields">;
|
|
11273
|
+
/**
|
|
11274
|
+
* Update Pool Credit Limit Members
|
|
11275
|
+
*
|
|
11276
|
+
* Sets or removes up to 100 members’ own settings in one request. Every change is validated first, and either all of them are saved or none are. Team owners and billing members only.
|
|
11277
|
+
*/
|
|
11278
|
+
update<ThrowOnError extends boolean = false>(parameters: {
|
|
11279
|
+
updates: Array<{
|
|
11280
|
+
/**
|
|
11281
|
+
* Team member user ID, or `me` for the authenticated user.
|
|
11282
|
+
*/
|
|
11283
|
+
userId: string;
|
|
11284
|
+
/**
|
|
11285
|
+
* The member’s own setting, or null to remove it so the team default applies.
|
|
11286
|
+
*/
|
|
11287
|
+
setting: {
|
|
11288
|
+
/**
|
|
11289
|
+
* The member may spend shared-pool credits without a cap.
|
|
11290
|
+
*/
|
|
11291
|
+
access: 'unlimited';
|
|
11292
|
+
} | {
|
|
11293
|
+
/**
|
|
11294
|
+
* The member may spend only their monthly credits.
|
|
11295
|
+
*/
|
|
11296
|
+
access: 'none';
|
|
11297
|
+
} | {
|
|
11298
|
+
/**
|
|
11299
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
11300
|
+
*/
|
|
11301
|
+
access: 'limited';
|
|
11302
|
+
/**
|
|
11303
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
11304
|
+
*/
|
|
11305
|
+
limit: string;
|
|
11306
|
+
} | null;
|
|
11307
|
+
}>;
|
|
11308
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsMembersUpdateResponses, PoolCreditLimitsMembersUpdateErrors, ThrowOnError, "fields">;
|
|
11309
|
+
/**
|
|
11310
|
+
* Reset Pool Credit Limit Member
|
|
11311
|
+
*
|
|
11312
|
+
* Removes a team member’s own setting, so the team default applies. Team owners and billing members only.
|
|
11313
|
+
*/
|
|
11314
|
+
reset<ThrowOnError extends boolean = false>(parameters: {
|
|
11315
|
+
userId: string;
|
|
11316
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsMembersResetResponses, PoolCreditLimitsMembersResetErrors, ThrowOnError, "fields">;
|
|
11317
|
+
/**
|
|
11318
|
+
* Get Pool Credit Limit Member
|
|
11319
|
+
*
|
|
11320
|
+
* Returns the setting that applies to a team member and their shared-pool usage this billing cycle. Team owners and billing members can read anyone; other members can read only themselves.
|
|
11321
|
+
*/
|
|
11322
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
11323
|
+
userId: string;
|
|
11324
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsMembersGetResponses, PoolCreditLimitsMembersGetErrors, ThrowOnError, "fields">;
|
|
11325
|
+
/**
|
|
11326
|
+
* Set Pool Credit Limit Member
|
|
11327
|
+
*
|
|
11328
|
+
* Gives a team member their own setting, in place of the team default. Team owners and billing members only.
|
|
11329
|
+
*/
|
|
11330
|
+
set<ThrowOnError extends boolean = false>(parameters: {
|
|
11331
|
+
userId: string;
|
|
11332
|
+
setting: {
|
|
11333
|
+
/**
|
|
11334
|
+
* The member may spend shared-pool credits without a cap.
|
|
11335
|
+
*/
|
|
11336
|
+
access: 'unlimited';
|
|
11337
|
+
} | {
|
|
11338
|
+
/**
|
|
11339
|
+
* The member may spend only their monthly credits.
|
|
11340
|
+
*/
|
|
11341
|
+
access: 'none';
|
|
11342
|
+
} | {
|
|
11343
|
+
/**
|
|
11344
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
11345
|
+
*/
|
|
11346
|
+
access: 'limited';
|
|
11347
|
+
/**
|
|
11348
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
11349
|
+
*/
|
|
11350
|
+
limit: string;
|
|
11351
|
+
};
|
|
11352
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsMembersSetResponses, PoolCreditLimitsMembersSetErrors, ThrowOnError, "fields">;
|
|
11353
|
+
}
|
|
11354
|
+
declare class PoolCreditLimits extends HeyApiClient {
|
|
11355
|
+
/**
|
|
11356
|
+
* Get Pool Credit Limit Default
|
|
11357
|
+
*
|
|
11358
|
+
* Returns the setting for team members without their own. Team owners and billing members only.
|
|
11359
|
+
*/
|
|
11360
|
+
getDefault<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsGetDefaultResponses, PoolCreditLimitsGetDefaultErrors, ThrowOnError, "fields">;
|
|
11361
|
+
/**
|
|
11362
|
+
* Set Pool Credit Limit Default
|
|
11363
|
+
*
|
|
11364
|
+
* Sets the setting for team members without their own. Team owners and billing members only.
|
|
11365
|
+
*/
|
|
11366
|
+
setDefault<ThrowOnError extends boolean = false>(parameters: {
|
|
11367
|
+
setting: {
|
|
11368
|
+
/**
|
|
11369
|
+
* The member may spend shared-pool credits without a cap.
|
|
11370
|
+
*/
|
|
11371
|
+
access: 'unlimited';
|
|
11372
|
+
} | {
|
|
11373
|
+
/**
|
|
11374
|
+
* The member may spend only their monthly credits.
|
|
11375
|
+
*/
|
|
11376
|
+
access: 'none';
|
|
11377
|
+
} | {
|
|
11378
|
+
/**
|
|
11379
|
+
* The member may spend up to `limit` of shared-pool credits per billing cycle.
|
|
11380
|
+
*/
|
|
11381
|
+
access: 'limited';
|
|
11382
|
+
/**
|
|
11383
|
+
* USD amount per billing cycle, with up to two decimals.
|
|
11384
|
+
*/
|
|
11385
|
+
limit: string;
|
|
11386
|
+
};
|
|
11387
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<PoolCreditLimitsSetDefaultResponses, PoolCreditLimitsSetDefaultErrors, ThrowOnError, "fields">;
|
|
11388
|
+
private _members?;
|
|
11389
|
+
get members(): Members;
|
|
11390
|
+
}
|
|
10575
11391
|
declare class Settings extends HeyApiClient {
|
|
10576
11392
|
/**
|
|
10577
11393
|
* Delete Trusted Preview Hosts
|
|
@@ -10700,6 +11516,8 @@ declare class V0Sdk$1 extends HeyApiClient {
|
|
|
10700
11516
|
get securityChecks(): SecurityChecks;
|
|
10701
11517
|
private _mcpServers?;
|
|
10702
11518
|
get mcpServers(): McpServers;
|
|
11519
|
+
private _poolCreditLimits?;
|
|
11520
|
+
get poolCreditLimits(): PoolCreditLimits;
|
|
10703
11521
|
private _settings?;
|
|
10704
11522
|
get settings(): Settings;
|
|
10705
11523
|
private _usage?;
|
|
@@ -10887,5 +11705,5 @@ declare function parseDesignModeMessage(value: unknown): DesignModeMessage;
|
|
|
10887
11705
|
*/
|
|
10888
11706
|
declare function toDesignModeMessage(payload: unknown): DesignModeMessage;
|
|
10889
11707
|
//#endregion
|
|
10890
|
-
export { Messages as $, WebhooksGetErrors as $a, SettingsAppendPreviewHostsData as $i, ChatsListResponses as $n, MessagesGetError as $r, ChatsCreateStreamResponses as $t, chatsGetResponseTransformer as A, UsageGetSummaryErrors as Aa, MessagesSendErrors as Ai, ChatsGetConnectStatusError as An, McpServersDeleteError as Ar, ChatsCreateFromTemplateResponse as At, messagesListResponseTransformer as B, WebhookEventType as Ba, MessagesStopErrors as Bi, ChatsGetFilesResponse as Bn, McpServersListError as Br, ChatsCreateFromVercelProjectWithMessageAsyncResponse as Bt, chatsCreateFromRepoResponseTransformer as C, UsageGetActivityData as Ca, MessagesSendAsyncData as Ci, ChatsDownloadFilesResponses as Cn, McpServer as Cr, ChatsCreateFromRepoError as Ct, chatsCreateResponseTransformer as D, UsageGetActivityResponses as Da, MessagesSendAsyncResponses as Di, ChatsDuplicateResponse as Dn, McpServersCreateResponse as Dr, ChatsCreateFromTemplateData as Dt, chatsCreateFromZipResponseTransformer as E, UsageGetActivityResponse as Ea, MessagesSendAsyncResponse as Ei, ChatsDuplicateErrors as En, McpServersCreateErrors as Er, ChatsCreateFromRepoResponses as Et, mcpServersCreateResponseTransformer as F, UsageListEventsErrors as Fa, MessagesSendStreamErrors as Fi, ChatsGetError as Fn, McpServersGetError as Fr, ChatsCreateFromVercelProjectResponse as Ft, usageGetSummaryResponseTransformer as G, WebhooksCreateResponses as Ga, SecurityChecksCreateErrors as Gi, ChatsGetPreviewResponse as Gn, McpServersUpdateError as Gr, ChatsCreateFromZipResponse as Gt, messagesSendResponseTransformer as H, WebhooksCreateError as Ha, MessagesStopResponses as Hi, ChatsGetPreviewData as Hn, McpServersListResponse as Hr, ChatsCreateFromZipData as Ht, mcpServersGetResponseTransformer as I, UsageListEventsResponse as Ia, MessagesSendStreamResponse as Ii, ChatsGetErrors as In, McpServersGetErrors as Ir, ChatsCreateFromVercelProjectResponses as It, webhooksGetResponseTransformer as J, WebhooksDeleteErrors as Ja, SecurityChecksGetData as Ji, ChatsGetResponses as Jn, McpServersUpdateResponses as Jr, ChatsCreateResponses as Jt, usageListEventsResponseTransformer as K, WebhooksDeleteData as Ka, SecurityChecksCreateResponse as Ki, ChatsGetPreviewResponses as Kn, McpServersUpdateErrors as Kr, ChatsCreateFromZipResponses as Kt, mcpServersListResponseTransformer as L, UsageListEventsResponses as La, MessagesSendStreamResponses as Li, ChatsGetFilesData as Ln, McpServersGetResponse as Lr, ChatsCreateFromVercelProjectWithMessageAsyncData as Lt, chatsRestoreMessageResponseTransformer as M, UsageGetSummaryResponses as Ma, MessagesSendResponses as Mi, ChatsGetConnectStatusResponse as Mn, McpServersDeleteResponse as Mr, ChatsCreateFromVercelProjectData as Mt, chatsUpdateFilesResponseTransformer as N, UsageListEventsData as Na, MessagesSendStreamData as Ni, ChatsGetConnectStatusResponses as Nn, McpServersDeleteResponses as Nr, ChatsCreateFromVercelProjectError as Nt, chatsDuplicateResponseTransformer as O, UsageGetSummaryData as Oa, MessagesSendData as Oi, ChatsDuplicateResponses as On, McpServersCreateResponses as Or, ChatsCreateFromTemplateError as Ot, chatsUpdateResponseTransformer as P, UsageListEventsError as Pa, MessagesSendStreamError as Pi, ChatsGetData as Pn, McpServersGetData as Pr, ChatsCreateFromVercelProjectErrors as Pt, McpServers as Q, WebhooksGetError as Qa, SecurityChecksGetResponses as Qi, ChatsListResponse as Qn, MessagesGetData as Qr, ChatsCreateStreamResponse as Qt, mcpServersUpdateResponseTransformer as R, UsageSummary as Ra, MessagesStopData as Ri, ChatsGetFilesError as Rn, McpServersGetResponses as Rr, ChatsCreateFromVercelProjectWithMessageAsyncError as Rt, chatsCreateFromFilesResponseTransformer as S, UsageEventList as Sa, MessagesResolveStreamResponses as Si, ChatsDownloadFilesErrors as Sn, Files as Sr, ChatsCreateFromRepoData as St, chatsCreateFromVercelProjectResponseTransformer as T, UsageGetActivityErrors as Ta, MessagesSendAsyncErrors as Ti, ChatsDuplicateError as Tn, McpServersCreateError as Tr, ChatsCreateFromRepoResponse as Tt, securityChecksGetResponseTransformer as U, WebhooksCreateErrors as Ua, SecurityChecksCreateData as Ui, ChatsGetPreviewError as Un, McpServersListResponses as Ur, ChatsCreateFromZipError as Ut, messagesResolveResponseTransformer as V, WebhooksCreateData as Va, MessagesStopResponse as Vi, ChatsGetFilesResponses as Vn, McpServersListErrors as Vr, ChatsCreateFromVercelProjectWithMessageAsyncResponses as Vt, usageGetActivityResponseTransformer as W, WebhooksCreateResponse as Wa, SecurityChecksCreateError as Wi, ChatsGetPreviewErrors as Wn, McpServersUpdateData as Wr, ChatsCreateFromZipErrors as Wt, Chats as X, WebhooksDeleteResponses as Xa, SecurityChecksGetErrors as Xi, ChatsListError as Xn, MessageListResponse as Xr, ChatsCreateStreamError as Xt, webhooksUpdateResponseTransformer as Y, WebhooksDeleteResponse as Ya, SecurityChecksGetError as Yi, ChatsListData as Yn, Message as Yr, ChatsCreateStreamData as Yt, V0Sdk as Z, WebhooksGetData as Za, SecurityChecksGetResponse as Zi, ChatsListErrors as Zn, MessageStreamEvent as Zr, ChatsCreateStreamErrors as Zt, V0StreamFinal as _, SettingsSetPreviewHostsResponse as _a, MessagesResolveResponses as _i, ChatsDownloadArtifactErrors as _n, ResolvedRequestOptions as _o, ChatsUpdateFilesResponses as _r, ChatsCreateFromFilesData as _t, DesignModeBridgeOptions as a, SettingsDeletePreviewHostsError as aa, MessagesListErrors as ai, ChatsDeleteData as an, WebhooksListResponse as ao, ChatsResumeData as ar, AsyncMessage as at, V0StreamUpdate as b, TrustedPreviewHosts as ba, MessagesResolveStreamErrors as bi, ChatsDownloadFilesData as bn, Auth as bo, ClientOptions as br, ChatsCreateFromFilesResponse as bt, DesignModeInput as c, SettingsDeletePreviewHostsResponses as ca, MessagesResolveAsyncData as ci, ChatsDeleteResponse as cn, WebhooksUpdateError as co, ChatsResumeResponse as cr, ChatWithUsage as ct, DesignModeMessage as d, SettingsGetPreviewHostsErrors as da, MessagesResolveAsyncResponse as di, ChatsDeployError as dn, WebhooksUpdateResponses as do, ChatsUpdateError as dr, ChatsCreateAsyncErrors as dt, SettingsAppendPreviewHostsError as ea, MessagesGetErrors as ei, ChatsCreateVercelProjectData as en, WebhooksGetResponse as eo, ChatsRestoreMessageData as er, Options as et, DesignModeRuntimePayload as f, SettingsGetPreviewHostsResponse as fa, MessagesResolveAsyncResponses as fi, ChatsDeployErrors as fn, createClient as fo, ChatsUpdateErrors as fr, ChatsCreateAsyncResponse as ft, V0StreamEvent as g, SettingsSetPreviewHostsErrors as ga, MessagesResolveResponse as gi, ChatsDownloadArtifactError as gn, RequestOptions as go, ChatsUpdateFilesResponse as gr, ChatsCreateErrors as gt, V0StreamError as h, SettingsSetPreviewHostsError as ha, MessagesResolveErrors as hi, ChatsDownloadArtifactData as hn, Config as ho, ChatsUpdateFilesErrors as hr, ChatsCreateError as ht, DesignModeBridge as i, SettingsDeletePreviewHostsData as ia, MessagesListError as ii, ChatsCreateVercelProjectResponses as in, WebhooksListErrors as io, ChatsRestoreMessageResponses as ir, AsyncChat as it, chatsListResponseTransformer as j, UsageGetSummaryResponse as ja, MessagesSendResponse as ji, ChatsGetConnectStatusErrors as jn, McpServersDeleteErrors as jr, ChatsCreateFromTemplateResponses as jt, chatsGetPreviewResponseTransformer as k, UsageGetSummaryError as ka, MessagesSendError as ki, ChatsGetConnectStatusData as kn, McpServersDeleteData as kr, ChatsCreateFromTemplateErrors as kt, DesignModeLayer as l, SettingsGetPreviewHostsData as la, MessagesResolveAsyncError as li, ChatsDeleteResponses as ln, WebhooksUpdateErrors as lo, ChatsResumeResponses as lr, ChatsCreateAsyncData as lt, DesignModeState as m, SettingsSetPreviewHostsData as ma, MessagesResolveError as mi, ChatsDeployResponses as mn, ClientOptions$1 as mo, ChatsUpdateFilesError as mr, ChatsCreateData as mt, toDesignModeMessage as n, SettingsAppendPreviewHostsResponse as na, MessagesGetResponses as ni, ChatsCreateVercelProjectErrors as nn, WebhooksListData as no, ChatsRestoreMessageErrors as nr, ApiKey as nt, DesignModeEdit as o, SettingsDeletePreviewHostsErrors as oa, MessagesListResponse as oi, ChatsDeleteError as on, WebhooksListResponses as oo, ChatsResumeError as or, Chat as ot, DesignModeSelection as p, SettingsGetPreviewHostsResponses as pa, MessagesResolveData as pi, ChatsDeployResponse as pn, Client as po, ChatsUpdateFilesData as pr, ChatsCreateAsyncResponses as pt, webhooksCreateResponseTransformer as q, WebhooksDeleteError as qa, SecurityChecksCreateResponses as qi, ChatsGetResponse as qn, McpServersUpdateResponse as qr, ChatsCreateResponse as qt, createDesignModeBridge as r, SettingsAppendPreviewHostsResponses as ra, MessagesListData as ri, ChatsCreateVercelProjectResponse as rn, WebhooksListError as ro, ChatsRestoreMessageResponse as rr, ApiKeyWithSecret as rt, DesignModeElement as s, SettingsDeletePreviewHostsResponse as sa, MessagesListResponses as si, ChatsDeleteErrors as sn, WebhooksUpdateData as so, ChatsResumeErrors as sr, ChatStreamEvent as st, parseDesignModeMessage as t, SettingsAppendPreviewHostsErrors as ta, MessagesGetResponse as ti, ChatsCreateVercelProjectError as tn, WebhooksGetResponses as to, ChatsRestoreMessageError as tr, Webhooks as tt, DesignModeLogo as u, SettingsGetPreviewHostsError as ua, MessagesResolveAsyncErrors as ui, ChatsDeployData as un, WebhooksUpdateResponse as uo, ChatsUpdateData as ur, ChatsCreateAsyncError as ut, V0StreamParts as v, SettingsSetPreviewHostsResponses as va, MessagesResolveStreamData as vi, ChatsDownloadArtifactResponse as vn, createConfig as vo, ChatsUpdateResponse as vr, ChatsCreateFromFilesError as vt, chatsCreateFromTemplateResponseTransformer as w, UsageGetActivityError as wa, MessagesSendAsyncError as wi, ChatsDuplicateData as wn, McpServersCreateData as wr, ChatsCreateFromRepoErrors as wt, readV0Stream as x, UsageActivity as xa, MessagesResolveStreamResponse as xi, ChatsDownloadFilesError as xn, AuthToken as xo, Error$1 as xr, ChatsCreateFromFilesResponses as xt, V0StreamResult as y, SpendLimit as ya, MessagesResolveStreamError as yi, ChatsDownloadArtifactResponses as yn, mergeHeaders as yo, ChatsUpdateResponses as yr, ChatsCreateFromFilesErrors as yt, messagesGetResponseTransformer as z, Webhook as za, MessagesStopError as zi, ChatsGetFilesErrors as zn, McpServersListData as zr, ChatsCreateFromVercelProjectWithMessageAsyncErrors as zt };
|
|
10891
|
-
//# sourceMappingURL=browser-
|
|
11708
|
+
export { Messages as $, SettingsGetPreviewHostsError as $a, PoolCreditLimitsGetDefaultErrors as $i, ChatsListResponse as $n, WebhooksUpdateResponse as $o, McpServersUpdateResponse as $r, ChatsCreateStreamResponse as $t, chatsGetResponseTransformer as A, PoolCreditLimitsSetDefaultResponse as Aa, MessagesSendAsyncError as Ai, ChatsGetConnectStatusData as An, WebhooksCreateData as Ao, McpServersCreateData as Ar, ChatsCreateFromTemplateErrors as At, messagesListResponseTransformer as B, SecurityChecksGetResponse as Ba, MessagesSendStreamError as Bi, ChatsGetFilesErrors as Bn, WebhooksGetData as Bo, McpServersGetData as Br, ChatsCreateFromVercelProjectWithMessageAsyncErrors as Bt, chatsCreateFromRepoResponseTransformer as C, PoolCreditLimitsMembersUpdateError as Ca, MessagesResolveResponses as Ci, ChatsDownloadFilesErrors as Cn, UsageListEventsError as Co, ChatsUpdateFilesResponses as Cr, ChatsCreateFromRepoData as Ct, chatsCreateResponseTransformer as D, PoolCreditLimitsSetDefaultData as Da, MessagesResolveStreamResponse as Di, ChatsDuplicateErrors as Dn, UsageSummary as Do, Error$1 as Dr, ChatsCreateFromRepoResponses as Dt, chatsCreateFromZipResponseTransformer as E, PoolCreditLimitsMembersUpdateResponses as Ea, MessagesResolveStreamErrors as Ei, ChatsDuplicateError as En, UsageListEventsResponses as Eo, ClientOptions as Er, ChatsCreateFromRepoResponse as Et, mcpServersCreateResponseTransformer as F, SecurityChecksCreateResponse as Fa, MessagesSendError as Fi, ChatsGetData as Fn, WebhooksDeleteData as Fo, McpServersDeleteData as Fr, ChatsCreateFromVercelProjectErrors as Ft, usageGetSummaryResponseTransformer as G, SettingsAppendPreviewHostsResponse as Ga, MessagesStopError as Gi, ChatsGetPreviewErrors as Gn, WebhooksListData as Go, McpServersListData as Gr, ChatsCreateFromZipErrors as Gt, messagesSendResponseTransformer as H, SettingsAppendPreviewHostsData as Ha, MessagesSendStreamResponse as Hi, ChatsGetFilesResponses as Hn, WebhooksGetErrors as Ho, McpServersGetErrors as Hr, ChatsCreateFromVercelProjectWithMessageAsyncResponses as Ht, mcpServersGetResponseTransformer as I, SecurityChecksCreateResponses as Ia, MessagesSendErrors as Ii, ChatsGetError as In, WebhooksDeleteError as Io, McpServersDeleteError as Ir, ChatsCreateFromVercelProjectResponse as It, webhooksGetResponseTransformer as J, SettingsDeletePreviewHostsError as Ja, MessagesStopResponses as Ji, ChatsGetResponse as Jn, WebhooksListResponse as Jo, McpServersListResponse as Jr, ChatsCreateResponse as Jt, usageListEventsResponseTransformer as K, SettingsAppendPreviewHostsResponses as Ka, MessagesStopErrors as Ki, ChatsGetPreviewResponse as Kn, WebhooksListError as Ko, McpServersListError as Kr, ChatsCreateFromZipResponse as Kt, mcpServersListResponseTransformer as L, SecurityChecksGetData as La, MessagesSendResponse as Li, ChatsGetErrors as Ln, WebhooksDeleteErrors as Lo, McpServersDeleteErrors as Lr, ChatsCreateFromVercelProjectResponses as Lt, chatsRestoreMessageResponseTransformer as M, SecurityChecksCreateData as Ma, MessagesSendAsyncResponse as Mi, ChatsGetConnectStatusErrors as Mn, WebhooksCreateErrors as Mo, McpServersCreateErrors as Mr, ChatsCreateFromTemplateResponses as Mt, chatsUpdateFilesResponseTransformer as N, SecurityChecksCreateError as Na, MessagesSendAsyncResponses as Ni, ChatsGetConnectStatusResponse as Nn, WebhooksCreateResponse as No, McpServersCreateResponse as Nr, ChatsCreateFromVercelProjectData as Nt, chatsDuplicateResponseTransformer as O, PoolCreditLimitsSetDefaultError as Oa, MessagesResolveStreamResponses as Oi, ChatsDuplicateResponse as On, Webhook as Oo, Files as Or, ChatsCreateFromTemplateData as Ot, chatsUpdateResponseTransformer as P, SecurityChecksCreateErrors as Pa, MessagesSendData as Pi, ChatsGetConnectStatusResponses as Pn, WebhooksCreateResponses as Po, McpServersCreateResponses as Pr, ChatsCreateFromVercelProjectError as Pt, McpServers as Q, SettingsGetPreviewHostsData as Qa, PoolCreditLimitsGetDefaultError as Qi, ChatsListErrors as Qn, WebhooksUpdateErrors as Qo, McpServersUpdateErrors as Qr, ChatsCreateStreamErrors as Qt, mcpServersUpdateResponseTransformer as R, SecurityChecksGetError as Ra, MessagesSendResponses as Ri, ChatsGetFilesData as Rn, WebhooksDeleteResponse as Ro, McpServersDeleteResponse as Rr, ChatsCreateFromVercelProjectWithMessageAsyncData as Rt, chatsCreateFromFilesResponseTransformer as S, PoolCreditLimitsMembersUpdateData as Sa, MessagesResolveResponse as Si, ChatsDownloadFilesError as Sn, UsageListEventsData as So, ChatsUpdateFilesResponse as Sr, ChatsCreateFromFilesResponses as St, chatsCreateFromVercelProjectResponseTransformer as T, PoolCreditLimitsMembersUpdateResponse as Ta, MessagesResolveStreamError as Ti, ChatsDuplicateData as Tn, UsageListEventsResponse as To, ChatsUpdateResponses as Tr, ChatsCreateFromRepoErrors as Tt, securityChecksGetResponseTransformer as U, SettingsAppendPreviewHostsError as Ua, MessagesSendStreamResponses as Ui, ChatsGetPreviewData as Un, WebhooksGetResponse as Uo, McpServersGetResponse as Ur, ChatsCreateFromZipData as Ut, messagesResolveResponseTransformer as V, SecurityChecksGetResponses as Va, MessagesSendStreamErrors as Vi, ChatsGetFilesResponse as Vn, WebhooksGetError as Vo, McpServersGetError as Vr, ChatsCreateFromVercelProjectWithMessageAsyncResponse as Vt, usageGetActivityResponseTransformer as W, SettingsAppendPreviewHostsErrors as Wa, MessagesStopData as Wi, ChatsGetPreviewError as Wn, WebhooksGetResponses as Wo, McpServersGetResponses as Wr, ChatsCreateFromZipError as Wt, Chats as X, SettingsDeletePreviewHostsResponse as Xa, PoolCreditLimitMember as Xi, ChatsListData as Xn, WebhooksUpdateData as Xo, McpServersUpdateData as Xr, ChatsCreateStreamData as Xt, webhooksUpdateResponseTransformer as Y, SettingsDeletePreviewHostsErrors as Ya, PoolCreditLimitDefault as Yi, ChatsGetResponses as Yn, WebhooksListResponses as Yo, McpServersListResponses as Yr, ChatsCreateResponses as Yt, V0Sdk as Z, SettingsDeletePreviewHostsResponses as Za, PoolCreditLimitsGetDefaultData as Zi, ChatsListError as Zn, WebhooksUpdateError as Zo, McpServersUpdateError as Zr, ChatsCreateStreamError as Zt, V0StreamFinal as _, PoolCreditLimitsMembersSetData as _a, MessagesResolveAsyncResponse as _i, ChatsDownloadArtifactError as _n, UsageGetSummaryData as _o, ChatsUpdateError as _r, ChatsCreateErrors as _t, DesignModeBridgeOptions as a, PoolCreditLimitsMembersGetResponse as aa, MessagesGetError as ai, ChatsCreateVercelProjectResponses as an, SettingsSetPreviewHostsErrors as ao, ChatsRestoreMessageResponses as ar, RequestOptions as as, AsyncMessage as at, V0StreamUpdate as b, PoolCreditLimitsMembersSetResponse as ba, MessagesResolveError as bi, ChatsDownloadArtifactResponses as bn, UsageGetSummaryResponse as bo, ChatsUpdateFilesError as br, ChatsCreateFromFilesErrors as bt, DesignModeInput as c, PoolCreditLimitsMembersListError as ca, MessagesGetResponses as ci, ChatsDeleteErrors as cn, SpendLimit as co, ChatsResumeErrors as cr, mergeHeaders as cs, ChatTemplateSync as ct, DesignModeMessage as d, PoolCreditLimitsMembersListResponses as da, MessagesListErrors as di, ChatsDeployData as dn, UsageEventList as do, ChatsSyncTemplateData as dr, ChatsCreateAsyncError as dt, PoolCreditLimitsGetDefaultResponse as ea, McpServersUpdateResponses as ei, ChatsCreateStreamResponses as en, SettingsGetPreviewHostsErrors as eo, ChatsListResponses as er, WebhooksUpdateResponses as es, Options as et, DesignModeRuntimePayload as f, PoolCreditLimitsMembersResetData as fa, MessagesListResponse as fi, ChatsDeployError as fn, UsageGetActivityData as fo, ChatsSyncTemplateError as fr, ChatsCreateAsyncErrors as ft, V0StreamEvent as g, PoolCreditLimitsMembersResetResponses as ga, MessagesResolveAsyncErrors as gi, ChatsDownloadArtifactData as gn, UsageGetActivityResponses as go, ChatsUpdateData as gr, ChatsCreateError as gt, V0StreamError as h, PoolCreditLimitsMembersResetResponse as ha, MessagesResolveAsyncError as hi, ChatsDeployResponses as hn, UsageGetActivityResponse as ho, ChatsSyncTemplateResponses as hr, ChatsCreateData as ht, DesignModeBridge as i, PoolCreditLimitsMembersGetErrors as ia, MessagesGetData as ii, ChatsCreateVercelProjectResponse as in, SettingsSetPreviewHostsError as io, ChatsRestoreMessageResponse as ir, Config as is, AsyncChat as it, chatsListResponseTransformer as j, PoolCreditLimitsSetDefaultResponses as ja, MessagesSendAsyncErrors as ji, ChatsGetConnectStatusError as jn, WebhooksCreateError as jo, McpServersCreateError as jr, ChatsCreateFromTemplateResponse as jt, chatsGetPreviewResponseTransformer as k, PoolCreditLimitsSetDefaultErrors as ka, MessagesSendAsyncData as ki, ChatsDuplicateResponses as kn, WebhookEventType as ko, McpServer as kr, ChatsCreateFromTemplateError as kt, DesignModeLayer as l, PoolCreditLimitsMembersListErrors as la, MessagesListData as li, ChatsDeleteResponse as ln, TrustedPreviewHosts as lo, ChatsResumeResponse as lr, Auth as ls, ChatWithUsage as lt, DesignModeState as m, PoolCreditLimitsMembersResetErrors as ma, MessagesResolveAsyncData as mi, ChatsDeployResponse as mn, UsageGetActivityErrors as mo, ChatsSyncTemplateResponse as mr, ChatsCreateAsyncResponses as mt, toDesignModeMessage as n, PoolCreditLimitsMembersGetData as na, MessageListResponse as ni, ChatsCreateVercelProjectError as nn, SettingsGetPreviewHostsResponses as no, ChatsRestoreMessageError as nr, Client as ns, ApiKey as nt, DesignModeEdit as o, PoolCreditLimitsMembersGetResponses as oa, MessagesGetErrors as oi, ChatsDeleteData as on, SettingsSetPreviewHostsResponse as oo, ChatsResumeData as or, ResolvedRequestOptions as os, Chat as ot, DesignModeSelection as p, PoolCreditLimitsMembersResetError as pa, MessagesListResponses as pi, ChatsDeployErrors as pn, UsageGetActivityError as po, ChatsSyncTemplateErrors as pr, ChatsCreateAsyncResponse as pt, webhooksCreateResponseTransformer as q, SettingsDeletePreviewHostsData as qa, MessagesStopResponse as qi, ChatsGetPreviewResponses as qn, WebhooksListErrors as qo, McpServersListErrors as qr, ChatsCreateFromZipResponses as qt, createDesignModeBridge as r, PoolCreditLimitsMembersGetError as ra, MessageStreamEvent as ri, ChatsCreateVercelProjectErrors as rn, SettingsSetPreviewHostsData as ro, ChatsRestoreMessageErrors as rr, ClientOptions$1 as rs, ApiKeyWithSecret as rt, DesignModeElement as s, PoolCreditLimitsMembersListData as sa, MessagesGetResponse as si, ChatsDeleteError as sn, SettingsSetPreviewHostsResponses as so, ChatsResumeError as sr, createConfig as ss, ChatStreamEvent as st, parseDesignModeMessage as t, PoolCreditLimitsGetDefaultResponses as ta, Message as ti, ChatsCreateVercelProjectData as tn, SettingsGetPreviewHostsResponse as to, ChatsRestoreMessageData as tr, createClient as ts, Webhooks as tt, DesignModeLogo as u, PoolCreditLimitsMembersListResponse as ua, MessagesListError as ui, ChatsDeleteResponses as un, UsageActivity as uo, ChatsResumeResponses as ur, AuthToken as us, ChatsCreateAsyncData as ut, V0StreamParts as v, PoolCreditLimitsMembersSetError as va, MessagesResolveAsyncResponses as vi, ChatsDownloadArtifactErrors as vn, UsageGetSummaryError as vo, ChatsUpdateErrors as vr, ChatsCreateFromFilesData as vt, chatsCreateFromTemplateResponseTransformer as w, PoolCreditLimitsMembersUpdateErrors as wa, MessagesResolveStreamData as wi, ChatsDownloadFilesResponses as wn, UsageListEventsErrors as wo, ChatsUpdateResponse as wr, ChatsCreateFromRepoError as wt, readV0Stream as x, PoolCreditLimitsMembersSetResponses as xa, MessagesResolveErrors as xi, ChatsDownloadFilesData as xn, UsageGetSummaryResponses as xo, ChatsUpdateFilesErrors as xr, ChatsCreateFromFilesResponse as xt, V0StreamResult as y, PoolCreditLimitsMembersSetErrors as ya, MessagesResolveData as yi, ChatsDownloadArtifactResponse as yn, UsageGetSummaryErrors as yo, ChatsUpdateFilesData as yr, ChatsCreateFromFilesError as yt, messagesGetResponseTransformer as z, SecurityChecksGetErrors as za, MessagesSendStreamData as zi, ChatsGetFilesError as zn, WebhooksDeleteResponses as zo, McpServersDeleteResponses as zr, ChatsCreateFromVercelProjectWithMessageAsyncError as zt };
|
|
11709
|
+
//# sourceMappingURL=browser-CWNcP1HL.d.mts.map
|