@51eat/sdk 0.0.58 → 0.0.60
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/errors/ConflictError.d.ts +1 -2
- package/dist/cjs/api/errors/InternalServerError.d.ts +1 -2
- package/dist/cjs/api/resources/business/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/business/client/Client.js +31 -26
- package/dist/cjs/api/resources/business/resources/claims/client/Client.d.ts +63 -0
- package/dist/cjs/api/resources/business/resources/claims/client/Client.js +281 -0
- package/dist/cjs/api/resources/business/resources/claims/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/claims/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.d.ts +11 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/claims/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/claims/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/claims/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/claims/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/types/index.js +20 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/index.js +4 -1
- package/dist/cjs/api/resources/customer/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/customer/client/Client.js +27 -22
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.js +234 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +37 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/exports.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/exports.js +22 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/index.js +19 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/index.js +42 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.js +189 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.ts +39 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/index.js +19 -0
- package/dist/cjs/api/resources/customer/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/index.js +4 -1
- package/dist/cjs/api/types/BardIngredientSetValues.d.ts +15 -0
- package/dist/cjs/api/types/BardIngredientSetValues.js +3 -0
- package/dist/cjs/api/types/BardMenuItemSetValues.d.ts +2 -0
- package/dist/cjs/api/types/BardPhotoSpreadSetValues.d.ts +18 -0
- package/dist/cjs/api/types/BardPhotoSpreadSetValues.js +11 -0
- package/dist/cjs/api/types/BardPullQuoteSetValues.d.ts +4 -0
- package/dist/cjs/api/types/BardPullQuoteSetValues.js +3 -0
- package/dist/cjs/api/types/BardSetValues.d.ts +13 -1
- package/dist/cjs/api/types/BardTastingNotesSetValues.d.ts +15 -0
- package/dist/cjs/api/types/BardTastingNotesSetValues.js +3 -0
- package/dist/cjs/api/types/BusinessClaimRequest.d.ts +9 -0
- package/dist/cjs/api/types/BusinessClaimRequest.js +3 -0
- package/dist/cjs/api/types/ClaimableBusiness.d.ts +11 -0
- package/dist/cjs/api/types/ClaimableBusiness.js +3 -0
- package/dist/cjs/api/types/CustomerBusinessSubmission.d.ts +19 -0
- package/dist/cjs/api/types/CustomerBusinessSubmission.js +3 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/errors/ConflictError.d.mts +1 -2
- package/dist/esm/api/errors/InternalServerError.d.mts +1 -2
- package/dist/esm/api/resources/business/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/business/client/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.d.mts +63 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.mjs +244 -0
- package/dist/esm/api/resources/business/resources/claims/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/claims/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.d.mts +14 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.d.mts +11 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/claims/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/claims/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/claims/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/claims/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/types/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/customer/client/Client.mjs +9 -4
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.mjs +197 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +37 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/exports.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/exports.mjs +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.mjs +152 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.d.mts +13 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.mts +39 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/index.mjs +3 -0
- package/dist/esm/api/types/BardIngredientSetValues.d.mts +15 -0
- package/dist/esm/api/types/BardIngredientSetValues.mjs +2 -0
- package/dist/esm/api/types/BardMenuItemSetValues.d.mts +2 -0
- package/dist/esm/api/types/BardPhotoSpreadSetValues.d.mts +18 -0
- package/dist/esm/api/types/BardPhotoSpreadSetValues.mjs +8 -0
- package/dist/esm/api/types/BardPullQuoteSetValues.d.mts +4 -0
- package/dist/esm/api/types/BardPullQuoteSetValues.mjs +2 -0
- package/dist/esm/api/types/BardSetValues.d.mts +13 -1
- package/dist/esm/api/types/BardTastingNotesSetValues.d.mts +15 -0
- package/dist/esm/api/types/BardTastingNotesSetValues.mjs +2 -0
- package/dist/esm/api/types/BusinessClaimRequest.d.mts +9 -0
- package/dist/esm/api/types/BusinessClaimRequest.mjs +2 -0
- package/dist/esm/api/types/ClaimableBusiness.d.mts +11 -0
- package/dist/esm/api/types/ClaimableBusiness.mjs +2 -0
- package/dist/esm/api/types/CustomerBusinessSubmission.d.mts +19 -0
- package/dist/esm/api/types/CustomerBusinessSubmission.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +45 -12
- package/reference.md +550 -100
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type * as FiveOneEat from "../../../../../index.mjs";
|
|
2
|
+
export interface ListBusinessSubmissionsResponse {
|
|
3
|
+
data: FiveOneEat.CustomerBusinessSubmission[];
|
|
4
|
+
links: ListBusinessSubmissionsResponse.Links;
|
|
5
|
+
meta: ListBusinessSubmissionsResponse.Meta;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace ListBusinessSubmissionsResponse {
|
|
8
|
+
interface Links {
|
|
9
|
+
first: string | null;
|
|
10
|
+
last: string | null;
|
|
11
|
+
prev: string | null;
|
|
12
|
+
next: string | null;
|
|
13
|
+
}
|
|
14
|
+
interface Meta {
|
|
15
|
+
current_page: number;
|
|
16
|
+
from: number | null;
|
|
17
|
+
last_page: number;
|
|
18
|
+
/** Generated paginator links. */
|
|
19
|
+
links: Meta.Links.Item[];
|
|
20
|
+
/** Base path for paginator generated URLs. */
|
|
21
|
+
path: string | null;
|
|
22
|
+
/** Number of items shown per page. */
|
|
23
|
+
per_page: number;
|
|
24
|
+
/** Number of the last item in the slice. */
|
|
25
|
+
to: number | null;
|
|
26
|
+
/** Total number of items being paginated. */
|
|
27
|
+
total: number;
|
|
28
|
+
}
|
|
29
|
+
namespace Meta {
|
|
30
|
+
type Links = Links.Item[];
|
|
31
|
+
namespace Links {
|
|
32
|
+
interface Item {
|
|
33
|
+
url: string | null;
|
|
34
|
+
label: string;
|
|
35
|
+
active: boolean;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -4,6 +4,9 @@ export * from "./auth/types/index.mjs";
|
|
|
4
4
|
export * from "./businesses/client/requests/index.mjs";
|
|
5
5
|
export * as businesses from "./businesses/index.mjs";
|
|
6
6
|
export * from "./businesses/types/index.mjs";
|
|
7
|
+
export * from "./businessSubmissions/client/requests/index.mjs";
|
|
8
|
+
export * as businessSubmissions from "./businessSubmissions/index.mjs";
|
|
9
|
+
export * from "./businessSubmissions/types/index.mjs";
|
|
7
10
|
export * from "./cart/client/requests/index.mjs";
|
|
8
11
|
export * as cart from "./cart/index.mjs";
|
|
9
12
|
export * from "./cart/types/index.mjs";
|
|
@@ -4,6 +4,9 @@ export * from "./auth/types/index.mjs";
|
|
|
4
4
|
export * from "./businesses/client/requests/index.mjs";
|
|
5
5
|
export * as businesses from "./businesses/index.mjs";
|
|
6
6
|
export * from "./businesses/types/index.mjs";
|
|
7
|
+
export * from "./businessSubmissions/client/requests/index.mjs";
|
|
8
|
+
export * as businessSubmissions from "./businessSubmissions/index.mjs";
|
|
9
|
+
export * from "./businessSubmissions/types/index.mjs";
|
|
7
10
|
export * from "./cart/client/requests/index.mjs";
|
|
8
11
|
export * as cart from "./cart/index.mjs";
|
|
9
12
|
export * from "./cart/types/index.mjs";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BardIngredientSetValues {
|
|
2
|
+
icon?: (string | null) | undefined;
|
|
3
|
+
name: string;
|
|
4
|
+
subtitle?: (string | null) | undefined;
|
|
5
|
+
facts: BardIngredientSetValues.Facts.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace BardIngredientSetValues {
|
|
8
|
+
type Facts = Facts.Item[];
|
|
9
|
+
namespace Facts {
|
|
10
|
+
interface Item {
|
|
11
|
+
key?: string | undefined;
|
|
12
|
+
value?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BardPhotoSpreadSetValues {
|
|
2
|
+
layout: BardPhotoSpreadSetValues.Layout;
|
|
3
|
+
photos: BardPhotoSpreadSetValues.Photos.Item[];
|
|
4
|
+
}
|
|
5
|
+
export declare namespace BardPhotoSpreadSetValues {
|
|
6
|
+
const Layout: {
|
|
7
|
+
readonly Two: "two";
|
|
8
|
+
readonly Three: "three";
|
|
9
|
+
};
|
|
10
|
+
type Layout = (typeof Layout)[keyof typeof Layout];
|
|
11
|
+
type Photos = Photos.Item[];
|
|
12
|
+
namespace Photos {
|
|
13
|
+
interface Item {
|
|
14
|
+
image?: (string | null) | undefined;
|
|
15
|
+
caption?: (string | null) | undefined;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var BardPhotoSpreadSetValues;
|
|
3
|
+
(function (BardPhotoSpreadSetValues) {
|
|
4
|
+
BardPhotoSpreadSetValues.Layout = {
|
|
5
|
+
Two: "two",
|
|
6
|
+
Three: "three",
|
|
7
|
+
};
|
|
8
|
+
})(BardPhotoSpreadSetValues || (BardPhotoSpreadSetValues = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../index.mjs";
|
|
2
|
-
export type BardSetValues = FiveOneEat.BardSetValues.MenuItem | FiveOneEat.BardSetValues.Product | FiveOneEat.BardSetValues.Event;
|
|
2
|
+
export type BardSetValues = FiveOneEat.BardSetValues.MenuItem | FiveOneEat.BardSetValues.Product | FiveOneEat.BardSetValues.Event | FiveOneEat.BardSetValues.PullQuote | FiveOneEat.BardSetValues.PhotoSpread | FiveOneEat.BardSetValues.Ingredient | FiveOneEat.BardSetValues.TastingNotes;
|
|
3
3
|
export declare namespace BardSetValues {
|
|
4
4
|
interface MenuItem extends FiveOneEat.BardMenuItemSetValues {
|
|
5
5
|
type: "menu_item";
|
|
@@ -10,4 +10,16 @@ export declare namespace BardSetValues {
|
|
|
10
10
|
interface Event extends FiveOneEat.BardEventSetValues {
|
|
11
11
|
type: "event";
|
|
12
12
|
}
|
|
13
|
+
interface PullQuote extends FiveOneEat.BardPullQuoteSetValues {
|
|
14
|
+
type: "pull_quote";
|
|
15
|
+
}
|
|
16
|
+
interface PhotoSpread extends FiveOneEat.BardPhotoSpreadSetValues {
|
|
17
|
+
type: "photo_spread";
|
|
18
|
+
}
|
|
19
|
+
interface Ingredient extends FiveOneEat.BardIngredientSetValues {
|
|
20
|
+
type: "ingredient";
|
|
21
|
+
}
|
|
22
|
+
interface TastingNotes extends FiveOneEat.BardTastingNotesSetValues {
|
|
23
|
+
type: "tasting_notes";
|
|
24
|
+
}
|
|
13
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BardTastingNotesSetValues {
|
|
2
|
+
subject: string;
|
|
3
|
+
by?: (string | null) | undefined;
|
|
4
|
+
date?: (string | null) | undefined;
|
|
5
|
+
notes: BardTastingNotesSetValues.Notes.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace BardTastingNotesSetValues {
|
|
8
|
+
type Notes = Notes.Item[];
|
|
9
|
+
namespace Notes {
|
|
10
|
+
interface Item {
|
|
11
|
+
label?: string | undefined;
|
|
12
|
+
score?: number | undefined;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface CustomerBusinessSubmission {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
address: string;
|
|
5
|
+
city: string;
|
|
6
|
+
state: string;
|
|
7
|
+
zipcode: string;
|
|
8
|
+
country: string;
|
|
9
|
+
latitude: string;
|
|
10
|
+
longitude: string;
|
|
11
|
+
phone: string;
|
|
12
|
+
website: string;
|
|
13
|
+
description: string;
|
|
14
|
+
status: string;
|
|
15
|
+
source: string;
|
|
16
|
+
rejected_reason: string;
|
|
17
|
+
submitted_at: string;
|
|
18
|
+
photos?: string | undefined;
|
|
19
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./BardHeadingNode.mjs";
|
|
|
11
11
|
export * from "./BardHeadingNodeContentItem.mjs";
|
|
12
12
|
export * from "./BardHorizontalRuleNode.mjs";
|
|
13
13
|
export * from "./BardImageNode.mjs";
|
|
14
|
+
export * from "./BardIngredientSetValues.mjs";
|
|
14
15
|
export * from "./BardListItemNode.mjs";
|
|
15
16
|
export * from "./BardMark.mjs";
|
|
16
17
|
export * from "./BardMenuItemSetValues.mjs";
|
|
@@ -18,9 +19,12 @@ export * from "./BardNode.mjs";
|
|
|
18
19
|
export * from "./BardOrderedListNode.mjs";
|
|
19
20
|
export * from "./BardParagraphNode.mjs";
|
|
20
21
|
export * from "./BardParagraphNodeContentItem.mjs";
|
|
22
|
+
export * from "./BardPhotoSpreadSetValues.mjs";
|
|
21
23
|
export * from "./BardProductSetValues.mjs";
|
|
24
|
+
export * from "./BardPullQuoteSetValues.mjs";
|
|
22
25
|
export * from "./BardSetNode.mjs";
|
|
23
26
|
export * from "./BardSetValues.mjs";
|
|
27
|
+
export * from "./BardTastingNotesSetValues.mjs";
|
|
24
28
|
export * from "./BardTextNode.mjs";
|
|
25
29
|
export * from "./BusinessAllergen.mjs";
|
|
26
30
|
export * from "./BusinessBulletin.mjs";
|
|
@@ -29,6 +33,7 @@ export * from "./BusinessBulletinCommentReply.mjs";
|
|
|
29
33
|
export * from "./BusinessBulletinCommentResponse.mjs";
|
|
30
34
|
export * from "./BusinessCategory.mjs";
|
|
31
35
|
export * from "./BusinessCertification.mjs";
|
|
36
|
+
export * from "./BusinessClaimRequest.mjs";
|
|
32
37
|
export * from "./BusinessConversation.mjs";
|
|
33
38
|
export * from "./BusinessCuisine.mjs";
|
|
34
39
|
export * from "./BusinessDiscount.mjs";
|
|
@@ -64,6 +69,7 @@ export * from "./BusinessStripeConnection.mjs";
|
|
|
64
69
|
export * from "./BusinessSummary.mjs";
|
|
65
70
|
export * from "./BusinessTemporaryLocation.mjs";
|
|
66
71
|
export * from "./BusinessToken.mjs";
|
|
72
|
+
export * from "./ClaimableBusiness.mjs";
|
|
67
73
|
export * from "./ConflictErrorBody.mjs";
|
|
68
74
|
export * from "./Conversation.mjs";
|
|
69
75
|
export * from "./Cuisine.mjs";
|
|
@@ -71,6 +77,7 @@ export * from "./CustomerBulletin.mjs";
|
|
|
71
77
|
export * from "./CustomerBulletinCommentReply.mjs";
|
|
72
78
|
export * from "./CustomerBulletinResponse.mjs";
|
|
73
79
|
export * from "./CustomerBusinessProfile.mjs";
|
|
80
|
+
export * from "./CustomerBusinessSubmission.mjs";
|
|
74
81
|
export * from "./CustomerCart.mjs";
|
|
75
82
|
export * from "./CustomerCartItem.mjs";
|
|
76
83
|
export * from "./CustomerComment.mjs";
|
|
@@ -11,6 +11,7 @@ export * from "./BardHeadingNode.mjs";
|
|
|
11
11
|
export * from "./BardHeadingNodeContentItem.mjs";
|
|
12
12
|
export * from "./BardHorizontalRuleNode.mjs";
|
|
13
13
|
export * from "./BardImageNode.mjs";
|
|
14
|
+
export * from "./BardIngredientSetValues.mjs";
|
|
14
15
|
export * from "./BardListItemNode.mjs";
|
|
15
16
|
export * from "./BardMark.mjs";
|
|
16
17
|
export * from "./BardMenuItemSetValues.mjs";
|
|
@@ -18,9 +19,12 @@ export * from "./BardNode.mjs";
|
|
|
18
19
|
export * from "./BardOrderedListNode.mjs";
|
|
19
20
|
export * from "./BardParagraphNode.mjs";
|
|
20
21
|
export * from "./BardParagraphNodeContentItem.mjs";
|
|
22
|
+
export * from "./BardPhotoSpreadSetValues.mjs";
|
|
21
23
|
export * from "./BardProductSetValues.mjs";
|
|
24
|
+
export * from "./BardPullQuoteSetValues.mjs";
|
|
22
25
|
export * from "./BardSetNode.mjs";
|
|
23
26
|
export * from "./BardSetValues.mjs";
|
|
27
|
+
export * from "./BardTastingNotesSetValues.mjs";
|
|
24
28
|
export * from "./BardTextNode.mjs";
|
|
25
29
|
export * from "./BusinessAllergen.mjs";
|
|
26
30
|
export * from "./BusinessBulletin.mjs";
|
|
@@ -29,6 +33,7 @@ export * from "./BusinessBulletinCommentReply.mjs";
|
|
|
29
33
|
export * from "./BusinessBulletinCommentResponse.mjs";
|
|
30
34
|
export * from "./BusinessCategory.mjs";
|
|
31
35
|
export * from "./BusinessCertification.mjs";
|
|
36
|
+
export * from "./BusinessClaimRequest.mjs";
|
|
32
37
|
export * from "./BusinessConversation.mjs";
|
|
33
38
|
export * from "./BusinessCuisine.mjs";
|
|
34
39
|
export * from "./BusinessDiscount.mjs";
|
|
@@ -64,6 +69,7 @@ export * from "./BusinessStripeConnection.mjs";
|
|
|
64
69
|
export * from "./BusinessSummary.mjs";
|
|
65
70
|
export * from "./BusinessTemporaryLocation.mjs";
|
|
66
71
|
export * from "./BusinessToken.mjs";
|
|
72
|
+
export * from "./ClaimableBusiness.mjs";
|
|
67
73
|
export * from "./ConflictErrorBody.mjs";
|
|
68
74
|
export * from "./Conversation.mjs";
|
|
69
75
|
export * from "./Cuisine.mjs";
|
|
@@ -71,6 +77,7 @@ export * from "./CustomerBulletin.mjs";
|
|
|
71
77
|
export * from "./CustomerBulletinCommentReply.mjs";
|
|
72
78
|
export * from "./CustomerBulletinResponse.mjs";
|
|
73
79
|
export * from "./CustomerBusinessProfile.mjs";
|
|
80
|
+
export * from "./CustomerBusinessSubmission.mjs";
|
|
74
81
|
export * from "./CustomerCart.mjs";
|
|
75
82
|
export * from "./CustomerCartItem.mjs";
|
|
76
83
|
export * from "./CustomerComment.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.60";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.60";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -176,6 +176,17 @@
|
|
|
176
176
|
},
|
|
177
177
|
"default": "./dist/cjs/api/resources/business/resources/businesses/exports.js"
|
|
178
178
|
},
|
|
179
|
+
"./business/claims": {
|
|
180
|
+
"import": {
|
|
181
|
+
"types": "./dist/esm/api/resources/business/resources/claims/exports.d.mts",
|
|
182
|
+
"default": "./dist/esm/api/resources/business/resources/claims/exports.mjs"
|
|
183
|
+
},
|
|
184
|
+
"require": {
|
|
185
|
+
"types": "./dist/cjs/api/resources/business/resources/claims/exports.d.ts",
|
|
186
|
+
"default": "./dist/cjs/api/resources/business/resources/claims/exports.js"
|
|
187
|
+
},
|
|
188
|
+
"default": "./dist/cjs/api/resources/business/resources/claims/exports.js"
|
|
189
|
+
},
|
|
179
190
|
"./business/discounts": {
|
|
180
191
|
"import": {
|
|
181
192
|
"types": "./dist/esm/api/resources/business/resources/discounts/exports.d.mts",
|
|
@@ -528,6 +539,17 @@
|
|
|
528
539
|
},
|
|
529
540
|
"default": "./dist/cjs/api/resources/customer/resources/auth/exports.js"
|
|
530
541
|
},
|
|
542
|
+
"./customer/businessSubmissions": {
|
|
543
|
+
"import": {
|
|
544
|
+
"types": "./dist/esm/api/resources/customer/resources/businessSubmissions/exports.d.mts",
|
|
545
|
+
"default": "./dist/esm/api/resources/customer/resources/businessSubmissions/exports.mjs"
|
|
546
|
+
},
|
|
547
|
+
"require": {
|
|
548
|
+
"types": "./dist/cjs/api/resources/customer/resources/businessSubmissions/exports.d.ts",
|
|
549
|
+
"default": "./dist/cjs/api/resources/customer/resources/businessSubmissions/exports.js"
|
|
550
|
+
},
|
|
551
|
+
"default": "./dist/cjs/api/resources/customer/resources/businessSubmissions/exports.js"
|
|
552
|
+
},
|
|
531
553
|
"./customer/businesses": {
|
|
532
554
|
"import": {
|
|
533
555
|
"types": "./dist/esm/api/resources/customer/resources/businesses/exports.d.mts",
|
|
@@ -550,17 +572,6 @@
|
|
|
550
572
|
},
|
|
551
573
|
"default": "./dist/cjs/api/resources/customer/resources/cart/exports.js"
|
|
552
574
|
},
|
|
553
|
-
"./customer/explore": {
|
|
554
|
-
"import": {
|
|
555
|
-
"types": "./dist/esm/api/resources/customer/resources/explore/exports.d.mts",
|
|
556
|
-
"default": "./dist/esm/api/resources/customer/resources/explore/exports.mjs"
|
|
557
|
-
},
|
|
558
|
-
"require": {
|
|
559
|
-
"types": "./dist/cjs/api/resources/customer/resources/explore/exports.d.ts",
|
|
560
|
-
"default": "./dist/cjs/api/resources/customer/resources/explore/exports.js"
|
|
561
|
-
},
|
|
562
|
-
"default": "./dist/cjs/api/resources/customer/resources/explore/exports.js"
|
|
563
|
-
},
|
|
564
575
|
"./customer/discovery": {
|
|
565
576
|
"import": {
|
|
566
577
|
"types": "./dist/esm/api/resources/customer/resources/discovery/exports.d.mts",
|
|
@@ -572,6 +583,17 @@
|
|
|
572
583
|
},
|
|
573
584
|
"default": "./dist/cjs/api/resources/customer/resources/discovery/exports.js"
|
|
574
585
|
},
|
|
586
|
+
"./customer/explore": {
|
|
587
|
+
"import": {
|
|
588
|
+
"types": "./dist/esm/api/resources/customer/resources/explore/exports.d.mts",
|
|
589
|
+
"default": "./dist/esm/api/resources/customer/resources/explore/exports.mjs"
|
|
590
|
+
},
|
|
591
|
+
"require": {
|
|
592
|
+
"types": "./dist/cjs/api/resources/customer/resources/explore/exports.d.ts",
|
|
593
|
+
"default": "./dist/cjs/api/resources/customer/resources/explore/exports.js"
|
|
594
|
+
},
|
|
595
|
+
"default": "./dist/cjs/api/resources/customer/resources/explore/exports.js"
|
|
596
|
+
},
|
|
575
597
|
"./customer/editorials": {
|
|
576
598
|
"import": {
|
|
577
599
|
"types": "./dist/esm/api/resources/customer/resources/editorials/exports.d.mts",
|
|
@@ -660,6 +682,17 @@
|
|
|
660
682
|
},
|
|
661
683
|
"default": "./dist/cjs/api/resources/customer/resources/auth/resources/tokens/exports.js"
|
|
662
684
|
},
|
|
685
|
+
"./customer/businessSubmissions/photos": {
|
|
686
|
+
"import": {
|
|
687
|
+
"types": "./dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/exports.d.mts",
|
|
688
|
+
"default": "./dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/exports.mjs"
|
|
689
|
+
},
|
|
690
|
+
"require": {
|
|
691
|
+
"types": "./dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.d.ts",
|
|
692
|
+
"default": "./dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.js"
|
|
693
|
+
},
|
|
694
|
+
"default": "./dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.js"
|
|
695
|
+
},
|
|
663
696
|
"./customer/businesses/bulletins": {
|
|
664
697
|
"import": {
|
|
665
698
|
"types": "./dist/esm/api/resources/customer/resources/businesses/resources/bulletins/exports.d.mts",
|