@purveyors/sdk 0.38.0 → 0.40.0
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/index.d.ts +713 -24
- package/dist/index.js +26 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3642,6 +3642,99 @@ interface paths {
|
|
|
3642
3642
|
patch?: never;
|
|
3643
3643
|
trace?: never;
|
|
3644
3644
|
};
|
|
3645
|
+
"/v1/price-index/comparisons": {
|
|
3646
|
+
parameters: {
|
|
3647
|
+
query?: never;
|
|
3648
|
+
header?: never;
|
|
3649
|
+
path?: never;
|
|
3650
|
+
cookie?: never;
|
|
3651
|
+
};
|
|
3652
|
+
/**
|
|
3653
|
+
* Available 30-day price changes
|
|
3654
|
+
* @description Automatically discovers usable origins for an exact 30-day comparison ending on the latest completed observation day within the last seven UTC dates. Returns only available comparisons, or an empty list. Actual dates are explicit; no shortened window, freshness backfill, or historical continuity is implied. Requires Parchment Intelligence.
|
|
3655
|
+
*/
|
|
3656
|
+
get: {
|
|
3657
|
+
parameters: {
|
|
3658
|
+
query?: {
|
|
3659
|
+
wholesale?: "true" | "false" | "all";
|
|
3660
|
+
};
|
|
3661
|
+
header?: never;
|
|
3662
|
+
path?: never;
|
|
3663
|
+
cookie?: never;
|
|
3664
|
+
};
|
|
3665
|
+
requestBody?: never;
|
|
3666
|
+
responses: {
|
|
3667
|
+
/** @description Available comparisons and their exact dates */
|
|
3668
|
+
200: {
|
|
3669
|
+
headers: {
|
|
3670
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3671
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3672
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3673
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3674
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3675
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3676
|
+
[name: string]: unknown;
|
|
3677
|
+
};
|
|
3678
|
+
content: {
|
|
3679
|
+
"application/json": components["schemas"]["PriceComparisons"];
|
|
3680
|
+
};
|
|
3681
|
+
};
|
|
3682
|
+
/** @description Invalid market */
|
|
3683
|
+
400: {
|
|
3684
|
+
headers: {
|
|
3685
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3686
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3687
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3688
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3689
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3690
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3691
|
+
[name: string]: unknown;
|
|
3692
|
+
};
|
|
3693
|
+
content: {
|
|
3694
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3695
|
+
};
|
|
3696
|
+
};
|
|
3697
|
+
/** @description Authentication required */
|
|
3698
|
+
401: {
|
|
3699
|
+
headers: {
|
|
3700
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3701
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3702
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3703
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3704
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3705
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3706
|
+
[name: string]: unknown;
|
|
3707
|
+
};
|
|
3708
|
+
content: {
|
|
3709
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3710
|
+
};
|
|
3711
|
+
};
|
|
3712
|
+
/** @description Insufficient entitlement (plan or role) */
|
|
3713
|
+
403: {
|
|
3714
|
+
headers: {
|
|
3715
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3716
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3717
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3718
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3719
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3720
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3721
|
+
[name: string]: unknown;
|
|
3722
|
+
};
|
|
3723
|
+
content: {
|
|
3724
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3725
|
+
};
|
|
3726
|
+
};
|
|
3727
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
3728
|
+
};
|
|
3729
|
+
};
|
|
3730
|
+
put?: never;
|
|
3731
|
+
post?: never;
|
|
3732
|
+
delete?: never;
|
|
3733
|
+
options?: never;
|
|
3734
|
+
head?: never;
|
|
3735
|
+
patch?: never;
|
|
3736
|
+
trace?: never;
|
|
3737
|
+
};
|
|
3645
3738
|
"/v1/price-index/comparison": {
|
|
3646
3739
|
parameters: {
|
|
3647
3740
|
query?: never;
|
|
@@ -11043,6 +11136,131 @@ interface paths {
|
|
|
11043
11136
|
patch?: never;
|
|
11044
11137
|
trace?: never;
|
|
11045
11138
|
};
|
|
11139
|
+
"/v1/conversation/chat": {
|
|
11140
|
+
parameters: {
|
|
11141
|
+
query?: never;
|
|
11142
|
+
header?: never;
|
|
11143
|
+
path?: never;
|
|
11144
|
+
cookie?: never;
|
|
11145
|
+
};
|
|
11146
|
+
get?: never;
|
|
11147
|
+
put?: never;
|
|
11148
|
+
/**
|
|
11149
|
+
* Stream a Cherry Runtime response
|
|
11150
|
+
* @description Session-only AI SDK UI-message stream. Parchment owns model selection, provider credentials, prompts, tool execution, request bounds, and cancellation propagation.
|
|
11151
|
+
*/
|
|
11152
|
+
post: {
|
|
11153
|
+
parameters: {
|
|
11154
|
+
query?: never;
|
|
11155
|
+
header?: never;
|
|
11156
|
+
path?: never;
|
|
11157
|
+
cookie?: never;
|
|
11158
|
+
};
|
|
11159
|
+
requestBody: {
|
|
11160
|
+
content: {
|
|
11161
|
+
"application/json": components["schemas"]["ConversationChatStreamRequest"];
|
|
11162
|
+
};
|
|
11163
|
+
};
|
|
11164
|
+
responses: {
|
|
11165
|
+
/** @description AI SDK UI-message event stream */
|
|
11166
|
+
200: {
|
|
11167
|
+
headers: {
|
|
11168
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11169
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11170
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11171
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11172
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11173
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11174
|
+
[name: string]: unknown;
|
|
11175
|
+
};
|
|
11176
|
+
content: {
|
|
11177
|
+
"text/event-stream": string;
|
|
11178
|
+
};
|
|
11179
|
+
};
|
|
11180
|
+
/** @description Invalid chat request */
|
|
11181
|
+
400: {
|
|
11182
|
+
headers: {
|
|
11183
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11184
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11185
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11186
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11187
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11188
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11189
|
+
[name: string]: unknown;
|
|
11190
|
+
};
|
|
11191
|
+
content: {
|
|
11192
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11193
|
+
};
|
|
11194
|
+
};
|
|
11195
|
+
/** @description Authentication required */
|
|
11196
|
+
401: {
|
|
11197
|
+
headers: {
|
|
11198
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11199
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11200
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11201
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11202
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11203
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11204
|
+
[name: string]: unknown;
|
|
11205
|
+
};
|
|
11206
|
+
content: {
|
|
11207
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11208
|
+
};
|
|
11209
|
+
};
|
|
11210
|
+
/** @description Insufficient entitlement (plan or role) */
|
|
11211
|
+
403: {
|
|
11212
|
+
headers: {
|
|
11213
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11214
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11215
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11216
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11217
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11218
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11219
|
+
[name: string]: unknown;
|
|
11220
|
+
};
|
|
11221
|
+
content: {
|
|
11222
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11223
|
+
};
|
|
11224
|
+
};
|
|
11225
|
+
/** @description Chat request or prompt exceeds a server-owned bound */
|
|
11226
|
+
413: {
|
|
11227
|
+
headers: {
|
|
11228
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11229
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11230
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11231
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11232
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11233
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11234
|
+
[name: string]: unknown;
|
|
11235
|
+
};
|
|
11236
|
+
content: {
|
|
11237
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11238
|
+
};
|
|
11239
|
+
};
|
|
11240
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
11241
|
+
/** @description AI provider is temporarily unavailable */
|
|
11242
|
+
503: {
|
|
11243
|
+
headers: {
|
|
11244
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11245
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11246
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11247
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11248
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11249
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11250
|
+
[name: string]: unknown;
|
|
11251
|
+
};
|
|
11252
|
+
content: {
|
|
11253
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11254
|
+
};
|
|
11255
|
+
};
|
|
11256
|
+
};
|
|
11257
|
+
};
|
|
11258
|
+
delete?: never;
|
|
11259
|
+
options?: never;
|
|
11260
|
+
head?: never;
|
|
11261
|
+
patch?: never;
|
|
11262
|
+
trace?: never;
|
|
11263
|
+
};
|
|
11046
11264
|
"/v1/conversation/memory": {
|
|
11047
11265
|
parameters: {
|
|
11048
11266
|
query?: never;
|
|
@@ -11333,6 +11551,177 @@ interface paths {
|
|
|
11333
11551
|
patch?: never;
|
|
11334
11552
|
trace?: never;
|
|
11335
11553
|
};
|
|
11554
|
+
"/v1/conversation/memory/dream": {
|
|
11555
|
+
parameters: {
|
|
11556
|
+
query?: never;
|
|
11557
|
+
header?: never;
|
|
11558
|
+
path?: never;
|
|
11559
|
+
cookie?: never;
|
|
11560
|
+
};
|
|
11561
|
+
get?: never;
|
|
11562
|
+
put?: never;
|
|
11563
|
+
/**
|
|
11564
|
+
* Reflect recent conversation into session-owner memory
|
|
11565
|
+
* @description Session-only Cherry Runtime memory reflection. Parchment owns the prompt, model, provider credential, bounds, cooldown, and optimistic commit.
|
|
11566
|
+
*/
|
|
11567
|
+
post: {
|
|
11568
|
+
parameters: {
|
|
11569
|
+
query?: never;
|
|
11570
|
+
header?: never;
|
|
11571
|
+
path?: never;
|
|
11572
|
+
cookie?: never;
|
|
11573
|
+
};
|
|
11574
|
+
requestBody: {
|
|
11575
|
+
content: {
|
|
11576
|
+
"application/json": components["schemas"]["ConversationMemoryDreamRequest"];
|
|
11577
|
+
};
|
|
11578
|
+
};
|
|
11579
|
+
responses: {
|
|
11580
|
+
/** @description Conversation-state result */
|
|
11581
|
+
200: {
|
|
11582
|
+
headers: {
|
|
11583
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11584
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11585
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11586
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11587
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11588
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11589
|
+
[name: string]: unknown;
|
|
11590
|
+
};
|
|
11591
|
+
content: {
|
|
11592
|
+
"application/json": components["schemas"]["ConversationMemoryDreamResponse"];
|
|
11593
|
+
};
|
|
11594
|
+
};
|
|
11595
|
+
/** @description Invalid conversation-state request */
|
|
11596
|
+
400: {
|
|
11597
|
+
headers: {
|
|
11598
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11599
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11600
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11601
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11602
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11603
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11604
|
+
[name: string]: unknown;
|
|
11605
|
+
};
|
|
11606
|
+
content: {
|
|
11607
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11608
|
+
};
|
|
11609
|
+
};
|
|
11610
|
+
/** @description Authentication required */
|
|
11611
|
+
401: {
|
|
11612
|
+
headers: {
|
|
11613
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11614
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11615
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11616
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11617
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11618
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11619
|
+
[name: string]: unknown;
|
|
11620
|
+
};
|
|
11621
|
+
content: {
|
|
11622
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11623
|
+
};
|
|
11624
|
+
};
|
|
11625
|
+
/** @description Insufficient entitlement (plan or role) */
|
|
11626
|
+
403: {
|
|
11627
|
+
headers: {
|
|
11628
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11629
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11630
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11631
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11632
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11633
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11634
|
+
[name: string]: unknown;
|
|
11635
|
+
};
|
|
11636
|
+
content: {
|
|
11637
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11638
|
+
};
|
|
11639
|
+
};
|
|
11640
|
+
/** @description Workspace not found for the authenticated owner */
|
|
11641
|
+
404: {
|
|
11642
|
+
headers: {
|
|
11643
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11644
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11645
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11646
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11647
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11648
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11649
|
+
[name: string]: unknown;
|
|
11650
|
+
};
|
|
11651
|
+
content: {
|
|
11652
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11653
|
+
};
|
|
11654
|
+
};
|
|
11655
|
+
/** @description Reset epoch, version, replay payload, or high-water conflict */
|
|
11656
|
+
409: {
|
|
11657
|
+
headers: {
|
|
11658
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11659
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11660
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11661
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11662
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11663
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11664
|
+
[name: string]: unknown;
|
|
11665
|
+
};
|
|
11666
|
+
content: {
|
|
11667
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11668
|
+
};
|
|
11669
|
+
};
|
|
11670
|
+
/** @description Conversation-state request body exceeds 1 MiB */
|
|
11671
|
+
413: {
|
|
11672
|
+
headers: {
|
|
11673
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11674
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11675
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11676
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11677
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11678
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11679
|
+
[name: string]: unknown;
|
|
11680
|
+
};
|
|
11681
|
+
content: {
|
|
11682
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11683
|
+
};
|
|
11684
|
+
};
|
|
11685
|
+
/** @description AI provider rate limit exceeded Customer API keys may also receive an account monthly or machine burst quota rejection. */
|
|
11686
|
+
429: {
|
|
11687
|
+
headers: {
|
|
11688
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11689
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11690
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11691
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11692
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11693
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11694
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
11695
|
+
"X-RateLimit-Blocked-By": components["headers"]["X-RateLimit-Blocked-By"];
|
|
11696
|
+
[name: string]: unknown;
|
|
11697
|
+
};
|
|
11698
|
+
content: {
|
|
11699
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11700
|
+
};
|
|
11701
|
+
};
|
|
11702
|
+
/** @description Conversation-state persistence is temporarily unavailable */
|
|
11703
|
+
503: {
|
|
11704
|
+
headers: {
|
|
11705
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11706
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11707
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11708
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11709
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11710
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11711
|
+
[name: string]: unknown;
|
|
11712
|
+
};
|
|
11713
|
+
content: {
|
|
11714
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11715
|
+
};
|
|
11716
|
+
};
|
|
11717
|
+
};
|
|
11718
|
+
};
|
|
11719
|
+
delete?: never;
|
|
11720
|
+
options?: never;
|
|
11721
|
+
head?: never;
|
|
11722
|
+
patch?: never;
|
|
11723
|
+
trace?: never;
|
|
11724
|
+
};
|
|
11336
11725
|
}
|
|
11337
11726
|
interface components {
|
|
11338
11727
|
schemas: {
|
|
@@ -12423,6 +12812,7 @@ interface components {
|
|
|
12423
12812
|
toListings: number;
|
|
12424
12813
|
matchedListings: number;
|
|
12425
12814
|
matchedSuppliers: number;
|
|
12815
|
+
/** @description Matched listings divided by starting-date listings; requires at least 50% of the starting cohort, five matches and three suppliers. */
|
|
12426
12816
|
matchedCoverage: number;
|
|
12427
12817
|
};
|
|
12428
12818
|
/** @enum {string} */
|
|
@@ -12430,6 +12820,19 @@ interface components {
|
|
|
12430
12820
|
/** @enum {boolean} */
|
|
12431
12821
|
canonicalPublication: false;
|
|
12432
12822
|
};
|
|
12823
|
+
PriceComparisons: {
|
|
12824
|
+
/** @enum {number} */
|
|
12825
|
+
windowDays: 30;
|
|
12826
|
+
/** Format: date */
|
|
12827
|
+
from: string | null;
|
|
12828
|
+
/** Format: date */
|
|
12829
|
+
to: string | null;
|
|
12830
|
+
comparisons: (components["schemas"]["MatchedPriceComparison"] & {
|
|
12831
|
+
/** @enum {string} */
|
|
12832
|
+
status?: "available";
|
|
12833
|
+
changePercent?: number;
|
|
12834
|
+
})[];
|
|
12835
|
+
};
|
|
12433
12836
|
PriceIndexItem: {
|
|
12434
12837
|
date: string;
|
|
12435
12838
|
origin: string;
|
|
@@ -14934,6 +15337,28 @@ interface components {
|
|
|
14934
15337
|
};
|
|
14935
15338
|
meta: components["schemas"]["ConversationResponseMeta"];
|
|
14936
15339
|
};
|
|
15340
|
+
ConversationChatStreamRequest: {
|
|
15341
|
+
messages: unknown[];
|
|
15342
|
+
workspaceContext?: {
|
|
15343
|
+
/** Format: uuid */
|
|
15344
|
+
id?: string;
|
|
15345
|
+
type?: string;
|
|
15346
|
+
includeMemory?: boolean;
|
|
15347
|
+
canvasDescription?: string;
|
|
15348
|
+
};
|
|
15349
|
+
pageContext?: {
|
|
15350
|
+
/** @enum {string} */
|
|
15351
|
+
surface: "catalog" | "analytics" | "dashboard" | "beans" | "roast" | "profit";
|
|
15352
|
+
summary: string;
|
|
15353
|
+
entities?: {
|
|
15354
|
+
/** @enum {string} */
|
|
15355
|
+
type: "coffee" | "inventory_bean" | "roast" | "supplier";
|
|
15356
|
+
id: number | string;
|
|
15357
|
+
label: string;
|
|
15358
|
+
}[];
|
|
15359
|
+
};
|
|
15360
|
+
includeUserMemory?: boolean;
|
|
15361
|
+
};
|
|
14937
15362
|
ConversationMemory: {
|
|
14938
15363
|
content: string;
|
|
14939
15364
|
version: number;
|
|
@@ -14956,6 +15381,22 @@ interface components {
|
|
|
14956
15381
|
/** @enum {string} */
|
|
14957
15382
|
updatedBy: "user" | "agent";
|
|
14958
15383
|
};
|
|
15384
|
+
ConversationMemoryDreamResponse: {
|
|
15385
|
+
data: components["schemas"]["ConversationMemory"] & {
|
|
15386
|
+
skipped: boolean;
|
|
15387
|
+
/** @enum {string} */
|
|
15388
|
+
reason?: "cooldown" | "empty-response";
|
|
15389
|
+
retryAfterMs?: number;
|
|
15390
|
+
};
|
|
15391
|
+
meta: components["schemas"]["ConversationResponseMeta"];
|
|
15392
|
+
};
|
|
15393
|
+
ConversationMemoryDreamRequest: {
|
|
15394
|
+
messages: {
|
|
15395
|
+
/** @enum {string} */
|
|
15396
|
+
role: "user" | "assistant";
|
|
15397
|
+
content: string;
|
|
15398
|
+
}[];
|
|
15399
|
+
};
|
|
14959
15400
|
};
|
|
14960
15401
|
responses: {
|
|
14961
15402
|
/** @description Account monthly allowance or fixed one-minute machine burst allowance exhausted. Rejected attempts are not added to usage. */
|
|
@@ -15089,6 +15530,7 @@ type ConversationWorkspaceClearRequest = NonNullable<paths["/v1/conversation/wor
|
|
|
15089
15530
|
type ConversationCanvasUpdateRequest = NonNullable<paths["/v1/conversation/workspaces/{workspaceId}/canvas"]["put"]["requestBody"]>["content"]["application/json"];
|
|
15090
15531
|
type ConversationSummaryUpdateRequest = NonNullable<paths["/v1/conversation/workspaces/{workspaceId}/summary"]["put"]["requestBody"]>["content"]["application/json"];
|
|
15091
15532
|
type ConversationMemoryUpdateRequest = NonNullable<paths["/v1/conversation/memory"]["put"]["requestBody"]>["content"]["application/json"];
|
|
15533
|
+
type ConversationMemoryDreamRequest = NonNullable<paths["/v1/conversation/memory/dream"]["post"]["requestBody"]>["content"]["application/json"];
|
|
15092
15534
|
/** Query parameters for {@link ParchmentClient.inventory.list}. */
|
|
15093
15535
|
type InventoryListQuery = NonNullable<paths["/v1/inventory"]["get"]["parameters"]["query"]>;
|
|
15094
15536
|
/** Request body for {@link ParchmentClient.inventory.create}. */
|
|
@@ -15183,6 +15625,8 @@ type CliAuthRequestCreate = NonNullable<paths["/v1/cli-auth/requests"]["post"]["
|
|
|
15183
15625
|
type CliAuthInspectRequest = NonNullable<paths["/v1/cli-auth/inspect"]["post"]["requestBody"]>["content"]["application/json"];
|
|
15184
15626
|
type CliAuthApproveRequest = NonNullable<paths["/v1/cli-auth/approve"]["post"]["requestBody"]>["content"]["application/json"];
|
|
15185
15627
|
type CliAuthExchangeRequest = NonNullable<paths["/v1/cli-auth/token"]["post"]["requestBody"]>["content"]["application/json"];
|
|
15628
|
+
/** Browser-compatible AI SDK UI-message stream request. */
|
|
15629
|
+
type ConversationChatStreamRequest = components["schemas"]["ConversationChatStreamRequest"];
|
|
15186
15630
|
/**
|
|
15187
15631
|
* Create a typed Parchment API client.
|
|
15188
15632
|
*
|
|
@@ -16193,7 +16637,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16193
16637
|
[name: string]: unknown;
|
|
16194
16638
|
};
|
|
16195
16639
|
content: {
|
|
16196
|
-
"application/json": components["schemas"]["MarketBriefDraftResponse"];
|
|
16640
|
+
"application/json": components["schemas"] /** List canonical owner subscription snapshots. */["MarketBriefDraftResponse"];
|
|
16197
16641
|
};
|
|
16198
16642
|
};
|
|
16199
16643
|
202: {
|
|
@@ -16594,7 +17038,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16594
17038
|
[name: string]: unknown;
|
|
16595
17039
|
};
|
|
16596
17040
|
content: {
|
|
16597
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
17041
|
+
"application/json": components["schemas"] /** Aggregate proof-coverage over the public catalog. */["ErrorResponse"];
|
|
16598
17042
|
};
|
|
16599
17043
|
};
|
|
16600
17044
|
503: {
|
|
@@ -16602,7 +17046,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16602
17046
|
[name: string]: unknown;
|
|
16603
17047
|
};
|
|
16604
17048
|
content: {
|
|
16605
|
-
"application/json": components["schemas"]
|
|
17049
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
16606
17050
|
};
|
|
16607
17051
|
};
|
|
16608
17052
|
};
|
|
@@ -16650,7 +17094,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16650
17094
|
[name: string]: unknown;
|
|
16651
17095
|
};
|
|
16652
17096
|
content: {
|
|
16653
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
17097
|
+
"application/json": components["schemas"] /** Aggregate proof-coverage over the public catalog. */["ErrorResponse"];
|
|
16654
17098
|
};
|
|
16655
17099
|
};
|
|
16656
17100
|
503: {
|
|
@@ -16658,7 +17102,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16658
17102
|
[name: string]: unknown;
|
|
16659
17103
|
};
|
|
16660
17104
|
content: {
|
|
16661
|
-
"application/json": components["schemas"]
|
|
17105
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
16662
17106
|
};
|
|
16663
17107
|
};
|
|
16664
17108
|
};
|
|
@@ -16666,7 +17110,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16666
17110
|
/** Durably cancel or resume the complete provider subscription. */
|
|
16667
17111
|
mutate: (subscriptionId: string, body: BillingSubscriptionMutationRequest) => Promise<openapi_fetch.FetchResponse<{
|
|
16668
17112
|
parameters: {
|
|
16669
|
-
query
|
|
17113
|
+
query? /** Tier-one price-index chart history. */: never;
|
|
16670
17114
|
header?: never;
|
|
16671
17115
|
path: {
|
|
16672
17116
|
subscriptionId: string;
|
|
@@ -16705,7 +17149,11 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16705
17149
|
[name: string]: unknown;
|
|
16706
17150
|
};
|
|
16707
17151
|
content: {
|
|
16708
|
-
"application/json": components["schemas"]
|
|
17152
|
+
"application/json": components["schemas"] /**
|
|
17153
|
+
* List an owner-scoped tracked catalog-id page and bounded recent
|
|
17154
|
+
* summaries enriched with live catalog state. Follow nextCursor when
|
|
17155
|
+
* a capped response reports truncation.
|
|
17156
|
+
*/["ErrorResponse"];
|
|
16709
17157
|
};
|
|
16710
17158
|
};
|
|
16711
17159
|
404: {
|
|
@@ -16830,9 +17278,10 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16830
17278
|
};
|
|
16831
17279
|
content: {
|
|
16832
17280
|
"application/json": components["schemas"] /**
|
|
16833
|
-
*
|
|
16834
|
-
*
|
|
16835
|
-
*
|
|
17281
|
+
* Create an owner inventory lot. Requires a session or an owner-bound API
|
|
17282
|
+
* key carrying the exact `inventory:write` scope. Manual coffee creates
|
|
17283
|
+
* require `idempotencyKey`; catalog-backed creates accept it optionally.
|
|
17284
|
+
* The same key and payload replay the original result.
|
|
16836
17285
|
*/["ErrorResponse"];
|
|
16837
17286
|
};
|
|
16838
17287
|
};
|
|
@@ -16911,9 +17360,10 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16911
17360
|
};
|
|
16912
17361
|
content: {
|
|
16913
17362
|
"application/json": components["schemas"] /**
|
|
16914
|
-
*
|
|
16915
|
-
*
|
|
16916
|
-
*
|
|
17363
|
+
* Create an owner inventory lot. Requires a session or an owner-bound API
|
|
17364
|
+
* key carrying the exact `inventory:write` scope. Manual coffee creates
|
|
17365
|
+
* require `idempotencyKey`; catalog-backed creates accept it optionally.
|
|
17366
|
+
* The same key and payload replay the original result.
|
|
16917
17367
|
*/["ErrorResponse"];
|
|
16918
17368
|
};
|
|
16919
17369
|
};
|
|
@@ -16973,7 +17423,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16973
17423
|
[name: string]: unknown;
|
|
16974
17424
|
};
|
|
16975
17425
|
content: {
|
|
16976
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
17426
|
+
"application/json": components["schemas"] /** List the caller's own roast profiles (owner-scoped). */["ErrorResponse"];
|
|
16977
17427
|
};
|
|
16978
17428
|
};
|
|
16979
17429
|
404: {
|
|
@@ -16996,14 +17446,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16996
17446
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16997
17447
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16998
17448
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16999
|
-
"X-RateLimit-Burst-Remaining": components["headers"]
|
|
17000
|
-
* Create a roast profile from an Artisan `.alog` file against one of the
|
|
17001
|
-
* caller's green-coffee lots, persisting the imported curve, events, and
|
|
17002
|
-
* an artisan_import_log entry atomically. Requires a session or an
|
|
17003
|
-
* owner-bound API key carrying the exact `roast:write` scope. The
|
|
17004
|
-
* optional `idempotencyKey` is payload-bound: same-key, same-payload
|
|
17005
|
-
* retries replay, while changed payloads conflict.
|
|
17006
|
-
*/["X-RateLimit-Burst-Remaining"];
|
|
17449
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
17007
17450
|
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
17008
17451
|
[name: string]: unknown;
|
|
17009
17452
|
};
|
|
@@ -17087,7 +17530,13 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
17087
17530
|
};
|
|
17088
17531
|
403: {
|
|
17089
17532
|
headers: {
|
|
17090
|
-
"X-RateLimit-Limit":
|
|
17533
|
+
"X-RateLimit-Limit":
|
|
17534
|
+
/**
|
|
17535
|
+
* List the caller's owner-scoped profit summaries. API keys require
|
|
17536
|
+
* inventory:read, roast:read, and sales:read. Use pagination.total to
|
|
17537
|
+
* exhaust the complete owner result set.
|
|
17538
|
+
*/
|
|
17539
|
+
components["headers"]["X-RateLimit-Limit"];
|
|
17091
17540
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
17092
17541
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
17093
17542
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
@@ -18857,6 +19306,85 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18857
19306
|
}, `${string}/${string}`>>;
|
|
18858
19307
|
};
|
|
18859
19308
|
priceIndex: {
|
|
19309
|
+
/** Available exact 30-day comparisons, with no empty-origin search. */
|
|
19310
|
+
comparisons: (query?: {
|
|
19311
|
+
wholesale?: "true" | "false" | "all";
|
|
19312
|
+
}) => Promise<openapi_fetch.FetchResponse<{
|
|
19313
|
+
parameters: {
|
|
19314
|
+
query?: {
|
|
19315
|
+
wholesale?: "true" | "false" | "all";
|
|
19316
|
+
};
|
|
19317
|
+
header?: never;
|
|
19318
|
+
path?: never;
|
|
19319
|
+
cookie?: never;
|
|
19320
|
+
};
|
|
19321
|
+
requestBody?: never;
|
|
19322
|
+
responses: {
|
|
19323
|
+
200: {
|
|
19324
|
+
headers: {
|
|
19325
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19326
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19327
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19328
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19329
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19330
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19331
|
+
[name: string]: unknown;
|
|
19332
|
+
};
|
|
19333
|
+
content: {
|
|
19334
|
+
"application/json": components["schemas"]["PriceComparisons"];
|
|
19335
|
+
};
|
|
19336
|
+
};
|
|
19337
|
+
400: {
|
|
19338
|
+
headers: {
|
|
19339
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19340
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19341
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19342
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19343
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19344
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19345
|
+
[name: string]: unknown;
|
|
19346
|
+
};
|
|
19347
|
+
content: {
|
|
19348
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
19349
|
+
};
|
|
19350
|
+
};
|
|
19351
|
+
401: {
|
|
19352
|
+
headers: {
|
|
19353
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19354
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19355
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19356
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19357
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19358
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19359
|
+
[name: string]: unknown;
|
|
19360
|
+
};
|
|
19361
|
+
content: {
|
|
19362
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
19363
|
+
};
|
|
19364
|
+
};
|
|
19365
|
+
403: {
|
|
19366
|
+
headers: {
|
|
19367
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19368
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19369
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19370
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19371
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19372
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19373
|
+
[name: string]: unknown;
|
|
19374
|
+
};
|
|
19375
|
+
content: {
|
|
19376
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
19377
|
+
};
|
|
19378
|
+
};
|
|
19379
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
19380
|
+
};
|
|
19381
|
+
}, {
|
|
19382
|
+
params: {
|
|
19383
|
+
query: {
|
|
19384
|
+
wholesale?: "true" | "false" | "all";
|
|
19385
|
+
} | undefined;
|
|
19386
|
+
};
|
|
19387
|
+
}, `${string}/${string}`>>;
|
|
18860
19388
|
/** Fresh matched-listing movement, not catalog composition or a canonical publication. */
|
|
18861
19389
|
comparison: (query: {
|
|
18862
19390
|
from: string;
|
|
@@ -20509,6 +21037,16 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
20509
21037
|
}, `${string}/${string}`>>;
|
|
20510
21038
|
};
|
|
20511
21039
|
conversation: {
|
|
21040
|
+
chat: {
|
|
21041
|
+
/**
|
|
21042
|
+
* Open a raw AI SDK UI-message stream. The response body is deliberately
|
|
21043
|
+
* left unread so BFFs and browser transports can forward chunks without
|
|
21044
|
+
* buffering. Aborting the supplied signal cancels the upstream request.
|
|
21045
|
+
*/
|
|
21046
|
+
stream: (body: ConversationChatStreamRequest, init?: {
|
|
21047
|
+
signal?: AbortSignal;
|
|
21048
|
+
}) => Promise<Response>;
|
|
21049
|
+
};
|
|
20512
21050
|
workspaces: {
|
|
20513
21051
|
/** Get or create the session owner's singleton workspace. */
|
|
20514
21052
|
getOrCreate: (body: ConversationWorkspaceCreateRequest) => Promise<openapi_fetch.FetchResponse<{
|
|
@@ -22175,6 +22713,157 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
22175
22713
|
updatedBy: "user" | "agent";
|
|
22176
22714
|
};
|
|
22177
22715
|
}, `${string}/${string}`>>;
|
|
22716
|
+
/** Reflect bounded recent messages into versioned session-owner memory. */
|
|
22717
|
+
dream: (body: ConversationMemoryDreamRequest) => Promise<openapi_fetch.FetchResponse<{
|
|
22718
|
+
parameters: {
|
|
22719
|
+
query?: never;
|
|
22720
|
+
header?: never;
|
|
22721
|
+
path?: never;
|
|
22722
|
+
cookie?: never;
|
|
22723
|
+
};
|
|
22724
|
+
requestBody: {
|
|
22725
|
+
content: {
|
|
22726
|
+
"application/json": components["schemas"]["ConversationMemoryDreamRequest"];
|
|
22727
|
+
};
|
|
22728
|
+
};
|
|
22729
|
+
responses: {
|
|
22730
|
+
200: {
|
|
22731
|
+
headers: {
|
|
22732
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22733
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22734
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22735
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22736
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22737
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22738
|
+
[name: string]: unknown;
|
|
22739
|
+
};
|
|
22740
|
+
content: {
|
|
22741
|
+
"application/json": components["schemas"]["ConversationMemoryDreamResponse"];
|
|
22742
|
+
};
|
|
22743
|
+
};
|
|
22744
|
+
400: {
|
|
22745
|
+
headers: {
|
|
22746
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22747
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22748
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22749
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22750
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22751
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22752
|
+
[name: string]: unknown;
|
|
22753
|
+
};
|
|
22754
|
+
content: {
|
|
22755
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22756
|
+
};
|
|
22757
|
+
};
|
|
22758
|
+
401: {
|
|
22759
|
+
headers: {
|
|
22760
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22761
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22762
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22763
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22764
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22765
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22766
|
+
[name: string]: unknown;
|
|
22767
|
+
};
|
|
22768
|
+
content: {
|
|
22769
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22770
|
+
};
|
|
22771
|
+
};
|
|
22772
|
+
403: {
|
|
22773
|
+
headers: {
|
|
22774
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22775
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22776
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22777
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22778
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22779
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22780
|
+
[name: string]: unknown;
|
|
22781
|
+
};
|
|
22782
|
+
content: {
|
|
22783
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22784
|
+
};
|
|
22785
|
+
};
|
|
22786
|
+
404: {
|
|
22787
|
+
headers: {
|
|
22788
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22789
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22790
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22791
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22792
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22793
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22794
|
+
[name: string]: unknown;
|
|
22795
|
+
};
|
|
22796
|
+
content: {
|
|
22797
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22798
|
+
};
|
|
22799
|
+
};
|
|
22800
|
+
409: {
|
|
22801
|
+
headers: {
|
|
22802
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22803
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22804
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22805
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22806
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22807
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22808
|
+
[name: string]: unknown;
|
|
22809
|
+
};
|
|
22810
|
+
content: {
|
|
22811
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22812
|
+
};
|
|
22813
|
+
};
|
|
22814
|
+
413: {
|
|
22815
|
+
headers: {
|
|
22816
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22817
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22818
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22819
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22820
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22821
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22822
|
+
[name: string]: unknown;
|
|
22823
|
+
};
|
|
22824
|
+
content: {
|
|
22825
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22826
|
+
};
|
|
22827
|
+
};
|
|
22828
|
+
429: {
|
|
22829
|
+
headers: {
|
|
22830
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22831
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22832
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22833
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22834
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22835
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22836
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
22837
|
+
"X-RateLimit-Blocked-By": components["headers"]["X-RateLimit-Blocked-By"];
|
|
22838
|
+
[name: string]: unknown;
|
|
22839
|
+
};
|
|
22840
|
+
content: {
|
|
22841
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22842
|
+
};
|
|
22843
|
+
};
|
|
22844
|
+
503: {
|
|
22845
|
+
headers: {
|
|
22846
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22847
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22848
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22849
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22850
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22851
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22852
|
+
[name: string]: unknown;
|
|
22853
|
+
};
|
|
22854
|
+
content: {
|
|
22855
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22856
|
+
};
|
|
22857
|
+
};
|
|
22858
|
+
};
|
|
22859
|
+
}, {
|
|
22860
|
+
body: {
|
|
22861
|
+
messages: {
|
|
22862
|
+
role: "user" | "assistant";
|
|
22863
|
+
content: string;
|
|
22864
|
+
}[];
|
|
22865
|
+
};
|
|
22866
|
+
}, `${string}/${string}`>>;
|
|
22178
22867
|
};
|
|
22179
22868
|
};
|
|
22180
22869
|
inventory: {
|
|
@@ -26447,4 +27136,4 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
26447
27136
|
};
|
|
26448
27137
|
type ParchmentClient = ReturnType<typeof createParchmentClient>;
|
|
26449
27138
|
|
|
26450
|
-
export { type AccountDeletionOperation, type AccountDeletionRequest, type BillingCheckoutCreateRequest, type BillingCheckoutSession, type BillingManualEntitlementsRequest, type BillingSubscriptionMutationRequest, type BillingSubscriptionOperation, type BriefMatchesQuery, type CatalogInventoryBatchLifecycle, type CatalogInventoryBatchReserveRequest, type CatalogInventoryBatchResult, type CatalogItem, type CatalogListQuery, type CatalogMapHeaders, type CatalogMapQuery, type CatalogMapResponse, type CatalogProofSummary, type CatalogSimilarQuery, type ConfirmedActionExecuteRequest, type ConversationCanvasUpdateRequest, type ConversationMemoryUpdateRequest, type ConversationMessageAppendRequest, type ConversationSummaryUpdateRequest, type ConversationWorkspaceClearRequest, type ConversationWorkspaceCreateRequest, type ConversationWorkspaceMetadataRequest, type InventoryCreateRequest, type InventoryShareCatalog, type InventoryShareGrant, type InventoryShareGrantCreateRequest, type InventoryShareGrantRedeemRequest, type InventoryShareInventory, type InventoryShareRoastSummary, type InventoryUpdateRequest, type MarketOverview, type MarketSignalsQuery, type MetadataIndexQuery, type OwnerApiUsage, type OwnerApiUsageQuery, type ParchmentClient, type ParchmentClientOptions, type PriceIndexQuery, type PriceIndexStatsQuery, type ProfitItem, type ProfitListQuery, type RoastBatchCreateRequest, type RoastChartDataQuery, type RoastLiveCurveRequest, type SalesCreateRequest, type SalesListQuery, type SalesUpdateRequest, type SourcingBriefCreateRequest, type TrackedLotMutation, type TrackedLotSummary, type TrackedLotsListQuery, type components, createParchmentClient, type paths };
|
|
27139
|
+
export { type AccountDeletionOperation, type AccountDeletionRequest, type BillingCheckoutCreateRequest, type BillingCheckoutSession, type BillingManualEntitlementsRequest, type BillingSubscriptionMutationRequest, type BillingSubscriptionOperation, type BriefMatchesQuery, type CatalogInventoryBatchLifecycle, type CatalogInventoryBatchReserveRequest, type CatalogInventoryBatchResult, type CatalogItem, type CatalogListQuery, type CatalogMapHeaders, type CatalogMapQuery, type CatalogMapResponse, type CatalogProofSummary, type CatalogSimilarQuery, type ConfirmedActionExecuteRequest, type ConversationCanvasUpdateRequest, type ConversationChatStreamRequest, type ConversationMemoryDreamRequest, type ConversationMemoryUpdateRequest, type ConversationMessageAppendRequest, type ConversationSummaryUpdateRequest, type ConversationWorkspaceClearRequest, type ConversationWorkspaceCreateRequest, type ConversationWorkspaceMetadataRequest, type InventoryCreateRequest, type InventoryShareCatalog, type InventoryShareGrant, type InventoryShareGrantCreateRequest, type InventoryShareGrantRedeemRequest, type InventoryShareInventory, type InventoryShareRoastSummary, type InventoryUpdateRequest, type MarketOverview, type MarketSignalsQuery, type MetadataIndexQuery, type OwnerApiUsage, type OwnerApiUsageQuery, type ParchmentClient, type ParchmentClientOptions, type PriceIndexQuery, type PriceIndexStatsQuery, type ProfitItem, type ProfitListQuery, type RoastBatchCreateRequest, type RoastChartDataQuery, type RoastLiveCurveRequest, type SalesCreateRequest, type SalesListQuery, type SalesUpdateRequest, type SourcingBriefCreateRequest, type TrackedLotMutation, type TrackedLotSummary, type TrackedLotsListQuery, type components, createParchmentClient, type paths };
|