@matochmat/api-client 1.4.0-next.0 → 1.4.0

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 CHANGED
@@ -35,6 +35,11 @@ const apiV2DinnerDishCategoryApiEndpointSlug = 'dinner-dish-categories';
35
35
  */
36
36
  const apiV2DinnerDishTabApiEndpointSlug = 'dinner-dish-tabs';
37
37
 
38
+ /**
39
+ * API endpoint slug.
40
+ */
41
+ const apiV2UpdatedByTypeApiEndpointSlug = 'updated-by-types';
42
+
38
43
  exports.apiV2CateringDishApiEndpointSlug = apiV2CateringDishApiEndpointSlug;
39
44
  exports.apiV2CateringDishCategoryApiEndpointSlug = apiV2CateringDishCategoryApiEndpointSlug;
40
45
  exports.apiV2CateringDishTabApiEndpointSlug = apiV2CateringDishTabApiEndpointSlug;
@@ -42,4 +47,5 @@ exports.apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug = apiV2
42
47
  exports.apiV2DinnerDishApiEndpointSlug = apiV2DinnerDishApiEndpointSlug;
43
48
  exports.apiV2DinnerDishCategoryApiEndpointSlug = apiV2DinnerDishCategoryApiEndpointSlug;
44
49
  exports.apiV2DinnerDishTabApiEndpointSlug = apiV2DinnerDishTabApiEndpointSlug;
