@infisale-client/api 1.1.17 → 1.1.19
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/api/api.d.ts +172 -208
- package/dist/api/api.js +69 -0
- package/dist/api/api.mjs +69 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -1709,6 +1709,12 @@ export interface ICompany {
|
|
|
1709
1709
|
* @memberof ICompany
|
|
1710
1710
|
*/
|
|
1711
1711
|
'dns_zone_id'?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
* @type {string}
|
|
1715
|
+
* @memberof ICompany
|
|
1716
|
+
*/
|
|
1717
|
+
'dns_zone_domain'?: string;
|
|
1712
1718
|
/**
|
|
1713
1719
|
*
|
|
1714
1720
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -1801,10 +1807,10 @@ export interface ICompany {
|
|
|
1801
1807
|
};
|
|
1802
1808
|
/**
|
|
1803
1809
|
*
|
|
1804
|
-
* @type {
|
|
1810
|
+
* @type {ICompanyPatchRequestFirebaseAdminCredentials}
|
|
1805
1811
|
* @memberof ICompany
|
|
1806
1812
|
*/
|
|
1807
|
-
'firebase_admin_credentials'?:
|
|
1813
|
+
'firebase_admin_credentials'?: ICompanyPatchRequestFirebaseAdminCredentials;
|
|
1808
1814
|
/**
|
|
1809
1815
|
*
|
|
1810
1816
|
* @type {ICompanyResponseFirebaseWebCredentials}
|
|
@@ -1944,6 +1950,12 @@ export interface ICompanyAdminResponse {
|
|
|
1944
1950
|
* @memberof ICompanyAdminResponse
|
|
1945
1951
|
*/
|
|
1946
1952
|
'dns_zone_id'?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
*
|
|
1955
|
+
* @type {string}
|
|
1956
|
+
* @memberof ICompanyAdminResponse
|
|
1957
|
+
*/
|
|
1958
|
+
'dns_zone_domain'?: string;
|
|
1947
1959
|
/**
|
|
1948
1960
|
*
|
|
1949
1961
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -2444,22 +2456,10 @@ export interface ICompanyPatchRequest {
|
|
|
2444
2456
|
'status'?: CompanyStatusEnum;
|
|
2445
2457
|
/**
|
|
2446
2458
|
*
|
|
2447
|
-
* @type {
|
|
2448
|
-
* @memberof ICompanyPatchRequest
|
|
2449
|
-
*/
|
|
2450
|
-
'users'?: Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>;
|
|
2451
|
-
/**
|
|
2452
|
-
*
|
|
2453
|
-
* @type {ICompanyPostRequestFirebaseAdminCredentials}
|
|
2454
|
-
* @memberof ICompanyPatchRequest
|
|
2455
|
-
*/
|
|
2456
|
-
'firebase_admin_credentials'?: ICompanyPostRequestFirebaseAdminCredentials;
|
|
2457
|
-
/**
|
|
2458
|
-
*
|
|
2459
|
-
* @type {ICompanyResponseConfig}
|
|
2459
|
+
* @type {ICompanyPatchRequestFirebaseAdminCredentials}
|
|
2460
2460
|
* @memberof ICompanyPatchRequest
|
|
2461
2461
|
*/
|
|
2462
|
-
'
|
|
2462
|
+
'firebase_admin_credentials'?: ICompanyPatchRequestFirebaseAdminCredentials;
|
|
2463
2463
|
/**
|
|
2464
2464
|
*
|
|
2465
2465
|
* @type {CompanyTypeEnum}
|
|
@@ -2468,22 +2468,22 @@ export interface ICompanyPatchRequest {
|
|
|
2468
2468
|
'type'?: CompanyTypeEnum;
|
|
2469
2469
|
/**
|
|
2470
2470
|
*
|
|
2471
|
-
* @type {
|
|
2471
|
+
* @type {ICompanyResponseAddress}
|
|
2472
2472
|
* @memberof ICompanyPatchRequest
|
|
2473
2473
|
*/
|
|
2474
|
-
'
|
|
2474
|
+
'address'?: ICompanyResponseAddress;
|
|
2475
2475
|
/**
|
|
2476
2476
|
*
|
|
2477
|
-
* @type {
|
|
2477
|
+
* @type {string}
|
|
2478
2478
|
* @memberof ICompanyPatchRequest
|
|
2479
2479
|
*/
|
|
2480
|
-
'
|
|
2480
|
+
'dns_zone_id'?: string;
|
|
2481
2481
|
/**
|
|
2482
2482
|
*
|
|
2483
2483
|
* @type {string}
|
|
2484
2484
|
* @memberof ICompanyPatchRequest
|
|
2485
2485
|
*/
|
|
2486
|
-
'
|
|
2486
|
+
'dns_zone_domain'?: string;
|
|
2487
2487
|
/**
|
|
2488
2488
|
*
|
|
2489
2489
|
* @type {{ [key: string]: string; }}
|
|
@@ -2528,12 +2528,6 @@ export interface ICompanyPatchRequest {
|
|
|
2528
2528
|
* @memberof ICompanyPatchRequest
|
|
2529
2529
|
*/
|
|
2530
2530
|
'currencies'?: RecordCurrencyEnumCurrency;
|
|
2531
|
-
/**
|
|
2532
|
-
*
|
|
2533
|
-
* @type {Array<ICompanyPostRequestWarehousesInner>}
|
|
2534
|
-
* @memberof ICompanyPatchRequest
|
|
2535
|
-
*/
|
|
2536
|
-
'warehouses'?: Array<ICompanyPostRequestWarehousesInner>;
|
|
2537
2531
|
/**
|
|
2538
2532
|
*
|
|
2539
2533
|
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
@@ -2544,249 +2538,118 @@ export interface ICompanyPatchRequest {
|
|
|
2544
2538
|
/**
|
|
2545
2539
|
*
|
|
2546
2540
|
* @export
|
|
2547
|
-
* @interface
|
|
2541
|
+
* @interface ICompanyPatchRequestFirebaseAdminCredentials
|
|
2548
2542
|
*/
|
|
2549
|
-
export interface
|
|
2550
|
-
/**
|
|
2551
|
-
*
|
|
2552
|
-
* @type {string}
|
|
2553
|
-
* @memberof ICompanyPostRequest
|
|
2554
|
-
*/
|
|
2555
|
-
'name': string;
|
|
2556
|
-
/**
|
|
2557
|
-
*
|
|
2558
|
-
* @type {string}
|
|
2559
|
-
* @memberof ICompanyPostRequest
|
|
2560
|
-
*/
|
|
2561
|
-
'phone'?: string;
|
|
2562
|
-
/**
|
|
2563
|
-
*
|
|
2564
|
-
* @type {string}
|
|
2565
|
-
* @memberof ICompanyPostRequest
|
|
2566
|
-
*/
|
|
2567
|
-
'email'?: string;
|
|
2568
|
-
/**
|
|
2569
|
-
*
|
|
2570
|
-
* @type {{ [key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue; }}
|
|
2571
|
-
* @memberof ICompanyPostRequest
|
|
2572
|
-
*/
|
|
2573
|
-
'roles': {
|
|
2574
|
-
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
2575
|
-
};
|
|
2576
|
-
/**
|
|
2577
|
-
*
|
|
2578
|
-
* @type {LanguageEnum}
|
|
2579
|
-
* @memberof ICompanyPostRequest
|
|
2580
|
-
*/
|
|
2581
|
-
'language': LanguageEnum;
|
|
2582
|
-
/**
|
|
2583
|
-
*
|
|
2584
|
-
* @type {CompanyStatusEnum}
|
|
2585
|
-
* @memberof ICompanyPostRequest
|
|
2586
|
-
*/
|
|
2587
|
-
'status': CompanyStatusEnum;
|
|
2543
|
+
export interface ICompanyPatchRequestFirebaseAdminCredentials {
|
|
2588
2544
|
/**
|
|
2589
2545
|
*
|
|
2590
2546
|
* @type {string}
|
|
2591
|
-
* @memberof
|
|
2592
|
-
*/
|
|
2593
|
-
'main'?: string;
|
|
2594
|
-
/**
|
|
2595
|
-
*
|
|
2596
|
-
* @type {ICompanyPostRequestFirebaseAdminCredentials}
|
|
2597
|
-
* @memberof ICompanyPostRequest
|
|
2598
|
-
*/
|
|
2599
|
-
'firebase_admin_credentials'?: ICompanyPostRequestFirebaseAdminCredentials;
|
|
2600
|
-
/**
|
|
2601
|
-
*
|
|
2602
|
-
* @type {CompanyTypeEnum}
|
|
2603
|
-
* @memberof ICompanyPostRequest
|
|
2604
|
-
*/
|
|
2605
|
-
'type': CompanyTypeEnum;
|
|
2606
|
-
/**
|
|
2607
|
-
*
|
|
2608
|
-
* @type {ICompanyResponseAddress}
|
|
2609
|
-
* @memberof ICompanyPostRequest
|
|
2610
|
-
*/
|
|
2611
|
-
'address'?: ICompanyResponseAddress;
|
|
2612
|
-
/**
|
|
2613
|
-
*
|
|
2614
|
-
* @type {string}
|
|
2615
|
-
* @memberof ICompanyPostRequest
|
|
2616
|
-
*/
|
|
2617
|
-
'dns_zone_id'?: string;
|
|
2618
|
-
/**
|
|
2619
|
-
*
|
|
2620
|
-
* @type {{ [key: string]: string; }}
|
|
2621
|
-
* @memberof ICompanyPostRequest
|
|
2622
|
-
*/
|
|
2623
|
-
'socials'?: {
|
|
2624
|
-
[key: string]: string;
|
|
2625
|
-
};
|
|
2626
|
-
/**
|
|
2627
|
-
*
|
|
2628
|
-
* @type {string}
|
|
2629
|
-
* @memberof ICompanyPostRequest
|
|
2630
|
-
*/
|
|
2631
|
-
'description'?: string;
|
|
2632
|
-
/**
|
|
2633
|
-
*
|
|
2634
|
-
* @type {IImage}
|
|
2635
|
-
* @memberof ICompanyPostRequest
|
|
2636
|
-
*/
|
|
2637
|
-
'logo'?: IImage;
|
|
2638
|
-
/**
|
|
2639
|
-
*
|
|
2640
|
-
* @type {TimezoneEnum}
|
|
2641
|
-
* @memberof ICompanyPostRequest
|
|
2642
|
-
*/
|
|
2643
|
-
'timezone': TimezoneEnum;
|
|
2644
|
-
/**
|
|
2645
|
-
*
|
|
2646
|
-
* @type {Array<LanguageEnum>}
|
|
2647
|
-
* @memberof ICompanyPostRequest
|
|
2648
|
-
*/
|
|
2649
|
-
'languages': Array<LanguageEnum>;
|
|
2650
|
-
/**
|
|
2651
|
-
*
|
|
2652
|
-
* @type {CurrencyEnum}
|
|
2653
|
-
* @memberof ICompanyPostRequest
|
|
2654
|
-
*/
|
|
2655
|
-
'currency': CurrencyEnum;
|
|
2656
|
-
/**
|
|
2657
|
-
*
|
|
2658
|
-
* @type {RecordCurrencyEnumCurrency}
|
|
2659
|
-
* @memberof ICompanyPostRequest
|
|
2660
|
-
*/
|
|
2661
|
-
'currencies': RecordCurrencyEnumCurrency;
|
|
2662
|
-
/**
|
|
2663
|
-
*
|
|
2664
|
-
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
2665
|
-
* @memberof ICompanyPostRequest
|
|
2666
|
-
*/
|
|
2667
|
-
'sender_email_dns_records'?: Array<ICompanyResponseSenderEmailDnsRecordsInner>;
|
|
2668
|
-
/**
|
|
2669
|
-
*
|
|
2670
|
-
* @type {string}
|
|
2671
|
-
* @memberof ICompanyPostRequest
|
|
2672
|
-
*/
|
|
2673
|
-
'owner': string;
|
|
2674
|
-
/**
|
|
2675
|
-
*
|
|
2676
|
-
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
2677
|
-
* @memberof ICompanyPostRequest
|
|
2678
|
-
*/
|
|
2679
|
-
'users': Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>;
|
|
2680
|
-
/**
|
|
2681
|
-
*
|
|
2682
|
-
* @type {Array<ICompanyPostRequestWarehousesInner>}
|
|
2683
|
-
* @memberof ICompanyPostRequest
|
|
2684
|
-
*/
|
|
2685
|
-
'warehouses': Array<ICompanyPostRequestWarehousesInner>;
|
|
2686
|
-
/**
|
|
2687
|
-
*
|
|
2688
|
-
* @type {ICompanyResponseConfig}
|
|
2689
|
-
* @memberof ICompanyPostRequest
|
|
2690
|
-
*/
|
|
2691
|
-
'config': ICompanyResponseConfig;
|
|
2692
|
-
}
|
|
2693
|
-
/**
|
|
2694
|
-
*
|
|
2695
|
-
* @export
|
|
2696
|
-
* @interface ICompanyPostRequestFirebaseAdminCredentials
|
|
2697
|
-
*/
|
|
2698
|
-
export interface ICompanyPostRequestFirebaseAdminCredentials {
|
|
2699
|
-
/**
|
|
2700
|
-
*
|
|
2701
|
-
* @type {string}
|
|
2702
|
-
* @memberof ICompanyPostRequestFirebaseAdminCredentials
|
|
2547
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2703
2548
|
*/
|
|
2704
2549
|
'universe_domain': string;
|
|
2705
2550
|
/**
|
|
2706
2551
|
*
|
|
2707
2552
|
* @type {string}
|
|
2708
|
-
* @memberof
|
|
2553
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2709
2554
|
*/
|
|
2710
2555
|
'auth_provider_x509_cert_url': string;
|
|
2711
2556
|
/**
|
|
2712
2557
|
*
|
|
2713
2558
|
* @type {string}
|
|
2714
|
-
* @memberof
|
|
2559
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2715
2560
|
*/
|
|
2716
2561
|
'token_uri': string;
|
|
2717
2562
|
/**
|
|
2718
2563
|
*
|
|
2719
2564
|
* @type {string}
|
|
2720
|
-
* @memberof
|
|
2565
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2721
2566
|
*/
|
|
2722
2567
|
'auth_uri': string;
|
|
2723
2568
|
/**
|
|
2724
2569
|
*
|
|
2725
2570
|
* @type {string}
|
|
2726
|
-
* @memberof
|
|
2571
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2727
2572
|
*/
|
|
2728
2573
|
'client_id': string;
|
|
2729
2574
|
/**
|
|
2730
2575
|
*
|
|
2731
2576
|
* @type {string}
|
|
2732
|
-
* @memberof
|
|
2577
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2733
2578
|
*/
|
|
2734
2579
|
'client_email': string;
|
|
2735
2580
|
/**
|
|
2736
2581
|
*
|
|
2737
2582
|
* @type {string}
|
|
2738
|
-
* @memberof
|
|
2583
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2739
2584
|
*/
|
|
2740
2585
|
'private_key': string;
|
|
2741
2586
|
/**
|
|
2742
2587
|
*
|
|
2743
2588
|
* @type {string}
|
|
2744
|
-
* @memberof
|
|
2589
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2745
2590
|
*/
|
|
2746
2591
|
'private_key_id': string;
|
|
2747
2592
|
/**
|
|
2748
2593
|
*
|
|
2749
2594
|
* @type {string}
|
|
2750
|
-
* @memberof
|
|
2595
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2751
2596
|
*/
|
|
2752
2597
|
'project_id': string;
|
|
2753
2598
|
/**
|
|
2754
2599
|
*
|
|
2755
2600
|
* @type {string}
|
|
2756
|
-
* @memberof
|
|
2601
|
+
* @memberof ICompanyPatchRequestFirebaseAdminCredentials
|
|
2757
2602
|
*/
|
|
2758
2603
|
'credential_type': string;
|
|
2759
2604
|
}
|
|
2760
2605
|
/**
|
|
2761
2606
|
*
|
|
2762
2607
|
* @export
|
|
2763
|
-
* @interface
|
|
2608
|
+
* @interface ICompanyPostRequest
|
|
2764
2609
|
*/
|
|
2765
|
-
export interface
|
|
2610
|
+
export interface ICompanyPostRequest {
|
|
2766
2611
|
/**
|
|
2767
2612
|
*
|
|
2768
2613
|
* @type {string}
|
|
2769
|
-
* @memberof
|
|
2614
|
+
* @memberof ICompanyPostRequest
|
|
2770
2615
|
*/
|
|
2771
|
-
'
|
|
2616
|
+
'main_id': string;
|
|
2772
2617
|
/**
|
|
2773
2618
|
*
|
|
2774
2619
|
* @type {string}
|
|
2775
|
-
* @memberof
|
|
2620
|
+
* @memberof ICompanyPostRequest
|
|
2776
2621
|
*/
|
|
2777
|
-
'
|
|
2622
|
+
'name': string;
|
|
2778
2623
|
/**
|
|
2779
2624
|
*
|
|
2780
|
-
* @type {
|
|
2781
|
-
* @memberof
|
|
2625
|
+
* @type {PlanTypeEnum}
|
|
2626
|
+
* @memberof ICompanyPostRequest
|
|
2782
2627
|
*/
|
|
2783
|
-
'
|
|
2628
|
+
'plan': PlanTypeEnum;
|
|
2784
2629
|
/**
|
|
2785
2630
|
*
|
|
2786
|
-
* @type {
|
|
2787
|
-
* @memberof
|
|
2631
|
+
* @type {CompanyTypeEnum}
|
|
2632
|
+
* @memberof ICompanyPostRequest
|
|
2788
2633
|
*/
|
|
2789
|
-
'
|
|
2634
|
+
'type': CompanyTypeEnum;
|
|
2635
|
+
/**
|
|
2636
|
+
*
|
|
2637
|
+
* @type {ThemeTypeEnum}
|
|
2638
|
+
* @memberof ICompanyPostRequest
|
|
2639
|
+
*/
|
|
2640
|
+
'theme': ThemeTypeEnum;
|
|
2641
|
+
/**
|
|
2642
|
+
*
|
|
2643
|
+
* @type {LanguageEnum}
|
|
2644
|
+
* @memberof ICompanyPostRequest
|
|
2645
|
+
*/
|
|
2646
|
+
'language': LanguageEnum;
|
|
2647
|
+
/**
|
|
2648
|
+
*
|
|
2649
|
+
* @type {CurrencyEnum}
|
|
2650
|
+
* @memberof ICompanyPostRequest
|
|
2651
|
+
*/
|
|
2652
|
+
'currency': CurrencyEnum;
|
|
2790
2653
|
}
|
|
2791
2654
|
/**
|
|
2792
2655
|
*
|
|
@@ -2884,6 +2747,12 @@ export interface ICompanyResponse {
|
|
|
2884
2747
|
* @memberof ICompanyResponse
|
|
2885
2748
|
*/
|
|
2886
2749
|
'dns_zone_id'?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
*
|
|
2752
|
+
* @type {string}
|
|
2753
|
+
* @memberof ICompanyResponse
|
|
2754
|
+
*/
|
|
2755
|
+
'dns_zone_domain'?: string;
|
|
2887
2756
|
/**
|
|
2888
2757
|
*
|
|
2889
2758
|
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
@@ -3344,10 +3213,10 @@ export interface ICompanyUpdateDomainRequest {
|
|
|
3344
3213
|
export interface ICompanyUpdateFirebaseConfigRequest {
|
|
3345
3214
|
/**
|
|
3346
3215
|
*
|
|
3347
|
-
* @type {
|
|
3216
|
+
* @type {ICompanyPatchRequestFirebaseAdminCredentials}
|
|
3348
3217
|
* @memberof ICompanyUpdateFirebaseConfigRequest
|
|
3349
3218
|
*/
|
|
3350
|
-
'firebase_admin_credentials'?:
|
|
3219
|
+
'firebase_admin_credentials'?: ICompanyPatchRequestFirebaseAdminCredentials;
|
|
3351
3220
|
/**
|
|
3352
3221
|
*
|
|
3353
3222
|
* @type {ICompanyResponseFirebaseWebCredentials}
|
|
@@ -4605,6 +4474,31 @@ export interface IPageCollectionQueryParams {
|
|
|
4605
4474
|
*/
|
|
4606
4475
|
'status'?: ContentStatusEnum;
|
|
4607
4476
|
}
|
|
4477
|
+
/**
|
|
4478
|
+
*
|
|
4479
|
+
* @export
|
|
4480
|
+
* @interface IPageGetAllQueryParams
|
|
4481
|
+
*/
|
|
4482
|
+
export interface IPageGetAllQueryParams {
|
|
4483
|
+
/**
|
|
4484
|
+
*
|
|
4485
|
+
* @type {string}
|
|
4486
|
+
* @memberof IPageGetAllQueryParams
|
|
4487
|
+
*/
|
|
4488
|
+
'company'?: string;
|
|
4489
|
+
/**
|
|
4490
|
+
*
|
|
4491
|
+
* @type {string}
|
|
4492
|
+
* @memberof IPageGetAllQueryParams
|
|
4493
|
+
*/
|
|
4494
|
+
'domain'?: string;
|
|
4495
|
+
/**
|
|
4496
|
+
*
|
|
4497
|
+
* @type {Array<PageTypeEnum>}
|
|
4498
|
+
* @memberof IPageGetAllQueryParams
|
|
4499
|
+
*/
|
|
4500
|
+
'type'?: Array<PageTypeEnum>;
|
|
4501
|
+
}
|
|
4608
4502
|
/**
|
|
4609
4503
|
*
|
|
4610
4504
|
* @export
|
|
@@ -6178,6 +6072,12 @@ export interface IThemePatchRequest {
|
|
|
6178
6072
|
* @memberof IThemePatchRequest
|
|
6179
6073
|
*/
|
|
6180
6074
|
'companies'?: Array<string>;
|
|
6075
|
+
/**
|
|
6076
|
+
*
|
|
6077
|
+
* @type {string}
|
|
6078
|
+
* @memberof IThemePatchRequest
|
|
6079
|
+
*/
|
|
6080
|
+
'domain'?: string;
|
|
6181
6081
|
}
|
|
6182
6082
|
/**
|
|
6183
6083
|
*
|
|
@@ -6209,6 +6109,12 @@ export interface IThemePostRequest {
|
|
|
6209
6109
|
* @memberof IThemePostRequest
|
|
6210
6110
|
*/
|
|
6211
6111
|
'companies': Array<string>;
|
|
6112
|
+
/**
|
|
6113
|
+
*
|
|
6114
|
+
* @type {string}
|
|
6115
|
+
* @memberof IThemePostRequest
|
|
6116
|
+
*/
|
|
6117
|
+
'domain': string;
|
|
6212
6118
|
}
|
|
6213
6119
|
/**
|
|
6214
6120
|
*
|
|
@@ -6258,6 +6164,12 @@ export interface IThemeResponse {
|
|
|
6258
6164
|
* @memberof IThemeResponse
|
|
6259
6165
|
*/
|
|
6260
6166
|
'companies': Array<string>;
|
|
6167
|
+
/**
|
|
6168
|
+
*
|
|
6169
|
+
* @type {string}
|
|
6170
|
+
* @memberof IThemeResponse
|
|
6171
|
+
*/
|
|
6172
|
+
'domain': string;
|
|
6261
6173
|
/**
|
|
6262
6174
|
*
|
|
6263
6175
|
* @type {ThemeTypeEnum}
|
|
@@ -6565,12 +6477,6 @@ export interface NavigationUrl {
|
|
|
6565
6477
|
* @memberof NavigationUrl
|
|
6566
6478
|
*/
|
|
6567
6479
|
'_id': string;
|
|
6568
|
-
/**
|
|
6569
|
-
*
|
|
6570
|
-
* @type {string}
|
|
6571
|
-
* @memberof NavigationUrl
|
|
6572
|
-
*/
|
|
6573
|
-
'page'?: string;
|
|
6574
6480
|
/**
|
|
6575
6481
|
*
|
|
6576
6482
|
* @type {Array<NavigationUrl>}
|
|
@@ -11470,6 +11376,15 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
11470
11376
|
* @throws {RequiredError}
|
|
11471
11377
|
*/
|
|
11472
11378
|
deletePage: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11379
|
+
/**
|
|
11380
|
+
*
|
|
11381
|
+
* @param {string} [company]
|
|
11382
|
+
* @param {string} [domain]
|
|
11383
|
+
* @param {Array<PageTypeEnum>} [type]
|
|
11384
|
+
* @param {*} [options] Override http request option.
|
|
11385
|
+
* @throws {RequiredError}
|
|
11386
|
+
*/
|
|
11387
|
+
getAllPages: (company?: string, domain?: string, type?: Array<PageTypeEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11473
11388
|
/**
|
|
11474
11389
|
*
|
|
11475
11390
|
* @param {string} id
|
|
@@ -11548,6 +11463,15 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
11548
11463
|
* @throws {RequiredError}
|
|
11549
11464
|
*/
|
|
11550
11465
|
deletePage(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
11466
|
+
/**
|
|
11467
|
+
*
|
|
11468
|
+
* @param {string} [company]
|
|
11469
|
+
* @param {string} [domain]
|
|
11470
|
+
* @param {Array<PageTypeEnum>} [type]
|
|
11471
|
+
* @param {*} [options] Override http request option.
|
|
11472
|
+
* @throws {RequiredError}
|
|
11473
|
+
*/
|
|
11474
|
+
getAllPages(company?: string, domain?: string, type?: Array<PageTypeEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
|
|
11551
11475
|
/**
|
|
11552
11476
|
*
|
|
11553
11477
|
* @param {string} id
|
|
@@ -11626,6 +11550,13 @@ export declare const PageApiFactory: (configuration?: Configuration, basePath?:
|
|
|
11626
11550
|
* @throws {RequiredError}
|
|
11627
11551
|
*/
|
|
11628
11552
|
deletePage(requestParameters: PageApiDeletePageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
11553
|
+
/**
|
|
11554
|
+
*
|
|
11555
|
+
* @param {PageApiGetAllPagesRequest} requestParameters Request parameters.
|
|
11556
|
+
* @param {*} [options] Override http request option.
|
|
11557
|
+
* @throws {RequiredError}
|
|
11558
|
+
*/
|
|
11559
|
+
getAllPages(requestParameters?: PageApiGetAllPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<IPagesResponse>;
|
|
11629
11560
|
/**
|
|
11630
11561
|
*
|
|
11631
11562
|
* @param {PageApiGetPageByIdRequest} requestParameters Request parameters.
|
|
@@ -11695,6 +11626,31 @@ export interface PageApiDeletePageRequest {
|
|
|
11695
11626
|
*/
|
|
11696
11627
|
readonly id: string;
|
|
11697
11628
|
}
|
|
11629
|
+
/**
|
|
11630
|
+
* Request parameters for getAllPages operation in PageApi.
|
|
11631
|
+
* @export
|
|
11632
|
+
* @interface PageApiGetAllPagesRequest
|
|
11633
|
+
*/
|
|
11634
|
+
export interface PageApiGetAllPagesRequest {
|
|
11635
|
+
/**
|
|
11636
|
+
*
|
|
11637
|
+
* @type {string}
|
|
11638
|
+
* @memberof PageApiGetAllPages
|
|
11639
|
+
*/
|
|
11640
|
+
readonly company?: string;
|
|
11641
|
+
/**
|
|
11642
|
+
*
|
|
11643
|
+
* @type {string}
|
|
11644
|
+
* @memberof PageApiGetAllPages
|
|
11645
|
+
*/
|
|
11646
|
+
readonly domain?: string;
|
|
11647
|
+
/**
|
|
11648
|
+
*
|
|
11649
|
+
* @type {Array<PageTypeEnum>}
|
|
11650
|
+
* @memberof PageApiGetAllPages
|
|
11651
|
+
*/
|
|
11652
|
+
readonly type?: Array<PageTypeEnum>;
|
|
11653
|
+
}
|
|
11698
11654
|
/**
|
|
11699
11655
|
* Request parameters for getPageById operation in PageApi.
|
|
11700
11656
|
* @export
|
|
@@ -11892,6 +11848,14 @@ export declare class PageApi extends BaseAPI {
|
|
|
11892
11848
|
* @memberof PageApi
|
|
11893
11849
|
*/
|
|
11894
11850
|
deletePage(requestParameters: PageApiDeletePageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
11851
|
+
/**
|
|
11852
|
+
*
|
|
11853
|
+
* @param {PageApiGetAllPagesRequest} requestParameters Request parameters.
|
|
11854
|
+
* @param {*} [options] Override http request option.
|
|
11855
|
+
* @throws {RequiredError}
|
|
11856
|
+
* @memberof PageApi
|
|
11857
|
+
*/
|
|
11858
|
+
getAllPages(requestParameters?: PageApiGetAllPagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IPagesResponse, any>>;
|
|
11895
11859
|
/**
|
|
11896
11860
|
*
|
|
11897
11861
|
* @param {PageApiGetPageByIdRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -5938,6 +5938,42 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
5938
5938
|
options: localVarRequestOptions,
|
|
5939
5939
|
};
|
|
5940
5940
|
},
|
|
5941
|
+
/**
|
|
5942
|
+
*
|
|
5943
|
+
* @param {string} [company]
|
|
5944
|
+
* @param {string} [domain]
|
|
5945
|
+
* @param {Array<PageTypeEnum>} [type]
|
|
5946
|
+
* @param {*} [options] Override http request option.
|
|
5947
|
+
* @throws {RequiredError}
|
|
5948
|
+
*/
|
|
5949
|
+
getAllPages: async (company, domain, type, options = {}) => {
|
|
5950
|
+
const localVarPath = `/api/pages/get/all`;
|
|
5951
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5952
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5953
|
+
let baseOptions;
|
|
5954
|
+
if (configuration) {
|
|
5955
|
+
baseOptions = configuration.baseOptions;
|
|
5956
|
+
}
|
|
5957
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5958
|
+
const localVarHeaderParameter = {};
|
|
5959
|
+
const localVarQueryParameter = {};
|
|
5960
|
+
if (company !== undefined) {
|
|
5961
|
+
localVarQueryParameter['company'] = company;
|
|
5962
|
+
}
|
|
5963
|
+
if (domain !== undefined) {
|
|
5964
|
+
localVarQueryParameter['domain'] = domain;
|
|
5965
|
+
}
|
|
5966
|
+
if (type) {
|
|
5967
|
+
localVarQueryParameter['type'] = type;
|
|
5968
|
+
}
|
|
5969
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5970
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5971
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5972
|
+
return {
|
|
5973
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5974
|
+
options: localVarRequestOptions,
|
|
5975
|
+
};
|
|
5976
|
+
},
|
|
5941
5977
|
/**
|
|
5942
5978
|
*
|
|
5943
5979
|
* @param {string} id
|
|
@@ -6213,6 +6249,20 @@ const PageApiFp = function (configuration) {
|
|
|
6213
6249
|
const localVarOperationServerBasePath = base_1.operationServerMap['PageApi.deletePage']?.[localVarOperationServerIndex]?.url;
|
|
6214
6250
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6215
6251
|
},
|
|
6252
|
+
/**
|
|
6253
|
+
*
|
|
6254
|
+
* @param {string} [company]
|
|
6255
|
+
* @param {string} [domain]
|
|
6256
|
+
* @param {Array<PageTypeEnum>} [type]
|
|
6257
|
+
* @param {*} [options] Override http request option.
|
|
6258
|
+
* @throws {RequiredError}
|
|
6259
|
+
*/
|
|
6260
|
+
async getAllPages(company, domain, type, options) {
|
|
6261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPages(company, domain, type, options);
|
|
6262
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6263
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['PageApi.getAllPages']?.[localVarOperationServerIndex]?.url;
|
|
6264
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6265
|
+
},
|
|
6216
6266
|
/**
|
|
6217
6267
|
*
|
|
6218
6268
|
* @param {string} id
|
|
@@ -6329,6 +6379,15 @@ const PageApiFactory = function (configuration, basePath, axios) {
|
|
|
6329
6379
|
deletePage(requestParameters, options) {
|
|
6330
6380
|
return localVarFp.deletePage(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6331
6381
|
},
|
|
6382
|
+
/**
|
|
6383
|
+
*
|
|
6384
|
+
* @param {PageApiGetAllPagesRequest} requestParameters Request parameters.
|
|
6385
|
+
* @param {*} [options] Override http request option.
|
|
6386
|
+
* @throws {RequiredError}
|
|
6387
|
+
*/
|
|
6388
|
+
getAllPages(requestParameters = {}, options) {
|
|
6389
|
+
return localVarFp.getAllPages(requestParameters.company, requestParameters.domain, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
6390
|
+
},
|
|
6332
6391
|
/**
|
|
6333
6392
|
*
|
|
6334
6393
|
* @param {PageApiGetPageByIdRequest} requestParameters Request parameters.
|
|
@@ -6413,6 +6472,16 @@ class PageApi extends base_1.BaseAPI {
|
|
|
6413
6472
|
deletePage(requestParameters, options) {
|
|
6414
6473
|
return (0, exports.PageApiFp)(this.configuration).deletePage(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6415
6474
|
}
|
|
6475
|
+
/**
|
|
6476
|
+
*
|
|
6477
|
+
* @param {PageApiGetAllPagesRequest} requestParameters Request parameters.
|
|
6478
|
+
* @param {*} [options] Override http request option.
|
|
6479
|
+
* @throws {RequiredError}
|
|
6480
|
+
* @memberof PageApi
|
|
6481
|
+
*/
|
|
6482
|
+
getAllPages(requestParameters = {}, options) {
|
|
6483
|
+
return (0, exports.PageApiFp)(this.configuration).getAllPages(requestParameters.company, requestParameters.domain, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
6484
|
+
}
|
|
6416
6485
|
/**
|
|
6417
6486
|
*
|
|
6418
6487
|
* @param {PageApiGetPageByIdRequest} requestParameters Request parameters.
|
package/dist/api/api.mjs
CHANGED
|
@@ -5888,6 +5888,42 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
5888
5888
|
options: localVarRequestOptions,
|
|
5889
5889
|
};
|
|
5890
5890
|
},
|
|
5891
|
+
/**
|
|
5892
|
+
*
|
|
5893
|
+
* @param {string} [company]
|
|
5894
|
+
* @param {string} [domain]
|
|
5895
|
+
* @param {Array<PageTypeEnum>} [type]
|
|
5896
|
+
* @param {*} [options] Override http request option.
|
|
5897
|
+
* @throws {RequiredError}
|
|
5898
|
+
*/
|
|
5899
|
+
getAllPages: async (company, domain, type, options = {}) => {
|
|
5900
|
+
const localVarPath = `/api/pages/get/all`;
|
|
5901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5903
|
+
let baseOptions;
|
|
5904
|
+
if (configuration) {
|
|
5905
|
+
baseOptions = configuration.baseOptions;
|
|
5906
|
+
}
|
|
5907
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
5908
|
+
const localVarHeaderParameter = {};
|
|
5909
|
+
const localVarQueryParameter = {};
|
|
5910
|
+
if (company !== undefined) {
|
|
5911
|
+
localVarQueryParameter['company'] = company;
|
|
5912
|
+
}
|
|
5913
|
+
if (domain !== undefined) {
|
|
5914
|
+
localVarQueryParameter['domain'] = domain;
|
|
5915
|
+
}
|
|
5916
|
+
if (type) {
|
|
5917
|
+
localVarQueryParameter['type'] = type;
|
|
5918
|
+
}
|
|
5919
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5920
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5921
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5922
|
+
return {
|
|
5923
|
+
url: toPathString(localVarUrlObj),
|
|
5924
|
+
options: localVarRequestOptions,
|
|
5925
|
+
};
|
|
5926
|
+
},
|
|
5891
5927
|
/**
|
|
5892
5928
|
*
|
|
5893
5929
|
* @param {string} id
|
|
@@ -6162,6 +6198,20 @@ export const PageApiFp = function (configuration) {
|
|
|
6162
6198
|
const localVarOperationServerBasePath = operationServerMap['PageApi.deletePage']?.[localVarOperationServerIndex]?.url;
|
|
6163
6199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6164
6200
|
},
|
|
6201
|
+
/**
|
|
6202
|
+
*
|
|
6203
|
+
* @param {string} [company]
|
|
6204
|
+
* @param {string} [domain]
|
|
6205
|
+
* @param {Array<PageTypeEnum>} [type]
|
|
6206
|
+
* @param {*} [options] Override http request option.
|
|
6207
|
+
* @throws {RequiredError}
|
|
6208
|
+
*/
|
|
6209
|
+
async getAllPages(company, domain, type, options) {
|
|
6210
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPages(company, domain, type, options);
|
|
6211
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6212
|
+
const localVarOperationServerBasePath = operationServerMap['PageApi.getAllPages']?.[localVarOperationServerIndex]?.url;
|
|
6213
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6214
|
+
},
|
|
6165
6215
|
/**
|
|
6166
6216
|
*
|
|
6167
6217
|
* @param {string} id
|
|
@@ -6277,6 +6327,15 @@ export const PageApiFactory = function (configuration, basePath, axios) {
|
|
|
6277
6327
|
deletePage(requestParameters, options) {
|
|
6278
6328
|
return localVarFp.deletePage(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6279
6329
|
},
|
|
6330
|
+
/**
|
|
6331
|
+
*
|
|
6332
|
+
* @param {PageApiGetAllPagesRequest} requestParameters Request parameters.
|
|
6333
|
+
* @param {*} [options] Override http request option.
|
|
6334
|
+
* @throws {RequiredError}
|
|
6335
|
+
*/
|
|
6336
|
+
getAllPages(requestParameters = {}, options) {
|
|
6337
|
+
return localVarFp.getAllPages(requestParameters.company, requestParameters.domain, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
6338
|
+
},
|
|
6280
6339
|
/**
|
|
6281
6340
|
*
|
|
6282
6341
|
* @param {PageApiGetPageByIdRequest} requestParameters Request parameters.
|
|
@@ -6360,6 +6419,16 @@ export class PageApi extends BaseAPI {
|
|
|
6360
6419
|
deletePage(requestParameters, options) {
|
|
6361
6420
|
return PageApiFp(this.configuration).deletePage(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6362
6421
|
}
|
|
6422
|
+
/**
|
|
6423
|
+
*
|
|
6424
|
+
* @param {PageApiGetAllPagesRequest} requestParameters Request parameters.
|
|
6425
|
+
* @param {*} [options] Override http request option.
|
|
6426
|
+
* @throws {RequiredError}
|
|
6427
|
+
* @memberof PageApi
|
|
6428
|
+
*/
|
|
6429
|
+
getAllPages(requestParameters = {}, options) {
|
|
6430
|
+
return PageApiFp(this.configuration).getAllPages(requestParameters.company, requestParameters.domain, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
6431
|
+
}
|
|
6363
6432
|
/**
|
|
6364
6433
|
*
|
|
6365
6434
|
* @param {PageApiGetPageByIdRequest} requestParameters Request parameters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
4
4
|
"description": "api-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"bugs": {
|
|
37
37
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "3bece57b6764b113ec9e88dbcc5375b98d9437fc"
|
|
40
40
|
}
|