@gooday_corp/gooday-api-client 1.0.16-delta → 1.0.16-zeta
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/api.ts +232 -20
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -463,6 +463,50 @@ export interface DeviceEntity {
|
|
|
463
463
|
*/
|
|
464
464
|
'status': string;
|
|
465
465
|
}
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @export
|
|
469
|
+
* @interface EmployeesSizeEntity
|
|
470
|
+
*/
|
|
471
|
+
export interface EmployeesSizeEntity {
|
|
472
|
+
/**
|
|
473
|
+
* Unique identifier for the employee size
|
|
474
|
+
* @type {string}
|
|
475
|
+
* @memberof EmployeesSizeEntity
|
|
476
|
+
*/
|
|
477
|
+
'id': string;
|
|
478
|
+
/**
|
|
479
|
+
* Title of the employee size
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @memberof EmployeesSizeEntity
|
|
482
|
+
*/
|
|
483
|
+
'title': string;
|
|
484
|
+
/**
|
|
485
|
+
* Value of the employee size
|
|
486
|
+
* @type {string}
|
|
487
|
+
* @memberof EmployeesSizeEntity
|
|
488
|
+
*/
|
|
489
|
+
'value': string;
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @export
|
|
494
|
+
* @interface EmployeesSizeListResponse
|
|
495
|
+
*/
|
|
496
|
+
export interface EmployeesSizeListResponse {
|
|
497
|
+
/**
|
|
498
|
+
* statusCode
|
|
499
|
+
* @type {number}
|
|
500
|
+
* @memberof EmployeesSizeListResponse
|
|
501
|
+
*/
|
|
502
|
+
'statusCode': number;
|
|
503
|
+
/**
|
|
504
|
+
* Employees Size
|
|
505
|
+
* @type {Array<EmployeesSizeEntity>}
|
|
506
|
+
* @memberof EmployeesSizeListResponse
|
|
507
|
+
*/
|
|
508
|
+
'data': Array<EmployeesSizeEntity>;
|
|
509
|
+
}
|
|
466
510
|
/**
|
|
467
511
|
*
|
|
468
512
|
* @export
|
|
@@ -762,6 +806,50 @@ export const PriceEntityIntervalEnum = {
|
|
|
762
806
|
|
|
763
807
|
export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeof PriceEntityIntervalEnum];
|
|
764
808
|
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @export
|
|
812
|
+
* @interface PriceRangeEntity
|
|
813
|
+
*/
|
|
814
|
+
export interface PriceRangeEntity {
|
|
815
|
+
/**
|
|
816
|
+
* Unique identifier for the price range
|
|
817
|
+
* @type {string}
|
|
818
|
+
* @memberof PriceRangeEntity
|
|
819
|
+
*/
|
|
820
|
+
'id': string;
|
|
821
|
+
/**
|
|
822
|
+
* Title of the price range
|
|
823
|
+
* @type {string}
|
|
824
|
+
* @memberof PriceRangeEntity
|
|
825
|
+
*/
|
|
826
|
+
'title': string;
|
|
827
|
+
/**
|
|
828
|
+
* Value of the price range
|
|
829
|
+
* @type {string}
|
|
830
|
+
* @memberof PriceRangeEntity
|
|
831
|
+
*/
|
|
832
|
+
'value': string;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @export
|
|
837
|
+
* @interface PriceRangeListResponse
|
|
838
|
+
*/
|
|
839
|
+
export interface PriceRangeListResponse {
|
|
840
|
+
/**
|
|
841
|
+
* statusCode
|
|
842
|
+
* @type {number}
|
|
843
|
+
* @memberof PriceRangeListResponse
|
|
844
|
+
*/
|
|
845
|
+
'statusCode': number;
|
|
846
|
+
/**
|
|
847
|
+
* Price Range
|
|
848
|
+
* @type {Array<PriceRangeEntity>}
|
|
849
|
+
* @memberof PriceRangeListResponse
|
|
850
|
+
*/
|
|
851
|
+
'data': Array<PriceRangeEntity>;
|
|
852
|
+
}
|
|
765
853
|
/**
|
|
766
854
|
*
|
|
767
855
|
* @export
|
|
@@ -1478,10 +1566,10 @@ export class AuthApi extends BaseAPI {
|
|
|
1478
1566
|
|
|
1479
1567
|
|
|
1480
1568
|
/**
|
|
1481
|
-
*
|
|
1569
|
+
* BusinessApi - axios parameter creator
|
|
1482
1570
|
* @export
|
|
1483
1571
|
*/
|
|
1484
|
-
export const
|
|
1572
|
+
export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1485
1573
|
return {
|
|
1486
1574
|
/**
|
|
1487
1575
|
*
|
|
@@ -1583,6 +1671,72 @@ export const BusinessCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
1583
1671
|
|
|
1584
1672
|
|
|
1585
1673
|
|
|
1674
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1675
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1676
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1677
|
+
|
|
1678
|
+
return {
|
|
1679
|
+
url: toPathString(localVarUrlObj),
|
|
1680
|
+
options: localVarRequestOptions,
|
|
1681
|
+
};
|
|
1682
|
+
},
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @param {*} [options] Override http request option.
|
|
1686
|
+
* @throws {RequiredError}
|
|
1687
|
+
*/
|
|
1688
|
+
businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1689
|
+
const localVarPath = `/v1/business/employee-size`;
|
|
1690
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1692
|
+
let baseOptions;
|
|
1693
|
+
if (configuration) {
|
|
1694
|
+
baseOptions = configuration.baseOptions;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1698
|
+
const localVarHeaderParameter = {} as any;
|
|
1699
|
+
const localVarQueryParameter = {} as any;
|
|
1700
|
+
|
|
1701
|
+
// authentication bearer required
|
|
1702
|
+
// http bearer authentication required
|
|
1703
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1709
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1710
|
+
|
|
1711
|
+
return {
|
|
1712
|
+
url: toPathString(localVarUrlObj),
|
|
1713
|
+
options: localVarRequestOptions,
|
|
1714
|
+
};
|
|
1715
|
+
},
|
|
1716
|
+
/**
|
|
1717
|
+
*
|
|
1718
|
+
* @param {*} [options] Override http request option.
|
|
1719
|
+
* @throws {RequiredError}
|
|
1720
|
+
*/
|
|
1721
|
+
businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1722
|
+
const localVarPath = `/v1/business/price-range`;
|
|
1723
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1724
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1725
|
+
let baseOptions;
|
|
1726
|
+
if (configuration) {
|
|
1727
|
+
baseOptions = configuration.baseOptions;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1731
|
+
const localVarHeaderParameter = {} as any;
|
|
1732
|
+
const localVarQueryParameter = {} as any;
|
|
1733
|
+
|
|
1734
|
+
// authentication bearer required
|
|
1735
|
+
// http bearer authentication required
|
|
1736
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
|
|
1586
1740
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1587
1741
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1588
1742
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1596,11 +1750,11 @@ export const BusinessCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
1596
1750
|
};
|
|
1597
1751
|
|
|
1598
1752
|
/**
|
|
1599
|
-
*
|
|
1753
|
+
* BusinessApi - functional programming interface
|
|
1600
1754
|
* @export
|
|
1601
1755
|
*/
|
|
1602
|
-
export const
|
|
1603
|
-
const localVarAxiosParamCreator =
|
|
1756
|
+
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
1757
|
+
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
1604
1758
|
return {
|
|
1605
1759
|
/**
|
|
1606
1760
|
*
|
|
@@ -1611,7 +1765,7 @@ export const BusinessCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
1611
1765
|
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
1612
1766
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
1613
1767
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1614
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1768
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
1615
1769
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1616
1770
|
},
|
|
1617
1771
|
/**
|
|
@@ -1622,7 +1776,7 @@ export const BusinessCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
1622
1776
|
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
1623
1777
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
1624
1778
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1625
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1779
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
1626
1780
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1627
1781
|
},
|
|
1628
1782
|
/**
|
|
@@ -1634,18 +1788,40 @@ export const BusinessCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
1634
1788
|
async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
1635
1789
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
|
|
1636
1790
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1637
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
1791
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
1792
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1793
|
+
},
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @param {*} [options] Override http request option.
|
|
1797
|
+
* @throws {RequiredError}
|
|
1798
|
+
*/
|
|
1799
|
+
async businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmployeesSizeListResponse>> {
|
|
1800
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListEmployeesSize(options);
|
|
1801
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1802
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListEmployeesSize']?.[localVarOperationServerIndex]?.url;
|
|
1803
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1804
|
+
},
|
|
1805
|
+
/**
|
|
1806
|
+
*
|
|
1807
|
+
* @param {*} [options] Override http request option.
|
|
1808
|
+
* @throws {RequiredError}
|
|
1809
|
+
*/
|
|
1810
|
+
async businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceRangeListResponse>> {
|
|
1811
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListPriceRange(options);
|
|
1812
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1813
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
1638
1814
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1639
1815
|
},
|
|
1640
1816
|
}
|
|
1641
1817
|
};
|
|
1642
1818
|
|
|
1643
1819
|
/**
|
|
1644
|
-
*
|
|
1820
|
+
* BusinessApi - factory interface
|
|
1645
1821
|
* @export
|
|
1646
1822
|
*/
|
|
1647
|
-
export const
|
|
1648
|
-
const localVarFp =
|
|
1823
|
+
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1824
|
+
const localVarFp = BusinessApiFp(configuration)
|
|
1649
1825
|
return {
|
|
1650
1826
|
/**
|
|
1651
1827
|
*
|
|
@@ -1673,35 +1849,51 @@ export const BusinessCategoriesApiFactory = function (configuration?: Configurat
|
|
|
1673
1849
|
businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
1674
1850
|
return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
|
|
1675
1851
|
},
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @param {*} [options] Override http request option.
|
|
1855
|
+
* @throws {RequiredError}
|
|
1856
|
+
*/
|
|
1857
|
+
businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
|
|
1858
|
+
return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
|
|
1859
|
+
},
|
|
1860
|
+
/**
|
|
1861
|
+
*
|
|
1862
|
+
* @param {*} [options] Override http request option.
|
|
1863
|
+
* @throws {RequiredError}
|
|
1864
|
+
*/
|
|
1865
|
+
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
1866
|
+
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
1867
|
+
},
|
|
1676
1868
|
};
|
|
1677
1869
|
};
|
|
1678
1870
|
|
|
1679
1871
|
/**
|
|
1680
|
-
*
|
|
1872
|
+
* BusinessApi - object-oriented interface
|
|
1681
1873
|
* @export
|
|
1682
|
-
* @class
|
|
1874
|
+
* @class BusinessApi
|
|
1683
1875
|
* @extends {BaseAPI}
|
|
1684
1876
|
*/
|
|
1685
|
-
export class
|
|
1877
|
+
export class BusinessApi extends BaseAPI {
|
|
1686
1878
|
/**
|
|
1687
1879
|
*
|
|
1688
1880
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1689
1881
|
* @param {*} [options] Override http request option.
|
|
1690
1882
|
* @throws {RequiredError}
|
|
1691
|
-
* @memberof
|
|
1883
|
+
* @memberof BusinessApi
|
|
1692
1884
|
*/
|
|
1693
1885
|
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
1694
|
-
return
|
|
1886
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1695
1887
|
}
|
|
1696
1888
|
|
|
1697
1889
|
/**
|
|
1698
1890
|
*
|
|
1699
1891
|
* @param {*} [options] Override http request option.
|
|
1700
1892
|
* @throws {RequiredError}
|
|
1701
|
-
* @memberof
|
|
1893
|
+
* @memberof BusinessApi
|
|
1702
1894
|
*/
|
|
1703
1895
|
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
1704
|
-
return
|
|
1896
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
1705
1897
|
}
|
|
1706
1898
|
|
|
1707
1899
|
/**
|
|
@@ -1709,10 +1901,30 @@ export class BusinessCategoriesApi extends BaseAPI {
|
|
|
1709
1901
|
* @param {string} businessType
|
|
1710
1902
|
* @param {*} [options] Override http request option.
|
|
1711
1903
|
* @throws {RequiredError}
|
|
1712
|
-
* @memberof
|
|
1904
|
+
* @memberof BusinessApi
|
|
1713
1905
|
*/
|
|
1714
1906
|
public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
|
|
1715
|
-
return
|
|
1907
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @param {*} [options] Override http request option.
|
|
1913
|
+
* @throws {RequiredError}
|
|
1914
|
+
* @memberof BusinessApi
|
|
1915
|
+
*/
|
|
1916
|
+
public businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig) {
|
|
1917
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListEmployeesSize(options).then((request) => request(this.axios, this.basePath));
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
*
|
|
1922
|
+
* @param {*} [options] Override http request option.
|
|
1923
|
+
* @throws {RequiredError}
|
|
1924
|
+
* @memberof BusinessApi
|
|
1925
|
+
*/
|
|
1926
|
+
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
1927
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
1716
1928
|
}
|
|
1717
1929
|
}
|
|
1718
1930
|
|