@sokol111/ecommerce-image-service-api 1.0.19 → 1.0.23
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/api.d.ts +5 -15
- package/dist/api.js +1 -7
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Image Service API
|
|
3
3
|
* API for managing images
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.23
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,27 +14,17 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
export interface ConfirmRequest {
|
|
17
|
-
'ownerType': OwnerType;
|
|
18
|
-
'ownerId': string;
|
|
19
17
|
/**
|
|
20
|
-
*
|
|
18
|
+
* Signed JWT token from presign response
|
|
21
19
|
*/
|
|
22
|
-
'
|
|
20
|
+
'uploadToken': string;
|
|
23
21
|
'alt': string;
|
|
24
|
-
'mime': ConfirmRequestMimeEnum;
|
|
25
22
|
'role': ImageRole;
|
|
26
23
|
/**
|
|
27
24
|
* e.g., SHA256 hex for additional integrity check
|
|
28
25
|
*/
|
|
29
26
|
'checksum'?: string | null;
|
|
30
27
|
}
|
|
31
|
-
export declare const ConfirmRequestMimeEnum: {
|
|
32
|
-
readonly ImageJpeg: "image/jpeg";
|
|
33
|
-
readonly ImagePng: "image/png";
|
|
34
|
-
readonly ImageWebp: "image/webp";
|
|
35
|
-
readonly ImageAvif: "image/avif";
|
|
36
|
-
};
|
|
37
|
-
export type ConfirmRequestMimeEnum = typeof ConfirmRequestMimeEnum[keyof typeof ConfirmRequestMimeEnum];
|
|
38
28
|
export interface GetDeliveryUrl200Response {
|
|
39
29
|
'url': string;
|
|
40
30
|
'expiresAt': string;
|
|
@@ -120,9 +110,9 @@ export type PresignRequestContentTypeEnum = typeof PresignRequestContentTypeEnum
|
|
|
120
110
|
export interface PresignResponse {
|
|
121
111
|
'uploadUrl': string;
|
|
122
112
|
/**
|
|
123
|
-
*
|
|
113
|
+
* Signed JWT token containing upload metadata (key, ownerType, ownerId, role, etc.)
|
|
124
114
|
*/
|
|
125
|
-
'
|
|
115
|
+
'uploadToken': string;
|
|
126
116
|
/**
|
|
127
117
|
* TTL in seconds
|
|
128
118
|
*/
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Image Service API
|
|
5
5
|
* API for managing images
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.23
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,12 +26,6 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
-
export const ConfirmRequestMimeEnum = {
|
|
30
|
-
ImageJpeg: 'image/jpeg',
|
|
31
|
-
ImagePng: 'image/png',
|
|
32
|
-
ImageWebp: 'image/webp',
|
|
33
|
-
ImageAvif: 'image/avif'
|
|
34
|
-
};
|
|
35
29
|
export const ImageRole = {
|
|
36
30
|
Main: 'main',
|
|
37
31
|
Gallery: 'gallery',
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sokol111/ecommerce-image-service-api",
|
|
3
3
|
"description": "Generated TypeScript Axios client from OpenAPI for ecommerce-image-service-api",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.23",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"module": "dist/index.js",
|