50
+ exports.apiV2UpdatedByTypeApiEndpointSlug = apiV2UpdatedByTypeApiEndpointSlug;
45
51
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../src/v2/cateringDish.ts","../src/v2/cateringDishCategory.ts","../src/v2/cateringDishTab.ts","../src/v2/crawlingConfigurationTextContentStrategyType.ts","../src/v2/dinnerDish.ts","../src/v2/dinnerDishCategory.ts","../src/v2/dinnerDishTab.ts"],"sourcesContent":["import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishApiEndpointSlug = 'catering-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish endpoint.\n */\nexport type ApiV2CateringDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishCategoryId: number;\n};\n\n/**\n * The API response type for catering dishes.\n */\nexport type ApiV2CateringDishResponseType = ApiV2BaseResponseType<ApiV2CateringDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishCategoryApiEndpointSlug = 'catering-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishTabId: number;\n};\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishCategoryResponseType = ApiV2BaseResponseType<ApiV2CateringDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishTabApiEndpointSlug = 'catering-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishTabResponseType = ApiV2BaseResponseType<ApiV2CateringDishTabType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug = 'crawling-configuration-text-content-strategy-types';\n\n/**\n * Type for the individual array items in v2 of the API for the crawling configuration text content strategy type endpoint.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeType =\n{\n\t/**\n\t * Timestamp for when the entity was created.\n\t */\n\tcreated: string;\n\n\t/**\n\t * Unique ID for the entity.\n\t */\n\tid: 1|2|3;\n\n\t/**\n\t * Timestamp for when the entity was last updated.\n\t */\n\tlastUpdated: string;\n\n\t/**\n\t * Human readable name.\n\t */\n\tname: string;\n};\n\n/**\n * The API response type for crawling configurations.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeResponseType = ApiV2BaseResponseType<ApiV2CrawlingConfigurationTextContentStrategyTypeType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishApiEndpointSlug = 'dinner-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish endpoint.\n */\nexport type ApiV2DinnerDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishCategoryId: number;\n};\n\n/**\n * The API response type for dinner dishes.\n */\nexport type ApiV2DinnerDishResponseType = ApiV2BaseResponseType<ApiV2DinnerDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishCategoryApiEndpointSlug = 'dinner-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishTabId: number;\n};\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishCategoryResponseType = ApiV2BaseResponseType<ApiV2DinnerDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishTabApiEndpointSlug = 'dinner-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishTabResponseType = ApiV2BaseResponseType<ApiV2DinnerDishTabType[], number>;\n"],"names":[],"mappings":";;AAGA;;AAEG;AACI,MAAM,gCAAgC,GAAG;;ACHhD;;AAEG;AACI,MAAM,wCAAwC,GAAG;;ACHxD;;AAEG;AACI,MAAM,mCAAmC,GAAG;;ACJnD;;AAEG;AACI,MAAM,gEAAgE,GAAG;;ACFhF;;AAEG;AACI,MAAM,8BAA8B,GAAG;;ACH9C;;AAEG;AACI,MAAM,sCAAsC,GAAG;;ACHtD;;AAEG;AACI,MAAM,iCAAiC,GAAG;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/v2/cateringDish.ts","../src/v2/cateringDishCategory.ts","../src/v2/cateringDishTab.ts","../src/v2/crawlingConfigurationTextContentStrategyType.ts","../src/v2/dinnerDish.ts","../src/v2/dinnerDishCategory.ts","../src/v2/dinnerDishTab.ts","../src/v2/updatedByType.ts"],"sourcesContent":["import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishApiEndpointSlug = 'catering-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish endpoint.\n */\nexport type ApiV2CateringDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishCategoryId: number;\n};\n\n/**\n * The API response type for catering dishes.\n */\nexport type ApiV2CateringDishResponseType = ApiV2BaseResponseType<ApiV2CateringDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishCategoryApiEndpointSlug = 'catering-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishTabId: number;\n};\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishCategoryResponseType = ApiV2BaseResponseType<ApiV2CateringDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishTabApiEndpointSlug = 'catering-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishTabResponseType = ApiV2BaseResponseType<ApiV2CateringDishTabType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug = 'crawling-configuration-text-content-strategy-types';\n\n/**\n * Type for the individual array items in v2 of the API for the crawling configuration text content strategy type endpoint.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeType =\n{\n\t/**\n\t * Timestamp for when the entity was created.\n\t */\n\tcreated: string;\n\n\t/**\n\t * Unique ID for the entity.\n\t */\n\tid: 1|2|3;\n\n\t/**\n\t * Timestamp for when the entity was last updated.\n\t */\n\tlastUpdated: string;\n\n\t/**\n\t * Human readable name.\n\t */\n\tname: string;\n};\n\n/**\n * The API response type for crawling configurations.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeResponseType = ApiV2BaseResponseType<ApiV2CrawlingConfigurationTextContentStrategyTypeType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishApiEndpointSlug = 'dinner-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish endpoint.\n */\nexport type ApiV2DinnerDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishCategoryId: number;\n};\n\n/**\n * The API response type for dinner dishes.\n */\nexport type ApiV2DinnerDishResponseType = ApiV2BaseResponseType<ApiV2DinnerDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishCategoryApiEndpointSlug = 'dinner-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishTabId: number;\n};\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishCategoryResponseType = ApiV2BaseResponseType<ApiV2DinnerDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishTabApiEndpointSlug = 'dinner-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishTabResponseType = ApiV2BaseResponseType<ApiV2DinnerDishTabType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2UpdatedByTypeApiEndpointSlug = 'updated-by-types';\n\n/**\n *\n */\nexport type ApiV2UpdatedByTypeType =\n{\n\t/**\n\t * String representation of when the entity was created.\n\t */\n\tcreated: string;\n\n\t/**\n\t * Unique ID for the entity.\n\t */\n\tid: number;\n\n\t/**\n\t * String representation of the last time the entity was updated.\n\t */\n\tlastUpdated: string;\n\n\t/**\n\t * Human readable name.\n\t */\n\tname: string;\n};\n\n/**\n * The API response type for \"Updated by\" types.\n */\nexport type ApiV2UpdatedByTypeResponseType = ApiV2BaseResponseType<ApiV2UpdatedByTypeType[], number>;\n\n"],"names":[],"mappings":";;AAGA;;AAEG;AACI,MAAM,gCAAgC,GAAG;;ACHhD;;AAEG;AACI,MAAM,wCAAwC,GAAG;;ACHxD;;AAEG;AACI,MAAM,mCAAmC,GAAG;;ACJnD;;AAEG;AACI,MAAM,gEAAgE,GAAG;;ACFhF;;AAEG;AACI,MAAM,8BAA8B,GAAG;;ACH9C;;AAEG;AACI,MAAM,sCAAsC,GAAG;;ACHtD;;AAEG;AACI,MAAM,iCAAiC,GAAG;;ACJjD;;AAEG;AACI,MAAM,iCAAiC,GAAG;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -35,6 +35,7 @@ export * from './v2/restaurantUploadConnection';
35
35
  export * from './v2/restaurantUploadGrouping';
