@budgetbuddyde/types 1.0.3 → 1.0.4

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.
@@ -543,17 +543,17 @@ export declare const ZDeleteBudgetResponsePayload: z.ZodObject<{
543
543
  };
544
544
  budget: number;
545
545
  }>, "many">;
546
- failed: z.ZodArray<z.ZodArray<z.ZodObject<{
546
+ failed: z.ZodArray<z.ZodObject<{
547
547
  budgetId: z.ZodNumber;
548
548
  }, "strip", z.ZodTypeAny, {
549
549
  budgetId: number;
550
550
  }, {
551
551
  budgetId: number;
552
- }>, "many">, "many">;
552
+ }>, "many">;
553
553
  }, "strip", z.ZodTypeAny, {
554
554
  failed: {
555
555
  budgetId: number;
556
- }[][];
556
+ }[];
557
557
  success: {
558
558
  id: number;
559
559
  createdAt: Date;
@@ -600,7 +600,7 @@ export declare const ZDeleteBudgetResponsePayload: z.ZodObject<{
600
600
  }, {
601
601
  failed: {
602
602
  budgetId: number;
603
- }[][];
603
+ }[];
604
604
  success: {
605
605
  id: number;
606
606
  createdAt: (number | Date) & (number | Date | undefined);
@@ -28,7 +28,7 @@ exports.ZDeleteBudgetPayload = zod_1.z.array(zod_1.z.object({
28
28
  }));
29
29
  exports.ZDeleteBudgetResponsePayload = zod_1.z.object({
30
30
  success: zod_1.z.array(exports.ZBudget),
31
- failed: zod_1.z.array(exports.ZDeleteBudgetPayload),
31
+ failed: exports.ZDeleteBudgetPayload,
32
32
  });
33
33
  exports.ZBudgetProgress = exports.ZBudget.extend({
34
34
  amount_spent: zod_1.z.number(),
@@ -249,17 +249,17 @@ export declare const ZDeleteCategoryResponsePayload: z.ZodObject<{
249
249
  };
250
250
  description?: string | null | undefined;
251
251
  }>, "many">;
252
- failed: z.ZodArray<z.ZodArray<z.ZodObject<{
252
+ failed: z.ZodArray<z.ZodObject<{
253
253
  categoryId: z.ZodNumber;
254
254
  }, "strip", z.ZodTypeAny, {
255
255
  categoryId: number;
256
256
  }, {
257
257
  categoryId: number;
258
- }>, "many">, "many">;
258
+ }>, "many">;
259
259
  }, "strip", z.ZodTypeAny, {
260
260
  failed: {
261
261
  categoryId: number;
262
- }[][];
262
+ }[];
263
263
  success: {
264
264
  id: number;
265
265
  name: string;
@@ -285,7 +285,7 @@ export declare const ZDeleteCategoryResponsePayload: z.ZodObject<{
285
285
  }, {
286
286
  failed: {
287
287
  categoryId: number;
288
- }[][];
288
+ }[];
289
289
  success: {
290
290
  id: number;
291
291
  name: string;
@@ -27,5 +27,5 @@ exports.ZDeleteCategoryPayload = zod_1.z.array(zod_1.z.object({
27
27
  }));
28
28
  exports.ZDeleteCategoryResponsePayload = zod_1.z.object({
29
29
  success: zod_1.z.array(exports.ZCategory),
30
- failed: zod_1.z.array(exports.ZDeleteCategoryPayload),
30
+ failed: exports.ZDeleteCategoryPayload,
31
31
  });
@@ -273,17 +273,17 @@ export declare const ZDeletePaymentMethodResponsePayload: z.ZodObject<{
273
273
  provider: string;
274
274
  description?: string | null | undefined;
275
275
  }>, "many">;
276
- failed: z.ZodArray<z.ZodArray<z.ZodObject<{
276
+ failed: z.ZodArray<z.ZodObject<{
277
277
  paymentMethodId: z.ZodNumber;
278
278
  }, "strip", z.ZodTypeAny, {
279
279
  paymentMethodId: number;
280
280
  }, {
281
281
  paymentMethodId: number;
282
- }>, "many">, "many">;
282
+ }>, "many">;
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  failed: {
285
285
  paymentMethodId: number;
286
- }[][];
286
+ }[];
287
287
  success: {
288
288
  id: number;
289
289
  address: string;
@@ -311,7 +311,7 @@ export declare const ZDeletePaymentMethodResponsePayload: z.ZodObject<{
311
311
  }, {
312
312
  failed: {
313
313
  paymentMethodId: number;
314
- }[][];
314
+ }[];
315
315
  success: {
316
316
  id: number;
317
317
  address: string;
@@ -35,5 +35,5 @@ exports.ZDeletePaymentMethodPayload = zod_1.z.array(zod_1.z.object({
35
35
  }));
36
36
  exports.ZDeletePaymentMethodResponsePayload = zod_1.z.object({
37
37
  success: zod_1.z.array(exports.ZPaymentMethod),
38
- failed: zod_1.z.array(exports.ZDeletePaymentMethodPayload),
38
+ failed: exports.ZDeletePaymentMethodPayload,
39
39
  });
@@ -917,17 +917,17 @@ export declare const ZDeleteSubscriptionResponsePayload: z.ZodObject<{
917
917
  executeAt: (number | Date) & (number | Date | undefined);
918
918
  description?: string | null | undefined;
919
919
  }>, "many">;
920
- failed: z.ZodArray<z.ZodArray<z.ZodObject<{
920
+ failed: z.ZodArray<z.ZodObject<{
921
921
  subscriptionId: z.ZodNumber;
922
922
  }, "strip", z.ZodTypeAny, {
923
923
  subscriptionId: number;
924
924
  }, {
925
925
  subscriptionId: number;
926
- }>, "many">, "many">;
926
+ }>, "many">;
927
927
  }, "strip", z.ZodTypeAny, {
928
928
  failed: {
929
929
  subscriptionId: number;
930
- }[][];
930
+ }[];
931
931
  success: {
932
932
  id: number;
933
933
  receiver: string;
@@ -1002,7 +1002,7 @@ export declare const ZDeleteSubscriptionResponsePayload: z.ZodObject<{
1002
1002
  }, {
1003
1003
  failed: {
1004
1004
  subscriptionId: number;
1005
- }[][];
1005
+ }[];
1006
1006
  success: {
1007
1007
  id: number;
1008
1008
  receiver: string;
@@ -63,5 +63,5 @@ exports.ZDeleteSubscriptionPayload = zod_1.z.array(zod_1.z.object({
63
63
  }));
64
64
  exports.ZDeleteSubscriptionResponsePayload = zod_1.z.object({
65
65
  success: zod_1.z.array(exports.ZSubscription),
66
- failed: zod_1.z.array(exports.ZDeleteSubscriptionPayload),
66
+ failed: exports.ZDeleteSubscriptionPayload,
67
67
  });
@@ -905,17 +905,17 @@ export declare const ZDeleteTransactionResponsePayload: z.ZodObject<{
905
905
  transferAmount: string | number;
906
906
  description?: string | null | undefined;
907
907
  }>, "many">;
908
- failed: z.ZodArray<z.ZodArray<z.ZodObject<{
908
+ failed: z.ZodArray<z.ZodObject<{
909
909
  transactionId: z.ZodNumber;
910
910
  }, "strip", z.ZodTypeAny, {
911
911
  transactionId: number;
912
912
  }, {
913
913
  transactionId: number;
914
- }>, "many">, "many">;
914
+ }>, "many">;
915
915
  }, "strip", z.ZodTypeAny, {
916
916
  failed: {
917
917
  transactionId: number;
918
- }[][];
918
+ }[];
919
919
  success: {
920
920
  id: number;
921
921
  receiver: string;
@@ -989,7 +989,7 @@ export declare const ZDeleteTransactionResponsePayload: z.ZodObject<{
989
989
  }, {
990
990
  failed: {
991
991
  transactionId: number;
992
- }[][];
992
+ }[];
993
993
  success: {
994
994
  id: number;
995
995
  receiver: string;
@@ -44,5 +44,5 @@ exports.ZDeleteTransactionPayload = zod_1.z.array(zod_1.z.object({
44
44
  }));
45
45
  exports.ZDeleteTransactionResponsePayload = zod_1.z.object({
46
46
  success: zod_1.z.array(exports.ZTransaction),
47
- failed: zod_1.z.array(exports.ZDeleteTransactionPayload),
47
+ failed: exports.ZDeleteTransactionPayload,
48
48
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budgetbuddyde/types",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "description": "Budget Buddy Typescript Types",