@cristian-israel/giganet_lib_conecta 1.0.43 → 1.0.44

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
@@ -36800,11 +36800,6 @@ declare class SuOssChamadoResource {
36800
36800
  }): Promise<IxcSuOssChamadoResponse>;
36801
36801
  }
36802
36802
 
36803
- declare class IXCSoftAPIClient extends APIClient {
36804
- readonly ordensDeServico: SuOssChamadoResource;
36805
- constructor(config: APIConfigType);
36806
- }
36807
-
36808
36803
  interface MonthlyFeesForClientInput {
36809
36804
  id_contrato: number | string;
36810
36805
  id_cliente: number | string;
@@ -36822,6 +36817,23 @@ interface MonthlyFeesForClientResponse {
36822
36817
  [key: string]: any;
36823
36818
  }
36824
36819
 
36820
+ declare class MonthlyFeesForClientResource {
36821
+ private readonly client;
36822
+ private readonly endpoint;
36823
+ constructor(client: APIClient);
36824
+ /**
36825
+ * Gera o financeiro para um contrato.
36826
+ * @param data Dados necessários para a geração (id_contrato, id_cliente, tipo)
36827
+ */
36828
+ generate(data: MonthlyFeesForClientInput): Promise<MonthlyFeesForClientResponse>;
36829
+ }
36830
+
36831
+ declare class IXCSoftAPIClient extends APIClient {
36832
+ readonly ordensDeServico: SuOssChamadoResource;
36833
+ readonly monthlyFeesForClient: MonthlyFeesForClientResource;
36834
+ constructor(config: APIConfigType);
36835
+ }
36836
+
36825
36837
  type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
36826
36838
  type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
36827
36839
  type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
package/dist/index.d.ts CHANGED
@@ -36800,11 +36800,6 @@ declare class SuOssChamadoResource {
36800
36800
  }): Promise<IxcSuOssChamadoResponse>;
36801
36801
  }
36802
36802
 
36803
- declare class IXCSoftAPIClient extends APIClient {
36804
- readonly ordensDeServico: SuOssChamadoResource;
36805
- constructor(config: APIConfigType);
36806
- }
36807
-
36808
36803
  interface MonthlyFeesForClientInput {
36809
36804
  id_contrato: number | string;
36810
36805
  id_cliente: number | string;
@@ -36822,6 +36817,23 @@ interface MonthlyFeesForClientResponse {
36822
36817
  [key: string]: any;
36823
36818
  }
36824
36819
 
36820
+ declare class MonthlyFeesForClientResource {
36821
+ private readonly client;
36822
+ private readonly endpoint;
36823
+ constructor(client: APIClient);
36824
+ /**
36825
+ * Gera o financeiro para um contrato.
36826
+ * @param data Dados necessários para a geração (id_contrato, id_cliente, tipo)
36827
+ */
36828
+ generate(data: MonthlyFeesForClientInput): Promise<MonthlyFeesForClientResponse>;
36829
+ }
36830
+
36831
+ declare class IXCSoftAPIClient extends APIClient {
36832
+ readonly ordensDeServico: SuOssChamadoResource;
36833
+ readonly monthlyFeesForClient: MonthlyFeesForClientResource;
36834
+ constructor(config: APIConfigType);
36835
+ }
36836
+
36825
36837
  type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
36826
36838
  type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
36827
36839
  type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
package/dist/index.js CHANGED
@@ -91278,6 +91278,25 @@ var SuOssChamadoResource = class {
91278
91278
  }
91279
91279
  };
91280
91280
 
91281
+ // src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.resource.ts
91282
+ var MonthlyFeesForClientResource = class {
91283
+ constructor(client) {
91284
+ this.client = client;
91285
+ this.endpoint = "/gerar_financeiro_contrato_15314";
91286
+ }
91287
+ /**
91288
+ * Gera o financeiro para um contrato.
91289
+ * @param data Dados necessários para a geração (id_contrato, id_cliente, tipo)
91290
+ */
91291
+ async generate(data) {
91292
+ return this.client.post(this.endpoint, data, {
91293
+ headers: {
91294
+ "Content-Type": "application/json"
91295
+ }
91296
+ });
91297
+ }
91298
+ };
91299
+
91281
91300
  // src/apis/clients/ixc-soft/ixc-soft-api.client.ts
91282
91301
  var IXCSoftAPIClient = class extends APIClient {
91283
91302
  constructor(config) {
@@ -91292,6 +91311,7 @@ var IXCSoftAPIClient = class extends APIClient {
91292
91311
  }
91293
91312
  });
91294
91313
  this.ordensDeServico = new SuOssChamadoResource(this);
91314
+ this.monthlyFeesForClient = new MonthlyFeesForClientResource(this);
91295
91315
  }
91296
91316
  };
91297
91317
 
package/dist/index.mjs CHANGED
@@ -91233,6 +91233,25 @@ var SuOssChamadoResource = class {
91233
91233
  }
91234
91234
  };
91235
91235
 
91236
+ // src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.resource.ts
91237
+ var MonthlyFeesForClientResource = class {
91238
+ constructor(client) {
91239
+ this.client = client;
91240
+ this.endpoint = "/gerar_financeiro_contrato_15314";
91241
+ }
91242
+ /**
91243
+ * Gera o financeiro para um contrato.
91244
+ * @param data Dados necessários para a geração (id_contrato, id_cliente, tipo)
91245
+ */
91246
+ async generate(data) {
91247
+ return this.client.post(this.endpoint, data, {
91248
+ headers: {
91249
+ "Content-Type": "application/json"
91250
+ }
91251
+ });
91252
+ }
91253
+ };
91254
+
91236
91255
  // src/apis/clients/ixc-soft/ixc-soft-api.client.ts
91237
91256
  var IXCSoftAPIClient = class extends APIClient {
91238
91257
  constructor(config) {
@@ -91247,6 +91266,7 @@ var IXCSoftAPIClient = class extends APIClient {
91247
91266
  }
91248
91267
  });
91249
91268
  this.ordensDeServico = new SuOssChamadoResource(this);
91269
+ this.monthlyFeesForClient = new MonthlyFeesForClientResource(this);
91250
91270
  }
91251
91271
  };
91252
91272
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cristian-israel/giganet_lib_conecta",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "Database Connector Layer",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",