@_henriquewilson/gabirubi-domain 1.0.24 → 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.
@@ -98,21 +98,21 @@ 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
- notes: z.ZodAny;
105
- created_at: z.ZodString;
106
- updated_at: z.ZodString;
107
- cc_emails: z.ZodAny;
108
- cpf_cnpj: z.ZodString;
109
- zip_code: z.ZodAny;
110
- number: z.ZodAny;
111
- complement: z.ZodAny;
112
- phone: z.ZodAny;
113
- phone_prefix: z.ZodAny;
114
- custom_variables: z.ZodArray<z.ZodAny, "many">;
115
- payment_methods: z.ZodOptional<z.ZodArray<z.ZodObject<{
104
+ notes: z.ZodOptional<z.ZodAny>;
105
+ created_at: z.ZodOptional<z.ZodString>;
106
+ updated_at: z.ZodOptional<z.ZodString>;
107
+ cc_emails: z.ZodOptional<z.ZodAny>;
108
+ cpf_cnpj: z.ZodOptional<z.ZodString>;
109
+ zip_code: z.ZodOptional<z.ZodAny>;
110
+ number: z.ZodOptional<z.ZodAny>;
111
+ complement: z.ZodOptional<z.ZodAny>;
112
+ phone: z.ZodOptional<z.ZodAny>;
113
+ phone_prefix: z.ZodOptional<z.ZodAny>;
114
+ custom_variables: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
115
+ payment_methods: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
116
116
  id: z.ZodString;
117
117
  description: z.ZodString;
118
118
  item_type: z.ZodString;
@@ -177,29 +177,28 @@ declare const IuguClientSchema: z.ZodObject<{
177
177
  first_digits: string;
178
178
  masked_number: string;
179
179
  };
180
- }>, "many">>;
181
- default_payment_method_id: z.ZodString;
182
- proxy_payments_from_customer_id: z.ZodAny;
183
- city: z.ZodAny;
184
- state: z.ZodAny;
185
- district: z.ZodAny;
186
- street: z.ZodAny;
180
+ }>, "many">>>;
181
+ default_payment_method_id: z.ZodOptional<z.ZodString>;
182
+ proxy_payments_from_customer_id: z.ZodOptional<z.ZodAny>;
183
+ city: z.ZodOptional<z.ZodAny>;
184
+ state: z.ZodOptional<z.ZodAny>;
185
+ district: z.ZodOptional<z.ZodAny>;
186
+ street: z.ZodOptional<z.ZodAny>;
187
187
  }, "strip", z.ZodTypeAny, {
188
- id: string;
189
188
  email: string;
190
189
  name: string;
191
- created_at: string;
192
- updated_at: string;
193
- cpf_cnpj: string;
194
- custom_variables: any[];
195
- default_payment_method_id: string;
196
190
  number?: any;
191
+ id?: string | undefined;
197
192
  notes?: any;
193
+ created_at?: string | undefined;
194
+ updated_at?: string | undefined;
198
195
  cc_emails?: any;
196
+ cpf_cnpj?: string | undefined;
199
197
  zip_code?: any;
200
198
  complement?: any;
201
199
  phone?: any;
202
200
  phone_prefix?: any;
201
+ custom_variables?: any[] | undefined;
203
202
  payment_methods?: {
204
203
  id: string;
205
204
  description: string;
@@ -216,27 +215,27 @@ declare const IuguClientSchema: z.ZodObject<{
216
215
  masked_number: string;
217
216
  };
218
217
  }[] | undefined;
218
+ default_payment_method_id?: string | undefined;
219
219
  proxy_payments_from_customer_id?: any;
220
220
  city?: any;
221
221
  state?: any;
222
222
  district?: any;
223
223
  street?: any;
224
224
  }, {
225
- id: string;
226
225
  email: string;
227
226
  name: string;
228
- created_at: string;
229
- updated_at: string;
230
- cpf_cnpj: string;
231
- custom_variables: any[];
232
- default_payment_method_id: string;
233
227
  number?: any;
228
+ id?: string | undefined;
234
229
  notes?: any;
230
+ created_at?: string | undefined;
231
+ updated_at?: string | undefined;
235
232
  cc_emails?: any;
233
+ cpf_cnpj?: string | undefined;
236
234
  zip_code?: any;
237
235
  complement?: any;
238
236
  phone?: any;
239
237
  phone_prefix?: any;
238
+ custom_variables?: any[] | undefined;
240
239
  payment_methods?: {
241
240
  id: string;
242
241
  description: string;
@@ -253,6 +252,7 @@ declare const IuguClientSchema: z.ZodObject<{
253
252
  masked_number: string;
254
253
  };
255
254
  }[] | undefined;
255
+ default_payment_method_id?: string | undefined;
256
256
  proxy_payments_from_customer_id?: any;
257
257
  city?: any;
258
258
  state?: any;
@@ -98,21 +98,21 @@ 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
- notes: z.ZodAny;
105
- created_at: z.ZodString;
106
- updated_at: z.ZodString;
107
- cc_emails: z.ZodAny;
108
- cpf_cnpj: z.ZodString;
109
- zip_code: z.ZodAny;
110
- number: z.ZodAny;
111
- complement: z.ZodAny;
112
- phone: z.ZodAny;
113
- phone_prefix: z.ZodAny;
114
- custom_variables: z.ZodArray<z.ZodAny, "many">;
115
- payment_methods: z.ZodOptional<z.ZodArray<z.ZodObject<{
104
+ notes: z.ZodOptional<z.ZodAny>;
105
+ created_at: z.ZodOptional<z.ZodString>;
106
+ updated_at: z.ZodOptional<z.ZodString>;
107
+ cc_emails: z.ZodOptional<z.ZodAny>;
108
+ cpf_cnpj: z.ZodOptional<z.ZodString>;
109
+ zip_code: z.ZodOptional<z.ZodAny>;
110
+ number: z.ZodOptional<z.ZodAny>;
111
+ complement: z.ZodOptional<z.ZodAny>;
112
+ phone: z.ZodOptional<z.ZodAny>;
113
+ phone_prefix: z.ZodOptional<z.ZodAny>;
114
+ custom_variables: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
115
+ payment_methods: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
116
116
  id: z.ZodString;
117
117
  description: z.ZodString;
118
118
  item_type: z.ZodString;
@@ -177,29 +177,28 @@ declare const IuguClientSchema: z.ZodObject<{
177
177
  first_digits: string;
178
178
  masked_number: string;
179
179
  };
180
- }>, "many">>;
181
- default_payment_method_id: z.ZodString;
182
- proxy_payments_from_customer_id: z.ZodAny;
183
- city: z.ZodAny;
184
- state: z.ZodAny;
185
- district: z.ZodAny;
186
- street: z.ZodAny;
180
+ }>, "many">>>;
181
+ default_payment_method_id: z.ZodOptional<z.ZodString>;
182
+ proxy_payments_from_customer_id: z.ZodOptional<z.ZodAny>;
183
+ city: z.ZodOptional<z.ZodAny>;
184
+ state: z.ZodOptional<z.ZodAny>;
185
+ district: z.ZodOptional<z.ZodAny>;
186
+ street: z.ZodOptional<z.ZodAny>;
187
187
  }, "strip", z.ZodTypeAny, {
188
- id: string;
189
188
  email: string;
190
189
  name: string;
191
- created_at: string;
192
- updated_at: string;
193
- cpf_cnpj: string;
194
- custom_variables: any[];
195
- default_payment_method_id: string;
196
190
  number?: any;
191
+ id?: string | undefined;
197
192
  notes?: any;
193
+ created_at?: string | undefined;
194
+ updated_at?: string | undefined;
198
195
  cc_emails?: any;
196
+ cpf_cnpj?: string | undefined;
199
197
  zip_code?: any;
200
198
  complement?: any;
201
199
  phone?: any;
202
200
  phone_prefix?: any;
201
+ custom_variables?: any[] | undefined;
203
202
  payment_methods?: {
204
203
  id: string;
205
204
  description: string;
@@ -216,27 +215,27 @@ declare const IuguClientSchema: z.ZodObject<{
216
215
  masked_number: string;
217
216
  };
218
217
  }[] | undefined;
218
+ default_payment_method_id?: string | undefined;
219
219
  proxy_payments_from_customer_id?: any;
220
220
  city?: any;
221
221
  state?: any;
222
222
  district?: any;
223
223
  street?: any;
224
224
  }, {
225
- id: string;
226
225
  email: string;
227
226
  name: string;
228
- created_at: string;
229
- updated_at: string;
230
- cpf_cnpj: string;
231
- custom_variables: any[];
232
- default_payment_method_id: string;
233
227
  number?: any;
228
+ id?: string | undefined;
234
229
  notes?: any;
230
+ created_at?: string | undefined;
231
+ updated_at?: string | undefined;
235
232
  cc_emails?: any;
233
+ cpf_cnpj?: string | undefined;
236
234
  zip_code?: any;
237
235
  complement?: any;
238
236
  phone?: any;
239
237
  phone_prefix?: any;
238
+ custom_variables?: any[] | undefined;
240
239
  payment_methods?: {
241
240
  id: string;
242
241
  description: string;
@@ -253,6 +252,7 @@ declare const IuguClientSchema: z.ZodObject<{
253
252
  masked_number: string;
254
253
  };
255
254
  }[] | undefined;
255
+ default_payment_method_id?: string | undefined;
256
256
  proxy_payments_from_customer_id?: any;
257
257
  city?: any;
258
258
  state?: any;
@@ -78,27 +78,27 @@ 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
- notes: import_zod.z.any(),
85
- created_at: import_zod.z.string(),
86
- updated_at: import_zod.z.string(),
87
- cc_emails: import_zod.z.any(),
88
- cpf_cnpj: import_zod.z.string(),
89
- zip_code: import_zod.z.any(),
90
- number: import_zod.z.any(),
91
- complement: import_zod.z.any(),
92
- phone: import_zod.z.any(),
93
- phone_prefix: import_zod.z.any(),
94
- custom_variables: import_zod.z.array(import_zod.z.any()),
95
- payment_methods: import_zod.z.array(paymentMethodSchema).optional(),
96
- default_payment_method_id: import_zod.z.string(),
97
- proxy_payments_from_customer_id: import_zod.z.any(),
98
- city: import_zod.z.any(),
99
- state: import_zod.z.any(),
100
- district: import_zod.z.any(),
101
- street: import_zod.z.any()
84
+ notes: import_zod.z.any().optional(),
85
+ created_at: import_zod.z.string().optional(),
86
+ updated_at: import_zod.z.string().optional(),
87
+ cc_emails: import_zod.z.any().optional(),
88
+ cpf_cnpj: import_zod.z.string().optional(),
89
+ zip_code: import_zod.z.any().optional(),
90
+ number: import_zod.z.any().optional(),
91
+ complement: import_zod.z.any().optional(),
92
+ phone: import_zod.z.any().optional(),
93
+ phone_prefix: import_zod.z.any().optional(),
94
+ custom_variables: import_zod.z.array(import_zod.z.any()).optional(),
95
+ payment_methods: import_zod.z.array(paymentMethodSchema).optional().optional(),
96
+ default_payment_method_id: import_zod.z.string().optional(),
97
+ proxy_payments_from_customer_id: import_zod.z.any().optional(),
98
+ city: import_zod.z.any().optional(),
99
+ state: import_zod.z.any().optional(),
100
+ district: import_zod.z.any().optional(),
101
+ street: import_zod.z.any().optional()
102
102
  });
