@lustre/sdk 4.0.0-dev.1 → 4.0.0-dev.2
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/README.md +0 -18
- package/dist/api/QueryResolver.js +37 -14
- package/dist/api/QueryResolver.js.map +1 -1
- package/dist/api/fetchQuery.js +4 -4
- package/dist/api/fetchQuery.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schema/builtins.js +12 -0
- package/dist/schema/builtins.js.map +1 -1
- package/dist/schema/mutations/acceptThreadPendingMessage.js +3 -0
- package/dist/schema/mutations/acceptThreadPendingMessage.js.map +1 -0
- package/dist/schema/{queries/educationalSearch.js → mutations/createMessages.js} +1 -1
- package/dist/schema/mutations/createMessages.js.map +1 -0
- package/dist/schema/{queries/researchQueryRefinement.js → mutations/createProductBookmark.js} +1 -1
- package/dist/schema/mutations/createProductBookmark.js.map +1 -0
- package/dist/schema/{queries/researchBestProducts.js → mutations/createThread.js} +1 -1
- package/dist/schema/mutations/createThread.js.map +1 -0
- package/dist/schema/mutations/deleteProductBookmark.js +3 -0
- package/dist/schema/mutations/deleteProductBookmark.js.map +1 -0
- package/dist/schema/mutations/deleteThread.js +3 -0
- package/dist/schema/mutations/deleteThread.js.map +1 -0
- package/dist/schema/mutations/deleteThreadPendingMessage.js +3 -0
- package/dist/schema/mutations/deleteThreadPendingMessage.js.map +1 -0
- package/dist/schema/mutations/researchDealsPendingMessage.js +3 -0
- package/dist/schema/mutations/researchDealsPendingMessage.js.map +1 -0
- package/dist/schema/mutations/updateThread.js +3 -0
- package/dist/schema/mutations/updateThread.js.map +1 -0
- package/dist/schema/mutations/updateUserLocation.js +3 -0
- package/dist/schema/mutations/updateUserLocation.js.map +1 -0
- package/dist/schema/queries/affiliateLinkV2.js +3 -0
- package/dist/schema/queries/affiliateLinkV2.js.map +1 -0
- package/dist/schema/queries/browseTheWeb.js +3 -0
- package/dist/schema/queries/browseTheWeb.js.map +1 -0
- package/dist/schema/queries/couponsList.js +3 -0
- package/dist/schema/queries/couponsList.js.map +1 -0
- package/dist/schema/queries/exampleQueries.js +3 -0
- package/dist/schema/queries/exampleQueries.js.map +1 -0
- package/dist/schema/queries/exampleQueriesV2.js +3 -0
- package/dist/schema/queries/exampleQueriesV2.js.map +1 -0
- package/dist/schema/queries/findProductsV2.js +3 -0
- package/dist/schema/queries/findProductsV2.js.map +1 -0
- package/dist/schema/queries/lookupProduct.js +3 -0
- package/dist/schema/queries/lookupProduct.js.map +1 -0
- package/dist/schema/queries/productBookmarkList.js +3 -0
- package/dist/schema/queries/productBookmarkList.js.map +1 -0
- package/dist/schema/queries/productBookmarksNames.js +3 -0
- package/dist/schema/queries/productBookmarksNames.js.map +1 -0
- package/dist/schema/queries/productDeals.js +3 -0
- package/dist/schema/queries/productDeals.js.map +1 -0
- package/dist/schema/queries/productTradeoffsV2.js +3 -0
- package/dist/schema/queries/productTradeoffsV2.js.map +1 -0
- package/dist/schema/queries/querySuggestions.js +3 -0
- package/dist/schema/queries/querySuggestions.js.map +1 -0
- package/dist/schema/queries/refineUserRequest.js +3 -0
- package/dist/schema/queries/refineUserRequest.js.map +1 -0
- package/dist/schema/queries/researchDeals.js +3 -0
- package/dist/schema/queries/researchDeals.js.map +1 -0
- package/dist/schema/queries/thread.js +3 -0
- package/dist/schema/queries/thread.js.map +1 -0
- package/dist/schema/queries/threadIdList.js +3 -0
- package/dist/schema/queries/threadIdList.js.map +1 -0
- package/dist/schema/queries/threadMessage.js +3 -0
- package/dist/schema/queries/threadMessage.js.map +1 -0
- package/dist/schema/queries/threadMessageList.js +3 -0
- package/dist/schema/queries/threadMessageList.js.map +1 -0
- package/dist/schema/queries/threadPendingMessage.js +3 -0
- package/dist/schema/queries/threadPendingMessage.js.map +1 -0
- package/dist/schema/queries/threadPendingMessageIdList.js +3 -0
- package/dist/schema/queries/threadPendingMessageIdList.js.map +1 -0
- package/dist/schema/queries/unreadThreadIdList.js +3 -0
- package/dist/schema/queries/unreadThreadIdList.js.map +1 -0
- package/dist/schema/queries/userLocation.js +3 -0
- package/dist/schema/queries/userLocation.js.map +1 -0
- package/dist/schema/queries/userProductDeals.js +3 -0
- package/dist/schema/queries/userProductDeals.js.map +1 -0
- package/package.json +2 -2
- package/types/api/FetchOptions.d.ts +1 -0
- package/types/api/FetchOptions.d.ts.map +1 -1
- package/types/api/QueryResolver.d.ts +9 -2
- package/types/api/QueryResolver.d.ts.map +1 -1
- package/types/api/fetchQuery.d.ts +2 -0
- package/types/api/fetchQuery.d.ts.map +1 -1
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/schema/builtins.d.ts +176 -71
- package/types/schema/builtins.d.ts.map +1 -1
- package/types/schema/effects.d.ts +10 -0
- package/types/schema/effects.d.ts.map +1 -1
- package/types/schema/index.d.ts +75 -15
- package/types/schema/index.d.ts.map +1 -1
- package/types/schema/mutations/acceptThreadPendingMessage.d.ts +11 -0
- package/types/schema/mutations/acceptThreadPendingMessage.d.ts.map +1 -0
- package/types/schema/mutations/createMessages.d.ts +10 -0
- package/types/schema/mutations/createMessages.d.ts.map +1 -0
- package/types/schema/mutations/createProductBookmark.d.ts +10 -0
- package/types/schema/mutations/createProductBookmark.d.ts.map +1 -0
- package/types/schema/mutations/createThread.d.ts +20 -0
- package/types/schema/mutations/createThread.d.ts.map +1 -0
- package/types/schema/mutations/deleteProductBookmark.d.ts +8 -0
- package/types/schema/mutations/deleteProductBookmark.d.ts.map +1 -0
- package/types/schema/mutations/deleteThread.d.ts +7 -0
- package/types/schema/mutations/deleteThread.d.ts.map +1 -0
- package/types/schema/mutations/deleteThreadPendingMessage.d.ts +8 -0
- package/types/schema/mutations/deleteThreadPendingMessage.d.ts.map +1 -0
- package/types/schema/mutations/researchDealsPendingMessage.d.ts +12 -0
- package/types/schema/mutations/researchDealsPendingMessage.d.ts.map +1 -0
- package/types/schema/mutations/updateThread.d.ts +11 -0
- package/types/schema/mutations/updateThread.d.ts.map +1 -0
- package/types/schema/mutations/updateUserLocation.d.ts +8 -0
- package/types/schema/mutations/updateUserLocation.d.ts.map +1 -0
- package/types/schema/mutations/updateUserPersonalization.d.ts +4 -2
- package/types/schema/mutations/updateUserPersonalization.d.ts.map +1 -1
- package/types/schema/mutations.d.ts +10 -0
- package/types/schema/mutations.d.ts.map +1 -1
- package/types/schema/queries/affiliateLinkV2.d.ts +19 -0
- package/types/schema/queries/affiliateLinkV2.d.ts.map +1 -0
- package/types/schema/queries/browseTheWeb.d.ts +12 -0
- package/types/schema/queries/browseTheWeb.d.ts.map +1 -0
- package/types/schema/queries/chatFollowupSuggestions.d.ts +2 -7
- package/types/schema/queries/chatFollowupSuggestions.d.ts.map +1 -1
- package/types/schema/queries/couponsList.d.ts +13 -0
- package/types/schema/queries/couponsList.d.ts.map +1 -0
- package/types/schema/queries/exampleQueries.d.ts +16 -0
- package/types/schema/queries/exampleQueries.d.ts.map +1 -0
- package/types/schema/queries/exampleQueriesV2.d.ts +14 -0
- package/types/schema/queries/exampleQueriesV2.d.ts.map +1 -0
- package/types/schema/queries/findProductsV2.d.ts +7 -0
- package/types/schema/queries/findProductsV2.d.ts.map +1 -0
- package/types/schema/queries/lookupProduct.d.ts +9 -0
- package/types/schema/queries/lookupProduct.d.ts.map +1 -0
- package/types/schema/queries/priceHistoryLists.d.ts +2 -0
- package/types/schema/queries/priceHistoryLists.d.ts.map +1 -1
- package/types/schema/queries/productApiSupportedDomains.d.ts +3 -1
- package/types/schema/queries/productApiSupportedDomains.d.ts.map +1 -1
- package/types/schema/queries/productBookmarkList.d.ts +18 -0
- package/types/schema/queries/productBookmarkList.d.ts.map +1 -0
- package/types/schema/queries/productBookmarksNames.d.ts +12 -0
- package/types/schema/queries/productBookmarksNames.d.ts.map +1 -0
- package/types/schema/queries/productDeals.d.ts +6 -0
- package/types/schema/queries/productDeals.d.ts.map +1 -0
- package/types/schema/queries/productTradeoffs.d.ts +1 -0
- package/types/schema/queries/productTradeoffs.d.ts.map +1 -1
- package/types/schema/queries/productTradeoffsV2.d.ts +35 -0
- package/types/schema/queries/productTradeoffsV2.d.ts.map +1 -0
- package/types/schema/queries/querySuggestions.d.ts +7 -0
- package/types/schema/queries/querySuggestions.d.ts.map +1 -0
- package/types/schema/queries/refineUserRequest.d.ts +15 -0
- package/types/schema/queries/refineUserRequest.d.ts.map +1 -0
- package/types/schema/queries/researchBestProductsV2.d.ts +4 -10
- package/types/schema/queries/researchBestProductsV2.d.ts.map +1 -1
- package/types/schema/queries/researchDeals.d.ts +9 -0
- package/types/schema/queries/researchDeals.d.ts.map +1 -0
- package/types/schema/queries/researchProductComparison.d.ts +2 -10
- package/types/schema/queries/researchProductComparison.d.ts.map +1 -1
- package/types/schema/queries/researchProductReview.d.ts +1 -2
- package/types/schema/queries/researchProductReview.d.ts.map +1 -1
- package/types/schema/queries/storePageInfo.d.ts +0 -3
- package/types/schema/queries/storePageInfo.d.ts.map +1 -1
- package/types/schema/queries/thread.d.ts +19 -0
- package/types/schema/queries/thread.d.ts.map +1 -0
- package/types/schema/queries/threadIdList.d.ts +15 -0
- package/types/schema/queries/threadIdList.d.ts.map +1 -0
- package/types/schema/queries/threadMessage.d.ts +7 -0
- package/types/schema/queries/threadMessage.d.ts.map +1 -0
- package/types/schema/queries/threadMessageList.d.ts +6 -0
- package/types/schema/queries/threadMessageList.d.ts.map +1 -0
- package/types/schema/queries/threadPendingMessage.d.ts +15 -0
- package/types/schema/queries/threadPendingMessage.d.ts.map +1 -0
- package/types/schema/queries/threadPendingMessageIdList.d.ts +6 -0
- package/types/schema/queries/threadPendingMessageIdList.d.ts.map +1 -0
- package/types/schema/queries/unreadThreadIdList.d.ts +6 -0
- package/types/schema/queries/unreadThreadIdList.d.ts.map +1 -0
- package/types/schema/queries/userData.d.ts +8 -1
- package/types/schema/queries/userData.d.ts.map +1 -1
- package/types/schema/queries/userLocation.d.ts +6 -0
- package/types/schema/queries/userLocation.d.ts.map +1 -0
- package/types/schema/queries/userProductDeals.d.ts +8 -0
- package/types/schema/queries/userProductDeals.d.ts.map +1 -0
- package/types/schema/queries.d.ts +23 -3
- package/types/schema/queries.d.ts.map +1 -1
- package/types/schema/responses.d.ts +23 -3
- package/types/schema/responses.d.ts.map +1 -1
- package/dist/schema/queries/educationalSearch.js.map +0 -1
- package/dist/schema/queries/researchBestProducts.js.map +0 -1
- package/dist/schema/queries/researchQueryRefinement.js.map +0 -1
- package/types/schema/queries/educationalSearch.d.ts +0 -15
- package/types/schema/queries/educationalSearch.d.ts.map +0 -1
- package/types/schema/queries/researchBestProducts.d.ts +0 -20
- package/types/schema/queries/researchBestProducts.d.ts.map +0 -1
- package/types/schema/queries/researchQueryRefinement.d.ts +0 -7
- package/types/schema/queries/researchQueryRefinement.d.ts.map +0 -1
package/types/schema/index.d.ts
CHANGED
|
@@ -14,66 +14,126 @@ export type DictOf<T> = {
|
|
|
14
14
|
[key: string]: T;
|
|
15
15
|
};
|
|
16
16
|
export type NullableDictOf<T> = DictOf<Nullable<T>>;
|
|
17
|
-
export interface
|
|
18
|
-
type:
|
|
19
|
-
httpCode: number;
|
|
17
|
+
export interface BaseError<T extends string> {
|
|
18
|
+
type: T;
|
|
20
19
|
message: string;
|
|
21
|
-
details?: unknown;
|
|
22
20
|
}
|
|
23
|
-
export interface
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
export interface ApiError extends BaseError<"error"> {
|
|
22
|
+
}
|
|
23
|
+
export interface HttpError extends BaseError<"http"> {
|
|
24
|
+
httpCode: number;
|
|
25
|
+
details?: unknown;
|
|
26
26
|
}
|
|
27
|
-
export type ServerError =
|
|
27
|
+
export type ServerError = ApiError | HttpError;
|
|
28
28
|
export type ApiQueries = {
|
|
29
29
|
affiliateLink: DictOf<Queries.AffiliateLinkQuery>;
|
|
30
|
+
affiliateLinkV2: DictOf<Queries.AffiliateLinkV2Query>;
|
|
30
31
|
analyticsTrack: DictOf<Queries.AnalyticsTrackQuery>;
|
|
32
|
+
browseTheWeb: DictOf<Queries.BrowseTheWebQuery>;
|
|
31
33
|
chatFollowupSuggestions: DictOf<Queries.ChatFollowupSuggestionsQuery>;
|
|
32
|
-
|
|
34
|
+
couponsList: DictOf<Queries.CouponsListQuery>;
|
|
35
|
+
exampleQueries: DictOf<Queries.ExampleQueriesQuery>;
|
|
36
|
+
exampleQueriesV2: DictOf<Queries.ExampleQueriesV2Query>;
|
|
37
|
+
findProductsV2: DictOf<Queries.FindProductsV2Query>;
|
|
38
|
+
lookupProduct: DictOf<Queries.LookupProductQuery>;
|
|
33
39
|
priceHistoryLists: DictOf<Queries.PriceHistoryListsQuery>;
|
|
34
40
|
priceHistoryLookup: DictOf<Queries.PriceHistoryLookupQuery>;
|
|
35
41
|
productApiSupportedDomains: DictOf<Queries.ProductApiSupportedDomainsQuery>;
|
|
42
|
+
productBookmarkList: DictOf<Queries.ProductBookmarkListQuery>;
|
|
43
|
+
productBookmarksNames: DictOf<Queries.ProductBookmarksNamesQuery>;
|
|
44
|
+
productDeals: DictOf<Queries.ProductDealsQuery>;
|
|
36
45
|
productTradeoffs: DictOf<Queries.ProductTradeoffsQuery>;
|
|
46
|
+
productTradeoffsV2: DictOf<Queries.ProductTradeoffsV2Query>;
|
|
37
47
|
pushNotificationTokens: DictOf<Queries.PushNotificationTokensQuery>;
|
|
38
|
-
|
|
48
|
+
querySuggestions: DictOf<Queries.QuerySuggestionsQuery>;
|
|
49
|
+
refineUserRequest: DictOf<Queries.RefineUserRequestQuery>;
|
|
39
50
|
researchBestProductsV2: DictOf<Queries.ResearchBestProductsV2Query>;
|
|
51
|
+
researchDeals: DictOf<Queries.ResearchDealsQuery>;
|
|
40
52
|
researchProductComparison: DictOf<Queries.ResearchProductComparisonQuery>;
|
|
41
53
|
researchProductReview: DictOf<Queries.ResearchProductReviewQuery>;
|
|
42
|
-
researchQueryRefinement: DictOf<Queries.ResearchQueryRefinementQuery>;
|
|
43
54
|
storePageInfo: DictOf<Queries.StorePageInfoQuery>;
|
|
55
|
+
thread: DictOf<Queries.ThreadQuery>;
|
|
56
|
+
threadIdList: DictOf<Queries.ThreadIdListQuery>;
|
|
57
|
+
threadMessage: DictOf<Queries.ThreadMessageQuery>;
|
|
58
|
+
threadMessageList: DictOf<Queries.ThreadMessageListQuery>;
|
|
59
|
+
threadPendingMessageIdList: DictOf<Queries.ThreadPendingMessageIdListQuery>;
|
|
60
|
+
threadPendingMessage: DictOf<Queries.ThreadPendingMessageQuery>;
|
|
61
|
+
unreadThreadIdList: DictOf<Queries.UnreadThreadIdListQuery>;
|
|
44
62
|
userData: DictOf<Queries.UserDataQuery>;
|
|
63
|
+
userLocation: DictOf<Queries.UserLocationQuery>;
|
|
45
64
|
userPersonalization: DictOf<Queries.UserPersonalizationQuery>;
|
|
65
|
+
userProductDeals: DictOf<Queries.UserProductDealsQuery>;
|
|
46
66
|
};
|
|
47
67
|
export type ApiResponses = {
|
|
48
68
|
affiliateLink: NullableDictOf<Responses.AffiliateLinkResponse>;
|
|
69
|
+
affiliateLinkV2: NullableDictOf<Responses.AffiliateLinkV2Response>;
|
|
49
70
|
analyticsTrack: NullableDictOf<Responses.AnalyticsTrackResponse>;
|
|
71
|
+
browseTheWeb: NullableDictOf<Responses.BrowseTheWebResponse>;
|
|
50
72
|
chatFollowupSuggestions: NullableDictOf<Responses.ChatFollowupSuggestionsResponse>;
|
|
51
|
-
|
|
73
|
+
couponsList: NullableDictOf<Responses.CouponsListResponse>;
|
|
74
|
+
exampleQueries: NullableDictOf<Responses.ExampleQueriesResponse>;
|
|
75
|
+
exampleQueriesV2: NullableDictOf<Responses.ExampleQueriesV2Response>;
|
|
76
|
+
findProductsV2: NullableDictOf<Responses.FindProductsV2Response>;
|
|
77
|
+
lookupProduct: NullableDictOf<Responses.LookupProductResponse>;
|
|
52
78
|
priceHistoryLists: NullableDictOf<Responses.PriceHistoryListsResponse>;
|
|
53
79
|
priceHistoryLookup: NullableDictOf<Responses.PriceHistoryLookupResponse>;
|
|
54
80
|
productApiSupportedDomains: NullableDictOf<Responses.ProductApiSupportedDomainsResponse>;
|
|
81
|
+
productBookmarkList: NullableDictOf<Responses.ProductBookmarkListResponse>;
|
|
82
|
+
productBookmarksNames: NullableDictOf<Responses.ProductBookmarksNamesResponse>;
|
|
83
|
+
productDeals: NullableDictOf<Responses.ProductDealsResponse>;
|
|
55
84
|
productTradeoffs: NullableDictOf<Responses.ProductTradeoffsResponse>;
|
|
85
|
+
productTradeoffsV2: NullableDictOf<Responses.ProductTradeoffsV2Response>;
|
|
56
86
|
pushNotificationTokens: NullableDictOf<Responses.PushNotificationTokensResponse>;
|
|
57
|
-
|
|
58
|
-
|
|
87
|
+
querySuggestions: NullableDictOf<Responses.QuerySuggestionsResponse>;
|
|
88
|
+
refineUserRequest: NullableDictOf<Responses.RefineUserRequestResponse>;
|
|
89
|
+
researchBestProductsV2: NullableDictOf<Responses.ResearchBestProductsV2Response>;
|
|
90
|
+
researchDeals: NullableDictOf<Responses.ResearchDealsResponse>;
|
|
59
91
|
researchProductComparison: NullableDictOf<Responses.ResearchProductComparisonResponse>;
|
|
60
92
|
researchProductReview: NullableDictOf<Responses.ResearchProductReviewResponse>;
|
|
61
|
-
researchQueryRefinement: NullableDictOf<Responses.ResearchQueryRefinementResponse>;
|
|
62
93
|
storePageInfo: NullableDictOf<Responses.StorePageInfoResponse>;
|
|
94
|
+
thread: NullableDictOf<Responses.ThreadResponse>;
|
|
95
|
+
threadIdList: NullableDictOf<Responses.ThreadIdListResponse>;
|
|
96
|
+
threadMessage: NullableDictOf<Responses.ThreadMessageResponse>;
|
|
97
|
+
threadMessageList: NullableDictOf<Responses.ThreadMessageListResponse>;
|
|
98
|
+
threadPendingMessage: NullableDictOf<Responses.ThreadPendingMessageResponse>;
|
|
99
|
+
threadPendingMessageIdList: NullableDictOf<Responses.ThreadPendingMessageIdListResponse>;
|
|
100
|
+
unreadThreadIdList: NullableDictOf<Responses.UnreadThreadIdListResponse>;
|
|
63
101
|
userData: NullableDictOf<Responses.UserDataResponse>;
|
|
102
|
+
userLocation: NullableDictOf<Responses.UserLocationResponse>;
|
|
64
103
|
userPersonalization: NullableDictOf<Responses.UserPersonalizationResponse>;
|
|
104
|
+
userProductDeals: NullableDictOf<Responses.UserProductDealsResponse>;
|
|
65
105
|
};
|
|
66
106
|
export type ApiMutations = {
|
|
67
107
|
deleteUser: Mutations.DeleteUserMutation;
|
|
108
|
+
updateUserLocation: Mutations.UpdateUserLocationMutation;
|
|
68
109
|
updateUserPersonalization: Mutations.UpdateUserPersonalizationMutation;
|
|
69
110
|
createPushNotificationToken: Mutations.CreatePushNotificationTokenMutation;
|
|
70
111
|
deletePushNotificationToken: Mutations.DeletePushNotificationTokenMutation;
|
|
112
|
+
createThread: Mutations.CreateThreadMutation;
|
|
113
|
+
updateThread: Mutations.UpdateThreadMutation;
|
|
114
|
+
deleteThread: Mutations.DeleteThreadMutation;
|
|
115
|
+
acceptThreadPendingMessage: Mutations.AcceptThreadPendingMessageMutation;
|
|
116
|
+
deleteThreadPendingMessage: Mutations.DeleteThreadPendingMessageMutation;
|
|
117
|
+
researchDealsPendingMessage: Mutations.ResearchDealsPendingMessageMutation;
|
|
118
|
+
createMessages: Mutations.CreateMessagesMutation;
|
|
119
|
+
createProductBookmark: Mutations.CreateProductBookmarkMutation;
|
|
120
|
+
deleteProductBookmark: Mutations.DeleteProductBookmarkMutation;
|
|
71
121
|
};
|
|
72
122
|
export type ApiEffects = {
|
|
73
123
|
deleteUser: Effects.DeleteUserEffect;
|
|
124
|
+
updateUserLocation: Effects.UpdateUserLocationEffect;
|
|
74
125
|
updateUserPersonalization: Effects.UpdateUserPersonalizationEffect;
|
|
75
126
|
createPushNotificationToken: Effects.CreatePushNotificationTokenEffect;
|
|
76
127
|
deletePushNotificationToken: Effects.DeletePushNotificationTokenEffect;
|
|
128
|
+
createThread: Effects.CreateThreadEffect;
|
|
129
|
+
updateThread: Effects.UpdateThreadEffect;
|
|
130
|
+
deleteThread: Effects.DeleteThreadEffect;
|
|
131
|
+
acceptThreadPendingMessage: Effects.AcceptThreadPendingMessageEffect;
|
|
132
|
+
deleteThreadPendingMessage: Effects.DeleteThreadPendingMessageEffect;
|
|
133
|
+
researchDealsPendingMessage: Effects.ResearchDealsPendingMessageEffect;
|
|
134
|
+
createMessages: Effects.CreateMessagesEffect;
|
|
135
|
+
createProductBookmark: Effects.CreateProductBookmarkEffect;
|
|
136
|
+
deleteProductBookmark: Effects.DeleteProductBookmarkEffect;
|
|
77
137
|
};
|
|
78
138
|
export interface ApiMutationResponse {
|
|
79
139
|
effect: ApiEffects[keyof ApiEffects] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AAGxC,cAAc,YAAY,CAAA;AAE1B,YAAY,EAAE,QAAQ,EAAE,CAAA;AACxB,YAAY,EAAE,OAAO,EAAE,CAAA;AACvB,YAAY,EAAE,SAAS,EAAE,CAAA;AACzB,YAAY,EAAE,SAAS,EAAE,CAAA;AACzB,YAAY,EAAE,OAAO,EAAE,CAAA;AAEvB,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAA;CAAE,CAAA;AAC5C,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAA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G,MAAM,CAAC,WAAW,EAAE,CAAC;CACjD,CAAA;AAED,MAAM,WAAW,GAAG;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;CAC5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Effect, Mutation } from "../builtins";
|
|
2
|
+
export interface AcceptThreadPendingMessageMutation extends Mutation {
|
|
3
|
+
threadId: string;
|
|
4
|
+
pendingMessageId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface AcceptThreadPendingMessageEffect extends Effect {
|
|
7
|
+
userMessageId: string;
|
|
8
|
+
assistantMessageId: string;
|
|
9
|
+
toolMessageId: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=acceptThreadPendingMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptThreadPendingMessage.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/acceptThreadPendingMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAyB;AAEpD,MAAM,WAAW,kCAAmC,SAAQ,QAAQ;IAClE,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,gCAAiC,SAAQ,MAAM;IAC9D,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,aAAa,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Effect, Mutation, MessageRow } from "../builtins";
|
|
2
|
+
type MessageRowWithOptionalOrigin = Omit<MessageRow, "origin"> & Partial<Pick<MessageRow, "origin">>;
|
|
3
|
+
export interface CreateMessagesMutation extends Mutation {
|
|
4
|
+
threadId: string;
|
|
5
|
+
messages: MessageRowWithOptionalOrigin[];
|
|
6
|
+
}
|
|
7
|
+
export interface CreateMessagesEffect extends Effect {
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=createMessages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createMessages.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/createMessages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,oBAAyB;AAGhE,KAAK,4BAA4B,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAA;AAEpG,MAAM,WAAW,sBAAuB,SAAQ,QAAQ;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,4BAA4B,EAAE,CAAA;CACzC;AAED,MAAM,WAAW,oBAAqB,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Effect, Mutation, ResearchedProduct, ResearchedProductV2 } from "../builtins";
|
|
2
|
+
export interface CreateProductBookmarkMutation extends Mutation {
|
|
3
|
+
userId: string;
|
|
4
|
+
product: ResearchedProduct | ResearchedProductV2;
|
|
5
|
+
threadId?: string | null;
|
|
6
|
+
}
|
|
7
|
+
export interface CreateProductBookmarkEffect extends Effect {
|
|
8
|
+
productBookmarkId: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=createProductBookmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createProductBookmark.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/createProductBookmark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAyB;AAE5F,MAAM,WAAW,6BAA8B,SAAQ,QAAQ;IAC7D,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,iBAAiB,GAAG,mBAAmB,CAAA;IAEhD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;AAED,MAAM,WAAW,2BAA4B,SAAQ,MAAM;IACzD,iBAAiB,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Effect, Mutation, Url } from "../builtins";
|
|
2
|
+
interface BaseCreateThread {
|
|
3
|
+
threadId: string;
|
|
4
|
+
query: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
imageUrl?: Url;
|
|
7
|
+
}
|
|
8
|
+
interface SharedCreateThread extends BaseCreateThread {
|
|
9
|
+
sourceThreadId: string;
|
|
10
|
+
}
|
|
11
|
+
interface UserCreateThread extends BaseCreateThread {
|
|
12
|
+
userId: string;
|
|
13
|
+
sourceThreadId?: string;
|
|
14
|
+
}
|
|
15
|
+
export type CreateThreadMutation = Mutation & (SharedCreateThread | UserCreateThread);
|
|
16
|
+
export interface CreateThreadEffect extends Effect {
|
|
17
|
+
id: string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=createThread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createThread.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/createThread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,oBAAyB;AAEzD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,GAAG,CAAA;CACf;AAED,UAAU,kBAAmB,SAAQ,gBAAgB;IACnD,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,UAAU,gBAAiB,SAAQ,gBAAgB;IACjD,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,CAAC,kBAAkB,GAAG,gBAAgB,CAAC,CAAA;AAErF,MAAM,WAAW,kBAAmB,SAAQ,MAAM;IAChD,EAAE,EAAE,MAAM,CAAA;CACX"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Effect, Mutation } from "../builtins";
|
|
2
|
+
export interface DeleteProductBookmarkMutation extends Mutation {
|
|
3
|
+
productBookmarkId: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DeleteProductBookmarkEffect extends Effect {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=deleteProductBookmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteProductBookmark.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/deleteProductBookmark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAyB;AAEpD,MAAM,WAAW,6BAA8B,SAAQ,QAAQ;IAC7D,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,2BAA4B,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteThread.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/deleteThread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAyB;AAEpD,MAAM,WAAW,oBAAqB,SAAQ,QAAQ;IACpD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,kBAAmB,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Effect, Mutation } from "../builtins";
|
|
2
|
+
export interface DeleteThreadPendingMessageMutation extends Mutation {
|
|
3
|
+
threadId: string;
|
|
4
|
+
pendingMessageId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DeleteThreadPendingMessageEffect extends Effect {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=deleteThreadPendingMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteThreadPendingMessage.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/deleteThreadPendingMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAyB;AAEpD,MAAM,WAAW,kCAAmC,SAAQ,QAAQ;IAClE,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,gCAAiC,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Effect, IsoCountry, Mutation } from "../builtins";
|
|
2
|
+
export interface ResearchDealsPendingMessageMutation extends Mutation {
|
|
3
|
+
threadId: string;
|
|
4
|
+
categoryQueries: string[];
|
|
5
|
+
productQueries: string[];
|
|
6
|
+
context: string;
|
|
7
|
+
localization?: IsoCountry;
|
|
8
|
+
}
|
|
9
|
+
export interface ResearchDealsPendingMessageEffect extends Effect {
|
|
10
|
+
pendingMessageId: string | null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=researchDealsPendingMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"researchDealsPendingMessage.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/researchDealsPendingMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,oBAAyB;AAEhE,MAAM,WAAW,mCAAoC,SAAQ,QAAQ;IACnE,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,MAAM,WAAW,iCAAkC,SAAQ,MAAM;IAC/D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Effect, Mutation, Timestamp, Url } from "../builtins";
|
|
2
|
+
export interface UpdateThreadMutation extends Mutation {
|
|
3
|
+
id: string;
|
|
4
|
+
query?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
imageUrl?: Url;
|
|
7
|
+
lastOpened?: Timestamp;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateThreadEffect extends Effect {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=updateThread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateThread.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/updateThread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAyB;AAEpE,MAAM,WAAW,oBAAqB,SAAQ,QAAQ;IACpD,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB;AAED,MAAM,WAAW,kBAAmB,SAAQ,MAAM;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Mutation, Effect, PhysicalLocation } from "../builtins";
|
|
2
|
+
export type UpdateUserLocationMutation = Mutation & {
|
|
3
|
+
userId: string;
|
|
4
|
+
location: Omit<PhysicalLocation, "uule">;
|
|
5
|
+
};
|
|
6
|
+
export interface UpdateUserLocationEffect extends Effect {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=updateUserLocation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateUserLocation.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/updateUserLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEhE,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG;IAClD,MAAM,EAAE,MAAM,CAAA;IAEd,QAAQ,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;CACzC,CAAA;AAED,MAAM,WAAW,wBAAyB,SAAQ,MAAM;CAAG"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { Mutation, Effect,
|
|
2
|
-
export type UpdateUserPersonalizationMutation = Mutation &
|
|
1
|
+
import { Mutation, Effect, PersonalizationNamespace, PersonalizationBase, PersonalizationSettingsData } from "../builtins";
|
|
2
|
+
export type UpdateUserPersonalizationMutation = Mutation & PersonalizationBase<PersonalizationNamespace, Omit<PersonalizationSettingsData, "notifications"> & {
|
|
3
|
+
notifications?: boolean | PersonalizationSettingsData["notifications"];
|
|
4
|
+
}> & {
|
|
3
5
|
userId: string;
|
|
4
6
|
};
|
|
5
7
|
export interface UpdateUserPersonalizationEffect extends Effect {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserPersonalization.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/updateUserPersonalization.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"updateUserPersonalization.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/updateUserPersonalization.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,MAAM,EACN,wBAAwB,EACxB,mBAAmB,EACnB,2BAA2B,EAC5B,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,iCAAiC,GAAG,QAAQ,GACtD,mBAAmB,CACjB,wBAAwB,EACxB,IAAI,CAAC,2BAA2B,EAAE,eAAe,CAAC,GAAG;IAEnD,aAAa,CAAC,EAAE,OAAO,GAAG,2BAA2B,CAAC,eAAe,CAAC,CAAA;CACvE,CACF,GAAG;IACF,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAEH,MAAM,WAAW,+BAAgC,SAAQ,MAAM;CAAG"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export type { CreatePushNotificationTokenMutation } from "./mutations/createPushNotificationToken";
|
|
2
2
|
export type { DeletePushNotificationTokenMutation } from "./mutations/deletePushNotificationToken";
|
|
3
3
|
export type { DeleteUserMutation } from "./mutations/deleteUser";
|
|
4
|
+
export type { UpdateUserLocationMutation } from "./mutations/updateUserLocation";
|
|
4
5
|
export type { UpdateUserPersonalizationMutation } from "./mutations/updateUserPersonalization";
|
|
6
|
+
export type { CreateThreadMutation } from "./mutations/createThread";
|
|
7
|
+
export type { UpdateThreadMutation } from "./mutations/updateThread";
|
|
8
|
+
export type { DeleteThreadMutation } from "./mutations/deleteThread";
|
|
9
|
+
export type { AcceptThreadPendingMessageMutation } from "./mutations/acceptThreadPendingMessage";
|
|
10
|
+
export type { DeleteThreadPendingMessageMutation } from "./mutations/deleteThreadPendingMessage";
|
|
11
|
+
export type { ResearchDealsPendingMessageMutation } from "./mutations/researchDealsPendingMessage";
|
|
12
|
+
export type { CreateMessagesMutation } from "./mutations/createMessages";
|
|
13
|
+
export type { CreateProductBookmarkMutation } from "./mutations/createProductBookmark";
|
|
14
|
+
export type { DeleteProductBookmarkMutation } from "./mutations/deleteProductBookmark";
|
|
5
15
|
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/schema/mutations.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAA;AAClG,YAAY,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAA;AAClG,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAChE,YAAY,EAAE,iCAAiC,EAAE,MAAM,uCAAuC,CAAA"}
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/schema/mutations.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAA;AAClG,YAAY,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAA;AAClG,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAChE,YAAY,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAChF,YAAY,EAAE,iCAAiC,EAAE,MAAM,uCAAuC,CAAA;AAC9F,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AACpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AACpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AACpE,YAAY,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAA;AAChG,YAAY,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAA;AAChG,YAAY,EAAE,mCAAmC,EAAE,MAAM,yCAAyC,CAAA;AAClG,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACxE,YAAY,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAA;AACtF,YAAY,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Url } from "../builtins";
|
|
2
|
+
export interface AffiliateLinkV2Query {
|
|
3
|
+
url: Url;
|
|
4
|
+
contextUrl: Url;
|
|
5
|
+
source?: "web" | "extension" | "app";
|
|
6
|
+
partnerAmazonTag?: string;
|
|
7
|
+
partnerGeniuslinkId?: string;
|
|
8
|
+
partnerSkimlinksId?: string;
|
|
9
|
+
partnerNarrativId?: string;
|
|
10
|
+
partnerSovrnApiKey?: string;
|
|
11
|
+
userAgent?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface AffiliateLinkV2Response {
|
|
14
|
+
url: Url;
|
|
15
|
+
impressionProvider: "admarketplace" | null;
|
|
16
|
+
impressionPixelUrl: Url | null;
|
|
17
|
+
cpc: number | null;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=affiliateLinkV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"affiliateLinkV2.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/affiliateLinkV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAmBjC,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,GAAG,CAAA;IACR,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,GAAG,KAAK,CAAA;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,GAAG,CAAA;IACR,kBAAkB,EAAE,eAAe,GAAG,IAAI,CAAA;IAC1C,kBAAkB,EAAE,GAAG,GAAG,IAAI,CAAA;IAE9B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CACnB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IsoCountry, ResearchedProduct, UpdatableResponse } from "../builtins";
|
|
2
|
+
export interface BrowseTheWebQuery {
|
|
3
|
+
context: string;
|
|
4
|
+
localization?: IsoCountry;
|
|
5
|
+
}
|
|
6
|
+
interface Data {
|
|
7
|
+
summary: string;
|
|
8
|
+
products: ResearchedProduct[];
|
|
9
|
+
}
|
|
10
|
+
export type BrowseTheWebResponse = UpdatableResponse<Data>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=browseTheWeb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browseTheWeb.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/browseTheWeb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
export interface ChatFollowupSuggestionsQuery {
|
|
2
|
-
|
|
3
|
-
agentMessage: string;
|
|
2
|
+
context: string;
|
|
4
3
|
}
|
|
5
4
|
export interface ChatFollowupSuggestionsResponse {
|
|
6
|
-
suggestions:
|
|
5
|
+
suggestions: string[];
|
|
7
6
|
}
|
|
8
|
-
interface Suggestion {
|
|
9
|
-
suggestion: string;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
12
7
|
//# sourceMappingURL=chatFollowupSuggestions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatFollowupSuggestions.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/chatFollowupSuggestions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,
|
|
1
|
+
{"version":3,"file":"chatFollowupSuggestions.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/chatFollowupSuggestions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,MAAM,EAAE,CAAA;CACtB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BuiltIns, ListQuery, ListResponse } from "..";
|
|
2
|
+
export interface CouponsListQuery extends ListQuery {
|
|
3
|
+
url: BuiltIns.Url;
|
|
4
|
+
}
|
|
5
|
+
interface Coupon {
|
|
6
|
+
code: string;
|
|
7
|
+
title: string;
|
|
8
|
+
shortTitle: string;
|
|
9
|
+
}
|
|
10
|
+
export interface CouponsListResponse extends ListResponse<Coupon> {
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=couponsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"couponsList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/couponsList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,WAAgB;AAE5D,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAA;CAClB;AAED,UAAU,MAAM;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;CAWnB;AAED,MAAM,WAAW,mBAAoB,SAAQ,YAAY,CAAC,MAAM,CAAC;CAAG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type ExampleQueriesQuery = Record<string, never>;
|
|
2
|
+
export interface ExampleQueriesResponse {
|
|
3
|
+
defaultQueries: ExampleQuery[];
|
|
4
|
+
moduleQueries: {
|
|
5
|
+
stable: ExampleQuery[];
|
|
6
|
+
random: ExampleQuery[];
|
|
7
|
+
};
|
|
8
|
+
moduleLimit: number | null;
|
|
9
|
+
moduleQueryLimit: number | null;
|
|
10
|
+
}
|
|
11
|
+
interface ExampleQuery {
|
|
12
|
+
title: string;
|
|
13
|
+
body: string[];
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=exampleQueries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exampleQueries.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/exampleQueries.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AAEvD,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,YAAY,EAAE,CAAA;IAC9B,aAAa,EAAE;QACb,MAAM,EAAE,YAAY,EAAE,CAAA;QACtB,MAAM,EAAE,YAAY,EAAE,CAAA;KACvB,CAAA;IAED,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC;AAED,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,EAAE,CAAA;CACf"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Timestamp } from "../builtins";
|
|
2
|
+
export interface ExampleQueriesV2Query {
|
|
3
|
+
}
|
|
4
|
+
export interface ExampleQueriesV2Response {
|
|
5
|
+
recentQueries: ExampleQueryV2[];
|
|
6
|
+
}
|
|
7
|
+
interface ExampleQueryV2 {
|
|
8
|
+
text: string;
|
|
9
|
+
receivedAt: Timestamp;
|
|
10
|
+
country: string;
|
|
11
|
+
region: string | null;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=exampleQueriesV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exampleQueriesV2.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/exampleQueriesV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,MAAM,WAAW,qBAAqB;CAAG;AAEzC,MAAM,WAAW,wBAAwB;IACvC,aAAa,EAAE,cAAc,EAAE,CAAA;CAChC;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,SAAS,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findProductsV2.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/findProductsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,oBAAyB;AAEhE,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IsoCountry, ResearchedProductV2 } from "../builtins";
|
|
2
|
+
export interface LookupProductQuery {
|
|
3
|
+
googleProductId: string;
|
|
4
|
+
localization?: IsoCountry;
|
|
5
|
+
}
|
|
6
|
+
export interface LookupProductResponse {
|
|
7
|
+
product: ResearchedProductV2 | null;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=lookupProduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lookupProduct.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/lookupProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,oBAAyB;AAEnE,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAA;CACpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceHistoryLists.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/priceHistoryLists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,E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,EAAE,gBAAgB,EAAE,CAAA;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productApiSupportedDomains.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productApiSupportedDomains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,oBAAyB;AAEvC,MAAM,
|
|
1
|
+
{"version":3,"file":"productApiSupportedDomains.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productApiSupportedDomains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,oBAAyB;AAEvC,MAAM,WAAW,+BAA+B;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,kCAAkC;IACjD,OAAO,EAAE,GAAG,EAAE,CAAA;CACf"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, ResearchedProduct, ResearchedProductV2 } from "../builtins";
|
|
2
|
+
export interface ProductBookmarkListQuery extends ListQuery<Filters> {
|
|
3
|
+
userId: string;
|
|
4
|
+
}
|
|
5
|
+
interface Filters {
|
|
6
|
+
page: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ProductBookmarkListResponse extends ListResponse<ProductBookmark> {
|
|
10
|
+
count: number;
|
|
11
|
+
}
|
|
12
|
+
interface ProductBookmark {
|
|
13
|
+
id: string;
|
|
14
|
+
version: number;
|
|
15
|
+
product: ResearchedProduct | ResearchedProductV2;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=productBookmarkList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productBookmarkList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productBookmarkList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAyB;AAEnG,MAAM,WAAW,wBAAyB,SAAQ,SAAS,CAAC,OAAO,CAAC;IAClE,MAAM,EAAE,MAAM,CAAA;CACf;AAED,UAAU,OAAO;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,2BAA4B,SAAQ,YAAY,CAAC,eAAe,CAAC;IAChF,KAAK,EAAE,MAAM,CAAA;CACd;AAED,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,iBAAiB,GAAG,mBAAmB,CAAA;CACjD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ProductBookmarksNamesQuery {
|
|
2
|
+
userId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface ProductBookmarksNamesResponse {
|
|
5
|
+
productBookmarkNames: ProductBookmarkName[];
|
|
6
|
+
}
|
|
7
|
+
interface ProductBookmarkName {
|
|
8
|
+
name: string;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=productBookmarksNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productBookmarksNames.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productBookmarksNames.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,oBAAoB,EAAE,mBAAmB,EAAE,CAAA;CAC5C;AAED,UAAU,mBAAmB;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;CACX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productDeals.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productDeals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAyB;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;AAErD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,WAAW,EAAE,CAAA;CACrB"}
|