@sokol111/ecommerce-image-service-api 1.0.20 → 1.0.24

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 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.20
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,30 +14,20 @@ 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
- * S3 key that was used for PUT
18
+ * Signed JWT token from presign response
21
19
  */
22
- 'key': string;
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
- 'expiresAt': string;
30
+ 'expiresAt'?: string;
41
31
  }
42
32
  export interface Image {
43
33
  'id': string;
@@ -120,9 +110,9 @@ export type PresignRequestContentTypeEnum = typeof PresignRequestContentTypeEnum
120
110
  export interface PresignResponse {
121
111
  'uploadUrl': string;
122
112
  /**
123
- * Final S3 key to PUT to
113
+ * Signed JWT token containing upload metadata (key, ownerType, ownerId, role, etc.)
124
114
  */
125
- 'key': string;
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.20
7
+ * The version of the OpenAPI document: 1.0.24
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
@@ -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.20
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.20
7
+ * The version of the OpenAPI document: 1.0.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.20
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.20
7
+ * The version of the OpenAPI document: 1.0.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.20
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Image Service API
4
4
  * API for managing images
5
5
  *
6
- * The version of the OpenAPI document: 1.0.20
6
+ * The version of the OpenAPI document: 1.0.24
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.20
5
+ * The version of the OpenAPI document: 1.0.24
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.20
7
+ * The version of the OpenAPI document: 1.0.24
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.20",
4
+ "version": "1.0.24",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "module": "dist/index.js",