@fctc/interface-logic 3.1.7 → 3.1.8

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/hooks.d.mts CHANGED
@@ -394,16 +394,16 @@ declare const useGetASession: () => _tanstack_react_query.UseMutationResult<any,
394
394
  model: string;
395
395
  args: [];
396
396
  domain: [];
397
- service: string;
398
- xNode: string;
397
+ service?: string;
398
+ xNode?: string;
399
399
  }, unknown>;
400
400
 
401
401
  declare const useUpdateClosedSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
402
402
  model: string;
403
403
  domain: [];
404
404
  values: {};
405
- service: string;
406
- xNode: string;
405
+ service?: string;
406
+ xNode?: string;
407
407
  }, unknown>;
408
408
 
409
409
  declare const useManageSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
@@ -411,8 +411,8 @@ declare const useManageSession: () => _tanstack_react_query.UseMutationResult<un
411
411
  ids: any;
412
412
  args: any;
413
413
  kwargs: any;
414
- service: string;
415
- xNode: string;
414
+ service?: string;
415
+ xNode?: string;
416
416
  method: string;
417
417
  }, unknown>;
418
418
 
@@ -421,37 +421,37 @@ declare const useHandleClosingSession: () => _tanstack_react_query.UseMutationRe
421
421
  method: string;
422
422
  ids: any;
423
423
  kwargs: any;
424
- service: string;
425
- xNode: string;
424
+ service?: string;
425
+ xNode?: string;
426
426
  }, unknown>;
427
427
 
428
428
  declare const useCreateSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
429
429
  model: string;
430
430
  configId: number;
431
- service: string;
432
- xNode: string;
431
+ service?: string;
432
+ xNode?: string;
433
433
  }, unknown>;
434
434
 
435
435
  declare const useGetPos: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
436
436
  model: string;
437
437
  args: any;
438
438
  domain: any;
439
- service: string;
440
- xNode: string;
439
+ service?: string;
440
+ xNode?: string;
441
441
  }, unknown>;
442
442
 
443
443
  declare const useCreateEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
444
444
  model: string;
445
445
  args: any;
446
- service: string;
447
- xNode: string;
446
+ service?: string;
447
+ xNode?: string;
448
448
  }, unknown>;
449
449
 
450
450
  declare const useGetList: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
451
451
  model: string;
452
452
  domain: any;
453
- service: string;
454
- xNode: string;
453
+ service?: string;
454
+ xNode?: string;
455
455
  specification: any;
456
456
  offset: number;
457
457
  limit: number;
@@ -461,31 +461,31 @@ declare const useUpdateEntity: () => _tanstack_react_query.UseMutationResult<unk
461
461
  model: string;
462
462
  domain: any;
463
463
  values: any;
464
- service: string;
465
- xNode: string;
464
+ service?: string;
465
+ xNode?: string;
466
466
  }, unknown>;
467
467
 
468
468
  declare const useDeleteEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
469
469
  model: string;
470
470
  ids: any;
471
- service: string;
472
- xNode: string;
471
+ service?: string;
472
+ xNode?: string;
473
473
  method: string;
474
474
  }, unknown>;
475
475
 
476
476
  declare const useLoadDataPosSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
477
477
  model: string;
478
478
  ids: any;
479
- service: string;
480
- xNode: string;
479
+ service?: string;
480
+ xNode?: string;
481
481
  }, unknown>;
482
482
 
483
483
  declare const useManageOnChange: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
484
484
  model: string;
485
485
  ids: any;
486
486
  args: any;
487
- service: string;
488
- xNode: string;
487
+ service?: string;
488
+ xNode?: string;
489
489
  }, unknown>;
490
490
 
491
491
  declare const useGenSerialNumber: () => _tanstack_react_query.UseMutationResult<any, Error, {
@@ -499,8 +499,8 @@ declare const useGetOrderLine: () => _tanstack_react_query.UseMutationResult<unk
499
499
  model: string;
500
500
  ids: any;
501
501
  specification: any;
502
- service: string;
503
- xNode: string;
502
+ service?: string;
503
+ xNode?: string;
504
504
  }, unknown>;
