@kl1/contracts 1.2.47-uat → 1.2.49-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -789,6 +789,37 @@ export declare const subscriptionContract: {
789
789
  includedQuantity: number;
790
790
  }[];
791
791
  }>;
792
+ customer: z.ZodObject<{
793
+ id: z.ZodString;
794
+ createdAt: z.ZodDate;
795
+ updatedAt: z.ZodDate;
796
+ deletedAt: z.ZodNullable<z.ZodDate>;
797
+ provider: z.ZodString;
798
+ customerId: z.ZodString;
799
+ email: z.ZodString;
800
+ name: z.ZodString;
801
+ balance: z.ZodNumber;
802
+ }, "strip", z.ZodTypeAny, {
803
+ id: string;
804
+ name: string;
805
+ email: string;
806
+ createdAt: Date;
807
+ updatedAt: Date;
808
+ deletedAt: Date | null;
809
+ provider: string;
810
+ customerId: string;
811
+ balance: number;
812
+ }, {
813
+ id: string;
814
+ name: string;
815
+ email: string;
816
+ createdAt: Date;
817
+ updatedAt: Date;
818
+ deletedAt: Date | null;
819
+ provider: string;
820
+ customerId: string;
821
+ balance: number;
822
+ }>;
792
823
  }, "strip", z.ZodTypeAny, {
793
824
  type: string;
794
825
  interval: string;
@@ -930,6 +961,17 @@ export declare const subscriptionContract: {
930
961
  limit: number;
931
962
  subscriptionItemId: string;
932
963
  }[];
964
+ customer: {
965
+ id: string;
966
+ name: string;
967
+ email: string;
968
+ createdAt: Date;
969
+ updatedAt: Date;
970
+ deletedAt: Date | null;
971
+ provider: string;
972
+ customerId: string;
973
+ balance: number;
974
+ };
933
975
  }, {
934
976
  type: string;
935
977
  interval: string;
@@ -1071,6 +1113,17 @@ export declare const subscriptionContract: {
1071
1113
  limit: number;
1072
1114
  subscriptionItemId: string;
1073
1115
  }[];
1116
+ customer: {
1117
+ id: string;
1118
+ name: string;
1119
+ email: string;
1120
+ createdAt: Date;
1121
+ updatedAt: Date;
1122
+ deletedAt: Date | null;
1123
+ provider: string;
1124
+ customerId: string;
1125
+ balance: number;
1126
+ };
1074
1127
  }>;
1075
1128
  }, "strip", z.ZodTypeAny, {
1076
1129
  requestId: string;
@@ -1215,6 +1268,17 @@ export declare const subscriptionContract: {
1215
1268
  limit: number;
1216
1269
  subscriptionItemId: string;
1217
1270
  }[];
1271
+ customer: {
1272
+ id: string;
1273
+ name: string;
1274
+ email: string;
1275
+ createdAt: Date;
1276
+ updatedAt: Date;
1277
+ deletedAt: Date | null;
1278
+ provider: string;
1279
+ customerId: string;
1280
+ balance: number;
1281
+ };
1218
1282
  };
1219
1283
  }, {
1220
1284
  requestId: string;
@@ -1359,6 +1423,17 @@ export declare const subscriptionContract: {
1359
1423
  limit: number;
1360
1424
  subscriptionItemId: string;
1361
1425
  }[];
1426
+ customer: {
1427
+ id: string;
1428
+ name: string;
1429
+ email: string;
1430
+ createdAt: Date;
1431
+ updatedAt: Date;
1432
+ deletedAt: Date | null;
1433
+ provider: string;
1434
+ customerId: string;
1435
+ balance: number;
1436
+ };
1362
1437
  };
1363
1438
  }>;
