@infisale-client/api-client 1.1.10 → 1.1.17
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 +444 -205
- package/dist/api/api.js +8 -23
- package/dist/api/api.mjs +6 -21
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -734,10 +734,10 @@ export interface IBrandCollectionQueryParams {
|
|
|
734
734
|
'page'?: number;
|
|
735
735
|
/**
|
|
736
736
|
*
|
|
737
|
-
* @type {
|
|
737
|
+
* @type {number}
|
|
738
738
|
* @memberof IBrandCollectionQueryParams
|
|
739
739
|
*/
|
|
740
|
-
'itemsPerPage'?:
|
|
740
|
+
'itemsPerPage'?: number;
|
|
741
741
|
/**
|
|
742
742
|
*
|
|
743
743
|
* @type {string}
|
|
@@ -1020,10 +1020,10 @@ export interface ICategoryCollectionQueryParams {
|
|
|
1020
1020
|
'page'?: number;
|
|
1021
1021
|
/**
|
|
1022
1022
|
*
|
|
1023
|
-
* @type {
|
|
1023
|
+
* @type {number}
|
|
1024
1024
|
* @memberof ICategoryCollectionQueryParams
|
|
1025
1025
|
*/
|
|
1026
|
-
'itemsPerPage'?:
|
|
1026
|
+
'itemsPerPage'?: number;
|
|
1027
1027
|
/**
|
|
1028
1028
|
*
|
|
1029
1029
|
* @type {string}
|
|
@@ -1381,10 +1381,10 @@ export interface ICollectionCollectionsQueryParams {
|
|
|
1381
1381
|
'page'?: number;
|
|
1382
1382
|
/**
|
|
1383
1383
|
*
|
|
1384
|
-
* @type {
|
|
1384
|
+
* @type {number}
|
|
1385
1385
|
* @memberof ICollectionCollectionsQueryParams
|
|
1386
1386
|
*/
|
|
1387
|
-
'itemsPerPage'?:
|
|
1387
|
+
'itemsPerPage'?: number;
|
|
1388
1388
|
/**
|
|
1389
1389
|
*
|
|
1390
1390
|
* @type {string}
|
|
@@ -1717,17 +1717,17 @@ export interface ICompany {
|
|
|
1717
1717
|
'custom_hostnames': Array<ICompanyResponseCustomHostnamesInner>;
|
|
1718
1718
|
/**
|
|
1719
1719
|
*
|
|
1720
|
-
* @type {Array<
|
|
1720
|
+
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
1721
1721
|
* @memberof ICompany
|
|
1722
1722
|
*/
|
|
1723
|
-
'users': Array<
|
|
1723
|
+
'users': Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>;
|
|
1724
1724
|
/**
|
|
1725
1725
|
*
|
|
1726
|
-
* @type {{ [key: string]:
|
|
1726
|
+
* @type {{ [key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue; }}
|
|
1727
1727
|
* @memberof ICompany
|
|
1728
1728
|
*/
|
|
1729
1729
|
'roles': {
|
|
1730
|
-
[key: string]:
|
|
1730
|
+
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
1731
1731
|
};
|
|
1732
1732
|
/**
|
|
1733
1733
|
*
|
|
@@ -1848,6 +1848,254 @@ export interface ICompany {
|
|
|
1848
1848
|
*/
|
|
1849
1849
|
'versions': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>;
|
|
1850
1850
|
}
|
|
1851
|
+
/**
|
|
1852
|
+
*
|
|
1853
|
+
* @export
|
|
1854
|
+
* @interface ICompanyAdminResponse
|
|
1855
|
+
*/
|
|
1856
|
+
export interface ICompanyAdminResponse {
|
|
1857
|
+
/**
|
|
1858
|
+
*
|
|
1859
|
+
* @type {string}
|
|
1860
|
+
* @memberof ICompanyAdminResponse
|
|
1861
|
+
*/
|
|
1862
|
+
'name': string;
|
|
1863
|
+
/**
|
|
1864
|
+
*
|
|
1865
|
+
* @type {string}
|
|
1866
|
+
* @memberof ICompanyAdminResponse
|
|
1867
|
+
*/
|
|
1868
|
+
'phone'?: string;
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* @type {string}
|
|
1872
|
+
* @memberof ICompanyAdminResponse
|
|
1873
|
+
*/
|
|
1874
|
+
'email'?: string;
|
|
1875
|
+
/**
|
|
1876
|
+
*
|
|
1877
|
+
* @type {LanguageEnum}
|
|
1878
|
+
* @memberof ICompanyAdminResponse
|
|
1879
|
+
*/
|
|
1880
|
+
'language': LanguageEnum;
|
|
1881
|
+
/**
|
|
1882
|
+
*
|
|
1883
|
+
* @type {CompanyStatusEnum}
|
|
1884
|
+
* @memberof ICompanyAdminResponse
|
|
1885
|
+
*/
|
|
1886
|
+
'status': CompanyStatusEnum;
|
|
1887
|
+
/**
|
|
1888
|
+
*
|
|
1889
|
+
* @type {string}
|
|
1890
|
+
* @memberof ICompanyAdminResponse
|
|
1891
|
+
*/
|
|
1892
|
+
'_id': string;
|
|
1893
|
+
/**
|
|
1894
|
+
*
|
|
1895
|
+
* @type {number}
|
|
1896
|
+
* @memberof ICompanyAdminResponse
|
|
1897
|
+
*/
|
|
1898
|
+
'__v': number;
|
|
1899
|
+
/**
|
|
1900
|
+
*
|
|
1901
|
+
* @type {string}
|
|
1902
|
+
* @memberof ICompanyAdminResponse
|
|
1903
|
+
*/
|
|
1904
|
+
'createdAt': string;
|
|
1905
|
+
/**
|
|
1906
|
+
*
|
|
1907
|
+
* @type {string}
|
|
1908
|
+
* @memberof ICompanyAdminResponse
|
|
1909
|
+
*/
|
|
1910
|
+
'updatedAt': string;
|
|
1911
|
+
/**
|
|
1912
|
+
*
|
|
1913
|
+
* @type {PlanTypeEnum}
|
|
1914
|
+
* @memberof ICompanyAdminResponse
|
|
1915
|
+
*/
|
|
1916
|
+
'plan': PlanTypeEnum;
|
|
1917
|
+
/**
|
|
1918
|
+
*
|
|
1919
|
+
* @type {CompanyTypeEnum}
|
|
1920
|
+
* @memberof ICompanyAdminResponse
|
|
1921
|
+
*/
|
|
1922
|
+
'type': CompanyTypeEnum;
|
|
1923
|
+
/**
|
|
1924
|
+
*
|
|
1925
|
+
* @type {string}
|
|
1926
|
+
* @memberof ICompanyAdminResponse
|
|
1927
|
+
*/
|
|
1928
|
+
'owner': string;
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @type {ICompanyResponseAddress}
|
|
1932
|
+
* @memberof ICompanyAdminResponse
|
|
1933
|
+
*/
|
|
1934
|
+
'address'?: ICompanyResponseAddress;
|
|
1935
|
+
/**
|
|
1936
|
+
*
|
|
1937
|
+
* @type {Array<string>}
|
|
1938
|
+
* @memberof ICompanyAdminResponse
|
|
1939
|
+
*/
|
|
1940
|
+
'domains': Array<string>;
|
|
1941
|
+
/**
|
|
1942
|
+
*
|
|
1943
|
+
* @type {string}
|
|
1944
|
+
* @memberof ICompanyAdminResponse
|
|
1945
|
+
*/
|
|
1946
|
+
'dns_zone_id'?: string;
|
|
1947
|
+
/**
|
|
1948
|
+
*
|
|
1949
|
+
* @type {Array<ICompanyResponseCustomHostnamesInner>}
|
|
1950
|
+
* @memberof ICompanyAdminResponse
|
|
1951
|
+
*/
|
|
1952
|
+
'custom_hostnames': Array<ICompanyResponseCustomHostnamesInner>;
|
|
1953
|
+
/**
|
|
1954
|
+
*
|
|
1955
|
+
* @type {{ [key: string]: string; }}
|
|
1956
|
+
* @memberof ICompanyAdminResponse
|
|
1957
|
+
*/
|
|
1958
|
+
'socials'?: {
|
|
1959
|
+
[key: string]: string;
|
|
1960
|
+
};
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @type {string}
|
|
1964
|
+
* @memberof ICompanyAdminResponse
|
|
1965
|
+
*/
|
|
1966
|
+
'description'?: string;
|
|
1967
|
+
/**
|
|
1968
|
+
*
|
|
1969
|
+
* @type {IImage}
|
|
1970
|
+
* @memberof ICompanyAdminResponse
|
|
1971
|
+
*/
|
|
1972
|
+
'logo'?: IImage;
|
|
1973
|
+
/**
|
|
1974
|
+
*
|
|
1975
|
+
* @type {TimezoneEnum}
|
|
1976
|
+
* @memberof ICompanyAdminResponse
|
|
1977
|
+
*/
|
|
1978
|
+
'timezone': TimezoneEnum;
|
|
1979
|
+
/**
|
|
1980
|
+
*
|
|
1981
|
+
* @type {Array<LanguageEnum>}
|
|
1982
|
+
* @memberof ICompanyAdminResponse
|
|
1983
|
+
*/
|
|
1984
|
+
'languages': Array<LanguageEnum>;
|
|
1985
|
+
/**
|
|
1986
|
+
*
|
|
1987
|
+
* @type {CurrencyEnum}
|
|
1988
|
+
* @memberof ICompanyAdminResponse
|
|
1989
|
+
*/
|
|
1990
|
+
'currency': CurrencyEnum;
|
|
1991
|
+
/**
|
|
1992
|
+
*
|
|
1993
|
+
* @type {RecordCurrencyEnumCurrency}
|
|
1994
|
+
* @memberof ICompanyAdminResponse
|
|
1995
|
+
*/
|
|
1996
|
+
'currencies': RecordCurrencyEnumCurrency;
|
|
1997
|
+
/**
|
|
1998
|
+
*
|
|
1999
|
+
* @type {Array<ICompanyResponseWarehousesInner>}
|
|
2000
|
+
* @memberof ICompanyAdminResponse
|
|
2001
|
+
*/
|
|
2002
|
+
'warehouses': Array<ICompanyResponseWarehousesInner>;
|
|
2003
|
+
/**
|
|
2004
|
+
*
|
|
2005
|
+
* @type {{ [key: string]: ICompanyResponseNavigationsValue; }}
|
|
2006
|
+
* @memberof ICompanyAdminResponse
|
|
2007
|
+
*/
|
|
2008
|
+
'navigations': {
|
|
2009
|
+
[key: string]: ICompanyResponseNavigationsValue;
|
|
2010
|
+
};
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @type {ICompanyResponseFirebaseWebCredentials}
|
|
2014
|
+
* @memberof ICompanyAdminResponse
|
|
2015
|
+
*/
|
|
2016
|
+
'firebase_web_credentials'?: ICompanyResponseFirebaseWebCredentials;
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @type {ICompanyResponseFirebaseLogin}
|
|
2020
|
+
* @memberof ICompanyAdminResponse
|
|
2021
|
+
*/
|
|
2022
|
+
'firebase_login': ICompanyResponseFirebaseLogin;
|
|
2023
|
+
/**
|
|
2024
|
+
*
|
|
2025
|
+
* @type {string}
|
|
2026
|
+
* @memberof ICompanyAdminResponse
|
|
2027
|
+
*/
|
|
2028
|
+
'sender_email'?: string;
|
|
2029
|
+
/**
|
|
2030
|
+
*
|
|
2031
|
+
* @type {string}
|
|
2032
|
+
* @memberof ICompanyAdminResponse
|
|
2033
|
+
*/
|
|
2034
|
+
'sender_name'?: string;
|
|
2035
|
+
/**
|
|
2036
|
+
*
|
|
2037
|
+
* @type {Array<ICompanyResponseSenderEmailDnsRecordsInner>}
|
|
2038
|
+
* @memberof ICompanyAdminResponse
|
|
2039
|
+
*/
|
|
2040
|
+
'sender_email_dns_records'?: Array<ICompanyResponseSenderEmailDnsRecordsInner>;
|
|
2041
|
+
/**
|
|
2042
|
+
*
|
|
2043
|
+
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
|
|
2044
|
+
* @memberof ICompanyAdminResponse
|
|
2045
|
+
*/
|
|
2046
|
+
'main'?: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles;
|
|
2047
|
+
/**
|
|
2048
|
+
*
|
|
2049
|
+
* @type {ICompanyResponseConfig}
|
|
2050
|
+
* @memberof ICompanyAdminResponse
|
|
2051
|
+
*/
|
|
2052
|
+
'config': ICompanyResponseConfig;
|
|
2053
|
+
/**
|
|
2054
|
+
*
|
|
2055
|
+
* @type {RecordCurrencyEnumNumber}
|
|
2056
|
+
* @memberof ICompanyAdminResponse
|
|
2057
|
+
*/
|
|
2058
|
+
'currency_rates': RecordCurrencyEnumNumber;
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @type {Array<ICompanyAdminResponseUsersInner>}
|
|
2062
|
+
* @memberof ICompanyAdminResponse
|
|
2063
|
+
*/
|
|
2064
|
+
'users': Array<ICompanyAdminResponseUsersInner>;
|
|
2065
|
+
/**
|
|
2066
|
+
*
|
|
2067
|
+
* @type {{ [key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue; }}
|
|
2068
|
+
* @memberof ICompanyAdminResponse
|
|
2069
|
+
*/
|
|
2070
|
+
'roles': {
|
|
2071
|
+
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
2072
|
+
};
|
|
2073
|
+
}
|
|
2074
|
+
/**
|
|
2075
|
+
*
|
|
2076
|
+
* @export
|
|
2077
|
+
* @interface ICompanyAdminResponseUsersInner
|
|
2078
|
+
*/
|
|
2079
|
+
export interface ICompanyAdminResponseUsersInner {
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
* @type {CompanyUserStatusEnum}
|
|
2083
|
+
* @memberof ICompanyAdminResponseUsersInner
|
|
2084
|
+
*/
|
|
2085
|
+
'status': CompanyUserStatusEnum;
|
|
2086
|
+
/**
|
|
2087
|
+
*
|
|
2088
|
+
* @type {string}
|
|
2089
|
+
* @memberof ICompanyAdminResponseUsersInner
|
|
2090
|
+
*/
|
|
2091
|
+
'role': string;
|
|
2092
|
+
/**
|
|
2093
|
+
*
|
|
2094
|
+
* @type {PickIUserIdOrNameOrEmail}
|
|
2095
|
+
* @memberof ICompanyAdminResponseUsersInner
|
|
2096
|
+
*/
|
|
2097
|
+
'user': PickIUserIdOrNameOrEmail;
|
|
2098
|
+
}
|
|
1851
2099
|
/**
|
|
1852
2100
|
*
|
|
1853
2101
|
* @export
|
|
@@ -1862,10 +2110,10 @@ export interface ICompanyCollectionQueryParams {
|
|
|
1862
2110
|
'page'?: number;
|
|
1863
2111
|
/**
|
|
1864
2112
|
*
|
|
1865
|
-
* @type {
|
|
2113
|
+
* @type {number}
|
|
1866
2114
|
* @memberof ICompanyCollectionQueryParams
|
|
1867
2115
|
*/
|
|
1868
|
-
'itemsPerPage'?:
|
|
2116
|
+
'itemsPerPage'?: number;
|
|
1869
2117
|
/**
|
|
1870
2118
|
*
|
|
1871
2119
|
* @type {string}
|
|
@@ -2176,11 +2424,11 @@ export interface ICompanyPatchRequest {
|
|
|
2176
2424
|
'email'?: string;
|
|
2177
2425
|
/**
|
|
2178
2426
|
*
|
|
2179
|
-
* @type {{ [key: string]:
|
|
2427
|
+
* @type {{ [key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue; }}
|
|
2180
2428
|
* @memberof ICompanyPatchRequest
|
|
2181
2429
|
*/
|
|
2182
2430
|
'roles'?: {
|
|
2183
|
-
[key: string]:
|
|
2431
|
+
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
2184
2432
|
};
|
|
2185
2433
|
/**
|
|
2186
2434
|
*
|
|
@@ -2196,16 +2444,10 @@ export interface ICompanyPatchRequest {
|
|
|
2196
2444
|
'status'?: CompanyStatusEnum;
|
|
2197
2445
|
/**
|
|
2198
2446
|
*
|
|
2199
|
-
* @type {
|
|
2447
|
+
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
2200
2448
|
* @memberof ICompanyPatchRequest
|
|
2201
2449
|
*/
|
|
2202
|
-
'
|
|
2203
|
-
/**
|
|
2204
|
-
*
|
|
2205
|
-
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageUsersInner>}
|
|
2206
|
-
* @memberof ICompanyPatchRequest
|
|
2207
|
-
*/
|
|
2208
|
-
'users'?: Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageUsersInner>;
|
|
2450
|
+
'users'?: Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>;
|
|
2209
2451
|
/**
|
|
2210
2452
|
*
|
|
2211
2453
|
* @type {ICompanyPostRequestFirebaseAdminCredentials}
|
|
@@ -2224,6 +2466,12 @@ export interface ICompanyPatchRequest {
|
|
|
2224
2466
|
* @memberof ICompanyPatchRequest
|
|
2225
2467
|
*/
|
|
2226
2468
|
'type'?: CompanyTypeEnum;
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
* @type {string}
|
|
2472
|
+
* @memberof ICompanyPatchRequest
|
|
2473
|
+
*/
|
|
2474
|
+
'owner'?: string;
|
|
2227
2475
|
/**
|
|
2228
2476
|
*
|
|
2229
2477
|
* @type {ICompanyResponseAddress}
|
|
@@ -2319,11 +2567,11 @@ export interface ICompanyPostRequest {
|
|
|
2319
2567
|
'email'?: string;
|
|
2320
2568
|
/**
|
|
2321
2569
|
*
|
|
2322
|
-
* @type {{ [key: string]:
|
|
2570
|
+
* @type {{ [key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue; }}
|
|
2323
2571
|
* @memberof ICompanyPostRequest
|
|
2324
2572
|
*/
|
|
2325
2573
|
'roles': {
|
|
2326
|
-
[key: string]:
|
|
2574
|
+
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
2327
2575
|
};
|
|
2328
2576
|
/**
|
|
2329
2577
|
*
|
|
@@ -2425,10 +2673,10 @@ export interface ICompanyPostRequest {
|
|
|
2425
2673
|
'owner': string;
|
|
2426
2674
|
/**
|
|
2427
2675
|
*
|
|
2428
|
-
* @type {Array<
|
|
2676
|
+
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
2429
2677
|
* @memberof ICompanyPostRequest
|
|
2430
2678
|
*/
|
|
2431
|
-
'users': Array<
|
|
2679
|
+
'users': Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>;
|
|
2432
2680
|
/**
|
|
2433
2681
|
*
|
|
2434
2682
|
* @type {Array<ICompanyPostRequestWarehousesInner>}
|
|
@@ -2564,20 +2812,6 @@ export interface ICompanyResponse {
|
|
|
2564
2812
|
* @memberof ICompanyResponse
|
|
2565
2813
|
*/
|
|
2566
2814
|
'email'?: string;
|
|
2567
|
-
/**
|
|
2568
|
-
*
|
|
2569
|
-
* @type {{ [key: string]: ICompanyResponseRolesValue; }}
|
|
2570
|
-
* @memberof ICompanyResponse
|
|
2571
|
-
*/
|
|
2572
|
-
'roles': {
|
|
2573
|
-
[key: string]: ICompanyResponseRolesValue;
|
|
2574
|
-
};
|
|
2575
|
-
/**
|
|
2576
|
-
*
|
|
2577
|
-
* @type {Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>}
|
|
2578
|
-
* @memberof ICompanyResponse
|
|
2579
|
-
*/
|
|
2580
|
-
'versions': Array<PickIUserExcludeKeyofIUserPasswordOrSaltOrIsAdminOrIsSuperAdminOrCodeOrTVersionsInner>;
|
|
2581
2815
|
/**
|
|
2582
2816
|
*
|
|
2583
2817
|
* @type {LanguageEnum}
|
|
@@ -2626,6 +2860,12 @@ export interface ICompanyResponse {
|
|
|
2626
2860
|
* @memberof ICompanyResponse
|
|
2627
2861
|
*/
|
|
2628
2862
|
'type': CompanyTypeEnum;
|
|
2863
|
+
/**
|
|
2864
|
+
*
|
|
2865
|
+
* @type {string}
|
|
2866
|
+
* @memberof ICompanyResponse
|
|
2867
|
+
*/
|
|
2868
|
+
'owner': string;
|
|
2629
2869
|
/**
|
|
2630
2870
|
*
|
|
2631
2871
|
* @type {ICompanyResponseAddress}
|
|
@@ -2740,28 +2980,10 @@ export interface ICompanyResponse {
|
|
|
2740
2980
|
'sender_email_dns_records'?: Array<ICompanyResponseSenderEmailDnsRecordsInner>;
|
|
2741
2981
|
/**
|
|
2742
2982
|
*
|
|
2743
|
-
* @type {
|
|
2983
|
+
* @type {PickICompanyNameOrDomainsOrIdOrLanguage}
|
|
2744
2984
|
* @memberof ICompanyResponse
|
|
2745
2985
|
*/
|
|
2746
|
-
'main'?:
|
|
2747
|
-
/**
|
|
2748
|
-
*
|
|
2749
|
-
* @type {IUserResponse}
|
|
2750
|
-
* @memberof ICompanyResponse
|
|
2751
|
-
*/
|
|
2752
|
-
'owner': IUserResponse;
|
|
2753
|
-
/**
|
|
2754
|
-
*
|
|
2755
|
-
* @type {Array<ICompanyResponseUsersInner>}
|
|
2756
|
-
* @memberof ICompanyResponse
|
|
2757
|
-
*/
|
|
2758
|
-
'users': Array<ICompanyResponseUsersInner>;
|
|
2759
|
-
/**
|
|
2760
|
-
*
|
|
2761
|
-
* @type {IPlanResponse}
|
|
2762
|
-
* @memberof ICompanyResponse
|
|
2763
|
-
*/
|
|
2764
|
-
'_plan': IPlanResponse;
|
|
2986
|
+
'main'?: PickICompanyNameOrDomainsOrIdOrLanguage;
|
|
2765
2987
|
/**
|
|
2766
2988
|
*
|
|
2767
2989
|
* @type {ICompanyResponseConfig}
|
|
@@ -3014,62 +3236,6 @@ export interface ICompanyResponseNavigationsValue {
|
|
|
3014
3236
|
*/
|
|
3015
3237
|
'header': Array<NavigationUrl>;
|
|
3016
3238
|
}
|
|
3017
|
-
/**
|
|
3018
|
-
*
|
|
3019
|
-
* @export
|
|
3020
|
-
* @interface ICompanyResponseRolesValue
|
|
3021
|
-
*/
|
|
3022
|
-
export interface ICompanyResponseRolesValue {
|
|
3023
|
-
/**
|
|
3024
|
-
*
|
|
3025
|
-
* @type {ICompanyResponseRolesValueConfig}
|
|
3026
|
-
* @memberof ICompanyResponseRolesValue
|
|
3027
|
-
*/
|
|
3028
|
-
'config': ICompanyResponseRolesValueConfig;
|
|
3029
|
-
/**
|
|
3030
|
-
*
|
|
3031
|
-
* @type {ICompanyResponseRolesValueConfig}
|
|
3032
|
-
* @memberof ICompanyResponseRolesValue
|
|
3033
|
-
*/
|
|
3034
|
-
'navigation': ICompanyResponseRolesValueConfig;
|
|
3035
|
-
/**
|
|
3036
|
-
*
|
|
3037
|
-
* @type {ICompanyResponseRolesValueConfig}
|
|
3038
|
-
* @memberof ICompanyResponseRolesValue
|
|
3039
|
-
*/
|
|
3040
|
-
'company': ICompanyResponseRolesValueConfig;
|
|
3041
|
-
/**
|
|
3042
|
-
*
|
|
3043
|
-
* @type {ICompanyResponseRolesValueConfig}
|
|
3044
|
-
* @memberof ICompanyResponseRolesValue
|
|
3045
|
-
*/
|
|
3046
|
-
'page': ICompanyResponseRolesValueConfig;
|
|
3047
|
-
/**
|
|
3048
|
-
*
|
|
3049
|
-
* @type {ICompanyResponseRolesValueConfig}
|
|
3050
|
-
* @memberof ICompanyResponseRolesValue
|
|
3051
|
-
*/
|
|
3052
|
-
'product': ICompanyResponseRolesValueConfig;
|
|
3053
|
-
}
|
|
3054
|
-
/**
|
|
3055
|
-
*
|
|
3056
|
-
* @export
|
|
3057
|
-
* @interface ICompanyResponseRolesValueConfig
|
|
3058
|
-
*/
|
|
3059
|
-
export interface ICompanyResponseRolesValueConfig {
|
|
3060
|
-
/**
|
|
3061
|
-
*
|
|
3062
|
-
* @type {boolean}
|
|
3063
|
-
* @memberof ICompanyResponseRolesValueConfig
|
|
3064
|
-
*/
|
|
3065
|
-
'd': boolean;
|
|
3066
|
-
/**
|
|
3067
|
-
*
|
|
3068
|
-
* @type {boolean}
|
|
3069
|
-
* @memberof ICompanyResponseRolesValueConfig
|
|
3070
|
-
*/
|
|
3071
|
-
'm': boolean;
|
|
3072
|
-
}
|
|
3073
3239
|
/**
|
|
3074
3240
|
*
|
|
3075
3241
|
* @export
|
|
@@ -3101,31 +3267,6 @@ export interface ICompanyResponseSenderEmailDnsRecordsInner {
|
|
|
3101
3267
|
*/
|
|
3102
3268
|
'key': string;
|
|
3103
3269
|
}
|
|
3104
|
-
/**
|
|
3105
|
-
*
|
|
3106
|
-
* @export
|
|
3107
|
-
* @interface ICompanyResponseUsersInner
|
|
3108
|
-
*/
|
|
3109
|
-
export interface ICompanyResponseUsersInner {
|
|
3110
|
-
/**
|
|
3111
|
-
*
|
|
3112
|
-
* @type {CompanyUserStatusEnum}
|
|
3113
|
-
* @memberof ICompanyResponseUsersInner
|
|
3114
|
-
*/
|
|
3115
|
-
'status': CompanyUserStatusEnum;
|
|
3116
|
-
/**
|
|
3117
|
-
*
|
|
3118
|
-
* @type {string}
|
|
3119
|
-
* @memberof ICompanyResponseUsersInner
|
|
3120
|
-
*/
|
|
3121
|
-
'role': string;
|
|
3122
|
-
/**
|
|
3123
|
-
*
|
|
3124
|
-
* @type {IUserResponse}
|
|
3125
|
-
* @memberof ICompanyResponseUsersInner
|
|
3126
|
-
*/
|
|
3127
|
-
'user': IUserResponse;
|
|
3128
|
-
}
|
|
3129
3270
|
/**
|
|
3130
3271
|
*
|
|
3131
3272
|
* @export
|
|
@@ -3268,10 +3409,10 @@ export interface ICompanyUsersCollectionQueryParams {
|
|
|
3268
3409
|
'page'?: number;
|
|
3269
3410
|
/**
|
|
3270
3411
|
*
|
|
3271
|
-
* @type {
|
|
3412
|
+
* @type {number}
|
|
3272
3413
|
* @memberof ICompanyUsersCollectionQueryParams
|
|
3273
3414
|
*/
|
|
3274
|
-
'itemsPerPage'?:
|
|
3415
|
+
'itemsPerPage'?: number;
|
|
3275
3416
|
/**
|
|
3276
3417
|
*
|
|
3277
3418
|
* @type {string}
|
|
@@ -3315,6 +3456,19 @@ export interface ICompanyUsersCollectionQueryParams {
|
|
|
3315
3456
|
*/
|
|
3316
3457
|
'status'?: CompanyUserStatusEnum;
|
|
3317
3458
|
}
|
|
3459
|
+
/**
|
|
3460
|
+
*
|
|
3461
|
+
* @export
|
|
3462
|
+
* @interface ICompanyUsersResponse
|
|
3463
|
+
*/
|
|
3464
|
+
export interface ICompanyUsersResponse {
|
|
3465
|
+
/**
|
|
3466
|
+
*
|
|
3467
|
+
* @type {Array<ICompanyAdminResponseUsersInner>}
|
|
3468
|
+
* @memberof ICompanyUsersResponse
|
|
3469
|
+
*/
|
|
3470
|
+
'users': Array<ICompanyAdminResponseUsersInner>;
|
|
3471
|
+
}
|
|
3318
3472
|
/**
|
|
3319
3473
|
*
|
|
3320
3474
|
* @export
|
|
@@ -3533,10 +3687,10 @@ export interface IFileCollectionQueryParams {
|
|
|
3533
3687
|
'page'?: number;
|
|
3534
3688
|
/**
|
|
3535
3689
|
*
|
|
3536
|
-
* @type {
|
|
3690
|
+
* @type {number}
|
|
3537
3691
|
* @memberof IFileCollectionQueryParams
|
|
3538
3692
|
*/
|
|
3539
|
-
'itemsPerPage'?:
|
|
3693
|
+
'itemsPerPage'?: number;
|
|
3540
3694
|
/**
|
|
3541
3695
|
*
|
|
3542
3696
|
* @type {string}
|
|
@@ -3904,10 +4058,10 @@ export interface INotificationCollectionQueryParams {
|
|
|
3904
4058
|
'page'?: number;
|
|
3905
4059
|
/**
|
|
3906
4060
|
*
|
|
3907
|
-
* @type {
|
|
4061
|
+
* @type {number}
|
|
3908
4062
|
* @memberof INotificationCollectionQueryParams
|
|
3909
4063
|
*/
|
|
3910
|
-
'itemsPerPage'?:
|
|
4064
|
+
'itemsPerPage'?: number;
|
|
3911
4065
|
/**
|
|
3912
4066
|
*
|
|
3913
4067
|
* @type {string}
|
|
@@ -4093,10 +4247,10 @@ export interface IOperationCollectionQueryParams {
|
|
|
4093
4247
|
'page'?: number;
|
|
4094
4248
|
/**
|
|
4095
4249
|
*
|
|
4096
|
-
* @type {
|
|
4250
|
+
* @type {number}
|
|
4097
4251
|
* @memberof IOperationCollectionQueryParams
|
|
4098
4252
|
*/
|
|
4099
|
-
'itemsPerPage'?:
|
|
4253
|
+
'itemsPerPage'?: number;
|
|
4100
4254
|
/**
|
|
4101
4255
|
*
|
|
4102
4256
|
* @type {string}
|
|
@@ -4386,10 +4540,10 @@ export interface IPageCollectionQueryParams {
|
|
|
4386
4540
|
'page'?: number;
|
|
4387
4541
|
/**
|
|
4388
4542
|
*
|
|
4389
|
-
* @type {
|
|
4543
|
+
* @type {number}
|
|
4390
4544
|
* @memberof IPageCollectionQueryParams
|
|
4391
4545
|
*/
|
|
4392
|
-
'itemsPerPage'?:
|
|
4546
|
+
'itemsPerPage'?: number;
|
|
4393
4547
|
/**
|
|
4394
4548
|
*
|
|
4395
4549
|
* @type {string}
|
|
@@ -4631,10 +4785,10 @@ export interface IPlanCollectionQueryParams {
|
|
|
4631
4785
|
'page'?: number;
|
|
4632
4786
|
/**
|
|
4633
4787
|
*
|
|
4634
|
-
* @type {
|
|
4788
|
+
* @type {number}
|
|
4635
4789
|
* @memberof IPlanCollectionQueryParams
|
|
4636
4790
|
*/
|
|
4637
|
-
'itemsPerPage'?:
|
|
4791
|
+
'itemsPerPage'?: number;
|
|
4638
4792
|
/**
|
|
4639
4793
|
*
|
|
4640
4794
|
* @type {string}
|
|
@@ -4938,10 +5092,10 @@ export interface IProductCollectionQueryParams {
|
|
|
4938
5092
|
'page'?: number;
|
|
4939
5093
|
/**
|
|
4940
5094
|
*
|
|
4941
|
-
* @type {
|
|
5095
|
+
* @type {number}
|
|
4942
5096
|
* @memberof IProductCollectionQueryParams
|
|
4943
5097
|
*/
|
|
4944
|
-
'itemsPerPage'?:
|
|
5098
|
+
'itemsPerPage'?: number;
|
|
4945
5099
|
/**
|
|
4946
5100
|
*
|
|
4947
5101
|
* @type {string}
|
|
@@ -6138,10 +6292,10 @@ export interface IUserCollectionQueryParams {
|
|
|
6138
6292
|
'page'?: number;
|
|
6139
6293
|
/**
|
|
6140
6294
|
*
|
|
6141
|
-
* @type {
|
|
6295
|
+
* @type {number}
|
|
6142
6296
|
* @memberof IUserCollectionQueryParams
|
|
6143
6297
|
*/
|
|
6144
|
-
'itemsPerPage'?:
|
|
6298
|
+
'itemsPerPage'?: number;
|
|
6145
6299
|
/**
|
|
6146
6300
|
*
|
|
6147
6301
|
* @type {string}
|
|
@@ -6510,22 +6664,6 @@ export declare const PageTypeEnum: {
|
|
|
6510
6664
|
readonly NOT_FOUND: "not-found";
|
|
6511
6665
|
};
|
|
6512
6666
|
export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
|
|
6513
|
-
/**
|
|
6514
|
-
*
|
|
6515
|
-
* @export
|
|
6516
|
-
* @enum {string}
|
|
6517
|
-
*/
|
|
6518
|
-
export declare const PaginationLimitEnum: {
|
|
6519
|
-
readonly NUMBER_10: 10;
|
|
6520
|
-
readonly NUMBER_20: 20;
|
|
6521
|
-
readonly NUMBER_30: 30;
|
|
6522
|
-
readonly NUMBER_40: 40;
|
|
6523
|
-
readonly NUMBER_50: 50;
|
|
6524
|
-
readonly NUMBER_100: 100;
|
|
6525
|
-
readonly NUMBER_200: 200;
|
|
6526
|
-
readonly NUMBER_500: 500;
|
|
6527
|
-
};
|
|
6528
|
-
export type PaginationLimitEnum = typeof PaginationLimitEnum[keyof typeof PaginationLimitEnum];
|
|
6529
6667
|
/**
|
|
6530
6668
|
* From T, pick a set of properties whose keys are in the union K
|
|
6531
6669
|
* @export
|
|
@@ -6573,62 +6711,163 @@ export interface PickICompanyIdOrName {
|
|
|
6573
6711
|
/**
|
|
6574
6712
|
* From T, pick a set of properties whose keys are in the union K
|
|
6575
6713
|
* @export
|
|
6576
|
-
* @interface
|
|
6714
|
+
* @interface PickICompanyNameOrDomainsOrIdOrLanguage
|
|
6715
|
+
*/
|
|
6716
|
+
export interface PickICompanyNameOrDomainsOrIdOrLanguage {
|
|
6717
|
+
/**
|
|
6718
|
+
*
|
|
6719
|
+
* @type {string}
|
|
6720
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrLanguage
|
|
6721
|
+
*/
|
|
6722
|
+
'name': string;
|
|
6723
|
+
/**
|
|
6724
|
+
*
|
|
6725
|
+
* @type {LanguageEnum}
|
|
6726
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrLanguage
|
|
6727
|
+
*/
|
|
6728
|
+
'language': LanguageEnum;
|
|
6729
|
+
/**
|
|
6730
|
+
*
|
|
6731
|
+
* @type {string}
|
|
6732
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrLanguage
|
|
6733
|
+
*/
|
|
6734
|
+
'_id': string;
|
|
6735
|
+
/**
|
|
6736
|
+
*
|
|
6737
|
+
* @type {Array<string>}
|
|
6738
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrLanguage
|
|
6739
|
+
*/
|
|
6740
|
+
'domains': Array<string>;
|
|
6741
|
+
}
|
|
6742
|
+
/**
|
|
6743
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
6744
|
+
* @export
|
|
6745
|
+
* @interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6577
6746
|
*/
|
|
6578
|
-
export interface
|
|
6747
|
+
export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles {
|
|
6579
6748
|
/**
|
|
6580
6749
|
*
|
|
6581
6750
|
* @type {string}
|
|
6582
|
-
* @memberof
|
|
6751
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6583
6752
|
*/
|
|
6584
6753
|
'name': string;
|
|
6754
|
+
/**
|
|
6755
|
+
*
|
|
6756
|
+
* @type {{ [key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue; }}
|
|
6757
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6758
|
+
*/
|
|
6759
|
+
'roles': {
|
|
6760
|
+
[key: string]: PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue;
|
|
6761
|
+
};
|
|
6585
6762
|
/**
|
|
6586
6763
|
*
|
|
6587
6764
|
* @type {LanguageEnum}
|
|
6588
|
-
* @memberof
|
|
6765
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6589
6766
|
*/
|
|
6590
6767
|
'language': LanguageEnum;
|
|
6591
6768
|
/**
|
|
6592
6769
|
*
|
|
6593
6770
|
* @type {string}
|
|
6594
|
-
* @memberof
|
|
6771
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6595
6772
|
*/
|
|
6596
6773
|
'_id': string;
|
|
6597
6774
|
/**
|
|
6598
6775
|
*
|
|
6599
|
-
* @type {Array<
|
|
6600
|
-
* @memberof
|
|
6776
|
+
* @type {Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>}
|
|
6777
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6601
6778
|
*/
|
|
6602
|
-
'users': Array<
|
|
6779
|
+
'users': Array<PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner>;
|
|
6780
|
+
/**
|
|
6781
|
+
*
|
|
6782
|
+
* @type {string}
|
|
6783
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6784
|
+
*/
|
|
6785
|
+
'owner': string;
|
|
6603
6786
|
/**
|
|
6604
6787
|
*
|
|
6605
6788
|
* @type {Array<string>}
|
|
6606
|
-
* @memberof
|
|
6789
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles
|
|
6607
6790
|
*/
|
|
6608
6791
|
'domains': Array<string>;
|
|
6609
6792
|
}
|
|
6610
6793
|
/**
|
|
6611
6794
|
*
|
|
6612
6795
|
* @export
|
|
6613
|
-
* @interface
|
|
6796
|
+
* @interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue
|
|
6614
6797
|
*/
|
|
6615
|
-
export interface
|
|
6798
|
+
export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue {
|
|
6799
|
+
/**
|
|
6800
|
+
*
|
|
6801
|
+
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig}
|
|
6802
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue
|
|
6803
|
+
*/
|
|
6804
|
+
'config': PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig;
|
|
6805
|
+
/**
|
|
6806
|
+
*
|
|
6807
|
+
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig}
|
|
6808
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue
|
|
6809
|
+
*/
|
|
6810
|
+
'navigation': PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig;
|
|
6811
|
+
/**
|
|
6812
|
+
*
|
|
6813
|
+
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig}
|
|
6814
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue
|
|
6815
|
+
*/
|
|
6816
|
+
'company': PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig;
|
|
6817
|
+
/**
|
|
6818
|
+
*
|
|
6819
|
+
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig}
|
|
6820
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue
|
|
6821
|
+
*/
|
|
6822
|
+
'page': PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig;
|
|
6823
|
+
/**
|
|
6824
|
+
*
|
|
6825
|
+
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig}
|
|
6826
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValue
|
|
6827
|
+
*/
|
|
6828
|
+
'product': PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig;
|
|
6829
|
+
}
|
|
6830
|
+
/**
|
|
6831
|
+
*
|
|
6832
|
+
* @export
|
|
6833
|
+
* @interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig
|
|
6834
|
+
*/
|
|
6835
|
+
export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig {
|
|
6836
|
+
/**
|
|
6837
|
+
*
|
|
6838
|
+
* @type {boolean}
|
|
6839
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig
|
|
6840
|
+
*/
|
|
6841
|
+
'd': boolean;
|
|
6842
|
+
/**
|
|
6843
|
+
*
|
|
6844
|
+
* @type {boolean}
|
|
6845
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesRolesValueConfig
|
|
6846
|
+
*/
|
|
6847
|
+
'm': boolean;
|
|
6848
|
+
}
|
|
6849
|
+
/**
|
|
6850
|
+
*
|
|
6851
|
+
* @export
|
|
6852
|
+
* @interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner
|
|
6853
|
+
*/
|
|
6854
|
+
export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner {
|
|
6616
6855
|
/**
|
|
6617
6856
|
*
|
|
6618
6857
|
* @type {CompanyUserStatusEnum}
|
|
6619
|
-
* @memberof
|
|
6858
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner
|
|
6620
6859
|
*/
|
|
6621
6860
|
'status': CompanyUserStatusEnum;
|
|
6622
6861
|
/**
|
|
6623
6862
|
*
|
|
6624
6863
|
* @type {string}
|
|
6625
|
-
* @memberof
|
|
6864
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner
|
|
6626
6865
|
*/
|
|
6627
6866
|
'role': string;
|
|
6628
6867
|
/**
|
|
6629
6868
|
*
|
|
6630
6869
|
* @type {string}
|
|
6631
|
-
* @memberof
|
|
6870
|
+
* @memberof PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUsersInner
|
|
6632
6871
|
*/
|
|
6633
6872
|
'user': string;
|
|
6634
6873
|
}
|
|
@@ -7591,7 +7830,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
7591
7830
|
*
|
|
7592
7831
|
* @param {string} company
|
|
7593
7832
|
* @param {number} [page]
|
|
7594
|
-
* @param {
|
|
7833
|
+
* @param {number} [itemsPerPage]
|
|
7595
7834
|
* @param {string} [search]
|
|
7596
7835
|
* @param {string} [startDate]
|
|
7597
7836
|
* @param {string} [endDate]
|
|
@@ -7602,7 +7841,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
7602
7841
|
* @param {*} [options] Override http request option.
|
|
7603
7842
|
* @throws {RequiredError}
|
|
7604
7843
|
*/
|
|
7605
|
-
getCollections: (company: string, page?: number, itemsPerPage?:
|
|
7844
|
+
getCollections: (company: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7606
7845
|
};
|
|
7607
7846
|
/**
|
|
7608
7847
|
* CollectionApi - functional programming interface
|
|
@@ -7621,7 +7860,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
7621
7860
|
*
|
|
7622
7861
|
* @param {string} company
|
|
7623
7862
|
* @param {number} [page]
|
|
7624
|
-
* @param {
|
|
7863
|
+
* @param {number} [itemsPerPage]
|
|
7625
7864
|
* @param {string} [search]
|
|
7626
7865
|
* @param {string} [startDate]
|
|
7627
7866
|
* @param {string} [endDate]
|
|
@@ -7632,7 +7871,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
7632
7871
|
* @param {*} [options] Override http request option.
|
|
7633
7872
|
* @throws {RequiredError}
|
|
7634
7873
|
*/
|
|
7635
|
-
getCollections(company: string, page?: number, itemsPerPage?:
|
|
7874
|
+
getCollections(company: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICollectionsResponse>>;
|
|
7636
7875
|
};
|
|
7637
7876
|
/**
|
|
7638
7877
|
* CollectionApi - factory interface
|
|
@@ -7693,10 +7932,10 @@ export interface CollectionApiGetCollectionsRequest {
|
|
|
7693
7932
|
readonly page?: number;
|
|
7694
7933
|
/**
|
|
7695
7934
|
*
|
|
7696
|
-
* @type {
|
|
7935
|
+
* @type {number}
|
|
7697
7936
|
* @memberof CollectionApiGetCollections
|
|
7698
7937
|
*/
|
|
7699
|
-
readonly itemsPerPage?:
|
|
7938
|
+
readonly itemsPerPage?: number;
|
|
7700
7939
|
/**
|
|
7701
7940
|
*
|
|
7702
7941
|
* @type {string}
|
|
@@ -7859,7 +8098,7 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
7859
8098
|
*
|
|
7860
8099
|
* @param {string} company
|
|
7861
8100
|
* @param {number} [page]
|
|
7862
|
-
* @param {
|
|
8101
|
+
* @param {number} [itemsPerPage]
|
|
7863
8102
|
* @param {string} [search]
|
|
7864
8103
|
* @param {string} [startDate]
|
|
7865
8104
|
* @param {string} [endDate]
|
|
@@ -7872,7 +8111,7 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
7872
8111
|
* @param {*} [options] Override http request option.
|
|
7873
8112
|
* @throws {RequiredError}
|
|
7874
8113
|
*/
|
|
7875
|
-
getPages: (company: string, page?: number, itemsPerPage?:
|
|
8114
|
+
getPages: (company: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, domain?: string, type?: PageTypeEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7876
8115
|
};
|
|
7877
8116
|
/**
|
|
7878
8117
|
* PageApi - functional programming interface
|
|
@@ -7901,7 +8140,7 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
7901
8140
|
*
|
|
7902
8141
|
* @param {string} company
|
|
7903
8142
|
* @param {number} [page]
|
|
7904
|
-
* @param {
|
|
8143
|
+
* @param {number} [itemsPerPage]
|
|
7905
8144
|
* @param {string} [search]
|
|
7906
8145
|
* @param {string} [startDate]
|
|
7907
8146
|
* @param {string} [endDate]
|
|
@@ -7914,7 +8153,7 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
7914
8153
|
* @param {*} [options] Override http request option.
|
|
7915
8154
|
* @throws {RequiredError}
|
|
7916
8155
|
*/
|
|
7917
|
-
getPages(company: string, page?: number, itemsPerPage?:
|
|
8156
|
+
getPages(company: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, domain?: string, type?: PageTypeEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
|
|
7918
8157
|
};
|
|
7919
8158
|
/**
|
|
7920
8159
|
* PageApi - factory interface
|
|
@@ -8013,10 +8252,10 @@ export interface PageApiGetPagesRequest {
|
|
|
8013
8252
|
readonly page?: number;
|
|
8014
8253
|
/**
|
|
8015
8254
|
*
|
|
8016
|
-
* @type {
|
|
8255
|
+
* @type {number}
|
|
8017
8256
|
* @memberof PageApiGetPages
|
|
8018
8257
|
*/
|
|
8019
|
-
readonly itemsPerPage?:
|
|
8258
|
+
readonly itemsPerPage?: number;
|
|
8020
8259
|
/**
|
|
8021
8260
|
*
|
|
8022
8261
|
* @type {string}
|
|
@@ -8121,7 +8360,7 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8121
8360
|
*
|
|
8122
8361
|
* @param {string} company
|
|
8123
8362
|
* @param {number} [page]
|
|
8124
|
-
* @param {
|
|
8363
|
+
* @param {number} [itemsPerPage]
|
|
8125
8364
|
* @param {string} [search]
|
|
8126
8365
|
* @param {string} [startDate]
|
|
8127
8366
|
* @param {string} [endDate]
|
|
@@ -8135,7 +8374,7 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8135
8374
|
* @param {*} [options] Override http request option.
|
|
8136
8375
|
* @throws {RequiredError}
|
|
8137
8376
|
*/
|
|
8138
|
-
getProducts: (company: string, page?: number, itemsPerPage?:
|
|
8377
|
+
getProducts: (company: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, collections?: string, category?: string, brand?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8139
8378
|
/**
|
|
8140
8379
|
*
|
|
8141
8380
|
* @param {string} company
|
|
@@ -8162,7 +8401,7 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
8162
8401
|
*
|
|
8163
8402
|
* @param {string} company
|
|
8164
8403
|
* @param {number} [page]
|
|
8165
|
-
* @param {
|
|
8404
|
+
* @param {number} [itemsPerPage]
|
|
8166
8405
|
* @param {string} [search]
|
|
8167
8406
|
* @param {string} [startDate]
|
|
8168
8407
|
* @param {string} [endDate]
|
|
@@ -8176,7 +8415,7 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
8176
8415
|
* @param {*} [options] Override http request option.
|
|
8177
8416
|
* @throws {RequiredError}
|
|
8178
8417
|
*/
|
|
8179
|
-
getProducts(company: string, page?: number, itemsPerPage?:
|
|
8418
|
+
getProducts(company: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, collections?: string, category?: string, brand?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IProductsResponse>>;
|
|
8180
8419
|
/**
|
|
8181
8420
|
*
|
|
8182
8421
|
* @param {string} company
|
|
@@ -8252,10 +8491,10 @@ export interface ProductApiGetProductsRequest {
|
|
|
8252
8491
|
readonly page?: number;
|
|
8253
8492
|
/**
|
|
8254
8493
|
*
|
|
8255
|
-
* @type {
|
|
8494
|
+
* @type {number}
|
|
8256
8495
|
* @memberof ProductApiGetProducts
|
|
8257
8496
|
*/
|
|
8258
|
-
readonly itemsPerPage?:
|
|
8497
|
+
readonly itemsPerPage?: number;
|
|
8259
8498
|
/**
|
|
8260
8499
|
*
|
|
8261
8500
|
* @type {string}
|
package/dist/api/api.js
CHANGED
|
@@ -16,8 +16,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.PageApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.ThemeTypeEnum = exports.TemplateTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.
|
|
20
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory =
|
|
19
|
+
exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.ThemeTypeEnum = exports.TemplateTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PageTypeEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.GridTypeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = void 0;
|
|
21
21
|
const axios_1 = __importDefault(require("axios"));
|
|
22
22
|
// Some imports not used depending on template conditions
|
|
23
23
|
// @ts-ignore
|
|
@@ -542,21 +542,6 @@ exports.PageTypeEnum = {
|
|
|
542
542
|
CHECKOUT: 'checkout',
|
|
543
543
|
NOT_FOUND: 'not-found'
|
|
544
544
|
};
|
|
545
|
-
/**
|
|
546
|
-
*
|
|
547
|
-
* @export
|
|
548
|
-
* @enum {string}
|
|
549
|
-
*/
|
|
550
|
-
exports.PaginationLimitEnum = {
|
|
551
|
-
NUMBER_10: 10,
|
|
552
|
-
NUMBER_20: 20,
|
|
553
|
-
NUMBER_30: 30,
|
|
554
|
-
NUMBER_40: 40,
|
|
555
|
-
NUMBER_50: 50,
|
|
556
|
-
NUMBER_100: 100,
|
|
557
|
-
NUMBER_200: 200,
|
|
558
|
-
NUMBER_500: 500
|
|
559
|
-
};
|
|
560
545
|
/**
|
|
561
546
|
*
|
|
562
547
|
* @export
|
|
@@ -1382,7 +1367,7 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1382
1367
|
*
|
|
1383
1368
|
* @param {string} company
|
|
1384
1369
|
* @param {number} [page]
|
|
1385
|
-
* @param {
|
|
1370
|
+
* @param {number} [itemsPerPage]
|
|
1386
1371
|
* @param {string} [search]
|
|
1387
1372
|
* @param {string} [startDate]
|
|
1388
1373
|
* @param {string} [endDate]
|
|
@@ -1475,7 +1460,7 @@ const CollectionApiFp = function (configuration) {
|
|
|
1475
1460
|
*
|
|
1476
1461
|
* @param {string} company
|
|
1477
1462
|
* @param {number} [page]
|
|
1478
|
-
* @param {
|
|
1463
|
+
* @param {number} [itemsPerPage]
|
|
1479
1464
|
* @param {string} [search]
|
|
1480
1465
|
* @param {string} [startDate]
|
|
1481
1466
|
* @param {string} [endDate]
|
|
@@ -1731,7 +1716,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
1731
1716
|
*
|
|
1732
1717
|
* @param {string} company
|
|
1733
1718
|
* @param {number} [page]
|
|
1734
|
-
* @param {
|
|
1719
|
+
* @param {number} [itemsPerPage]
|
|
1735
1720
|
* @param {string} [search]
|
|
1736
1721
|
* @param {string} [startDate]
|
|
1737
1722
|
* @param {string} [endDate]
|
|
@@ -1847,7 +1832,7 @@ const PageApiFp = function (configuration) {
|
|
|
1847
1832
|
*
|
|
1848
1833
|
* @param {string} company
|
|
1849
1834
|
* @param {number} [page]
|
|
1850
|
-
* @param {
|
|
1835
|
+
* @param {number} [itemsPerPage]
|
|
1851
1836
|
* @param {string} [search]
|
|
1852
1837
|
* @param {string} [startDate]
|
|
1853
1838
|
* @param {string} [endDate]
|
|
@@ -1989,7 +1974,7 @@ const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
1989
1974
|
*
|
|
1990
1975
|
* @param {string} company
|
|
1991
1976
|
* @param {number} [page]
|
|
1992
|
-
* @param {
|
|
1977
|
+
* @param {number} [itemsPerPage]
|
|
1993
1978
|
* @param {string} [search]
|
|
1994
1979
|
* @param {string} [startDate]
|
|
1995
1980
|
* @param {string} [endDate]
|
|
@@ -2130,7 +2115,7 @@ const ProductApiFp = function (configuration) {
|
|
|
2130
2115
|
*
|
|
2131
2116
|
* @param {string} company
|
|
2132
2117
|
* @param {number} [page]
|
|
2133
|
-
* @param {
|
|
2118
|
+
* @param {number} [itemsPerPage]
|
|
2134
2119
|
* @param {string} [search]
|
|
2135
2120
|
* @param {string} [startDate]
|
|
2136
2121
|
* @param {string} [endDate]
|
package/dist/api/api.mjs
CHANGED
|
@@ -532,21 +532,6 @@ export const PageTypeEnum = {
|
|
|
532
532
|
CHECKOUT: 'checkout',
|
|
533
533
|
NOT_FOUND: 'not-found'
|
|
534
534
|
};
|
|
535
|
-
/**
|
|
536
|
-
*
|
|
537
|
-
* @export
|
|
538
|
-
* @enum {string}
|
|
539
|
-
*/
|
|
540
|
-
export const PaginationLimitEnum = {
|
|
541
|
-
NUMBER_10: 10,
|
|
542
|
-
NUMBER_20: 20,
|
|
543
|
-
NUMBER_30: 30,
|
|
544
|
-
NUMBER_40: 40,
|
|
545
|
-
NUMBER_50: 50,
|
|
546
|
-
NUMBER_100: 100,
|
|
547
|
-
NUMBER_200: 200,
|
|
548
|
-
NUMBER_500: 500
|
|
549
|
-
};
|
|
550
535
|
/**
|
|
551
536
|
*
|
|
552
537
|
* @export
|
|
@@ -1364,7 +1349,7 @@ export const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1364
1349
|
*
|
|
1365
1350
|
* @param {string} company
|
|
1366
1351
|
* @param {number} [page]
|
|
1367
|
-
* @param {
|
|
1352
|
+
* @param {number} [itemsPerPage]
|
|
1368
1353
|
* @param {string} [search]
|
|
1369
1354
|
* @param {string} [startDate]
|
|
1370
1355
|
* @param {string} [endDate]
|
|
@@ -1456,7 +1441,7 @@ export const CollectionApiFp = function (configuration) {
|
|
|
1456
1441
|
*
|
|
1457
1442
|
* @param {string} company
|
|
1458
1443
|
* @param {number} [page]
|
|
1459
|
-
* @param {
|
|
1444
|
+
* @param {number} [itemsPerPage]
|
|
1460
1445
|
* @param {string} [search]
|
|
1461
1446
|
* @param {string} [startDate]
|
|
1462
1447
|
* @param {string} [endDate]
|
|
@@ -1705,7 +1690,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
1705
1690
|
*
|
|
1706
1691
|
* @param {string} company
|
|
1707
1692
|
* @param {number} [page]
|
|
1708
|
-
* @param {
|
|
1693
|
+
* @param {number} [itemsPerPage]
|
|
1709
1694
|
* @param {string} [search]
|
|
1710
1695
|
* @param {string} [startDate]
|
|
1711
1696
|
* @param {string} [endDate]
|
|
@@ -1820,7 +1805,7 @@ export const PageApiFp = function (configuration) {
|
|
|
1820
1805
|
*
|
|
1821
1806
|
* @param {string} company
|
|
1822
1807
|
* @param {number} [page]
|
|
1823
|
-
* @param {
|
|
1808
|
+
* @param {number} [itemsPerPage]
|
|
1824
1809
|
* @param {string} [search]
|
|
1825
1810
|
* @param {string} [startDate]
|
|
1826
1811
|
* @param {string} [endDate]
|
|
@@ -1959,7 +1944,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
1959
1944
|
*
|
|
1960
1945
|
* @param {string} company
|
|
1961
1946
|
* @param {number} [page]
|
|
1962
|
-
* @param {
|
|
1947
|
+
* @param {number} [itemsPerPage]
|
|
1963
1948
|
* @param {string} [search]
|
|
1964
1949
|
* @param {string} [startDate]
|
|
1965
1950
|
* @param {string} [endDate]
|
|
@@ -2099,7 +2084,7 @@ export const ProductApiFp = function (configuration) {
|
|
|
2099
2084
|
*
|
|
2100
2085
|
* @param {string} company
|
|
2101
2086
|
* @param {number} [page]
|
|
2102
|
-
* @param {
|
|
2087
|
+
* @param {number} [itemsPerPage]
|
|
2103
2088
|
* @param {string} [search]
|
|
2104
2089
|
* @param {string} [startDate]
|
|
2105
2090
|
* @param {string} [endDate]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "api-client-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": "e2a6048bb5132be2c67a5d03931fa2e8f06ec1f4"
|
|
40
40
|
}
|