@kl1/contracts 1.3.70 → 1.3.71

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.mjs CHANGED
@@ -8717,6 +8717,20 @@ var chatContract = initContract39().router(
8717
8717
  404: DefaultErrorResponseSchema
8718
8718
  },
8719
8719
  summary: "Get message by ID"
8720
+ },
8721
+ tagContact: {
8722
+ method: "POST",
8723
+ path: "/contact/tag",
8724
+ body: z110.object({
8725
+ contactId: z110.string().uuid(),
8726
+ tagId: z110.string().uuid()
8727
+ }),
8728
+ responses: {
8729
+ 200: DefaultSuccessResponseSchema,
8730
+ 403: DefaultErrorResponseSchema,
8731
+ 404: DefaultErrorResponseSchema
8732
+ },
8733
+ summary: "Attach Tag to Contact"
8720
8734
  }
8721
8735
  },
8722
8736
  {
@@ -10808,6 +10822,17 @@ var subscriptionContract = initContract54().router(
10808
10822
  500: DefaultErrorResponseSchema
10809
10823
  }
10810
10824
  },
10825
+ getAvailableAddOns: {
10826
+ method: "GET",
10827
+ path: "/available-add-ons",
10828
+ query: GetAvailablePlanSchema,
10829
+ responses: {
10830
+ 200: DefaultSuccessResponseSchema.extend({
10831
+ data: z139.array(ProductSchema)
10832
+ }),
10833
+ 500: DefaultErrorResponseSchema
10834
+ }
10835
+ },
10811
10836
  checkPlan: {
10812
10837
  method: "POST",
10813
10838
  path: "/check-plan",