@kl1/contracts 1.2.53-uat → 1.2.55-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.
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/subscription/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/subscription/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC"}
package/dist/index.js CHANGED
@@ -1709,7 +1709,7 @@ var smsContract = (0, import_core.initContract)().router({
1709
1709
  disconnectSMSChannel: {
1710
1710
  method: "POST",
1711
1711
  path: "/disconnect",
1712
- body: ChannelSchema.partial(),
1712
+ body: import_zod27.default.object({ id: import_zod27.default.string().uuid() }),
1713
1713
  responses: {
1714
1714
  200: DefaultSuccessResponseSchema.extend({
1715
1715
  channel: ChannelSchema
@@ -10197,10 +10197,12 @@ var GetAvailablePlanSchema = import_zod136.z.object({
10197
10197
  });
10198
10198
  var UpdateSubscriptionSchema = import_zod136.z.object({
10199
10199
  planProductId: import_zod136.z.string(),
10200
+ planProductPriceId: import_zod136.z.string(),
10200
10201
  subscriptionId: import_zod136.z.string(),
10201
10202
  subscriptionProducts: import_zod136.z.array(
10202
10203
  import_zod136.z.object({
10203
10204
  productId: import_zod136.z.string(),
10205
+ productPriceId: import_zod136.z.string(),
10204
10206
  quantity: import_zod136.z.number()
10205
10207
  })
10206
10208
  )