@kl1/contracts 1.1.46-uat → 1.1.47-uat
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/index.js +24 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -20
- package/dist/index.mjs.map +1 -1
- package/dist/src/channel/index.d.ts +2680 -2710
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/contract.d.ts +0 -1204
- package/dist/src/contract.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/contract2.d.ts +0 -2
- package/dist/src/contract2.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
@@ -2070,26 +2070,6 @@ var channelContract = initContract6().router(
|
|
2070
2070
|
body: ConnectChannelSchema,
|
2071
2071
|
summary: "Relogin message channel"
|
2072
2072
|
},
|
2073
|
-
connectBot: {
|
2074
|
-
method: "POST",
|
2075
|
-
path: "/connect-bot/:channelId",
|
2076
|
-
responses: {
|
2077
|
-
200: DefaultSuccessResponseSchema.extend({ channel: ChannelSchema }),
|
2078
|
-
400: DefaultErrorResponseSchema,
|
2079
|
-
500: DefaultErrorResponseSchema
|
2080
|
-
},
|
2081
|
-
body: ConnectBotSchema
|
2082
|
-
},
|
2083
|
-
disconnectBot: {
|
2084
|
-
method: "POST",
|
2085
|
-
path: "/disconnect-bot/:channelId",
|
2086
|
-
responses: {
|
2087
|
-
200: DefaultSuccessResponseSchema.extend({ channel: ChannelSchema }),
|
2088
|
-
400: DefaultErrorResponseSchema,
|
2089
|
-
500: DefaultErrorResponseSchema
|
2090
|
-
},
|
2091
|
-
body: z35.object({})
|
2092
|
-
},
|
2093
2073
|
messenger,
|
2094
2074
|
line,
|
2095
2075
|
instagram,
|
@@ -2101,6 +2081,28 @@ var channelContract = initContract6().router(
|
|
2101
2081
|
pathPrefix: "channel"
|
2102
2082
|
}
|
2103
2083
|
);
|
2084
|
+
var channelBotContract = initContract6().router({
|
2085
|
+
connectBot: {
|
2086
|
+
method: "POST",
|
2087
|
+
path: "/connect-bot/:channelId",
|
2088
|
+
responses: {
|
2089
|
+
200: DefaultSuccessResponseSchema.extend({ channel: ChannelSchema }),
|
2090
|
+
400: DefaultErrorResponseSchema,
|
2091
|
+
500: DefaultErrorResponseSchema
|
2092
|
+
},
|
2093
|
+
body: ConnectBotSchema
|
2094
|
+
},
|
2095
|
+
disconnectBot: {
|
2096
|
+
method: "POST",
|
2097
|
+
path: "/disconnect-bot/:channelId",
|
2098
|
+
responses: {
|
2099
|
+
200: DefaultSuccessResponseSchema.extend({ channel: ChannelSchema }),
|
2100
|
+
400: DefaultErrorResponseSchema,
|
2101
|
+
500: DefaultErrorResponseSchema
|
2102
|
+
},
|
2103
|
+
body: z35.object({})
|
2104
|
+
}
|
2105
|
+
});
|
2104
2106
|
|
2105
2107
|
// src/comment/index.ts
|
2106
2108
|
import { initContract as initContract7 } from "@ts-rest/core";
|
@@ -8147,6 +8149,7 @@ export {
|
|
8147
8149
|
botpressContract,
|
8148
8150
|
businessCalendarContract2 as businessCalendarContract,
|
8149
8151
|
categoryContract,
|
8152
|
+
channelBotContract,
|
8150
8153
|
channelContract,
|
8151
8154
|
chatContract2 as chatContract,
|
8152
8155
|
commentActivityContract,
|