@thelllabs/winehaus-sdk 0.0.7 → 0.0.11

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/umd/index.ts CHANGED
@@ -18421,6 +18421,7 @@ var TenantRoleEnum;
18421
18421
  TenantRoleEnum["Operator"] = "operator";
18422
18422
  TenantRoleEnum["Admin"] = "admin";
18423
18423
  TenantRoleEnum["Owner"] = "owner";
18424
+ TenantRoleEnum["Customer"] = "customer";
18424
18425
  })(TenantRoleEnum = exports.TenantRoleEnum || (exports.TenantRoleEnum = {}));
18425
18426
  var TenantUserStatusEnum;
18426
18427
  (function (TenantUserStatusEnum) {
@@ -18521,7 +18522,7 @@ var HttpClient = /** @class */ (function () {
18521
18522
  exports.HttpClient = HttpClient;
18522
18523
  /**
18523
18524
  * @title winehaus-api
18524
- * @version 0.0.1
18525
+ * @version 0.0.2
18525
18526
  * @baseUrl http://localhost:3000
18526
18527
  * @contact
18527
18528
  */
@@ -18640,6 +18641,20 @@ var Api = /** @class */ (function (_super) {
18640
18641
  if (params === void 0) { params = {}; }
18641
18642
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18642
18643
  },
18644
+ /**
18645
+ * No description
18646
+ *
18647
+ * @tags Admin Tenant Operation Extras Templates
18648
+ * @name CreateTenantOperationExtraTemplate
18649
+ * @request POST:/admin/tenants/{tenantId}/operation-extras-templates
18650
+ * @secure
18651
+ * @response `201` `CaseOperationExtraTemplateEntityDto`
18652
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18653
+ */
18654
+ createTenantOperationExtraTemplate: function (tenantId, data, params) {
18655
+ if (params === void 0) { params = {}; }
18656
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-extras-templates"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18657
+ },
18643
18658
  /**
18644
18659
  * No description
18645
18660
  *
@@ -18654,6 +18669,34 @@ var Api = /** @class */ (function (_super) {
18654
18669
  if (params === void 0) { params = {}; }
18655
18670
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18656
18671
  },
18672
+ /**
18673
+ * No description
18674
+ *
18675
+ * @tags Admin Tenant Wine Bottle Formats
18676
+ * @name CreateTenantWineBottleFormat
18677
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-formats
18678
+ * @secure
18679
+ * @response `201` `WineBottleFormatEntityDto`
18680
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18681
+ */
18682
+ createTenantWineBottleFormat: function (tenantId, data, params) {
18683
+ if (params === void 0) { params = {}; }
18684
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18685
+ },
18686
+ /**
18687
+ * No description
18688
+ *
18689
+ * @tags Admin Tenant Wine Bottle Vintages
18690
+ * @name CreateTenantWineBottleVintage
18691
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-vintages
18692
+ * @secure
18693
+ * @response `201` `WineBottleVintageEntityDto`
18694
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18695
+ */
18696
+ createTenantWineBottleVintage: function (tenantId, data, params) {
18697
+ if (params === void 0) { params = {}; }
18698
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18699
+ },
18657
18700
  /**
18658
18701
  * No description
18659
18702
  *
@@ -18752,6 +18795,20 @@ var Api = /** @class */ (function (_super) {
18752
18795
  if (params === void 0) { params = {}; }
18753
18796
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18754
18797
  },
18798
+ /**
18799
+ * No description
18800
+ *
18801
+ * @tags Admin Tenant Operation Extras Templates
18802
+ * @name DeleteTenantOperationExtraTemplate
18803
+ * @request DELETE:/admin/tenants/{tenantId}/operation-extras-templates/{templateId}
18804
+ * @secure
18805
+ * @response `204` `void`
18806
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18807
+ */
18808
+ deleteTenantOperationExtraTemplate: function (tenantId, templateId, params) {
18809
+ if (params === void 0) { params = {}; }
18810
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-extras-templates/").concat(templateId), method: "DELETE", secure: true }, params));
18811
+ },
18755
18812
  /**
18756
18813
  * No description
18757
18814
  *
@@ -18766,6 +18823,34 @@ var Api = /** @class */ (function (_super) {
18766
18823
  if (params === void 0) { params = {}; }
18767
18824
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "DELETE", secure: true }, params));
18768
18825
  },
18826
+ /**
18827
+ * No description
18828
+ *
18829
+ * @tags Admin Tenant Wine Bottle Formats
18830
+ * @name DeleteTenantWineBottleFormat
18831
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
18832
+ * @secure
18833
+ * @response `204` `void`
18834
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18835
+ */
18836
+ deleteTenantWineBottleFormat: function (tenantId, bottleFormatId, params) {
18837
+ if (params === void 0) { params = {}; }
18838
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "DELETE", secure: true }, params));
18839
+ },
18840
+ /**
18841
+ * No description
18842
+ *
18843
+ * @tags Admin Tenant Wine Bottle Vintages
18844
+ * @name DeleteTenantWineBottleVintage
18845
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
18846
+ * @secure
18847
+ * @response `204` `void`
18848
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18849
+ */
18850
+ deleteTenantWineBottleVintage: function (tenantId, bottleVintageId, params) {
18851
+ if (params === void 0) { params = {}; }
18852
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "DELETE", secure: true }, params));
18853
+ },
18769
18854
  /**
18770
18855
  * No description
18771
18856
  *
@@ -18892,6 +18977,48 @@ var Api = /** @class */ (function (_super) {
18892
18977
  if (params === void 0) { params = {}; }
18893
18978
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users/").concat(userId, "/enable"), method: "PATCH", secure: true }, params));
18894
18979
  },
18980
+ /**
18981
+ * No description
18982
+ *
18983
+ * @tags Admin Tenant Operation Extras Templates
18984
+ * @name GetTenantOperationExtraTemplateById
18985
+ * @request GET:/admin/tenants/{tenantId}/operation-extras-templates/{templateId}
18986
+ * @secure
18987
+ * @response `200` `CaseOperationExtraTemplateEntityDto`
18988
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
18989
+ */
18990
+ getTenantOperationExtraTemplateById: function (tenantId, templateId, params) {
18991
+ if (params === void 0) { params = {}; }
18992
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-extras-templates/").concat(templateId), method: "GET", secure: true, format: "json" }, params));
18993
+ },
18994
+ /**
18995
+ * No description
18996
+ *
18997
+ * @tags Admin Tenant Wine Bottle Formats
18998
+ * @name GetTenantWineBottleFormatById
18999
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
19000
+ * @secure
19001
+ * @response `200` `WineBottleFormatEntityDto`
19002
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19003
+ */
19004
+ getTenantWineBottleFormatById: function (tenantId, bottleFormatId, params) {
19005
+ if (params === void 0) { params = {}; }
19006
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "GET", secure: true, format: "json" }, params));
19007
+ },
19008
+ /**
19009
+ * No description
19010
+ *
19011
+ * @tags Admin Tenant Wine Bottle Vintages
19012
+ * @name GetTenantWineBottleVintageById
19013
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
19014
+ * @secure
19015
+ * @response `200` `WineBottleVintageEntityDto`
19016
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19017
+ */
19018
+ getTenantWineBottleVintageById: function (tenantId, bottleVintageId, params) {
19019
+ if (params === void 0) { params = {}; }
19020
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "GET", secure: true, format: "json" }, params));
19021
+ },
18895
19022
  /**
18896
19023
  * No description
18897
19024
  *
@@ -19004,6 +19131,20 @@ var Api = /** @class */ (function (_super) {
19004
19131
  if (params === void 0) { params = {}; }
19005
19132
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards/").concat(vineyardId), method: "GET", secure: true, format: "json" }, params));
19006
19133
  },
19134
+ /**
19135
+ * No description
19136
+ *
19137
+ * @tags Admin Tenant Operation Extras Templates
19138
+ * @name ListTenantOperationExtrasTemplates
19139
+ * @request GET:/admin/tenants/{tenantId}/operation-extras-templates
19140
+ * @secure
19141
+ * @response `200` `CaseOperationExtraTemplateEntityPaginatedDto`
19142
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19143
+ */
19144
+ listTenantOperationExtrasTemplates: function (tenantId, query, params) {
19145
+ if (params === void 0) { params = {}; }
19146
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-extras-templates"), method: "GET", query: query, secure: true, format: "json" }, params));
19147
+ },
19007
19148
  /**
19008
19149
  * No description
19009
19150
  *
@@ -19018,6 +19159,34 @@ var Api = /** @class */ (function (_super) {
19018
19159
  if (params === void 0) { params = {}; }
19019
19160
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users"), method: "GET", query: query, secure: true, format: "json" }, params));
19020
19161
  },
19162
+ /**
19163
+ * No description
19164
+ *
19165
+ * @tags Admin Tenant Wine Bottle Formats
19166
+ * @name ListTenantWineBottleFormats
19167
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats
19168
+ * @secure
19169
+ * @response `200` `WineBottleFormatEntityPaginatedDto`
19170
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19171
+ */
19172
+ listTenantWineBottleFormats: function (tenantId, query, params) {
19173
+ if (params === void 0) { params = {}; }
19174
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "GET", query: query, secure: true, format: "json" }, params));
19175
+ },
19176
+ /**
19177
+ * No description
19178
+ *
19179
+ * @tags Admin Tenant Wine Bottle Vintages
19180
+ * @name ListTenantWineBottleVintages
19181
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages
19182
+ * @secure
19183
+ * @response `200` `WineBottleVintageEntityPaginatedDto`
19184
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19185
+ */
19186
+ listTenantWineBottleVintages: function (tenantId, query, params) {
19187
+ if (params === void 0) { params = {}; }
19188
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "GET", query: query, secure: true, format: "json" }, params));
19189
+ },
19021
19190
  /**
19022
19191
  * No description
19023
19192
  *
@@ -19130,6 +19299,20 @@ var Api = /** @class */ (function (_super) {
19130
19299
  if (params === void 0) { params = {}; }
19131
19300
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards"), method: "GET", query: query, secure: true, format: "json" }, params));
19132
19301
  },
19302
+ /**
19303
+ * No description
19304
+ *
19305
+ * @tags Admin Tenant Operation Extras Templates
19306
+ * @name UpdateTenantOperationExtraTemplate
19307
+ * @request PATCH:/admin/tenants/{tenantId}/operation-extras-templates/{templateId}
19308
+ * @secure
19309
+ * @response `200` `CaseOperationExtraTemplateEntityDto`
19310
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
19311
+ */
19312
+ updateTenantOperationExtraTemplate: function (tenantId, templateId, data, params) {
19313
+ if (params === void 0) { params = {}; }
19314
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-extras-templates/").concat(templateId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
19315
+ },
19133
19316
  /**
19134
19317
  * No description
19135
19318
  *
@@ -19144,6 +19327,34 @@ var Api = /** @class */ (function (_super) {
19144
19327
  if (params === void 0) { params = {}; }
19145
19328
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
19146
19329
  },
19330
+ /**
19331
+ * No description
19332
+ *
19333
+ * @tags Admin Tenant Wine Bottle Formats
19334
+ * @name UpdateTenantWineBottleFormat
19335
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
19336
+ * @secure
19337
+ * @response `200` `WineBottleFormatEntityDto`
19338
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
19339
+ */
19340
+ updateTenantWineBottleFormat: function (tenantId, bottleFormatId, data, params) {
19341
+ if (params === void 0) { params = {}; }
19342
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
19343
+ },
19344
+ /**
19345
+ * No description
19346
+ *
19347
+ * @tags Admin Tenant Wine Bottle Vintages
19348
+ * @name UpdateTenantWineBottleVintage
19349
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
19350
+ * @secure
19351
+ * @response `200` `WineBottleVintageEntityDto`
19352
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
19353
+ */
19354
+ updateTenantWineBottleVintage: function (tenantId, bottleVintageId, data, params) {
19355
+ if (params === void 0) { params = {}; }
19356
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
19357
+ },
19147
19358
  /**
19148
19359
  * No description
19149
19360
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thelllabs/winehaus-sdk",
3
- "version": "0.0.7",
3
+ "version": "0.0.11",
4
4
  "description": "Winehaus SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",