@_henriquewilson/gabirubi-domain 1.0.26 → 1.0.28

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.
@@ -97,10 +97,21 @@ declare const paymentMethodSchema: z.ZodObject<{
97
97
  masked_number: string;
98
98
  };
99
99
  }>;
100
- declare const IuguClientSchema: z.ZodObject<{
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
- }, "strip", z.ZodTypeAny, {
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 IuguClientSchema: z.ZodObject<{
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
- }, "strip", z.ZodTypeAny, {
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 IuguClientSchema = import_zod.z.object({
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,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
+ {"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 IuguClientSchema = z.object({
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 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":[]}
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":[]}
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const PixResultSchema: z.ZodObject<{
4
+ invoice: z.ZodString;
5
+ pix: z.ZodObject<{
6
+ qrcode: z.ZodString;
7
+ qrcode_text: z.ZodString;
8
+ status: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ status: string;
11
+ qrcode: string;
12
+ qrcode_text: string;
13
+ }, {
14
+ status: string;
15
+ qrcode: string;
16
+ qrcode_text: string;
17
+ }>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ invoice: string;
20
+ pix: {
21
+ status: string;
22
+ qrcode: string;
23
+ qrcode_text: string;
24
+ };
25
+ }, {
26
+ invoice: string;
27
+ pix: {
28
+ status: string;
29
+ qrcode: string;
30
+ qrcode_text: string;
31
+ };
32
+ }>;
33
+ type PixResult = z.infer<typeof PixResultSchema>;
34
+
35
+ export { PixResult, PixResultSchema };
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const PixResultSchema: z.ZodObject<{
4
+ invoice: z.ZodString;
5
+ pix: z.ZodObject<{
6
+ qrcode: z.ZodString;
7
+ qrcode_text: z.ZodString;
8
+ status: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ status: string;
11
+ qrcode: string;
12
+ qrcode_text: string;
13
+ }, {
14
+ status: string;
15
+ qrcode: string;
16
+ qrcode_text: string;
17
+ }>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ invoice: string;
20
+ pix: {
21
+ status: string;
22
+ qrcode: string;
23
+ qrcode_text: string;
24
+ };
25
+ }, {
26
+ invoice: string;
27
+ pix: {
28
+ status: string;
29
+ qrcode: string;
30
+ qrcode_text: string;
31
+ };
32
+ }>;
33
+ type PixResult = z.infer<typeof PixResultSchema>;
34
+
35
+ export { PixResult, PixResultSchema };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = function(target, all) {
7
+ for(var name in all)__defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
11
+ };
12
+ var __copyProps = function(to, from, except, desc) {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
15
+ try {
16
+ var _loop = function() {
17
+ var key = _step.value;
18
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
19
+ get: function() {
20
+ return from[key];
21
+ },
22
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
23
+ });
24
+ };
25
+ for(var _iterator = __getOwnPropNames(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
26
+ } catch (err) {
27
+ _didIteratorError = true;
28
+ _iteratorError = err;
29
+ } finally{
30
+ try {
31
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
32
+ _iterator.return();
33
+ }
34
+ } finally{
35
+ if (_didIteratorError) {
36
+ throw _iteratorError;
37
+ }
38
+ }
39
+ }
40
+ }
41
+ return to;
42
+ };
43
+ var __toCommonJS = function(mod) {
44
+ return __copyProps(__defProp({}, "__esModule", {
45
+ value: true
46
+ }), mod);
47
+ };
48
+ // src/model/iugu/iugu-pix.ts
49
+ var iugu_pix_exports = {};
50
+ __export(iugu_pix_exports, {
51
+ PixResultSchema: function() {
52
+ return PixResultSchema;
53
+ }
54
+ });
55
+ module.exports = __toCommonJS(iugu_pix_exports);
56
+ var import_zod = require("zod");
57
+ var PixResultSchema = import_zod.z.object({
58
+ invoice: import_zod.z.string(),
59
+ pix: import_zod.z.object({
60
+ qrcode: import_zod.z.string(),
61
+ qrcode_text: import_zod.z.string(),
62
+ status: import_zod.z.string()
63
+ })
64
+ });
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ PixResultSchema: PixResultSchema
68
+ });
69
+ //# sourceMappingURL=iugu-pix.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/model/iugu/iugu-pix.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,IAAM,kBAAkB,aAAE,OAAO;AAAA,EACtC,SAAS,aAAE,OAAO;AAAA,EAClB,KAAK,aAAE,OAAO;AAAA,IACZ,QAAQ,aAAE,OAAO;AAAA,IACjB,aAAa,aAAE,OAAO;AAAA,IACtB,QAAQ,aAAE,OAAO;AAAA,EACnB,CAAC;AACH,CAAC","sourcesContent":["import { z } from \"zod\"\n\nexport const PixResultSchema = z.object({\n invoice: z.string(),\n pix: z.object({\n qrcode: z.string(),\n qrcode_text: z.string(),\n status: z.string(),\n })\n})\n\nexport type PixResult = z.infer<typeof PixResultSchema>\n"]}
@@ -0,0 +1,14 @@
1
+ // src/model/iugu/iugu-pix.ts
2
+ import { z } from "zod";
3
+ var PixResultSchema = z.object({
4
+ invoice: z.string(),
5
+ pix: z.object({
6
+ qrcode: z.string(),
7
+ qrcode_text: z.string(),
8
+ status: z.string()
9
+ })
10
+ });
11
+ export {
12
+ PixResultSchema
13
+ };
14
+ //# sourceMappingURL=iugu-pix.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/model/iugu/iugu-pix.ts"],"sourcesContent":["import { z } from \"zod\"\n\nexport const PixResultSchema = z.object({\n invoice: z.string(),\n pix: z.object({\n qrcode: z.string(),\n qrcode_text: z.string(),\n status: z.string(),\n })\n})\n\nexport type PixResult = z.infer<typeof PixResultSchema>\n"],"mappings":";AAAA,SAAS,SAAS;AAEX,IAAM,kBAAkB,EAAE,OAAO;AAAA,EACtC,SAAS,EAAE,OAAO;AAAA,EAClB,KAAK,EAAE,OAAO;AAAA,IACZ,QAAQ,EAAE,OAAO;AAAA,IACjB,aAAa,EAAE,OAAO;AAAA,IACtB,QAAQ,EAAE,OAAO;AAAA,EACnB,CAAC;AACH,CAAC;","names":[]}
@@ -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>;
@@ -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;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_henriquewilson/gabirubi-domain",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "gabirubi domain",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",