103
103
  // Annotate the CommonJS export names for ESM import in node:
104
104
  0 && (module.exports = {
@@ -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,EACb,OAAO,aAAE,OAAO;AAAA,EAChB,MAAM,aAAE,OAAO;AAAA,EACf,OAAO,aAAE,IAAI;AAAA,EACb,YAAY,aAAE,OAAO;AAAA,EACrB,YAAY,aAAE,OAAO;AAAA,EACrB,WAAW,aAAE,IAAI;AAAA,EACjB,UAAU,aAAE,OAAO;AAAA,EACnB,UAAU,aAAE,IAAI;AAAA,EAChB,QAAQ,aAAE,IAAI;AAAA,EACd,YAAY,aAAE,IAAI;AAAA,EAClB,OAAO,aAAE,IAAI;AAAA,EACb,cAAc,aAAE,IAAI;AAAA,EACpB,kBAAkB,aAAE,MAAM,aAAE,IAAI,CAAC;AAAA,EACjC,iBAAiB,aAAE,MAAM,mBAAmB,EAAE,SAAS;AAAA,EACvD,2BAA2B,aAAE,OAAO;AAAA,EACpC,iCAAiC,aAAE,IAAI;AAAA,EACvC,MAAM,aAAE,IAAI;AAAA,EACZ,OAAO,aAAE,IAAI;AAAA,EACb,UAAU,aAAE,IAAI;AAAA,EAChB,QAAQ,aAAE,IAAI;AAChB,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(),\n email: z.string(),\n name: z.string(),\n notes: z.any(),\n created_at: z.string(),\n updated_at: z.string(),\n cc_emails: z.any(),\n cpf_cnpj: z.string(),\n zip_code: z.any(),\n number: z.any(),\n complement: z.any(),\n phone: z.any(),\n phone_prefix: z.any(),\n custom_variables: z.array(z.any()),\n payment_methods: z.array(paymentMethodSchema).optional(),\n default_payment_method_id: z.string(),\n proxy_payments_from_customer_id: z.any(),\n city: z.any(),\n state: z.any(),\n district: z.any(),\n street: z.any()\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,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"]}
@@ -18,27 +18,27 @@ var paymentMethodSchema = z.object({
18
18
  data: dataSchema
19
19
  });
20
20
  var IuguClientSchema = z.object({
21
- id: z.string(),
21
+ id: z.string().optional(),
22
22
  email: z.string(),
23
23
  name: z.string(),
24
- notes: z.any(),
25
- created_at: z.string(),
26
- updated_at: z.string(),
27
- cc_emails: z.any(),
28
- cpf_cnpj: z.string(),
29
- zip_code: z.any(),
30
- number: z.any(),
31
- complement: z.any(),
32
- phone: z.any(),
33
- phone_prefix: z.any(),
34
- custom_variables: z.array(z.any()),
35
- payment_methods: z.array(paymentMethodSchema).optional(),
36
- default_payment_method_id: z.string(),
37
- proxy_payments_from_customer_id: z.any(),
38
- city: z.any(),
39
- state: z.any(),
40
- district: z.any(),
41
- street: z.any()
24
+ notes: z.any().optional(),
25
+ created_at: z.string().optional(),
26
+ updated_at: z.string().optional(),
27
+ cc_emails: z.any().optional(),
28
+ cpf_cnpj: z.string().optional(),
29
+ zip_code: z.any().optional(),
30
+ number: z.any().optional(),
31
+ complement: z.any().optional(),
32
+ phone: z.any().optional(),
33
+ phone_prefix: z.any().optional(),
34
+ custom_variables: z.array(z.any()).optional(),
35
+ payment_methods: z.array(paymentMethodSchema).optional().optional(),
36
+ default_payment_method_id: z.string().optional(),
37
+ proxy_payments_from_customer_id: z.any().optional(),
38
+ city: z.any().optional(),
39
+ state: z.any().optional(),
40
+ district: z.any().optional(),
41
+ street: z.any().optional()
42
42
  });
43
43
  export {
44
44
  IuguClientSchema,
@@ -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(),\n created_at: z.string(),\n updated_at: z.string(),\n cc_emails: z.any(),\n cpf_cnpj: z.string(),\n zip_code: z.any(),\n number: z.any(),\n complement: z.any(),\n phone: z.any(),\n phone_prefix: z.any(),\n custom_variables: z.array(z.any()),\n payment_methods: z.array(paymentMethodSchema).optional(),\n default_payment_method_id: z.string(),\n proxy_payments_from_customer_id: z.any(),\n city: z.any(),\n state: z.any(),\n district: z.any(),\n street: z.any()\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,EACb,OAAO,EAAE,OAAO;AAAA,EAChB,MAAM,EAAE,OAAO;AAAA,EACf,OAAO,EAAE,IAAI;AAAA,EACb,YAAY,EAAE,OAAO;AAAA,EACrB,YAAY,EAAE,OAAO;AAAA,EACrB,WAAW,EAAE,IAAI;AAAA,EACjB,UAAU,EAAE,OAAO;AAAA,EACnB,UAAU,EAAE,IAAI;AAAA,EAChB,QAAQ,EAAE,IAAI;AAAA,EACd,YAAY,EAAE,IAAI;AAAA,EAClB,OAAO,EAAE,IAAI;AAAA,EACb,cAAc,EAAE,IAAI;AAAA,EACpB,kBAAkB,EAAE,MAAM,EAAE,IAAI,CAAC;AAAA,EACjC,iBAAiB,EAAE,MAAM,mBAAmB,EAAE,SAAS;AAAA,EACvD,2BAA2B,EAAE,OAAO;AAAA,EACpC,iCAAiC,EAAE,IAAI;AAAA,EACvC,MAAM,EAAE,IAAI;AAAA,EACZ,OAAO,EAAE,IAAI;AAAA,EACb,UAAU,EAAE,IAAI;AAAA,EAChB,QAAQ,EAAE,IAAI;AAChB,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 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":[]}
@@ -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>;
@@ -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;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_henriquewilson/gabirubi-domain",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "gabirubi domain",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",