@_henriquewilson/gabirubi-domain 1.0.78 → 1.0.79
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/integrada/order.d.mts +88 -1
- package/dist/model/integrada/order.d.ts +88 -1
- package/dist/model/integrada/order.js +13 -1
- package/dist/model/integrada/order.js.map +1 -1
- package/dist/model/integrada/order.mjs +10 -1
- package/dist/model/integrada/order.mjs.map +1 -1
- package/dist/model/journey.d.mts +18 -18
- package/dist/model/journey.d.ts +18 -18
- package/dist/model/subscription.model.d.mts +8 -8
- package/dist/model/subscription.model.d.ts +8 -8
- package/dist/model/user.model.d.mts +4 -4
- package/dist/model/user.model.d.ts +4 -4
- package/package.json +1 -1
|
@@ -501,6 +501,38 @@ declare const pagamentoSchema: z.ZodObject<{
|
|
|
501
501
|
pix_code?: any;
|
|
502
502
|
pix_qrcode?: any;
|
|
503
503
|
}>;
|
|
504
|
+
declare const CustomShippingInfoSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
506
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
507
|
+
createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
508
|
+
updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
509
|
+
}, {
|
|
510
|
+
weight: z.ZodNumber;
|
|
511
|
+
height: z.ZodNumber;
|
|
512
|
+
length: z.ZodNumber;
|
|
513
|
+
width: z.ZodNumber;
|
|
514
|
+
name: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}>, "strip", z.ZodTypeAny, {
|
|
516
|
+
length: number;
|
|
517
|
+
weight: number;
|
|
518
|
+
height: number;
|
|
519
|
+
width: number;
|
|
520
|
+
id?: string | null | undefined;
|
|
521
|
+
order?: number | null | undefined;
|
|
522
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
523
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
524
|
+
name?: string | undefined;
|
|
525
|
+
}, {
|
|
526
|
+
length: number;
|
|
527
|
+
weight: number;
|
|
528
|
+
height: number;
|
|
529
|
+
width: number;
|
|
530
|
+
id?: string | null | undefined;
|
|
531
|
+
order?: number | null | undefined;
|
|
532
|
+
createAt?: unknown;
|
|
533
|
+
updateAt?: unknown;
|
|
534
|
+
name?: string | undefined;
|
|
535
|
+
}>;
|
|
504
536
|
declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
537
|
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
506
538
|
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -930,6 +962,38 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
930
962
|
valor_subtotal: z.ZodString;
|
|
931
963
|
valor_total: z.ZodString;
|
|
932
964
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
965
|
+
customShippingInfo: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
966
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
967
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
968
|
+
createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
969
|
+
updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
970
|
+
}, {
|
|
971
|
+
weight: z.ZodNumber;
|
|
972
|
+
height: z.ZodNumber;
|
|
973
|
+
length: z.ZodNumber;
|
|
974
|
+
width: z.ZodNumber;
|
|
975
|
+
name: z.ZodOptional<z.ZodString>;
|
|
976
|
+
}>, "strip", z.ZodTypeAny, {
|
|
977
|
+
length: number;
|
|
978
|
+
weight: number;
|
|
979
|
+
height: number;
|
|
980
|
+
width: number;
|
|
981
|
+
id?: string | null | undefined;
|
|
982
|
+
order?: number | null | undefined;
|
|
983
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
984
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
985
|
+
name?: string | undefined;
|
|
986
|
+
}, {
|
|
987
|
+
length: number;
|
|
988
|
+
weight: number;
|
|
989
|
+
height: number;
|
|
990
|
+
width: number;
|
|
991
|
+
id?: string | null | undefined;
|
|
992
|
+
order?: number | null | undefined;
|
|
993
|
+
createAt?: unknown;
|
|
994
|
+
updateAt?: unknown;
|
|
995
|
+
name?: string | undefined;
|
|
996
|
+
}>>;
|
|
933
997
|
}>, "strip", z.ZodTypeAny, {
|
|
934
998
|
resource_uri: string;
|
|
935
999
|
numero: number;
|
|
@@ -1072,6 +1136,17 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1072
1136
|
integration_data?: any;
|
|
1073
1137
|
utm_campaign?: any;
|
|
1074
1138
|
tags?: string[] | undefined;
|
|
1139
|
+
customShippingInfo?: {
|
|
1140
|
+
length: number;
|
|
1141
|
+
weight: number;
|
|
1142
|
+
height: number;
|
|
1143
|
+
width: number;
|
|
1144
|
+
id?: string | null | undefined;
|
|
1145
|
+
order?: number | null | undefined;
|
|
1146
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1147
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1148
|
+
name?: string | undefined;
|
|
1149
|
+
} | undefined;
|
|
1075
1150
|
}, {
|
|
1076
1151
|
resource_uri: string;
|
|
1077
1152
|
numero: number;
|
|
@@ -1214,9 +1289,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1214
1289
|
integration_data?: any;
|
|
1215
1290
|
utm_campaign?: any;
|
|
1216
1291
|
tags?: string[] | undefined;
|
|
1292
|
+
customShippingInfo?: {
|
|
1293
|
+
length: number;
|
|
1294
|
+
weight: number;
|
|
1295
|
+
height: number;
|
|
1296
|
+
width: number;
|
|
1297
|
+
id?: string | null | undefined;
|
|
1298
|
+
order?: number | null | undefined;
|
|
1299
|
+
createAt?: unknown;
|
|
1300
|
+
updateAt?: unknown;
|
|
1301
|
+
name?: string | undefined;
|
|
1302
|
+
} | undefined;
|
|
1217
1303
|
}>;
|
|
1304
|
+
type CustomShippingInfo = z.infer<typeof CustomShippingInfoSchema>;
|
|
1218
1305
|
type Order = z.infer<typeof OrderSchema>;
|
|
1219
1306
|
type Item = z.infer<typeof ItemSchema>;
|
|
1220
1307
|
type OrderStatus = z.infer<typeof SituacaoSchema>;
|
|
1221
1308
|
|
|
1222
|
-
export { Item, ItemSchema, Order, OrderSchema, OrderStatus, SituacaoSchema, clienteSchema, configuracoesSchema, enderecoEntregaSchema, envioSchema, formaEnvioSchema, formaPagamentoSchema, kitsSchema, pagamentoSchema, parcelamentoSchema, variacaoSchema };
|
|
1309
|
+
export { CustomShippingInfo, CustomShippingInfoSchema, Item, ItemSchema, Order, OrderSchema, OrderStatus, SituacaoSchema, clienteSchema, configuracoesSchema, enderecoEntregaSchema, envioSchema, formaEnvioSchema, formaPagamentoSchema, kitsSchema, pagamentoSchema, parcelamentoSchema, variacaoSchema };
|
|
@@ -501,6 +501,38 @@ declare const pagamentoSchema: z.ZodObject<{
|
|
|
501
501
|
pix_code?: any;
|
|
502
502
|
pix_qrcode?: any;
|
|
503
503
|
}>;
|
|
504
|
+
declare const CustomShippingInfoSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
506
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
507
|
+
createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
508
|
+
updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
509
|
+
}, {
|
|
510
|
+
weight: z.ZodNumber;
|
|
511
|
+
height: z.ZodNumber;
|
|
512
|
+
length: z.ZodNumber;
|
|
513
|
+
width: z.ZodNumber;
|
|
514
|
+
name: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}>, "strip", z.ZodTypeAny, {
|
|
516
|
+
length: number;
|
|
517
|
+
weight: number;
|
|
518
|
+
height: number;
|
|
519
|
+
width: number;
|
|
520
|
+
id?: string | null | undefined;
|
|
521
|
+
order?: number | null | undefined;
|
|
522
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
523
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
524
|
+
name?: string | undefined;
|
|
525
|
+
}, {
|
|
526
|
+
length: number;
|
|
527
|
+
weight: number;
|
|
528
|
+
height: number;
|
|
529
|
+
width: number;
|
|
530
|
+
id?: string | null | undefined;
|
|
531
|
+
order?: number | null | undefined;
|
|
532
|
+
createAt?: unknown;
|
|
533
|
+
updateAt?: unknown;
|
|
534
|
+
name?: string | undefined;
|
|
535
|
+
}>;
|
|
504
536
|
declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
537
|
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
506
538
|
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -930,6 +962,38 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
930
962
|
valor_subtotal: z.ZodString;
|
|
931
963
|
valor_total: z.ZodString;
|
|
932
964
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
965
|
+
customShippingInfo: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
966
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
967
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
968
|
+
createAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
969
|
+
updateAt: z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>;
|
|
970
|
+
}, {
|
|
971
|
+
weight: z.ZodNumber;
|
|
972
|
+
height: z.ZodNumber;
|
|
973
|
+
length: z.ZodNumber;
|
|
974
|
+
width: z.ZodNumber;
|
|
975
|
+
name: z.ZodOptional<z.ZodString>;
|
|
976
|
+
}>, "strip", z.ZodTypeAny, {
|
|
977
|
+
length: number;
|
|
978
|
+
weight: number;
|
|
979
|
+
height: number;
|
|
980
|
+
width: number;
|
|
981
|
+
id?: string | null | undefined;
|
|
982
|
+
order?: number | null | undefined;
|
|
983
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
984
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
985
|
+
name?: string | undefined;
|
|
986
|
+
}, {
|
|
987
|
+
length: number;
|
|
988
|
+
weight: number;
|
|
989
|
+
height: number;
|
|
990
|
+
width: number;
|
|
991
|
+
id?: string | null | undefined;
|
|
992
|
+
order?: number | null | undefined;
|
|
993
|
+
createAt?: unknown;
|
|
994
|
+
updateAt?: unknown;
|
|
995
|
+
name?: string | undefined;
|
|
996
|
+
}>>;
|
|
933
997
|
}>, "strip", z.ZodTypeAny, {
|
|
934
998
|
resource_uri: string;
|
|
935
999
|
numero: number;
|
|
@@ -1072,6 +1136,17 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1072
1136
|
integration_data?: any;
|
|
1073
1137
|
utm_campaign?: any;
|
|
1074
1138
|
tags?: string[] | undefined;
|
|
1139
|
+
customShippingInfo?: {
|
|
1140
|
+
length: number;
|
|
1141
|
+
weight: number;
|
|
1142
|
+
height: number;
|
|
1143
|
+
width: number;
|
|
1144
|
+
id?: string | null | undefined;
|
|
1145
|
+
order?: number | null | undefined;
|
|
1146
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1147
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
1148
|
+
name?: string | undefined;
|
|
1149
|
+
} | undefined;
|
|
1075
1150
|
}, {
|
|
1076
1151
|
resource_uri: string;
|
|
1077
1152
|
numero: number;
|
|
@@ -1214,9 +1289,21 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1214
1289
|
integration_data?: any;
|
|
1215
1290
|
utm_campaign?: any;
|
|
1216
1291
|
tags?: string[] | undefined;
|
|
1292
|
+
customShippingInfo?: {
|
|
1293
|
+
length: number;
|
|
1294
|
+
weight: number;
|
|
1295
|
+
height: number;
|
|
1296
|
+
width: number;
|
|
1297
|
+
id?: string | null | undefined;
|
|
1298
|
+
order?: number | null | undefined;
|
|
1299
|
+
createAt?: unknown;
|
|
1300
|
+
updateAt?: unknown;
|
|
1301
|
+
name?: string | undefined;
|
|
1302
|
+
} | undefined;
|
|
1217
1303
|
}>;
|
|
1304
|
+
type CustomShippingInfo = z.infer<typeof CustomShippingInfoSchema>;
|
|
1218
1305
|
type Order = z.infer<typeof OrderSchema>;
|
|
1219
1306
|
type Item = z.infer<typeof ItemSchema>;
|
|
1220
1307
|
type OrderStatus = z.infer<typeof SituacaoSchema>;
|
|
1221
1308
|
|
|
1222
|
-
export { Item, ItemSchema, Order, OrderSchema, OrderStatus, SituacaoSchema, clienteSchema, configuracoesSchema, enderecoEntregaSchema, envioSchema, formaEnvioSchema, formaPagamentoSchema, kitsSchema, pagamentoSchema, parcelamentoSchema, variacaoSchema };
|
|
1309
|
+
export { CustomShippingInfo, CustomShippingInfoSchema, Item, ItemSchema, Order, OrderSchema, OrderStatus, SituacaoSchema, clienteSchema, configuracoesSchema, enderecoEntregaSchema, envioSchema, formaEnvioSchema, formaPagamentoSchema, kitsSchema, pagamentoSchema, parcelamentoSchema, variacaoSchema };
|
|
@@ -186763,6 +186763,9 @@ var require_src11 = __commonJS({
|
|
|
186763
186763
|
// src/model/integrada/order.ts
|
|
186764
186764
|
var order_exports = {};
|
|
186765
186765
|
__export(order_exports, {
|
|
186766
|
+
CustomShippingInfoSchema: function() {
|
|
186767
|
+
return CustomShippingInfoSchema;
|
|
186768
|
+
},
|
|
186766
186769
|
ItemSchema: function() {
|
|
186767
186770
|
return ItemSchema;
|
|
186768
186771
|
},
|
|
@@ -186952,6 +186955,13 @@ var pagamentoSchema = import_zod3.z.object({
|
|
|
186952
186955
|
valor: import_zod3.z.string(),
|
|
186953
186956
|
valor_pago: import_zod3.z.string()
|
|
186954
186957
|
});
|
|
186958
|
+
var CustomShippingInfoSchema = ModelSchema.extend({
|
|
186959
|
+
weight: import_zod3.z.number(),
|
|
186960
|
+
height: import_zod3.z.number(),
|
|
186961
|
+
length: import_zod3.z.number(),
|
|
186962
|
+
width: import_zod3.z.number(),
|
|
186963
|
+
name: import_zod3.z.string().optional()
|
|
186964
|
+
});
|
|
186955
186965
|
var OrderSchema = ModelSchema.extend({
|
|
186956
186966
|
cliente: clienteSchema,
|
|
186957
186967
|
cliente_obs: import_zod3.z.any(),
|
|
@@ -186977,10 +186987,12 @@ var OrderSchema = ModelSchema.extend({
|
|
|
186977
186987
|
valor_envio: import_zod3.z.string(),
|
|
186978
186988
|
valor_subtotal: import_zod3.z.string(),
|
|
186979
186989
|
valor_total: import_zod3.z.string(),
|
|
186980
|
-
tags: import_zod3.z.string().array().optional()
|
|
186990
|
+
tags: import_zod3.z.string().array().optional(),
|
|
186991
|
+
customShippingInfo: CustomShippingInfoSchema.optional()
|
|
186981
186992
|
});
|
|
186982
186993
|
// Annotate the CommonJS export names for ESM import in node:
|
|
186983
186994
|
0 && (module.exports = {
|
|
186995
|
+
CustomShippingInfoSchema: CustomShippingInfoSchema,
|
|
186984
186996
|
ItemSchema: ItemSchema,
|
|
186985
186997
|
OrderSchema: OrderSchema,
|
|
186986
186998
|
SituacaoSchema: SituacaoSchema,
|