36
36
  export * from './v2/tableBooking';
37
37
  export * from './v2/takeAway';
38
+ export * from './v2/updatedByType';
38
39
  export * from './v2/upload';
39
40
  export * from './v2/uploadConnection';
40
41
  export * from './v2/uploadGrouping';
package/dist/index.esm.js CHANGED
@@ -33,5 +33,10 @@ const apiV2DinnerDishCategoryApiEndpointSlug = 'dinner-dish-categories';
33
33
  */
34
34
  const apiV2DinnerDishTabApiEndpointSlug = 'dinner-dish-tabs';
35
35
 
36
- export { apiV2CateringDishApiEndpointSlug, apiV2CateringDishCategoryApiEndpointSlug, apiV2CateringDishTabApiEndpointSlug, apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug, apiV2DinnerDishApiEndpointSlug, apiV2DinnerDishCategoryApiEndpointSlug, apiV2DinnerDishTabApiEndpointSlug };
36
+ /**
37
+ * API endpoint slug.
38
+ */
39
+ const apiV2UpdatedByTypeApiEndpointSlug = 'updated-by-types';
40
+
41
+ export { apiV2CateringDishApiEndpointSlug, apiV2CateringDishCategoryApiEndpointSlug, apiV2CateringDishTabApiEndpointSlug, apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug, apiV2DinnerDishApiEndpointSlug, apiV2DinnerDishCategoryApiEndpointSlug, apiV2DinnerDishTabApiEndpointSlug, apiV2UpdatedByTypeApiEndpointSlug };
37
42
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../src/v2/cateringDish.ts","../src/v2/cateringDishCategory.ts","../src/v2/cateringDishTab.ts","../src/v2/crawlingConfigurationTextContentStrategyType.ts","../src/v2/dinnerDish.ts","../src/v2/dinnerDishCategory.ts","../src/v2/dinnerDishTab.ts"],"sourcesContent":["import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishApiEndpointSlug = 'catering-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish endpoint.\n */\nexport type ApiV2CateringDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishCategoryId: number;\n};\n\n/**\n * The API response type for catering dishes.\n */\nexport type ApiV2CateringDishResponseType = ApiV2BaseResponseType<ApiV2CateringDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishCategoryApiEndpointSlug = 'catering-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishTabId: number;\n};\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishCategoryResponseType = ApiV2BaseResponseType<ApiV2CateringDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishTabApiEndpointSlug = 'catering-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishTabResponseType = ApiV2BaseResponseType<ApiV2CateringDishTabType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug = 'crawling-configuration-text-content-strategy-types';\n\n/**\n * Type for the individual array items in v2 of the API for the crawling configuration text content strategy type endpoint.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeType =\n{\n\t/**\n\t * Timestamp for when the entity was created.\n\t */\n\tcreated: string;\n\n\t/**\n\t * Unique ID for the entity.\n\t */\n\tid: 1|2|3;\n\n\t/**\n\t * Timestamp for when the entity was last updated.\n\t */\n\tlastUpdated: string;\n\n\t/**\n\t * Human readable name.\n\t */\n\tname: string;\n};\n\n/**\n * The API response type for crawling configurations.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeResponseType = ApiV2BaseResponseType<ApiV2CrawlingConfigurationTextContentStrategyTypeType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishApiEndpointSlug = 'dinner-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish endpoint.\n */\nexport type ApiV2DinnerDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishCategoryId: number;\n};\n\n/**\n * The API response type for dinner dishes.\n */\nexport type ApiV2DinnerDishResponseType = ApiV2BaseResponseType<ApiV2DinnerDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishCategoryApiEndpointSlug = 'dinner-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishTabId: number;\n};\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishCategoryResponseType = ApiV2BaseResponseType<ApiV2DinnerDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishTabApiEndpointSlug = 'dinner-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishTabResponseType = ApiV2BaseResponseType<ApiV2DinnerDishTabType[], number>;\n"],"names":[],"mappings":"AAGA;;AAEG;AACI,MAAM,gCAAgC,GAAG;;ACHhD;;AAEG;AACI,MAAM,wCAAwC,GAAG;;ACHxD;;AAEG;AACI,MAAM,mCAAmC,GAAG;;ACJnD;;AAEG;AACI,MAAM,gEAAgE,GAAG;;ACFhF;;AAEG;AACI,MAAM,8BAA8B,GAAG;;ACH9C;;AAEG;AACI,MAAM,sCAAsC,GAAG;;ACHtD;;AAEG;AACI,MAAM,iCAAiC,GAAG;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../src/v2/cateringDish.ts","../src/v2/cateringDishCategory.ts","../src/v2/cateringDishTab.ts","../src/v2/crawlingConfigurationTextContentStrategyType.ts","../src/v2/dinnerDish.ts","../src/v2/dinnerDishCategory.ts","../src/v2/dinnerDishTab.ts","../src/v2/updatedByType.ts"],"sourcesContent":["import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishApiEndpointSlug = 'catering-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish endpoint.\n */\nexport type ApiV2CateringDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishCategoryId: number;\n};\n\n/**\n * The API response type for catering dishes.\n */\nexport type ApiV2CateringDishResponseType = ApiV2BaseResponseType<ApiV2CateringDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishCategoryApiEndpointSlug = 'catering-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the catering dish belongs to.\n\t */\n\tcateringDishTabId: number;\n};\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishCategoryResponseType = ApiV2BaseResponseType<ApiV2CateringDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CateringDishTabApiEndpointSlug = 'catering-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the catering dish category endpoint.\n */\nexport type ApiV2CateringDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for catering dish categories.\n */\nexport type ApiV2CateringDishTabResponseType = ApiV2BaseResponseType<ApiV2CateringDishTabType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2CrawlingConfigurationTextContentStrategyTypeApiEndpointSlug = 'crawling-configuration-text-content-strategy-types';\n\n/**\n * Type for the individual array items in v2 of the API for the crawling configuration text content strategy type endpoint.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeType =\n{\n\t/**\n\t * Timestamp for when the entity was created.\n\t */\n\tcreated: string;\n\n\t/**\n\t * Unique ID for the entity.\n\t */\n\tid: 1|2|3;\n\n\t/**\n\t * Timestamp for when the entity was last updated.\n\t */\n\tlastUpdated: string;\n\n\t/**\n\t * Human readable name.\n\t */\n\tname: string;\n};\n\n/**\n * The API response type for crawling configurations.\n */\nexport type ApiV2CrawlingConfigurationTextContentStrategyTypeResponseType = ApiV2BaseResponseType<ApiV2CrawlingConfigurationTextContentStrategyTypeType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishType } from '@matochmat/api-client/src/v2/dish';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishApiEndpointSlug = 'dinner-dishes';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish endpoint.\n */\nexport type ApiV2DinnerDishType = ApiV2DishType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishCategoryId: number;\n};\n\n/**\n * The API response type for dinner dishes.\n */\nexport type ApiV2DinnerDishResponseType = ApiV2BaseResponseType<ApiV2DinnerDishType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishCategoryType } from '@matochmat/api-client/src/v2/dishCategory';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishCategoryApiEndpointSlug = 'dinner-dish-categories';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishCategoryType = ApiV2DishCategoryType &\n{\n\t/**\n\t * ID of the category that the dinner dish belongs to.\n\t */\n\tdinnerDishTabId: number;\n};\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishCategoryResponseType = ApiV2BaseResponseType<ApiV2DinnerDishCategoryType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\nimport type { ApiV2DishTabType } from '@matochmat/api-client/src/v2/dishTab';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2DinnerDishTabApiEndpointSlug = 'dinner-dish-tabs';\n\n/**\n * Type for the individual array items in v2 of the API for the dinner dish category endpoint.\n */\nexport type ApiV2DinnerDishTabType = ApiV2DishTabType;\n\n/**\n * The API response type for dinner dish categories.\n */\nexport type ApiV2DinnerDishTabResponseType = ApiV2BaseResponseType<ApiV2DinnerDishTabType[], number>;\n","import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';\n\n/**\n * API endpoint slug.\n */\nexport const apiV2UpdatedByTypeApiEndpointSlug = 'updated-by-types';\n\n/**\n *\n */\nexport type ApiV2UpdatedByTypeType =\n{\n\t/**\n\t * String representation of when the entity was created.\n\t */\n\tcreated: string;\n\n\t/**\n\t * Unique ID for the entity.\n\t */\n\tid: number;\n\n\t/**\n\t * String representation of the last time the entity was updated.\n\t */\n\tlastUpdated: string;\n\n\t/**\n\t * Human readable name.\n\t */\n\tname: string;\n};\n\n/**\n * The API response type for \"Updated by\" types.\n */\nexport type ApiV2UpdatedByTypeResponseType = ApiV2BaseResponseType<ApiV2UpdatedByTypeType[], number>;\n\n"],"names":[],"mappings":"AAGA;;AAEG;AACI,MAAM,gCAAgC,GAAG;;ACHhD;;AAEG;AACI,MAAM,wCAAwC,GAAG;;ACHxD;;AAEG;AACI,MAAM,mCAAmC,GAAG;;ACJnD;;AAEG;AACI,MAAM,gEAAgE,GAAG;;ACFhF;;AAEG;AACI,MAAM,8BAA8B,GAAG;;ACH9C;;AAEG;AACI,MAAM,sCAAsC,GAAG;;ACHtD;;AAEG;AACI,MAAM,iCAAiC,GAAG;;ACJjD;;AAEG;AACI,MAAM,iCAAiC,GAAG;;;;"}
@@ -11,7 +11,7 @@ export type ApiV2BaseResponseType<DataType, CountType extends null | number> = {
11
11
  */
12
12
  count: CountType;
13
13
  /**
14
- * Array of items.
14
+ * Response data.
15
15
  */
16
16
  data: DataType;
17
17
  /**
@@ -151,6 +151,10 @@ export type ApiV2RestaurantType = {
151
151
  * Take away info for the restaurant.
152
152
  */
153
153
  takeAway: ApiV2TakeAwayType;
154
+ /**
155
+ * Type for who updates the restaurant's menus.
156
+ */
157
+ updatedByTypeId: 1 | 2 | 3;
154
158
  /**
155
159
  * URL to the restaurant's own website.
156
160
  */
@@ -0,0 +1,30 @@
1
+ import type { ApiV2BaseResponseType } from '../v2/baseResponse';
2
+ /**
3
+ * API endpoint slug.
4
+ */
5
+ export declare const apiV2UpdatedByTypeApiEndpointSlug = "updated-by-types";
6
+ /**
7
+ *
8
+ */
9
+ export type ApiV2UpdatedByTypeType = {
10
+ /**
11
+ * String representation of when the entity was created.
12
+ */
13
+ created: string;
14
+ /**
15
+ * Unique ID for the entity.
16
+ */
17
+ id: number;
18
+ /**
19
+ * String representation of the last time the entity was updated.
20
+ */
21
+ lastUpdated: string;
22
+ /**
23
+ * Human readable name.
24
+ */
25
+ name: string;
26
+ };
27
+ /**
28
+ * The API response type for "Updated by" types.
29
+ */
30
+ export type ApiV2UpdatedByTypeResponseType = ApiV2BaseResponseType<ApiV2UpdatedByTypeType[], number>;
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": "1.4.0-next.0",
4
+ "version": "1.4.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "homepage": "https://bitbucket.org/mat-och-mat/matochmat-api-client",
21
21
  "engines": {
22
- "node": ">=20.9"
22
+ "node": ">=20.10"
23
23
  },
24
24
  "files": [
25
25
  "dist"