@sokol111/ecommerce-image-service-api 1.0.9 → 1.0.12

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.9
5
+ * The version of the OpenAPI document: 1.0.12
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -371,13 +371,13 @@ export interface Problem {
371
371
  * @type {string}
372
372
  * @memberof Problem
373
373
  */
374
- 'title'?: string;
374
+ 'title': string;
375
375
  /**
376
376
  *
377
377
  * @type {number}
378
378
  * @memberof Problem
379
379
  */
380
- 'status'?: number;
380
+ 'status': number;
381
381
  /**
382
382
  *
383
383
  * @type {string}
@@ -396,6 +396,31 @@ export interface Problem {
396
396
  * @memberof Problem
397
397
  */
398
398
  'traceId'?: string;
399
+ /**
400
+ *
401
+ * @type {Array<ProblemErrorsInner>}
402
+ * @memberof Problem
403
+ */
404
+ 'errors'?: Array<ProblemErrorsInner>;
405
+ }
406
+ /**
407
+ *
408
+ * @export
409
+ * @interface ProblemErrorsInner
410
+ */
411
+ export interface ProblemErrorsInner {
412
+ /**
413
+ *
414
+ * @type {string}
415
+ * @memberof ProblemErrorsInner
416
+ */
417
+ 'field'?: string;
418
+ /**
419
+ *
420
+ * @type {string}
421
+ * @memberof ProblemErrorsInner
422
+ */
423
+ 'message'?: string;
399
424
  }
400
425
  /**
401
426
  *
@@ -585,16 +610,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
585
610
  * @throws {RequiredError}
586
611
  */
