@cristian-israel/giganet_lib_conecta 1.0.48 → 1.0.49

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/index.d.mts CHANGED
@@ -36624,6 +36624,16 @@ declare class RoutinesMongoService {
36624
36624
  getCollection<K extends keyof RoutinesMongoCollectionsModels>(key: K): RoutinesMongoCollectionsModels[K];
36625
36625
  }
36626
36626
 
36627
+ declare const IXCSoftResponseSchema: z.ZodObject<{
36628
+ type: z.ZodEnum<{
36629
+ success: "success";
36630
+ error: "error";
36631
+ }>;
36632
+ message: z.ZodString;
36633
+ id: z.ZodOptional<z.ZodString>;
36634
+ }, z.core.$catchall<z.ZodAny>>;
36635
+ type IXCSoftResponse = z.infer<typeof IXCSoftResponseSchema>;
36636
+
36627
36637
  interface SuOssChamadoInput {
36628
36638
  tipo?: string;
36629
36639
  id_ticket?: string;
@@ -37488,15 +37498,7 @@ declare const MonthlyFeesForClientResponseSchema: z.ZodObject<{
37488
37498
  }, z.core.$catchall<z.ZodAny>>;
37489
37499
  type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema>;
37490
37500
 
37491
- declare const IXCSoftResponseSchema: z.ZodObject<{
37492
- type: z.ZodEnum<{
37493
- success: "success";
37494
- error: "error";
37495
- }>;
37496
- message: z.ZodString;
37497
- id: z.ZodOptional<z.ZodString>;
37498
- }, z.core.$catchall<z.ZodAny>>;
37499
-
37501
+ type ixcSoftApi_types_IXCSoftResponse = IXCSoftResponse;
37500
37502
  declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
37501
37503
  type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
37502
37504
  declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
@@ -37506,7 +37508,7 @@ declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof Monthl
37506
37508
  type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
37507
37509
  type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
37508
37510
  declare namespace ixcSoftApi_types {
37509
- export { ixcSoftApi_types_IXCSoftResponseSchema as IXCSoftResponseSchema, type ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_IxcSuOssChamadoResponseSchema as IxcSuOssChamadoResponseSchema, type ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, type ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_MonthlyFeesForClientResponseSchema as MonthlyFeesForClientResponseSchema, type ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, type ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
37511
+ export { type ixcSoftApi_types_IXCSoftResponse as IXCSoftResponse, ixcSoftApi_types_IXCSoftResponseSchema as IXCSoftResponseSchema, type ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_IxcSuOssChamadoResponseSchema as IxcSuOssChamadoResponseSchema, type ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, type ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_MonthlyFeesForClientResponseSchema as MonthlyFeesForClientResponseSchema, type ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, type ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
37510
37512
  }
37511
37513
 
37512
37514
  type APIAuthConfig = {
package/dist/index.d.ts CHANGED
@@ -36624,6 +36624,16 @@ declare class RoutinesMongoService {
36624
36624
  getCollection<K extends keyof RoutinesMongoCollectionsModels>(key: K): RoutinesMongoCollectionsModels[K];
36625
36625
  }
36626
36626
 
36627
+ declare const IXCSoftResponseSchema: z.ZodObject<{
36628
+ type: z.ZodEnum<{
36629
+ success: "success";
36630
+ error: "error";
36631
+ }>;
36632
+ message: z.ZodString;
36633
+ id: z.ZodOptional<z.ZodString>;
36634
+ }, z.core.$catchall<z.ZodAny>>;
36635
+ type IXCSoftResponse = z.infer<typeof IXCSoftResponseSchema>;
36636
+
36627
36637
  interface SuOssChamadoInput {
36628
36638
  tipo?: string;
36629
36639
  id_ticket?: string;
@@ -37488,15 +37498,7 @@ declare const MonthlyFeesForClientResponseSchema: z.ZodObject<{
37488
37498
  }, z.core.$catchall<z.ZodAny>>;
37489
37499
  type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema>;
37490
37500
 
37491
- declare const IXCSoftResponseSchema: z.ZodObject<{
37492
- type: z.ZodEnum<{
37493
- success: "success";
37494
- error: "error";
37495
- }>;
37496
- message: z.ZodString;
37497
- id: z.ZodOptional<z.ZodString>;
37498
- }, z.core.$catchall<z.ZodAny>>;
37499
-
37501
+ type ixcSoftApi_types_IXCSoftResponse = IXCSoftResponse;
37500
37502
  declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
37501
37503
  type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
37502
37504
  declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
@@ -37506,7 +37508,7 @@ declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof Monthl
37506
37508
  type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
37507
37509
  type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
37508
37510
  declare namespace ixcSoftApi_types {
37509
- export { ixcSoftApi_types_IXCSoftResponseSchema as IXCSoftResponseSchema, type ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_IxcSuOssChamadoResponseSchema as IxcSuOssChamadoResponseSchema, type ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, type ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_MonthlyFeesForClientResponseSchema as MonthlyFeesForClientResponseSchema, type ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, type ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
37511
+ export { type ixcSoftApi_types_IXCSoftResponse as IXCSoftResponse, ixcSoftApi_types_IXCSoftResponseSchema as IXCSoftResponseSchema, type ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_IxcSuOssChamadoResponseSchema as IxcSuOssChamadoResponseSchema, type ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, type ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_MonthlyFeesForClientResponseSchema as MonthlyFeesForClientResponseSchema, type ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, type ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
37510
37512
  }
37511
37513
 
37512
37514
  type APIAuthConfig = {
package/dist/index.js CHANGED
@@ -91105,39 +91105,39 @@ __export(ixc_soft_api_types_exports, {
91105
91105
  IxcSuOssChamadoResponseSchema: () => IxcSuOssChamadoResponseSchema,
91106
91106
  MonthlyFeesForClientResponseSchema: () => MonthlyFeesForClientResponseSchema
91107
91107
  });
91108
- var import_zod3 = require("zod");
91109
91108
 
91110
- // src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
91109
+ // src/apis/clients/ixc-soft/ixc-soft-response.schema.ts
91111
91110
  var import_zod = require("zod");
91111
+ var IXCSoftResponseSchema = import_zod.z.object({
91112
+ type: import_zod.z.enum(["success", "error"]),
91113
+ message: import_zod.z.string(),
91114
+ id: import_zod.z.string().optional()
91115
+ }).catchall(import_zod.z.any());
91116
+
91117
+ // src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
91118
+ var import_zod2 = require("zod");
91112
91119
  var IxcSuOssChamadoResponseSchema = IXCSoftResponseSchema.extend(
91113
- import_zod.z.object({
91114
- atualiza_campos: import_zod.z.array(
91115
- import_zod.z.object({
91116
- tipo: import_zod.z.string(),
91117
- campo: import_zod.z.string(),
91118
- valor: import_zod.z.string()
91120
+ import_zod2.z.object({
91121
+ atualiza_campos: import_zod2.z.array(
91122
+ import_zod2.z.object({
91123
+ tipo: import_zod2.z.string(),
91124
+ campo: import_zod2.z.string(),
91125
+ valor: import_zod2.z.string()
91119
91126
  })
91120
91127
  ).optional()
91121
91128
  })
91122
91129
  );
91123
91130
 
91124
91131
  // src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.types.ts
91125
- var import_zod2 = require("zod");
91132
+ var import_zod3 = require("zod");
91126
91133
  var MonthlyFeesForClientResponseSchema = IXCSoftResponseSchema.extend({
91127
- id_contrato: import_zod2.z.union([import_zod2.z.string(), import_zod2.z.number()]).optional(),
91128
- tipo: import_zod2.z.string().optional(),
91129
- id_cliente: import_zod2.z.union([import_zod2.z.string(), import_zod2.z.number()]).optional(),
91130
- id_tipo_documento: import_zod2.z.string().optional(),
91131
- action: import_zod2.z.string().optional()
91134
+ id_contrato: import_zod3.z.union([import_zod3.z.string(), import_zod3.z.number()]).optional(),
91135
+ tipo: import_zod3.z.string().optional(),
91136
+ id_cliente: import_zod3.z.union([import_zod3.z.string(), import_zod3.z.number()]).optional(),
91137
+ id_tipo_documento: import_zod3.z.string().optional(),
91138
+ action: import_zod3.z.string().optional()
91132
91139
  });
91133
91140
 
91134
- // src/apis/clients/ixc-soft/ixc-soft-api.types.ts
91135
- var IXCSoftResponseSchema = import_zod3.z.object({
91136
- type: import_zod3.z.enum(["success", "error"]),
91137
- message: import_zod3.z.string(),
91138
- id: import_zod3.z.string().optional()
91139
- }).catchall(import_zod3.z.any());
91140
-
91141
91141
  // src/apis/core/api-client.ts
91142
91142
  var import_axios = __toESM(require("axios"));
91143
91143
  var https = __toESM(require("https"));
package/dist/index.mjs CHANGED
@@ -91066,39 +91066,39 @@ __export(ixc_soft_api_types_exports, {
91066
91066
  IxcSuOssChamadoResponseSchema: () => IxcSuOssChamadoResponseSchema,
91067
91067
  MonthlyFeesForClientResponseSchema: () => MonthlyFeesForClientResponseSchema
91068
91068
  });
91069
- import { z as z3 } from "zod";
91070
91069
 
91071
- // src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
91070
+ // src/apis/clients/ixc-soft/ixc-soft-response.schema.ts
91072
91071
  import { z } from "zod";
91072
+ var IXCSoftResponseSchema = z.object({
91073
+ type: z.enum(["success", "error"]),
91074
+ message: z.string(),
91075
+ id: z.string().optional()
91076
+ }).catchall(z.any());
91077
+
91078
+ // src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
91079
+ import { z as z2 } from "zod";
91073
91080
  var IxcSuOssChamadoResponseSchema = IXCSoftResponseSchema.extend(
91074
- z.object({
91075
- atualiza_campos: z.array(
91076
- z.object({
91077
- tipo: z.string(),
91078
- campo: z.string(),
91079
- valor: z.string()
91081
+ z2.object({
91082
+ atualiza_campos: z2.array(
91083
+ z2.object({
91084
+ tipo: z2.string(),
91085
+ campo: z2.string(),
91086
+ valor: z2.string()
91080
91087
  })
91081
91088
  ).optional()
91082
91089
  })
91083
91090
  );
91084
91091
 
91085
91092
  // src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.types.ts
91086
- import { z as z2 } from "zod";
91093
+ import { z as z3 } from "zod";
91087
91094
  var MonthlyFeesForClientResponseSchema = IXCSoftResponseSchema.extend({
91088
- id_contrato: z2.union([z2.string(), z2.number()]).optional(),
91089
- tipo: z2.string().optional(),
91090
- id_cliente: z2.union([z2.string(), z2.number()]).optional(),
91091
- id_tipo_documento: z2.string().optional(),
91092
- action: z2.string().optional()
91095
+ id_contrato: z3.union([z3.string(), z3.number()]).optional(),
91096
+ tipo: z3.string().optional(),
91097
+ id_cliente: z3.union([z3.string(), z3.number()]).optional(),
91098
+ id_tipo_documento: z3.string().optional(),
91099
+ action: z3.string().optional()
91093
91100
  });
91094
91101
 
91095
- // src/apis/clients/ixc-soft/ixc-soft-api.types.ts
91096
- var IXCSoftResponseSchema = z3.object({
91097
- type: z3.enum(["success", "error"]),
91098
- message: z3.string(),
91099
- id: z3.string().optional()
91100
- }).catchall(z3.any());
91101
-
91102
91102
  // src/apis/core/api-client.ts
91103
91103
  import axios from "axios";
91104
91104
  import * as https from "https";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cristian-israel/giganet_lib_conecta",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "Database Connector Layer",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",