@_henriquewilson/gabirubi-domain 1.0.25 → 1.0.26
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.
- package/dist/model/iugu/iugu-client.d.mts +3 -3
- package/dist/model/iugu/iugu-client.d.ts +3 -3
- package/dist/model/iugu/iugu-client.js +1 -1
- package/dist/model/iugu/iugu-client.js.map +1 -1
- package/dist/model/iugu/iugu-client.mjs +1 -1
- package/dist/model/iugu/iugu-client.mjs.map +1 -1
- package/dist/model/journey.d.mts +6 -6
- package/dist/model/journey.d.ts +6 -6
- package/dist/model/purchase.d.mts +2 -2
- package/dist/model/purchase.d.ts +2 -2
- package/package.json +1 -1
|
@@ -98,7 +98,7 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
98
98
|
};
|
|
99
99
|
}>;
|
|
100
100
|
declare const IuguClientSchema: z.ZodObject<{
|
|
101
|
-
id: z.ZodString
|
|
101
|
+
id: z.ZodOptional<z.ZodString>;
|
|
102
102
|
email: z.ZodString;
|
|
103
103
|
name: z.ZodString;
|
|
104
104
|
notes: z.ZodOptional<z.ZodAny>;
|
|
@@ -185,10 +185,10 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
185
185
|
district: z.ZodOptional<z.ZodAny>;
|
|
186
186
|
street: z.ZodOptional<z.ZodAny>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
id: string;
|
|
189
188
|
email: string;
|
|
190
189
|
name: string;
|
|
191
190
|
number?: any;
|
|
191
|
+
id?: string | undefined;
|
|
192
192
|
notes?: any;
|
|
193
193
|
created_at?: string | undefined;
|
|
194
194
|
updated_at?: string | undefined;
|
|
@@ -222,10 +222,10 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
222
222
|
district?: any;
|
|
223
223
|
street?: any;
|
|
224
224
|
}, {
|
|
225
|
-
id: string;
|
|
226
225
|
email: string;
|
|
227
226
|
name: string;
|
|
228
227
|
number?: any;
|
|
228
|
+
id?: string | undefined;
|
|
229
229
|
notes?: any;
|
|
230
230
|
created_at?: string | undefined;
|
|
231
231
|
updated_at?: string | undefined;
|
|
@@ -98,7 +98,7 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
98
98
|
};
|
|
99
99
|
}>;
|
|
100
100
|
declare const IuguClientSchema: z.ZodObject<{
|
|
101
|
-
id: z.ZodString
|
|
101
|
+
id: z.ZodOptional<z.ZodString>;
|
|
102
102
|
email: z.ZodString;
|
|
103
103
|
name: z.ZodString;
|
|
104
104
|
notes: z.ZodOptional<z.ZodAny>;
|
|
@@ -185,10 +185,10 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
185
185
|
district: z.ZodOptional<z.ZodAny>;
|
|
186
186
|
street: z.ZodOptional<z.ZodAny>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
id: string;
|
|
189
188
|
email: string;
|
|
190
189
|
name: string;
|
|
191
190
|
number?: any;
|
|
191
|
+
id?: string | undefined;
|
|
192
192
|
notes?: any;
|
|
193
193
|
created_at?: string | undefined;
|
|
194
194
|
updated_at?: string | undefined;
|
|
@@ -222,10 +222,10 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
222
222
|
district?: any;
|
|
223
223
|
street?: any;
|
|
224
224
|
}, {
|
|
225
|
-
id: string;
|
|
226
225
|
email: string;
|
|
227
226
|
name: string;
|
|
228
227
|
number?: any;
|
|
228
|
+
id?: string | undefined;
|
|
229
229
|
notes?: any;
|
|
230
230
|
created_at?: string | undefined;
|
|
231
231
|
updated_at?: string | undefined;
|
|
@@ -78,7 +78,7 @@ var paymentMethodSchema = import_zod.z.object({
|
|
|
78
78
|
data: dataSchema
|
|
79
79
|
});
|
|
80
80
|
var IuguClientSchema = import_zod.z.object({
|
|
81
|
-
id: import_zod.z.string(),
|
|
81
|
+
id: import_zod.z.string().optional(),
|
|
82
82
|
email: import_zod.z.string(),
|
|
83
83
|
name: import_zod.z.string(),
|
|
84
84
|
notes: import_zod.z.any().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/model/iugu/iugu-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,IAAM,aAAa,aAAE,OAAO;AAAA,EACjC,OAAO,aAAE,OAAO;AAAA,EAChB,aAAa,aAAE,OAAO;AAAA,EACtB,gBAAgB,aAAE,OAAO;AAAA,EACzB,KAAK,aAAE,OAAO;AAAA,EACd,MAAM,aAAE,OAAO;AAAA,EACf,OAAO,aAAE,OAAO;AAAA,EAChB,aAAa,aAAE,OAAO;AAAA,EACtB,cAAc,aAAE,OAAO;AAAA,EACvB,eAAe,aAAE,OAAO;AAC1B,CAAC;AAEM,IAAM,sBAAsB,aAAE,OAAO;AAAA,EAC1C,IAAI,aAAE,OAAO;AAAA,EACb,aAAa,aAAE,OAAO;AAAA,EACtB,WAAW,aAAE,OAAO;AAAA,EACpB,MAAM;AACR,CAAC;AAEM,IAAM,mBAAmB,aAAE,OAAO;AAAA,EACvC,IAAI,aAAE,OAAO;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../src/model/iugu/iugu-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,IAAM,aAAa,aAAE,OAAO;AAAA,EACjC,OAAO,aAAE,OAAO;AAAA,EAChB,aAAa,aAAE,OAAO;AAAA,EACtB,gBAAgB,aAAE,OAAO;AAAA,EACzB,KAAK,aAAE,OAAO;AAAA,EACd,MAAM,aAAE,OAAO;AAAA,EACf,OAAO,aAAE,OAAO;AAAA,EAChB,aAAa,aAAE,OAAO;AAAA,EACtB,cAAc,aAAE,OAAO;AAAA,EACvB,eAAe,aAAE,OAAO;AAC1B,CAAC;AAEM,IAAM,sBAAsB,aAAE,OAAO;AAAA,EAC1C,IAAI,aAAE,OAAO;AAAA,EACb,aAAa,aAAE,OAAO;AAAA,EACtB,WAAW,aAAE,OAAO;AAAA,EACpB,MAAM;AACR,CAAC;AAEM,IAAM,mBAAmB,aAAE,OAAO;AAAA,EACvC,IAAI,aAAE,OAAO,EAAE,SAAS;AAAA,EACxB,OAAO,aAAE,OAAO;AAAA,EAChB,MAAM,aAAE,OAAO;AAAA,EACf,OAAO,aAAE,IAAI,EAAE,SAAS;AAAA,EACxB,YAAY,aAAE,OAAO,EAAE,SAAS;AAAA,EAChC,YAAY,aAAE,OAAO,EAAE,SAAS;AAAA,EAChC,WAAW,aAAE,IAAI,EAAE,SAAS;AAAA,EAC5B,UAAU,aAAE,OAAO,EAAE,SAAS;AAAA,EAC9B,UAAU,aAAE,IAAI,EAAE,SAAS;AAAA,EAC3B,QAAQ,aAAE,IAAI,EAAE,SAAS;AAAA,EACzB,YAAY,aAAE,IAAI,EAAE,SAAS;AAAA,EAC7B,OAAO,aAAE,IAAI,EAAE,SAAS;AAAA,EACxB,cAAc,aAAE,IAAI,EAAE,SAAS;AAAA,EAC/B,kBAAkB,aAAE,MAAM,aAAE,IAAI,CAAC,EAAE,SAAS;AAAA,EAC5C,iBAAiB,aAAE,MAAM,mBAAmB,EAAE,SAAS,EAAE,SAAS;AAAA,EAClE,2BAA2B,aAAE,OAAO,EAAE,SAAS;AAAA,EAC/C,iCAAiC,aAAE,IAAI,EAAE,SAAS;AAAA,EAClD,MAAM,aAAE,IAAI,EAAE,SAAS;AAAA,EACvB,OAAO,aAAE,IAAI,EAAE,SAAS;AAAA,EACxB,UAAU,aAAE,IAAI,EAAE,SAAS;AAAA,EAC3B,QAAQ,aAAE,IAAI,EAAE,SAAS;AAC3B,CAAC","sourcesContent":["import { z } from \"zod\"\n\nexport const dataSchema = z.object({\n brand: z.string(),\n holder_name: z.string(),\n display_number: z.string(),\n bin: z.string(),\n year: z.number(),\n month: z.number(),\n last_digits: z.string(),\n first_digits: z.string(),\n masked_number: z.string()\n})\n\nexport const paymentMethodSchema = z.object({\n id: z.string(),\n description: z.string(),\n item_type: z.string(),\n data: dataSchema\n})\n\nexport const IuguClientSchema = z.object({\n id: z.string().optional(),\n email: z.string(),\n name: z.string(),\n notes: z.any().optional(),\n created_at: z.string().optional(),\n updated_at: z.string().optional(),\n cc_emails: z.any().optional(),\n cpf_cnpj: z.string().optional(),\n zip_code: z.any().optional(),\n number: z.any().optional(),\n complement: z.any().optional(),\n phone: z.any().optional(),\n phone_prefix: z.any().optional(),\n custom_variables: z.array(z.any()).optional(),\n payment_methods: z.array(paymentMethodSchema).optional().optional(),\n default_payment_method_id: z.string().optional(),\n proxy_payments_from_customer_id: z.any().optional(),\n city: z.any().optional(),\n state: z.any().optional(),\n district: z.any().optional(),\n street: z.any().optional(),\n})\n\nexport type IuguClient = z.infer<typeof IuguClientSchema>\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/model/iugu/iugu-client.ts"],"sourcesContent":["import { z } from \"zod\"\n\nexport const dataSchema = z.object({\n brand: z.string(),\n holder_name: z.string(),\n display_number: z.string(),\n bin: z.string(),\n year: z.number(),\n month: z.number(),\n last_digits: z.string(),\n first_digits: z.string(),\n masked_number: z.string()\n})\n\nexport const paymentMethodSchema = z.object({\n id: z.string(),\n description: z.string(),\n item_type: z.string(),\n data: dataSchema\n})\n\nexport const IuguClientSchema = z.object({\n id: z.string(),\n email: z.string(),\n name: z.string(),\n notes: z.any().optional(),\n created_at: z.string().optional(),\n updated_at: z.string().optional(),\n cc_emails: z.any().optional(),\n cpf_cnpj: z.string().optional(),\n zip_code: z.any().optional(),\n number: z.any().optional(),\n complement: z.any().optional(),\n phone: z.any().optional(),\n phone_prefix: z.any().optional(),\n custom_variables: z.array(z.any()).optional(),\n payment_methods: z.array(paymentMethodSchema).optional().optional(),\n default_payment_method_id: z.string().optional(),\n proxy_payments_from_customer_id: z.any().optional(),\n city: z.any().optional(),\n state: z.any().optional(),\n district: z.any().optional(),\n street: z.any().optional(),\n})\n\nexport type IuguClient = z.infer<typeof IuguClientSchema>\n"],"mappings":";AAAA,SAAS,SAAS;AAEX,IAAM,aAAa,EAAE,OAAO;AAAA,EACjC,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,gBAAgB,EAAE,OAAO;AAAA,EACzB,KAAK,EAAE,OAAO;AAAA,EACd,MAAM,EAAE,OAAO;AAAA,EACf,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,cAAc,EAAE,OAAO;AAAA,EACvB,eAAe,EAAE,OAAO;AAC1B,CAAC;AAEM,IAAM,sBAAsB,EAAE,OAAO;AAAA,EAC1C,IAAI,EAAE,OAAO;AAAA,EACb,aAAa,EAAE,OAAO;AAAA,EACtB,WAAW,EAAE,OAAO;AAAA,EACpB,MAAM;AACR,CAAC;AAEM,IAAM,mBAAmB,EAAE,OAAO;AAAA,EACvC,IAAI,EAAE,OAAO;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../src/model/iugu/iugu-client.ts"],"sourcesContent":["import { z } from \"zod\"\n\nexport const dataSchema = z.object({\n brand: z.string(),\n holder_name: z.string(),\n display_number: z.string(),\n bin: z.string(),\n year: z.number(),\n month: z.number(),\n last_digits: z.string(),\n first_digits: z.string(),\n masked_number: z.string()\n})\n\nexport const paymentMethodSchema = z.object({\n id: z.string(),\n description: z.string(),\n item_type: z.string(),\n data: dataSchema\n})\n\nexport const IuguClientSchema = z.object({\n id: z.string().optional(),\n email: z.string(),\n name: z.string(),\n notes: z.any().optional(),\n created_at: z.string().optional(),\n updated_at: z.string().optional(),\n cc_emails: z.any().optional(),\n cpf_cnpj: z.string().optional(),\n zip_code: z.any().optional(),\n number: z.any().optional(),\n complement: z.any().optional(),\n phone: z.any().optional(),\n phone_prefix: z.any().optional(),\n custom_variables: z.array(z.any()).optional(),\n payment_methods: z.array(paymentMethodSchema).optional().optional(),\n default_payment_method_id: z.string().optional(),\n proxy_payments_from_customer_id: z.any().optional(),\n city: z.any().optional(),\n state: z.any().optional(),\n district: z.any().optional(),\n street: z.any().optional(),\n})\n\nexport type IuguClient = z.infer<typeof IuguClientSchema>\n"],"mappings":";AAAA,SAAS,SAAS;AAEX,IAAM,aAAa,EAAE,OAAO;AAAA,EACjC,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,gBAAgB,EAAE,OAAO;AAAA,EACzB,KAAK,EAAE,OAAO;AAAA,EACd,MAAM,EAAE,OAAO;AAAA,EACf,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,cAAc,EAAE,OAAO;AAAA,EACvB,eAAe,EAAE,OAAO;AAC1B,CAAC;AAEM,IAAM,sBAAsB,EAAE,OAAO;AAAA,EAC1C,IAAI,EAAE,OAAO;AAAA,EACb,aAAa,EAAE,OAAO;AAAA,EACtB,WAAW,EAAE,OAAO;AAAA,EACpB,MAAM;AACR,CAAC;AAEM,IAAM,mBAAmB,EAAE,OAAO;AAAA,EACvC,IAAI,EAAE,OAAO,EAAE,SAAS;AAAA,EACxB,OAAO,EAAE,OAAO;AAAA,EAChB,MAAM,EAAE,OAAO;AAAA,EACf,OAAO,EAAE,IAAI,EAAE,SAAS;AAAA,EACxB,YAAY,EAAE,OAAO,EAAE,SAAS;AAAA,EAChC,YAAY,EAAE,OAAO,EAAE,SAAS;AAAA,EAChC,WAAW,EAAE,IAAI,EAAE,SAAS;AAAA,EAC5B,UAAU,EAAE,OAAO,EAAE,SAAS;AAAA,EAC9B,UAAU,EAAE,IAAI,EAAE,SAAS;AAAA,EAC3B,QAAQ,EAAE,IAAI,EAAE,SAAS;AAAA,EACzB,YAAY,EAAE,IAAI,EAAE,SAAS;AAAA,EAC7B,OAAO,EAAE,IAAI,EAAE,SAAS;AAAA,EACxB,cAAc,EAAE,IAAI,EAAE,SAAS;AAAA,EAC/B,kBAAkB,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS;AAAA,EAC5C,iBAAiB,EAAE,MAAM,mBAAmB,EAAE,SAAS,EAAE,SAAS;AAAA,EAClE,2BAA2B,EAAE,OAAO,EAAE,SAAS;AAAA,EAC/C,iCAAiC,EAAE,IAAI,EAAE,SAAS;AAAA,EAClD,MAAM,EAAE,IAAI,EAAE,SAAS;AAAA,EACvB,OAAO,EAAE,IAAI,EAAE,SAAS;AAAA,EACxB,UAAU,EAAE,IAAI,EAAE,SAAS;AAAA,EAC3B,QAAQ,EAAE,IAAI,EAAE,SAAS;AAC3B,CAAC;","names":[]}
|
package/dist/model/journey.d.mts
CHANGED
|
@@ -82,26 +82,26 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
82
82
|
order?: number | null | undefined;
|
|
83
83
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
84
84
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
85
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
86
85
|
previous?: {
|
|
87
86
|
id?: string | null | undefined;
|
|
88
87
|
order?: number | null | undefined;
|
|
89
88
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
90
89
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
91
90
|
}[] | undefined;
|
|
91
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
title: string;
|
|
94
94
|
id?: string | null | undefined;
|
|
95
95
|
order?: number | null | undefined;
|
|
96
96
|
createAt?: unknown;
|
|
97
97
|
updateAt?: unknown;
|
|
98
|
-
publishOnDate?: unknown;
|
|
99
98
|
previous?: {
|
|
100
99
|
id?: string | null | undefined;
|
|
101
100
|
order?: number | null | undefined;
|
|
102
101
|
createAt?: unknown;
|
|
103
102
|
updateAt?: unknown;
|
|
104
103
|
}[] | undefined;
|
|
104
|
+
publishOnDate?: unknown;
|
|
105
105
|
}>;
|
|
106
106
|
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "file", "audio", "text"]>;
|
|
107
107
|
declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -220,7 +220,6 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
220
220
|
description?: string | undefined;
|
|
221
221
|
}>, "many">;
|
|
222
222
|
}>, "strip", z.ZodTypeAny, {
|
|
223
|
-
title: string;
|
|
224
223
|
activities: {
|
|
225
224
|
title: string;
|
|
226
225
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -232,19 +231,19 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
232
231
|
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
233
232
|
description?: string | undefined;
|
|
234
233
|
}[];
|
|
234
|
+
title: string;
|
|
235
235
|
id?: string | null | undefined;
|
|
236
236
|
order?: number | null | undefined;
|
|
237
237
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
238
238
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
239
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
240
239
|
previous?: {
|
|
241
240
|
id?: string | null | undefined;
|
|
242
241
|
order?: number | null | undefined;
|
|
243
242
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
244
243
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
245
244
|
}[] | undefined;
|
|
245
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
title: string;
|
|
248
247
|
activities: {
|
|
249
248
|
title: string;
|
|
250
249
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -256,17 +255,18 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
256
255
|
publishOnDate?: unknown;
|
|
257
256
|
description?: string | undefined;
|
|
258
257
|
}[];
|
|
258
|
+
title: string;
|
|
259
259
|
id?: string | null | undefined;
|
|
260
260
|
order?: number | null | undefined;
|
|
261
261
|
createAt?: unknown;
|
|
262
262
|
updateAt?: unknown;
|
|
263
|
-
publishOnDate?: unknown;
|
|
264
263
|
previous?: {
|
|
265
264
|
id?: string | null | undefined;
|
|
266
265
|
order?: number | null | undefined;
|
|
267
266
|
createAt?: unknown;
|
|
268
267
|
updateAt?: unknown;
|
|
269
268
|
}[] | undefined;
|
|
269
|
+
publishOnDate?: unknown;
|
|
270
270
|
}>;
|
|
271
271
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
272
272
|
type Activity = z.infer<typeof ActivitySchema>;
|
package/dist/model/journey.d.ts
CHANGED
|
@@ -82,26 +82,26 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
82
82
|
order?: number | null | undefined;
|
|
83
83
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
84
84
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
85
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
86
85
|
previous?: {
|
|
87
86
|
id?: string | null | undefined;
|
|
88
87
|
order?: number | null | undefined;
|
|
89
88
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
90
89
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
91
90
|
}[] | undefined;
|
|
91
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
title: string;
|
|
94
94
|
id?: string | null | undefined;
|
|
95
95
|
order?: number | null | undefined;
|
|
96
96
|
createAt?: unknown;
|
|
97
97
|
updateAt?: unknown;
|
|
98
|
-
publishOnDate?: unknown;
|
|
99
98
|
previous?: {
|
|
100
99
|
id?: string | null | undefined;
|
|
101
100
|
order?: number | null | undefined;
|
|
102
101
|
createAt?: unknown;
|
|
103
102
|
updateAt?: unknown;
|
|
104
103
|
}[] | undefined;
|
|
104
|
+
publishOnDate?: unknown;
|
|
105
105
|
}>;
|
|
106
106
|
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "file", "audio", "text"]>;
|
|
107
107
|
declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -220,7 +220,6 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
220
220
|
description?: string | undefined;
|
|
221
221
|
}>, "many">;
|
|
222
222
|
}>, "strip", z.ZodTypeAny, {
|
|
223
|
-
title: string;
|
|
224
223
|
activities: {
|
|
225
224
|
title: string;
|
|
226
225
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -232,19 +231,19 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
232
231
|
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
233
232
|
description?: string | undefined;
|
|
234
233
|
}[];
|
|
234
|
+
title: string;
|
|
235
235
|
id?: string | null | undefined;
|
|
236
236
|
order?: number | null | undefined;
|
|
237
237
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
238
238
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
239
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
240
239
|
previous?: {
|
|
241
240
|
id?: string | null | undefined;
|
|
242
241
|
order?: number | null | undefined;
|
|
243
242
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
244
243
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
245
244
|
}[] | undefined;
|
|
245
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
title: string;
|
|
248
247
|
activities: {
|
|
249
248
|
title: string;
|
|
250
249
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -256,17 +255,18 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
256
255
|
publishOnDate?: unknown;
|
|
257
256
|
description?: string | undefined;
|
|
258
257
|
}[];
|
|
258
|
+
title: string;
|
|
259
259
|
id?: string | null | undefined;
|
|
260
260
|
order?: number | null | undefined;
|
|
261
261
|
createAt?: unknown;
|
|
262
262
|
updateAt?: unknown;
|
|
263
|
-
publishOnDate?: unknown;
|
|
264
263
|
previous?: {
|
|
265
264
|
id?: string | null | undefined;
|
|
266
265
|
order?: number | null | undefined;
|
|
267
266
|
createAt?: unknown;
|
|
268
267
|
updateAt?: unknown;
|
|
269
268
|
}[] | undefined;
|
|
269
|
+
publishOnDate?: unknown;
|
|
270
270
|
}>;
|
|
271
271
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
272
272
|
type Activity = z.infer<typeof ActivitySchema>;
|
|
@@ -94,6 +94,7 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
94
94
|
updateAt?: unknown;
|
|
95
95
|
}>, "many">;
|
|
96
96
|
}>, "strip", z.ZodTypeAny, {
|
|
97
|
+
completionCounter: number;
|
|
97
98
|
activities: {
|
|
98
99
|
completionPercentage: number;
|
|
99
100
|
id?: string | null | undefined;
|
|
@@ -101,12 +102,12 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
101
102
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
102
103
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
103
104
|
}[];
|
|
104
|
-
completionCounter: number;
|
|
105
105
|
id?: string | null | undefined;
|
|
106
106
|
order?: number | null | undefined;
|
|
107
107
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
108
108
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
completionCounter: number;
|
|
110
111
|
activities: {
|
|
111
112
|
completionPercentage: number;
|
|
112
113
|
id?: string | null | undefined;
|
|
@@ -114,7 +115,6 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
114
115
|
createAt?: unknown;
|
|
115
116
|
updateAt?: unknown;
|
|
116
117
|
}[];
|
|
117
|
-
completionCounter: number;
|
|
118
118
|
id?: string | null | undefined;
|
|
119
119
|
order?: number | null | undefined;
|
|
120
120
|
createAt?: unknown;
|
package/dist/model/purchase.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
94
94
|
updateAt?: unknown;
|
|
95
95
|
}>, "many">;
|
|
96
96
|
}>, "strip", z.ZodTypeAny, {
|
|
97
|
+
completionCounter: number;
|
|
97
98
|
activities: {
|
|
98
99
|
completionPercentage: number;
|
|
99
100
|
id?: string | null | undefined;
|
|
@@ -101,12 +102,12 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
101
102
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
102
103
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
103
104
|
}[];
|
|
104
|
-
completionCounter: number;
|
|
105
105
|
id?: string | null | undefined;
|
|
106
106
|
order?: number | null | undefined;
|
|
107
107
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
108
108
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
completionCounter: number;
|
|
110
111
|
activities: {
|
|
111
112
|
completionPercentage: number;
|
|
112
113
|
id?: string | null | undefined;
|
|
@@ -114,7 +115,6 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
114
115
|
createAt?: unknown;
|
|
115
116
|
updateAt?: unknown;
|
|
116
117
|
}[];
|
|
117
|
-
completionCounter: number;
|
|
118
118
|
id?: string | null | undefined;
|
|
119
119
|
order?: number | null | undefined;
|
|
120
120
|
createAt?: unknown;
|