@cristian-israel/giganet_lib_conecta 1.0.44 → 1.0.46

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
@@ -4,6 +4,7 @@ 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
6
  import { AxiosRequestConfig, AxiosInstance } from 'axios';
7
+ import { z } from 'zod';
7
8
 
8
9
  type LogLevel = "INFO" | "ERROR" | "WARN";
9
10
  type LoggerParams = {
@@ -36751,17 +36752,767 @@ interface SuOssChamadoListFilters {
36751
36752
  sortname: string;
36752
36753
  sortorder: "asc" | "desc";
36753
36754
  }
36754
- interface IxcSuOssChamadoResponse {
36755
- type: "success" | "error";
36756
- message: string;
36757
- id?: string;
36758
- atualiza_campos?: {
36759
- tipo: string;
36760
- campo: string;
36761
- valor: string;
36762
- }[];
36763
- [key: string]: any;
36764
- }
36755
+ declare const IxcSuOssChamadoResponseSchema: z.ZodObject<{
36756
+ message: z.ZodString;
36757
+ id: z.ZodOptional<z.ZodString>;
36758
+ "~standard": z.ZodStandardSchemaWithJSON<z.ZodObject<{
36759
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36760
+ tipo: z.ZodString;
36761
+ campo: z.ZodString;
36762
+ valor: z.ZodString;
36763
+ }, z.core.$strip>>>;
36764
+ }, z.core.$strip>>;
36765
+ shape: {
36766
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36767
+ tipo: z.ZodString;
36768
+ campo: z.ZodString;
36769
+ valor: z.ZodString;
36770
+ }, z.core.$strip>>>;
36771
+ };
36772
+ keyof: () => z.ZodEnum<{
36773
+ atualiza_campos: "atualiza_campos";
36774
+ }>;
36775
+ catchall: <T extends z.core.SomeType>(schema: T) => z.ZodObject<{
36776
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36777
+ tipo: z.ZodString;
36778
+ campo: z.ZodString;
36779
+ valor: z.ZodString;
36780
+ }, z.core.$strip>>>;
36781
+ }, z.core.$catchall<T>>;
36782
+ passthrough: () => z.ZodObject<{
36783
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36784
+ tipo: z.ZodString;
36785
+ campo: z.ZodString;
36786
+ valor: z.ZodString;
36787
+ }, z.core.$strip>>>;
36788
+ }, z.core.$loose>;
36789
+ loose: () => z.ZodObject<{
36790
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36791
+ tipo: z.ZodString;
36792
+ campo: z.ZodString;
36793
+ valor: z.ZodString;
36794
+ }, z.core.$strip>>>;
36795
+ }, z.core.$loose>;
36796
+ strict: () => z.ZodObject<{
36797
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36798
+ tipo: z.ZodString;
36799
+ campo: z.ZodString;
36800
+ valor: z.ZodString;
36801
+ }, z.core.$strip>>>;
36802
+ }, z.core.$strict>;
36803
+ strip: () => z.ZodObject<{
36804
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36805
+ tipo: z.ZodString;
36806
+ campo: z.ZodString;
36807
+ valor: z.ZodString;
36808
+ }, z.core.$strip>>>;
36809
+ }, z.core.$strip>;
36810
+ extend: <U extends z.core.$ZodLooseShape>(shape: U) => z.ZodObject<("atualiza_campos" & keyof U extends never ? {
36811
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36812
+ tipo: z.ZodString;
36813
+ campo: z.ZodString;
36814
+ valor: z.ZodString;
36815
+ }, z.core.$strip>>>;
36816
+ } & U : ({
36817
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36818
+ tipo: z.ZodString;
36819
+ campo: z.ZodString;
36820
+ valor: z.ZodString;
36821
+ }, z.core.$strip>>>;
36822
+ } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
36823
+ safeExtend: <U extends z.core.$ZodLooseShape>(shape: z.SafeExtendShape<{
36824
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36825
+ tipo: z.ZodString;
36826
+ campo: z.ZodString;
36827
+ valor: z.ZodString;
36828
+ }, z.core.$strip>>>;
36829
+ }, U> & Partial<Record<"atualiza_campos", z.core.SomeType>>) => z.ZodObject<("atualiza_campos" & keyof U extends never ? {
36830
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36831
+ tipo: z.ZodString;
36832
+ campo: z.ZodString;
36833
+ valor: z.ZodString;
36834
+ }, z.core.$strip>>>;
36835
+ } & U : ({
36836
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36837
+ tipo: z.ZodString;
36838
+ campo: z.ZodString;
36839
+ valor: z.ZodString;
36840
+ }, z.core.$strip>>>;
36841
+ } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
36842
+ merge: <U extends z.ZodObject>(other: U) => z.ZodObject<("atualiza_campos" & keyof U["shape"] extends never ? {
36843
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36844
+ tipo: z.ZodString;
36845
+ campo: z.ZodString;
36846
+ valor: z.ZodString;
36847
+ }, z.core.$strip>>>;
36848
+ } & U["shape"] : ({
36849
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36850
+ tipo: z.ZodString;
36851
+ campo: z.ZodString;
36852
+ valor: z.ZodString;
36853
+ }, z.core.$strip>>>;
36854
+ } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U["shape"] ? never : K]: T_1[K]; } : never) & (U["shape"] extends infer T_2 extends z.core.util.SomeObject ? { [K_1 in keyof T_2]: T_2[K_1]; } : never)) extends infer T ? { [k in keyof T]: T[k]; } : never, U["_zod"]["config"]>;
36855
+ pick: <M extends z.core.util.Mask<"atualiza_campos">>(mask: M & Record<Exclude<keyof M, "atualiza_campos">, never>) => z.ZodObject<Pick<{
36856
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36857
+ tipo: z.ZodString;
36858
+ campo: z.ZodString;
36859
+ valor: z.ZodString;
36860
+ }, z.core.$strip>>>;
36861
+ }, Extract<"atualiza_campos", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
36862
+ omit: <M extends z.core.util.Mask<"atualiza_campos">>(mask: M & Record<Exclude<keyof M, "atualiza_campos">, never>) => z.ZodObject<Omit<{
36863
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36864
+ tipo: z.ZodString;
36865
+ campo: z.ZodString;
36866
+ valor: z.ZodString;
36867
+ }, z.core.$strip>>>;
36868
+ }, Extract<"atualiza_campos", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
36869
+ partial: {
36870
+ (): z.ZodObject<{
36871
+ atualiza_campos: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
36872
+ tipo: z.ZodString;
36873
+ campo: z.ZodString;
36874
+ valor: z.ZodString;
36875
+ }, z.core.$strip>>>>;
36876
+ }, z.core.$strip>;
36877
+ <M extends z.core.util.Mask<"atualiza_campos">>(mask: M & Record<Exclude<keyof M, "atualiza_campos">, never>): z.ZodObject<{
36878
+ atualiza_campos: "atualiza_campos" extends infer T ? T extends "atualiza_campos" ? T extends keyof M ? z.ZodOptional<{
36879
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36880
+ tipo: z.ZodString;
36881
+ campo: z.ZodString;
36882
+ valor: z.ZodString;
36883
+ }, z.core.$strip>>>;
36884
+ }[T]> : {
36885
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36886
+ tipo: z.ZodString;
36887
+ campo: z.ZodString;
36888
+ valor: z.ZodString;
36889
+ }, z.core.$strip>>>;
36890
+ }[T] : never : never;
36891
+ }, z.core.$strip>;
36892
+ };
36893
+ required: {
36894
+ (): z.ZodObject<{
36895
+ atualiza_campos: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
36896
+ tipo: z.ZodString;
36897
+ campo: z.ZodString;
36898
+ valor: z.ZodString;
36899
+ }, z.core.$strip>>>>;
36900
+ }, z.core.$strip>;
36901
+ <M extends z.core.util.Mask<"atualiza_campos">>(mask: M & Record<Exclude<keyof M, "atualiza_campos">, never>): z.ZodObject<{
36902
+ atualiza_campos: "atualiza_campos" extends infer T ? T extends "atualiza_campos" ? T extends keyof M ? z.ZodNonOptional<{
36903
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36904
+ tipo: z.ZodString;
36905
+ campo: z.ZodString;
36906
+ valor: z.ZodString;
36907
+ }, z.core.$strip>>>;
36908
+ }[T]> : {
36909
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36910
+ tipo: z.ZodString;
36911
+ campo: z.ZodString;
36912
+ valor: z.ZodString;
36913
+ }, z.core.$strip>>>;
36914
+ }[T] : never : never;
36915
+ }, z.core.$strip>;
36916
+ };
36917
+ def: z.core.$ZodObjectDef<{
36918
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36919
+ tipo: z.ZodString;
36920
+ campo: z.ZodString;
36921
+ valor: z.ZodString;
36922
+ }, z.core.$strip>>>;
36923
+ }>;
36924
+ type: "object";
36925
+ _def: z.core.$ZodObjectDef<{
36926
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36927
+ tipo: z.ZodString;
36928
+ campo: z.ZodString;
36929
+ valor: z.ZodString;
36930
+ }, z.core.$strip>>>;
36931
+ }>;
36932
+ _output: {
36933
+ atualiza_campos?: {
36934
+ tipo: string;
36935
+ campo: string;
36936
+ valor: string;
36937
+ }[] | undefined;
36938
+ };
36939
+ _input: {
36940
+ atualiza_campos?: {
36941
+ tipo: string;
36942
+ campo: string;
36943
+ valor: string;
36944
+ }[] | undefined;
36945
+ };
36946
+ toJSONSchema: (params?: z.core.ToJSONSchemaParams) => z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
36947
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36948
+ tipo: z.ZodString;
36949
+ campo: z.ZodString;
36950
+ valor: z.ZodString;
36951
+ }, z.core.$strip>>>;
36952
+ }, z.core.$strip>>;
36953
+ check: (...checks: (z.core.CheckFn<{
36954
+ atualiza_campos?: {
36955
+ tipo: string;
36956
+ campo: string;
36957
+ valor: string;
36958
+ }[] | undefined;
36959
+ }> | z.core.$ZodCheck<{
36960
+ atualiza_campos?: {
36961
+ tipo: string;
36962
+ campo: string;
36963
+ valor: string;
36964
+ }[] | undefined;
36965
+ }>)[]) => z.ZodObject<{
36966
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36967
+ tipo: z.ZodString;
36968
+ campo: z.ZodString;
36969
+ valor: z.ZodString;
36970
+ }, z.core.$strip>>>;
36971
+ }, z.core.$strip>;
36972
+ with: (...checks: (z.core.CheckFn<{
36973
+ atualiza_campos?: {
36974
+ tipo: string;
36975
+ campo: string;
36976
+ valor: string;
36977
+ }[] | undefined;
36978
+ }> | z.core.$ZodCheck<{
36979
+ atualiza_campos?: {
36980
+ tipo: string;
36981
+ campo: string;
36982
+ valor: string;
36983
+ }[] | undefined;
36984
+ }>)[]) => z.ZodObject<{
36985
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36986
+ tipo: z.ZodString;
36987
+ campo: z.ZodString;
36988
+ valor: z.ZodString;
36989
+ }, z.core.$strip>>>;
36990
+ }, z.core.$strip>;
36991
+ clone: (def?: z.core.$ZodObjectDef<{
36992
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
36993
+ tipo: z.ZodString;
36994
+ campo: z.ZodString;
36995
+ valor: z.ZodString;
36996
+ }, z.core.$strip>>>;
36997
+ }> | undefined, params?: {
36998
+ parent: boolean;
36999
+ } | undefined) => z.ZodObject<{
37000
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37001
+ tipo: z.ZodString;
37002
+ campo: z.ZodString;
37003
+ valor: z.ZodString;
37004
+ }, z.core.$strip>>>;
37005
+ }, z.core.$strip>;
37006
+ register: <R extends z.core.$ZodRegistry>(registry: R, ...meta: z.ZodObject<{
37007
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37008
+ tipo: z.ZodString;
37009
+ campo: z.ZodString;
37010
+ valor: z.ZodString;
37011
+ }, z.core.$strip>>>;
37012
+ }, z.core.$strip> extends infer T ? T extends z.ZodObject<{
37013
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37014
+ tipo: z.ZodString;
37015
+ campo: z.ZodString;
37016
+ valor: z.ZodString;
37017
+ }, z.core.$strip>>>;
37018
+ }, z.core.$strip> ? T extends R["_schema"] ? undefined extends R["_meta"] ? [(z.core.$replace<R["_meta"], R["_schema"] & z.ZodObject<{
37019
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37020
+ tipo: z.ZodString;
37021
+ campo: z.ZodString;
37022
+ valor: z.ZodString;
37023
+ }, z.core.$strip>>>;
37024
+ }, z.core.$strip>> | undefined)?] : [z.core.$replace<R["_meta"], R["_schema"] & z.ZodObject<{
37025
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37026
+ tipo: z.ZodString;
37027
+ campo: z.ZodString;
37028
+ valor: z.ZodString;
37029
+ }, z.core.$strip>>>;
37030
+ }, z.core.$strip>>] : ["Incompatible schema"] : never : never) => z.ZodObject<{
37031
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37032
+ tipo: z.ZodString;
37033
+ campo: z.ZodString;
37034
+ valor: z.ZodString;
37035
+ }, z.core.$strip>>>;
37036
+ }, z.core.$strip>;
37037
+ brand: <T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T | undefined) => PropertyKey extends T ? z.ZodObject<{
37038
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37039
+ tipo: z.ZodString;
37040
+ campo: z.ZodString;
37041
+ valor: z.ZodString;
37042
+ }, z.core.$strip>>>;
37043
+ }, z.core.$strip> : z.core.$ZodBranded<z.ZodObject<{
37044
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37045
+ tipo: z.ZodString;
37046
+ campo: z.ZodString;
37047
+ valor: z.ZodString;
37048
+ }, z.core.$strip>>>;
37049
+ }, z.core.$strip>, T, Dir>;
37050
+ parse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
37051
+ atualiza_campos?: {
37052
+ tipo: string;
37053
+ campo: string;
37054
+ valor: string;
37055
+ }[] | undefined;
37056
+ };
37057
+ safeParse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
37058
+ atualiza_campos?: {
37059
+ tipo: string;
37060
+ campo: string;
37061
+ valor: string;
37062
+ }[] | undefined;
37063
+ }>;
37064
+ parseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
37065
+ atualiza_campos?: {
37066
+ tipo: string;
37067
+ campo: string;
37068
+ valor: string;
37069
+ }[] | undefined;
37070
+ }>;
37071
+ safeParseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
37072
+ atualiza_campos?: {
37073
+ tipo: string;
37074
+ campo: string;
37075
+ valor: string;
37076
+ }[] | undefined;
37077
+ }>>;
37078
+ spa: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
37079
+ atualiza_campos?: {
37080
+ tipo: string;
37081
+ campo: string;
37082
+ valor: string;
37083
+ }[] | undefined;
37084
+ }>>;
37085
+ encode: (data: {
37086
+ atualiza_campos?: {
37087
+ tipo: string;
37088
+ campo: string;
37089
+ valor: string;
37090
+ }[] | undefined;
37091
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
37092
+ atualiza_campos?: {
37093
+ tipo: string;
37094
+ campo: string;
37095
+ valor: string;
37096
+ }[] | undefined;
37097
+ };
37098
+ decode: (data: {
37099
+ atualiza_campos?: {
37100
+ tipo: string;
37101
+ campo: string;
37102
+ valor: string;
37103
+ }[] | undefined;
37104
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
37105
+ atualiza_campos?: {
37106
+ tipo: string;
37107
+ campo: string;
37108
+ valor: string;
37109
+ }[] | undefined;
37110
+ };
37111
+ encodeAsync: (data: {
37112
+ atualiza_campos?: {
37113
+ tipo: string;
37114
+ campo: string;
37115
+ valor: string;
37116
+ }[] | undefined;
37117
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
37118
+ atualiza_campos?: {
37119
+ tipo: string;
37120
+ campo: string;
37121
+ valor: string;
37122
+ }[] | undefined;
37123
+ }>;
37124
+ decodeAsync: (data: {
37125
+ atualiza_campos?: {
37126
+ tipo: string;
37127
+ campo: string;
37128
+ valor: string;
37129
+ }[] | undefined;
37130
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
37131
+ atualiza_campos?: {
37132
+ tipo: string;
37133
+ campo: string;
37134
+ valor: string;
37135
+ }[] | undefined;
37136
+ }>;
37137
+ safeEncode: (data: {
37138
+ atualiza_campos?: {
37139
+ tipo: string;
37140
+ campo: string;
37141
+ valor: string;
37142
+ }[] | undefined;
37143
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
37144
+ atualiza_campos?: {
37145
+ tipo: string;
37146
+ campo: string;
37147
+ valor: string;
37148
+ }[] | undefined;
37149
+ }>;
37150
+ safeDecode: (data: {
37151
+ atualiza_campos?: {
37152
+ tipo: string;
37153
+ campo: string;
37154
+ valor: string;
37155
+ }[] | undefined;
37156
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
37157
+ atualiza_campos?: {
37158
+ tipo: string;
37159
+ campo: string;
37160
+ valor: string;
37161
+ }[] | undefined;
37162
+ }>;
37163
+ safeEncodeAsync: (data: {
37164
+ atualiza_campos?: {
37165
+ tipo: string;
37166
+ campo: string;
37167
+ valor: string;
37168
+ }[] | undefined;
37169
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
37170
+ atualiza_campos?: {
37171
+ tipo: string;
37172
+ campo: string;
37173
+ valor: string;
37174
+ }[] | undefined;
37175
+ }>>;
37176
+ safeDecodeAsync: (data: {
37177
+ atualiza_campos?: {
37178
+ tipo: string;
37179
+ campo: string;
37180
+ valor: string;
37181
+ }[] | undefined;
37182
+ }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
37183
+ atualiza_campos?: {
37184
+ tipo: string;
37185
+ campo: string;
37186
+ valor: string;
37187
+ }[] | undefined;
37188
+ }>>;
37189
+ refine: <Ch extends (arg: {
37190
+ atualiza_campos?: {
37191
+ tipo: string;
37192
+ campo: string;
37193
+ valor: string;
37194
+ }[] | undefined;
37195
+ }) => unknown | Promise<unknown>>(check: Ch, params?: string | {
37196
+ path?: PropertyKey[] | undefined | undefined;
37197
+ params?: Record<string, any> | undefined;
37198
+ abort?: boolean | undefined | undefined;
37199
+ when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
37200
+ error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
37201
+ message?: string | undefined | undefined;
37202
+ } | undefined) => Ch extends (arg: any) => arg is infer R ? z.ZodObject<{
37203
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37204
+ tipo: z.ZodString;
37205
+ campo: z.ZodString;
37206
+ valor: z.ZodString;
37207
+ }, z.core.$strip>>>;
37208
+ }, z.core.$strip> & z.ZodType<R, {
37209
+ atualiza_campos?: {
37210
+ tipo: string;
37211
+ campo: string;
37212
+ valor: string;
37213
+ }[] | undefined;
37214
+ }, z.core.$ZodTypeInternals<R, {
37215
+ atualiza_campos?: {
37216
+ tipo: string;
37217
+ campo: string;
37218
+ valor: string;
37219
+ }[] | undefined;
37220
+ }>> : z.ZodObject<{
37221
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37222
+ tipo: z.ZodString;
37223
+ campo: z.ZodString;
37224
+ valor: z.ZodString;
37225
+ }, z.core.$strip>>>;
37226
+ }, z.core.$strip>;
37227
+ superRefine: (refinement: (arg: {
37228
+ atualiza_campos?: {
37229
+ tipo: string;
37230
+ campo: string;
37231
+ valor: string;
37232
+ }[] | undefined;
37233
+ }, ctx: z.core.$RefinementCtx<{
37234
+ atualiza_campos?: {
37235
+ tipo: string;
37236
+ campo: string;
37237
+ valor: string;
37238
+ }[] | undefined;
37239
+ }>) => void | Promise<void>) => z.ZodObject<{
37240
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37241
+ tipo: z.ZodString;
37242
+ campo: z.ZodString;
37243
+ valor: z.ZodString;
37244
+ }, z.core.$strip>>>;
37245
+ }, z.core.$strip>;
37246
+ overwrite: (fn: (x: {
37247
+ atualiza_campos?: {
37248
+ tipo: string;
37249
+ campo: string;
37250
+ valor: string;
37251
+ }[] | undefined;
37252
+ }) => {
37253
+ atualiza_campos?: {
37254
+ tipo: string;
37255
+ campo: string;
37256
+ valor: string;
37257
+ }[] | undefined;
37258
+ }) => z.ZodObject<{
37259
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37260
+ tipo: z.ZodString;
37261
+ campo: z.ZodString;
37262
+ valor: z.ZodString;
37263
+ }, z.core.$strip>>>;
37264
+ }, z.core.$strip>;
37265
+ optional: () => z.ZodOptional<z.ZodObject<{
37266
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37267
+ tipo: z.ZodString;
37268
+ campo: z.ZodString;
37269
+ valor: z.ZodString;
37270
+ }, z.core.$strip>>>;
37271
+ }, z.core.$strip>>;
37272
+ exactOptional: () => z.ZodExactOptional<z.ZodObject<{
37273
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37274
+ tipo: z.ZodString;
37275
+ campo: z.ZodString;
37276
+ valor: z.ZodString;
37277
+ }, z.core.$strip>>>;
37278
+ }, z.core.$strip>>;
37279
+ nonoptional: (params?: string | z.core.$ZodNonOptionalParams) => z.ZodNonOptional<z.ZodObject<{
37280
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37281
+ tipo: z.ZodString;
37282
+ campo: z.ZodString;
37283
+ valor: z.ZodString;
37284
+ }, z.core.$strip>>>;
37285
+ }, z.core.$strip>>;
37286
+ nullable: () => z.ZodNullable<z.ZodObject<{
37287
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37288
+ tipo: z.ZodString;
37289
+ campo: z.ZodString;
37290
+ valor: z.ZodString;
37291
+ }, z.core.$strip>>>;
37292
+ }, z.core.$strip>>;
37293
+ nullish: () => z.ZodOptional<z.ZodNullable<z.ZodObject<{
37294
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37295
+ tipo: z.ZodString;
37296
+ campo: z.ZodString;
37297
+ valor: z.ZodString;
37298
+ }, z.core.$strip>>>;
37299
+ }, z.core.$strip>>>;
37300
+ default: {
37301
+ (def: {
37302
+ atualiza_campos?: {
37303
+ tipo: string;
37304
+ campo: string;
37305
+ valor: string;
37306
+ }[] | undefined;
37307
+ }): z.ZodDefault<z.ZodObject<{
37308
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37309
+ tipo: z.ZodString;
37310
+ campo: z.ZodString;
37311
+ valor: z.ZodString;
37312
+ }, z.core.$strip>>>;
37313
+ }, z.core.$strip>>;
37314
+ (def: () => {
37315
+ atualiza_campos?: {
37316
+ tipo: string;
37317
+ campo: string;
37318
+ valor: string;
37319
+ }[] | undefined;
37320
+ }): z.ZodDefault<z.ZodObject<{
37321
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37322
+ tipo: z.ZodString;
37323
+ campo: z.ZodString;
37324
+ valor: z.ZodString;
37325
+ }, z.core.$strip>>>;
37326
+ }, z.core.$strip>>;
37327
+ };
37328
+ prefault: {
37329
+ (def: () => {
37330
+ atualiza_campos?: {
37331
+ tipo: string;
37332
+ campo: string;
37333
+ valor: string;
37334
+ }[] | undefined;
37335
+ }): z.ZodPrefault<z.ZodObject<{
37336
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37337
+ tipo: z.ZodString;
37338
+ campo: z.ZodString;
37339
+ valor: z.ZodString;
37340
+ }, z.core.$strip>>>;
37341
+ }, z.core.$strip>>;
37342
+ (def: {
37343
+ atualiza_campos?: {
37344
+ tipo: string;
37345
+ campo: string;
37346
+ valor: string;
37347
+ }[] | undefined;
37348
+ }): z.ZodPrefault<z.ZodObject<{
37349
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37350
+ tipo: z.ZodString;
37351
+ campo: z.ZodString;
37352
+ valor: z.ZodString;
37353
+ }, z.core.$strip>>>;
37354
+ }, z.core.$strip>>;
37355
+ };
37356
+ array: () => z.ZodArray<z.ZodObject<{
37357
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37358
+ tipo: z.ZodString;
37359
+ campo: z.ZodString;
37360
+ valor: z.ZodString;
37361
+ }, z.core.$strip>>>;
37362
+ }, z.core.$strip>>;
37363
+ or: <T extends z.core.SomeType>(option: T) => z.ZodUnion<[z.ZodObject<{
37364
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37365
+ tipo: z.ZodString;
37366
+ campo: z.ZodString;
37367
+ valor: z.ZodString;
37368
+ }, z.core.$strip>>>;
37369
+ }, z.core.$strip>, T]>;
37370
+ and: <T extends z.core.SomeType>(incoming: T) => z.ZodIntersection<z.ZodObject<{
37371
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37372
+ tipo: z.ZodString;
37373
+ campo: z.ZodString;
37374
+ valor: z.ZodString;
37375
+ }, z.core.$strip>>>;
37376
+ }, z.core.$strip>, T>;
37377
+ transform: <NewOut>(transform: (arg: {
37378
+ atualiza_campos?: {
37379
+ tipo: string;
37380
+ campo: string;
37381
+ valor: string;
37382
+ }[] | undefined;
37383
+ }, ctx: z.core.$RefinementCtx<{
37384
+ atualiza_campos?: {
37385
+ tipo: string;
37386
+ campo: string;
37387
+ valor: string;
37388
+ }[] | undefined;
37389
+ }>) => NewOut | Promise<NewOut>) => z.ZodPipe<z.ZodObject<{
37390
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37391
+ tipo: z.ZodString;
37392
+ campo: z.ZodString;
37393
+ valor: z.ZodString;
37394
+ }, z.core.$strip>>>;
37395
+ }, z.core.$strip>, z.ZodTransform<Awaited<NewOut>, {
37396
+ atualiza_campos?: {
37397
+ tipo: string;
37398
+ campo: string;
37399
+ valor: string;
37400
+ }[] | undefined;
37401
+ }>>;
37402
+ catch: {
37403
+ (def: {
37404
+ atualiza_campos?: {
37405
+ tipo: string;
37406
+ campo: string;
37407
+ valor: string;
37408
+ }[] | undefined;
37409
+ }): z.ZodCatch<z.ZodObject<{
37410
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37411
+ tipo: z.ZodString;
37412
+ campo: z.ZodString;
37413
+ valor: z.ZodString;
37414
+ }, z.core.$strip>>>;
37415
+ }, z.core.$strip>>;
37416
+ (def: (ctx: z.core.$ZodCatchCtx) => {
37417
+ atualiza_campos?: {
37418
+ tipo: string;
37419
+ campo: string;
37420
+ valor: string;
37421
+ }[] | undefined;
37422
+ }): z.ZodCatch<z.ZodObject<{
37423
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37424
+ tipo: z.ZodString;
37425
+ campo: z.ZodString;
37426
+ valor: z.ZodString;
37427
+ }, z.core.$strip>>>;
37428
+ }, z.core.$strip>>;
37429
+ };
37430
+ pipe: <T extends z.core.$ZodType<any, {
37431
+ atualiza_campos?: {
37432
+ tipo: string;
37433
+ campo: string;
37434
+ valor: string;
37435
+ }[] | undefined;
37436
+ }, z.core.$ZodTypeInternals<any, {
37437
+ atualiza_campos?: {
37438
+ tipo: string;
37439
+ campo: string;
37440
+ valor: string;
37441
+ }[] | undefined;
37442
+ }>>>(target: T | z.core.$ZodType<any, {
37443
+ atualiza_campos?: {
37444
+ tipo: string;
37445
+ campo: string;
37446
+ valor: string;
37447
+ }[] | undefined;
37448
+ }, z.core.$ZodTypeInternals<any, {
37449
+ atualiza_campos?: {
37450
+ tipo: string;
37451
+ campo: string;
37452
+ valor: string;
37453
+ }[] | undefined;
37454
+ }>>) => z.ZodPipe<z.ZodObject<{
37455
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37456
+ tipo: z.ZodString;
37457
+ campo: z.ZodString;
37458
+ valor: z.ZodString;
37459
+ }, z.core.$strip>>>;
37460
+ }, z.core.$strip>, T>;
37461
+ readonly: () => z.ZodReadonly<z.ZodObject<{
37462
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37463
+ tipo: z.ZodString;
37464
+ campo: z.ZodString;
37465
+ valor: z.ZodString;
37466
+ }, z.core.$strip>>>;
37467
+ }, z.core.$strip>>;
37468
+ describe: (description: string) => z.ZodObject<{
37469
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37470
+ tipo: z.ZodString;
37471
+ campo: z.ZodString;
37472
+ valor: z.ZodString;
37473
+ }, z.core.$strip>>>;
37474
+ }, z.core.$strip>;
37475
+ description?: string | undefined;
37476
+ meta: {
37477
+ (): {
37478
+ [x: string]: unknown;
37479
+ id?: string | undefined | undefined;
37480
+ title?: string | undefined | undefined;
37481
+ description?: string | undefined | undefined;
37482
+ deprecated?: boolean | undefined | undefined;
37483
+ } | undefined;
37484
+ (data: {
37485
+ [x: string]: unknown;
37486
+ id?: string | undefined | undefined;
37487
+ title?: string | undefined | undefined;
37488
+ description?: string | undefined | undefined;
37489
+ deprecated?: boolean | undefined | undefined;
37490
+ }): z.ZodObject<{
37491
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37492
+ tipo: z.ZodString;
37493
+ campo: z.ZodString;
37494
+ valor: z.ZodString;
37495
+ }, z.core.$strip>>>;
37496
+ }, z.core.$strip>;
37497
+ };
37498
+ isOptional: () => boolean;
37499
+ isNullable: () => boolean;
37500
+ apply: <T>(fn: (schema: z.ZodObject<{
37501
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37502
+ tipo: z.ZodString;
37503
+ campo: z.ZodString;
37504
+ valor: z.ZodString;
37505
+ }, z.core.$strip>>>;
37506
+ }, z.core.$strip>) => T) => T;
37507
+ _zod: z.core.$ZodObjectInternals<{
37508
+ atualiza_campos: z.ZodOptional<z.ZodArray<z.ZodObject<{
37509
+ tipo: z.ZodString;
37510
+ campo: z.ZodString;
37511
+ valor: z.ZodString;
37512
+ }, z.core.$strip>>>;
37513
+ }, z.core.$strip>;
37514
+ }, z.core.$catchall<z.ZodAny>>;
37515
+ type IxcSuOssChamadoResponse = z.infer<typeof IxcSuOssChamadoResponseSchema>;
36765
37516
 
