@kl1/contracts 1.0.74 → 1.0.75

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 CHANGED
@@ -799,7 +799,7 @@ var ChannelSchema = import_zod17.default.object({
799
799
  telephonySignature: import_zod17.default.string().nullable()
800
800
  })
801
801
  })
802
- }).partial().optional();
802
+ });
803
803
 
804
804
  // src/chat/validation.ts
805
805
  var import_zod29 = __toESM(require("zod"));
@@ -1641,18 +1641,6 @@ var messenger = (0, import_core6.initContract)().router(
1641
1641
  },
1642
1642
  body: ConnectChannelSchema,
1643
1643
  summary: "Connect message channel"
1644
- },
1645
- relogin: {
1646
- method: "POST",
1647
- path: "/relogin",
1648
- responses: {
1649
- 200: DefaultSuccessResponseSchema.extend({
1650
- channel: ChannelSchema
1651
- }),
1652
- 408: DefaultErrorResponseSchema
1653
- },
1654
- body: ConnectChannelSchema,
1655
- summary: "Relogin message channel"
1656
1644
  }
1657
1645
  },
1658
1646
  {
@@ -1787,6 +1775,33 @@ var channelContract = (0, import_core6.initContract)().router(
1787
1775
  }),
1788
1776
  summary: "Rename message channel"
1789
1777
  },
1778
+ reconnect: {
1779
+ method: "POST",
1780
+ path: "/rename/:channelId",
1781
+ pathParams: import_zod31.default.object({
1782
+ channelId: import_zod31.default.string().uuid()
1783
+ }),
1784
+ responses: {
1785
+ 200: DefaultSuccessResponseSchema.extend({
1786
+ channel: ChannelSchema
1787
+ }),
1788
+ 408: DefaultErrorResponseSchema
1789
+ },
1790
+ body: null,
1791
+ summary: "Reconnect message channel"
1792
+ },
1793
+ relogin: {
1794
+ method: "POST",
1795
+ path: "/relogin",
1796
+ responses: {
1797
+ 200: DefaultSuccessResponseSchema.extend({
1798
+ channel: ChannelSchema
1799
+ }),
1800
+ 408: DefaultErrorResponseSchema
1801
+ },
1802
+ body: ConnectChannelSchema,
1803
+ summary: "Relogin message channel"
1804
+ },
1790
1805
  messenger,
1791
1806
  line,
1792
1807
  instagram,