587
612
  promoteImages: (promoteRequest: PromoteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
588
- /**
589
- *
590
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
591
- * @param {{ [key: string]: any; }} requestBody
592
- * @param {*} [options] Override http request option.
593
- * @throws {RequiredError}
594
- */
595
- s3Webhook: (requestBody: {
596
- [key: string]: any;
597
- }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
598
613
  /**
599
614
  *
600
615
  * @summary Update image metadata (alt, role, order)
@@ -687,16 +702,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
687
702
  * @throws {RequiredError}
688
703
  */
689
704
  promoteImages(promoteRequest: PromoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromoteImages200Response>>;
690
- /**
691
- *
692
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
693
- * @param {{ [key: string]: any; }} requestBody
694
- * @param {*} [options] Override http request option.
695
- * @throws {RequiredError}
696
- */
697
- s3Webhook(requestBody: {
698
- [key: string]: any;
699
- }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
700
705
  /**
701
706
  *
702
707
  * @summary Update image metadata (alt, role, order)
@@ -776,14 +781,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
776
781
  * @throws {RequiredError}
777
782
  */
778
783
  promoteImages(requestParameters: DefaultApiPromoteImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PromoteImages200Response>;
779
- /**
780
- *
781
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
782
- * @param {DefaultApiS3WebhookRequest} requestParameters Request parameters.
783
- * @param {*} [options] Override http request option.
784
- * @throws {RequiredError}
785
- */
786
- s3Webhook(requestParameters: DefaultApiS3WebhookRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
787
784
  /**
788
785
  *
789
786
  * @summary Update image metadata (alt, role, order)
@@ -975,21 +972,6 @@ export interface DefaultApiPromoteImagesRequest {
975
972
  */
976
973
  readonly promoteRequest: PromoteRequest;
977
974
  }
978
- /**
979
- * Request parameters for s3Webhook operation in DefaultApi.
980
- * @export
981
- * @interface DefaultApiS3WebhookRequest
982
- */
983
- export interface DefaultApiS3WebhookRequest {
984
- /**
985
- *
986
- * @type {{ [key: string]: any; }}
987
- * @memberof DefaultApiS3Webhook
988
- */
989
- readonly requestBody: {
990
- [key: string]: any;
991
- };
992
- }
993
975
  /**
994
976
  * Request parameters for updateImage operation in DefaultApi.
995
977
  * @export
@@ -1088,15 +1070,6 @@ export declare class DefaultApi extends BaseAPI {
1088
1070
  * @memberof DefaultApi
1089
1071
  */
1090
1072
  promoteImages(requestParameters: DefaultApiPromoteImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PromoteImages200Response, any, {}>>;
1091
- /**
1092
- *
1093
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
1094
- * @param {DefaultApiS3WebhookRequest} requestParameters Request parameters.
1095
- * @param {*} [options] Override http request option.
1096
- * @throws {RequiredError}
1097
- * @memberof DefaultApi
1098
- */
1099
- s3Webhook(requestParameters: DefaultApiS3WebhookRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1100
1073
  /**
1101
1074
  *
1102
1075
  * @summary Update image metadata (alt, role, order)
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.9
7
+ * The version of the OpenAPI document: 1.0.12
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -365,36 +365,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
365
365
  options: localVarRequestOptions,
366
366
  };
367
367
  }),
368
- /**
369
- *
370
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
371
- * @param {{ [key: string]: any; }} requestBody
372
- * @param {*} [options] Override http request option.
373
- * @throws {RequiredError}
374
- */
375
- s3Webhook: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
376
- // verify required parameter 'requestBody' is not null or undefined
377
- assertParamExists('s3Webhook', 'requestBody', requestBody);
378
- const localVarPath = `/internal/webhook/s3`;
379
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
380
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
381
- let baseOptions;
382
- if (configuration) {
383
- baseOptions = configuration.baseOptions;
384
- }
385
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
386
- const localVarHeaderParameter = {};
387
- const localVarQueryParameter = {};
388
- localVarHeaderParameter['Content-Type'] = 'application/json';
389
- setSearchParams(localVarUrlObj, localVarQueryParameter);
390
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
391
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
392
- localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
393
- return {
394
- url: toPathString(localVarUrlObj),
395
- options: localVarRequestOptions,
396
- };
397
- }),
398
368
  /**
399
369
  *
400
370
  * @summary Update image metadata (alt, role, order)
@@ -579,22 +549,6 @@ export const DefaultApiFp = function (configuration) {
579
549
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
580
550
  });
581
551
  },
582
- /**
583
- *
584
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
585
- * @param {{ [key: string]: any; }} requestBody
586
- * @param {*} [options] Override http request option.
587
- * @throws {RequiredError}
588
- */
589
- s3Webhook(requestBody, options) {
590
- return __awaiter(this, void 0, void 0, function* () {
591
- var _a, _b, _c;
592
- const localVarAxiosArgs = yield localVarAxiosParamCreator.s3Webhook(requestBody, options);
593
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
594
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.s3Webhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
595
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
596
- });
597
- },
598
552
  /**
599
553
  *
600
554
  * @summary Update image metadata (alt, role, order)
@@ -701,16 +655,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
701
655
  promoteImages(requestParameters, options) {
702
656
  return localVarFp.promoteImages(requestParameters.promoteRequest, options).then((request) => request(axios, basePath));
703
657
  },
704
- /**
705
- *
706
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
707
- * @param {DefaultApiS3WebhookRequest} requestParameters Request parameters.
708
- * @param {*} [options] Override http request option.
709
- * @throws {RequiredError}
710
- */
711
- s3Webhook(requestParameters, options) {
712
- return localVarFp.s3Webhook(requestParameters.requestBody, options).then((request) => request(axios, basePath));
713
- },
714
658
  /**
715
659
  *
716
660
  * @summary Update image metadata (alt, role, order)
@@ -818,17 +762,6 @@ export class DefaultApi extends BaseAPI {
818
762
  promoteImages(requestParameters, options) {
819
763
  return DefaultApiFp(this.configuration).promoteImages(requestParameters.promoteRequest, options).then((request) => request(this.axios, this.basePath));
820
764
  }
821
- /**
822
- *
823
- * @summary MinIO/S3 event webhook (ObjectCreated/Delete) for auto-confirm/triggers
824
- * @param {DefaultApiS3WebhookRequest} requestParameters Request parameters.
825
- * @param {*} [options] Override http request option.
826
- * @throws {RequiredError}
827
- * @memberof DefaultApi
828
- */
829
- s3Webhook(requestParameters, options) {
830
- return DefaultApiFp(this.configuration).s3Webhook(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
831
- }
832
765
  /**
833
766
  *
834
767
  * @summary Update image metadata (alt, role, order)
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.9
5
+ * The version of the OpenAPI document: 1.0.12
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.9
7
+ * The version of the OpenAPI document: 1.0.12
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.9
5
+ * The version of the OpenAPI document: 1.0.12
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.9
7
+ * The version of the OpenAPI document: 1.0.12
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.9
5
+ * The version of the OpenAPI document: 1.0.12
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 managing images
6
6
  *
7
- * The version of the OpenAPI document: 1.0.9
7
+ * The version of the OpenAPI document: 1.0.12
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 managing images
4
4
  *
5
- * The version of the OpenAPI document: 1.0.9
5
+ * The version of the OpenAPI document: 1.0.12
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.9
7
+ * The version of the OpenAPI document: 1.0.12
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.9",
4
+ "version": "v1.0.12",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "module": "dist/index.js",