@hmxlabs/dax-client 2.0.0 → 2.2.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.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { daxApi, listingDetailFindAll, listingDetailById, listingStatusCountFindAll } from "./services/dax-api-service";
1
+ import { daxApi, daxClosedApi, listingDetailFindAll, listingDetailById, listingStatusCountFindAll } from "./services/dax-api-service";
2
2
  import { ListingDetailFindAllNameValue, ListingDetailFindAllAttachment, ListingDetailFindAllResponse } from "./services/models/ListingDetailFindAllResponse";
3
3
  import { ListingDetailGetByIdNameValue, ListingDetailGetByIdAttachment, ListingDetailGetByIdResponse } from "./services/models/ListingDetailGetByIdResponse";
4
4
  import { ListingStatusCountFindAllResponse } from "./services/models/ListingStatusCountFindAllResponse";
5
- export { daxApi, listingDetailFindAll, listingDetailById, listingStatusCountFindAll };
5
+ export { daxApi, daxClosedApi, listingDetailFindAll, listingDetailById, listingStatusCountFindAll };
6
6
  export { ListingDetailFindAllNameValue, ListingDetailFindAllAttachment, ListingDetailFindAllResponse };
7
7
  export { ListingDetailGetByIdNameValue, ListingDetailGetByIdAttachment, ListingDetailGetByIdResponse };
8
8
  export { ListingStatusCountFindAllResponse };
@@ -1419,10 +1419,131 @@ var Api = /** @class */ (function (_super) {
1419
1419
  return Api;
1420
1420
  }(HttpClient));
1421
1421
 
1422
+ /* eslint-disable */
1423
+ var ClosedApi = /** @class */ (function (_super) {
1424
+ __extends(ClosedApi, _super);
1425
+ function ClosedApi() {
1426
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1427
+ /**
1428
+ * No description
1429
+ *
1430
+ * @tags Currency
1431
+ * @name CurrencyUpdate
1432
+ * @request PUT:/closed-api/v1/currency/{code}
1433
+ * @secure
1434
+ * @response `200` `CurrencyResponse`
1435
+ */
1436
+ _this.currencyUpdate = function (code, data, params) {
1437
+ if (params === void 0) { params = {}; }
1438
+ return _this.request(__assign({ path: "/closed-api/v1/currency/".concat(code), method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1439
+ };
1440
+ /**
1441
+ * No description
1442
+ *
1443
+ * @tags Currency
1444
+ * @name CurrencyDelete
1445
+ * @request DELETE:/closed-api/v1/currency/{code}
1446
+ * @secure
1447
+ * @response `200` `File`
1448
+ */
1449
+ _this.currencyDelete = function (code, params) {
1450
+ if (params === void 0) { params = {}; }
1451
+ return _this.request(__assign({ path: "/closed-api/v1/currency/".concat(code), method: "DELETE", secure: true }, params));
1452
+ };
1453
+ /**
1454
+ * No description
1455
+ *
1456
+ * @tags Currency
1457
+ * @name CurrencyAdd
1458
+ * @request POST:/closed-api/v1/currency
1459
+ * @secure
1460
+ * @response `200` `object`
1461
+ */
1462
+ _this.currencyAdd = function (data, params) {
1463
+ if (params === void 0) { params = {}; }
1464
+ return _this.request(__assign({ path: "/closed-api/v1/currency", method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1465
+ };
1466
+ /**
1467
+ * No description
1468
+ *
1469
+ * @tags Product
1470
+ * @name ProductUpdate
1471
+ * @request PUT:/closed-api/v1/product/{id}
1472
+ * @secure
1473
+ * @response `204` `void`
1474
+ * @response `400` `ProblemDetails`
1475
+ * @response `404` `ProblemDetails`
1476
+ * @response `default` `ProblemDetails`
1477
+ */
1478
+ _this.productUpdate = function (id, data, params) {
1479
+ if (params === void 0) { params = {}; }
1480
+ return _this.request(__assign({ path: "/closed-api/v1/product/".concat(id), method: "PUT", body: data, secure: true, type: ContentType.Json }, params));
1481
+ };
1482
+ /**
1483
+ * No description
1484
+ *
1485
+ * @tags Product
1486
+ * @name ProductDelete
1487
+ * @request DELETE:/closed-api/v1/product/{id}
1488
+ * @secure
1489
+ * @response `200` `void`
1490
+ * @response `400` `ProblemDetails`
1491
+ * @response `404` `ProblemDetails`
1492
+ * @response `default` `ProblemDetails`
1493
+ */
1494
+ _this.productDelete = function (id, query, params) {
1495
+ if (params === void 0) { params = {}; }
1496
+ return _this.request(__assign({ path: "/closed-api/v1/product/".concat(id), method: "DELETE", query: query, secure: true }, params));
1497
+ };
1498
+ /**
1499
+ * No description
1500
+ *
1501
+ * @tags Product
1502
+ * @name ProductCreate
1503
+ * @request POST:/closed-api/v1/product
1504
+ * @secure
1505
+ * @response `200` `object`
1506
+ */
1507
+ _this.productCreate = function (data, params) {
1508
+ if (params === void 0) { params = {}; }
1509
+ return _this.request(__assign({ path: "/closed-api/v1/product", method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1510
+ };
1511
+ /**
1512
+ * No description
1513
+ *
1514
+ * @tags Tenant
1515
+ * @name TenantFindAll
1516
+ * @request GET:/closed-api/v1/tenant
1517
+ * @secure
1518
+ * @response `200` `object`
1519
+ */
1520
+ _this.tenantFindAll = function (query, params) {
1521
+ if (params === void 0) { params = {}; }
1522
+ return _this.request(__assign({ path: "/closed-api/v1/tenant", method: "GET", query: query, secure: true, format: "json" }, params));
1523
+ };
1524
+ /**
1525
+ * No description
1526
+ *
1527
+ * @tags Tenant
1528
+ * @name TenantCreate
1529
+ * @request POST:/closed-api/v1/tenant
1530
+ * @secure
1531
+ * @response `200` `object`
1532
+ */
1533
+ _this.tenantCreate = function (data, params) {
1534
+ if (params === void 0) { params = {}; }
1535
+ return _this.request(__assign({ path: "/closed-api/v1/tenant", method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1536
+ };
1537
+ return _this;
1538
+ }
1539
+ return ClosedApi;
1540
+ }(HttpClient));
1541
+
1422
1542
  var apiConfig = {
1423
1543
  baseUrl: '/dax-api'
1424
1544
  };
1425
1545
  var daxApi = new Api(apiConfig);
1546
+ var daxClosedApi = new ClosedApi(apiConfig);
1426
1547
  var listingDetailFindAll = function (listingType, listingStatus, params) {
1427
1548
  if (params === void 0) { params = {}; }
1428
1549
  return daxApi.listingDetailFindAllByTenantId(__assign(__assign({}, (listingType ? { listingType: listingType } : {})), (listingStatus ? { listingStatus: listingStatus } : {})), params);
@@ -1436,5 +1557,5 @@ var listingStatusCountFindAll = function (listingType, listingStatus, params) {
1436
1557
  return daxApi.listingStatusCountFindAllByTenantId(__assign(__assign({}, (listingType ? { listingType: listingType } : {})), (listingStatus ? { listingStatus: listingStatus } : {})), params);
1437
1558
  };
1438
1559
 
1439
- export { daxApi, listingDetailById, listingDetailFindAll, listingStatusCountFindAll };
1560
+ export { daxApi, daxClosedApi, listingDetailById, listingDetailFindAll, listingStatusCountFindAll };
1440
1561
  //# sourceMappingURL=index.esm.js.map