@cristian.aragao/milharis-core 1.31.21 → 1.31.25

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
@@ -1379,6 +1379,11 @@ type TypeUser = TypeMetaData & {
1379
1379
  * @example "2"
1380
1380
  */
1381
1381
  id_integer: string;
1382
+ /**
1383
+ * @description Senha do usuário
1384
+ * @example "123456"
1385
+ */
1386
+ senha: string;
1382
1387
  /**
1383
1388
  * @description Código interno do cambista na banca
1384
1389
  *
@@ -1434,6 +1439,8 @@ type TypeUser = TypeMetaData & {
1434
1439
  id: TypeRoute["id"];
1435
1440
  name: TypeRoute["name"];
1436
1441
  tipo: TypeRoute["tipo"];
1442
+ comission: TypeRoute["comission"];
1443
+ responsible: TypeRoute["responsible"];
1437
1444
  codigo_rota: TypeRoute["codigo_rota"];
1438
1445
  id_integer: TypeRoute["id_integer"];
1439
1446
  };
@@ -1764,6 +1771,60 @@ type TypeValueGames = {
1764
1771
 
1765
1772
  declare const ValueGameModel: (obj?: Partial<TypeValueGame>) => TypeValueGame;
1766
1773
 
1774
+ type TypeAssociacao = TypeMetaData & {
1775
+ /**
1776
+ * @description ID aleatório gerado para o documento
1777
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
1778
+ */
1779
+ id: string;
1780
+ /**
1781
+ * @description ID incremental por banca
1782
+ * @example "1"
1783
+ * @example "2"
1784
+ */
1785
+ id_integer: string;
1786
+ /**
1787
+ * @description Nome da associação
1788
+ * @example "Abaese"
1789
+ */
1790
+ nome: string;
1791
+ /**
1792
+ * @description Código da associação
1793
+ * @example "0143"
1794
+ */
1795
+ codigo_associacao: string;
1796
+ /**
1797
+ * @description Configurações visuais da banca, como logo e cores de fundo utilizadas na interface.
1798
+ */
1799
+ settings: {
1800
+ /**
1801
+ * @description URL do storage do firebase da logo da banca.
1802
+ */
1803
+ urlLogo: string;
1804
+ /**
1805
+ * @description URL do storage do firebase da logo da banca em preto e branco.
1806
+ */
1807
+ urlLogoPretoBranco: string;
1808
+ /**
1809
+ * @description Imagem do logotipo da banca em base64.
1810
+ */
1811
+ logoBase64: string;
1812
+ /**
1813
+ * @description Imagem do logotipo da banca em base64 para impressão (em preto e branco).
1814
+ */
1815
+ logoImpressaoBase64: string;
1816
+ /**
1817
+ * @description URL da imagem de fundo da banca.
1818
+ */
1819
+ urlBackground: string;
1820
+ /**
1821
+ * @description Cor de tema da banca (tailwind).
1822
+ * @example "yellow"
1823
+ */
1824
+ color: string;
1825
+ };
1826
+ };
1827
+
1767
1828
  type TypePrize = {
1768
1829
  prizes: number[];
1769
1830
  value: number;
@@ -1799,7 +1860,7 @@ type TypeGame = TypeMetaData & {
1799
1860
  login: TypeUser["login"];
1800
1861
  role: TypeUser["role"];
1801
1862
  comission: TypeUser["comission"];
1802
- route: Pick<TypeRoute, "id" | "name" | "tipo" | "codigo_rota" | "id_integer">;
1863
+ route: Pick<TypeRoute, "id" | "name" | "responsible" | "comission" | "tipo" | "codigo_rota" | "id_integer">;
1803
1864
  };
1804
1865
  bets: TypeBet[];
1805
1866
  dateBet: number;
@@ -1841,13 +1902,13 @@ type TypeGame = TypeMetaData & {
1841
1902
  };
1842
1903
  /**
1843
1904
  * @description Diz se a pule foi reservada ou não
1844
- */
1905
+ */
1845
1906
  reservada: boolean;
1846
1907
  /**
1847
1908
  * @description Dias da semana escolhidos
1848
1909
  *
1849
1910
  * @example [0,1,2] -> domingo, segunda e terça
1850
- */
1911
+ */
1851
1912
  dias_disponiveis: number[];
1852
1913
  infoJogos: string[];
1853
1914
  /**
@@ -2054,6 +2115,11 @@ type TypeBanca = TypeMetaData & {
2054
2115
  * @example "Banca Sortudinho"
2055
2116
  */
2056
2117
  nome: string;
2118
+ /**
2119
+ * @description ID da associação que a banca pertence
2120
+ * @example "associacao_123"
2121
+ */
2122
+ associacaoId: string;
2057
2123
  /**
2058
2124
  * @description Código da banca, usado para identificação no sistema.
2059
2125
  * @example "0143"
@@ -2701,6 +2767,16 @@ type TypePremiacaoAssociacao = TypeMetaData & {
2701
2767
  * @example "centena"
2702
2768
  */
2703
2769
  tipo_jogo: keyof typeof GAMES;
2770
+ /**
2771
+ * @description Informações da banca que ganhou o prêmio
2772
+ */
2773
+ banca: {
2774
+ id: TypeBanca["id"];
2775
+ id_integer: TypeBanca["id_integer"];
2776
+ nome: TypeBanca["nome"];
2777
+ codigo_banca: TypeBanca["codigo_banca"];
2778
+ };
2779
+ associacaoId: string;
2704
2780
  /**
2705
2781
  * @description Total que o cambista recebe do prêmio
2706
2782
  * @example 4000
@@ -2804,6 +2880,7 @@ declare const collections: {
2804
2880
  readonly comissoes_descarga: (obj?: Partial<TypeComissaoDescarga>) => TypeComissaoDescarga;
2805
2881
  readonly vendas_cambistas: (obj?: Partial<TypeVendaCambista>) => TypeVendaCambista;
2806
2882
  readonly vendas_por_dias: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
2883
+ readonly associacoes: (obj?: Partial<TypeAssociacao>) => TypeAssociacao;
2807
2884
  };
2808
2885
 
2809
2886
  /**
@@ -2842,9 +2919,9 @@ declare const collectionsRetentionDays: Record<keyof typeof collections, number
2842
2919
  * @example
2843
2920
  * - Se o valor for true, a coleção precisa de isolamento por bancaId
2844
2921
  * - Se o valor for false, a coleção não precisa de isolamento por bancaId
2845
- *
2846
- * Todas as chaves devem corresponder exatamente às chaves do objeto 'collections'.
2847
- */
2922
+ *
2923
+ * Todas as chaves devem corresponder exatamente às chaves do objeto 'collections'.
2924
+ */
2848
2925
  declare const collectionsWithIsolationByBancaId: Record<keyof typeof collections, boolean>;
2849
2926
 
2850
2927
  type Firestore<T = any> = T;
@@ -3512,6 +3589,8 @@ declare const VendaCambistaModel: (obj?: Partial<TypeVendaCambista>) => TypeVend
3512
3589
 
3513
3590
  declare const VendasPorDiaModel: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
3514
3591
 
3592
+ declare const AssociacaoModel: (obj?: Partial<TypeAssociacao>) => TypeAssociacao;
3593
+
3515
3594
  declare const calculateAmount: (betValues: TypePrize[]) => number;
3516
3595
 
3517
3596
  declare const calculateAmountGame: (games: TypeBet[]) => number;
@@ -4803,4 +4882,4 @@ declare const functionsCore: {
4803
4882
  envio: typeof envio;
4804
4883
  };
4805
4884
 
4806
- export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COLLECTIONS_NAMES, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeProps, type TypePropsPrefix, type TypeResultado, type TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, type TypeVendaCambista, type TypeVendasCambistas, type TypeVendasPorDia, type TypeVendasPorDias, UserModel, VISUALIZACAO, ValueGameModel, VendaCambistaModel, VendasPorDiaModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, arrendondarCasasDecimais, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };
4885
+ export { AssociacaoModel, AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COLLECTIONS_NAMES, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAssociacao, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeProps, type TypePropsPrefix, type TypeResultado, type TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, type TypeVendaCambista, type TypeVendasCambistas, type TypeVendasPorDia, type TypeVendasPorDias, UserModel, VISUALIZACAO, ValueGameModel, VendaCambistaModel, VendasPorDiaModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, arrendondarCasasDecimais, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };
package/dist/index.d.ts CHANGED
@@ -1379,6 +1379,11 @@ type TypeUser = TypeMetaData & {
1379
1379
  * @example "2"
1380
1380
  */
1381
1381
  id_integer: string;
1382
+ /**
1383
+ * @description Senha do usuário
1384
+ * @example "123456"
1385
+ */
1386
+ senha: string;
1382
1387
  /**
1383
1388
  * @description Código interno do cambista na banca
1384
1389
  *
@@ -1434,6 +1439,8 @@ type TypeUser = TypeMetaData & {
1434
1439
  id: TypeRoute["id"];
1435
1440
  name: TypeRoute["name"];
1436
1441
  tipo: TypeRoute["tipo"];
1442
+ comission: TypeRoute["comission"];
1443
+ responsible: TypeRoute["responsible"];
1437
1444
  codigo_rota: TypeRoute["codigo_rota"];
1438
1445
  id_integer: TypeRoute["id_integer"];
1439
1446
  };
@@ -1764,6 +1771,60 @@ type TypeValueGames = {
1764
1771
 
1765
1772
  declare const ValueGameModel: (obj?: Partial<TypeValueGame>) => TypeValueGame;
1766
1773
 
1774
+ type TypeAssociacao = TypeMetaData & {
1775
+ /**
1776
+ * @description ID aleatório gerado para o documento
1777
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
1778
+ */
1779
+ id: string;
1780
+ /**
1781
+ * @description ID incremental por banca
1782
+ * @example "1"
1783
+ * @example "2"
1784
+ */
1785
+ id_integer: string;
1786
+ /**
1787
+ * @description Nome da associação
1788
+ * @example "Abaese"
1789
+ */
1790
+ nome: string;
1791
+ /**
1792
+ * @description Código da associação
1793
+ * @example "0143"
1794
+ */
1795
+ codigo_associacao: string;
1796
+ /**
1797
+ * @description Configurações visuais da banca, como logo e cores de fundo utilizadas na interface.
1798
+ */
1799
+ settings: {
1800
+ /**
1801
+ * @description URL do storage do firebase da logo da banca.
1802
+ */
1803
+ urlLogo: string;
1804
+ /**
1805
+ * @description URL do storage do firebase da logo da banca em preto e branco.
1806
+ */
1807
+ urlLogoPretoBranco: string;
1808
+ /**
1809
+ * @description Imagem do logotipo da banca em base64.
1810
+ */
1811
+ logoBase64: string;
1812
+ /**
1813
+ * @description Imagem do logotipo da banca em base64 para impressão (em preto e branco).
1814
+ */
1815
+ logoImpressaoBase64: string;
1816
+ /**
1817
+ * @description URL da imagem de fundo da banca.
1818
+ */
1819
+ urlBackground: string;
1820
+ /**
1821
+ * @description Cor de tema da banca (tailwind).
1822
+ * @example "yellow"
1823
+ */
1824
+ color: string;
1825
+ };
1826
+ };
1827
+
1767
1828
  type TypePrize = {
1768
1829
  prizes: number[];
1769
1830
  value: number;
@@ -1799,7 +1860,7 @@ type TypeGame = TypeMetaData & {
1799
1860
  login: TypeUser["login"];
1800
1861
  role: TypeUser["role"];
1801
1862
  comission: TypeUser["comission"];
1802
- route: Pick<TypeRoute, "id" | "name" | "tipo" | "codigo_rota" | "id_integer">;
1863
+ route: Pick<TypeRoute, "id" | "name" | "responsible" | "comission" | "tipo" | "codigo_rota" | "id_integer">;
1803
1864
  };
1804
1865
  bets: TypeBet[];
1805
1866
  dateBet: number;
@@ -1841,13 +1902,13 @@ type TypeGame = TypeMetaData & {
1841
1902
  };
1842
1903
  /**
1843
1904
  * @description Diz se a pule foi reservada ou não
1844
- */
1905
+ */
1845
1906
  reservada: boolean;
1846
1907
  /**
1847
1908
  * @description Dias da semana escolhidos
1848
1909
  *
1849
1910
  * @example [0,1,2] -> domingo, segunda e terça
1850
- */
1911
+ */
1851
1912
  dias_disponiveis: number[];
1852
1913
  infoJogos: string[];
1853
1914
  /**
@@ -2054,6 +2115,11 @@ type TypeBanca = TypeMetaData & {
2054
2115
  * @example "Banca Sortudinho"
2055
2116
  */
2056
2117
  nome: string;
2118
+ /**
2119
+ * @description ID da associação que a banca pertence
2120
+ * @example "associacao_123"
2121
+ */
2122
+ associacaoId: string;
2057
2123
  /**
2058
2124
  * @description Código da banca, usado para identificação no sistema.
2059
2125
  * @example "0143"
@@ -2701,6 +2767,16 @@ type TypePremiacaoAssociacao = TypeMetaData & {
2701
2767
  * @example "centena"
2702
2768
  */
2703
2769
  tipo_jogo: keyof typeof GAMES;
2770
+ /**
2771
+ * @description Informações da banca que ganhou o prêmio
2772
+ */
2773
+ banca: {
2774
+ id: TypeBanca["id"];
2775
+ id_integer: TypeBanca["id_integer"];
2776
+ nome: TypeBanca["nome"];
2777
+ codigo_banca: TypeBanca["codigo_banca"];
2778
+ };
2779
+ associacaoId: string;
2704
2780
  /**
2705
2781
  * @description Total que o cambista recebe do prêmio
2706
2782
  * @example 4000
@@ -2804,6 +2880,7 @@ declare const collections: {
2804
2880
  readonly comissoes_descarga: (obj?: Partial<TypeComissaoDescarga>) => TypeComissaoDescarga;
2805
2881
  readonly vendas_cambistas: (obj?: Partial<TypeVendaCambista>) => TypeVendaCambista;
2806
2882
  readonly vendas_por_dias: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
2883
+ readonly associacoes: (obj?: Partial<TypeAssociacao>) => TypeAssociacao;
2807
2884
  };
2808
2885
 
2809
2886
  /**
@@ -2842,9 +2919,9 @@ declare const collectionsRetentionDays: Record<keyof typeof collections, number
2842
2919
  * @example
2843
2920
  * - Se o valor for true, a coleção precisa de isolamento por bancaId
2844
2921
  * - Se o valor for false, a coleção não precisa de isolamento por bancaId
2845
- *
2846
- * Todas as chaves devem corresponder exatamente às chaves do objeto 'collections'.
2847
- */
2922
+ *
2923
+ * Todas as chaves devem corresponder exatamente às chaves do objeto 'collections'.
2924
+ */
2848
2925
  declare const collectionsWithIsolationByBancaId: Record<keyof typeof collections, boolean>;
2849
2926
 
2850
2927
  type Firestore<T = any> = T;
@@ -3512,6 +3589,8 @@ declare const VendaCambistaModel: (obj?: Partial<TypeVendaCambista>) => TypeVend
3512
3589
 
3513
3590
  declare const VendasPorDiaModel: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
3514
3591
 
3592
+ declare const AssociacaoModel: (obj?: Partial<TypeAssociacao>) => TypeAssociacao;
3593
+
3515
3594
  declare const calculateAmount: (betValues: TypePrize[]) => number;
3516
3595
 
3517
3596
  declare const calculateAmountGame: (games: TypeBet[]) => number;
@@ -4803,4 +4882,4 @@ declare const functionsCore: {
4803
4882
  envio: typeof envio;
4804
4883
  };
4805
4884
 
4806
- export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COLLECTIONS_NAMES, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeProps, type TypePropsPrefix, type TypeResultado, type TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, type TypeVendaCambista, type TypeVendasCambistas, type TypeVendasPorDia, type TypeVendasPorDias, UserModel, VISUALIZACAO, ValueGameModel, VendaCambistaModel, VendasPorDiaModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, arrendondarCasasDecimais, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };
4885
+ export { AssociacaoModel, AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COLLECTIONS_NAMES, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAssociacao, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeProps, type TypePropsPrefix, type TypeResultado, type TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, type TypeVendaCambista, type TypeVendasCambistas, type TypeVendasPorDia, type TypeVendasPorDias, UserModel, VISUALIZACAO, ValueGameModel, VendaCambistaModel, VendasPorDiaModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, arrendondarCasasDecimais, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };