@budgetbuddyde/api 0.1.0 → 1.0.0

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.
@@ -137,7 +137,7 @@ export declare const CreateRecurringPaymentResponse: z.ZodObject<{
137
137
  cache: "cache";
138
138
  external: "external";
139
139
  }>>;
140
- data: z.ZodObject<{
140
+ data: z.ZodNullable<z.ZodArray<z.ZodObject<{
141
141
  id: z.core.$ZodBranded<z.ZodUUID, "TransactionID">;
142
142
  ownerId: z.core.$ZodBranded<z.ZodString, "UserID">;
143
143
  createdAt: z.ZodISODateTime;
@@ -149,7 +149,7 @@ export declare const CreateRecurringPaymentResponse: z.ZodObject<{
149
149
  information: z.ZodNullable<z.ZodString>;
150
150
  paused: z.ZodDefault<z.ZodBoolean>;
151
151
  executeAt: z.ZodNumber;
152
- }, z.core.$strip>;
152
+ }, z.core.$strip>>>;
153
153
  }, z.core.$strip>;
154
154
  export declare const UpdateRecurringPaymentResponse: z.ZodObject<{
155
155
  status: z.ZodNumber;
@@ -160,7 +160,7 @@ export declare const UpdateRecurringPaymentResponse: z.ZodObject<{
160
160
  cache: "cache";
161
161
  external: "external";
162
162
  }>>;
163
- data: z.ZodObject<{
163
+ data: z.ZodNullable<z.ZodArray<z.ZodObject<{
164
164
  id: z.core.$ZodBranded<z.ZodUUID, "TransactionID">;
165
165
  ownerId: z.core.$ZodBranded<z.ZodString, "UserID">;
166
166
  createdAt: z.ZodISODateTime;
@@ -172,7 +172,7 @@ export declare const UpdateRecurringPaymentResponse: z.ZodObject<{
172
172
  information: z.ZodNullable<z.ZodString>;
173
173
  paused: z.ZodDefault<z.ZodBoolean>;
174
174
  executeAt: z.ZodNumber;
175
- }, z.core.$strip>;
175
+ }, z.core.$strip>>>;
176
176
  }, z.core.$strip>;
177
177
  export declare const DeleteRecurringPaymentResponse: z.ZodObject<{
178
178
  status: z.ZodNumber;
@@ -183,7 +183,7 @@ export declare const DeleteRecurringPaymentResponse: z.ZodObject<{
183
183
  cache: "cache";
184
184
  external: "external";
185
185
  }>>;
186
- data: z.ZodObject<{
186
+ data: z.ZodNullable<z.ZodArray<z.ZodObject<{
187
187
  id: z.core.$ZodBranded<z.ZodUUID, "TransactionID">;
188
188
  ownerId: z.core.$ZodBranded<z.ZodString, "UserID">;
189
189
  createdAt: z.ZodISODateTime;
@@ -195,5 +195,5 @@ export declare const DeleteRecurringPaymentResponse: z.ZodObject<{
195
195
  information: z.ZodNullable<z.ZodString>;
196
196
  paused: z.ZodDefault<z.ZodBoolean>;
197
197
  executeAt: z.ZodNumber;
198
- }, z.core.$strip>;
198
+ }, z.core.$strip>>>;
199
199
  }, z.core.$strip>;
@@ -56,7 +56,7 @@ exports.GetRecurringPaymentResponse = common_schema_1.ApiResponse.extend({
56
56
  data: exports.ExpandedRecurringPayment.nullable(),
57
57
  });
58
58
  exports.CreateRecurringPaymentResponse = common_schema_1.ApiResponse.extend({
59
- data: exports.RecurringPayment,
59
+ data: zod_1.z.array(exports.RecurringPayment).nullable(),
60
60
  });
61
61
  exports.UpdateRecurringPaymentResponse = exports.CreateRecurringPaymentResponse;
62
62
  exports.DeleteRecurringPaymentResponse = exports.CreateRecurringPaymentResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budgetbuddyde/api",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "publishConfig": {
@@ -124,7 +124,7 @@
124
124
  "error": [
125
125
  "./lib/error.d.ts"
126
126
  ],
127
- "category": [
127
+ "category": [
128
128
  "./lib/category.d.ts"
129
129
  ],
130
130
  "paymentMethod": [