@cristian-israel/giganet_lib_conecta 1.0.52 → 1.0.53
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 +101 -101
- package/dist/index.d.ts +101 -101
- package/dist/index.js +42 -42
- package/dist/index.mjs +42 -42
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { Model, Optional, Sequelize as Sequelize$1, Attributes } from 'sequelize
|
|
|
3
3
|
import * as mongoose from 'mongoose';
|
|
4
4
|
import { Model as Model$1, InferSchemaType, HydratedDocument, Schema, Types } from 'mongoose';
|
|
5
5
|
import * as bson from 'bson';
|
|
6
|
-
import { z } from 'zod';
|
|
7
6
|
import { AxiosRequestConfig, AxiosInstance } from 'axios';
|
|
7
|
+
import { z } from 'zod';
|
|
8
8
|
|
|
9
9
|
type LogLevel = "INFO" | "ERROR" | "WARN";
|
|
10
10
|
type LoggerParams = {
|
|
@@ -36624,15 +36624,51 @@ declare class RoutinesMongoService {
|
|
|
36624
36624
|
getCollection<K extends keyof RoutinesMongoCollectionsModels>(key: K): RoutinesMongoCollectionsModels[K];
|
|
36625
36625
|
}
|
|
36626
36626
|
|
|
36627
|
-
|
|
36628
|
-
type:
|
|
36629
|
-
|
|
36630
|
-
|
|
36631
|
-
|
|
36632
|
-
|
|
36633
|
-
|
|
36634
|
-
|
|
36635
|
-
|
|
36627
|
+
type APIAuthConfig = {
|
|
36628
|
+
type: "bearer";
|
|
36629
|
+
token: string;
|
|
36630
|
+
} | {
|
|
36631
|
+
type: "basic";
|
|
36632
|
+
credentials: string;
|
|
36633
|
+
} | {
|
|
36634
|
+
type: "basic-raw";
|
|
36635
|
+
username: string;
|
|
36636
|
+
password?: string;
|
|
36637
|
+
} | {
|
|
36638
|
+
type: "none";
|
|
36639
|
+
};
|
|
36640
|
+
interface APIClientConfig {
|
|
36641
|
+
baseURL: string;
|
|
36642
|
+
auth: APIAuthConfig;
|
|
36643
|
+
timeout?: number;
|
|
36644
|
+
rejectUnauthorized?: boolean;
|
|
36645
|
+
/** Interceptor customizado de request — ex: adicionar headers extras */
|
|
36646
|
+
onRequest?: (config: AxiosRequestConfig) => AxiosRequestConfig;
|
|
36647
|
+
/** Interceptor customizado de erro — ex: logging específico do client */
|
|
36648
|
+
onError?: (error: APIClientError) => never;
|
|
36649
|
+
}
|
|
36650
|
+
interface APIClientError {
|
|
36651
|
+
status: number | null;
|
|
36652
|
+
message: string;
|
|
36653
|
+
raw: unknown;
|
|
36654
|
+
}
|
|
36655
|
+
interface APIConfigType {
|
|
36656
|
+
baseURL: string;
|
|
36657
|
+
token?: string;
|
|
36658
|
+
}
|
|
36659
|
+
|
|
36660
|
+
declare class APIClient {
|
|
36661
|
+
private readonly config;
|
|
36662
|
+
protected readonly http: AxiosInstance;
|
|
36663
|
+
constructor(config: APIClientConfig);
|
|
36664
|
+
private applyAuthInterceptor;
|
|
36665
|
+
private applyErrorInterceptor;
|
|
36666
|
+
get<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
36667
|
+
post<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
36668
|
+
put<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
36669
|
+
patch<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
36670
|
+
delete<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
36671
|
+
}
|
|
36636
36672
|
|
|
36637
36673
|
interface SuOssChamadoInput {
|
|
36638
36674
|
tipo?: string;
|
|
@@ -37158,9 +37194,9 @@ declare const IxcSuOssChamadoResponseSchema: z.ZodObject<{
|
|
|
37158
37194
|
}[] | undefined;
|
|
37159
37195
|
}) => unknown | Promise<unknown>>(check: Ch, params?: string | {
|
|
37160
37196
|
path?: PropertyKey[] | undefined | undefined;
|
|
37197
|
+
params?: Record<string, any> | undefined;
|
|
37161
37198
|
abort?: boolean | undefined | undefined;
|
|
37162
37199
|
when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
|
|
37163
|
-
params?: Record<string, any> | undefined;
|
|
37164
37200
|
error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
|
|
37165
37201
|
message?: string | undefined | undefined;
|
|
37166
37202
|
} | undefined) => Ch extends (arg: any) => arg is infer R ? z.ZodObject<{
|
|
@@ -37478,85 +37514,6 @@ declare const IxcSuOssChamadoResponseSchema: z.ZodObject<{
|
|
|
37478
37514
|
}, z.core.$strip>;
|
|
37479
37515
|
type IxcSuOssChamadoResponse = z.infer<typeof IxcSuOssChamadoResponseSchema> & Record<string, any>;
|
|
37480
37516
|
|
|
37481
|
-
interface MonthlyFeesForClientInput {
|
|
37482
|
-
id_contrato: number | string;
|
|
37483
|
-
id_cliente: number | string;
|
|
37484
|
-
tipo: string;
|
|
37485
|
-
}
|
|
37486
|
-
declare const MonthlyFeesForClientResponseSchema: z.ZodObject<{
|
|
37487
|
-
type: z.ZodEnum<{
|
|
37488
|
-
success: "success";
|
|
37489
|
-
error: "error";
|
|
37490
|
-
}>;
|
|
37491
|
-
message: z.ZodString;
|
|
37492
|
-
id: z.ZodOptional<z.ZodString>;
|
|
37493
|
-
id_contrato: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37494
|
-
tipo: z.ZodOptional<z.ZodString>;
|
|
37495
|
-
id_cliente: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37496
|
-
id_tipo_documento: z.ZodOptional<z.ZodString>;
|
|
37497
|
-
action: z.ZodOptional<z.ZodString>;
|
|
37498
|
-
}, z.core.$strip>;
|
|
37499
|
-
type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema> & Record<string, any>;
|
|
37500
|
-
|
|
37501
|
-
type ixcSoftApi_types_IXCSoftResponse = IXCSoftResponse;
|
|
37502
|
-
declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
|
|
37503
|
-
type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
|
|
37504
|
-
declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
|
|
37505
|
-
type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
|
|
37506
|
-
type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
|
|
37507
|
-
declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof MonthlyFeesForClientResponseSchema;
|
|
37508
|
-
type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
|
|
37509
|
-
type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
|
|
37510
|
-
declare namespace ixcSoftApi_types {
|
|
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 };
|
|
37512
|
-
}
|
|
37513
|
-
|
|
37514
|
-
type APIAuthConfig = {
|
|
37515
|
-
type: "bearer";
|
|
37516
|
-
token: string;
|
|
37517
|
-
} | {
|
|
37518
|
-
type: "basic";
|
|
37519
|
-
credentials: string;
|
|
37520
|
-
} | {
|
|
37521
|
-
type: "basic-raw";
|
|
37522
|
-
username: string;
|
|
37523
|
-
password?: string;
|
|
37524
|
-
} | {
|
|
37525
|
-
type: "none";
|
|
37526
|
-
};
|
|
37527
|
-
interface APIClientConfig {
|
|
37528
|
-
baseURL: string;
|
|
37529
|
-
auth: APIAuthConfig;
|
|
37530
|
-
timeout?: number;
|
|
37531
|
-
rejectUnauthorized?: boolean;
|
|
37532
|
-
/** Interceptor customizado de request — ex: adicionar headers extras */
|
|
37533
|
-
onRequest?: (config: AxiosRequestConfig) => AxiosRequestConfig;
|
|
37534
|
-
/** Interceptor customizado de erro — ex: logging específico do client */
|
|
37535
|
-
onError?: (error: APIClientError) => never;
|
|
37536
|
-
}
|
|
37537
|
-
interface APIClientError {
|
|
37538
|
-
status: number | null;
|
|
37539
|
-
message: string;
|
|
37540
|
-
raw: unknown;
|
|
37541
|
-
}
|
|
37542
|
-
interface APIConfigType {
|
|
37543
|
-
baseURL: string;
|
|
37544
|
-
token?: string;
|
|
37545
|
-
}
|
|
37546
|
-
|
|
37547
|
-
declare class APIClient {
|
|
37548
|
-
private readonly config;
|
|
37549
|
-
protected readonly http: AxiosInstance;
|
|
37550
|
-
constructor(config: APIClientConfig);
|
|
37551
|
-
private applyAuthInterceptor;
|
|
37552
|
-
private applyErrorInterceptor;
|
|
37553
|
-
get<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
37554
|
-
post<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
37555
|
-
put<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
37556
|
-
patch<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
37557
|
-
delete<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
37558
|
-
}
|
|
37559
|
-
|
|
37560
37517
|
declare class SuOssChamadoResource {
|
|
37561
37518
|
private readonly client;
|
|
37562
37519
|
private readonly endpoint;
|
|
@@ -37594,6 +37551,26 @@ declare class SuOssChamadoResource {
|
|
|
37594
37551
|
}): Promise<IxcSuOssChamadoResponse>;
|
|
37595
37552
|
}
|
|
37596
37553
|
|
|
37554
|
+
interface MonthlyFeesForClientInput {
|
|
37555
|
+
id_contrato: number | string;
|
|
37556
|
+
id_cliente: number | string;
|
|
37557
|
+
tipo: string;
|
|
37558
|
+
}
|
|
37559
|
+
declare const MonthlyFeesForClientResponseSchema: z.ZodObject<{
|
|
37560
|
+
type: z.ZodEnum<{
|
|
37561
|
+
success: "success";
|
|
37562
|
+
error: "error";
|
|
37563
|
+
}>;
|
|
37564
|
+
message: z.ZodString;
|
|
37565
|
+
id: z.ZodOptional<z.ZodString>;
|
|
37566
|
+
id_contrato: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37567
|
+
tipo: z.ZodOptional<z.ZodString>;
|
|
37568
|
+
id_cliente: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37569
|
+
id_tipo_documento: z.ZodOptional<z.ZodString>;
|
|
37570
|
+
action: z.ZodOptional<z.ZodString>;
|
|
37571
|
+
}, z.core.$strip>;
|
|
37572
|
+
type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema> & Record<string, any>;
|
|
37573
|
+
|
|
37597
37574
|
declare class MonthlyFeesForClientResource {
|
|
37598
37575
|
private readonly client;
|
|
37599
37576
|
private readonly endpoint;
|
|
@@ -37611,6 +37588,29 @@ declare class IXCSoftAPIClient extends APIClient {
|
|
|
37611
37588
|
constructor(config: APIConfigType);
|
|
37612
37589
|
}
|
|
37613
37590
|
|
|
37591
|
+
declare const IXCSoftResponseSchema: z.ZodObject<{
|
|
37592
|
+
type: z.ZodEnum<{
|
|
37593
|
+
success: "success";
|
|
37594
|
+
error: "error";
|
|
37595
|
+
}>;
|
|
37596
|
+
message: z.ZodString;
|
|
37597
|
+
id: z.ZodOptional<z.ZodString>;
|
|
37598
|
+
}, z.core.$strip>;
|
|
37599
|
+
type IXCSoftResponse = z.infer<typeof IXCSoftResponseSchema>;
|
|
37600
|
+
|
|
37601
|
+
type ixcSoftApi_types_IXCSoftResponse = IXCSoftResponse;
|
|
37602
|
+
declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
|
|
37603
|
+
type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
|
|
37604
|
+
declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
|
|
37605
|
+
type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
|
|
37606
|
+
type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
|
|
37607
|
+
declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof MonthlyFeesForClientResponseSchema;
|
|
37608
|
+
type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
|
|
37609
|
+
type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
|
|
37610
|
+
declare namespace ixcSoftApi_types {
|
|
37611
|
+
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 };
|
|
37612
|
+
}
|
|
37613
|
+
|
|
37614
37614
|
declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
37615
37615
|
timestamps: true;
|
|
37616
37616
|
}, {
|
|
@@ -37756,17 +37756,6 @@ interface RoutinesTasksResponse extends HydratedDocument<InferSchemaType<typeof
|
|
|
37756
37756
|
interface RoutinesTasksLogResponse extends HydratedDocument<InferSchemaType<typeof RoutinesLogerSchema>> {
|
|
37757
37757
|
}
|
|
37758
37758
|
|
|
37759
|
-
type routinesApi_types_RoutinesTasksCreateInput = RoutinesTasksCreateInput;
|
|
37760
|
-
type routinesApi_types_RoutinesTasksInput = RoutinesTasksInput;
|
|
37761
|
-
type routinesApi_types_RoutinesTasksLogResponse = RoutinesTasksLogResponse;
|
|
37762
|
-
type routinesApi_types_RoutinesTasksResponse = RoutinesTasksResponse;
|
|
37763
|
-
type routinesApi_types_RoutinesTasksSyncJobsResponse = RoutinesTasksSyncJobsResponse;
|
|
37764
|
-
type routinesApi_types_RoutinesTasksToggleActiveInput = RoutinesTasksToggleActiveInput;
|
|
37765
|
-
type routinesApi_types_RoutinesTasksUpdateInput = RoutinesTasksUpdateInput;
|
|
37766
|
-
declare namespace routinesApi_types {
|
|
37767
|
-
export type { routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksLogResponse as RoutinesTasksLogResponse, routinesApi_types_RoutinesTasksResponse as RoutinesTasksResponse, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
37768
|
-
}
|
|
37769
|
-
|
|
37770
37759
|
declare class RoutinesTasksResource {
|
|
37771
37760
|
private readonly client;
|
|
37772
37761
|
private readonly endpoint;
|
|
@@ -37818,4 +37807,15 @@ declare class RoutinesAPIClient extends APIClient {
|
|
|
37818
37807
|
constructor(config: APIConfigType);
|
|
37819
37808
|
}
|
|
37820
37809
|
|
|
37810
|
+
type routinesApi_types_RoutinesTasksCreateInput = RoutinesTasksCreateInput;
|
|
37811
|
+
type routinesApi_types_RoutinesTasksInput = RoutinesTasksInput;
|
|
37812
|
+
type routinesApi_types_RoutinesTasksLogResponse = RoutinesTasksLogResponse;
|
|
37813
|
+
type routinesApi_types_RoutinesTasksResponse = RoutinesTasksResponse;
|
|
37814
|
+
type routinesApi_types_RoutinesTasksSyncJobsResponse = RoutinesTasksSyncJobsResponse;
|
|
37815
|
+
type routinesApi_types_RoutinesTasksToggleActiveInput = RoutinesTasksToggleActiveInput;
|
|
37816
|
+
type routinesApi_types_RoutinesTasksUpdateInput = RoutinesTasksUpdateInput;
|
|
37817
|
+
declare namespace routinesApi_types {
|
|
37818
|
+
export type { routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksLogResponse as RoutinesTasksLogResponse, routinesApi_types_RoutinesTasksResponse as RoutinesTasksResponse, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
37819
|
+
}
|
|
37820
|
+
|
|
37821
37821
|
export { IXCSoftAPIClient, ixcSoftApi_types as IXCSoftAPITypes, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, RoutinesAPIClient, routinesApi_types as RoutinesAPITypes, type RoutinesMongoCollectionsModels, type RoutinesMongoDocuments, RoutinesMongoService, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, logger, printSignature };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { Model, Optional, Sequelize as Sequelize$1, Attributes } from 'sequelize
|
|
|
3
3
|
import * as mongoose from 'mongoose';
|
|
4
4
|
import { Model as Model$1, InferSchemaType, HydratedDocument, Schema, Types } from 'mongoose';
|
|
5
5
|
import * as bson from 'bson';
|
|
6
|
-
import { z } from 'zod';
|
|
7
6
|
import { AxiosRequestConfig, AxiosInstance } from 'axios';
|
|
7
|
+
import { z } from 'zod';
|
|
8
8
|
|
|
9
9
|
type LogLevel = "INFO" | "ERROR" | "WARN";
|
|
10
10
|
type LoggerParams = {
|
|
@@ -36624,15 +36624,51 @@ declare class RoutinesMongoService {
|
|
|
36624
36624
|
getCollection<K extends keyof RoutinesMongoCollectionsModels>(key: K): RoutinesMongoCollectionsModels[K];
|
|
36625
36625
|
}
|
|
36626
36626
|
|
|
36627
|
-
|
|
36628
|
-
type:
|
|
36629
|
-
|
|
36630
|
-
|
|
36631
|
-
|
|
36632
|
-
|
|
36633
|
-
|
|
36634
|
-
|
|
36635
|
-
|
|
36627
|
+
type APIAuthConfig = {
|
|
36628
|
+
type: "bearer";
|
|
36629
|
+
token: string;
|
|
36630
|
+
} | {
|
|
36631
|
+
type: "basic";
|
|
36632
|
+
credentials: string;
|
|
36633
|
+
} | {
|
|
36634
|
+
type: "basic-raw";
|
|
36635
|
+
username: string;
|
|
36636
|
+
password?: string;
|
|
36637
|
+
} | {
|
|
36638
|
+
type: "none";
|
|
36639
|
+
};
|
|
36640
|
+
interface APIClientConfig {
|
|
36641
|
+
baseURL: string;
|
|
36642
|
+
auth: APIAuthConfig;
|
|
36643
|
+
timeout?: number;
|
|
36644
|
+
rejectUnauthorized?: boolean;
|
|
36645
|
+
/** Interceptor customizado de request — ex: adicionar headers extras */
|
|
36646
|
+
onRequest?: (config: AxiosRequestConfig) => AxiosRequestConfig;
|
|
36647
|
+
/** Interceptor customizado de erro — ex: logging específico do client */
|
|
36648
|
+
onError?: (error: APIClientError) => never;
|
|
36649
|
+
}
|
|
36650
|
+
interface APIClientError {
|
|
36651
|
+
status: number | null;
|
|
36652
|
+
message: string;
|
|
36653
|
+
raw: unknown;
|
|
36654
|
+
}
|
|
36655
|
+
interface APIConfigType {
|
|
36656
|
+
baseURL: string;
|
|
36657
|
+
token?: string;
|
|
36658
|
+
}
|
|
36659
|
+
|
|
36660
|
+
declare class APIClient {
|
|
36661
|
+
private readonly config;
|
|
36662
|
+
protected readonly http: AxiosInstance;
|
|
36663
|
+
constructor(config: APIClientConfig);
|
|
36664
|
+
private applyAuthInterceptor;
|
|
36665
|
+
private applyErrorInterceptor;
|
|
36666
|
+
get<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
36667
|
+
post<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
36668
|
+
put<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
36669
|
+
patch<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
36670
|
+
delete<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
36671
|
+
}
|
|
36636
36672
|
|
|
36637
36673
|
interface SuOssChamadoInput {
|
|
36638
36674
|
tipo?: string;
|
|
@@ -37158,9 +37194,9 @@ declare const IxcSuOssChamadoResponseSchema: z.ZodObject<{
|
|
|
37158
37194
|
}[] | undefined;
|
|
37159
37195
|
}) => unknown | Promise<unknown>>(check: Ch, params?: string | {
|
|
37160
37196
|
path?: PropertyKey[] | undefined | undefined;
|
|
37197
|
+
params?: Record<string, any> | undefined;
|
|
37161
37198
|
abort?: boolean | undefined | undefined;
|
|
37162
37199
|
when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
|
|
37163
|
-
params?: Record<string, any> | undefined;
|
|
37164
37200
|
error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
|
|
37165
37201
|
message?: string | undefined | undefined;
|
|
37166
37202
|
} | undefined) => Ch extends (arg: any) => arg is infer R ? z.ZodObject<{
|
|
@@ -37478,85 +37514,6 @@ declare const IxcSuOssChamadoResponseSchema: z.ZodObject<{
|
|
|
37478
37514
|
}, z.core.$strip>;
|
|
37479
37515
|
type IxcSuOssChamadoResponse = z.infer<typeof IxcSuOssChamadoResponseSchema> & Record<string, any>;
|
|
37480
37516
|
|
|
37481
|
-
interface MonthlyFeesForClientInput {
|
|
37482
|
-
id_contrato: number | string;
|
|
37483
|
-
id_cliente: number | string;
|
|
37484
|
-
tipo: string;
|
|
37485
|
-
}
|
|
37486
|
-
declare const MonthlyFeesForClientResponseSchema: z.ZodObject<{
|
|
37487
|
-
type: z.ZodEnum<{
|
|
37488
|
-
success: "success";
|
|
37489
|
-
error: "error";
|
|
37490
|
-
}>;
|
|
37491
|
-
message: z.ZodString;
|
|
37492
|
-
id: z.ZodOptional<z.ZodString>;
|
|
37493
|
-
id_contrato: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37494
|
-
tipo: z.ZodOptional<z.ZodString>;
|
|
37495
|
-
id_cliente: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37496
|
-
id_tipo_documento: z.ZodOptional<z.ZodString>;
|
|
37497
|
-
action: z.ZodOptional<z.ZodString>;
|
|
37498
|
-
}, z.core.$strip>;
|
|
37499
|
-
type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema> & Record<string, any>;
|
|
37500
|
-
|
|
37501
|
-
type ixcSoftApi_types_IXCSoftResponse = IXCSoftResponse;
|
|
37502
|
-
declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
|
|
37503
|
-
type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
|
|
37504
|
-
declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
|
|
37505
|
-
type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
|
|
37506
|
-
type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
|
|
37507
|
-
declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof MonthlyFeesForClientResponseSchema;
|
|
37508
|
-
type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
|
|
37509
|
-
type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
|
|
37510
|
-
declare namespace ixcSoftApi_types {
|
|
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 };
|
|
37512
|
-
}
|
|
37513
|
-
|
|
37514
|
-
type APIAuthConfig = {
|
|
37515
|
-
type: "bearer";
|
|
37516
|
-
token: string;
|
|
37517
|
-
} | {
|
|
37518
|
-
type: "basic";
|
|
37519
|
-
credentials: string;
|
|
37520
|
-
} | {
|
|
37521
|
-
type: "basic-raw";
|
|
37522
|
-
username: string;
|
|
37523
|
-
password?: string;
|
|
37524
|
-
} | {
|
|
37525
|
-
type: "none";
|
|
37526
|
-
};
|
|
37527
|
-
interface APIClientConfig {
|
|
37528
|
-
baseURL: string;
|
|
37529
|
-
auth: APIAuthConfig;
|
|
37530
|
-
timeout?: number;
|
|
37531
|
-
rejectUnauthorized?: boolean;
|
|
37532
|
-
/** Interceptor customizado de request — ex: adicionar headers extras */
|
|
37533
|
-
onRequest?: (config: AxiosRequestConfig) => AxiosRequestConfig;
|
|
37534
|
-
/** Interceptor customizado de erro — ex: logging específico do client */
|
|
37535
|
-
onError?: (error: APIClientError) => never;
|
|
37536
|
-
}
|
|
37537
|
-
interface APIClientError {
|
|
37538
|
-
status: number | null;
|
|
37539
|
-
message: string;
|
|
37540
|
-
raw: unknown;
|
|
37541
|
-
}
|
|
37542
|
-
interface APIConfigType {
|
|
37543
|
-
baseURL: string;
|
|
37544
|
-
token?: string;
|
|
37545
|
-
}
|
|
37546
|
-
|
|
37547
|
-
declare class APIClient {
|
|
37548
|
-
private readonly config;
|
|
37549
|
-
protected readonly http: AxiosInstance;
|
|
37550
|
-
constructor(config: APIClientConfig);
|
|
37551
|
-
private applyAuthInterceptor;
|
|
37552
|
-
private applyErrorInterceptor;
|
|
37553
|
-
get<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
37554
|
-
post<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
37555
|
-
put<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
37556
|
-
patch<T>(url: string, body?: unknown, config?: AxiosRequestConfig): Promise<T>;
|
|
37557
|
-
delete<T>(url: string, config?: AxiosRequestConfig): Promise<T>;
|
|
37558
|
-
}
|
|
37559
|
-
|
|
37560
37517
|
declare class SuOssChamadoResource {
|
|
37561
37518
|
private readonly client;
|
|
37562
37519
|
private readonly endpoint;
|
|
@@ -37594,6 +37551,26 @@ declare class SuOssChamadoResource {
|
|
|
37594
37551
|
}): Promise<IxcSuOssChamadoResponse>;
|
|
37595
37552
|
}
|
|
37596
37553
|
|
|
37554
|
+
interface MonthlyFeesForClientInput {
|
|
37555
|
+
id_contrato: number | string;
|
|
37556
|
+
id_cliente: number | string;
|
|
37557
|
+
tipo: string;
|
|
37558
|
+
}
|
|
37559
|
+
declare const MonthlyFeesForClientResponseSchema: z.ZodObject<{
|
|
37560
|
+
type: z.ZodEnum<{
|
|
37561
|
+
success: "success";
|
|
37562
|
+
error: "error";
|
|
37563
|
+
}>;
|
|
37564
|
+
message: z.ZodString;
|
|
37565
|
+
id: z.ZodOptional<z.ZodString>;
|
|
37566
|
+
id_contrato: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37567
|
+
tipo: z.ZodOptional<z.ZodString>;
|
|
37568
|
+
id_cliente: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
37569
|
+
id_tipo_documento: z.ZodOptional<z.ZodString>;
|
|
37570
|
+
action: z.ZodOptional<z.ZodString>;
|
|
37571
|
+
}, z.core.$strip>;
|
|
37572
|
+
type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema> & Record<string, any>;
|
|
37573
|
+
|
|
37597
37574
|
declare class MonthlyFeesForClientResource {
|
|
37598
37575
|
private readonly client;
|
|
37599
37576
|
private readonly endpoint;
|
|
@@ -37611,6 +37588,29 @@ declare class IXCSoftAPIClient extends APIClient {
|
|
|
37611
37588
|
constructor(config: APIConfigType);
|
|
37612
37589
|
}
|
|
37613
37590
|
|
|
37591
|
+
declare const IXCSoftResponseSchema: z.ZodObject<{
|
|
37592
|
+
type: z.ZodEnum<{
|
|
37593
|
+
success: "success";
|
|
37594
|
+
error: "error";
|
|
37595
|
+
}>;
|
|
37596
|
+
message: z.ZodString;
|
|
37597
|
+
id: z.ZodOptional<z.ZodString>;
|
|
37598
|
+
}, z.core.$strip>;
|
|
37599
|
+
type IXCSoftResponse = z.infer<typeof IXCSoftResponseSchema>;
|
|
37600
|
+
|
|
37601
|
+
type ixcSoftApi_types_IXCSoftResponse = IXCSoftResponse;
|
|
37602
|
+
declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
|
|
37603
|
+
type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
|
|
37604
|
+
declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
|
|
37605
|
+
type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
|
|
37606
|
+
type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
|
|
37607
|
+
declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof MonthlyFeesForClientResponseSchema;
|
|
37608
|
+
type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
|
|
37609
|
+
type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
|
|
37610
|
+
declare namespace ixcSoftApi_types {
|
|
37611
|
+
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 };
|
|
37612
|
+
}
|
|
37613
|
+
|
|
37614
37614
|
declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
37615
37615
|
timestamps: true;
|
|
37616
37616
|
}, {
|
|
@@ -37756,17 +37756,6 @@ interface RoutinesTasksResponse extends HydratedDocument<InferSchemaType<typeof
|
|
|
37756
37756
|
interface RoutinesTasksLogResponse extends HydratedDocument<InferSchemaType<typeof RoutinesLogerSchema>> {
|
|
37757
37757
|
}
|
|
37758
37758
|
|
|
37759
|
-
type routinesApi_types_RoutinesTasksCreateInput = RoutinesTasksCreateInput;
|
|
37760
|
-
type routinesApi_types_RoutinesTasksInput = RoutinesTasksInput;
|
|
37761
|
-
type routinesApi_types_RoutinesTasksLogResponse = RoutinesTasksLogResponse;
|
|
37762
|
-
type routinesApi_types_RoutinesTasksResponse = RoutinesTasksResponse;
|
|
37763
|
-
type routinesApi_types_RoutinesTasksSyncJobsResponse = RoutinesTasksSyncJobsResponse;
|
|
37764
|
-
type routinesApi_types_RoutinesTasksToggleActiveInput = RoutinesTasksToggleActiveInput;
|
|
37765
|
-
type routinesApi_types_RoutinesTasksUpdateInput = RoutinesTasksUpdateInput;
|
|
37766
|
-
declare namespace routinesApi_types {
|
|
37767
|
-
export type { routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksLogResponse as RoutinesTasksLogResponse, routinesApi_types_RoutinesTasksResponse as RoutinesTasksResponse, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
37768
|
-
}
|
|
37769
|
-
|
|
37770
37759
|
declare class RoutinesTasksResource {
|
|
37771
37760
|
private readonly client;
|
|
37772
37761
|
private readonly endpoint;
|
|
@@ -37818,4 +37807,15 @@ declare class RoutinesAPIClient extends APIClient {
|
|
|
37818
37807
|
constructor(config: APIConfigType);
|
|
37819
37808
|
}
|
|
37820
37809
|
|
|
37810
|
+
type routinesApi_types_RoutinesTasksCreateInput = RoutinesTasksCreateInput;
|
|
37811
|
+
type routinesApi_types_RoutinesTasksInput = RoutinesTasksInput;
|
|
37812
|
+
type routinesApi_types_RoutinesTasksLogResponse = RoutinesTasksLogResponse;
|
|
37813
|
+
type routinesApi_types_RoutinesTasksResponse = RoutinesTasksResponse;
|
|
37814
|
+
type routinesApi_types_RoutinesTasksSyncJobsResponse = RoutinesTasksSyncJobsResponse;
|
|
37815
|
+
type routinesApi_types_RoutinesTasksToggleActiveInput = RoutinesTasksToggleActiveInput;
|
|
37816
|
+
type routinesApi_types_RoutinesTasksUpdateInput = RoutinesTasksUpdateInput;
|
|
37817
|
+
declare namespace routinesApi_types {
|
|
37818
|
+
export type { routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksLogResponse as RoutinesTasksLogResponse, routinesApi_types_RoutinesTasksResponse as RoutinesTasksResponse, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
37819
|
+
}
|
|
37820
|
+
|
|
37821
37821
|
export { IXCSoftAPIClient, ixcSoftApi_types as IXCSoftAPITypes, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, RoutinesAPIClient, routinesApi_types as RoutinesAPITypes, type RoutinesMongoCollectionsModels, type RoutinesMongoDocuments, RoutinesMongoService, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, logger, printSignature };
|
package/dist/index.js
CHANGED
|
@@ -91098,46 +91098,6 @@ var RoutinesMongoService = class _RoutinesMongoService {
|
|
|
91098
91098
|
}
|
|
91099
91099
|
};
|
|
91100
91100
|
|
|
91101
|
-
// src/apis/clients/ixc-soft/ixc-soft-api.types.ts
|
|
91102
|
-
var ixc_soft_api_types_exports = {};
|
|
91103
|
-
__export(ixc_soft_api_types_exports, {
|
|
91104
|
-
IXCSoftResponseSchema: () => IXCSoftResponseSchema,
|
|
91105
|
-
IxcSuOssChamadoResponseSchema: () => IxcSuOssChamadoResponseSchema,
|
|
91106
|
-
MonthlyFeesForClientResponseSchema: () => MonthlyFeesForClientResponseSchema
|
|
91107
|
-
});
|
|
91108
|
-
|
|
91109
|
-
// src/apis/clients/ixc-soft/ixc-soft-response.schema.ts
|
|
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
|
-
});
|
|
91116
|
-
|
|
91117
|
-
// src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
|
|
91118
|
-
var import_zod2 = require("zod");
|
|
91119
|
-
var IxcSuOssChamadoResponseSchema = IXCSoftResponseSchema.extend(
|
|
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()
|
|
91126
|
-
})
|
|
91127
|
-
).optional()
|
|
91128
|
-
})
|
|
91129
|
-
);
|
|
91130
|
-
|
|
91131
|
-
// src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.types.ts
|
|
91132
|
-
var import_zod3 = require("zod");
|
|
91133
|
-
var MonthlyFeesForClientResponseSchema = IXCSoftResponseSchema.extend({
|
|
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()
|
|
91139
|
-
});
|
|
91140
|
-
|
|
91141
91101
|
// src/apis/core/api-client.ts
|
|
91142
91102
|
var import_axios = __toESM(require("axios"));
|
|
91143
91103
|
var https = __toESM(require("https"));
|
|
@@ -91355,8 +91315,45 @@ var IXCSoftAPIClient = class extends APIClient {
|
|
|
91355
91315
|
}
|
|
91356
91316
|
};
|
|
91357
91317
|
|
|
91358
|
-
// src/apis/clients/
|
|
91359
|
-
var
|
|
91318
|
+
// src/apis/clients/ixc-soft/ixc-soft-api.types.ts
|
|
91319
|
+
var ixc_soft_api_types_exports = {};
|
|
91320
|
+
__export(ixc_soft_api_types_exports, {
|
|
91321
|
+
IXCSoftResponseSchema: () => IXCSoftResponseSchema,
|
|
91322
|
+
IxcSuOssChamadoResponseSchema: () => IxcSuOssChamadoResponseSchema,
|
|
91323
|
+
MonthlyFeesForClientResponseSchema: () => MonthlyFeesForClientResponseSchema
|
|
91324
|
+
});
|
|
91325
|
+
|
|
91326
|
+
// src/apis/clients/ixc-soft/ixc-soft-response.schema.ts
|
|
91327
|
+
var import_zod = require("zod");
|
|
91328
|
+
var IXCSoftResponseSchema = import_zod.z.object({
|
|
91329
|
+
type: import_zod.z.enum(["success", "error"]),
|
|
91330
|
+
message: import_zod.z.string(),
|
|
91331
|
+
id: import_zod.z.string().optional()
|
|
91332
|
+
});
|
|
91333
|
+
|
|
91334
|
+
// src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
|
|
91335
|
+
var import_zod2 = require("zod");
|
|
91336
|
+
var IxcSuOssChamadoResponseSchema = IXCSoftResponseSchema.extend(
|
|
91337
|
+
import_zod2.z.object({
|
|
91338
|
+
atualiza_campos: import_zod2.z.array(
|
|
91339
|
+
import_zod2.z.object({
|
|
91340
|
+
tipo: import_zod2.z.string(),
|
|
91341
|
+
campo: import_zod2.z.string(),
|
|
91342
|
+
valor: import_zod2.z.string()
|
|
91343
|
+
})
|
|
91344
|
+
).optional()
|
|
91345
|
+
})
|
|
91346
|
+
);
|
|
91347
|
+
|
|
91348
|
+
// src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.types.ts
|
|
91349
|
+
var import_zod3 = require("zod");
|
|
91350
|
+
var MonthlyFeesForClientResponseSchema = IXCSoftResponseSchema.extend({
|
|
91351
|
+
id_contrato: import_zod3.z.union([import_zod3.z.string(), import_zod3.z.number()]).optional(),
|
|
91352
|
+
tipo: import_zod3.z.string().optional(),
|
|
91353
|
+
id_cliente: import_zod3.z.union([import_zod3.z.string(), import_zod3.z.number()]).optional(),
|
|
91354
|
+
id_tipo_documento: import_zod3.z.string().optional(),
|
|
91355
|
+
action: import_zod3.z.string().optional()
|
|
91356
|
+
});
|
|
91360
91357
|
|
|
91361
91358
|
// src/apis/clients/routines/resources/tasks/routines-tasks.resource.ts
|
|
91362
91359
|
var RoutinesTasksResource = class {
|
|
@@ -91449,6 +91446,9 @@ var RoutinesAPIClient = class extends APIClient {
|
|
|
91449
91446
|
this.routinesTasksResource = new RoutinesTasksResource(this);
|
|
91450
91447
|
}
|
|
91451
91448
|
};
|
|
91449
|
+
|
|
91450
|
+
// src/apis/clients/routines/routines-api.types.ts
|
|
91451
|
+
var routines_api_types_exports = {};
|
|
91452
91452
|
// Annotate the CommonJS export names for ESM import in node:
|
|
91453
91453
|
0 && (module.exports = {
|
|
91454
91454
|
IXCSoftAPIClient,
|
package/dist/index.mjs
CHANGED
|
@@ -91059,46 +91059,6 @@ var RoutinesMongoService = class _RoutinesMongoService {
|
|
|
91059
91059
|
}
|
|
91060
91060
|
};
|
|
91061
91061
|
|
|
91062
|
-
// src/apis/clients/ixc-soft/ixc-soft-api.types.ts
|
|
91063
|
-
var ixc_soft_api_types_exports = {};
|
|
91064
|
-
__export(ixc_soft_api_types_exports, {
|
|
91065
|
-
IXCSoftResponseSchema: () => IXCSoftResponseSchema,
|
|
91066
|
-
IxcSuOssChamadoResponseSchema: () => IxcSuOssChamadoResponseSchema,
|
|
91067
|
-
MonthlyFeesForClientResponseSchema: () => MonthlyFeesForClientResponseSchema
|
|
91068
|
-
});
|
|
91069
|
-
|
|
91070
|
-
// src/apis/clients/ixc-soft/ixc-soft-response.schema.ts
|
|
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
|
-
});
|
|
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";
|
|
91080
|
-
var IxcSuOssChamadoResponseSchema = IXCSoftResponseSchema.extend(
|
|
91081
|
-
z2.object({
|
|
91082
|
-
atualiza_campos: z2.array(
|
|
91083
|
-
z2.object({
|
|
91084
|
-
tipo: z2.string(),
|
|
91085
|
-
campo: z2.string(),
|
|
91086
|
-
valor: z2.string()
|
|
91087
|
-
})
|
|
91088
|
-
).optional()
|
|
91089
|
-
})
|
|
91090
|
-
);
|
|
91091
|
-
|
|
91092
|
-
// src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.types.ts
|
|
91093
|
-
import { z as z3 } from "zod";
|
|
91094
|
-
var MonthlyFeesForClientResponseSchema = IXCSoftResponseSchema.extend({
|
|
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()
|
|
91100
|
-
});
|
|
91101
|
-
|
|
91102
91062
|
// src/apis/core/api-client.ts
|
|
91103
91063
|
import axios from "axios";
|
|
91104
91064
|
import * as https from "https";
|
|
@@ -91316,8 +91276,45 @@ var IXCSoftAPIClient = class extends APIClient {
|
|
|
91316
91276
|
}
|
|
91317
91277
|
};
|
|
91318
91278
|
|
|
91319
|
-
// src/apis/clients/
|
|
91320
|
-
var
|
|
91279
|
+
// src/apis/clients/ixc-soft/ixc-soft-api.types.ts
|
|
91280
|
+
var ixc_soft_api_types_exports = {};
|
|
91281
|
+
__export(ixc_soft_api_types_exports, {
|
|
91282
|
+
IXCSoftResponseSchema: () => IXCSoftResponseSchema,
|
|
91283
|
+
IxcSuOssChamadoResponseSchema: () => IxcSuOssChamadoResponseSchema,
|
|
91284
|
+
MonthlyFeesForClientResponseSchema: () => MonthlyFeesForClientResponseSchema
|
|
91285
|
+
});
|
|
91286
|
+
|
|
91287
|
+
// src/apis/clients/ixc-soft/ixc-soft-response.schema.ts
|
|
91288
|
+
import { z } from "zod";
|
|
91289
|
+
var IXCSoftResponseSchema = z.object({
|
|
91290
|
+
type: z.enum(["success", "error"]),
|
|
91291
|
+
message: z.string(),
|
|
91292
|
+
id: z.string().optional()
|
|
91293
|
+
});
|
|
91294
|
+
|
|
91295
|
+
// src/apis/clients/ixc-soft/resources/su-oss-chamado/ixc-soft-su-oss-chamado.types.ts
|
|
91296
|
+
import { z as z2 } from "zod";
|
|
91297
|
+
var IxcSuOssChamadoResponseSchema = IXCSoftResponseSchema.extend(
|
|
91298
|
+
z2.object({
|
|
91299
|
+
atualiza_campos: z2.array(
|
|
91300
|
+
z2.object({
|
|
91301
|
+
tipo: z2.string(),
|
|
91302
|
+
campo: z2.string(),
|
|
91303
|
+
valor: z2.string()
|
|
91304
|
+
})
|
|
91305
|
+
).optional()
|
|
91306
|
+
})
|
|
91307
|
+
);
|
|
91308
|
+
|
|
91309
|
+
// src/apis/clients/ixc-soft/resources/monthly-fees-for-client/ixc-soft-monthly-fees-for-client.types.ts
|
|
91310
|
+
import { z as z3 } from "zod";
|
|
91311
|
+
var MonthlyFeesForClientResponseSchema = IXCSoftResponseSchema.extend({
|
|
91312
|
+
id_contrato: z3.union([z3.string(), z3.number()]).optional(),
|
|
91313
|
+
tipo: z3.string().optional(),
|
|
91314
|
+
id_cliente: z3.union([z3.string(), z3.number()]).optional(),
|
|
91315
|
+
id_tipo_documento: z3.string().optional(),
|
|
91316
|
+
action: z3.string().optional()
|
|
91317
|
+
});
|
|
91321
91318
|
|
|
91322
91319
|
// src/apis/clients/routines/resources/tasks/routines-tasks.resource.ts
|
|
91323
91320
|
var RoutinesTasksResource = class {
|
|
@@ -91410,6 +91407,9 @@ var RoutinesAPIClient = class extends APIClient {
|
|
|
91410
91407
|
this.routinesTasksResource = new RoutinesTasksResource(this);
|
|
91411
91408
|
}
|
|
91412
91409
|
};
|
|
91410
|
+
|
|
91411
|
+
// src/apis/clients/routines/routines-api.types.ts
|
|
91412
|
+
var routines_api_types_exports = {};
|
|
91413
91413
|
export {
|
|
91414
91414
|
IXCSoftAPIClient,
|
|
91415
91415
|
ixc_soft_api_types_exports as IXCSoftAPITypes,
|