505
505
 
506
506
  declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
@@ -509,15 +509,15 @@ declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<
509
509
  limit: number;
510
510
  offset: number;
511
511
  domain: any;
512
- service: string;
513
- xNode: string;
512
+ service?: string;
513
+ xNode?: string;
514
514
  }, unknown>;
515
515
 
516
516
  declare const useAddEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
517
517
  model: string;
518
518
  values: any;
519
- service: string;
520
- xNode: string;
519
+ service?: string;
520
+ xNode?: string;
521
521
  isCreateEndpoint?: boolean;
522
522
  }, unknown>;
523
523
 
@@ -525,15 +525,15 @@ declare const useCheckPayment: () => _tanstack_react_query.UseMutationResult<unk
525
525
  model: string;
526
526
  ids: any;
527
527
  withContext: any;
528
- service: string;
529
- xNode: string;
528
+ service?: string;
529
+ xNode?: string;
530
530
  }, unknown>;
531
531
 
532
532
  declare const useHandleCloseSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
533
533
  model: string;
534
534
  ids: any;
535
- service: string;
536
- xNode: string;
535
+ service?: string;
536
+ xNode?: string;
537
537
  method: string;
538
538
  }, unknown>;
539
539
 
@@ -541,8 +541,8 @@ declare const useHandleClosingDetailSession: () => _tanstack_react_query.UseMuta
541
541
  model: string;
542
542
  ids: any;
543
543
  method: string;
544
- service: string;
545
- xNode: string;
544
+ service?: string;
545
+ xNode?: string;
546
546
  kwargs: any;
547
547
  }, unknown>;
548
548
 
@@ -550,8 +550,8 @@ declare const useCreatePosConfig: () => _tanstack_react_query.UseMutationResult<
550
550
  model: string;
551
551
  name: string;
552
552
  modulePosRestaurant: string;
553
- service: string;
554
- xNode: string;
553
+ service?: string;
554
+ xNode?: string;
555
555
  }, unknown>;
556
556
 
557
557
  export { useAddEntity, useButton, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
package/dist/hooks.d.ts CHANGED
@@ -394,16 +394,16 @@ declare const useGetASession: () => _tanstack_react_query.UseMutationResult<any,
394
394
  model: string;
395
395
  args: [];
396
396
  domain: [];
397
- service: string;
398
- xNode: string;
397
+ service?: string;
398
+ xNode?: string;
399
399
  }, unknown>;
400
400
 
401
401
  declare const useUpdateClosedSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
402
402
  model: string;
403
403
  domain: [];
404
404
  values: {};
405
- service: string;
406
- xNode: string;
405
+ service?: string;
406
+ xNode?: string;
407
407
  }, unknown>;
408
408
 
409
409
  declare const useManageSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
@@ -411,8 +411,8 @@ declare const useManageSession: () => _tanstack_react_query.UseMutationResult<un
411
411
  ids: any;
412
412
  args: any;
413
413
  kwargs: any;
414
- service: string;
415
- xNode: string;
414
+ service?: string;
415
+ xNode?: string;
416
416
  method: string;
417
417
  }, unknown>;
418
418
 
@@ -421,37 +421,37 @@ declare const useHandleClosingSession: () => _tanstack_react_query.UseMutationRe
421
421
  method: string;
422
422
  ids: any;
423
423
  kwargs: any;
424
- service: string;
425
- xNode: string;
424
+ service?: string;
425
+ xNode?: string;
426
426
  }, unknown>;
427
427
 
428
428
  declare const useCreateSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
429
429
  model: string;
430
430
  configId: number;
431
- service: string;
432
- xNode: string;
431
+ service?: string;
432
+ xNode?: string;
433
433
  }, unknown>;
434
434
 
435
435
  declare const useGetPos: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
436
436
  model: string;
437
437
  args: any;
438
438
  domain: any;
