@matochmat/api-client 1.7.0-next.9 → 2.0.0-next.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 +34 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +24 -2
- package/dist/index.esm.js +11 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/v2/customerQuote.d.ts +12 -2
- package/dist/v2/notice.d.ts +38 -0
- package/dist/v2/showcase.d.ts +22 -3
- package/dist/v2/showcaseLocation.d.ts +26 -0
- package/dist/v2/showcaseUserRoleConnection.d.ts +30 -0
- package/dist/v3/crawlingConfiguration.d.ts +11 -0
- package/dist/v3/crawlingConfigurationModel.d.ts +11 -0
- package/dist/v3/crawlingConfigurationTextContentStrategyType.d.ts +11 -0
- package/dist/v3/customerQuote.d.ts +11 -0
- package/dist/v3/customerQuoteUploadConnection.d.ts +11 -0
- package/dist/v3/displaySolutionV1Configuration.d.ts +11 -0
- package/dist/v3/integrationV1Configuration.d.ts +11 -0
- package/dist/v3/integrationV2Configuration.d.ts +11 -0
- package/dist/v3/notice.d.ts +11 -0
- package/dist/v3/order.d.ts +17 -0
- package/dist/v3/orderItem.d.ts +11 -0
- package/dist/v3/pdfV1Configuration.d.ts +11 -0
- package/dist/v3/pdfV1ConfigurationType.d.ts +11 -0
- package/dist/v3/pdfV2Configuration.d.ts +11 -0
- package/dist/v3/pdfV2ConfigurationType.d.ts +11 -0
- package/dist/v3/showcase.d.ts +22 -0
- package/dist/v3/showcaseLocation.d.ts +11 -0
- package/dist/v3/showcasePositionType.d.ts +11 -0
- package/dist/v3/showcaseType.d.ts +11 -0
- package/dist/v3/showcaseUserRoleConnection.d.ts +11 -0
- package/dist/v3/teamMemberUploadConnection.d.ts +11 -0
- package/dist/v3/upload.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2DisplaySolutionV1ConfigurationType } from '../v2/displaySolutionV1Configuration';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2DisplaySolutionV1ConfigurationApiEndpointSlug as apiV3DisplaySolutionV1ConfigurationApiEndpointSlug } from '../v2/displaySolutionV1Configuration';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the display solutions v1 configurations endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3DisplaySolutionV1ConfigurationType = ApiV2DisplaySolutionV1ConfigurationType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for display solutions v1 configurations.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3DisplaySolutionV1ConfigurationResponseType = ApiV3BaseResponseType<ApiV3DisplaySolutionV1ConfigurationType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2IntegrationV1ConfigurationType } from '../v2/integrationV1Configuration';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2IntegrationV1ConfigurationApiEndpointSlug as apiV3IntegrationV1ConfigurationApiEndpointSlug } from '../v2/integrationV1Configuration';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the integration v1 configurations endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3IntegrationV1ConfigurationType = ApiV2IntegrationV1ConfigurationType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for integration v1 configurations.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3IntegrationV1ConfigurationResponseType = ApiV3BaseResponseType<ApiV3IntegrationV1ConfigurationType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2IntegrationV2ConfigurationType } from '../v2/integrationV2Configuration';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2IntegrationV2ConfigurationApiEndpointSlug as apiV3IntegrationV2ConfigurationApiEndpointSlug } from '../v2/integrationV2Configuration';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the integration v2 configurations endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3IntegrationV2ConfigurationType = ApiV2IntegrationV2ConfigurationType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for integration v2 configurations.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3IntegrationV2ConfigurationResponseType = ApiV3BaseResponseType<ApiV3IntegrationV2ConfigurationType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2NoticeType } from '../v2/notice';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2NoticeApiEndpointSlug as apiV3NoticeApiEndpointSlug } from '../v2/notice';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the notice endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3NoticeType = ApiV2NoticeType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for notice items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3NoticeResponseType = ApiV3BaseResponseType<ApiV3NoticeType[], number>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ApiV2OrderType } from '../v2/order';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
import type { ApiV3OrderItemType } from '../v3/orderItem';
|
|
4
|
+
export { apiV2OrderApiEndpointSlug as apiV3OrderApiEndpointSlug } from '../v2/order';
|
|
5
|
+
/**
|
|
6
|
+
* Type for the individual array items in v3 of the API for the order endpoint.
|
|
7
|
+
*/
|
|
8
|
+
export type ApiV3OrderType = ApiV2OrderType & {
|
|
9
|
+
/**
|
|
10
|
+
* List of order items.
|
|
11
|
+
*/
|
|
12
|
+
orderItemList: ApiV3OrderItemType[];
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The API response type for order items.
|
|
16
|
+
*/
|
|
17
|
+
export type ApiV3OrderResponseType = ApiV3BaseResponseType<ApiV3OrderType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2OrderItemType } from '../v2/orderItem';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2OrderItemApiEndpointSlug as apiV3OrderItemApiEndpointSlug } from '../v2/orderItem';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the order item endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3OrderItemType = ApiV2OrderItemType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for order item items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3OrderItemResponseType = ApiV3BaseResponseType<ApiV3OrderItemType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2PdfV1ConfigurationType } from '../v2/pdfV1Configuration';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2PdfV1ConfigurationApiEndpointSlug as apiV3PdfV1ConfigurationApiEndpointSlug } from '../v2/pdfV1Configuration';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the PDF v1 configurations endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3PdfV1ConfigurationType = ApiV2PdfV1ConfigurationType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for PDF v1 configurations.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3PdfV1ConfigurationResponseType = ApiV3BaseResponseType<ApiV3PdfV1ConfigurationType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2PdfV1ConfigurationTypeType } from '../v2/pdfV1ConfigurationType';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2PdfV1ConfigurationTypeApiEndpointSlug as apiV3PdfV1ConfigurationTypeApiEndpointSlug } from '../v2/pdfV1ConfigurationType';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the PDF v1 configuration types endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3PdfV1ConfigurationTypeType = ApiV2PdfV1ConfigurationTypeType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for PDF v1 configuration types.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3PdfV1ConfigurationTypeResponseType = ApiV3BaseResponseType<ApiV3PdfV1ConfigurationTypeType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2PdfV2ConfigurationType } from '../v2/pdfV2Configuration';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2PdfV2ConfigurationApiEndpointSlug as apiV3PdfV2ConfigurationApiEndpointSlug } from '../v2/pdfV2Configuration';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the PDF v2 configurations endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3PdfV2ConfigurationType = ApiV2PdfV2ConfigurationType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for PDF v2 configurations.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3PdfV2ConfigurationResponseType = ApiV3BaseResponseType<ApiV3PdfV2ConfigurationType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2PdfV2ConfigurationTypeType } from '../v2/pdfV2ConfigurationType';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2PdfV2ConfigurationTypeApiEndpointSlug as apiV3PdfV2ConfigurationTypeApiEndpointSlug } from '../v2/pdfV2ConfigurationType';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the PDF v2 configuration types endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3PdfV2ConfigurationTypeType = ApiV2PdfV2ConfigurationTypeType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for PDF v2 configuration types.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3PdfV2ConfigurationTypeResponseType = ApiV3BaseResponseType<ApiV3PdfV2ConfigurationTypeType[], number>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ApiV2ShowcaseType } from '../v2/showcase';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
import type { ApiV3ShowcaseLocationType } from '../v3/showcaseLocation';
|
|
4
|
+
import type { ApiV3ShowcaseUserRoleConnectionType } from '../v3/showcaseUserRoleConnection';
|
|
5
|
+
export { apiV2ShowcaseApiEndpointSlug as apiV3ShowcaseApiEndpointSlug } from '../v2/showcase';
|
|
6
|
+
/**
|
|
7
|
+
* Type for the individual array items in v3 of the API for the showcase endpoint.
|
|
8
|
+
*/
|
|
9
|
+
export type ApiV3ShowcaseType = ApiV2ShowcaseType & {
|
|
10
|
+
/**
|
|
11
|
+
* List of locations where the showcase should be displayed.
|
|
12
|
+
*/
|
|
13
|
+
showcaseLocationList: ApiV3ShowcaseLocationType[];
|
|
14
|
+
/**
|
|
15
|
+
* List of user role connection.ShowcaseLocationList
|
|
16
|
+
*/
|
|
17
|
+
showcaseUserRoleConnectionList: ApiV3ShowcaseUserRoleConnectionType[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The API response type for showcase items.
|
|
21
|
+
*/
|
|
22
|
+
export type ApiV3ShowcaseResponseType = ApiV3BaseResponseType<ApiV3ShowcaseType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2ShowcaseLocationType } from '../v2/showcaseLocation';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2ShowcaseLocationApiEndpointSlug as apiV3ShowcaseLocationApiEndpointSlug } from '../v2/showcaseLocation';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the showcase location endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3ShowcaseLocationType = ApiV2ShowcaseLocationType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for showcase location items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3ShowcaseLocationResponseType = ApiV3BaseResponseType<ApiV3ShowcaseLocationType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2ShowcasePositionTypeType } from '../v2/showcasePositionType';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2ShowcasePositionTypeApiEndpointSlug as apiV3ShowcasePositionTypeApiEndpointSlug } from '../v2/showcasePositionType';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the showcase position type endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3ShowcasePositionTypeType = ApiV2ShowcasePositionTypeType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for showcase position type items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3ShowcasePositionTypeResponseType = ApiV3BaseResponseType<ApiV3ShowcasePositionTypeType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2ShowcaseTypeType } from '../v2/showcaseType';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2ShowcaseTypeApiEndpointSlug as apiV3ShowcaseTypeApiEndpointSlug } from '../v2/showcaseType';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the showcase position type endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3ShowcaseTypeType = ApiV2ShowcaseTypeType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for showcase position type items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3ShowcaseTypeResponseType = ApiV3BaseResponseType<ApiV3ShowcaseTypeType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2ShowcaseUserRoleConnectionType } from '../v2/showcaseUserRoleConnection';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2ShowcaseUserRoleConnectionApiEndpointSlug as apiV3ShowcaseUserRoleConnectionApiEndpointSlug } from '../v2/showcaseUserRoleConnection';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the showcase user role connection endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3ShowcaseUserRoleConnectionType = ApiV2ShowcaseUserRoleConnectionType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for showcase user role connection items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3ShowcaseUserRoleConnectionResponseType = ApiV3BaseResponseType<ApiV3ShowcaseUserRoleConnectionType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2TeamMemberUploadConnectionType } from '../v2/teamMemberUploadConnection';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2TeamMemberUploadConnectionApiEndpointSlug as apiV3TeamMemberUploadConnectionApiEndpointSlug } from '../v2/teamMemberUploadConnection';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the team member upload connection endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3TeamMemberUploadConnectionType = ApiV2TeamMemberUploadConnectionType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for team member upload connection items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3UTeamMemberUploadConnectionResponseType = ApiV3BaseResponseType<ApiV3TeamMemberUploadConnectionType[], number>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiV2UploadType } from '../v2/upload';
|
|
2
|
+
import type { ApiV3BaseResponseType } from '../v3/baseResponse';
|
|
3
|
+
export { apiV2UploadsApiEndpointSlug as apiV3UploadApiEndpointSlug } from '../v2/upload';
|
|
4
|
+
/**
|
|
5
|
+
* Type for the individual array items in v3 of the API for the upload endpoint.
|
|
6
|
+
*/
|
|
7
|
+
export type ApiV3UploadType = ApiV2UploadType;
|
|
8
|
+
/**
|
|
9
|
+
* The API response type for upload items.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiV3UploadResponseType = ApiV3BaseResponseType<ApiV3UploadType[], 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": "
|
|
4
|
+
"version": "2.0.0-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|