@kl1/contracts 1.2.48-uat → 1.2.50-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -10114,6 +10114,13 @@ var ProductSchema = DefaultEntitySchema.extend({
10114
10114
  productPrice: ProductPriceSchema,
10115
10115
  relatedProducts: z136.array(RelatedProductSchema)
10116
10116
  });
10117
+ var CustomerSchema = DefaultEntitySchema.extend({
10118
+ provider: z136.string(),
10119
+ customerId: z136.string(),
10120
+ email: z136.string(),
10121
+ name: z136.string(),
10122
+ balance: z136.number()
10123
+ });
10117
10124
  var SubscriptionProuctSchema = DefaultEntitySchema.extend({
10118
10125
  limit: z136.number(),
10119
10126
  subscriptionItemId: z136.string(),
@@ -10165,6 +10172,7 @@ var subscriptionContract = initContract53().router(
10165
10172
  query: null,
10166
10173
  responses: {
10167
10174
  200: DefaultSuccessResponseSchema.extend({
10175
+ customer: CustomerSchema,
10168
10176
  subscription: SubscriptionSchema
10169
10177
  }),
10170
10178
  500: DefaultErrorResponseSchema