@51eat/sdk 0.0.45 → 0.0.46
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 +12 -9
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +15 -10
- package/dist/cjs/api/resources/businessProducts/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/businessProducts/client/Client.js +261 -0
- package/dist/cjs/api/resources/businessProducts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessProducts/client/index.js +17 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/AdjustInventoryRequest.d.ts +34 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/AdjustInventoryRequest.js +20 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/GetProductInventorySummaryRequest.d.ts +10 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/GetProductInventorySummaryRequest.js +3 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/ListVariantInventoryHistoryRequest.d.ts +11 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/ListVariantInventoryHistoryRequest.js +3 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/businessProducts/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/businessProducts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/businessProducts/exports.js +21 -0
- package/dist/cjs/api/resources/businessProducts/index.d.ts +2 -0
- package/dist/cjs/api/resources/businessProducts/index.js +18 -0
- package/dist/cjs/api/resources/businessProducts/types/AdjustVariantInventoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessProducts/types/AdjustVariantInventoryResponse.js +3 -0
- package/dist/cjs/api/resources/businessProducts/types/GetProductInventorySummaryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessProducts/types/GetProductInventorySummaryResponse.js +3 -0
- package/dist/cjs/api/resources/businessProducts/types/ListVariantInventoryHistoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/businessProducts/types/ListVariantInventoryHistoryResponse.js +3 -0
- package/dist/cjs/api/resources/businessProducts/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/businessProducts/types/index.js +19 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/types/BusinessInventoryLog.d.ts +15 -0
- package/dist/cjs/api/types/BusinessInventoryLog.js +3 -0
- package/dist/cjs/api/types/BusinessProductInventorySummary.d.ts +7 -0
- package/dist/cjs/api/types/BusinessProductInventorySummary.js +3 -0
- package/dist/cjs/api/types/CustomerCartItem.d.ts +1 -1
- package/dist/cjs/api/types/CustomerProductOrder.d.ts +5 -5
- package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +2 -2
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +7 -1
- package/dist/cjs/api/types/InternalServerErrorBody.js +7 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -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/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/businessProducts/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/businessProducts/client/Client.mjs +224 -0
- package/dist/esm/api/resources/businessProducts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/businessProducts/client/index.mjs +1 -0
- package/dist/esm/api/resources/businessProducts/client/requests/AdjustInventoryRequest.d.mts +34 -0
- package/dist/esm/api/resources/businessProducts/client/requests/AdjustInventoryRequest.mjs +17 -0
- package/dist/esm/api/resources/businessProducts/client/requests/GetProductInventorySummaryRequest.d.mts +10 -0
- package/dist/esm/api/resources/businessProducts/client/requests/GetProductInventorySummaryRequest.mjs +2 -0
- package/dist/esm/api/resources/businessProducts/client/requests/ListVariantInventoryHistoryRequest.d.mts +11 -0
- package/dist/esm/api/resources/businessProducts/client/requests/ListVariantInventoryHistoryRequest.mjs +2 -0
- package/dist/esm/api/resources/businessProducts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/businessProducts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/businessProducts/exports.d.mts +2 -0
- package/dist/esm/api/resources/businessProducts/exports.mjs +3 -0
- package/dist/esm/api/resources/businessProducts/index.d.mts +2 -0
- package/dist/esm/api/resources/businessProducts/index.mjs +2 -0
- package/dist/esm/api/resources/businessProducts/types/AdjustVariantInventoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessProducts/types/AdjustVariantInventoryResponse.mjs +2 -0
- package/dist/esm/api/resources/businessProducts/types/GetProductInventorySummaryResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessProducts/types/GetProductInventorySummaryResponse.mjs +2 -0
- package/dist/esm/api/resources/businessProducts/types/ListVariantInventoryHistoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/businessProducts/types/ListVariantInventoryHistoryResponse.mjs +2 -0
- package/dist/esm/api/resources/businessProducts/types/index.d.mts +3 -0
- package/dist/esm/api/resources/businessProducts/types/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/types/BusinessInventoryLog.d.mts +15 -0
- package/dist/esm/api/types/BusinessInventoryLog.mjs +2 -0
- package/dist/esm/api/types/BusinessProductInventorySummary.d.mts +7 -0
- package/dist/esm/api/types/BusinessProductInventorySummary.mjs +2 -0
- package/dist/esm/api/types/CustomerCartItem.d.mts +1 -1
- package/dist/esm/api/types/CustomerProductOrder.d.mts +5 -5
- package/dist/esm/api/types/CustomerProductOrderItem.d.mts +2 -2
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +7 -1
- package/dist/esm/api/types/InternalServerErrorBody.mjs +6 -1
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +157 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* variant: "variant",
|
|
5
|
+
* type: "add",
|
|
6
|
+
* quantity: 1,
|
|
7
|
+
* reason: "restock"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface AdjustInventoryRequest {
|
|
11
|
+
/** The variant ID */
|
|
12
|
+
variant: string;
|
|
13
|
+
type: AdjustInventoryRequest.Type;
|
|
14
|
+
quantity: number;
|
|
15
|
+
reason: AdjustInventoryRequest.Reason;
|
|
16
|
+
notes?: string | null;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace AdjustInventoryRequest {
|
|
19
|
+
const Type: {
|
|
20
|
+
readonly Add: "add";
|
|
21
|
+
readonly Subtract: "subtract";
|
|
22
|
+
readonly Set: "set";
|
|
23
|
+
};
|
|
24
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
25
|
+
const Reason: {
|
|
26
|
+
readonly Restock: "restock";
|
|
27
|
+
readonly Damaged: "damaged";
|
|
28
|
+
readonly Shrinkage: "shrinkage";
|
|
29
|
+
readonly Returned: "returned";
|
|
30
|
+
readonly Correction: "correction";
|
|
31
|
+
readonly Other: "other";
|
|
32
|
+
};
|
|
33
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var AdjustInventoryRequest;
|
|
3
|
+
(function (AdjustInventoryRequest) {
|
|
4
|
+
AdjustInventoryRequest.Type = {
|
|
5
|
+
Add: "add",
|
|
6
|
+
Subtract: "subtract",
|
|
7
|
+
Set: "set",
|
|
8
|
+
};
|
|
9
|
+
AdjustInventoryRequest.Reason = {
|
|
10
|
+
Restock: "restock",
|
|
11
|
+
Damaged: "damaged",
|
|
12
|
+
Shrinkage: "shrinkage",
|
|
13
|
+
Returned: "returned",
|
|
14
|
+
Correction: "correction",
|
|
15
|
+
Other: "other",
|
|
16
|
+
};
|
|
17
|
+
})(AdjustInventoryRequest || (AdjustInventoryRequest = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AdjustInventoryRequest } from "./AdjustInventoryRequest.mjs";
|
package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface CreatePaymentIntentCartResponse {
|
|
2
2
|
client_secret: string;
|
|
3
3
|
payment_intent_id: string;
|
|
4
|
-
subtotal:
|
|
4
|
+
subtotal: string;
|
|
5
5
|
tax_amount: string;
|
|
6
6
|
tax_calculation: CreatePaymentIntentCartResponse.TaxCalculation | null;
|
|
7
7
|
shipping_amount: string;
|
|
@@ -2,6 +2,9 @@ export * as business from "./business/index.mjs";
|
|
|
2
2
|
export * from "./businessMessaging/client/requests/index.mjs";
|
|
3
3
|
export * as businessMessaging from "./businessMessaging/index.mjs";
|
|
4
4
|
export * from "./businessMessaging/types/index.mjs";
|
|
5
|
+
export * from "./businessProducts/client/requests/index.mjs";
|
|
6
|
+
export * as businessProducts from "./businessProducts/index.mjs";
|
|
7
|
+
export * from "./businessProducts/types/index.mjs";
|
|
5
8
|
export * from "./customer/client/requests/index.mjs";
|
|
6
9
|
export * as customer from "./customer/index.mjs";
|
|
7
10
|
export * from "./customer/types/index.mjs";
|
|
@@ -2,6 +2,9 @@ export * as business from "./business/index.mjs";
|
|
|
2
2
|
export * from "./businessMessaging/client/requests/index.mjs";
|
|
3
3
|
export * as businessMessaging from "./businessMessaging/index.mjs";
|
|
4
4
|
export * from "./businessMessaging/types/index.mjs";
|
|
5
|
+
export * from "./businessProducts/client/requests/index.mjs";
|
|
6
|
+
export * as businessProducts from "./businessProducts/index.mjs";
|
|
7
|
+
export * from "./businessProducts/types/index.mjs";
|
|
5
8
|
export * from "./customer/client/requests/index.mjs";
|
|
6
9
|
export * as customer from "./customer/index.mjs";
|
|
7
10
|
export * from "./customer/types/index.mjs";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BusinessInventoryLog {
|
|
2
|
+
id: string;
|
|
3
|
+
change_type: string;
|
|
4
|
+
quantity_change: number;
|
|
5
|
+
quantity_after: number;
|
|
6
|
+
notes: string | null;
|
|
7
|
+
created_by?: BusinessInventoryLog.CreatedBy | undefined;
|
|
8
|
+
created_at: string;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace BusinessInventoryLog {
|
|
11
|
+
interface CreatedBy {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -5,11 +5,11 @@ export interface CustomerProductOrder {
|
|
|
5
5
|
status: string;
|
|
6
6
|
fulfillment_status: string;
|
|
7
7
|
fulfillment_method: string;
|
|
8
|
-
subtotal:
|
|
9
|
-
tax_amount:
|
|
10
|
-
shipping_amount:
|
|
11
|
-
discount_amount:
|
|
12
|
-
total_amount:
|
|
8
|
+
subtotal: string;
|
|
9
|
+
tax_amount: string;
|
|
10
|
+
shipping_amount: string;
|
|
11
|
+
discount_amount: string;
|
|
12
|
+
total_amount: string;
|
|
13
13
|
tracking_number: string | null;
|
|
14
14
|
tracking_url: string | null;
|
|
15
15
|
shipping_address: unknown[] | null;
|
|
@@ -3,8 +3,8 @@ export interface CustomerProductOrderItem {
|
|
|
3
3
|
product_id: string;
|
|
4
4
|
variant_id: string | null;
|
|
5
5
|
quantity: number;
|
|
6
|
-
unit_price:
|
|
7
|
-
total_price:
|
|
6
|
+
unit_price: string;
|
|
7
|
+
total_price: string;
|
|
8
8
|
product_snapshot: unknown[] | null;
|
|
9
9
|
product?: CustomerProductOrderItem.Product | undefined;
|
|
10
10
|
variant?: (CustomerProductOrderItem.Variant | null) | undefined;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
export interface InternalServerErrorBody {
|
|
2
|
-
message:
|
|
2
|
+
message: InternalServerErrorBody.Message;
|
|
3
|
+
}
|
|
4
|
+
export declare namespace InternalServerErrorBody {
|
|
5
|
+
const Message: {
|
|
6
|
+
readonly UnableToProcessPaymentPleaseTryAgain: "Unable to process payment. Please try again.";
|
|
7
|
+
};
|
|
8
|
+
type Message = (typeof Message)[keyof typeof Message];
|
|
3
9
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var InternalServerErrorBody;
|
|
3
|
+
(function (InternalServerErrorBody) {
|
|
4
|
+
InternalServerErrorBody.Message = {
|
|
5
|
+
UnableToProcessPaymentPleaseTryAgain: "Unable to process payment. Please try again.",
|
|
6
|
+
};
|
|
7
|
+
})(InternalServerErrorBody || (InternalServerErrorBody = {}));
|
|
@@ -40,6 +40,7 @@ export * from "./BusinessEventOrderDetail.mjs";
|
|
|
40
40
|
export * from "./BusinessEventRsvp.mjs";
|
|
41
41
|
export * from "./BusinessEventSalesSummary.mjs";
|
|
42
42
|
export * from "./BusinessEventTicketType.mjs";
|
|
43
|
+
export * from "./BusinessInventoryLog.mjs";
|
|
43
44
|
export * from "./BusinessLoginResponse.mjs";
|
|
44
45
|
export * from "./BusinessMe.mjs";
|
|
45
46
|
export * from "./BusinessMenu.mjs";
|
|
@@ -51,6 +52,7 @@ export * from "./BusinessMessage.mjs";
|
|
|
51
52
|
export * from "./BusinessPhoto.mjs";
|
|
52
53
|
export * from "./BusinessProduct.mjs";
|
|
53
54
|
export * from "./BusinessProductCategory.mjs";
|
|
55
|
+
export * from "./BusinessProductInventorySummary.mjs";
|
|
54
56
|
export * from "./BusinessProductOrder.mjs";
|
|
55
57
|
export * from "./BusinessProductOrderItem.mjs";
|
|
56
58
|
export * from "./BusinessProductVariant.mjs";
|
|
@@ -40,6 +40,7 @@ export * from "./BusinessEventOrderDetail.mjs";
|
|
|
40
40
|
export * from "./BusinessEventRsvp.mjs";
|
|
41
41
|
export * from "./BusinessEventSalesSummary.mjs";
|
|
42
42
|
export * from "./BusinessEventTicketType.mjs";
|
|
43
|
+
export * from "./BusinessInventoryLog.mjs";
|
|
43
44
|
export * from "./BusinessLoginResponse.mjs";
|
|
44
45
|
export * from "./BusinessMe.mjs";
|
|
45
46
|
export * from "./BusinessMenu.mjs";
|
|
@@ -51,6 +52,7 @@ export * from "./BusinessMessage.mjs";
|
|
|
51
52
|
export * from "./BusinessPhoto.mjs";
|
|
52
53
|
export * from "./BusinessProduct.mjs";
|
|
53
54
|
export * from "./BusinessProductCategory.mjs";
|
|
55
|
+
export * from "./BusinessProductInventorySummary.mjs";
|
|
54
56
|
export * from "./BusinessProductOrder.mjs";
|
|
55
57
|
export * from "./BusinessProductOrderItem.mjs";
|
|
56
58
|
export * from "./BusinessProductVariant.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.46";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.46";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,6 +33,17 @@
|
|
|
33
33
|
},
|
|
34
34
|
"default": "./dist/cjs/api/resources/businessMessaging/exports.js"
|
|
35
35
|
},
|
|
36
|
+
"./businessProducts": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./dist/esm/api/resources/businessProducts/exports.d.mts",
|
|
39
|
+
"default": "./dist/esm/api/resources/businessProducts/exports.mjs"
|
|
40
|
+
},
|
|
41
|
+
"require": {
|
|
42
|
+
"types": "./dist/cjs/api/resources/businessProducts/exports.d.ts",
|
|
43
|
+
"default": "./dist/cjs/api/resources/businessProducts/exports.js"
|
|
44
|
+
},
|
|
45
|
+
"default": "./dist/cjs/api/resources/businessProducts/exports.js"
|
|
46
|
+
},
|
|
36
47
|
"./customerMessaging": {
|
|
37
48
|
"import": {
|
|
38
49
|
"types": "./dist/esm/api/resources/customerMessaging/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -47,6 +47,163 @@ await client.businessMessaging.searchBusinessConversations({
|
|
|
47
47
|
</dl>
|
|
48
48
|
|
|
49
49
|
|
|
50
|
+
</dd>
|
|
51
|
+
</dl>
|
|
52
|
+
</details>
|
|
53
|
+
|
|
54
|
+
## Business: Products
|
|
55
|
+
<details><summary><code>client.businessProducts.<a href="/src/api/resources/businessProducts/client/Client.ts">adjustVariantInventory</a>({ ...params }) -> FiveOneEat.AdjustVariantInventoryResponse</code></summary>
|
|
56
|
+
<dl>
|
|
57
|
+
<dd>
|
|
58
|
+
|
|
59
|
+
#### 🔌 Usage
|
|
60
|
+
|
|
61
|
+
<dl>
|
|
62
|
+
<dd>
|
|
63
|
+
|
|
64
|
+
<dl>
|
|
65
|
+
<dd>
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
await client.businessProducts.adjustVariantInventory({
|
|
69
|
+
variant: "variant",
|
|
70
|
+
type: "add",
|
|
71
|
+
quantity: 1,
|
|
72
|
+
reason: "restock"
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
</dd>
|
|
77
|
+
</dl>
|
|
78
|
+
</dd>
|
|
79
|
+
</dl>
|
|
80
|
+
|
|
81
|
+
#### ⚙️ Parameters
|
|
82
|
+
|
|
83
|
+
<dl>
|
|
84
|
+
<dd>
|
|
85
|
+
|
|
86
|
+
<dl>
|
|
87
|
+
<dd>
|
|
88
|
+
|
|
89
|
+
**request:** `FiveOneEat.AdjustInventoryRequest`
|
|
90
|
+
|
|
91
|
+
</dd>
|
|
92
|
+
</dl>
|
|
93
|
+
|
|
94
|
+
<dl>
|
|
95
|
+
<dd>
|
|
96
|
+
|
|
97
|
+
**requestOptions:** `BusinessProductsClient.RequestOptions`
|
|
98
|
+
|
|
99
|
+
</dd>
|
|
100
|
+
</dl>
|
|
101
|
+
</dd>
|
|
102
|
+
</dl>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
</dd>
|
|
106
|
+
</dl>
|
|
107
|
+
</details>
|
|
108
|
+
|
|
109
|
+
<details><summary><code>client.businessProducts.<a href="/src/api/resources/businessProducts/client/Client.ts">listVariantInventoryHistory</a>({ ...params }) -> FiveOneEat.ListVariantInventoryHistoryResponse</code></summary>
|
|
110
|
+
<dl>
|
|
111
|
+
<dd>
|
|
112
|
+
|
|
113
|
+
#### 🔌 Usage
|
|
114
|
+
|
|
115
|
+
<dl>
|
|
116
|
+
<dd>
|
|
117
|
+
|
|
118
|
+
<dl>
|
|
119
|
+
<dd>
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
await client.businessProducts.listVariantInventoryHistory({
|
|
123
|
+
variant: "variant"
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
</dd>
|
|
128
|
+
</dl>
|
|
129
|
+
</dd>
|
|
130
|
+
</dl>
|
|
131
|
+
|
|
132
|
+
#### ⚙️ Parameters
|
|
133
|
+
|
|
134
|
+
<dl>
|
|
135
|
+
<dd>
|
|
136
|
+
|
|
137
|
+
<dl>
|
|
138
|
+
<dd>
|
|
139
|
+
|
|
140
|
+
**request:** `FiveOneEat.ListVariantInventoryHistoryRequest`
|
|
141
|
+
|
|
142
|
+
</dd>
|
|
143
|
+
</dl>
|
|
144
|
+
|
|
145
|
+
<dl>
|
|
146
|
+
<dd>
|
|
147
|
+
|
|
148
|
+
**requestOptions:** `BusinessProductsClient.RequestOptions`
|
|
149
|
+
|
|
150
|
+
</dd>
|
|
151
|
+
</dl>
|
|
152
|
+
</dd>
|
|
153
|
+
</dl>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</dd>
|
|
157
|
+
</dl>
|
|
158
|
+
</details>
|
|
159
|
+
|
|
160
|
+
<details><summary><code>client.businessProducts.<a href="/src/api/resources/businessProducts/client/Client.ts">getProductInventorySummary</a>({ ...params }) -> FiveOneEat.GetProductInventorySummaryResponse</code></summary>
|
|
161
|
+
<dl>
|
|
162
|
+
<dd>
|
|
163
|
+
|
|
164
|
+
#### 🔌 Usage
|
|
165
|
+
|
|
166
|
+
<dl>
|
|
167
|
+
<dd>
|
|
168
|
+
|
|
169
|
+
<dl>
|
|
170
|
+
<dd>
|
|
171
|
+
|
|
172
|
+
```typescript
|
|
173
|
+
await client.businessProducts.getProductInventorySummary({
|
|
174
|
+
product: "product"
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
</dd>
|
|
179
|
+
</dl>
|
|
180
|
+
</dd>
|
|
181
|
+
</dl>
|
|
182
|
+
|
|
183
|
+
#### ⚙️ Parameters
|
|
184
|
+
|
|
185
|
+
<dl>
|
|
186
|
+
<dd>
|
|
187
|
+
|
|
188
|
+
<dl>
|
|
189
|
+
<dd>
|
|
190
|
+
|
|
191
|
+
**request:** `FiveOneEat.GetProductInventorySummaryRequest`
|
|
192
|
+
|
|
193
|
+
</dd>
|
|
194
|
+
</dl>
|
|
195
|
+
|
|
196
|
+
<dl>
|
|
197
|
+
<dd>
|
|
198
|
+
|
|
199
|
+
**requestOptions:** `BusinessProductsClient.RequestOptions`
|
|
200
|
+
|
|
201
|
+
</dd>
|
|
202
|
+
</dl>
|
|
203
|
+
</dd>
|
|
204
|
+
</dl>
|
|
205
|
+
|
|
206
|
+
|
|
50
207
|
</dd>
|
|
51
208
|
</dl>
|
|
52
209
|
</details>
|