@sokol111/ecommerce-image-service-api 1.0.0 → 1.0.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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Image Service API
3
3
  * API for image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -87,19 +87,6 @@ export interface GetDeliveryUrl200Response {
87
87
  */
88
88
  'expiresAt'?: string | null;
89
89
  }
90
- /**
91
- *
92
- * @export
93
- * @interface Healthz200Response
94
- */
95
- export interface Healthz200Response {
96
- /**
97
- *
98
- * @type {string}
99
- * @memberof Healthz200Response
100
- */
101
- 'status'?: string;
102
- }
103
90
  /**
104
91
  *
105
92
  * @export
@@ -672,61 +659,6 @@ export declare const GetDeliveryUrlFormatEnum: {
672
659
  readonly Png: "png";
673
660
  };
674
661
  export type GetDeliveryUrlFormatEnum = typeof GetDeliveryUrlFormatEnum[keyof typeof GetDeliveryUrlFormatEnum];
675
- /**
676
- * HealthApi - axios parameter creator
677
- * @export
678
- */
679
- export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
680
- /**
681
- *
682
- * @summary Health check
683
- * @param {*} [options] Override http request option.
684
- * @throws {RequiredError}
685
- */
686
- healthz: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
687
- };
688
- /**
689
- * HealthApi - functional programming interface
690
- * @export
691
- */
692
- export declare const HealthApiFp: (configuration?: Configuration) => {
693
- /**
694
- *
695
- * @summary Health check
696
- * @param {*} [options] Override http request option.
697
- * @throws {RequiredError}
698
- */
699
- healthz(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Healthz200Response>>;
700
- };
701
- /**
702
- * HealthApi - factory interface
703
- * @export
704
- */
705
- export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
706
- /**
707
- *
708
- * @summary Health check
709
- * @param {*} [options] Override http request option.
710
- * @throws {RequiredError}
711
- */
712
- healthz(options?: RawAxiosRequestConfig): AxiosPromise<Healthz200Response>;
713
- };
714
- /**
715
- * HealthApi - object-oriented interface
716
- * @export
717
- * @class HealthApi
718
- * @extends {BaseAPI}
719
- */
720
- export declare class HealthApi extends BaseAPI {
721
- /**
722
- *
723
- * @summary Health check
724
- * @param {*} [options] Override http request option.
725
- * @throws {RequiredError}
726
- * @memberof HealthApi
727
- */
728
- healthz(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Healthz200Response, any, {}>>;
729
- }
730
662
  /**
731
663
  * ImagesApi - axios parameter creator
732
664
  * @export
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Image Service API
5
5
  * API for image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -219,99 +219,6 @@ export const GetDeliveryUrlFormatEnum = {
219
219
  Jpeg: 'jpeg',
220
220
  Png: 'png'
221
221
  };
222
- /**
223
- * HealthApi - axios parameter creator
224
- * @export
225
- */
226
- export const HealthApiAxiosParamCreator = function (configuration) {
227
- return {
228
- /**
229
- *
230
- * @summary Health check
231
- * @param {*} [options] Override http request option.
232
- * @throws {RequiredError}
233
- */
234
- healthz: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
235
- const localVarPath = `/healthz`;
236
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
237
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
238
- let baseOptions;
239
- if (configuration) {
240
- baseOptions = configuration.baseOptions;
241
- }
242
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
243
- const localVarHeaderParameter = {};
244
- const localVarQueryParameter = {};
245
- setSearchParams(localVarUrlObj, localVarQueryParameter);
246
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
247
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
248
- return {
249
- url: toPathString(localVarUrlObj),
250
- options: localVarRequestOptions,
251
- };
252
- }),
253
- };
254
- };
255
- /**
256
- * HealthApi - functional programming interface
257
- * @export
258
- */
259
- export const HealthApiFp = function (configuration) {
260
- const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration);
261
- return {
262
- /**
263
- *
264
- * @summary Health check
265
- * @param {*} [options] Override http request option.
266
- * @throws {RequiredError}
267
- */
268
- healthz(options) {
269
- return __awaiter(this, void 0, void 0, function* () {
270
- var _a, _b, _c;
271
- const localVarAxiosArgs = yield localVarAxiosParamCreator.healthz(options);
272
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
273
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HealthApi.healthz']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
274
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
275
- });
276
- },
277
- };
278
- };
279
- /**
280
- * HealthApi - factory interface
281
- * @export
282
- */
283
- export const HealthApiFactory = function (configuration, basePath, axios) {
284
- const localVarFp = HealthApiFp(configuration);
285
- return {
286
- /**
287
- *
288
- * @summary Health check
289
- * @param {*} [options] Override http request option.
290
- * @throws {RequiredError}
291
- */
292
- healthz(options) {
293
- return localVarFp.healthz(options).then((request) => request(axios, basePath));
294
- },
295
- };
296
- };
297
- /**
298
- * HealthApi - object-oriented interface
299
- * @export
300
- * @class HealthApi
301
- * @extends {BaseAPI}
302
- */
303
- export class HealthApi extends BaseAPI {
304
- /**
305
- *
306
- * @summary Health check
307
- * @param {*} [options] Override http request option.
308
- * @throws {RequiredError}
309
- * @memberof HealthApi
310
- */
311
- healthz(options) {
312
- return HealthApiFp(this.configuration).healthz(options).then((request) => request(this.axios, this.basePath));
313
- }
314
- }
315
222
  /**
316
223
  * ImagesApi - axios parameter creator
317
224
  * @export
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Image Service API
3
3
  * API for image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.1
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 image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.1
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 image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.1
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 image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.1
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 image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Image Service API
5
5
  * API for image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.1
8
8
  *
9
9
  *
10
10
  * 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 image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 1.0.1
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 image management in an e-commerce system using the **Draft → Promote** pattern. Responsibilities: - Generate presigned URLs for direct PUT uploads to MinIO/S3. - Confirm uploads and persist image metadata to the database. - Promote/attach images from a product draft to a final product. - Read/update/delete image metadata. - Generate signed delivery URLs for imgproxy. Notes: - No authentication is configured yet (public API for now). Add auth later when ready. - Idempotency is supported via the `Idempotency-Key` header for POST/DELETE operations.
6
6
  *
7
- * The version of the OpenAPI document: 1.0.0
7
+ * The version of the OpenAPI document: 1.0.1
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": "v1.0.0",
4
+ "version": "v1.0.1",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "module": "dist/index.js",