@deliverart/sdk-js-image 1.2.2 → 2.0.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.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
3
3
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
4
4
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
5
|
-
import { AxiosResponse } from 'axios';
|
|
6
5
|
|
|
7
6
|
declare const imageSchema: z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
@@ -156,7 +155,7 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
156
155
|
query?: GetImagesQueryParams;
|
|
157
156
|
});
|
|
158
157
|
getPath(): string;
|
|
159
|
-
parseResponse(data: unknown, rawResponse:
|
|
158
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Image>;
|
|
160
159
|
}
|
|
161
160
|
|
|
162
161
|
declare const imageIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
3
3
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
4
4
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
5
|
-
import { AxiosResponse } from 'axios';
|
|
6
5
|
|
|
7
6
|
declare const imageSchema: z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
@@ -156,7 +155,7 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
156
155
|
query?: GetImagesQueryParams;
|
|
157
156
|
});
|
|
158
157
|
getPath(): string;
|
|
159
|
-
parseResponse(data: unknown, rawResponse:
|
|
158
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Image>;
|
|
160
159
|
}
|
|
161
160
|
|
|
162
161
|
declare const imageIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-image",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Image Management",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.0.0",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.0.0",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.0.0"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|