36766
37517
  declare class SuOssChamadoResource {
36767
37518
  private readonly client;
@@ -36805,17 +37556,20 @@ interface MonthlyFeesForClientInput {
36805
37556
  id_cliente: number | string;
36806
37557
  tipo: string;
36807
37558
  }
36808
- interface MonthlyFeesForClientResponse {
36809
- type: "success" | "error";
36810
- message: string;
36811
- id?: string;
36812
- id_contrato?: string | number;
36813
- tipo?: string;
36814
- id_cliente?: string | number;
36815
- id_tipo_documento?: string;
36816
- action?: string;
36817
- [key: string]: any;
36818
- }
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.$catchall<z.ZodAny>>;
37572
+ type MonthlyFeesForClientResponse = z.infer<typeof MonthlyFeesForClientResponseSchema>;
36819
37573
 
36820
37574
  declare class MonthlyFeesForClientResource {
36821
37575
  private readonly client;
@@ -36834,13 +37588,25 @@ declare class IXCSoftAPIClient extends APIClient {
36834
37588
  constructor(config: APIConfigType);
36835
37589
  }
36836
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.$catchall<z.ZodAny>>;
37599
+
37600
+ declare const ixcSoftApi_types_IXCSoftResponseSchema: typeof IXCSoftResponseSchema;
36837
37601
  type ixcSoftApi_types_IxcSuOssChamadoResponse = IxcSuOssChamadoResponse;
37602
+ declare const ixcSoftApi_types_IxcSuOssChamadoResponseSchema: typeof IxcSuOssChamadoResponseSchema;
36838
37603
  type ixcSoftApi_types_MonthlyFeesForClientInput = MonthlyFeesForClientInput;
36839
37604
  type ixcSoftApi_types_MonthlyFeesForClientResponse = MonthlyFeesForClientResponse;
37605
+ declare const ixcSoftApi_types_MonthlyFeesForClientResponseSchema: typeof MonthlyFeesForClientResponseSchema;
36840
37606
  type ixcSoftApi_types_SuOssChamadoInput = SuOssChamadoInput;
36841
37607
  type ixcSoftApi_types_SuOssChamadoListFilters = SuOssChamadoListFilters;
36842
37608
  declare namespace ixcSoftApi_types {
36843
- export type { ixcSoftApi_types_IxcSuOssChamadoResponse as IxcSuOssChamadoResponse, ixcSoftApi_types_MonthlyFeesForClientInput as MonthlyFeesForClientInput, ixcSoftApi_types_MonthlyFeesForClientResponse as MonthlyFeesForClientResponse, ixcSoftApi_types_SuOssChamadoInput as SuOssChamadoInput, ixcSoftApi_types_SuOssChamadoListFilters as SuOssChamadoListFilters };
37609
+ 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 };
36844
37610
  }
36845
37611
 
36846
37612
  declare const RoutinesTasksSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {