@hmxlabs/dax-client 2.10.0 → 2.12.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/build/index.esm.js
CHANGED
|
@@ -297,11 +297,12 @@ var Api = /** @class */ (function (_super) {
|
|
|
297
297
|
* @tags Attachment
|
|
298
298
|
* @name AttachmentGetDirectUploadUrl
|
|
299
299
|
* @request GET:/api/v1/attachment/direct-upload
|
|
300
|
+
* @secure
|
|
300
301
|
* @response `200` `object`
|
|
301
302
|
*/
|
|
302
303
|
_this.attachmentGetDirectUploadUrl = function (params) {
|
|
303
304
|
if (params === void 0) { params = {}; }
|
|
304
|
-
return _this.request(__assign({ path: "/api/v1/attachment/direct-upload", method: "GET", format: "json" }, params));
|
|
305
|
+
return _this.request(__assign({ path: "/api/v1/attachment/direct-upload", method: "GET", secure: true, format: "json" }, params));
|
|
305
306
|
};
|
|
306
307
|
/**
|
|
307
308
|
* No description
|
|
@@ -309,11 +310,12 @@ var Api = /** @class */ (function (_super) {
|
|
|
309
310
|
* @tags Attachment
|
|
310
311
|
* @name AttachmentGetDirectUploadImageStatus
|
|
311
312
|
* @request GET:/api/v1/attachment/direct-upload/{imageId}
|
|
313
|
+
* @secure
|
|
312
314
|
* @response `200` `object`
|
|
313
315
|
*/
|
|
314
316
|
_this.attachmentGetDirectUploadImageStatus = function (imageId, params) {
|
|
315
317
|
if (params === void 0) { params = {}; }
|
|
316
|
-
return _this.request(__assign({ path: "/api/v1/attachment/direct-upload/".concat(imageId), method: "GET", format: "json" }, params));
|
|
318
|
+
return _this.request(__assign({ path: "/api/v1/attachment/direct-upload/".concat(imageId), method: "GET", secure: true, format: "json" }, params));
|
|
317
319
|
};
|
|
318
320
|
/**
|
|
319
321
|
* No description
|
|
@@ -321,11 +323,12 @@ var Api = /** @class */ (function (_super) {
|
|
|
321
323
|
* @tags Attachment
|
|
322
324
|
* @name AttachmentGetBatchDirectUploadUrl
|
|
323
325
|
* @request GET:/api/v1/attachment/batch-direct-upload
|
|
326
|
+
* @secure
|
|
324
327
|
* @response `200` `object`
|
|
325
328
|
*/
|
|
326
329
|
_this.attachmentGetBatchDirectUploadUrl = function (params) {
|
|
327
330
|
if (params === void 0) { params = {}; }
|
|
328
|
-
return _this.request(__assign({ path: "/api/v1/attachment/batch-direct-upload", method: "GET", format: "json" }, params));
|
|
331
|
+
return _this.request(__assign({ path: "/api/v1/attachment/batch-direct-upload", method: "GET", secure: true, format: "json" }, params));
|
|
329
332
|
};
|
|
330
333
|
/**
|
|
331
334
|
* No description
|
|
@@ -345,11 +348,12 @@ var Api = /** @class */ (function (_super) {
|
|
|
345
348
|
* @tags Attachment
|
|
346
349
|
* @name AttachmentCreate
|
|
347
350
|
* @request POST:/api/v1/item/{itemId}/attachment
|
|
351
|
+
* @secure
|
|
348
352
|
* @response `200` `object`
|
|
349
353
|
*/
|
|
350
354
|
_this.attachmentCreate = function (itemId, data, params) {
|
|
351
355
|
if (params === void 0) { params = {}; }
|
|
352
|
-
return _this.request(__assign({ path: "/api/v1/item/".concat(itemId, "/attachment"), method: "POST", body: data, type: ContentType.Json, format: "json" }, params));
|
|
356
|
+
return _this.request(__assign({ path: "/api/v1/item/".concat(itemId, "/attachment"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
|
|
353
357
|
};
|
|
354
358
|
/**
|
|
355
359
|
* No description
|
|
@@ -857,12 +861,12 @@ var Api = /** @class */ (function (_super) {
|
|
|
857
861
|
* No description
|
|
858
862
|
*
|
|
859
863
|
* @tags Item
|
|
860
|
-
* @name
|
|
864
|
+
* @name ItemCreateDraft
|
|
861
865
|
* @request POST:/api/v1/seller/item
|
|
862
866
|
* @secure
|
|
863
867
|
* @response `200` `object`
|
|
864
868
|
*/
|
|
865
|
-
_this.
|
|
869
|
+
_this.itemCreateDraft = function (data, params) {
|
|
866
870
|
if (params === void 0) { params = {}; }
|
|
867
871
|
return _this.request(__assign({ path: "/api/v1/seller/item", method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
|
|
868
872
|
};
|
|
@@ -1104,6 +1108,20 @@ var Api = /** @class */ (function (_super) {
|
|
|
1104
1108
|
if (params === void 0) { params = {}; }
|
|
1105
1109
|
return _this.request(__assign({ path: "/api/v1/listing-detail", method: "GET", query: query, format: "json" }, params));
|
|
1106
1110
|
};
|
|
1111
|
+
/**
|
|
1112
|
+
* No description
|
|
1113
|
+
*
|
|
1114
|
+
* @tags ListingDetail
|
|
1115
|
+
* @name ListingDetailFindAllByTenantIdForAdmin
|
|
1116
|
+
* @summary Get all the listing details for the specified tenant, including product and item information
|
|
1117
|
+
* @request GET:/api/v1/admin/listing-detail
|
|
1118
|
+
* @secure
|
|
1119
|
+
* @response `200` `object`
|
|
1120
|
+
*/
|
|
1121
|
+
_this.listingDetailFindAllByTenantIdForAdmin = function (query, params) {
|
|
1122
|
+
if (params === void 0) { params = {}; }
|
|
1123
|
+
return _this.request(__assign({ path: "/api/v1/admin/listing-detail", method: "GET", query: query, secure: true, format: "json" }, params));
|
|
1124
|
+
};
|
|
1107
1125
|
/**
|
|
1108
1126
|
* No description
|
|
1109
1127
|
*
|