simpleloan_api 1.1.12 → 1.1.14
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 +97 -97
- package/dist/index.d.ts +97 -97
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -344,34 +344,34 @@ type SalespointCreditType = 'loan' | 'installment' | 'all' | 'all_partial' | 'pa
|
|
|
344
344
|
|
|
345
345
|
/** Авторизация */
|
|
346
346
|
declare const useAccountLogin: () => {
|
|
347
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
348
|
-
pending: vue.Ref<boolean>;
|
|
347
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
348
|
+
readonly pending: vue.Ref<boolean>;
|
|
349
349
|
post(params: PostParams<Login>): Promise<ApiResponse<LoginResponse> | null>;
|
|
350
350
|
};
|
|
351
351
|
/** Выход */
|
|
352
352
|
declare const useAccountLogout: () => {
|
|
353
|
-
response: vue.Ref<ApiResponse<unknown> | null>;
|
|
354
|
-
pending: vue.Ref<boolean>;
|
|
353
|
+
readonly response: vue.Ref<ApiResponse<unknown> | null>;
|
|
354
|
+
readonly pending: vue.Ref<boolean>;
|
|
355
355
|
post(params: PostParams<unknown>): Promise<ApiResponse<unknown> | null>;
|
|
356
356
|
};
|
|
357
357
|
/** Разлогин указанного юзера */
|
|
358
358
|
declare const useAccountLogoutUser: () => {
|
|
359
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
360
|
-
pending: vue.Ref<boolean>;
|
|
359
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
360
|
+
readonly pending: vue.Ref<boolean>;
|
|
361
361
|
post(params: PostParams<{
|
|
362
362
|
user_id: number;
|
|
363
363
|
}>): Promise<ApiResponse<null> | null>;
|
|
364
364
|
};
|
|
365
365
|
/** Проверка авторизации */
|
|
366
366
|
declare const useAccountCheckLogin: () => {
|
|
367
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
368
|
-
pending: vue.Ref<boolean>;
|
|
367
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
368
|
+
readonly pending: vue.Ref<boolean>;
|
|
369
369
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<LoginResponse> | null>;
|
|
370
370
|
};
|
|
371
371
|
/** Регистрация */
|
|
372
372
|
declare const useAccountRegister: () => {
|
|
373
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
374
|
-
pending: vue.Ref<boolean>;
|
|
373
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
374
|
+
readonly pending: vue.Ref<boolean>;
|
|
375
375
|
post(params: PostParams<{
|
|
376
376
|
email: string;
|
|
377
377
|
password: string;
|
|
@@ -379,16 +379,16 @@ declare const useAccountRegister: () => {
|
|
|
379
379
|
};
|
|
380
380
|
/** Сброс пароля */
|
|
381
381
|
declare const useAccountResetPassword: () => {
|
|
382
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
383
|
-
pending: vue.Ref<boolean>;
|
|
382
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
383
|
+
readonly pending: vue.Ref<boolean>;
|
|
384
384
|
post(params: PostParams<{
|
|
385
385
|
email: string;
|
|
386
386
|
}>): Promise<ApiResponse<null> | null>;
|
|
387
387
|
};
|
|
388
388
|
/** Сброс пароля - ввод нового */
|
|
389
389
|
declare const useAccountResetPasswordConfirmNew: () => {
|
|
390
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
391
|
-
pending: vue.Ref<boolean>;
|
|
390
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
391
|
+
readonly pending: vue.Ref<boolean>;
|
|
392
392
|
post(params: PostParams<{
|
|
393
393
|
new_password: string;
|
|
394
394
|
uid: string;
|
|
@@ -396,8 +396,8 @@ declare const useAccountResetPasswordConfirmNew: () => {
|
|
|
396
396
|
};
|
|
397
397
|
/** Смена пароля */
|
|
398
398
|
declare const useAccountUpdatePassword: () => {
|
|
399
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
400
|
-
pending: vue.Ref<boolean>;
|
|
399
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
400
|
+
readonly pending: vue.Ref<boolean>;
|
|
401
401
|
post(params: PostParams<{
|
|
402
402
|
old_password: "string";
|
|
403
403
|
new_password: "string";
|
|
@@ -409,120 +409,120 @@ type AkbarsUpdate = Partial<Akbars> & {
|
|
|
409
409
|
};
|
|
410
410
|
/** Получение справочника Ак Барс Банка */
|
|
411
411
|
declare const useGetAkbarsDictList: (dict: AkbarsDictNames) => {
|
|
412
|
-
response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
413
|
-
pending: vue.Ref<boolean>;
|
|
412
|
+
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
413
|
+
readonly pending: vue.Ref<boolean>;
|
|
414
414
|
post(params: PostParams<{
|
|
415
415
|
mortgageapp_id: number;
|
|
416
416
|
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
417
417
|
};
|
|
418
418
|
/** Получение заявки Ак Барс Банка */
|
|
419
419
|
declare const useGetAkbars: () => {
|
|
420
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
421
|
-
pending: vue.Ref<boolean>;
|
|
420
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
421
|
+
readonly pending: vue.Ref<boolean>;
|
|
422
422
|
post(params: PostParams<{
|
|
423
423
|
id: number;
|
|
424
424
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
425
425
|
};
|
|
426
426
|
/** Получение списка заявок Ак Барс Банка */
|
|
427
427
|
declare const useGetAkbarsList: () => {
|
|
428
|
-
response: vue.Ref<ApiResponse<Akbars[]> | null>;
|
|
429
|
-
pending: vue.Ref<boolean>;
|
|
428
|
+
readonly response: vue.Ref<ApiResponse<Akbars[]> | null>;
|
|
429
|
+
readonly pending: vue.Ref<boolean>;
|
|
430
430
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Akbars[]> | null>;
|
|
431
431
|
};
|
|
432
432
|
/** Удаление заявки Ак Барс Банка */
|
|
433
433
|
declare const useDeleteAkbars: () => {
|
|
434
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
435
|
-
pending: vue.Ref<boolean>;
|
|
434
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
435
|
+
readonly pending: vue.Ref<boolean>;
|
|
436
436
|
post(params: PostParams<{
|
|
437
437
|
id: number;
|
|
438
438
|
}>): Promise<ApiResponse<null> | null>;
|
|
439
439
|
};
|
|
440
440
|
/** Обновление заявки Ак Барс Банка */
|
|
441
441
|
declare const useUpdateAkbars: () => {
|
|
442
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
443
|
-
pending: vue.Ref<boolean>;
|
|
442
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
443
|
+
readonly pending: vue.Ref<boolean>;
|
|
444
444
|
post(params: PostParams<AkbarsUpdate>): Promise<ApiResponse<Akbars> | null>;
|
|
445
445
|
};
|
|
446
446
|
/** Отправка заявки Ак Барс Банка */
|
|
447
447
|
declare const useSendAkbars: () => {
|
|
448
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
449
|
-
pending: vue.Ref<boolean>;
|
|
448
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
449
|
+
readonly pending: vue.Ref<boolean>;
|
|
450
450
|
post(params: PostParams<{
|
|
451
451
|
id: number;
|
|
452
452
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
453
453
|
};
|
|
454
454
|
/** Получение анкет для заёмщиков заявки Ак Барс Банка */
|
|
455
455
|
declare const useGenerateAkbarsScansApplications: () => {
|
|
456
|
-
response: vue.Ref<ApiResponse<
|
|
457
|
-
pending: vue.Ref<boolean>;
|
|
456
|
+
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
457
|
+
readonly pending: vue.Ref<boolean>;
|
|
458
458
|
post(params: PostParams<{
|
|
459
459
|
mortgageapp_id: number;
|
|
460
|
-
}>): Promise<ApiResponse<
|
|
460
|
+
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
461
461
|
};
|
|
462
462
|
/** Отправка сканов заявки Ак Барс Банка */
|
|
463
463
|
declare const useSendAkbarsScans: () => {
|
|
464
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
465
|
-
pending: vue.Ref<boolean>;
|
|
464
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
465
|
+
readonly pending: vue.Ref<boolean>;
|
|
466
466
|
post(params: PostParams<{
|
|
467
467
|
id: number;
|
|
468
468
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
469
469
|
};
|
|
470
470
|
/** Вызов метода рассмотрения заявки Ак Барс Банка */
|
|
471
471
|
declare const useProcessingAkbars: () => {
|
|
472
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
473
|
-
pending: vue.Ref<boolean>;
|
|
472
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
473
|
+
readonly pending: vue.Ref<boolean>;
|
|
474
474
|
post(params: PostParams<{
|
|
475
475
|
id: number;
|
|
476
476
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
477
477
|
};
|
|
478
478
|
/** Запрос на получение печатных форм заявки Ак Барс Банка */
|
|
479
479
|
declare const useAskAkbarsPrintforms: () => {
|
|
480
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
481
|
-
pending: vue.Ref<boolean>;
|
|
480
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
481
|
+
readonly pending: vue.Ref<boolean>;
|
|
482
482
|
post(params: PostParams<{
|
|
483
483
|
id: number;
|
|
484
484
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
485
485
|
};
|
|
486
486
|
/** Опрос статуса заявки после предодобрение */
|
|
487
487
|
declare const useLoanerApprovingAkbarsStatus: () => {
|
|
488
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
489
|
-
pending: vue.Ref<boolean>;
|
|
488
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
489
|
+
readonly pending: vue.Ref<boolean>;
|
|
490
490
|
post(params: PostParams<{
|
|
491
491
|
id: number;
|
|
492
492
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
493
493
|
};
|
|
494
494
|
/** Получение сформированных печатных форм Ак Барс Банка */
|
|
495
495
|
declare const useGetAkbarsPrintformList: () => {
|
|
496
|
-
response: vue.Ref<ApiResponse<AkbarsPrintform[]> | null>;
|
|
497
|
-
pending: vue.Ref<boolean>;
|
|
496
|
+
readonly response: vue.Ref<ApiResponse<AkbarsPrintform[]> | null>;
|
|
497
|
+
readonly pending: vue.Ref<boolean>;
|
|
498
498
|
post(params: PostParams<{
|
|
499
499
|
id: number;
|
|
500
500
|
}>): Promise<ApiResponse<AkbarsPrintform[]> | null>;
|
|
501
501
|
};
|
|
502
502
|
/** Добавить/Редактировать залог к заявке Ак Барс Банка */
|
|
503
503
|
declare const useUpdateAkbarsDeposit: () => {
|
|
504
|
-
response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
505
|
-
pending: vue.Ref<boolean>;
|
|
504
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
505
|
+
readonly pending: vue.Ref<boolean>;
|
|
506
506
|
post(params: PostParams<Partial<AkbarsDeposit>>): Promise<ApiResponse<AkbarsDeposit> | null>;
|
|
507
507
|
};
|
|
508
508
|
/** Получить залог из заявки Ак Барс Банка */
|
|
509
509
|
declare const useGetAkbarsDeposit: () => {
|
|
510
|
-
response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
511
|
-
pending: vue.Ref<boolean>;
|
|
510
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
511
|
+
readonly pending: vue.Ref<boolean>;
|
|
512
512
|
post(params: PostParams<Partial<AkbarsDeposit>>): Promise<ApiResponse<AkbarsDeposit> | null>;
|
|
513
513
|
};
|
|
514
514
|
/** Отправить информацию об залоге со сканами в Ак Барс Банк */
|
|
515
515
|
declare const useSendAkbarsDeposit: () => {
|
|
516
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
517
|
-
pending: vue.Ref<boolean>;
|
|
516
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
517
|
+
readonly pending: vue.Ref<boolean>;
|
|
518
518
|
post(params: PostParams<{
|
|
519
519
|
id: number;
|
|
520
520
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
521
521
|
};
|
|
522
522
|
/** Загрузить скан депозита в заявку Ак Барс Банка */
|
|
523
523
|
declare const useUploadAkbarsDepositScan: () => {
|
|
524
|
-
response: vue.Ref<ApiResponse<AkbarsDepositScan> | null>;
|
|
525
|
-
pending: vue.Ref<boolean>;
|
|
524
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDepositScan> | null>;
|
|
525
|
+
readonly pending: vue.Ref<boolean>;
|
|
526
526
|
post(params: PostParams<{
|
|
527
527
|
id: number;
|
|
528
528
|
file: UploadB64File;
|
|
@@ -531,16 +531,16 @@ declare const useUploadAkbarsDepositScan: () => {
|
|
|
531
531
|
};
|
|
532
532
|
/** Получить список сканов депозита в заявке Ак Барс Банка */
|
|
533
533
|
declare const useGetAkbarsDepositScanList: () => {
|
|
534
|
-
response: vue.Ref<ApiResponse<AkbarsDepositScan[]> | null>;
|
|
535
|
-
pending: vue.Ref<boolean>;
|
|
534
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDepositScan[]> | null>;
|
|
535
|
+
readonly pending: vue.Ref<boolean>;
|
|
536
536
|
post(params: PostParams<{
|
|
537
537
|
id: number;
|
|
538
538
|
}>): Promise<ApiResponse<AkbarsDepositScan[]> | null>;
|
|
539
539
|
};
|
|
540
540
|
/** Удалить скан депозита в заявке Ак Барс Банка */
|
|
541
541
|
declare const useDeleteAkbarsDepositScan: () => {
|
|
542
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
543
|
-
pending: vue.Ref<boolean>;
|
|
542
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
543
|
+
readonly pending: vue.Ref<boolean>;
|
|
544
544
|
post(params: PostParams<{
|
|
545
545
|
id: number;
|
|
546
546
|
item_id: number;
|
|
@@ -552,36 +552,36 @@ type BrokerclientUpdate = Partial<Brokerclient> & {
|
|
|
552
552
|
};
|
|
553
553
|
/** Получить БО по id */
|
|
554
554
|
declare const useGetBrokerclient: () => {
|
|
555
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
556
|
-
pending: vue.Ref<boolean>;
|
|
555
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
556
|
+
readonly pending: vue.Ref<boolean>;
|
|
557
557
|
post(params: PostParams<{
|
|
558
558
|
id: number;
|
|
559
559
|
}>): Promise<ApiResponse<Brokerclient> | null>;
|
|
560
560
|
};
|
|
561
561
|
/** Обновить БО */
|
|
562
562
|
declare const useUpdateBrokerclient: () => {
|
|
563
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
564
|
-
pending: vue.Ref<boolean>;
|
|
563
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
564
|
+
readonly pending: vue.Ref<boolean>;
|
|
565
565
|
post(params: PostParams<BrokerclientUpdate>): Promise<ApiResponse<Brokerclient> | null>;
|
|
566
566
|
};
|
|
567
567
|
/** Получить список БО */
|
|
568
568
|
declare const useGetBrokerclientList: () => {
|
|
569
|
-
response: vue.Ref<ApiResponse<Brokerclient[]> | null>;
|
|
570
|
-
pending: vue.Ref<boolean>;
|
|
569
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient[]> | null>;
|
|
570
|
+
readonly pending: vue.Ref<boolean>;
|
|
571
571
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Brokerclient[]> | null>;
|
|
572
572
|
};
|
|
573
573
|
/** Удаление БО */
|
|
574
574
|
declare const useDeleteBrokerclient: () => {
|
|
575
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
576
|
-
pending: vue.Ref<boolean>;
|
|
575
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
576
|
+
readonly pending: vue.Ref<boolean>;
|
|
577
577
|
post(params: PostParams<{
|
|
578
578
|
id: number;
|
|
579
579
|
}>): Promise<ApiResponse<Brokerclient> | null>;
|
|
580
580
|
};
|
|
581
581
|
/** Добавление сотрудника в штат БО */
|
|
582
582
|
declare const useAddStaffBrokerclient: () => {
|
|
583
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
584
|
-
pending: vue.Ref<boolean>;
|
|
583
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
584
|
+
readonly pending: vue.Ref<boolean>;
|
|
585
585
|
post(params: PostParams<{
|
|
586
586
|
brokerclient_id: number;
|
|
587
587
|
user_id: number;
|
|
@@ -589,8 +589,8 @@ declare const useAddStaffBrokerclient: () => {
|
|
|
589
589
|
};
|
|
590
590
|
/** Удаление сотрудника из штата БО */
|
|
591
591
|
declare const useDeleteStaffBrokerclient: () => {
|
|
592
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
593
|
-
pending: vue.Ref<boolean>;
|
|
592
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
593
|
+
readonly pending: vue.Ref<boolean>;
|
|
594
594
|
post(params: PostParams<{
|
|
595
595
|
brokerclient_id: number;
|
|
596
596
|
user_id: number;
|
|
@@ -602,44 +602,44 @@ type SalespointUpdate = Partial<Salespoint> & {
|
|
|
602
602
|
};
|
|
603
603
|
/** Получить торговую точку по id */
|
|
604
604
|
declare const useGetSalespoint: () => {
|
|
605
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
606
|
-
pending: vue.Ref<boolean>;
|
|
605
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
606
|
+
readonly pending: vue.Ref<boolean>;
|
|
607
607
|
post(params: PostParams<{
|
|
608
608
|
id: number;
|
|
609
609
|
}>): Promise<ApiResponse<Salespoint> | null>;
|
|
610
610
|
};
|
|
611
611
|
/** Обновить торговую точку */
|
|
612
612
|
declare const useUpdateSalespoint: () => {
|
|
613
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
614
|
-
pending: vue.Ref<boolean>;
|
|
613
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
614
|
+
readonly pending: vue.Ref<boolean>;
|
|
615
615
|
post(params: PostParams<SalespointUpdate>): Promise<ApiResponse<Salespoint> | null>;
|
|
616
616
|
};
|
|
617
617
|
/** Копировать торговую точку */
|
|
618
618
|
declare const useCloneSalespoint: () => {
|
|
619
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
620
|
-
pending: vue.Ref<boolean>;
|
|
619
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
620
|
+
readonly pending: vue.Ref<boolean>;
|
|
621
621
|
post(params: PostParams<{
|
|
622
622
|
id: number;
|
|
623
623
|
}>): Promise<ApiResponse<Salespoint> | null>;
|
|
624
624
|
};
|
|
625
625
|
/** Получить список торговых точек */
|
|
626
626
|
declare const useGetSalespointList: () => {
|
|
627
|
-
response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
628
|
-
pending: vue.Ref<boolean>;
|
|
627
|
+
readonly response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
628
|
+
readonly pending: vue.Ref<boolean>;
|
|
629
629
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Salespoint[]> | null>;
|
|
630
630
|
};
|
|
631
631
|
/** Удаление торговой точки */
|
|
632
632
|
declare const useDeleteSalespoint: () => {
|
|
633
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
634
|
-
pending: vue.Ref<boolean>;
|
|
633
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
634
|
+
readonly pending: vue.Ref<boolean>;
|
|
635
635
|
post(params: PostParams<{
|
|
636
636
|
id: number;
|
|
637
637
|
}>): Promise<ApiResponse<Salespoint> | null>;
|
|
638
638
|
};
|
|
639
639
|
/** Добавление сотрудника в штат торговой точки */
|
|
640
640
|
declare const useAddStaffSalespoint: () => {
|
|
641
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
642
|
-
pending: vue.Ref<boolean>;
|
|
641
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
642
|
+
readonly pending: vue.Ref<boolean>;
|
|
643
643
|
post(params: PostParams<{
|
|
644
644
|
salespoint_id: number;
|
|
645
645
|
user_id: number;
|
|
@@ -647,8 +647,8 @@ declare const useAddStaffSalespoint: () => {
|
|
|
647
647
|
};
|
|
648
648
|
/** Удаление сотрудника из штата торговой точки */
|
|
649
649
|
declare const useDeleteStaffSalespoint: () => {
|
|
650
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
651
|
-
pending: vue.Ref<boolean>;
|
|
650
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
651
|
+
readonly pending: vue.Ref<boolean>;
|
|
652
652
|
post(params: PostParams<{
|
|
653
653
|
salespoint_id: number;
|
|
654
654
|
user_id: number;
|
|
@@ -656,8 +656,8 @@ declare const useDeleteStaffSalespoint: () => {
|
|
|
656
656
|
};
|
|
657
657
|
/** Массовое обновление торговых точек */
|
|
658
658
|
declare const useUpdateManySalespoint: () => {
|
|
659
|
-
response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
660
|
-
pending: vue.Ref<boolean>;
|
|
659
|
+
readonly response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
660
|
+
readonly pending: vue.Ref<boolean>;
|
|
661
661
|
post(params: PostParams<{
|
|
662
662
|
user_ids: number[];
|
|
663
663
|
data: SalespointUpdate;
|
|
@@ -669,44 +669,44 @@ type UserUpdate = Partial<User> & {
|
|
|
669
669
|
};
|
|
670
670
|
/** Получить пользователя по id */
|
|
671
671
|
declare const useGetUser: () => {
|
|
672
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
673
|
-
pending: vue.Ref<boolean>;
|
|
672
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
673
|
+
readonly pending: vue.Ref<boolean>;
|
|
674
674
|
post(params: PostParams<{
|
|
675
675
|
id: number;
|
|
676
676
|
}>): Promise<ApiResponse<User> | null>;
|
|
677
677
|
};
|
|
678
678
|
/** Обновить пользователя */
|
|
679
679
|
declare const useUpdateUser: () => {
|
|
680
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
681
|
-
pending: vue.Ref<boolean>;
|
|
680
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
681
|
+
readonly pending: vue.Ref<boolean>;
|
|
682
682
|
post(params: PostParams<UserUpdate>): Promise<ApiResponse<User> | null>;
|
|
683
683
|
};
|
|
684
684
|
/** Получить список юзеров */
|
|
685
685
|
declare const useGetUserList: () => {
|
|
686
|
-
response: vue.Ref<ApiResponse<User[]> | null>;
|
|
687
|
-
pending: vue.Ref<boolean>;
|
|
686
|
+
readonly response: vue.Ref<ApiResponse<User[]> | null>;
|
|
687
|
+
readonly pending: vue.Ref<boolean>;
|
|
688
688
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<User[]> | null>;
|
|
689
689
|
};
|
|
690
690
|
/** Удалить пользователя */
|
|
691
691
|
declare const useDeleteUser: () => {
|
|
692
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
693
|
-
pending: vue.Ref<boolean>;
|
|
692
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
693
|
+
readonly pending: vue.Ref<boolean>;
|
|
694
694
|
post(params: PostParams<{
|
|
695
695
|
id: number;
|
|
696
696
|
}>): Promise<ApiResponse<null> | null>;
|
|
697
697
|
};
|
|
698
698
|
/** Клонирование пользователя */
|
|
699
699
|
declare const useCloneUser: () => {
|
|
700
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
701
|
-
pending: vue.Ref<boolean>;
|
|
700
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
701
|
+
readonly pending: vue.Ref<boolean>;
|
|
702
702
|
post(params: PostParams<{
|
|
703
703
|
id: number;
|
|
704
704
|
}>): Promise<ApiResponse<User> | null>;
|
|
705
705
|
};
|
|
706
706
|
/** Добавление группы к пользователю */
|
|
707
707
|
declare const useAddGroupUser: () => {
|
|
708
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
709
|
-
pending: vue.Ref<boolean>;
|
|
708
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
709
|
+
readonly pending: vue.Ref<boolean>;
|
|
710
710
|
post(params: PostParams<{
|
|
711
711
|
group_id: number;
|
|
712
712
|
user_id: number;
|
|
@@ -714,8 +714,8 @@ declare const useAddGroupUser: () => {
|
|
|
714
714
|
};
|
|
715
715
|
/** Удаление группы у пользователя */
|
|
716
716
|
declare const useDeleteGroupUser: () => {
|
|
717
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
718
|
-
pending: vue.Ref<boolean>;
|
|
717
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
718
|
+
readonly pending: vue.Ref<boolean>;
|
|
719
719
|
post(params: PostParams<{
|
|
720
720
|
group_id: number;
|
|
721
721
|
user_id: number;
|
|
@@ -723,8 +723,8 @@ declare const useDeleteGroupUser: () => {
|
|
|
723
723
|
};
|
|
724
724
|
/** Массовое обновление пользователей */
|
|
725
725
|
declare const useUpdateManyUser: () => {
|
|
726
|
-
response: vue.Ref<ApiResponse<User[]> | null>;
|
|
727
|
-
pending: vue.Ref<boolean>;
|
|
726
|
+
readonly response: vue.Ref<ApiResponse<User[]> | null>;
|
|
727
|
+
readonly pending: vue.Ref<boolean>;
|
|
728
728
|
post(params: PostParams<{
|
|
729
729
|
user_ids: number[];
|
|
730
730
|
data: UserUpdate;
|
package/dist/index.d.ts
CHANGED
|
@@ -344,34 +344,34 @@ type SalespointCreditType = 'loan' | 'installment' | 'all' | 'all_partial' | 'pa
|
|
|
344
344
|
|
|
345
345
|
/** Авторизация */
|
|
346
346
|
declare const useAccountLogin: () => {
|
|
347
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
348
|
-
pending: vue.Ref<boolean>;
|
|
347
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
348
|
+
readonly pending: vue.Ref<boolean>;
|
|
349
349
|
post(params: PostParams<Login>): Promise<ApiResponse<LoginResponse> | null>;
|
|
350
350
|
};
|
|
351
351
|
/** Выход */
|
|
352
352
|
declare const useAccountLogout: () => {
|
|
353
|
-
response: vue.Ref<ApiResponse<unknown> | null>;
|
|
354
|
-
pending: vue.Ref<boolean>;
|
|
353
|
+
readonly response: vue.Ref<ApiResponse<unknown> | null>;
|
|
354
|
+
readonly pending: vue.Ref<boolean>;
|
|
355
355
|
post(params: PostParams<unknown>): Promise<ApiResponse<unknown> | null>;
|
|
356
356
|
};
|
|
357
357
|
/** Разлогин указанного юзера */
|
|
358
358
|
declare const useAccountLogoutUser: () => {
|
|
359
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
360
|
-
pending: vue.Ref<boolean>;
|
|
359
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
360
|
+
readonly pending: vue.Ref<boolean>;
|
|
361
361
|
post(params: PostParams<{
|
|
362
362
|
user_id: number;
|
|
363
363
|
}>): Promise<ApiResponse<null> | null>;
|
|
364
364
|
};
|
|
365
365
|
/** Проверка авторизации */
|
|
366
366
|
declare const useAccountCheckLogin: () => {
|
|
367
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
368
|
-
pending: vue.Ref<boolean>;
|
|
367
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
368
|
+
readonly pending: vue.Ref<boolean>;
|
|
369
369
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<LoginResponse> | null>;
|
|
370
370
|
};
|
|
371
371
|
/** Регистрация */
|
|
372
372
|
declare const useAccountRegister: () => {
|
|
373
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
374
|
-
pending: vue.Ref<boolean>;
|
|
373
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
374
|
+
readonly pending: vue.Ref<boolean>;
|
|
375
375
|
post(params: PostParams<{
|
|
376
376
|
email: string;
|
|
377
377
|
password: string;
|
|
@@ -379,16 +379,16 @@ declare const useAccountRegister: () => {
|
|
|
379
379
|
};
|
|
380
380
|
/** Сброс пароля */
|
|
381
381
|
declare const useAccountResetPassword: () => {
|
|
382
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
383
|
-
pending: vue.Ref<boolean>;
|
|
382
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
383
|
+
readonly pending: vue.Ref<boolean>;
|
|
384
384
|
post(params: PostParams<{
|
|
385
385
|
email: string;
|
|
386
386
|
}>): Promise<ApiResponse<null> | null>;
|
|
387
387
|
};
|
|
388
388
|
/** Сброс пароля - ввод нового */
|
|
389
389
|
declare const useAccountResetPasswordConfirmNew: () => {
|
|
390
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
391
|
-
pending: vue.Ref<boolean>;
|
|
390
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
391
|
+
readonly pending: vue.Ref<boolean>;
|
|
392
392
|
post(params: PostParams<{
|
|
393
393
|
new_password: string;
|
|
394
394
|
uid: string;
|
|
@@ -396,8 +396,8 @@ declare const useAccountResetPasswordConfirmNew: () => {
|
|
|
396
396
|
};
|
|
397
397
|
/** Смена пароля */
|
|
398
398
|
declare const useAccountUpdatePassword: () => {
|
|
399
|
-
response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
400
|
-
pending: vue.Ref<boolean>;
|
|
399
|
+
readonly response: vue.Ref<ApiResponse<LoginResponse> | null>;
|
|
400
|
+
readonly pending: vue.Ref<boolean>;
|
|
401
401
|
post(params: PostParams<{
|
|
402
402
|
old_password: "string";
|
|
403
403
|
new_password: "string";
|
|
@@ -409,120 +409,120 @@ type AkbarsUpdate = Partial<Akbars> & {
|
|
|
409
409
|
};
|
|
410
410
|
/** Получение справочника Ак Барс Банка */
|
|
411
411
|
declare const useGetAkbarsDictList: (dict: AkbarsDictNames) => {
|
|
412
|
-
response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
413
|
-
pending: vue.Ref<boolean>;
|
|
412
|
+
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
413
|
+
readonly pending: vue.Ref<boolean>;
|
|
414
414
|
post(params: PostParams<{
|
|
415
415
|
mortgageapp_id: number;
|
|
416
416
|
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
417
417
|
};
|
|
418
418
|
/** Получение заявки Ак Барс Банка */
|
|
419
419
|
declare const useGetAkbars: () => {
|
|
420
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
421
|
-
pending: vue.Ref<boolean>;
|
|
420
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
421
|
+
readonly pending: vue.Ref<boolean>;
|
|
422
422
|
post(params: PostParams<{
|
|
423
423
|
id: number;
|
|
424
424
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
425
425
|
};
|
|
426
426
|
/** Получение списка заявок Ак Барс Банка */
|
|
427
427
|
declare const useGetAkbarsList: () => {
|
|
428
|
-
response: vue.Ref<ApiResponse<Akbars[]> | null>;
|
|
429
|
-
pending: vue.Ref<boolean>;
|
|
428
|
+
readonly response: vue.Ref<ApiResponse<Akbars[]> | null>;
|
|
429
|
+
readonly pending: vue.Ref<boolean>;
|
|
430
430
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Akbars[]> | null>;
|
|
431
431
|
};
|
|
432
432
|
/** Удаление заявки Ак Барс Банка */
|
|
433
433
|
declare const useDeleteAkbars: () => {
|
|
434
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
435
|
-
pending: vue.Ref<boolean>;
|
|
434
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
435
|
+
readonly pending: vue.Ref<boolean>;
|
|
436
436
|
post(params: PostParams<{
|
|
437
437
|
id: number;
|
|
438
438
|
}>): Promise<ApiResponse<null> | null>;
|
|
439
439
|
};
|
|
440
440
|
/** Обновление заявки Ак Барс Банка */
|
|
441
441
|
declare const useUpdateAkbars: () => {
|
|
442
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
443
|
-
pending: vue.Ref<boolean>;
|
|
442
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
443
|
+
readonly pending: vue.Ref<boolean>;
|
|
444
444
|
post(params: PostParams<AkbarsUpdate>): Promise<ApiResponse<Akbars> | null>;
|
|
445
445
|
};
|
|
446
446
|
/** Отправка заявки Ак Барс Банка */
|
|
447
447
|
declare const useSendAkbars: () => {
|
|
448
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
449
|
-
pending: vue.Ref<boolean>;
|
|
448
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
449
|
+
readonly pending: vue.Ref<boolean>;
|
|
450
450
|
post(params: PostParams<{
|
|
451
451
|
id: number;
|
|
452
452
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
453
453
|
};
|
|
454
454
|
/** Получение анкет для заёмщиков заявки Ак Барс Банка */
|
|
455
455
|
declare const useGenerateAkbarsScansApplications: () => {
|
|
456
|
-
response: vue.Ref<ApiResponse<
|
|
457
|
-
pending: vue.Ref<boolean>;
|
|
456
|
+
readonly response: vue.Ref<ApiResponse<Record<string, string>> | null>;
|
|
457
|
+
readonly pending: vue.Ref<boolean>;
|
|
458
458
|
post(params: PostParams<{
|
|
459
459
|
mortgageapp_id: number;
|
|
460
|
-
}>): Promise<ApiResponse<
|
|
460
|
+
}>): Promise<ApiResponse<Record<string, string>> | null>;
|
|
461
461
|
};
|
|
462
462
|
/** Отправка сканов заявки Ак Барс Банка */
|
|
463
463
|
declare const useSendAkbarsScans: () => {
|
|
464
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
465
|
-
pending: vue.Ref<boolean>;
|
|
464
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
465
|
+
readonly pending: vue.Ref<boolean>;
|
|
466
466
|
post(params: PostParams<{
|
|
467
467
|
id: number;
|
|
468
468
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
469
469
|
};
|
|
470
470
|
/** Вызов метода рассмотрения заявки Ак Барс Банка */
|
|
471
471
|
declare const useProcessingAkbars: () => {
|
|
472
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
473
|
-
pending: vue.Ref<boolean>;
|
|
472
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
473
|
+
readonly pending: vue.Ref<boolean>;
|
|
474
474
|
post(params: PostParams<{
|
|
475
475
|
id: number;
|
|
476
476
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
477
477
|
};
|
|
478
478
|
/** Запрос на получение печатных форм заявки Ак Барс Банка */
|
|
479
479
|
declare const useAskAkbarsPrintforms: () => {
|
|
480
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
481
|
-
pending: vue.Ref<boolean>;
|
|
480
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
481
|
+
readonly pending: vue.Ref<boolean>;
|
|
482
482
|
post(params: PostParams<{
|
|
483
483
|
id: number;
|
|
484
484
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
485
485
|
};
|
|
486
486
|
/** Опрос статуса заявки после предодобрение */
|
|
487
487
|
declare const useLoanerApprovingAkbarsStatus: () => {
|
|
488
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
489
|
-
pending: vue.Ref<boolean>;
|
|
488
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
489
|
+
readonly pending: vue.Ref<boolean>;
|
|
490
490
|
post(params: PostParams<{
|
|
491
491
|
id: number;
|
|
492
492
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
493
493
|
};
|
|
494
494
|
/** Получение сформированных печатных форм Ак Барс Банка */
|
|
495
495
|
declare const useGetAkbarsPrintformList: () => {
|
|
496
|
-
response: vue.Ref<ApiResponse<AkbarsPrintform[]> | null>;
|
|
497
|
-
pending: vue.Ref<boolean>;
|
|
496
|
+
readonly response: vue.Ref<ApiResponse<AkbarsPrintform[]> | null>;
|
|
497
|
+
readonly pending: vue.Ref<boolean>;
|
|
498
498
|
post(params: PostParams<{
|
|
499
499
|
id: number;
|
|
500
500
|
}>): Promise<ApiResponse<AkbarsPrintform[]> | null>;
|
|
501
501
|
};
|
|
502
502
|
/** Добавить/Редактировать залог к заявке Ак Барс Банка */
|
|
503
503
|
declare const useUpdateAkbarsDeposit: () => {
|
|
504
|
-
response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
505
|
-
pending: vue.Ref<boolean>;
|
|
504
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
505
|
+
readonly pending: vue.Ref<boolean>;
|
|
506
506
|
post(params: PostParams<Partial<AkbarsDeposit>>): Promise<ApiResponse<AkbarsDeposit> | null>;
|
|
507
507
|
};
|
|
508
508
|
/** Получить залог из заявки Ак Барс Банка */
|
|
509
509
|
declare const useGetAkbarsDeposit: () => {
|
|
510
|
-
response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
511
|
-
pending: vue.Ref<boolean>;
|
|
510
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDeposit> | null>;
|
|
511
|
+
readonly pending: vue.Ref<boolean>;
|
|
512
512
|
post(params: PostParams<Partial<AkbarsDeposit>>): Promise<ApiResponse<AkbarsDeposit> | null>;
|
|
513
513
|
};
|
|
514
514
|
/** Отправить информацию об залоге со сканами в Ак Барс Банк */
|
|
515
515
|
declare const useSendAkbarsDeposit: () => {
|
|
516
|
-
response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
517
|
-
pending: vue.Ref<boolean>;
|
|
516
|
+
readonly response: vue.Ref<ApiResponse<Akbars> | null>;
|
|
517
|
+
readonly pending: vue.Ref<boolean>;
|
|
518
518
|
post(params: PostParams<{
|
|
519
519
|
id: number;
|
|
520
520
|
}>): Promise<ApiResponse<Akbars> | null>;
|
|
521
521
|
};
|
|
522
522
|
/** Загрузить скан депозита в заявку Ак Барс Банка */
|
|
523
523
|
declare const useUploadAkbarsDepositScan: () => {
|
|
524
|
-
response: vue.Ref<ApiResponse<AkbarsDepositScan> | null>;
|
|
525
|
-
pending: vue.Ref<boolean>;
|
|
524
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDepositScan> | null>;
|
|
525
|
+
readonly pending: vue.Ref<boolean>;
|
|
526
526
|
post(params: PostParams<{
|
|
527
527
|
id: number;
|
|
528
528
|
file: UploadB64File;
|
|
@@ -531,16 +531,16 @@ declare const useUploadAkbarsDepositScan: () => {
|
|
|
531
531
|
};
|
|
532
532
|
/** Получить список сканов депозита в заявке Ак Барс Банка */
|
|
533
533
|
declare const useGetAkbarsDepositScanList: () => {
|
|
534
|
-
response: vue.Ref<ApiResponse<AkbarsDepositScan[]> | null>;
|
|
535
|
-
pending: vue.Ref<boolean>;
|
|
534
|
+
readonly response: vue.Ref<ApiResponse<AkbarsDepositScan[]> | null>;
|
|
535
|
+
readonly pending: vue.Ref<boolean>;
|
|
536
536
|
post(params: PostParams<{
|
|
537
537
|
id: number;
|
|
538
538
|
}>): Promise<ApiResponse<AkbarsDepositScan[]> | null>;
|
|
539
539
|
};
|
|
540
540
|
/** Удалить скан депозита в заявке Ак Барс Банка */
|
|
541
541
|
declare const useDeleteAkbarsDepositScan: () => {
|
|
542
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
543
|
-
pending: vue.Ref<boolean>;
|
|
542
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
543
|
+
readonly pending: vue.Ref<boolean>;
|
|
544
544
|
post(params: PostParams<{
|
|
545
545
|
id: number;
|
|
546
546
|
item_id: number;
|
|
@@ -552,36 +552,36 @@ type BrokerclientUpdate = Partial<Brokerclient> & {
|
|
|
552
552
|
};
|
|
553
553
|
/** Получить БО по id */
|
|
554
554
|
declare const useGetBrokerclient: () => {
|
|
555
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
556
|
-
pending: vue.Ref<boolean>;
|
|
555
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
556
|
+
readonly pending: vue.Ref<boolean>;
|
|
557
557
|
post(params: PostParams<{
|
|
558
558
|
id: number;
|
|
559
559
|
}>): Promise<ApiResponse<Brokerclient> | null>;
|
|
560
560
|
};
|
|
561
561
|
/** Обновить БО */
|
|
562
562
|
declare const useUpdateBrokerclient: () => {
|
|
563
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
564
|
-
pending: vue.Ref<boolean>;
|
|
563
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
564
|
+
readonly pending: vue.Ref<boolean>;
|
|
565
565
|
post(params: PostParams<BrokerclientUpdate>): Promise<ApiResponse<Brokerclient> | null>;
|
|
566
566
|
};
|
|
567
567
|
/** Получить список БО */
|
|
568
568
|
declare const useGetBrokerclientList: () => {
|
|
569
|
-
response: vue.Ref<ApiResponse<Brokerclient[]> | null>;
|
|
570
|
-
pending: vue.Ref<boolean>;
|
|
569
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient[]> | null>;
|
|
570
|
+
readonly pending: vue.Ref<boolean>;
|
|
571
571
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Brokerclient[]> | null>;
|
|
572
572
|
};
|
|
573
573
|
/** Удаление БО */
|
|
574
574
|
declare const useDeleteBrokerclient: () => {
|
|
575
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
576
|
-
pending: vue.Ref<boolean>;
|
|
575
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
576
|
+
readonly pending: vue.Ref<boolean>;
|
|
577
577
|
post(params: PostParams<{
|
|
578
578
|
id: number;
|
|
579
579
|
}>): Promise<ApiResponse<Brokerclient> | null>;
|
|
580
580
|
};
|
|
581
581
|
/** Добавление сотрудника в штат БО */
|
|
582
582
|
declare const useAddStaffBrokerclient: () => {
|
|
583
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
584
|
-
pending: vue.Ref<boolean>;
|
|
583
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
584
|
+
readonly pending: vue.Ref<boolean>;
|
|
585
585
|
post(params: PostParams<{
|
|
586
586
|
brokerclient_id: number;
|
|
587
587
|
user_id: number;
|
|
@@ -589,8 +589,8 @@ declare const useAddStaffBrokerclient: () => {
|
|
|
589
589
|
};
|
|
590
590
|
/** Удаление сотрудника из штата БО */
|
|
591
591
|
declare const useDeleteStaffBrokerclient: () => {
|
|
592
|
-
response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
593
|
-
pending: vue.Ref<boolean>;
|
|
592
|
+
readonly response: vue.Ref<ApiResponse<Brokerclient> | null>;
|
|
593
|
+
readonly pending: vue.Ref<boolean>;
|
|
594
594
|
post(params: PostParams<{
|
|
595
595
|
brokerclient_id: number;
|
|
596
596
|
user_id: number;
|
|
@@ -602,44 +602,44 @@ type SalespointUpdate = Partial<Salespoint> & {
|
|
|
602
602
|
};
|
|
603
603
|
/** Получить торговую точку по id */
|
|
604
604
|
declare const useGetSalespoint: () => {
|
|
605
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
606
|
-
pending: vue.Ref<boolean>;
|
|
605
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
606
|
+
readonly pending: vue.Ref<boolean>;
|
|
607
607
|
post(params: PostParams<{
|
|
608
608
|
id: number;
|
|
609
609
|
}>): Promise<ApiResponse<Salespoint> | null>;
|
|
610
610
|
};
|
|
611
611
|
/** Обновить торговую точку */
|
|
612
612
|
declare const useUpdateSalespoint: () => {
|
|
613
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
614
|
-
pending: vue.Ref<boolean>;
|
|
613
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
614
|
+
readonly pending: vue.Ref<boolean>;
|
|
615
615
|
post(params: PostParams<SalespointUpdate>): Promise<ApiResponse<Salespoint> | null>;
|
|
616
616
|
};
|
|
617
617
|
/** Копировать торговую точку */
|
|
618
618
|
declare const useCloneSalespoint: () => {
|
|
619
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
620
|
-
pending: vue.Ref<boolean>;
|
|
619
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
620
|
+
readonly pending: vue.Ref<boolean>;
|
|
621
621
|
post(params: PostParams<{
|
|
622
622
|
id: number;
|
|
623
623
|
}>): Promise<ApiResponse<Salespoint> | null>;
|
|
624
624
|
};
|
|
625
625
|
/** Получить список торговых точек */
|
|
626
626
|
declare const useGetSalespointList: () => {
|
|
627
|
-
response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
628
|
-
pending: vue.Ref<boolean>;
|
|
627
|
+
readonly response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
628
|
+
readonly pending: vue.Ref<boolean>;
|
|
629
629
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<Salespoint[]> | null>;
|
|
630
630
|
};
|
|
631
631
|
/** Удаление торговой точки */
|
|
632
632
|
declare const useDeleteSalespoint: () => {
|
|
633
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
634
|
-
pending: vue.Ref<boolean>;
|
|
633
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
634
|
+
readonly pending: vue.Ref<boolean>;
|
|
635
635
|
post(params: PostParams<{
|
|
636
636
|
id: number;
|
|
637
637
|
}>): Promise<ApiResponse<Salespoint> | null>;
|
|
638
638
|
};
|
|
639
639
|
/** Добавление сотрудника в штат торговой точки */
|
|
640
640
|
declare const useAddStaffSalespoint: () => {
|
|
641
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
642
|
-
pending: vue.Ref<boolean>;
|
|
641
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
642
|
+
readonly pending: vue.Ref<boolean>;
|
|
643
643
|
post(params: PostParams<{
|
|
644
644
|
salespoint_id: number;
|
|
645
645
|
user_id: number;
|
|
@@ -647,8 +647,8 @@ declare const useAddStaffSalespoint: () => {
|
|
|
647
647
|
};
|
|
648
648
|
/** Удаление сотрудника из штата торговой точки */
|
|
649
649
|
declare const useDeleteStaffSalespoint: () => {
|
|
650
|
-
response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
651
|
-
pending: vue.Ref<boolean>;
|
|
650
|
+
readonly response: vue.Ref<ApiResponse<Salespoint> | null>;
|
|
651
|
+
readonly pending: vue.Ref<boolean>;
|
|
652
652
|
post(params: PostParams<{
|
|
653
653
|
salespoint_id: number;
|
|
654
654
|
user_id: number;
|
|
@@ -656,8 +656,8 @@ declare const useDeleteStaffSalespoint: () => {
|
|
|
656
656
|
};
|
|
657
657
|
/** Массовое обновление торговых точек */
|
|
658
658
|
declare const useUpdateManySalespoint: () => {
|
|
659
|
-
response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
660
|
-
pending: vue.Ref<boolean>;
|
|
659
|
+
readonly response: vue.Ref<ApiResponse<Salespoint[]> | null>;
|
|
660
|
+
readonly pending: vue.Ref<boolean>;
|
|
661
661
|
post(params: PostParams<{
|
|
662
662
|
user_ids: number[];
|
|
663
663
|
data: SalespointUpdate;
|
|
@@ -669,44 +669,44 @@ type UserUpdate = Partial<User> & {
|
|
|
669
669
|
};
|
|
670
670
|
/** Получить пользователя по id */
|
|
671
671
|
declare const useGetUser: () => {
|
|
672
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
673
|
-
pending: vue.Ref<boolean>;
|
|
672
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
673
|
+
readonly pending: vue.Ref<boolean>;
|
|
674
674
|
post(params: PostParams<{
|
|
675
675
|
id: number;
|
|
676
676
|
}>): Promise<ApiResponse<User> | null>;
|
|
677
677
|
};
|
|
678
678
|
/** Обновить пользователя */
|
|
679
679
|
declare const useUpdateUser: () => {
|
|
680
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
681
|
-
pending: vue.Ref<boolean>;
|
|
680
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
681
|
+
readonly pending: vue.Ref<boolean>;
|
|
682
682
|
post(params: PostParams<UserUpdate>): Promise<ApiResponse<User> | null>;
|
|
683
683
|
};
|
|
684
684
|
/** Получить список юзеров */
|
|
685
685
|
declare const useGetUserList: () => {
|
|
686
|
-
response: vue.Ref<ApiResponse<User[]> | null>;
|
|
687
|
-
pending: vue.Ref<boolean>;
|
|
686
|
+
readonly response: vue.Ref<ApiResponse<User[]> | null>;
|
|
687
|
+
readonly pending: vue.Ref<boolean>;
|
|
688
688
|
post(params?: PostParamsWithoutBody): Promise<ApiResponse<User[]> | null>;
|
|
689
689
|
};
|
|
690
690
|
/** Удалить пользователя */
|
|
691
691
|
declare const useDeleteUser: () => {
|
|
692
|
-
response: vue.Ref<ApiResponse<null> | null>;
|
|
693
|
-
pending: vue.Ref<boolean>;
|
|
692
|
+
readonly response: vue.Ref<ApiResponse<null> | null>;
|
|
693
|
+
readonly pending: vue.Ref<boolean>;
|
|
694
694
|
post(params: PostParams<{
|
|
695
695
|
id: number;
|
|
696
696
|
}>): Promise<ApiResponse<null> | null>;
|
|
697
697
|
};
|
|
698
698
|
/** Клонирование пользователя */
|
|
699
699
|
declare const useCloneUser: () => {
|
|
700
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
701
|
-
pending: vue.Ref<boolean>;
|
|
700
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
701
|
+
readonly pending: vue.Ref<boolean>;
|
|
702
702
|
post(params: PostParams<{
|
|
703
703
|
id: number;
|
|
704
704
|
}>): Promise<ApiResponse<User> | null>;
|
|
705
705
|
};
|
|
706
706
|
/** Добавление группы к пользователю */
|
|
707
707
|
declare const useAddGroupUser: () => {
|
|
708
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
709
|
-
pending: vue.Ref<boolean>;
|
|
708
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
709
|
+
readonly pending: vue.Ref<boolean>;
|
|
710
710
|
post(params: PostParams<{
|
|
711
711
|
group_id: number;
|
|
712
712
|
user_id: number;
|
|
@@ -714,8 +714,8 @@ declare const useAddGroupUser: () => {
|
|
|
714
714
|
};
|
|
715
715
|
/** Удаление группы у пользователя */
|
|
716
716
|
declare const useDeleteGroupUser: () => {
|
|
717
|
-
response: vue.Ref<ApiResponse<User> | null>;
|
|
718
|
-
pending: vue.Ref<boolean>;
|
|
717
|
+
readonly response: vue.Ref<ApiResponse<User> | null>;
|
|
718
|
+
readonly pending: vue.Ref<boolean>;
|
|
719
719
|
post(params: PostParams<{
|
|
720
720
|
group_id: number;
|
|
721
721
|
user_id: number;
|
|
@@ -723,8 +723,8 @@ declare const useDeleteGroupUser: () => {
|
|
|
723
723
|
};
|
|
724
724
|
/** Массовое обновление пользователей */
|
|
725
725
|
declare const useUpdateManyUser: () => {
|
|
726
|
-
response: vue.Ref<ApiResponse<User[]> | null>;
|
|
727
|
-
pending: vue.Ref<boolean>;
|
|
726
|
+
readonly response: vue.Ref<ApiResponse<User[]> | null>;
|
|
727
|
+
readonly pending: vue.Ref<boolean>;
|
|
728
728
|
post(params: PostParams<{
|
|
729
729
|
user_ids: number[];
|
|
730
730
|
data: UserUpdate;
|