@nomalism-com/api 0.37.1 → 0.37.2

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.cjs CHANGED
@@ -16,7 +16,6 @@ __export(main_exports, {
16
16
  ChatRapidMessageClass: () => chatRapidMessage_exports,
17
17
  ChatSubscriberClass: () => chatSubscriber_exports,
18
18
  Client: () => clients_exports,
19
- ClientCurrentAccount: () => clientCurrentAccount_exports,
20
19
  ClientType: () => clientType_exports,
21
20
  Clt: () => clt_exports,
22
21
  Commissioner: () => commissioner_exports,
@@ -71,7 +70,6 @@ __export(main_exports, {
71
70
  Promotion: () => promotion_exports,
72
71
  PromotionAssoc: () => promotionAssoc_exports,
73
72
  PropostaSheets: () => propostaSheets_exports,
74
- ProviderCurrentAccount: () => providerCurrentAccount_exports,
75
73
  ProviderType: () => providerType_exports,
76
74
  Providers: () => provider_exports,
77
75
  Purchase: () => purchase_exports,
@@ -492,6 +490,10 @@ var Repository7 = class {
492
490
  }
493
491
  return `${this.route}document_pdf/${id}?${qs.toString()}`;
494
492
  }
493
+ async documentThermalPrint({ id }) {
494
+ const result = await this.api.get(`${this.route}document_thermal_print/${id}`);
495
+ return result.data;
496
+ }
495
497
  async documentList({
496
498
  id
497
499
  }) {
@@ -514,6 +516,11 @@ var Repository7 = class {
514
516
  const response = await this.api.get(`${this.route}rm_open_documents`);
515
517
  return response.data;
516
518
  }
519
+ async regularizarMultiplosDocumentos(data) {
520
+ await this.api.post(`${this.route}multiple_documents`, {
521
+ data
522
+ });
523
+ }
517
524
  };
518
525
 
519
526
  // src/modules/supply/documentHeaderHistory.ts
@@ -2389,79 +2396,12 @@ var Repository59 = class {
2389
2396
  }
2390
2397
  };
2391
2398
 
2392
- // src/modules/supply/clientCurrentAccount.ts
2393
- var clientCurrentAccount_exports = {};
2394
- __export(clientCurrentAccount_exports, {
2395
- default: () => Repository60
2396
- });
2397
- var Repository60 = class {
2398
- constructor({ api, route, publicRoute }) {
2399
- this.api = api;
2400
- this.route = route;
2401
- this.publicRoute = publicRoute;
2402
- }
2403
- async findByOwnerId(params) {
2404
- const response = await this.api.get(`${this.route}by_owner`, {
2405
- params
2406
- });
2407
- return response.data;
2408
- }
2409
- async findFaturaPorPagar(params) {
2410
- const response = await this.api.get(`${this.route}fatura_por_pagar`, {
2411
- params
2412
- });
2413
- return response.data;
2414
- }
2415
- async pagarFatura(data) {
2416
- await this.api.post(`${this.route}pagar_fatura`, data);
2417
- }
2418
- async findFaturaParaDevolver(params) {
2419
- const response = await this.api.get(`${this.route}fatura_para_devolver`, {
2420
- params
2421
- });
2422
- return response.data;
2423
- }
2424
- async devolver(data) {
2425
- await this.api.post(`${this.route}devolver`, data);
2426
- }
2427
- async findByBasicSearch(params) {
2428
- const response = await this.api.get(`${this.route}basic_search`, {
2429
- params
2430
- });
2431
- return response.data;
2432
- }
2433
- async regularizarMultiplosDocumentos(data) {
2434
- await this.api.post(`${this.route}multiple_documents`, {
2435
- data
2436
- });
2437
- }
2438
- };
2439
-
2440
- // src/modules/supply/providerCurrentAccount.ts
2441
- var providerCurrentAccount_exports = {};
2442
- __export(providerCurrentAccount_exports, {
2443
- default: () => Repository61
2444
- });
2445
- var Repository61 = class {
2446
- constructor({ api, route, publicRoute }) {
2447
- this.api = api;
2448
- this.route = route;
2449
- this.publicRoute = publicRoute;
2450
- }
2451
- async findByOwnerId(params) {
2452
- const response = await this.api.get(`${this.route}by_owner`, {
2453
- params
2454
- });
2455
- return response.data;
2456
- }
2457
- };
2458
-
2459
2399
  // src/modules/supply/vatValidation.ts
2460
2400
  var vatValidation_exports = {};
2461
2401
  __export(vatValidation_exports, {
2462
- default: () => Repository62
2402
+ default: () => Repository60
2463
2403
  });
2464
- var Repository62 = class {
2404
+ var Repository60 = class {
2465
2405
  constructor({ api, route, publicRoute }) {
2466
2406
  this.api = api;
2467
2407
  this.route = route;
@@ -2480,9 +2420,9 @@ var Repository62 = class {
2480
2420
  // src/modules/stock/stockMovement.ts
2481
2421
  var stockMovement_exports = {};
2482
2422
  __export(stockMovement_exports, {
2483
- default: () => Repository63
2423
+ default: () => Repository61
2484
2424
  });
2485
- var Repository63 = class {
2425
+ var Repository61 = class {
2486
2426
  constructor({ api, route, publicRoute }) {
2487
2427
  this.api = api;
2488
2428
  this.route = route;
@@ -2519,9 +2459,9 @@ var Repository63 = class {
2519
2459
  // src/modules/user/zipCode.ts
2520
2460
  var zipCode_exports = {};
2521
2461
  __export(zipCode_exports, {
2522
- default: () => Repository64
2462
+ default: () => Repository62
2523
2463
  });
2524
- var Repository64 = class {
2464
+ var Repository62 = class {
2525
2465
  constructor({ api, route, publicRoute }) {
2526
2466
  this.api = api;
2527
2467
  this.route = route;
@@ -2539,9 +2479,9 @@ var Repository64 = class {
2539
2479
  // src/modules/user/tenant.ts
2540
2480
  var tenant_exports = {};
2541
2481
  __export(tenant_exports, {
2542
- default: () => Repository65
2482
+ default: () => Repository63
2543
2483
  });
2544
- var Repository65 = class {
2484
+ var Repository63 = class {
2545
2485
  constructor({ api, route, publicRoute }) {
2546
2486
  this.api = api;
2547
2487
  this.route = route;
@@ -2568,9 +2508,9 @@ var Repository65 = class {
2568
2508
  // src/modules/supply/preSale.ts
2569
2509
  var preSale_exports = {};
2570
2510
  __export(preSale_exports, {
2571
- default: () => Repository66
2511
+ default: () => Repository64
2572
2512
  });
2573
- var Repository66 = class {
2513
+ var Repository64 = class {
2574
2514
  constructor({ api, route, publicRoute }) {
2575
2515
  this.api = api;
2576
2516
  this.route = route;
@@ -2613,9 +2553,9 @@ var Repository66 = class {
2613
2553
  // src/modules/supply/preSaleProduct.ts
2614
2554
  var preSaleProduct_exports = {};
2615
2555
  __export(preSaleProduct_exports, {
2616
- default: () => Repository67
2556
+ default: () => Repository65
2617
2557
  });
2618
- var Repository67 = class {
2558
+ var Repository65 = class {
2619
2559
  constructor({ api, route, publicRoute }) {
2620
2560
  this.api = api;
2621
2561
  this.route = route;
@@ -2634,9 +2574,9 @@ var Repository67 = class {
2634
2574
  // src/modules/supply/orderManagement.ts
2635
2575
  var orderManagement_exports = {};
2636
2576
  __export(orderManagement_exports, {
2637
- default: () => Repository68
2577
+ default: () => Repository66
2638
2578
  });
2639
- var Repository68 = class {
2579
+ var Repository66 = class {
2640
2580
  constructor({ api, route, publicRoute }) {
2641
2581
  this.api = api;
2642
2582
  this.route = route;
@@ -2657,9 +2597,9 @@ var Repository68 = class {
2657
2597
  // src/modules/print/npc.ts
2658
2598
  var npc_exports = {};
2659
2599
  __export(npc_exports, {
2660
- default: () => Repository69
2600
+ default: () => Repository67
2661
2601
  });
2662
- var Repository69 = class {
2602
+ var Repository67 = class {
2663
2603
  constructor({ api, route, publicRoute }) {
2664
2604
  this.api = api;
2665
2605
  this.route = route;
@@ -2684,9 +2624,9 @@ var Repository69 = class {
2684
2624
  // src/modules/print/printer.ts
2685
2625
  var printer_exports = {};
2686
2626
  __export(printer_exports, {
2687
- default: () => Repository70
2627
+ default: () => Repository68
2688
2628
  });
2689
- var Repository70 = class {
2629
+ var Repository68 = class {
2690
2630
  constructor({ api, route, publicRoute }) {
2691
2631
  this.api = api;
2692
2632
  this.route = route;
@@ -2716,9 +2656,9 @@ var Repository70 = class {
2716
2656
  // src/modules/print/schedulePrintJob.ts
2717
2657
  var schedulePrintJob_exports = {};
2718
2658
  __export(schedulePrintJob_exports, {
2719
- default: () => Repository71
2659
+ default: () => Repository69
2720
2660
  });
2721
- var Repository71 = class {
2661
+ var Repository69 = class {
2722
2662
  constructor({ api, route, publicRoute }) {
2723
2663
  this.api = api;
2724
2664
  this.route = route;
@@ -2746,9 +2686,9 @@ var Repository71 = class {
2746
2686
  // src/modules/stock/queryList.ts
2747
2687
  var queryList_exports = {};
2748
2688
  __export(queryList_exports, {
2749
- default: () => Repository72
2689
+ default: () => Repository70
2750
2690
  });
2751
- var Repository72 = class {
2691
+ var Repository70 = class {
2752
2692
  constructor({ api, route, publicRoute }) {
2753
2693
  this.api = api;
2754
2694
  this.route = route;
@@ -2797,9 +2737,9 @@ var Repository72 = class {
2797
2737
  // src/modules/stock/queryParameter.ts
2798
2738
  var queryParameter_exports = {};
2799
2739
  __export(queryParameter_exports, {
2800
- default: () => Repository73
2740
+ default: () => Repository71
2801
2741
  });
2802
- var Repository73 = class {
2742
+ var Repository71 = class {
2803
2743
  constructor({ api, route, publicRoute }) {
2804
2744
  this.api = api;
2805
2745
  this.route = route;
@@ -2834,9 +2774,9 @@ var Repository73 = class {
2834
2774
  // src/modules/stock/returnReason.ts
2835
2775
  var returnReason_exports = {};
2836
2776
  __export(returnReason_exports, {
2837
- default: () => Repository74
2777
+ default: () => Repository72
2838
2778
  });
2839
- var Repository74 = class {
2779
+ var Repository72 = class {
2840
2780
  constructor({ api, route, publicRoute }) {
2841
2781
  this.api = api;
2842
2782
  this.route = route;
@@ -2863,9 +2803,9 @@ var Repository74 = class {
2863
2803
  // src/modules/document/propostaSheets.ts
2864
2804
  var propostaSheets_exports = {};
2865
2805
  __export(propostaSheets_exports, {
2866
- default: () => Repository75
2806
+ default: () => Repository73
2867
2807
  });
2868
- var Repository75 = class {
2808
+ var Repository73 = class {
2869
2809
  constructor({ api, route, publicRoute }) {
2870
2810
  this.api = api;
2871
2811
  this.route = route;
@@ -2917,9 +2857,9 @@ var Repository75 = class {
2917
2857
  // src/modules/stock/schedule.ts
2918
2858
  var schedule_exports = {};
2919
2859
  __export(schedule_exports, {
2920
- default: () => Repository76
2860
+ default: () => Repository74
2921
2861
  });
2922
- var Repository76 = class {
2862
+ var Repository74 = class {
2923
2863
  constructor({ api, route, publicRoute }) {
2924
2864
  this.api = api;
2925
2865
  this.route = route;
@@ -2933,9 +2873,9 @@ var Repository76 = class {
2933
2873
  // src/modules/integration/googleFilePermission.ts
2934
2874
  var googleFilePermission_exports = {};
2935
2875
  __export(googleFilePermission_exports, {
2936
- default: () => Repository77
2876
+ default: () => Repository75
2937
2877
  });
2938
- var Repository77 = class {
2878
+ var Repository75 = class {
2939
2879
  constructor({ api, route, publicRoute }) {
2940
2880
  this.api = api;
2941
2881
  this.route = route;
@@ -2962,9 +2902,9 @@ var Repository77 = class {
2962
2902
  // src/modules/integration/settings.ts
2963
2903
  var settings_exports = {};
2964
2904
  __export(settings_exports, {
2965
- default: () => Repository78
2905
+ default: () => Repository76
2966
2906
  });
2967
- var Repository78 = class {
2907
+ var Repository76 = class {
2968
2908
  constructor({ api, route, publicRoute }) {
2969
2909
  this.api = api;
2970
2910
  this.route = route;
@@ -2997,9 +2937,9 @@ var Repository78 = class {
2997
2937
  // src/modules/tickets/tickets.ts
2998
2938
  var tickets_exports = {};
2999
2939
  __export(tickets_exports, {
3000
- default: () => Repository79
2940
+ default: () => Repository77
3001
2941
  });
3002
- var Repository79 = class {
2942
+ var Repository77 = class {
3003
2943
  constructor({ api, route, publicRoute }) {
3004
2944
  this.api = api;
3005
2945
  this.route = route;
@@ -3026,9 +2966,9 @@ var Repository79 = class {
3026
2966
  // src/modules/tickets/channel.ts
3027
2967
  var channel_exports = {};
3028
2968
  __export(channel_exports, {
3029
- default: () => Repository80
2969
+ default: () => Repository78
3030
2970
  });
3031
- var Repository80 = class {
2971
+ var Repository78 = class {
3032
2972
  constructor({ api, route, publicRoute }) {
3033
2973
  this.api = api;
3034
2974
  this.route = route;
@@ -3063,9 +3003,9 @@ var Repository80 = class {
3063
3003
  // src/modules/tickets/language.ts
3064
3004
  var language_exports2 = {};
3065
3005
  __export(language_exports2, {
3066
- default: () => Repository81
3006
+ default: () => Repository79
3067
3007
  });
3068
- var Repository81 = class {
3008
+ var Repository79 = class {
3069
3009
  constructor({ api, route, publicRoute }) {
3070
3010
  this.api = api;
3071
3011
  this.route = route;
@@ -3100,9 +3040,9 @@ var Repository81 = class {
3100
3040
  // src/modules/tickets/clt.ts
3101
3041
  var clt_exports = {};
3102
3042
  __export(clt_exports, {
3103
- default: () => Repository82
3043
+ default: () => Repository80
3104
3044
  });
3105
- var Repository82 = class {
3045
+ var Repository80 = class {
3106
3046
  constructor({ api, route, publicRoute }) {
3107
3047
  this.api = api;
3108
3048
  this.route = route;
@@ -3137,9 +3077,9 @@ var Repository82 = class {
3137
3077
  // src/modules/supply/startDocumentHeaderLastUpdate.ts
3138
3078
  var startDocumentHeaderLastUpdate_exports = {};
3139
3079
  __export(startDocumentHeaderLastUpdate_exports, {
3140
- default: () => Repository83
3080
+ default: () => Repository81
3141
3081
  });
3142
- var Repository83 = class {
3082
+ var Repository81 = class {
3143
3083
  constructor({ api, route, publicRoute }) {
3144
3084
  this.api = api;
3145
3085
  this.route = route;
@@ -3154,9 +3094,9 @@ var Repository83 = class {
3154
3094
  // src/modules/user/persona.ts
3155
3095
  var persona_exports = {};
3156
3096
  __export(persona_exports, {
3157
- default: () => Repository84
3097
+ default: () => Repository82
3158
3098
  });
3159
- var Repository84 = class {
3099
+ var Repository82 = class {
3160
3100
  constructor({ api, route, publicRoute }) {
3161
3101
  this.api = api;
3162
3102
  this.route = route;
@@ -3215,9 +3155,9 @@ var Repository84 = class {
3215
3155
  // src/modules/integration/projectInfo.ts
3216
3156
  var projectInfo_exports = {};
3217
3157
  __export(projectInfo_exports, {
3218
- default: () => Repository85
3158
+ default: () => Repository83
3219
3159
  });
3220
- var Repository85 = class {
3160
+ var Repository83 = class {
3221
3161
  constructor({ api, route, publicRoute }) {
3222
3162
  this.api = api;
3223
3163
  this.route = route;
@@ -3231,9 +3171,9 @@ var Repository85 = class {
3231
3171
  // src/modules/document/order.ts
3232
3172
  var order_exports = {};
3233
3173
  __export(order_exports, {
3234
- default: () => Repository86
3174
+ default: () => Repository84
3235
3175
  });
3236
- var Repository86 = class {
3176
+ var Repository84 = class {
3237
3177
  constructor({ api, route, publicRoute }) {
3238
3178
  this.api = api;
3239
3179
  this.route = route;
@@ -3270,9 +3210,9 @@ var Repository86 = class {
3270
3210
  // src/modules/document/purchase.ts
3271
3211
  var purchase_exports = {};
3272
3212
  __export(purchase_exports, {
3273
- default: () => Repository87
3213
+ default: () => Repository85
3274
3214
  });
3275
- var Repository87 = class {
3215
+ var Repository85 = class {
3276
3216
  constructor({ api, route, publicRoute }) {
3277
3217
  this.api = api;
3278
3218
  this.route = route;
@@ -3300,9 +3240,9 @@ var Repository87 = class {
3300
3240
  // src/modules/document/materialEntrance.ts
3301
3241
  var materialEntrance_exports = {};
3302
3242
  __export(materialEntrance_exports, {
3303
- default: () => Repository88
3243
+ default: () => Repository86
3304
3244
  });
3305
- var Repository88 = class {
3245
+ var Repository86 = class {
3306
3246
  constructor({ api, route, publicRoute }) {
3307
3247
  this.api = api;
3308
3248
  this.route = route;
@@ -3361,9 +3301,9 @@ var Repository88 = class {
3361
3301
  // src/modules/document/transformado.ts
3362
3302
  var transformado_exports = {};
3363
3303
  __export(transformado_exports, {
3364
- default: () => Repository89
3304
+ default: () => Repository87
3365
3305
  });
3366
- var Repository89 = class {
3306
+ var Repository87 = class {
3367
3307
  constructor({ api, route, publicRoute }) {
3368
3308
  this.api = api;
3369
3309
  this.route = route;
@@ -3382,9 +3322,9 @@ var Repository89 = class {
3382
3322
  // src/modules/document/upfrontReturn.ts
3383
3323
  var upfrontReturn_exports = {};
3384
3324
  __export(upfrontReturn_exports, {
3385
- default: () => Repository90
3325
+ default: () => Repository88
3386
3326
  });
3387
- var Repository90 = class {
3327
+ var Repository88 = class {
3388
3328
  constructor({ api, route, publicRoute }) {
3389
3329
  this.api = api;
3390
3330
  this.route = route;
@@ -3399,9 +3339,9 @@ var Repository90 = class {
3399
3339
  // src/modules/stock/savedEmPicking.ts
3400
3340
  var savedEmPicking_exports = {};
3401
3341
  __export(savedEmPicking_exports, {
3402
- default: () => Repository91
3342
+ default: () => Repository89
3403
3343
  });
3404
- var Repository91 = class {
3344
+ var Repository89 = class {
3405
3345
  constructor({ api, route, publicRoute }) {
3406
3346
  this.api = api;
3407
3347
  this.route = route;
@@ -3426,9 +3366,9 @@ var Repository91 = class {
3426
3366
  // src/modules/integration/emailTemplate.ts
3427
3367
  var emailTemplate_exports = {};
3428
3368
  __export(emailTemplate_exports, {
3429
- default: () => Repository92
3369
+ default: () => Repository90
3430
3370
  });
3431
- var Repository92 = class {
3371
+ var Repository90 = class {
3432
3372
  constructor({ api, route, publicRoute }) {
3433
3373
  this.api = api;
3434
3374
  this.route = route;
@@ -3458,9 +3398,9 @@ var Repository92 = class {
3458
3398
  // src/modules/integration/emailTemplateAttachment.ts
3459
3399
  var emailTemplateAttachment_exports = {};
3460
3400
  __export(emailTemplateAttachment_exports, {
3461
- default: () => Repository93
3401
+ default: () => Repository91
3462
3402
  });
3463
- var Repository93 = class {
3403
+ var Repository91 = class {
3464
3404
  constructor({ api, route, publicRoute }) {
3465
3405
  this.api = api;
3466
3406
  this.route = route;
@@ -3478,9 +3418,9 @@ var Repository93 = class {
3478
3418
  // src/modules/stock/prison.ts
3479
3419
  var prison_exports = {};
3480
3420
  __export(prison_exports, {
3481
- default: () => Repository94
3421
+ default: () => Repository92
3482
3422
  });
3483
- var Repository94 = class {
3423
+ var Repository92 = class {
3484
3424
  constructor({ api, route, publicRoute }) {
3485
3425
  this.api = api;
3486
3426
  this.route = route;
@@ -3514,9 +3454,9 @@ var Repository94 = class {
3514
3454
  // src/modules/document/quebra.ts
3515
3455
  var quebra_exports = {};
3516
3456
  __export(quebra_exports, {
3517
- default: () => Repository95
3457
+ default: () => Repository93
3518
3458
  });
3519
- var Repository95 = class {
3459
+ var Repository93 = class {
3520
3460
  constructor({ api, route, publicRoute }) {
3521
3461
  this.api = api;
3522
3462
  this.route = route;
@@ -3546,9 +3486,9 @@ var Repository95 = class {
3546
3486
  // src/modules/document/inventario.ts
3547
3487
  var inventario_exports = {};
3548
3488
  __export(inventario_exports, {
3549
- default: () => Repository96
3489
+ default: () => Repository94
3550
3490
  });
3551
- var Repository96 = class {
3491
+ var Repository94 = class {
3552
3492
  constructor({ api, route, publicRoute }) {
3553
3493
  this.api = api;
3554
3494
  this.route = route;
@@ -3562,9 +3502,9 @@ var Repository96 = class {
3562
3502
  // src/modules/document/returnToProvider.ts
3563
3503
  var returnToProvider_exports = {};
3564
3504
  __export(returnToProvider_exports, {
3565
- default: () => Repository97
3505
+ default: () => Repository95
3566
3506
  });
3567
- var Repository97 = class {
3507
+ var Repository95 = class {
3568
3508
  constructor({ api, route, publicRoute }) {
3569
3509
  this.api = api;
3570
3510
  this.route = route;
@@ -3588,9 +3528,9 @@ var Repository97 = class {
3588
3528
  // src/modules/integration/emailVerification.ts
3589
3529
  var emailVerification_exports = {};
3590
3530
  __export(emailVerification_exports, {
3591
- default: () => Repository98
3531
+ default: () => Repository96
3592
3532
  });
3593
- var Repository98 = class {
3533
+ var Repository96 = class {
3594
3534
  constructor({ api, route, publicRoute }) {
3595
3535
  this.api = api;
3596
3536
  this.route = route;
@@ -3613,9 +3553,9 @@ var Repository98 = class {
3613
3553
  // src/modules/integration/emailLog.ts
3614
3554
  var emailLog_exports = {};
3615
3555
  __export(emailLog_exports, {
3616
- default: () => Repository99
3556
+ default: () => Repository97
3617
3557
  });
3618
- var Repository99 = class {
3558
+ var Repository97 = class {
3619
3559
  constructor({ api, route, publicRoute }) {
3620
3560
  this.api = api;
3621
3561
  this.route = route;
@@ -3646,9 +3586,9 @@ var Repository99 = class {
3646
3586
  // src/modules/supply/documentLineNote.ts
3647
3587
  var documentLineNote_exports = {};
3648
3588
  __export(documentLineNote_exports, {
3649
- default: () => Repository100
3589
+ default: () => Repository98
3650
3590
  });
3651
- var Repository100 = class {
3591
+ var Repository98 = class {
3652
3592
  constructor({ api, route, publicRoute }) {
3653
3593
  this.api = api;
3654
3594
  this.route = route;
@@ -3671,9 +3611,9 @@ var Repository100 = class {
3671
3611
  // src/modules/stock/savedProviderProposal.ts
3672
3612
  var savedProviderProposal_exports = {};
3673
3613
  __export(savedProviderProposal_exports, {
3674
- default: () => Repository101
3614
+ default: () => Repository99
3675
3615
  });
3676
- var Repository101 = class {
3616
+ var Repository99 = class {
3677
3617
  constructor({ api, route, publicRoute }) {
3678
3618
  this.api = api;
3679
3619
  this.route = route;
@@ -3700,9 +3640,9 @@ var Repository101 = class {
3700
3640
  // src/modules/stock/productGoogleSheets.ts
3701
3641
  var productGoogleSheets_exports = {};
3702
3642
  __export(productGoogleSheets_exports, {
3703
- default: () => Repository102
3643
+ default: () => Repository100
3704
3644
  });
3705
- var Repository102 = class {
3645
+ var Repository100 = class {
3706
3646
  constructor({ api, route, publicRoute }) {
3707
3647
  this.api = api;
3708
3648
  this.route = route;
@@ -3820,9 +3760,9 @@ var Repository102 = class {
3820
3760
  // src/modules/stock/task.ts
3821
3761
  var task_exports = {};
3822
3762
  __export(task_exports, {
3823
- default: () => Repository103
3763
+ default: () => Repository101
3824
3764
  });
3825
- var Repository103 = class {
3765
+ var Repository101 = class {
3826
3766
  constructor({ api, route, publicRoute }) {
3827
3767
  this.api = api;
3828
3768
  this.route = route;
@@ -3859,9 +3799,9 @@ var Repository103 = class {
3859
3799
  // src/modules/stock/taskMessage.ts
3860
3800
  var taskMessage_exports = {};
3861
3801
  __export(taskMessage_exports, {
3862
- default: () => Repository104
3802
+ default: () => Repository102
3863
3803
  });
3864
- var Repository104 = class {
3804
+ var Repository102 = class {
3865
3805
  constructor({ api, route, publicRoute }) {
3866
3806
  this.api = api;
3867
3807
  this.route = route;
@@ -3882,9 +3822,9 @@ var Repository104 = class {
3882
3822
  // src/modules/stock/recurrentTasks.ts
3883
3823
  var recurrentTasks_exports = {};
3884
3824
  __export(recurrentTasks_exports, {
3885
- default: () => Repository105
3825
+ default: () => Repository103
3886
3826
  });
3887
- var Repository105 = class {
3827
+ var Repository103 = class {
3888
3828
  constructor({ api, route, publicRoute }) {
3889
3829
  this.api = api;
3890
3830
  this.route = route;
@@ -3901,9 +3841,9 @@ var Repository105 = class {
3901
3841
  // src/modules/stock/taskRead.ts
3902
3842
  var taskRead_exports = {};
3903
3843
  __export(taskRead_exports, {
3904
- default: () => Repository106
3844
+ default: () => Repository104
3905
3845
  });
3906
- var Repository106 = class {
3846
+ var Repository104 = class {
3907
3847
  constructor({ api, route, publicRoute }) {
3908
3848
  this.api = api;
3909
3849
  this.route = route;
@@ -3920,9 +3860,9 @@ var Repository106 = class {
3920
3860
  // src/modules/user/theme.ts
3921
3861
  var theme_exports = {};
3922
3862
  __export(theme_exports, {
3923
- default: () => Repository107
3863
+ default: () => Repository105
3924
3864
  });
3925
- var Repository107 = class {
3865
+ var Repository105 = class {
3926
3866
  constructor({ api, route, publicRoute }) {
3927
3867
  this.api = api;
3928
3868
  this.route = route;
@@ -3936,9 +3876,9 @@ var Repository107 = class {
3936
3876
  // src/modules/stock/dashboard.ts
3937
3877
  var dashboard_exports = {};
3938
3878
  __export(dashboard_exports, {
3939
- default: () => Repository108
3879
+ default: () => Repository106
3940
3880
  });
3941
- var Repository108 = class {
3881
+ var Repository106 = class {
3942
3882
  constructor({ api, route, publicRoute }) {
3943
3883
  this.api = api;
3944
3884
  this.route = route;
@@ -3953,9 +3893,9 @@ var Repository108 = class {
3953
3893
  // src/modules/stock/chatRapidMessage.ts
3954
3894
  var chatRapidMessage_exports = {};
3955
3895
  __export(chatRapidMessage_exports, {
3956
- default: () => Repository109
3896
+ default: () => Repository107
3957
3897
  });
3958
- var Repository109 = class {
3898
+ var Repository107 = class {
3959
3899
  constructor({ api, route, publicRoute }) {
3960
3900
  this.api = api;
3961
3901
  this.route = route;
@@ -3985,9 +3925,9 @@ var Repository109 = class {
3985
3925
  // src/modules/stock/sideMenu.ts
3986
3926
  var sideMenu_exports = {};
3987
3927
  __export(sideMenu_exports, {
3988
- default: () => Repository110
3928
+ default: () => Repository108
3989
3929
  });
3990
- var Repository110 = class {
3930
+ var Repository108 = class {
3991
3931
  constructor({ api, route, publicRoute }) {
3992
3932
  this.api = api;
3993
3933
  this.route = route;
@@ -4018,9 +3958,9 @@ var Repository110 = class {
4018
3958
  // src/modules/view/errorLog.ts
4019
3959
  var errorLog_exports = {};
4020
3960
  __export(errorLog_exports, {
4021
- default: () => Repository111
3961
+ default: () => Repository109
4022
3962
  });
4023
- var Repository111 = class {
3963
+ var Repository109 = class {
4024
3964
  constructor({ api, route, publicRoute }) {
4025
3965
  this.api = api;
4026
3966
  this.route = route;
@@ -4034,9 +3974,9 @@ var Repository111 = class {
4034
3974
  // src/modules/view/adminPanel.ts
4035
3975
  var adminPanel_exports = {};
4036
3976
  __export(adminPanel_exports, {
4037
- default: () => Repository112
3977
+ default: () => Repository110
4038
3978
  });
4039
- var Repository112 = class {
3979
+ var Repository110 = class {
4040
3980
  constructor({ api, route, publicRoute }) {
4041
3981
  this.api = api;
4042
3982
  this.route = route;
@@ -4051,9 +3991,9 @@ var Repository112 = class {
4051
3991
  // src/modules/supply/documentLineRm.ts
4052
3992
  var documentLineRm_exports = {};
4053
3993
  __export(documentLineRm_exports, {
4054
- default: () => Repository113
3994
+ default: () => Repository111
4055
3995
  });
4056
- var Repository113 = class {
3996
+ var Repository111 = class {
4057
3997
  constructor({ api, route, publicRoute }) {
4058
3998
  this.api = api;
4059
3999
  this.route = route;
@@ -4073,9 +4013,9 @@ var Repository113 = class {
4073
4013
  // src/modules/supply/documentLineMt.ts
4074
4014
  var documentLineMt_exports = {};
4075
4015
  __export(documentLineMt_exports, {
4076
- default: () => Repository114
4016
+ default: () => Repository112
4077
4017
  });
4078
- var Repository114 = class {
4018
+ var Repository112 = class {
4079
4019
  constructor({ api, route, publicRoute }) {
4080
4020
  this.api = api;
4081
4021
  this.route = route;
@@ -4095,9 +4035,9 @@ var Repository114 = class {
4095
4035
  // src/modules/user/chatSubscriber.ts
4096
4036
  var chatSubscriber_exports = {};
4097
4037
  __export(chatSubscriber_exports, {
4098
- default: () => Repository115
4038
+ default: () => Repository113
4099
4039
  });
4100
- var Repository115 = class {
4040
+ var Repository113 = class {
4101
4041
  constructor({ api, route, publicRoute }) {
4102
4042
  this.api = api;
4103
4043
  this.route = route;
@@ -4127,9 +4067,9 @@ var Repository115 = class {
4127
4067
  // src/modules/stock/tag.ts
4128
4068
  var tag_exports = {};
4129
4069
  __export(tag_exports, {
4130
- default: () => Repository116
4070
+ default: () => Repository114
4131
4071
  });
4132
- var Repository116 = class {
4072
+ var Repository114 = class {
4133
4073
  constructor({ api, route, publicRoute }) {
4134
4074
  this.api = api;
4135
4075
  this.route = route;
@@ -4266,89 +4206,83 @@ var API = class {
4266
4206
  this.ExternalDocumentHeader = new Repository59(
4267
4207
  getModuleParams("stock", "external_document_header")
4268
4208
  );
4269
- this.ClientCurrentAccount = new Repository60(
4270
- getModuleParams("stock", "client_current_account")
4271
- );
4272
- this.ProviderCurrentAccount = new Repository61(
4273
- getModuleParams("stock", "provider_current_account")
4274
- );
4275
- this.VatValidation = new Repository62(getModuleParams("stock", "vat_validation"));
4276
- this.StockMovement = new Repository63(getModuleParams("stock", "stock_movement"));
4277
- this.ZipCode = new Repository64(getModuleParams("users", "zip_code"));
4278
- this.Tenant = new Repository65(getModuleParams("users", "tenant"));
4279
- this.PreSale = new Repository66(getModuleParams("stock", "pre_sale"));
4280
- this.PreSaleProduct = new Repository67(getModuleParams("stock", "pre_sale_product"));
4281
- this.OrderManagement = new Repository68(getModuleParams("stock", "order_management"));
4282
- this.Npc = new Repository69(getModuleParams("print", "npc"));
4283
- this.Printer = new Repository70(getModuleParams("print", "printer"));
4284
- this.SchedulePrintJob = new Repository71(
4209
+ this.VatValidation = new Repository60(getModuleParams("stock", "vat_validation"));
4210
+ this.StockMovement = new Repository61(getModuleParams("stock", "stock_movement"));
4211
+ this.ZipCode = new Repository62(getModuleParams("users", "zip_code"));
4212
+ this.Tenant = new Repository63(getModuleParams("users", "tenant"));
4213
+ this.PreSale = new Repository64(getModuleParams("stock", "pre_sale"));
4214
+ this.PreSaleProduct = new Repository65(getModuleParams("stock", "pre_sale_product"));
4215
+ this.OrderManagement = new Repository66(getModuleParams("stock", "order_management"));
4216
+ this.Npc = new Repository67(getModuleParams("print", "npc"));
4217
+ this.Printer = new Repository68(getModuleParams("print", "printer"));
4218
+ this.SchedulePrintJob = new Repository69(
4285
4219
  getModuleParams("print", "schedule_print_job")
4286
4220
  );
4287
- this.QueryList = new Repository72(getModuleParams("stock", "query"));
4288
- this.QueryParameter = new Repository73(getModuleParams("stock", "query_parameter"));
4289
- this.ReturnReason = new Repository74(getModuleParams("stock", "return_reason"));
4290
- this.PropostaSheets = new Repository75(getModuleParams("stock", "proposta_sheets"));
4291
- this.Schedule = new Repository76(getModuleParams("stock", "schedule"));
4292
- this.GoogleFilePermission = new Repository77(
4221
+ this.QueryList = new Repository70(getModuleParams("stock", "query"));
4222
+ this.QueryParameter = new Repository71(getModuleParams("stock", "query_parameter"));
4223
+ this.ReturnReason = new Repository72(getModuleParams("stock", "return_reason"));
4224
+ this.PropostaSheets = new Repository73(getModuleParams("stock", "proposta_sheets"));
4225
+ this.Schedule = new Repository74(getModuleParams("stock", "schedule"));
4226
+ this.GoogleFilePermission = new Repository75(
4293
4227
  getModuleParams("integration", "google_file_permission")
4294
4228
  );
4295
- this.Settings = new Repository78(getModuleParams("integration", "settings"));
4296
- this.Tickets = new Repository79(getModuleParams("tickets", "tickets"));
4297
- this.Channel = new Repository80(getModuleParams("tickets", "channel"));
4298
- this.TicketsLanguage = new Repository81(getModuleParams("tickets", "tickets_language"));
4299
- this.Clt = new Repository82(getModuleParams("tickets", "clt"));
4300
- this.StartDocumentHeaderLastUpdate = new Repository83(
4229
+ this.Settings = new Repository76(getModuleParams("integration", "settings"));
4230
+ this.Tickets = new Repository77(getModuleParams("tickets", "tickets"));
4231
+ this.Channel = new Repository78(getModuleParams("tickets", "channel"));
4232
+ this.TicketsLanguage = new Repository79(getModuleParams("tickets", "tickets_language"));
4233
+ this.Clt = new Repository80(getModuleParams("tickets", "clt"));
4234
+ this.StartDocumentHeaderLastUpdate = new Repository81(
4301
4235
  getModuleParams("stock", "start_document_header_last_update")
4302
4236
  );
4303
- this.Persona = new Repository84(getModuleParams("users", "persona"));
4304
- this.ProjectInfo = new Repository85(getModuleParams("integration", "project_info"));
4305
- this.Order = new Repository86(getModuleParams("stock", "order"));
4306
- this.Purchase = new Repository87(getModuleParams("stock", "purchase"));
4307
- this.MaterialEntrance = new Repository88(
4237
+ this.Persona = new Repository82(getModuleParams("users", "persona"));
4238
+ this.ProjectInfo = new Repository83(getModuleParams("integration", "project_info"));
4239
+ this.Order = new Repository84(getModuleParams("stock", "order"));
4240
+ this.Purchase = new Repository85(getModuleParams("stock", "purchase"));
4241
+ this.MaterialEntrance = new Repository86(
4308
4242
  getModuleParams("stock", "material_entrance")
4309
4243
  );
4310
- this.Transformado = new Repository89(getModuleParams("stock", "transformado"));
4311
- this.UpfrontReturn = new Repository90(getModuleParams("stock", "upfront_return"));
4312
- this.SavedEmPicking = new Repository91(getModuleParams("stock", "saved_em_picking"));
4313
- this.EmailTemplate = new Repository92(getModuleParams("integration", "email_template"));
4314
- this.EmailTemplateAttachment = new Repository93(
4244
+ this.Transformado = new Repository87(getModuleParams("stock", "transformado"));
4245
+ this.UpfrontReturn = new Repository88(getModuleParams("stock", "upfront_return"));
4246
+ this.SavedEmPicking = new Repository89(getModuleParams("stock", "saved_em_picking"));
4247
+ this.EmailTemplate = new Repository90(getModuleParams("integration", "email_template"));
4248
+ this.EmailTemplateAttachment = new Repository91(
4315
4249
  getModuleParams("integration", "email_template_attachment")
4316
4250
  );
4317
- this.Prison = new Repository94(getModuleParams("stock", "prison"));
4318
- this.Quebra = new Repository95(getModuleParams("stock", "quebra"));
4319
- this.Inventario = new Repository96(getModuleParams("stock", "inventario"));
4320
- this.ReturnToProvider = new Repository97(
4251
+ this.Prison = new Repository92(getModuleParams("stock", "prison"));
4252
+ this.Quebra = new Repository93(getModuleParams("stock", "quebra"));
4253
+ this.Inventario = new Repository94(getModuleParams("stock", "inventario"));
4254
+ this.ReturnToProvider = new Repository95(
4321
4255
  getModuleParams("stock", "return_to_provider")
4322
4256
  );
4323
- this.EmailVerification = new Repository98(
4257
+ this.EmailVerification = new Repository96(
4324
4258
  getModuleParams("integration", "email_verification")
4325
4259
  );
4326
- this.EmailLog = new Repository99(getModuleParams("integration", "email_log"));
4327
- this.DocumentLineNote = new Repository100(
4260
+ this.EmailLog = new Repository97(getModuleParams("integration", "email_log"));
4261
+ this.DocumentLineNote = new Repository98(
4328
4262
  getModuleParams("stock", "document_line_note")
4329
4263
  );
4330
- this.SavedProviderProposal = new Repository101(
4264
+ this.SavedProviderProposal = new Repository99(
4331
4265
  getModuleParams("stock", "saved_provider_proposal")
4332
4266
  );
4333
- this.ProductGoogleSheets = new Repository102(
4267
+ this.ProductGoogleSheets = new Repository100(
4334
4268
  getModuleParams("stock", "product_google")
4335
4269
  );
4336
- this.Task = new Repository103(getModuleParams("stock", "task"));
4337
- this.TaskMessage = new Repository104(getModuleParams("stock", "task_message"));
4338
- this.RecurrentTasks = new Repository105(getModuleParams("stock", "recurrent_tasks"));
4339
- this.TaskRead = new Repository106(getModuleParams("stock", "task_read"));
4340
- this.Theme = new Repository107(getModuleParams("users", "theme"));
4341
- this.Dashboard = new Repository108(getModuleParams("stock", "dashboard"));
4342
- this.ChatRapidMessage = new Repository109(
4270
+ this.Task = new Repository101(getModuleParams("stock", "task"));
4271
+ this.TaskMessage = new Repository102(getModuleParams("stock", "task_message"));
4272
+ this.RecurrentTasks = new Repository103(getModuleParams("stock", "recurrent_tasks"));
4273
+ this.TaskRead = new Repository104(getModuleParams("stock", "task_read"));
4274
+ this.Theme = new Repository105(getModuleParams("users", "theme"));
4275
+ this.Dashboard = new Repository106(getModuleParams("stock", "dashboard"));
4276
+ this.ChatRapidMessage = new Repository107(
4343
4277
  getModuleParams("stock", "chat_rapid_message")
4344
4278
  );
4345
- this.SideMenu = new Repository110(getModuleParams("stock", "side_menu"));
4346
- this.ErrorLog = new Repository111(getModuleParams("view", "error_log"));
4347
- this.AdminPanel = new Repository112(getModuleParams("view", "admin_panel"));
4348
- this.DocumentLineRm = new Repository113(getModuleParams("stock", "document_line_rm"));
4349
- this.DocumentLineMt = new Repository114(getModuleParams("stock", "document_line_mt"));
4350
- this.ChatSubscriber = new Repository115(getModuleParams("users", "chat_subscriber"));
4351
- this.Tag = new Repository116(getModuleParams("stock", "tag"));
4279
+ this.SideMenu = new Repository108(getModuleParams("stock", "side_menu"));
4280
+ this.ErrorLog = new Repository109(getModuleParams("view", "error_log"));
4281
+ this.AdminPanel = new Repository110(getModuleParams("view", "admin_panel"));
4282
+ this.DocumentLineRm = new Repository111(getModuleParams("stock", "document_line_rm"));
4283
+ this.DocumentLineMt = new Repository112(getModuleParams("stock", "document_line_mt"));
4284
+ this.ChatSubscriber = new Repository113(getModuleParams("users", "chat_subscriber"));
4285
+ this.Tag = new Repository114(getModuleParams("stock", "tag"));
4352
4286
  }
4353
4287
  };
4354
4288