1364
1439
  500: z.ZodObject<{
@@ -1421,6 +1496,16 @@ export declare const subscriptionContract: {
1421
1496
  requireCheckout: boolean;
1422
1497
  checkoutUrl: string | null;
1423
1498
  }>;
1499
+ 402: z.ZodObject<{
1500
+ message: z.ZodString;
1501
+ error: z.ZodAny;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ message: string;
1504
+ error?: any;
1505
+ }, {
1506
+ message: string;
1507
+ error?: any;
1508
+ }>;
1424
1509
  500: z.ZodObject<{
1425
1510
  message: z.ZodString;
1426
1511
  error: z.ZodAny;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/subscription/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAA0B,MAAM,cAAc,CAAC;AAEpG,MAAM,MAAM,sBAAs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>;
571
+ export declare const CustomerSchema: z.ZodObject<{
572
+ id: z.ZodString;
573
+ createdAt: z.ZodDate;
574
+ updatedAt: z.ZodDate;
575
+ deletedAt: z.ZodNullable<z.ZodDate>;
576
+ provider: z.ZodString;
577
+ customerId: z.ZodString;
578
+ email: z.ZodString;
579
+ name: z.ZodString;
580
+ balance: z.ZodNumber;
581
+ }, "strip", z.ZodTypeAny, {
582
+ id: string;
583
+ name: string;
584
+ email: string;
585
+ createdAt: Date;
586
+ updatedAt: Date;
587
+ deletedAt: Date | null;
588
+ provider: string;
589
+ customerId: string;
590
+ balance: number;
591
+ }, {
592
+ id: string;
593
+ name: string;
594
+ email: string;
595
+ createdAt: Date;
596
+ updatedAt: Date;
597
+ deletedAt: Date | null;
598
+ provider: string;
599
+ customerId: string;
600
+ balance: number;
601
+ }>;
571
602
  export declare const SubscriptionProuctSchema: z.ZodObject<{
572
603
  id: z.ZodString;
573
604
  createdAt: z.ZodDate;
@@ -1773,6 +1804,37 @@ export declare const SubscriptionSchema: z.ZodObject<{
1773
1804
  includedQuantity: number;
1774
1805
  }[];
1775
1806
  }>;
1807
+ customer: z.ZodObject<{
1808
+ id: z.ZodString;
1809
+ createdAt: z.ZodDate;
1810
+ updatedAt: z.ZodDate;
1811
+ deletedAt: z.ZodNullable<z.ZodDate>;
1812
+ provider: z.ZodString;
1813
+ customerId: z.ZodString;
1814
+ email: z.ZodString;
1815
+ name: z.ZodString;
1816
+ balance: z.ZodNumber;
1817
+ }, "strip", z.ZodTypeAny, {
1818
+ id: string;
1819
+ name: string;
1820
+ email: string;
1821
+ createdAt: Date;
1822
+ updatedAt: Date;
1823
+ deletedAt: Date | null;
1824
+ provider: string;
1825
+ customerId: string;
1826
+ balance: number;
1827
+ }, {
1828
+ id: string;
1829
+ name: string;
1830
+ email: string;
1831
+ createdAt: Date;
1832
+ updatedAt: Date;
1833
+ deletedAt: Date | null;
1834
+ provider: string;
1835
+ customerId: string;
1836
+ balance: number;
1837
+ }>;
1776
1838
  }, "strip", z.ZodTypeAny, {
1777
1839
  type: string;
1778
1840
  interval: string;
@@ -1914,6 +1976,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
1914
1976
  limit: number;
1915
1977
  subscriptionItemId: string;
1916
1978
  }[];
1979
+ customer: {
1980
+ id: string;
1981
+ name: string;
1982
+ email: string;
1983
+ createdAt: Date;
1984
+ updatedAt: Date;
1985
+ deletedAt: Date | null;
1986
+ provider: string;
1987
+ customerId: string;
1988
+ balance: number;
1989
+ };
1917
1990
  }, {
1918
1991
  type: string;
1919
1992
  interval: string;
@@ -2055,5 +2128,16 @@ export declare const SubscriptionSchema: z.ZodObject<{
2055
2128
  limit: number;
2056
2129
  subscriptionItemId: string;
2057
2130
  }[];
2131
+ customer: {
2132
+ id: string;
2133
+ name: string;
2134
+ email: string;
2135
+ createdAt: Date;
2136
+ updatedAt: Date;
2137
+ deletedAt: Date | null;
2138
+ provider: string;
2139
+ customerId: string;
2140
+ balance: number;
2141
+ };
2058
2142
  }>;
2059
2143
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/subscription/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM7B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe7B,CAAC"}
package/dist/index.js CHANGED
@@ -10221,6 +10221,13 @@ var ProductSchema = DefaultEntitySchema.extend({
10221
10221
  productPrice: ProductPriceSchema,
10222
10222
  relatedProducts: import_zod136.default.array(RelatedProductSchema)
10223
10223
  });
10224
+ var CustomerSchema = DefaultEntitySchema.extend({
10225
+ provider: import_zod136.default.string(),
10226
+ customerId: import_zod136.default.string(),
10227
+ email: import_zod136.default.string(),
10228
+ name: import_zod136.default.string(),
10229
+ balance: import_zod136.default.number()
10230
+ });
10224
10231
  var SubscriptionProuctSchema = DefaultEntitySchema.extend({
10225
10232
  limit: import_zod136.default.number(),
10226
10233
  subscriptionItemId: import_zod136.default.string(),
@@ -10240,7 +10247,8 @@ var SubscriptionSchema = DefaultEntitySchema.extend({
10240
10247
  name: import_zod136.default.string().nullable(),
10241
10248
  subscriptionProducts: import_zod136.default.array(SubscriptionProuctSchema),
10242
10249
  productPrice: ProductPriceSchema,
10243
- product: ProductSchema
10250
+ product: ProductSchema,
10251
+ customer: CustomerSchema
10244
10252
  });
10245
10253
 
10246
10254
  // src/subscription/validation.ts
@@ -10287,6 +10295,7 @@ var subscriptionContract = (0, import_core53.initContract)().router(
10287
10295
  requireCheckout: import_zod138.z.boolean(),
10288
10296
  checkoutUrl: import_zod138.z.string().nullable()
10289
10297
  }),
10298
+ 402: DefaultErrorResponseSchema,
10290
10299
  500: DefaultErrorResponseSchema
10291
10300
  }
10292
10301
  },