@51eat/sdk 0.0.28 → 0.0.29
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/resources/business/resources/bulletins/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/bulletins/client/Client.js +5 -0
- package/dist/cjs/api/resources/business/resources/bulletins/exports.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/bulletins/exports.js +1 -0
- package/dist/cjs/api/resources/business/resources/bulletins/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/bulletins/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/Client.js +208 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/bulletins/resources/index.js +42 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.js +1 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/{StoreBulletinCommentRequest.d.ts → AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.ts} +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/types/BusinessBulletinComment.d.ts +15 -0
- package/dist/cjs/api/types/BusinessBulletinComment.js +3 -0
- package/dist/cjs/api/types/BusinessBulletinCommentReply.d.ts +13 -0
- package/dist/cjs/api/types/BusinessBulletinCommentReply.js +3 -0
- package/dist/cjs/api/types/BusinessBulletinCommentResponse.d.ts +5 -0
- package/dist/cjs/api/types/BusinessBulletinCommentResponse.js +3 -0
- package/dist/cjs/api/types/CustomerBulletinCommentReply.d.ts +13 -0
- package/dist/cjs/api/types/CustomerBulletinCommentReply.js +3 -0
- package/dist/cjs/api/types/CustomerComment.d.ts +3 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -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/resources/business/resources/bulletins/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/bulletins/client/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/bulletins/exports.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/exports.mjs +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/Client.mjs +171 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/bulletins/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/{StoreBulletinCommentRequest.d.mts → AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.mts} +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.mts +1 -1
- package/dist/esm/api/types/BusinessBulletinComment.d.mts +15 -0
- package/dist/esm/api/types/BusinessBulletinComment.mjs +2 -0
- package/dist/esm/api/types/BusinessBulletinCommentReply.d.mts +13 -0
- package/dist/esm/api/types/BusinessBulletinCommentReply.mjs +2 -0
- package/dist/esm/api/types/BusinessBulletinCommentResponse.d.mts +5 -0
- package/dist/esm/api/types/BusinessBulletinCommentResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerBulletinCommentReply.d.mts +13 -0
- package/dist/esm/api/types/CustomerBulletinCommentReply.mjs +2 -0
- package/dist/esm/api/types/CustomerComment.d.mts +3 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +120 -1
- /package/dist/cjs/api/resources/{customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.js → business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.js} +0 -0
- /package/dist/esm/api/resources/{customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.mjs → business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.mjs} +0 -0
|
@@ -21,6 +21,9 @@ export * from "./BardSetNode.mjs";
|
|
|
21
21
|
export * from "./BardSetValues.mjs";
|
|
22
22
|
export * from "./BardTextNode.mjs";
|
|
23
23
|
export * from "./BusinessBulletin.mjs";
|
|
24
|
+
export * from "./BusinessBulletinComment.mjs";
|
|
25
|
+
export * from "./BusinessBulletinCommentReply.mjs";
|
|
26
|
+
export * from "./BusinessBulletinCommentResponse.mjs";
|
|
24
27
|
export * from "./BusinessCategory.mjs";
|
|
25
28
|
export * from "./BusinessCertification.mjs";
|
|
26
29
|
export * from "./BusinessConversation.mjs";
|
|
@@ -50,6 +53,7 @@ export * from "./ConflictErrorBody.mjs";
|
|
|
50
53
|
export * from "./Conversation.mjs";
|
|
51
54
|
export * from "./Cuisine.mjs";
|
|
52
55
|
export * from "./CustomerBulletin.mjs";
|
|
56
|
+
export * from "./CustomerBulletinCommentReply.mjs";
|
|
53
57
|
export * from "./CustomerBulletinResponse.mjs";
|
|
54
58
|
export * from "./CustomerBusinessProfile.mjs";
|
|
55
59
|
export * from "./CustomerComment.mjs";
|
|
@@ -21,6 +21,9 @@ export * from "./BardSetNode.mjs";
|
|
|
21
21
|
export * from "./BardSetValues.mjs";
|
|
22
22
|
export * from "./BardTextNode.mjs";
|
|
23
23
|
export * from "./BusinessBulletin.mjs";
|
|
24
|
+
export * from "./BusinessBulletinComment.mjs";
|
|
25
|
+
export * from "./BusinessBulletinCommentReply.mjs";
|
|
26
|
+
export * from "./BusinessBulletinCommentResponse.mjs";
|
|
24
27
|
export * from "./BusinessCategory.mjs";
|
|
25
28
|
export * from "./BusinessCertification.mjs";
|
|
26
29
|
export * from "./BusinessConversation.mjs";
|
|
@@ -50,6 +53,7 @@ export * from "./ConflictErrorBody.mjs";
|
|
|
50
53
|
export * from "./Conversation.mjs";
|
|
51
54
|
export * from "./Cuisine.mjs";
|
|
52
55
|
export * from "./CustomerBulletin.mjs";
|
|
56
|
+
export * from "./CustomerBulletinCommentReply.mjs";
|
|
53
57
|
export * from "./CustomerBulletinResponse.mjs";
|
|
54
58
|
export * from "./CustomerBusinessProfile.mjs";
|
|
55
59
|
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.29";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.29";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -242,6 +242,17 @@
|
|
|
242
242
|
},
|
|
243
243
|
"default": "./dist/cjs/api/resources/business/resources/auth/resources/tokens/exports.js"
|
|
244
244
|
},
|
|
245
|
+
"./business/bulletins/comments": {
|
|
246
|
+
"import": {
|
|
247
|
+
"types": "./dist/esm/api/resources/business/resources/bulletins/resources/comments/exports.d.mts",
|
|
248
|
+
"default": "./dist/esm/api/resources/business/resources/bulletins/resources/comments/exports.mjs"
|
|
249
|
+
},
|
|
250
|
+
"require": {
|
|
251
|
+
"types": "./dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.d.ts",
|
|
252
|
+
"default": "./dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.js"
|
|
253
|
+
},
|
|
254
|
+
"default": "./dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.js"
|
|
255
|
+
},
|
|
245
256
|
"./business/events/ticketTypes": {
|
|
246
257
|
"import": {
|
|
247
258
|
"types": "./dist/esm/api/resources/business/resources/events/resources/ticketTypes/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -3826,6 +3826,125 @@ await client.business.auth.tokens.revoke({
|
|
|
3826
3826
|
</dl>
|
|
3827
3827
|
|
|
3828
3828
|
|
|
3829
|
+
</dd>
|
|
3830
|
+
</dl>
|
|
3831
|
+
</details>
|
|
3832
|
+
|
|
3833
|
+
## Business Bulletins Comments
|
|
3834
|
+
<details><summary><code>client.business.bulletins.comments.<a href="/src/api/resources/business/resources/bulletins/resources/comments/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListCommentsResponse</code></summary>
|
|
3835
|
+
<dl>
|
|
3836
|
+
<dd>
|
|
3837
|
+
|
|
3838
|
+
#### 🔌 Usage
|
|
3839
|
+
|
|
3840
|
+
<dl>
|
|
3841
|
+
<dd>
|
|
3842
|
+
|
|
3843
|
+
<dl>
|
|
3844
|
+
<dd>
|
|
3845
|
+
|
|
3846
|
+
```typescript
|
|
3847
|
+
await client.business.bulletins.comments.list({
|
|
3848
|
+
bulletin: "bulletin"
|
|
3849
|
+
});
|
|
3850
|
+
|
|
3851
|
+
```
|
|
3852
|
+
</dd>
|
|
3853
|
+
</dl>
|
|
3854
|
+
</dd>
|
|
3855
|
+
</dl>
|
|
3856
|
+
|
|
3857
|
+
#### ⚙️ Parameters
|
|
3858
|
+
|
|
3859
|
+
<dl>
|
|
3860
|
+
<dd>
|
|
3861
|
+
|
|
3862
|
+
<dl>
|
|
3863
|
+
<dd>
|
|
3864
|
+
|
|
3865
|
+
**request:** `FiveOneEat.business.bulletins.ListCommentsRequest`
|
|
3866
|
+
|
|
3867
|
+
</dd>
|
|
3868
|
+
</dl>
|
|
3869
|
+
|
|
3870
|
+
<dl>
|
|
3871
|
+
<dd>
|
|
3872
|
+
|
|
3873
|
+
**requestOptions:** `CommentsClient.RequestOptions`
|
|
3874
|
+
|
|
3875
|
+
</dd>
|
|
3876
|
+
</dl>
|
|
3877
|
+
</dd>
|
|
3878
|
+
</dl>
|
|
3879
|
+
|
|
3880
|
+
|
|
3881
|
+
</dd>
|
|
3882
|
+
</dl>
|
|
3883
|
+
</details>
|
|
3884
|
+
|
|
3885
|
+
<details><summary><code>client.business.bulletins.comments.<a href="/src/api/resources/business/resources/bulletins/resources/comments/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateCommentsResponse</code></summary>
|
|
3886
|
+
<dl>
|
|
3887
|
+
<dd>
|
|
3888
|
+
|
|
3889
|
+
#### 📝 Description
|
|
3890
|
+
|
|
3891
|
+
<dl>
|
|
3892
|
+
<dd>
|
|
3893
|
+
|
|
3894
|
+
<dl>
|
|
3895
|
+
<dd>
|
|
3896
|
+
|
|
3897
|
+
Omit `parent_id` for a top-level comment. Set `parent_id` to a top-level
|
|
3898
|
+
comment's id to post a one-level reply (replies to replies are not allowed).
|
|
3899
|
+
</dd>
|
|
3900
|
+
</dl>
|
|
3901
|
+
</dd>
|
|
3902
|
+
</dl>
|
|
3903
|
+
|
|
3904
|
+
#### 🔌 Usage
|
|
3905
|
+
|
|
3906
|
+
<dl>
|
|
3907
|
+
<dd>
|
|
3908
|
+
|
|
3909
|
+
<dl>
|
|
3910
|
+
<dd>
|
|
3911
|
+
|
|
3912
|
+
```typescript
|
|
3913
|
+
await client.business.bulletins.comments.create({
|
|
3914
|
+
bulletin: "bulletin",
|
|
3915
|
+
body: "body"
|
|
3916
|
+
});
|
|
3917
|
+
|
|
3918
|
+
```
|
|
3919
|
+
</dd>
|
|
3920
|
+
</dl>
|
|
3921
|
+
</dd>
|
|
3922
|
+
</dl>
|
|
3923
|
+
|
|
3924
|
+
#### ⚙️ Parameters
|
|
3925
|
+
|
|
3926
|
+
<dl>
|
|
3927
|
+
<dd>
|
|
3928
|
+
|
|
3929
|
+
<dl>
|
|
3930
|
+
<dd>
|
|
3931
|
+
|
|
3932
|
+
**request:** `FiveOneEat.business.bulletins.StoreBulletinCommentRequest`
|
|
3933
|
+
|
|
3934
|
+
</dd>
|
|
3935
|
+
</dl>
|
|
3936
|
+
|
|
3937
|
+
<dl>
|
|
3938
|
+
<dd>
|
|
3939
|
+
|
|
3940
|
+
**requestOptions:** `CommentsClient.RequestOptions`
|
|
3941
|
+
|
|
3942
|
+
</dd>
|
|
3943
|
+
</dl>
|
|
3944
|
+
</dd>
|
|
3945
|
+
</dl>
|
|
3946
|
+
|
|
3947
|
+
|
|
3829
3948
|
</dd>
|
|
3830
3949
|
</dl>
|
|
3831
3950
|
</details>
|
|
@@ -7995,7 +8114,7 @@ await client.customer.businesses.bulletins.comments.create({
|
|
|
7995
8114
|
<dl>
|
|
7996
8115
|
<dd>
|
|
7997
8116
|
|
|
7998
|
-
**request:** `FiveOneEat.customer.businesses.bulletins.
|
|
8117
|
+
**request:** `FiveOneEat.customer.businesses.bulletins.AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest`
|
|
7999
8118
|
|
|
8000
8119
|
</dd>
|
|
8001
8120
|
</dl>
|
|
File without changes
|