@seamapi/http 1.85.0 → 1.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +29 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -2
- package/dist/index.cjs +29 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.d.ts +13 -0
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.js +12 -0
- package/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +3 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +10 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts +41 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +25 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -6885,6 +6885,20 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
|
|
|
6885
6885
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6886
6886
|
await clientSessions.get();
|
|
6887
6887
|
}
|
|
6888
|
+
get(parameters, options = {}) {
|
|
6889
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6890
|
+
throw new Error(
|
|
6891
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6892
|
+
);
|
|
6893
|
+
}
|
|
6894
|
+
return new SeamHttpRequest(this, {
|
|
6895
|
+
pathname: "/seam/customer/v1/staff_members/get",
|
|
6896
|
+
method: "POST",
|
|
6897
|
+
body: parameters,
|
|
6898
|
+
responseKey: "staff_member",
|
|
6899
|
+
options
|
|
6900
|
+
});
|
|
6901
|
+
}
|
|
6888
6902
|
list(parameters, options = {}) {
|
|
6889
6903
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6890
6904
|
throw new Error(
|
|
@@ -10691,6 +10705,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
10691
10705
|
return seam.list(...args);
|
|
10692
10706
|
};
|
|
10693
10707
|
}
|
|
10708
|
+
get "/seam/customer/v1/staff_members/get"() {
|
|
10709
|
+
const { client, defaults } = this;
|
|
10710
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
10711
|
+
throw new Error(
|
|
10712
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
10713
|
+
);
|
|
10714
|
+
}
|
|
10715
|
+
return function seamCustomerV1StaffMembersGet(...args) {
|
|
10716
|
+
const seam = SeamHttpSeamCustomerV1StaffMembers.fromClient(
|
|
10717
|
+
client,
|
|
10718
|
+
defaults
|
|
10719
|
+
);
|
|
10720
|
+
return seam.get(...args);
|
|
10721
|
+
};
|
|
10722
|
+
}
|
|
10694
10723
|
get "/seam/customer/v1/staff_members/list"() {
|
|
10695
10724
|
const { client, defaults } = this;
|
|
10696
10725
|
if (!this.defaults.isUndocumentedApiEnabled) {
|