@matochmat/api-client 1.3.1 → 1.3.2-next.1
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/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './src/v2/city';
|
|
|
6
6
|
export * from './src/v2/cityUploadConnection';
|
|
7
7
|
export * from './src/v2/cityUploadGrouping';
|
|
8
8
|
export * from './src/v2/crawlingConfiguration';
|
|
9
|
+
export * from './src/v2/crawlingConfigurationTextContentStrategyType.ts';
|
|
9
10
|
export * from './src/v2/date';
|
|
10
11
|
export * from './src/v2/day';
|
|
11
12
|
export * from './src/v2/deliveryInfo';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Type for the individual array items in v2 of the API for the crawling
|
|
4
|
+
* Type for the individual array items in v2 of the API for the crawling configuration endpoint.
|
|
5
5
|
*/
|
|
6
6
|
export type ApiV2CrawlingConfigurationType =
|
|
7
7
|
{
|
|
@@ -45,6 +45,11 @@ export type ApiV2CrawlingConfigurationType =
|
|
|
45
45
|
*/
|
|
46
46
|
restaurantId: number;
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Strategy to use for getting text content.
|
|
50
|
+
*/
|
|
51
|
+
textContentStrategyTypeId: 1|2;
|
|
52
|
+
|
|
48
53
|
/**
|
|
49
54
|
* URL to crawl.
|
|
50
55
|
*/
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ApiV2BaseResponseType } from '@matochmat/api-client/src/v2/baseResponse';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API endpoint slug.
|
|
5
|
+
*/
|
|
6
|
+
export const crawlingConfigurationTextContentStrategyTypeApiEndpointSlug = 'crawling-configuration-text-content-strategy-types';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Type for the individual array items in v2 of the API for the crawling configuration text content strategy type endpoint.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV2CrawlingConfigurationTextContentStrategyTypeType =
|
|
12
|
+
{
|
|
13
|
+
/**
|
|
14
|
+
* Timestamp for when the entity was created.
|
|
15
|
+
*/
|
|
16
|
+
created: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Unique ID for the entity.
|
|
20
|
+
*/
|
|
21
|
+
id: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Timestamp for when the entity was last updated.
|
|
25
|
+
*/
|
|
26
|
+
lastUpdated: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Human readable name.
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The API response type for crawling configurations.
|
|
36
|
+
*/
|
|
37
|
+
export type ApiV2CrawlingConfigurationTextContentStrategyTypeResponseType = ApiV2BaseResponseType<ApiV2CrawlingConfigurationTextContentStrategyTypeType[], number>;
|