439
- service: string;
440
- xNode: string;
439
+ service?: string;
440
+ xNode?: string;
441
441
  }, unknown>;
442
442
 
443
443
  declare const useCreateEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
444
444
  model: string;
445
445
  args: any;
446
- service: string;
447
- xNode: string;
446
+ service?: string;
447
+ xNode?: string;
448
448
  }, unknown>;
449
449
 
450
450
  declare const useGetList: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
451
451
  model: string;
452
452
  domain: any;
453
- service: string;
454
- xNode: string;
453
+ service?: string;
454
+ xNode?: string;
455
455
  specification: any;
456
456
  offset: number;
457
457
  limit: number;
@@ -461,31 +461,31 @@ declare const useUpdateEntity: () => _tanstack_react_query.UseMutationResult<unk
461
461
  model: string;
462
462
  domain: any;
463
463
  values: any;
464
- service: string;
465
- xNode: string;
464
+ service?: string;
465
+ xNode?: string;
466
466
  }, unknown>;
467
467
 
468
468
  declare const useDeleteEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
469
469
  model: string;
470
470
  ids: any;
471
- service: string;
472
- xNode: string;
471
+ service?: string;
472
+ xNode?: string;
473
473
  method: string;
474
474
  }, unknown>;
475
475
 
476
476
  declare const useLoadDataPosSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
477
477
  model: string;
478
478
  ids: any;
479
- service: string;
480
- xNode: string;
479
+ service?: string;
480
+ xNode?: string;
481
481
  }, unknown>;
482
482
 
483
483
  declare const useManageOnChange: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
484
484
  model: string;
485
485
  ids: any;
486
486
  args: any;
487
- service: string;
488
- xNode: string;
487
+ service?: string;
488
+ xNode?: string;
489
489
  }, unknown>;
490
490
 
491
491
  declare const useGenSerialNumber: () => _tanstack_react_query.UseMutationResult<any, Error, {
@@ -499,8 +499,8 @@ declare const useGetOrderLine: () => _tanstack_react_query.UseMutationResult<unk
499
499
  model: string;
500
500
  ids: any;
501
501
  specification: any;
502
- service: string;
503
- xNode: string;
502
+ service?: string;
503
+ xNode?: string;
504
504
  }, unknown>;
505
505
 
506
506
  declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
@@ -509,15 +509,15 @@ declare const useGetProductImage: () => _tanstack_react_query.UseMutationResult<
509
509
  limit: number;
510
510
  offset: number;
511
511
  domain: any;
512
- service: string;
513
- xNode: string;
512
+ service?: string;
513
+ xNode?: string;
514
514
  }, unknown>;
515
515
 
516
516
  declare const useAddEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
517
517
  model: string;
518
518
  values: any;
519
- service: string;
520
- xNode: string;
519
+ service?: string;
520
+ xNode?: string;
521
521
  isCreateEndpoint?: boolean;
522
522
  }, unknown>;
523
523
 
@@ -525,15 +525,15 @@ declare const useCheckPayment: () => _tanstack_react_query.UseMutationResult<unk
525
525
  model: string;
526
526
  ids: any;
527
527
  withContext: any;
528
- service: string;
529
- xNode: string;
528
+ service?: string;
529
+ xNode?: string;
530
530
  }, unknown>;
531
531
 
532
532
  declare const useHandleCloseSession: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
533
533
  model: string;
534
534
  ids: any;
535
- service: string;
536
- xNode: string;
535
+ service?: string;
536
+ xNode?: string;
537
537
  method: string;
538
538
  }, unknown>;
539
539
 
@@ -541,8 +541,8 @@ declare const useHandleClosingDetailSession: () => _tanstack_react_query.UseMuta
541
541
  model: string;
542
542
  ids: any;
543
543
  method: string;
544
- service: string;
545
- xNode: string;
544
+ service?: string;
545
+ xNode?: string;
546
546
  kwargs: any;
547
547
  }, unknown>;
548
548
 
@@ -550,8 +550,8 @@ declare const useCreatePosConfig: () => _tanstack_react_query.UseMutationResult<
550
550
  model: string;
