@matochmat/api-client 2.0.0-next.23 → 2.0.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +19 -41
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -31
- package/dist/index.esm.js +16 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/v2/bonusStampCode.d.ts +0 -38
- package/dist/v2/cateringFunctionality.d.ts +1 -1
- package/dist/v2/city.d.ts +8 -12
- package/dist/v2/cityUploadGrouping.d.ts +3 -0
- package/dist/v2/coupon.d.ts +0 -50
- package/dist/v2/customer.d.ts +0 -70
- package/dist/v2/customerContact.d.ts +0 -42
- package/dist/v2/customerQuoteUploadGrouping.d.ts +3 -0
- package/dist/v2/dinnerFunctionality.d.ts +3 -13
- package/dist/v2/emailTemplate.d.ts +0 -50
- package/dist/v2/geodata.d.ts +9 -0
- package/dist/v2/lunchBoxFunctionality.d.ts +1 -1
- package/dist/v2/lunchFunctionality.d.ts +1 -1
- package/dist/v2/notificationPreference.d.ts +0 -34
- package/dist/v2/policy.d.ts +0 -30
- package/dist/v2/restaurant.d.ts +5 -42
- package/dist/v2/restaurantFunctionalityVisitibilityType.d.ts +4 -0
- package/dist/v2/restaurantUploadGrouping.d.ts +7 -0
- package/dist/v2/showcaseLocation.d.ts +26 -0
- package/dist/v2/showcaseUploadGrouping.d.ts +3 -0
- package/dist/v2/showcaseUserRoleConnection.d.ts +30 -0
- package/dist/v2/uploadGrouping.d.ts +11 -0
- package/dist/v3/lunchFunctionality.d.ts +0 -1
- package/dist/v3/showcaseLocation.d.ts +2 -9
- package/dist/v3/showcaseUserRoleConnection.d.ts +3 -21
- package/package.json +2 -3
- package/dist/v1/bonusStamp.d.ts +0 -21
- package/dist/v1/favorite.d.ts +0 -21
- package/dist/v2/subscriptionType.d.ts +0 -13
- package/dist/v2/userLocation.d.ts +0 -17
- package/dist/v3/bonusStampCode.d.ts +0 -11
- package/dist/v3/cateringFunctionality.d.ts +0 -11
- package/dist/v3/city.d.ts +0 -11
- package/dist/v3/cityUploadConnection.d.ts +0 -11
- package/dist/v3/coupon.d.ts +0 -17
- package/dist/v3/couponLocation.d.ts +0 -30
- package/dist/v3/customer.d.ts +0 -11
- package/dist/v3/customerContact.d.ts +0 -11
- package/dist/v3/customerManagement.d.ts +0 -34
- package/dist/v3/dinnerFunctionality.d.ts +0 -17
- package/dist/v3/dinnerFunctionalityType.d.ts +0 -11
- package/dist/v3/dynamicContent.d.ts +0 -11
- package/dist/v3/emailTemplate.d.ts +0 -11
- package/dist/v3/geodata.d.ts +0 -11
- package/dist/v3/lunchBoxFunctionality.d.ts +0 -11
- package/dist/v3/notificationPreference.d.ts +0 -11
- package/dist/v3/policy.d.ts +0 -11
- package/dist/v3/restaurant.d.ts +0 -34
- package/dist/v3/restaurantFunctionality.d.ts +0 -5
- package/dist/v3/restaurantUploadConnection.d.ts +0 -11
- package/dist/v3/session.d.ts +0 -1
- package/dist/v3/subscriptionPeriod.d.ts +0 -11
- package/dist/v3/systemSetting.d.ts +0 -11
- package/dist/v3/updatedByType.d.ts +0 -11
- package/dist/v3/user.d.ts +0 -1
- package/dist/v3/userLocation.d.ts +0 -5
- /package/dist/v2/{restaurantFunctionality.d.ts → restaurantFunctionalityType.d.ts} +0 -0
|
@@ -1,34 +1,16 @@
|
|
|
1
|
+
import type { ApiV2ShowcaseUserRoleConnectionType } from '../v2/showcaseUserRoleConnection';
|
|
1
2
|
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2ShowcaseUserRoleConnectionApiEndpointSlug as apiV3ShowcaseUserRoleConnectionApiEndpointSlug } from '../v2/showcaseUserRoleConnection';
|
|
2
4
|
/**
|
|
3
5
|
* Type for the individual array items in v3 of the API for the showcase user role connection endpoint.
|
|
4
6
|
*/
|
|
5
|
-
export type ApiV3ShowcaseUserRoleConnectionType = {
|
|
6
|
-
/**
|
|
7
|
-
* String representation of when the entity relation was created.
|
|
8
|
-
*/
|
|
9
|
-
created: string;
|
|
7
|
+
export type ApiV3ShowcaseUserRoleConnectionType = ApiV2ShowcaseUserRoleConnectionType & {
|
|
10
8
|
/**
|
|
11
9
|
* Unique ID for the showcase user role connection.
|
|
12
10
|
*/
|
|
13
11
|
id: number;
|
|
14
|
-
/**
|
|
15
|
-
* String representation of when the entity relation was last updated.
|
|
16
|
-
*/
|
|
17
|
-
lastUpdated: string;
|
|
18
|
-
/**
|
|
19
|
-
* Showcase ID.
|
|
20
|
-
*/
|
|
21
|
-
showcaseId: number;
|
|
22
|
-
/**
|
|
23
|
-
* User role ID.
|
|
24
|
-
*/
|
|
25
|
-
userRoleId: number;
|
|
26
12
|
};
|
|
27
13
|
/**
|
|
28
14
|
* The API response type for showcase user role connection items.
|
|
29
15
|
*/
|
|
30
16
|
export type ApiV3ShowcaseUserRoleConnectionResponseType = ApiV3BaseResponseType<ApiV3ShowcaseUserRoleConnectionType[], number>;
|
|
31
|
-
/**
|
|
32
|
-
* API endpoint slug.
|
|
33
|
-
*/
|
|
34
|
-
export declare const apiV3ShowcaseUserRoleConnectionApiEndpointSlug = "showcase-user-role-connections";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matochmat/api-client",
|
|
3
3
|
"description": "API types and helper functionality for the Mat och Mat API.",
|
|
4
|
-
"version": "2.0.0-next.
|
|
4
|
+
"version": "2.0.0-next.3",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"eslint-plugin-jsdoc": "^50.3.1",
|
|
41
41
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
42
42
|
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
43
|
-
"rimraf": "^6.0.1",
|
|
44
43
|
"rollup": "^4.24.4",
|
|
45
44
|
"standard-version": "^9.5.0",
|
|
46
45
|
"tsc-alias": "^1.8.10",
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
"typescript": "^5.6.2"
|
|
50
49
|
},
|
|
51
50
|
"scripts": {
|
|
52
|
-
"build": "
|
|
51
|
+
"build": "tsx scripts/generateMainIndexFile.ts && rollup -c && tsc-alias -p ./tsconfig.json",
|
|
53
52
|
"docs:generate": "typedoc 2> /dev/null && git add docs && git commit --no-verify -m 'docs: Autogenerated documentation'",
|
|
54
53
|
"lint": "eslint ./src --ext .ts",
|
|
55
54
|
"release": "( npm whoami || npm login ) && git checkout main && git merge develop --no-ff -m \"chore: Merge branch 'develop' into 'main'\" && npm run build && git add dist src && git commit --no-verify -m 'chore: Built dist files and types'; npm run docs:generate; standard-version --no-verify && git push origin main develop --tags && npm publish --access public && npm run update-next-tag && git checkout develop && git merge main --ff-only",
|
package/dist/v1/bonusStamp.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
export type ApiV1BonusStampType = {
|
|
5
|
-
/**
|
|
6
|
-
* When the stamp was last updated.
|
|
7
|
-
*/
|
|
8
|
-
lastUpdated: string;
|
|
9
|
-
/**
|
|
10
|
-
* Restaurant ID of the restaurant where stamps are valid.
|
|
11
|
-
*/
|
|
12
|
-
restaurantId: number;
|
|
13
|
-
/**
|
|
14
|
-
* Current number of stamps.
|
|
15
|
-
*/
|
|
16
|
-
stampCount: number;
|
|
17
|
-
/**
|
|
18
|
-
* User ID of the user the stamps belong to.
|
|
19
|
-
*/
|
|
20
|
-
userId: number;
|
|
21
|
-
};
|
package/dist/v1/favorite.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
export type ApiV2UserLocationType = {
|
|
5
|
-
/**
|
|
6
|
-
* @see {@link EntityLocation.endpoint}.
|
|
7
|
-
*/
|
|
8
|
-
cityId: number;
|
|
9
|
-
/**
|
|
10
|
-
* @see {@link EntityLocation.items}.
|
|
11
|
-
*/
|
|
12
|
-
lastUpdated: string;
|
|
13
|
-
/**
|
|
14
|
-
* @see {@link EntityLocation.endpoint}.
|
|
15
|
-
*/
|
|
16
|
-
userId: number;
|
|
17
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2BonusStampCodeType } from '../v2/bonusStampCode';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2BonusStampCodeApiEndpointSlug as apiV3BonusStampCodeApiEndpointSlug } from '../v2/bonusStampCode';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the bonus stamp code endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3BonusStampCodeType = ApiV2BonusStampCodeType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for bonus stamp code items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3BonusStampCodeResponseType = ApiV3BaseResponseType<ApiV3BonusStampCodeType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2BaseResponseType } from '../v2/baseResponse';
|
|
2
|
-
import type { ApiV2CateringFunctionalityType } from '../v2/cateringFunctionality';
|
|
3
|
-
export { apiV2CateringFunctionalityApiEndpointSlug as apiV3CateringFunctionalityApiEndpointSlug } from '../v2/cateringFunctionality';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the catering functionality endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CateringFunctionalityType = ApiV2CateringFunctionalityType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for catering functionality.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3CateringFunctionalityResponseType = ApiV2BaseResponseType<ApiV3CateringFunctionalityType[], number>;
|
package/dist/v3/city.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CityType } from '../v2/city';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2CityApiEndpointSlug as apiV3CityApiEndpointSlug } from '../v2/city';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the city endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CityType = ApiV2CityType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for city items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3CityResponseType = ApiV3BaseResponseType<ApiV3CityType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CityUploadConnectionType } from '../v2/cityUploadConnection';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2CityUploadConnectionApiEndpointSlug as apiV3CityUploadConnectionApiEndpointSlug } from '../v2/cityUploadConnection';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the city upload connection endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CityUploadConnectionType = ApiV2CityUploadConnectionType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for city upload connection items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3UCityUploadConnectionResponseType = ApiV3BaseResponseType<ApiV3CityUploadConnectionType[], number>;
|
package/dist/v3/coupon.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CouponType } from '../v2/coupon';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
import type { ApiV3CouponLocationType } from '../v3/couponLocation';
|
|
4
|
-
export { apiV2CouponApiEndpointSlug as apiV3CouponApiEndpointSlug } from '../v2/coupon';
|
|
5
|
-
/**
|
|
6
|
-
* Type for the individual array items in v3 of the API for the coupon endpoint.
|
|
7
|
-
*/
|
|
8
|
-
export type ApiV3CouponType = ApiV2CouponType & {
|
|
9
|
-
/**
|
|
10
|
-
* List of locations where the coupon should be displayed.
|
|
11
|
-
*/
|
|
12
|
-
couponLocationList: ApiV3CouponLocationType[];
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The API response type for coupon items.
|
|
16
|
-
*/
|
|
17
|
-
export type ApiV3CouponResponseType = ApiV3BaseResponseType<ApiV3CouponType[], number>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
2
|
-
/**
|
|
3
|
-
* Type for the individual array items in v3 of the API for the coupon location endpoint.
|
|
4
|
-
*/
|
|
5
|
-
export type ApiV3CouponLocationType = {
|
|
6
|
-
/**
|
|
7
|
-
* City ID for the location.
|
|
8
|
-
*/
|
|
9
|
-
cityId: number;
|
|
10
|
-
/**
|
|
11
|
-
* ID of the coupon the location represents.
|
|
12
|
-
*/
|
|
13
|
-
couponId: number;
|
|
14
|
-
/**
|
|
15
|
-
* Unique ID for the coupon location.
|
|
16
|
-
*/
|
|
17
|
-
id: number;
|
|
18
|
-
/**
|
|
19
|
-
* Timestamp for when the entity was last updated.
|
|
20
|
-
*/
|
|
21
|
-
lastUpdated: string;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* The API response type for coupon location items.
|
|
25
|
-
*/
|
|
26
|
-
export type ApiV3CouponLocationResponseType = ApiV3BaseResponseType<ApiV3CouponLocationType[], number>;
|
|
27
|
-
/**
|
|
28
|
-
* API endpoint slug.
|
|
29
|
-
*/
|
|
30
|
-
export declare const apiV3CouponLocationApiEndpointSlug = "coupon-locations";
|
package/dist/v3/customer.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CustomerType } from '../v2/customer';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2CustomerApiEndpointSlug as apiV3CustomerApiEndpointSlug } from '../v2/customer';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the customer endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CustomerType = ApiV2CustomerType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for customer items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3CustomerResponseType = ApiV3BaseResponseType<ApiV3CustomerType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2CustomerContactType } from '../v2/customerContact';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2CustomerContactApiEndpointSlug as apiV3CustomerContactApiEndpointSlug } from '../v2/customerContact';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the customer contact endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3CustomerContactType = ApiV2CustomerContactType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for customer contacts items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3CustomerContactResponseType = ApiV3BaseResponseType<ApiV3CustomerContactType[], number>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
2
|
-
/**
|
|
3
|
-
* Type for the individual array items in v3 of the API for the customer management endpoint.
|
|
4
|
-
*/
|
|
5
|
-
export type ApiV3CustomerManagementType = {
|
|
6
|
-
/**
|
|
7
|
-
* String representation of when the entity relation was created.
|
|
8
|
-
*/
|
|
9
|
-
created: string;
|
|
10
|
-
/**
|
|
11
|
-
* Customer ID.
|
|
12
|
-
*/
|
|
13
|
-
customerId: number;
|
|
14
|
-
/**
|
|
15
|
-
* Unique ID for the customer management.
|
|
16
|
-
*/
|
|
17
|
-
id: number;
|
|
18
|
-
/**
|
|
19
|
-
* String representation of when the entity relation was last updated.
|
|
20
|
-
*/
|
|
21
|
-
lastUpdated: string;
|
|
22
|
-
/**
|
|
23
|
-
* User ID.
|
|
24
|
-
*/
|
|
25
|
-
userId: number;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* The API response type for customer management items.
|
|
29
|
-
*/
|
|
30
|
-
export type ApiV3CustomerManagementResponseType = ApiV3BaseResponseType<ApiV3CustomerManagementType[], number>;
|
|
31
|
-
/**
|
|
32
|
-
* API endpoint slug.
|
|
33
|
-
*/
|
|
34
|
-
export declare const apiV3CustomerManagementApiEndpointSlug = "customer-management";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ApiV2BaseResponseType } from '../v2/baseResponse';
|
|
2
|
-
import type { ApiV2DinnerFunctionalityType } from '../v2/dinnerFunctionality';
|
|
3
|
-
import type { ApiV3OpeningHourType } from '../v3/openingHour';
|
|
4
|
-
export { apiV2DinnerFunctionalityApiEndpointSlug as apiV3DinnerFunctionalityApiEndpointSlug } from '../v2/dinnerFunctionality';
|
|
5
|
-
/**
|
|
6
|
-
* Type for the individual array items in v3 of the API for the dinner functionality endpoint.
|
|
7
|
-
*/
|
|
8
|
-
export type ApiV3DinnerFunctionalityType = Omit<ApiV2DinnerFunctionalityType, 'openingHourList'> & {
|
|
9
|
-
/**
|
|
10
|
-
* List of opening hours for the dinner.
|
|
11
|
-
*/
|
|
12
|
-
openingHourList: ApiV3OpeningHourType[];
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The API response type for dinner functionality.
|
|
16
|
-
*/
|
|
17
|
-
export type ApiV3DinnerFunctionalityResponseType = ApiV2BaseResponseType<ApiV3DinnerFunctionalityType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2DinnerFunctionalityTypeType } from '../v2/dinnerFunctionalityType';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2DinnerFunctionalityTypeApiEndpointSlug as apiV3DinnerFunctionalityTypeApiEndpointSlug } from '../v2/dinnerFunctionalityType';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the dinner functionality type endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3DinnerFunctionalityTypeType = ApiV2DinnerFunctionalityTypeType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for dinner functionality type items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3DinnerFunctionalityTypeResponseType = ApiV3BaseResponseType<ApiV3DinnerFunctionalityTypeType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2DynamicContentType } from '../v2/dynamicContent';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2DynamicContentApiEndpointSlug as apiV3DynamicContentApiEndpointSlug } from '../v2/dynamicContent';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the dynamic content endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3DynamicContentType = ApiV2DynamicContentType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for dynamic content items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3DynamicContentResponseType = ApiV3BaseResponseType<ApiV3DynamicContentType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2EmailTemplateType } from '../v2/emailTemplate';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2EmailTemplateApiEndpointSlug as apiV3EmailTemplateApiEndpointSlug } from '../v2/emailTemplate';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the email template endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3EmailTemplateType = ApiV2EmailTemplateType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for email template items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3EmailTemplateResponseType = ApiV3BaseResponseType<ApiV3EmailTemplateType[], number>;
|
package/dist/v3/geodata.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2GeodataType } from '../v2/geodata';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2GeodataApiEndpointSlug as apiV3GeodataApiEndpointSlug } from '../v2/geodata';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the geodata endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3GeodataType = ApiV2GeodataType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for geodata items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3GeodataResponseType = ApiV3BaseResponseType<ApiV3GeodataType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2BaseResponseType } from '../v2/baseResponse';
|
|
2
|
-
import type { ApiV2LunchBoxFunctionalityType } from '../v2/lunchBoxFunctionality';
|
|
3
|
-
export { apiV2LunchBoxFunctionalityApiEndpointSlug as apiV3LunchBoxFunctionalityApiEndpointSlug } from '../v2/lunchBoxFunctionality';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the lunch box functionality endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3LunchBoxFunctionalityType = ApiV2LunchBoxFunctionalityType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for lunch box functionality.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3LunchBoxFunctionalityResponseType = ApiV2BaseResponseType<ApiV3LunchBoxFunctionalityType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2NotificationPreferenceType } from '../v2/notificationPreference';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2NotificationPreferenceApiEndpointSlug as apiV3NotificationPreferenceApiEndpointSlug } from '../v2/notificationPreference';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the notification preference endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3NotificationPreferenceType = ApiV2NotificationPreferenceType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for notification preference items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3NotificationPreferenceResponseType = ApiV3BaseResponseType<ApiV3NotificationPreferenceType[], number>;
|
package/dist/v3/policy.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2PolicyType } from '../v2/policy';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2PolicyApiEndpointSlug as apiV3PolicyApiEndpointSlug } from '../v2/policy';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the policy endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3PolicyType = ApiV2PolicyType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for policy items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3PolicyResponseType = ApiV3BaseResponseType<ApiV3PolicyType[], number>;
|
package/dist/v3/restaurant.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { ApiV2BaseResponseType } from '../v2/baseResponse';
|
|
2
|
-
import type { ApiV2RestaurantType } from '../v2/restaurant';
|
|
3
|
-
import type { ApiV3CateringFunctionalityType } from '../v3/cateringFunctionality';
|
|
4
|
-
import type { ApiV3DinnerFunctionalityType } from '../v3/dinnerFunctionality';
|
|
5
|
-
import type { ApiV3LunchBoxFunctionalityType } from '../v3/lunchBoxFunctionality';
|
|
6
|
-
import type { ApiV3LunchFunctionalityType } from '../v3/lunchFunctionality';
|
|
7
|
-
export { apiV2RestaurantApiEndpointSlug as apiV3RestaurantApiEndpointSlug } from '../v2/restaurant';
|
|
8
|
-
/**
|
|
9
|
-
* Type for the individual array items in v3 of the API for the restaurant endpoint.
|
|
10
|
-
* NOTE: This is currently marked "internal" (not really, but treat it as if it were) since the interface is actively undergoing change to a modernized structures. It is very much a WIP and should be treated as such. Breaking changes to this not only can, but **will**, occur.
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
export type ApiV3RestaurantType = Omit<ApiV2RestaurantType, 'cateringFunctionality' | 'dinnerFunctionality' | 'lunchBoxFunctionality' | 'lunchFunctionality'> & {
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
cateringFunctionality: ApiV3CateringFunctionalityType;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
dinnerFunctionality: ApiV3DinnerFunctionalityType;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
lunchBoxFunctionality: ApiV3LunchBoxFunctionalityType;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
lunchFunctionality: ApiV3LunchFunctionalityType;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* The API response type for restaurant.
|
|
33
|
-
*/
|
|
34
|
-
export type ApiV3RestaurantResponseType = ApiV2BaseResponseType<ApiV3RestaurantType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2RestaurantUploadConnectionType } from '../v2/restaurantUploadConnection';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2RestaurantUploadConnectionApiEndpointSlug as apiV3RestaurantUploadConnectionApiEndpointSlug } from '../v2/restaurantUploadConnection';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the restaurant upload connection endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3RestaurantUploadConnectionType = ApiV2RestaurantUploadConnectionType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for restaurant upload connection items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3URestaurantUploadConnectionResponseType = ApiV3BaseResponseType<ApiV3RestaurantUploadConnectionType[], number>;
|
package/dist/v3/session.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { apiV2SessionApiEndpointSlug as apiV3SessionApiEndpointSlug } from '../v2/session';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2SubscriptionPeriodType } from '../v2/subscriptionPeriod';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2SubscriptionPeriodApiEndpointSlug as apiV3SubscriptionPeriodApiEndpointSlug } from '../v2/subscriptionPeriod';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the subscription period endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3SubscriptionPeriodType = ApiV2SubscriptionPeriodType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for subscription period items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3SubscriptionPeriodResponseType = ApiV3BaseResponseType<ApiV3SubscriptionPeriodType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2SystemSettingType } from '../v2/systemSetting';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2SystemSettingApiEndpointSlug as apiV3SystemSettingApiEndpointSlug } from '../v2/systemSetting';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the system setting endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3SystemSettingType<T = unknown> = ApiV2SystemSettingType<T>;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for system setting items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3SystemSettingResponseType = ApiV3BaseResponseType<ApiV3SystemSettingType[], number>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApiV2UpdatedByTypeType } from '../v2/updatedByType';
|
|
2
|
-
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
-
export { apiV2UpdatedByTypeApiEndpointSlug as apiV3UpdatedByTypeApiEndpointSlug } from '../v2/updatedByType';
|
|
4
|
-
/**
|
|
5
|
-
* Type for the individual array items in v3 of the API for the updated by type endpoint.
|
|
6
|
-
*/
|
|
7
|
-
export type ApiV3UpdatedByTypeType = ApiV2UpdatedByTypeType;
|
|
8
|
-
/**
|
|
9
|
-
* The API response type for updated by type items.
|
|
10
|
-
*/
|
|
11
|
-
export type ApiV3UpdatedByTypeResponseType = ApiV3BaseResponseType<ApiV3UpdatedByTypeType[], number>;
|
package/dist/v3/user.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { apiV2UserApiEndpointSlug as apiV3UserApiEndpointSlug } from '../v2/user';
|
|
File without changes
|