@purveyors/sdk 0.37.0 → 0.39.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 +1003 -131
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3642,6 +3642,195 @@ 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
|
+
};
|
|
3738
|
+
"/v1/price-index/comparison": {
|
|
3739
|
+
parameters: {
|
|
3740
|
+
query?: never;
|
|
3741
|
+
header?: never;
|
|
3742
|
+
path?: never;
|
|
3743
|
+
cookie?: never;
|
|
3744
|
+
};
|
|
3745
|
+
/**
|
|
3746
|
+
* Fresh matched-listing price comparison
|
|
3747
|
+
* @description Compares exact UTC dates within 365 days for one origin and market. Requires Parchment Intelligence. Supplier-balanced fresh matched prices only; catalog composition is not repricing. This observed comparison is not a canonical market publication. Missing fresh coverage returns null, never zero.
|
|
3748
|
+
*/
|
|
3749
|
+
get: {
|
|
3750
|
+
parameters: {
|
|
3751
|
+
query: {
|
|
3752
|
+
from: string;
|
|
3753
|
+
to: string;
|
|
3754
|
+
origin: string;
|
|
3755
|
+
wholesale?: "true" | "false";
|
|
3756
|
+
};
|
|
3757
|
+
header?: never;
|
|
3758
|
+
path?: never;
|
|
3759
|
+
cookie?: never;
|
|
3760
|
+
};
|
|
3761
|
+
requestBody?: never;
|
|
3762
|
+
responses: {
|
|
3763
|
+
/** @description Observed comparison with coverage */
|
|
3764
|
+
200: {
|
|
3765
|
+
headers: {
|
|
3766
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3767
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3768
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3769
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3770
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3771
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3772
|
+
[name: string]: unknown;
|
|
3773
|
+
};
|
|
3774
|
+
content: {
|
|
3775
|
+
"application/json": components["schemas"]["MatchedPriceComparison"];
|
|
3776
|
+
};
|
|
3777
|
+
};
|
|
3778
|
+
/** @description Invalid comparison bounds */
|
|
3779
|
+
400: {
|
|
3780
|
+
headers: {
|
|
3781
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3782
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3783
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3784
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3785
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3786
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3787
|
+
[name: string]: unknown;
|
|
3788
|
+
};
|
|
3789
|
+
content: {
|
|
3790
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3791
|
+
};
|
|
3792
|
+
};
|
|
3793
|
+
/** @description Authentication required */
|
|
3794
|
+
401: {
|
|
3795
|
+
headers: {
|
|
3796
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3797
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3798
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3799
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3800
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3801
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3802
|
+
[name: string]: unknown;
|
|
3803
|
+
};
|
|
3804
|
+
content: {
|
|
3805
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3806
|
+
};
|
|
3807
|
+
};
|
|
3808
|
+
/** @description Insufficient entitlement (plan or role) */
|
|
3809
|
+
403: {
|
|
3810
|
+
headers: {
|
|
3811
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
3812
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
3813
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
3814
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
3815
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
3816
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
3817
|
+
[name: string]: unknown;
|
|
3818
|
+
};
|
|
3819
|
+
content: {
|
|
3820
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3821
|
+
};
|
|
3822
|
+
};
|
|
3823
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
put?: never;
|
|
3827
|
+
post?: never;
|
|
3828
|
+
delete?: never;
|
|
3829
|
+
options?: never;
|
|
3830
|
+
head?: never;
|
|
3831
|
+
patch?: never;
|
|
3832
|
+
trace?: never;
|
|
3833
|
+
};
|
|
3645
3834
|
"/v1/price-index": {
|
|
3646
3835
|
parameters: {
|
|
3647
3836
|
query?: never;
|
|
@@ -10778,22 +10967,26 @@ interface paths {
|
|
|
10778
10967
|
patch?: never;
|
|
10779
10968
|
trace?: never;
|
|
10780
10969
|
};
|
|
10781
|
-
"/v1/conversation/
|
|
10970
|
+
"/v1/conversation/workspaces/{workspaceId}/summary/compact": {
|
|
10782
10971
|
parameters: {
|
|
10783
10972
|
query?: never;
|
|
10784
10973
|
header?: never;
|
|
10785
10974
|
path?: never;
|
|
10786
10975
|
cookie?: never;
|
|
10787
10976
|
};
|
|
10977
|
+
get?: never;
|
|
10978
|
+
put?: never;
|
|
10788
10979
|
/**
|
|
10789
|
-
*
|
|
10790
|
-
* @description Session-only
|
|
10980
|
+
* Generate and commit a bounded workspace summary
|
|
10981
|
+
* @description Session-only Cherry Runtime compaction. Parchment owns the prompt, model, provider credential, message bounds, cooldown, and optimistic commit.
|
|
10791
10982
|
*/
|
|
10792
|
-
|
|
10983
|
+
post: {
|
|
10793
10984
|
parameters: {
|
|
10794
10985
|
query?: never;
|
|
10795
10986
|
header?: never;
|
|
10796
|
-
path
|
|
10987
|
+
path: {
|
|
10988
|
+
workspaceId: string;
|
|
10989
|
+
};
|
|
10797
10990
|
cookie?: never;
|
|
10798
10991
|
};
|
|
10799
10992
|
requestBody?: never;
|
|
@@ -10810,7 +11003,7 @@ interface paths {
|
|
|
10810
11003
|
[name: string]: unknown;
|
|
10811
11004
|
};
|
|
10812
11005
|
content: {
|
|
10813
|
-
"application/json": components["schemas"]["
|
|
11006
|
+
"application/json": components["schemas"]["ConversationSummaryCompactionResponse"];
|
|
10814
11007
|
};
|
|
10815
11008
|
};
|
|
10816
11009
|
/** @description Invalid conversation-state request */
|
|
@@ -10903,7 +11096,23 @@ interface paths {
|
|
|
10903
11096
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
10904
11097
|
};
|
|
10905
11098
|
};
|
|
10906
|
-
|
|
11099
|
+
/** @description AI provider rate limit exceeded Customer API keys may also receive an account monthly or machine burst quota rejection. */
|
|
11100
|
+
429: {
|
|
11101
|
+
headers: {
|
|
11102
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11103
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11104
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11105
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11106
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11107
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11108
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
11109
|
+
"X-RateLimit-Blocked-By": components["headers"]["X-RateLimit-Blocked-By"];
|
|
11110
|
+
[name: string]: unknown;
|
|
11111
|
+
};
|
|
11112
|
+
content: {
|
|
11113
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11114
|
+
};
|
|
11115
|
+
};
|
|
10907
11116
|
/** @description Conversation-state persistence is temporarily unavailable */
|
|
10908
11117
|
503: {
|
|
10909
11118
|
headers: {
|
|
@@ -10921,11 +11130,26 @@ interface paths {
|
|
|
10921
11130
|
};
|
|
10922
11131
|
};
|
|
10923
11132
|
};
|
|
11133
|
+
delete?: never;
|
|
11134
|
+
options?: never;
|
|
11135
|
+
head?: never;
|
|
11136
|
+
patch?: never;
|
|
11137
|
+
trace?: never;
|
|
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;
|
|
10924
11148
|
/**
|
|
10925
|
-
*
|
|
10926
|
-
* @description Session-only
|
|
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.
|
|
10927
11151
|
*/
|
|
10928
|
-
|
|
11152
|
+
post: {
|
|
10929
11153
|
parameters: {
|
|
10930
11154
|
query?: never;
|
|
10931
11155
|
header?: never;
|
|
@@ -10934,11 +11158,11 @@ interface paths {
|
|
|
10934
11158
|
};
|
|
10935
11159
|
requestBody: {
|
|
10936
11160
|
content: {
|
|
10937
|
-
"application/json": components["schemas"]["
|
|
11161
|
+
"application/json": components["schemas"]["ConversationChatStreamRequest"];
|
|
10938
11162
|
};
|
|
10939
11163
|
};
|
|
10940
11164
|
responses: {
|
|
10941
|
-
/** @description
|
|
11165
|
+
/** @description AI SDK UI-message event stream */
|
|
10942
11166
|
200: {
|
|
10943
11167
|
headers: {
|
|
10944
11168
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
@@ -10950,10 +11174,10 @@ interface paths {
|
|
|
10950
11174
|
[name: string]: unknown;
|
|
10951
11175
|
};
|
|
10952
11176
|
content: {
|
|
10953
|
-
"
|
|
11177
|
+
"text/event-stream": string;
|
|
10954
11178
|
};
|
|
10955
11179
|
};
|
|
10956
|
-
/** @description Invalid
|
|
11180
|
+
/** @description Invalid chat request */
|
|
10957
11181
|
400: {
|
|
10958
11182
|
headers: {
|
|
10959
11183
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
@@ -10998,23 +11222,8 @@ interface paths {
|
|
|
10998
11222
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
10999
11223
|
};
|
|
11000
11224
|
};
|
|
11001
|
-
/** @description
|
|
11002
|
-
|
|
11003
|
-
headers: {
|
|
11004
|
-
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11005
|
-
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11006
|
-
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11007
|
-
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11008
|
-
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11009
|
-
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11010
|
-
[name: string]: unknown;
|
|
11011
|
-
};
|
|
11012
|
-
content: {
|
|
11013
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
11014
|
-
};
|
|
11015
|
-
};
|
|
11016
|
-
/** @description Reset epoch, version, replay payload, or high-water conflict */
|
|
11017
|
-
409: {
|
|
11225
|
+
/** @description Chat request or prompt exceeds a server-owned bound */
|
|
11226
|
+
413: {
|
|
11018
11227
|
headers: {
|
|
11019
11228
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11020
11229
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -11028,8 +11237,9 @@ interface paths {
|
|
|
11028
11237
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
11029
11238
|
};
|
|
11030
11239
|
};
|
|
11031
|
-
|
|
11032
|
-
|
|
11240
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
11241
|
+
/** @description AI provider is temporarily unavailable */
|
|
11242
|
+
503: {
|
|
11033
11243
|
headers: {
|
|
11034
11244
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11035
11245
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -11043,15 +11253,288 @@ interface paths {
|
|
|
11043
11253
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
11044
11254
|
};
|
|
11045
11255
|
};
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11256
|
+
};
|
|
11257
|
+
};
|
|
11258
|
+
delete?: never;
|
|
11259
|
+
options?: never;
|
|
11260
|
+
head?: never;
|
|
11261
|
+
patch?: never;
|
|
11262
|
+
trace?: never;
|
|
11263
|
+
};
|
|
11264
|
+
"/v1/conversation/memory": {
|
|
11265
|
+
parameters: {
|
|
11266
|
+
query?: never;
|
|
11267
|
+
header?: never;
|
|
11268
|
+
path?: never;
|
|
11269
|
+
cookie?: never;
|
|
11270
|
+
};
|
|
11271
|
+
/**
|
|
11272
|
+
* Read session-owner memory
|
|
11273
|
+
* @description Session-only owner conversation state. API keys are not accepted; owner identity is derived from the authenticated session.
|
|
11274
|
+
*/
|
|
11275
|
+
get: {
|
|
11276
|
+
parameters: {
|
|
11277
|
+
query?: never;
|
|
11278
|
+
header?: never;
|
|
11279
|
+
path?: never;
|
|
11280
|
+
cookie?: never;
|
|
11281
|
+
};
|
|
11282
|
+
requestBody?: never;
|
|
11283
|
+
responses: {
|
|
11284
|
+
/** @description Conversation-state result */
|
|
11285
|
+
200: {
|
|
11286
|
+
headers: {
|
|
11287
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11288
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11289
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11290
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11291
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11292
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11293
|
+
[name: string]: unknown;
|
|
11294
|
+
};
|
|
11295
|
+
content: {
|
|
11296
|
+
"application/json": components["schemas"]["ConversationMemoryResponse"];
|
|
11297
|
+
};
|
|
11298
|
+
};
|
|
11299
|
+
/** @description Invalid conversation-state request */
|
|
11300
|
+
400: {
|
|
11301
|
+
headers: {
|
|
11302
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11303
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11304
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11305
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11306
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11307
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11308
|
+
[name: string]: unknown;
|
|
11309
|
+
};
|
|
11310
|
+
content: {
|
|
11311
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11312
|
+
};
|
|
11313
|
+
};
|
|
11314
|
+
/** @description Authentication required */
|
|
11315
|
+
401: {
|
|
11316
|
+
headers: {
|
|
11317
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11318
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11319
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11320
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11321
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11322
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11323
|
+
[name: string]: unknown;
|
|
11324
|
+
};
|
|
11325
|
+
content: {
|
|
11326
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11327
|
+
};
|
|
11328
|
+
};
|
|
11329
|
+
/** @description Insufficient entitlement (plan or role) */
|
|
11330
|
+
403: {
|
|
11331
|
+
headers: {
|
|
11332
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11333
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11334
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11335
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11336
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11337
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11338
|
+
[name: string]: unknown;
|
|
11339
|
+
};
|
|
11340
|
+
content: {
|
|
11341
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11342
|
+
};
|
|
11343
|
+
};
|
|
11344
|
+
/** @description Workspace not found for the authenticated owner */
|
|
11345
|
+
404: {
|
|
11346
|
+
headers: {
|
|
11347
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11348
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11349
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11350
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11351
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11352
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11353
|
+
[name: string]: unknown;
|
|
11354
|
+
};
|
|
11355
|
+
content: {
|
|
11356
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11357
|
+
};
|
|
11358
|
+
};
|
|
11359
|
+
/** @description Reset epoch, version, replay payload, or high-water conflict */
|
|
11360
|
+
409: {
|
|
11361
|
+
headers: {
|
|
11362
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11363
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11364
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11365
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11366
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11367
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11368
|
+
[name: string]: unknown;
|
|
11369
|
+
};
|
|
11370
|
+
content: {
|
|
11371
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11372
|
+
};
|
|
11373
|
+
};
|
|
11374
|
+
/** @description Conversation-state request body exceeds 1 MiB */
|
|
11375
|
+
413: {
|
|
11376
|
+
headers: {
|
|
11377
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11378
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11379
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11380
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11381
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11382
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11383
|
+
[name: string]: unknown;
|
|
11384
|
+
};
|
|
11385
|
+
content: {
|
|
11386
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11387
|
+
};
|
|
11388
|
+
};
|
|
11389
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
11390
|
+
/** @description Conversation-state persistence is temporarily unavailable */
|
|
11391
|
+
503: {
|
|
11392
|
+
headers: {
|
|
11393
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11394
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11395
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11396
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11397
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11398
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11399
|
+
[name: string]: unknown;
|
|
11400
|
+
};
|
|
11401
|
+
content: {
|
|
11402
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11403
|
+
};
|
|
11404
|
+
};
|
|
11405
|
+
};
|
|
11406
|
+
};
|
|
11407
|
+
/**
|
|
11408
|
+
* Optimistically update session-owner memory
|
|
11409
|
+
* @description Session-only owner conversation state. API keys are not accepted; owner identity is derived from the authenticated session.
|
|
11410
|
+
*/
|
|
11411
|
+
put: {
|
|
11412
|
+
parameters: {
|
|
11413
|
+
query?: never;
|
|
11414
|
+
header?: never;
|
|
11415
|
+
path?: never;
|
|
11416
|
+
cookie?: never;
|
|
11417
|
+
};
|
|
11418
|
+
requestBody: {
|
|
11419
|
+
content: {
|
|
11420
|
+
"application/json": components["schemas"]["ConversationMemoryUpdateRequest"];
|
|
11421
|
+
};
|
|
11422
|
+
};
|
|
11423
|
+
responses: {
|
|
11424
|
+
/** @description Conversation-state result */
|
|
11425
|
+
200: {
|
|
11426
|
+
headers: {
|
|
11427
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11428
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11429
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11430
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11431
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11432
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11433
|
+
[name: string]: unknown;
|
|
11434
|
+
};
|
|
11435
|
+
content: {
|
|
11436
|
+
"application/json": components["schemas"]["ConversationMemoryUpdateResponse"];
|
|
11437
|
+
};
|
|
11438
|
+
};
|
|
11439
|
+
/** @description Invalid conversation-state request */
|
|
11440
|
+
400: {
|
|
11441
|
+
headers: {
|
|
11442
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11443
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11444
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11445
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11446
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11447
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11448
|
+
[name: string]: unknown;
|
|
11449
|
+
};
|
|
11450
|
+
content: {
|
|
11451
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11452
|
+
};
|
|
11453
|
+
};
|
|
11454
|
+
/** @description Authentication required */
|
|
11455
|
+
401: {
|
|
11456
|
+
headers: {
|
|
11457
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11458
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11459
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11460
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11461
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11462
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11463
|
+
[name: string]: unknown;
|
|
11464
|
+
};
|
|
11465
|
+
content: {
|
|
11466
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11467
|
+
};
|
|
11468
|
+
};
|
|
11469
|
+
/** @description Insufficient entitlement (plan or role) */
|
|
11470
|
+
403: {
|
|
11471
|
+
headers: {
|
|
11472
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11473
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11474
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11475
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11476
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11477
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11478
|
+
[name: string]: unknown;
|
|
11479
|
+
};
|
|
11480
|
+
content: {
|
|
11481
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11482
|
+
};
|
|
11483
|
+
};
|
|
11484
|
+
/** @description Workspace not found for the authenticated owner */
|
|
11485
|
+
404: {
|
|
11486
|
+
headers: {
|
|
11487
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11488
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11489
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11490
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11491
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11492
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11493
|
+
[name: string]: unknown;
|
|
11494
|
+
};
|
|
11495
|
+
content: {
|
|
11496
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11497
|
+
};
|
|
11498
|
+
};
|
|
11499
|
+
/** @description Reset epoch, version, replay payload, or high-water conflict */
|
|
11500
|
+
409: {
|
|
11501
|
+
headers: {
|
|
11502
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11503
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11504
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11505
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11506
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11507
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11508
|
+
[name: string]: unknown;
|
|
11509
|
+
};
|
|
11510
|
+
content: {
|
|
11511
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11512
|
+
};
|
|
11513
|
+
};
|
|
11514
|
+
/** @description Conversation-state request body exceeds 1 MiB */
|
|
11515
|
+
413: {
|
|
11516
|
+
headers: {
|
|
11517
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11518
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11519
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11520
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11521
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11522
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11523
|
+
[name: string]: unknown;
|
|
11524
|
+
};
|
|
11525
|
+
content: {
|
|
11526
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11527
|
+
};
|
|
11528
|
+
};
|
|
11529
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
11530
|
+
/** @description Conversation-state persistence is temporarily unavailable */
|
|
11531
|
+
503: {
|
|
11532
|
+
headers: {
|
|
11533
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
11534
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
11535
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
11536
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
11537
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
11055
11538
|
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
11056
11539
|
[name: string]: unknown;
|
|
11057
11540
|
};
|
|
@@ -12145,6 +12628,40 @@ interface components {
|
|
|
12145
12628
|
limitations: string[];
|
|
12146
12629
|
};
|
|
12147
12630
|
};
|
|
12631
|
+
MatchedPriceComparison: {
|
|
12632
|
+
from: string;
|
|
12633
|
+
to: string;
|
|
12634
|
+
origin: string;
|
|
12635
|
+
wholesale: boolean;
|
|
12636
|
+
/** @enum {string} */
|
|
12637
|
+
status: "available" | "insufficient_fresh_coverage";
|
|
12638
|
+
changePercent: number | null;
|
|
12639
|
+
sample: {
|
|
12640
|
+
fromListings: number;
|
|
12641
|
+
toListings: number;
|
|
12642
|
+
matchedListings: number;
|
|
12643
|
+
matchedSuppliers: number;
|
|
12644
|
+
/** @description Matched listings divided by starting-date listings; requires at least 50% of the starting cohort, five matches and three suppliers. */
|
|
12645
|
+
matchedCoverage: number;
|
|
12646
|
+
};
|
|
12647
|
+
/** @enum {string} */
|
|
12648
|
+
methodology: "matched-supplier-median-log-v1";
|
|
12649
|
+
/** @enum {boolean} */
|
|
12650
|
+
canonicalPublication: false;
|
|
12651
|
+
};
|
|
12652
|
+
PriceComparisons: {
|
|
12653
|
+
/** @enum {number} */
|
|
12654
|
+
windowDays: 30;
|
|
12655
|
+
/** Format: date */
|
|
12656
|
+
from: string | null;
|
|
12657
|
+
/** Format: date */
|
|
12658
|
+
to: string | null;
|
|
12659
|
+
comparisons: (components["schemas"]["MatchedPriceComparison"] & {
|
|
12660
|
+
/** @enum {string} */
|
|
12661
|
+
status?: "available";
|
|
12662
|
+
changePercent?: number;
|
|
12663
|
+
})[];
|
|
12664
|
+
};
|
|
12148
12665
|
PriceIndexItem: {
|
|
12149
12666
|
date: string;
|
|
12150
12667
|
origin: string;
|
|
@@ -14638,6 +15155,39 @@ interface components {
|
|
|
14638
15155
|
expectedMessageHighWater: number;
|
|
14639
15156
|
contextSummary: string;
|
|
14640
15157
|
};
|
|
15158
|
+
ConversationSummaryCompactionResponse: {
|
|
15159
|
+
data: {
|
|
15160
|
+
contextSummary: string;
|
|
15161
|
+
summaryVersion: number;
|
|
15162
|
+
resetEpoch: number;
|
|
15163
|
+
messageHighWater: number;
|
|
15164
|
+
skipped: boolean;
|
|
15165
|
+
retryAfterMs?: number;
|
|
15166
|
+
};
|
|
15167
|
+
meta: components["schemas"]["ConversationResponseMeta"];
|
|
15168
|
+
};
|
|
15169
|
+
ConversationChatStreamRequest: {
|
|
15170
|
+
messages: unknown[];
|
|
15171
|
+
workspaceContext?: {
|
|
15172
|
+
/** Format: uuid */
|
|
15173
|
+
id?: string;
|
|
15174
|
+
type?: string;
|
|
15175
|
+
includeMemory?: boolean;
|
|
15176
|
+
canvasDescription?: string;
|
|
15177
|
+
};
|
|
15178
|
+
pageContext?: {
|
|
15179
|
+
/** @enum {string} */
|
|
15180
|
+
surface: "catalog" | "analytics" | "dashboard" | "beans" | "roast" | "profit";
|
|
15181
|
+
summary: string;
|
|
15182
|
+
entities?: {
|
|
15183
|
+
/** @enum {string} */
|
|
15184
|
+
type: "coffee" | "inventory_bean" | "roast" | "supplier";
|
|
15185
|
+
id: number | string;
|
|
15186
|
+
label: string;
|
|
15187
|
+
}[];
|
|
15188
|
+
};
|
|
15189
|
+
includeUserMemory?: boolean;
|
|
15190
|
+
};
|
|
14641
15191
|
ConversationMemory: {
|
|
14642
15192
|
content: string;
|
|
14643
15193
|
version: number;
|
|
@@ -14887,6 +15437,8 @@ type CliAuthRequestCreate = NonNullable<paths["/v1/cli-auth/requests"]["post"]["
|
|
|
14887
15437
|
type CliAuthInspectRequest = NonNullable<paths["/v1/cli-auth/inspect"]["post"]["requestBody"]>["content"]["application/json"];
|
|
14888
15438
|
type CliAuthApproveRequest = NonNullable<paths["/v1/cli-auth/approve"]["post"]["requestBody"]>["content"]["application/json"];
|
|
14889
15439
|
type CliAuthExchangeRequest = NonNullable<paths["/v1/cli-auth/token"]["post"]["requestBody"]>["content"]["application/json"];
|
|
15440
|
+
/** Browser-compatible AI SDK UI-message stream request. */
|
|
15441
|
+
type ConversationChatStreamRequest = components["schemas"]["ConversationChatStreamRequest"];
|
|
14890
15442
|
/**
|
|
14891
15443
|
* Create a typed Parchment API client.
|
|
14892
15444
|
*
|
|
@@ -16259,7 +16811,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16259
16811
|
query?: never;
|
|
16260
16812
|
header?: never;
|
|
16261
16813
|
path?: never;
|
|
16262
|
-
cookie
|
|
16814
|
+
cookie? /** Live catalog price context by origin. */: never;
|
|
16263
16815
|
};
|
|
16264
16816
|
requestBody?: never;
|
|
16265
16817
|
responses: {
|
|
@@ -16315,7 +16867,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16315
16867
|
query?: never;
|
|
16316
16868
|
header?: never;
|
|
16317
16869
|
path?: never;
|
|
16318
|
-
cookie
|
|
16870
|
+
cookie? /** Live catalog price context by origin. */: never;
|
|
16319
16871
|
};
|
|
16320
16872
|
requestBody?: never;
|
|
16321
16873
|
responses: {
|
|
@@ -16463,7 +17015,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16463
17015
|
discrepancies: () => Promise<openapi_fetch.FetchResponse<{
|
|
16464
17016
|
parameters: {
|
|
16465
17017
|
query?: never;
|
|
16466
|
-
header
|
|
17018
|
+
header?: never;
|
|
16467
17019
|
path?: never;
|
|
16468
17020
|
cookie?: never;
|
|
16469
17021
|
};
|
|
@@ -16496,12 +17048,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16496
17048
|
401: {
|
|
16497
17049
|
headers: {
|
|
16498
17050
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
16499
|
-
"X-RateLimit-Remaining":
|
|
16500
|
-
/**
|
|
16501
|
-
* Redeem a capability supplied in JSON (never in a URL). This helper
|
|
16502
|
-
* does not require the client to be configured with a bearer token.
|
|
16503
|
-
*/
|
|
16504
|
-
components["headers"]["X-RateLimit-Remaining"];
|
|
17051
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16505
17052
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16506
17053
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16507
17054
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
@@ -16516,7 +17063,9 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16516
17063
|
headers: {
|
|
16517
17064
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
16518
17065
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16519
|
-
"X-RateLimit-Reset":
|
|
17066
|
+
"X-RateLimit-Reset":
|
|
17067
|
+
/** Read the session owner's versioned durable memory. */
|
|
17068
|
+
components["headers"]["X-RateLimit-Reset"];
|
|
16520
17069
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16521
17070
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
16522
17071
|
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
@@ -16530,11 +17079,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16530
17079
|
503: {
|
|
16531
17080
|
headers: {
|
|
16532
17081
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
16533
|
-
"X-RateLimit-Remaining": components["headers"]
|
|
16534
|
-
* Get unknown, accepted, in-progress, completed, or terminal-rejected
|
|
16535
|
-
* state. Unknown is explicitly nonterminal, including missing or
|
|
16536
|
-
* cross-tenant UUIDs, so clients retain the UUID and retry.
|
|
16537
|
-
*/["X-RateLimit-Remaining"];
|
|
17082
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16538
17083
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16539
17084
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16540
17085
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
@@ -16549,7 +17094,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16549
17094
|
}, openapi_fetch.FetchOptions<{
|
|
16550
17095
|
parameters: {
|
|
16551
17096
|
query?: never;
|
|
16552
|
-
header
|
|
17097
|
+
header?: never;
|
|
16553
17098
|
path?: never;
|
|
16554
17099
|
cookie?: never;
|
|
16555
17100
|
};
|
|
@@ -16582,12 +17127,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16582
17127
|
401: {
|
|
16583
17128
|
headers: {
|
|
16584
17129
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
16585
|
-
"X-RateLimit-Remaining":
|
|
16586
|
-
/**
|
|
16587
|
-
* Redeem a capability supplied in JSON (never in a URL). This helper
|
|
16588
|
-
* does not require the client to be configured with a bearer token.
|
|
16589
|
-
*/
|
|
16590
|
-
components["headers"]["X-RateLimit-Remaining"];
|
|
17130
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16591
17131
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16592
17132
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16593
17133
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
@@ -16602,7 +17142,9 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16602
17142
|
headers: {
|
|
16603
17143
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
16604
17144
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16605
|
-
"X-RateLimit-Reset":
|
|
17145
|
+
"X-RateLimit-Reset":
|
|
17146
|
+
/** Read the session owner's versioned durable memory. */
|
|
17147
|
+
components["headers"]["X-RateLimit-Reset"];
|
|
16606
17148
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16607
17149
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
16608
17150
|
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
@@ -16616,11 +17158,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16616
17158
|
503: {
|
|
16617
17159
|
headers: {
|
|
16618
17160
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
16619
|
-
"X-RateLimit-Remaining": components["headers"]
|
|
16620
|
-
* Get unknown, accepted, in-progress, completed, or terminal-rejected
|
|
16621
|
-
* state. Unknown is explicitly nonterminal, including missing or
|
|
16622
|
-
* cross-tenant UUIDs, so clients retain the UUID and retry.
|
|
16623
|
-
*/["X-RateLimit-Remaining"];
|
|
17161
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16624
17162
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16625
17163
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16626
17164
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
@@ -16652,7 +17190,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16652
17190
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16653
17191
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16654
17192
|
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
16655
|
-
"X-RateLimit-Burst-Reset": components["headers"]
|
|
17193
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
16656
17194
|
"Cache-Control"?: string;
|
|
16657
17195
|
[name: string]: unknown;
|
|
16658
17196
|
};
|
|
@@ -16730,7 +17268,16 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16730
17268
|
[name: string]: unknown;
|
|
16731
17269
|
};
|
|
16732
17270
|
content: {
|
|
16733
|
-
"application/json":
|
|
17271
|
+
"application/json":
|
|
17272
|
+
/**
|
|
17273
|
+
* Create a roast profile from an Artisan `.alog` file against one of the
|
|
17274
|
+
* caller's green-coffee lots, persisting the imported curve, events, and
|
|
17275
|
+
* an artisan_import_log entry atomically. Requires a session or an
|
|
17276
|
+
* owner-bound API key carrying the exact `roast:write` scope. The
|
|
17277
|
+
* optional `idempotencyKey` is payload-bound: same-key, same-payload
|
|
17278
|
+
* retries replay, while changed payloads conflict.
|
|
17279
|
+
*/
|
|
17280
|
+
components["schemas"]["ErrorResponse"];
|
|
16734
17281
|
};
|
|
16735
17282
|
};
|
|
16736
17283
|
};
|
|
@@ -16784,7 +17331,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
16784
17331
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
16785
17332
|
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
16786
17333
|
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
16787
|
-
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
17334
|
+
"X-RateLimit-Burst-Remaining": components["headers"] /** Delete one of the caller's own sales. */["X-RateLimit-Burst-Remaining"];
|
|
16788
17335
|
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
16789
17336
|
[name: string]: unknown;
|
|
16790
17337
|
};
|
|
@@ -18359,10 +18906,167 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18359
18906
|
[name: string]: unknown;
|
|
18360
18907
|
};
|
|
18361
18908
|
content: {
|
|
18362
|
-
"application/json": components["schemas"]["CatalogProofCoverageResponse"];
|
|
18909
|
+
"application/json": components["schemas"]["CatalogProofCoverageResponse"];
|
|
18910
|
+
};
|
|
18911
|
+
};
|
|
18912
|
+
401: {
|
|
18913
|
+
headers: {
|
|
18914
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18915
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18916
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18917
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18918
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18919
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18920
|
+
[name: string]: unknown;
|
|
18921
|
+
};
|
|
18922
|
+
content: {
|
|
18923
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18924
|
+
};
|
|
18925
|
+
};
|
|
18926
|
+
403: {
|
|
18927
|
+
headers: {
|
|
18928
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18929
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18930
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18931
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18932
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18933
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18934
|
+
[name: string]: unknown;
|
|
18935
|
+
};
|
|
18936
|
+
content: {
|
|
18937
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18938
|
+
};
|
|
18939
|
+
};
|
|
18940
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
18941
|
+
};
|
|
18942
|
+
}, openapi_fetch.FetchOptions<{
|
|
18943
|
+
parameters: {
|
|
18944
|
+
query?: never;
|
|
18945
|
+
header?: never;
|
|
18946
|
+
path?: never;
|
|
18947
|
+
cookie?: never;
|
|
18948
|
+
};
|
|
18949
|
+
requestBody?: never;
|
|
18950
|
+
responses: {
|
|
18951
|
+
200: {
|
|
18952
|
+
headers: {
|
|
18953
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18954
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18955
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18956
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18957
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18958
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18959
|
+
[name: string]: unknown;
|
|
18960
|
+
};
|
|
18961
|
+
content: {
|
|
18962
|
+
"application/json": components["schemas"]["CatalogProofCoverageResponse"];
|
|
18963
|
+
};
|
|
18964
|
+
};
|
|
18965
|
+
401: {
|
|
18966
|
+
headers: {
|
|
18967
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18968
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18969
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18970
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18971
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18972
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18973
|
+
[name: string]: unknown;
|
|
18974
|
+
};
|
|
18975
|
+
content: {
|
|
18976
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18977
|
+
};
|
|
18978
|
+
};
|
|
18979
|
+
403: {
|
|
18980
|
+
headers: {
|
|
18981
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18982
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18983
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18984
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18985
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18986
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18987
|
+
[name: string]: unknown;
|
|
18988
|
+
};
|
|
18989
|
+
content: {
|
|
18990
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18991
|
+
};
|
|
18992
|
+
};
|
|
18993
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
18994
|
+
};
|
|
18995
|
+
}> | undefined, `${string}/${string}`>>;
|
|
18996
|
+
/** Find catalog coffees similar to a target coffee. */
|
|
18997
|
+
similar: (id: string, query?: CatalogSimilarQuery) => Promise<openapi_fetch.FetchResponse<{
|
|
18998
|
+
parameters: {
|
|
18999
|
+
query?: {
|
|
19000
|
+
threshold?: string;
|
|
19001
|
+
limit?: number;
|
|
19002
|
+
stocked_only?: "true" | "false";
|
|
19003
|
+
mode?: "all" | "likely_same" | "similar_profile";
|
|
19004
|
+
};
|
|
19005
|
+
header?: never;
|
|
19006
|
+
path: {
|
|
19007
|
+
id: string;
|
|
19008
|
+
};
|
|
19009
|
+
cookie?: never;
|
|
19010
|
+
};
|
|
19011
|
+
requestBody?: never;
|
|
19012
|
+
responses: {
|
|
19013
|
+
200: {
|
|
19014
|
+
headers: {
|
|
19015
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19016
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19017
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19018
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19019
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19020
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19021
|
+
[name: string]: unknown;
|
|
19022
|
+
};
|
|
19023
|
+
content: {
|
|
19024
|
+
"application/json": components["schemas"]["CatalogSimilarityResponse"];
|
|
19025
|
+
};
|
|
19026
|
+
};
|
|
19027
|
+
400: {
|
|
19028
|
+
headers: {
|
|
19029
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19030
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19031
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19032
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19033
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19034
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19035
|
+
[name: string]: unknown;
|
|
19036
|
+
};
|
|
19037
|
+
content: {
|
|
19038
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
19039
|
+
};
|
|
19040
|
+
};
|
|
19041
|
+
401: {
|
|
19042
|
+
headers: {
|
|
19043
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19044
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19045
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19046
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19047
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19048
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19049
|
+
[name: string]: unknown;
|
|
19050
|
+
};
|
|
19051
|
+
content: {
|
|
19052
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
19053
|
+
};
|
|
19054
|
+
};
|
|
19055
|
+
403: {
|
|
19056
|
+
headers: {
|
|
19057
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19058
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19059
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19060
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19061
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19062
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19063
|
+
[name: string]: unknown;
|
|
19064
|
+
};
|
|
19065
|
+
content: {
|
|
19066
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18363
19067
|
};
|
|
18364
19068
|
};
|
|
18365
|
-
|
|
19069
|
+
404: {
|
|
18366
19070
|
headers: {
|
|
18367
19071
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18368
19072
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -18376,7 +19080,8 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18376
19080
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
18377
19081
|
};
|
|
18378
19082
|
};
|
|
18379
|
-
|
|
19083
|
+
429: components["responses"]["ApiRateLimitExceeded"];
|
|
19084
|
+
503: {
|
|
18380
19085
|
headers: {
|
|
18381
19086
|
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18382
19087
|
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
@@ -18390,11 +19095,30 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18390
19095
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
18391
19096
|
};
|
|
18392
19097
|
};
|
|
18393
|
-
429: components["responses"]["ApiRateLimitExceeded"];
|
|
18394
19098
|
};
|
|
18395
|
-
},
|
|
19099
|
+
}, {
|
|
19100
|
+
params: {
|
|
19101
|
+
path: {
|
|
19102
|
+
id: string;
|
|
19103
|
+
};
|
|
19104
|
+
query: {
|
|
19105
|
+
threshold?: string;
|
|
19106
|
+
limit?: number;
|
|
19107
|
+
stocked_only?: "true" | "false";
|
|
19108
|
+
mode?: "all" | "likely_same" | "similar_profile";
|
|
19109
|
+
} | undefined;
|
|
19110
|
+
};
|
|
19111
|
+
}, `${string}/${string}`>>;
|
|
19112
|
+
};
|
|
19113
|
+
priceIndex: {
|
|
19114
|
+
/** Available exact 30-day comparisons, with no empty-origin search. */
|
|
19115
|
+
comparisons: (query?: {
|
|
19116
|
+
wholesale?: "true" | "false" | "all";
|
|
19117
|
+
}) => Promise<openapi_fetch.FetchResponse<{
|
|
18396
19118
|
parameters: {
|
|
18397
|
-
query?:
|
|
19119
|
+
query?: {
|
|
19120
|
+
wholesale?: "true" | "false" | "all";
|
|
19121
|
+
};
|
|
18398
19122
|
header?: never;
|
|
18399
19123
|
path?: never;
|
|
18400
19124
|
cookie?: never;
|
|
@@ -18412,7 +19136,21 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18412
19136
|
[name: string]: unknown;
|
|
18413
19137
|
};
|
|
18414
19138
|
content: {
|
|
18415
|
-
"application/json": components["schemas"]["
|
|
19139
|
+
"application/json": components["schemas"]["PriceComparisons"];
|
|
19140
|
+
};
|
|
19141
|
+
};
|
|
19142
|
+
400: {
|
|
19143
|
+
headers: {
|
|
19144
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
19145
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
19146
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
19147
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
19148
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
19149
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
19150
|
+
[name: string]: unknown;
|
|
19151
|
+
};
|
|
19152
|
+
content: {
|
|
19153
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18416
19154
|
};
|
|
18417
19155
|
};
|
|
18418
19156
|
401: {
|
|
@@ -18445,20 +19183,29 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18445
19183
|
};
|
|
18446
19184
|
429: components["responses"]["ApiRateLimitExceeded"];
|
|
18447
19185
|
};
|
|
18448
|
-
}
|
|
18449
|
-
|
|
18450
|
-
|
|
19186
|
+
}, {
|
|
19187
|
+
params: {
|
|
19188
|
+
query: {
|
|
19189
|
+
wholesale?: "true" | "false" | "all";
|
|
19190
|
+
} | undefined;
|
|
19191
|
+
};
|
|
19192
|
+
}, `${string}/${string}`>>;
|
|
19193
|
+
/** Fresh matched-listing movement, not catalog composition or a canonical publication. */
|
|
19194
|
+
comparison: (query: {
|
|
19195
|
+
from: string;
|
|
19196
|
+
to: string;
|
|
19197
|
+
origin: string;
|
|
19198
|
+
wholesale?: "true" | "false";
|
|
19199
|
+
}) => Promise<openapi_fetch.FetchResponse<{
|
|
18451
19200
|
parameters: {
|
|
18452
|
-
query
|
|
18453
|
-
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
19201
|
+
query: {
|
|
19202
|
+
from: string;
|
|
19203
|
+
to: string;
|
|
19204
|
+
origin: string;
|
|
19205
|
+
wholesale?: "true" | "false";
|
|
18457
19206
|
};
|
|
18458
19207
|
header?: never;
|
|
18459
|
-
path
|
|
18460
|
-
id: string;
|
|
18461
|
-
};
|
|
19208
|
+
path?: never;
|
|
18462
19209
|
cookie?: never;
|
|
18463
19210
|
};
|
|
18464
19211
|
requestBody?: never;
|
|
@@ -18474,7 +19221,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18474
19221
|
[name: string]: unknown;
|
|
18475
19222
|
};
|
|
18476
19223
|
content: {
|
|
18477
|
-
"application/json": components["schemas"]["
|
|
19224
|
+
"application/json": components["schemas"]["MatchedPriceComparison"];
|
|
18478
19225
|
};
|
|
18479
19226
|
};
|
|
18480
19227
|
400: {
|
|
@@ -18519,51 +19266,18 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
18519
19266
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
18520
19267
|
};
|
|
18521
19268
|
};
|
|
18522
|
-
404: {
|
|
18523
|
-
headers: {
|
|
18524
|
-
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18525
|
-
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18526
|
-
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18527
|
-
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18528
|
-
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18529
|
-
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18530
|
-
[name: string]: unknown;
|
|
18531
|
-
};
|
|
18532
|
-
content: {
|
|
18533
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18534
|
-
};
|
|
18535
|
-
};
|
|
18536
19269
|
429: components["responses"]["ApiRateLimitExceeded"];
|
|
18537
|
-
503: {
|
|
18538
|
-
headers: {
|
|
18539
|
-
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
18540
|
-
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
18541
|
-
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
18542
|
-
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
18543
|
-
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
18544
|
-
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
18545
|
-
[name: string]: unknown;
|
|
18546
|
-
};
|
|
18547
|
-
content: {
|
|
18548
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18549
|
-
};
|
|
18550
|
-
};
|
|
18551
19270
|
};
|
|
18552
19271
|
}, {
|
|
18553
19272
|
params: {
|
|
18554
|
-
path: {
|
|
18555
|
-
id: string;
|
|
18556
|
-
};
|
|
18557
19273
|
query: {
|
|
18558
|
-
|
|
18559
|
-
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
}
|
|
19274
|
+
from: string;
|
|
19275
|
+
to: string;
|
|
19276
|
+
origin: string;
|
|
19277
|
+
wholesale?: "true" | "false";
|
|
19278
|
+
};
|
|
18563
19279
|
};
|
|
18564
19280
|
}, `${string}/${string}`>>;
|
|
18565
|
-
};
|
|
18566
|
-
priceIndex: {
|
|
18567
19281
|
/** Parchment Price Index (aggregate snapshots). */
|
|
18568
19282
|
list: (query?: PriceIndexQuery) => Promise<openapi_fetch.FetchResponse<{
|
|
18569
19283
|
parameters: {
|
|
@@ -20128,6 +20842,16 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
20128
20842
|
}, `${string}/${string}`>>;
|
|
20129
20843
|
};
|
|
20130
20844
|
conversation: {
|
|
20845
|
+
chat: {
|
|
20846
|
+
/**
|
|
20847
|
+
* Open a raw AI SDK UI-message stream. The response body is deliberately
|
|
20848
|
+
* left unread so BFFs and browser transports can forward chunks without
|
|
20849
|
+
* buffering. Aborting the supplied signal cancels the upstream request.
|
|
20850
|
+
*/
|
|
20851
|
+
stream: (body: ConversationChatStreamRequest, init?: {
|
|
20852
|
+
signal?: AbortSignal;
|
|
20853
|
+
}) => Promise<Response>;
|
|
20854
|
+
};
|
|
20131
20855
|
workspaces: {
|
|
20132
20856
|
/** Get or create the session owner's singleton workspace. */
|
|
20133
20857
|
getOrCreate: (body: ConversationWorkspaceCreateRequest) => Promise<openapi_fetch.FetchResponse<{
|
|
@@ -21261,6 +21985,154 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
21261
21985
|
contextSummary: string;
|
|
21262
21986
|
};
|
|
21263
21987
|
}, `${string}/${string}`>>;
|
|
21988
|
+
/** Generate and CAS-commit a Parchment-owned workspace summary. */
|
|
21989
|
+
compactSummary: (workspaceId: string) => Promise<openapi_fetch.FetchResponse<{
|
|
21990
|
+
parameters: {
|
|
21991
|
+
query?: never;
|
|
21992
|
+
header?: never;
|
|
21993
|
+
path: {
|
|
21994
|
+
workspaceId: string;
|
|
21995
|
+
};
|
|
21996
|
+
cookie?: never;
|
|
21997
|
+
};
|
|
21998
|
+
requestBody?: never;
|
|
21999
|
+
responses: {
|
|
22000
|
+
200: {
|
|
22001
|
+
headers: {
|
|
22002
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22003
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22004
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22005
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22006
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22007
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22008
|
+
[name: string]: unknown;
|
|
22009
|
+
};
|
|
22010
|
+
content: {
|
|
22011
|
+
"application/json": components["schemas"]["ConversationSummaryCompactionResponse"];
|
|
22012
|
+
};
|
|
22013
|
+
};
|
|
22014
|
+
400: {
|
|
22015
|
+
headers: {
|
|
22016
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22017
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22018
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22019
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22020
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22021
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22022
|
+
[name: string]: unknown;
|
|
22023
|
+
};
|
|
22024
|
+
content: {
|
|
22025
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22026
|
+
};
|
|
22027
|
+
};
|
|
22028
|
+
401: {
|
|
22029
|
+
headers: {
|
|
22030
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22031
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22032
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22033
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22034
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22035
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22036
|
+
[name: string]: unknown;
|
|
22037
|
+
};
|
|
22038
|
+
content: {
|
|
22039
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22040
|
+
};
|
|
22041
|
+
};
|
|
22042
|
+
403: {
|
|
22043
|
+
headers: {
|
|
22044
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22045
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22046
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22047
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22048
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22049
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22050
|
+
[name: string]: unknown;
|
|
22051
|
+
};
|
|
22052
|
+
content: {
|
|
22053
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22054
|
+
};
|
|
22055
|
+
};
|
|
22056
|
+
404: {
|
|
22057
|
+
headers: {
|
|
22058
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22059
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22060
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22061
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22062
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22063
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22064
|
+
[name: string]: unknown;
|
|
22065
|
+
};
|
|
22066
|
+
content: {
|
|
22067
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22068
|
+
};
|
|
22069
|
+
};
|
|
22070
|
+
409: {
|
|
22071
|
+
headers: {
|
|
22072
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22073
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22074
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22075
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22076
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22077
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22078
|
+
[name: string]: unknown;
|
|
22079
|
+
};
|
|
22080
|
+
content: {
|
|
22081
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22082
|
+
};
|
|
22083
|
+
};
|
|
22084
|
+
413: {
|
|
22085
|
+
headers: {
|
|
22086
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22087
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22088
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22089
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22090
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22091
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22092
|
+
[name: string]: unknown;
|
|
22093
|
+
};
|
|
22094
|
+
content: {
|
|
22095
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22096
|
+
};
|
|
22097
|
+
};
|
|
22098
|
+
429: {
|
|
22099
|
+
headers: {
|
|
22100
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22101
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22102
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22103
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22104
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22105
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22106
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
22107
|
+
"X-RateLimit-Blocked-By": components["headers"]["X-RateLimit-Blocked-By"];
|
|
22108
|
+
[name: string]: unknown;
|
|
22109
|
+
};
|
|
22110
|
+
content: {
|
|
22111
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22112
|
+
};
|
|
22113
|
+
};
|
|
22114
|
+
503: {
|
|
22115
|
+
headers: {
|
|
22116
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
22117
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
22118
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
22119
|
+
"X-RateLimit-Burst-Limit": components["headers"]["X-RateLimit-Burst-Limit"];
|
|
22120
|
+
"X-RateLimit-Burst-Remaining": components["headers"]["X-RateLimit-Burst-Remaining"];
|
|
22121
|
+
"X-RateLimit-Burst-Reset": components["headers"]["X-RateLimit-Burst-Reset"];
|
|
22122
|
+
[name: string]: unknown;
|
|
22123
|
+
};
|
|
22124
|
+
content: {
|
|
22125
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22126
|
+
};
|
|
22127
|
+
};
|
|
22128
|
+
};
|
|
22129
|
+
}, {
|
|
22130
|
+
params: {
|
|
22131
|
+
path: {
|
|
22132
|
+
workspaceId: string;
|
|
22133
|
+
};
|
|
22134
|
+
};
|
|
22135
|
+
}, `${string}/${string}`>>;
|
|
21264
22136
|
};
|
|
21265
22137
|
memory: {
|
|
21266
22138
|
/** Read the session owner's versioned durable memory. */
|
|
@@ -25918,4 +26790,4 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
|
|
|
25918
26790
|
};
|
|
25919
26791
|
type ParchmentClient = ReturnType<typeof createParchmentClient>;
|
|
25920
26792
|
|
|
25921
|
-
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 };
|
|
26793
|
+
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 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 };
|