551
551
  name: string;
552
552
  modulePosRestaurant: string;
553
- service: string;
554
- xNode: string;
553
+ service?: string;
554
+ xNode?: string;
555
555
  }, unknown>;
556
556
 
557
557
  export { useAddEntity, useButton, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
@@ -296,15 +296,15 @@ declare function useViewService(): {
296
296
  model: string;
297
297
  args: [];
298
298
  domain: [];
299
- service: string;
300
- xNode: string;
299
+ service?: string;
300
+ xNode?: string;
301
301
  }) => Promise<any>;
302
302
  updateClosedSession: ({ model, domain, values, service, xNode, }: {
303
303
  model: string;
304
304
  domain: [];
305
305
  values: {};
306
- service: string;
307
- xNode: string;
306
+ service?: string;
307
+ xNode?: string;
308
308
  }) => any;
309
309
  manageSession: ({ model, method, ids, args, kwargs, xNode, service, }: {
310
310
  model: string;
@@ -312,41 +312,41 @@ declare function useViewService(): {
312
312
  ids: any;
313
313
  args: any;
314
314
  kwargs: any;
315
- service: string;
316
- xNode: string;
315
+ service?: string;
316
+ xNode?: string;
317
317
  }) => any;
318
318
  handleClosingSession: ({ model, method, ids, kwargs, xNode, service, }: {
319
319
  model: string;
320
320
  method: string;
321
321
  ids: any;
322
322
  kwargs: any;
323
- service: string;
324
- xNode: string;
323
+ service?: string;
324
+ xNode?: string;
325
325
  }) => any;
326
326
  createSession: ({ model, configId, xNode, service, }: {
327
327
  model: string;
328
328
  configId: number;
329
- service: string;
330
- xNode: string;
329
+ service?: string;
330
+ xNode?: string;
331
331
  }) => any;
332
332
  getPOS: ({ model, args, domain, xNode, service, }: {
333
333
  model: string;
334
334
  args: any;
335
335
  domain: any;
336
- service: string;
337
- xNode: string;
336
+ service?: string;
337
+ xNode?: string;
338
338
  }) => any;
339
339
  createEntity: ({ model, args, xNode, service, }: {
340
340
  model: string;
341
341
  args: any;
342
- service: string;
343
- xNode: string;
342
+ service?: string;
343
+ xNode?: string;
344
344
  }) => any;
345
345
  getList: ({ model, domain, xNode, service, specification, offset, limit, }: {
346
346
  model: string;
347
347
  domain: any;
348
- service: string;
349
- xNode: string;
348
+ service?: string;
349
+ xNode?: string;
350
350
  specification: any;
351
351
  offset: number;
352
352
  limit: number;
@@ -355,35 +355,35 @@ declare function useViewService(): {
355
355
  model: string;
356
356
  domain: any;
357
357
  values: any;
358
- service: string;
359
- xNode: string;
358
+ service?: string;
359
+ xNode?: string;
360
360
  }) => any;
361
361
  deleteEntity: ({ model, ids, xNode, service, method, }: {
362
362
  model: string;
363
363
  ids: any;
364
- service: string;
365
- xNode: string;
364
+ service?: string;
365
+ xNode?: string;
366
366
  method: string;
367
367
  }) => any;
368
368
  loadDataPosSession: ({ model, ids, xNode, service, }: {
369
369
  model: string;
370
370
  ids: any;
371
- service: string;
372
- xNode: string;
371
+ service?: string;
372
+ xNode?: string;
373
373
  }) => any;
374
374
  manageOnChange: ({ model, ids, args, xNode, service, }: {
375
375
  model: string;
376
376
  ids: any;
377
377
  args: any;
378
- service: string;
379
- xNode: string;
378
+ service?: string;
379
+ xNode?: string;
380
380
  }) => any;
381
381
  getOrderLine: ({ model, ids, specification, xNode, service, }: {
382
382
  model: string;
383
383
  ids: any;
384
384
  specification: any;
385
- service: string;
386
- xNode: string;
385
+ service?: string;
386
+ xNode?: string;
387
387
  }) => any;
388
388
  getProductImage: ({ model, fields, limit, offset, domain, xNode, service, }: {
389
389
  model: string;
@@ -391,44 +391,44 @@ declare function useViewService(): {
391
391
  limit: number;
392
392
  offset: number;
393
393
  domain: any;
394
- service: string;
395
- xNode: string;
394
+ service?: string;
395
+ xNode?: string;
396
396
  }) => any;
397
397
  addEntity: ({ model, values, xNode, service, isCreateEndpoint, }: {
398
398
  model: string;
399
399
  values: any;
400
- service: string;
401
- xNode: string;
400
+ service?: string;
401
+ xNode?: string;
402
402
  isCreateEndpoint?: boolean;
403
403
  }) => any;
404
404
  checkPayment: ({ model, ids, withContext, xNode, service, }: {
405
405
  model: string;
406
406
  ids: any;
407
407
  withContext: any;
408
- service: string;
409
- xNode: string;
408
+ service?: string;
409
+ xNode?: string;
410
410
  }) => any;
411
411
  handleCloseSession: ({ model, ids, xNode, service, method, }: {
412
412
  model: string;
413
413
  ids: any;
414
- service: string;
415
- xNode: string;
414
+ service?: string;
415
+ xNode?: string;
416
416
  method: string;
417
417
  }) => any;
418
418
  handleClosingDetailSession: ({ model, ids, method, xNode, service, kwargs, }: {
419
419
  model: string;
420
420
  ids: any;
421
421
  method: string;
422
- service: string;
423
- xNode: string;
422
+ service?: string;
423
+ xNode?: string;
424
424
  kwargs: any;
425
425
  }) => any;
426
426
  createPosConfig: ({ model, name, modulePosRestaurant, xNode, service, }: {
427
427
  model: string;
428
428
  name: string;
429
429
  modulePosRestaurant: string;
430
- service: string;
431
- xNode: string;
430
+ service?: string;
431
+ xNode?: string;
432
432
  }) => any;
433
433
  };
434
434
 
@@ -296,15 +296,15 @@ declare function useViewService(): {
296
296
  model: string;
297
297
  args: [];
298
298
  domain: [];
299
- service: string;
300
- xNode: string;
299
+ service?: string;
300
+ xNode?: string;
301
301
  }) => Promise<any>;
302
302
  updateClosedSession: ({ model, domain, values, service, xNode, }: {
303
303
  model: string;
304
304
  domain: [];
305
305
  values: {};
306
- service: string;
307
- xNode: string;
306
+ service?: string;
307
+ xNode?: string;
308
308
  }) => any;
309
309
  manageSession: ({ model, method, ids, args, kwargs, xNode, service, }: {
310
310
  model: string;
@@ -312,41 +312,41 @@ declare function useViewService(): {
312
312
  ids: any;
313
313
  args: any;
314
314
  kwargs: any;
315
- service: string;
316
- xNode: string;
315
+ service?: string;
316
+ xNode?: string;
317
317
  }) => any;
318
318
  handleClosingSession: ({ model, method, ids, kwargs, xNode, service, }: {
319
319
  model: string;
320
320
  method: string;
321
321
  ids: any;
322
322
  kwargs: any;
323
- service: string;
324
- xNode: string;
323
+ service?: string;
324
+ xNode?: string;
325
325
  }) => any;
326
326
  createSession: ({ model, configId, xNode, service, }: {
327
327
  model: string;
328
328
  configId: number;
329
- service: string;
330
- xNode: string;
329
+ service?: string;
330
+ xNode?: string;
331
331
  }) => any;
332
332
  getPOS: ({ model, args, domain, xNode, service, }: {
333
333
  model: string;
334
334
  args: any;
335
335
  domain: any;
336
- service: string;
337
- xNode: string;
336
+ service?: string;
337
+ xNode?: string;
338
338
  }) => any;
339
339
  createEntity: ({ model, args, xNode, service, }: {
340
340
  model: string;
341
341
  args: any;
342
- service: string;
343
- xNode: string;
342
+ service?: string;
343
+ xNode?: string;
344
344
  }) => any;
345
345
  getList: ({ model, domain, xNode, service, specification, offset, limit, }: {
346
346
  model: string;
347
347
  domain: any;
348
- service: string;
349
- xNode: string;
348
+ service?: string;
349
+ xNode?: string;
350
350
  specification: any;
351
351
  offset: number;
352
352
  limit: number;
@@ -355,35 +355,35 @@ declare function useViewService(): {
355
355
  model: string;
356
356
  domain: any;
357
357
  values: any;
358
- service: string;
359
- xNode: string;
358
+ service?: string;
359
+ xNode?: string;
360
360
  }) => any;
361
361
  deleteEntity: ({ model, ids, xNode, service, method, }: {
362
362
  model: string;
363
363
  ids: any;
364
- service: string;
365
- xNode: string;
364
+ service?: string;
365
+ xNode?: string;
366
366
  method: string;
367
367
  }) => any;
368
368
  loadDataPosSession: ({ model, ids, xNode, service, }: {
369
369
  model: string;
370
370
  ids: any;
371
- service: string;
372
- xNode: string;
371
+ service?: string;
372
+ xNode?: string;
373
373
  }) => any;
374
374
  manageOnChange: ({ model, ids, args, xNode, service, }: {
375
375
  model: string;
376
376
  ids: any;
377
377
  args: any;
378
- service: string;
379
- xNode: string;
378
+ service?: string;
379
+ xNode?: string;
380
380
  }) => any;
381
381
  getOrderLine: ({ model, ids, specification, xNode, service, }: {
382
382
  model: string;
383
383
  ids: any;
384
384
  specification: any;
385
- service: string;
386
- xNode: string;
385
+ service?: string;
386
+ xNode?: string;
387
387
  }) => any;
388
388
  getProductImage: ({ model, fields, limit, offset, domain, xNode, service, }: {
389
389
  model: string;
@@ -391,44 +391,44 @@ declare function useViewService(): {
391
391
  limit: number;
392
392
  offset: number;
393
393
  domain: any;
394
- service: string;
395
- xNode: string;
394
+ service?: string;
395
+ xNode?: string;
396
396
  }) => any;
397
397
  addEntity: ({ model, values, xNode, service, isCreateEndpoint, }: {
398
398
  model: string;
399
399
  values: any;
400
- service: string;
401
- xNode: string;
400
+ service?: string;
401
+ xNode?: string;
402
402
  isCreateEndpoint?: boolean;
403
403
  }) => any;
404
404
  checkPayment: ({ model, ids, withContext, xNode, service, }: {
405
405
  model: string;
406
406
  ids: any;
407
407
  withContext: any;
408
- service: string;
409
- xNode: string;
408
+ service?: string;
409
+ xNode?: string;
410
410
  }) => any;
411
411
  handleCloseSession: ({ model, ids, xNode, service, method, }: {
412
412
  model: string;
413
413
  ids: any;
414
- service: string;
415
- xNode: string;
414
+ service?: string;
415
+ xNode?: string;
416
416
  method: string;
417
417
  }) => any;
418
418
  handleClosingDetailSession: ({ model, ids, method, xNode, service, kwargs, }: {
419
419
  model: string;
420
420
  ids: any;
421
421
  method: string;
422
- service: string;
423
- xNode: string;
422
+ service?: string;
423
+ xNode?: string;
424
424
  kwargs: any;
425
425
  }) => any;
426
426
  createPosConfig: ({ model, name, modulePosRestaurant, xNode, service, }: {
427
427
  model: string;
428
428
  name: string;
429
429
  modulePosRestaurant: string;
430
- service: string;
431
- xNode: string;
430
+ service?: string;
431
+ xNode?: string;
432
432
  }) => any;
433
433
  };
434
434
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",