@_henriquewilson/gabirubi-domain 1.0.26 → 1.0.27
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 +17 -6
- package/dist/model/iugu/iugu-client.d.ts +17 -6
- package/dist/model/iugu/iugu-client.js +9 -3
- package/dist/model/iugu/iugu-client.js.map +1 -1
- package/dist/model/iugu/iugu-client.mjs +6 -3
- 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
|
@@ -97,10 +97,21 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
97
97
|
masked_number: string;
|
|
98
98
|
};
|
|
99
99
|
}>;
|
|
100
|
-
declare const
|
|
101
|
-
id: z.ZodOptional<z.ZodString>;
|
|
100
|
+
declare const MinimalIuguClientSchema: z.ZodObject<{
|
|
102
101
|
email: z.ZodString;
|
|
103
102
|
name: z.ZodString;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
email: string;
|
|
105
|
+
name: string;
|
|
106
|
+
}, {
|
|
107
|
+
email: string;
|
|
108
|
+
name: string;
|
|
109
|
+
}>;
|
|
110
|
+
declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
111
|
+
email: z.ZodString;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
}, {
|
|
114
|
+
id: z.ZodString;
|
|
104
115
|
notes: z.ZodOptional<z.ZodAny>;
|
|
105
116
|
created_at: z.ZodOptional<z.ZodString>;
|
|
106
117
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
@@ -184,11 +195,11 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
184
195
|
state: z.ZodOptional<z.ZodAny>;
|
|
185
196
|
district: z.ZodOptional<z.ZodAny>;
|
|
186
197
|
street: z.ZodOptional<z.ZodAny>;
|
|
187
|
-
}
|
|
198
|
+
}>, "strip", z.ZodTypeAny, {
|
|
199
|
+
id: string;
|
|
188
200
|
email: string;
|
|
189
201
|
name: string;
|
|
190
202
|
number?: any;
|
|
191
|
-
id?: string | undefined;
|
|
192
203
|
notes?: any;
|
|
193
204
|
created_at?: string | undefined;
|
|
194
205
|
updated_at?: string | undefined;
|
|
@@ -222,10 +233,10 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
222
233
|
district?: any;
|
|
223
234
|
street?: any;
|
|
224
235
|
}, {
|
|
236
|
+
id: string;
|
|
225
237
|
email: string;
|
|
226
238
|
name: string;
|
|
227
239
|
number?: any;
|
|
228
|
-
id?: string | undefined;
|
|
229
240
|
notes?: any;
|
|
230
241
|
created_at?: string | undefined;
|
|
231
242
|
updated_at?: string | undefined;
|
|
@@ -261,4 +272,4 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
261
272
|
}>;
|
|
262
273
|
type IuguClient = z.infer<typeof IuguClientSchema>;
|
|
263
274
|
|
|
264
|
-
export { IuguClient, IuguClientSchema, dataSchema, paymentMethodSchema };
|
|
275
|
+
export { IuguClient, IuguClientSchema, MinimalIuguClientSchema, dataSchema, paymentMethodSchema };
|
|
@@ -97,10 +97,21 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
97
97
|
masked_number: string;
|
|
98
98
|
};
|
|
99
99
|
}>;
|
|
100
|
-
declare const
|
|
101
|
-
id: z.ZodOptional<z.ZodString>;
|
|
100
|
+
declare const MinimalIuguClientSchema: z.ZodObject<{
|
|
102
101
|
email: z.ZodString;
|
|
103
102
|
name: z.ZodString;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
email: string;
|
|
105
|
+
name: string;
|
|
106
|
+
}, {
|
|
107
|
+
email: string;
|
|
108
|
+
name: string;
|
|
109
|
+
}>;
|
|
110
|
+
declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
111
|
+
email: z.ZodString;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
}, {
|
|
114
|
+
id: z.ZodString;
|
|
104
115
|
notes: z.ZodOptional<z.ZodAny>;
|
|
105
116
|
created_at: z.ZodOptional<z.ZodString>;
|
|
106
117
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
@@ -184,11 +195,11 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
184
195
|
state: z.ZodOptional<z.ZodAny>;
|
|
185
196
|
district: z.ZodOptional<z.ZodAny>;
|
|
186
197
|
street: z.ZodOptional<z.ZodAny>;
|
|
187
|
-
}
|
|
198
|
+
}>, "strip", z.ZodTypeAny, {
|
|
199
|
+
id: string;
|
|
188
200
|
email: string;
|
|
189
201
|
name: string;
|
|
190
202
|
number?: any;
|
|
191
|
-
id?: string | undefined;
|
|
192
203
|
notes?: any;
|
|
193
204
|
created_at?: string | undefined;
|
|
194
205
|
updated_at?: string | undefined;
|
|
@@ -222,10 +233,10 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
222
233
|
district?: any;
|
|
223
234
|
street?: any;
|
|
224
235
|
}, {
|
|
236
|
+
id: string;
|
|
225
237
|
email: string;
|
|
226
238
|
name: string;
|
|
227
239
|
number?: any;
|
|
228
|
-
id?: string | undefined;
|
|
229
240
|
notes?: any;
|
|
230
241
|
created_at?: string | undefined;
|
|
231
242
|
updated_at?: string | undefined;
|
|
@@ -261,4 +272,4 @@ declare const IuguClientSchema: z.ZodObject<{
|
|
|
261
272
|
}>;
|
|
262
273
|
type IuguClient = z.infer<typeof IuguClientSchema>;
|
|
263
274
|
|
|
264
|
-
export { IuguClient, IuguClientSchema, dataSchema, paymentMethodSchema };
|
|
275
|
+
export { IuguClient, IuguClientSchema, MinimalIuguClientSchema, dataSchema, paymentMethodSchema };
|
|
@@ -51,6 +51,9 @@ __export(iugu_client_exports, {
|
|
|
51
51
|
IuguClientSchema: function() {
|
|
52
52
|
return IuguClientSchema;
|
|
53
53
|
},
|
|
54
|
+
MinimalIuguClientSchema: function() {
|
|
55
|
+
return MinimalIuguClientSchema;
|
|
56
|
+
},
|
|
54
57
|
dataSchema: function() {
|
|
55
58
|
return dataSchema;
|
|
56
59
|
},
|
|
@@ -77,10 +80,12 @@ var paymentMethodSchema = import_zod.z.object({
|
|
|
77
80
|
item_type: import_zod.z.string(),
|
|
78
81
|
data: dataSchema
|
|
79
82
|
});
|
|
80
|
-
var
|
|
81
|
-
id: import_zod.z.string().optional(),
|
|
83
|
+
var MinimalIuguClientSchema = import_zod.z.object({
|
|
82
84
|
email: import_zod.z.string(),
|
|
83
|
-
name: import_zod.z.string()
|
|
85
|
+
name: import_zod.z.string()
|
|
86
|
+
});
|
|
87
|
+
var IuguClientSchema = MinimalIuguClientSchema.extend({
|
|
88
|
+
id: import_zod.z.string(),
|
|
84
89
|
notes: import_zod.z.any().optional(),
|
|
85
90
|
created_at: import_zod.z.string().optional(),
|
|
86
91
|
updated_at: import_zod.z.string().optional(),
|
|
@@ -103,6 +108,7 @@ var IuguClientSchema = import_zod.z.object({
|
|
|
103
108
|
// Annotate the CommonJS export names for ESM import in node:
|
|
104
109
|
0 && (module.exports = {
|
|
105
110
|
IuguClientSchema: IuguClientSchema,
|
|
111
|
+
MinimalIuguClientSchema: MinimalIuguClientSchema,
|
|
106
112
|
dataSchema: dataSchema,
|
|
107
113
|
paymentMethodSchema: paymentMethodSchema
|
|
108
114
|
});
|
|
@@ -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,
|
|
1
|
+
{"version":3,"sources":["../../../src/model/iugu/iugu-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;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,0BAA0B,aAAE,OAAO;AAAA,EAC9C,OAAO,aAAE,OAAO;AAAA,EAChB,MAAM,aAAE,OAAO;AACjB,CAAC;AAEM,IAAM,mBAAmB,wBAAwB,OAAO;AAAA,EAC7D,IAAI,aAAE,OAAO;AAAA,EACb,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 MinimalIuguClientSchema = z.object({\n email: z.string(),\n name: z.string(),\n})\n\nexport const IuguClientSchema = MinimalIuguClientSchema.extend({\n id: 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"]}
|
|
@@ -17,10 +17,12 @@ var paymentMethodSchema = z.object({
|
|
|
17
17
|
item_type: z.string(),
|
|
18
18
|
data: dataSchema
|
|
19
19
|
});
|
|
20
|
-
var
|
|
21
|
-
id: z.string().optional(),
|
|
20
|
+
var MinimalIuguClientSchema = z.object({
|
|
22
21
|
email: z.string(),
|
|
23
|
-
name: z.string()
|
|
22
|
+
name: z.string()
|
|
23
|
+
});
|
|
24
|
+
var IuguClientSchema = MinimalIuguClientSchema.extend({
|
|
25
|
+
id: z.string(),
|
|
24
26
|
notes: z.any().optional(),
|
|
25
27
|
created_at: z.string().optional(),
|
|
26
28
|
updated_at: z.string().optional(),
|
|
@@ -42,6 +44,7 @@ var IuguClientSchema = z.object({
|
|
|
42
44
|
});
|
|
43
45
|
export {
|
|
44
46
|
IuguClientSchema,
|
|
47
|
+
MinimalIuguClientSchema,
|
|
45
48
|
dataSchema,
|
|
46
49
|
paymentMethodSchema
|
|
47
50
|
};
|
|
@@ -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
|
|
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 MinimalIuguClientSchema = z.object({\n email: z.string(),\n name: z.string(),\n})\n\nexport const IuguClientSchema = MinimalIuguClientSchema.extend({\n id: 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,0BAA0B,EAAE,OAAO;AAAA,EAC9C,OAAO,EAAE,OAAO;AAAA,EAChB,MAAM,EAAE,OAAO;AACjB,CAAC;AAEM,IAAM,mBAAmB,wBAAwB,OAAO;AAAA,EAC7D,IAAI,EAAE,OAAO;AAAA,EACb,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;
|
|
85
86
|
previous?: {
|
|
86
87
|
id?: string | null | undefined;
|
|
87
88
|
order?: number | null | undefined;
|
|
88
89
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
89
90
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
90
91
|
}[] | 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;
|
|
98
99
|
previous?: {
|
|
99
100
|
id?: string | null | undefined;
|
|
100
101
|
order?: number | null | undefined;
|
|
101
102
|
createAt?: unknown;
|
|
102
103
|
updateAt?: unknown;
|
|
103
104
|
}[] | 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,6 +220,7 @@ 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;
|
|
223
224
|
activities: {
|
|
224
225
|
title: string;
|
|
225
226
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -231,19 +232,19 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
231
232
|
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
232
233
|
description?: string | undefined;
|
|
233
234
|
}[];
|
|
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;
|
|
239
240
|
previous?: {
|
|
240
241
|
id?: string | null | undefined;
|
|
241
242
|
order?: number | null | undefined;
|
|
242
243
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
243
244
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
244
245
|
}[] | undefined;
|
|
245
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
246
246
|
}, {
|
|
247
|
+
title: string;
|
|
247
248
|
activities: {
|
|
248
249
|
title: string;
|
|
249
250
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -255,18 +256,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
255
256
|
publishOnDate?: unknown;
|
|
256
257
|
description?: string | undefined;
|
|
257
258
|
}[];
|
|
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;
|
|
263
264
|
previous?: {
|
|
264
265
|
id?: string | null | undefined;
|
|
265
266
|
order?: number | null | undefined;
|
|
266
267
|
createAt?: unknown;
|
|
267
268
|
updateAt?: unknown;
|
|
268
269
|
}[] | 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;
|
|
85
86
|
previous?: {
|
|
86
87
|
id?: string | null | undefined;
|
|
87
88
|
order?: number | null | undefined;
|
|
88
89
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
89
90
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
90
91
|
}[] | 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;
|
|
98
99
|
previous?: {
|
|
99
100
|
id?: string | null | undefined;
|
|
100
101
|
order?: number | null | undefined;
|
|
101
102
|
createAt?: unknown;
|
|
102
103
|
updateAt?: unknown;
|
|
103
104
|
}[] | 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,6 +220,7 @@ 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;
|
|
223
224
|
activities: {
|
|
224
225
|
title: string;
|
|
225
226
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -231,19 +232,19 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
231
232
|
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
232
233
|
description?: string | undefined;
|
|
233
234
|
}[];
|
|
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;
|
|
239
240
|
previous?: {
|
|
240
241
|
id?: string | null | undefined;
|
|
241
242
|
order?: number | null | undefined;
|
|
242
243
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
243
244
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
244
245
|
}[] | undefined;
|
|
245
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
246
246
|
}, {
|
|
247
|
+
title: string;
|
|
247
248
|
activities: {
|
|
248
249
|
title: string;
|
|
249
250
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -255,18 +256,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
255
256
|
publishOnDate?: unknown;
|
|
256
257
|
description?: string | undefined;
|
|
257
258
|
}[];
|
|
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;
|
|
263
264
|
previous?: {
|
|
264
265
|
id?: string | null | undefined;
|
|
265
266
|
order?: number | null | undefined;
|
|
266
267
|
createAt?: unknown;
|
|
267
268
|
updateAt?: unknown;
|
|
268
269
|
}[] | undefined;
|
|
269
|
-
publishOnDate?: unknown;
|
|
270
270
|
}>;
|
|
271
271
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
272
272
|
type Activity = z.infer<typeof ActivitySchema>;
|
|
@@ -94,7 +94,6 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
94
94
|
updateAt?: unknown;
|
|
95
95
|
}>, "many">;
|
|
96
96
|
}>, "strip", z.ZodTypeAny, {
|
|
97
|
-
completionCounter: number;
|
|
98
97
|
activities: {
|
|
99
98
|
completionPercentage: number;
|
|
100
99
|
id?: string | null | undefined;
|
|
@@ -102,12 +101,12 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
102
101
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
103
102
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
104
103
|
}[];
|
|
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;
|
|
111
110
|
activities: {
|
|
112
111
|
completionPercentage: number;
|
|
113
112
|
id?: string | null | undefined;
|
|
@@ -115,6 +114,7 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
115
114
|
createAt?: unknown;
|
|
116
115
|
updateAt?: unknown;
|
|
117
116
|
}[];
|
|
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,7 +94,6 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
94
94
|
updateAt?: unknown;
|
|
95
95
|
}>, "many">;
|
|
96
96
|
}>, "strip", z.ZodTypeAny, {
|
|
97
|
-
completionCounter: number;
|
|
98
97
|
activities: {
|
|
99
98
|
completionPercentage: number;
|
|
100
99
|
id?: string | null | undefined;
|
|
@@ -102,12 +101,12 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
102
101
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
103
102
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
104
103
|
}[];
|
|
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;
|
|
111
110
|
activities: {
|
|
112
111
|
completionPercentage: number;
|
|
113
112
|
id?: string | null | undefined;
|
|
@@ -115,6 +114,7 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
115
114
|
createAt?: unknown;
|
|
116
115
|
updateAt?: unknown;
|
|
117
116
|
}[];
|
|
117
|
+
completionCounter: number;
|
|
118
118
|
id?: string | null | undefined;
|
|
119
119
|
order?: number | null | undefined;
|
|
120
120
|
createAt?: unknown;
|