@thelllabs/winehaus-sdk 0.0.7 → 0.0.8

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.
@@ -96,6 +96,7 @@ var TenantRoleEnum;
96
96
  TenantRoleEnum["Operator"] = "operator";
97
97
  TenantRoleEnum["Admin"] = "admin";
98
98
  TenantRoleEnum["Owner"] = "owner";
99
+ TenantRoleEnum["Customer"] = "customer";
99
100
  })(TenantRoleEnum = exports.TenantRoleEnum || (exports.TenantRoleEnum = {}));
100
101
  var TenantUserStatusEnum;
101
102
  (function (TenantUserStatusEnum) {
@@ -329,6 +330,34 @@ var Api = /** @class */ (function (_super) {
329
330
  if (params === void 0) { params = {}; }
330
331
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
331
332
  },
333
+ /**
334
+ * No description
335
+ *
336
+ * @tags Admin Tenant Wine Bottle Formats
337
+ * @name CreateTenantWineBottleFormat
338
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-formats
339
+ * @secure
340
+ * @response `201` `WineBottleFormatEntityDto`
341
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
342
+ */
343
+ createTenantWineBottleFormat: function (tenantId, data, params) {
344
+ if (params === void 0) { params = {}; }
345
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
346
+ },
347
+ /**
348
+ * No description
349
+ *
350
+ * @tags Admin Tenant Wine Bottle Vintages
351
+ * @name CreateTenantWineBottleVintage
352
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-vintages
353
+ * @secure
354
+ * @response `201` `WineBottleVintageEntityDto`
355
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
356
+ */
357
+ createTenantWineBottleVintage: function (tenantId, data, params) {
358
+ if (params === void 0) { params = {}; }
359
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
360
+ },
332
361
  /**
333
362
  * No description
334
363
  *
@@ -441,6 +470,34 @@ var Api = /** @class */ (function (_super) {
441
470
  if (params === void 0) { params = {}; }
442
471
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "DELETE", secure: true }, params));
443
472
  },
473
+ /**
474
+ * No description
475
+ *
476
+ * @tags Admin Tenant Wine Bottle Formats
477
+ * @name DeleteTenantWineBottleFormat
478
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
479
+ * @secure
480
+ * @response `204` `void`
481
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
482
+ */
483
+ deleteTenantWineBottleFormat: function (tenantId, bottleFormatId, params) {
484
+ if (params === void 0) { params = {}; }
485
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "DELETE", secure: true }, params));
486
+ },
487
+ /**
488
+ * No description
489
+ *
490
+ * @tags Admin Tenant Wine Bottle Vintages
491
+ * @name DeleteTenantWineBottleVintage
492
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
493
+ * @secure
494
+ * @response `204` `void`
495
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
496
+ */
497
+ deleteTenantWineBottleVintage: function (tenantId, bottleVintageId, params) {
498
+ if (params === void 0) { params = {}; }
499
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "DELETE", secure: true }, params));
500
+ },
444
501
  /**
445
502
  * No description
446
503
  *
@@ -567,6 +624,34 @@ var Api = /** @class */ (function (_super) {
567
624
  if (params === void 0) { params = {}; }
568
625
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users/").concat(userId, "/enable"), method: "PATCH", secure: true }, params));
569
626
  },
627
+ /**
628
+ * No description
629
+ *
630
+ * @tags Admin Tenant Wine Bottle Formats
631
+ * @name GetTenantWineBottleFormatById
632
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
633
+ * @secure
634
+ * @response `200` `WineBottleFormatEntityDto`
635
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
636
+ */
637
+ getTenantWineBottleFormatById: function (tenantId, bottleFormatId, params) {
638
+ if (params === void 0) { params = {}; }
639
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "GET", secure: true, format: "json" }, params));
640
+ },
641
+ /**
642
+ * No description
643
+ *
644
+ * @tags Admin Tenant Wine Bottle Vintages
645
+ * @name GetTenantWineBottleVintageById
646
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
647
+ * @secure
648
+ * @response `200` `WineBottleVintageEntityDto`
649
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
650
+ */
651
+ getTenantWineBottleVintageById: function (tenantId, bottleVintageId, params) {
652
+ if (params === void 0) { params = {}; }
653
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "GET", secure: true, format: "json" }, params));
654
+ },
570
655
  /**
571
656
  * No description
572
657
  *
@@ -693,6 +778,34 @@ var Api = /** @class */ (function (_super) {
693
778
  if (params === void 0) { params = {}; }
694
779
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users"), method: "GET", query: query, secure: true, format: "json" }, params));
695
780
  },
781
+ /**
782
+ * No description
783
+ *
784
+ * @tags Admin Tenant Wine Bottle Formats
785
+ * @name ListTenantWineBottleFormats
786
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats
787
+ * @secure
788
+ * @response `200` `WineBottleFormatEntityPaginatedDto`
789
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
790
+ */
791
+ listTenantWineBottleFormats: function (tenantId, query, params) {
792
+ if (params === void 0) { params = {}; }
793
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "GET", query: query, secure: true, format: "json" }, params));
794
+ },
795
+ /**
796
+ * No description
797
+ *
798
+ * @tags Admin Tenant Wine Bottle Vintages
799
+ * @name ListTenantWineBottleVintages
800
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages
801
+ * @secure
802
+ * @response `200` `WineBottleVintageEntityPaginatedDto`
803
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
804
+ */
805
+ listTenantWineBottleVintages: function (tenantId, query, params) {
806
+ if (params === void 0) { params = {}; }
807
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "GET", query: query, secure: true, format: "json" }, params));
808
+ },
696
809
  /**
697
810
  * No description
698
811
  *
@@ -819,6 +932,34 @@ var Api = /** @class */ (function (_super) {
819
932
  if (params === void 0) { params = {}; }
820
933
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
821
934
  },
935
+ /**
936
+ * No description
937
+ *
938
+ * @tags Admin Tenant Wine Bottle Formats
939
+ * @name UpdateTenantWineBottleFormat
940
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
941
+ * @secure
942
+ * @response `200` `WineBottleFormatEntityDto`
943
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
944
+ */
945
+ updateTenantWineBottleFormat: function (tenantId, bottleFormatId, data, params) {
946
+ if (params === void 0) { params = {}; }
947
+ 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));
948
+ },
949
+ /**
950
+ * No description
951
+ *
952
+ * @tags Admin Tenant Wine Bottle Vintages
953
+ * @name UpdateTenantWineBottleVintage
954
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
955
+ * @secure
956
+ * @response `200` `WineBottleVintageEntityDto`
957
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
958
+ */
959
+ updateTenantWineBottleVintage: function (tenantId, bottleVintageId, data, params) {
960
+ if (params === void 0) { params = {}; }
961
+ 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));
962
+ },
822
963
  /**
823
964
  * No description
824
965
  *
@@ -90,6 +90,7 @@ export var TenantRoleEnum;
90
90
  TenantRoleEnum["Operator"] = "operator";
91
91
  TenantRoleEnum["Admin"] = "admin";
92
92
  TenantRoleEnum["Owner"] = "owner";
93
+ TenantRoleEnum["Customer"] = "customer";
93
94
  })(TenantRoleEnum || (TenantRoleEnum = {}));
94
95
  export var TenantUserStatusEnum;
95
96
  (function (TenantUserStatusEnum) {
@@ -323,6 +324,34 @@ var Api = /** @class */ (function (_super) {
323
324
  if (params === void 0) { params = {}; }
324
325
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
325
326
  },
327
+ /**
328
+ * No description
329
+ *
330
+ * @tags Admin Tenant Wine Bottle Formats
331
+ * @name CreateTenantWineBottleFormat
332
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-formats
333
+ * @secure
334
+ * @response `201` `WineBottleFormatEntityDto`
335
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
336
+ */
337
+ createTenantWineBottleFormat: function (tenantId, data, params) {
338
+ if (params === void 0) { params = {}; }
339
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
340
+ },
341
+ /**
342
+ * No description
343
+ *
344
+ * @tags Admin Tenant Wine Bottle Vintages
345
+ * @name CreateTenantWineBottleVintage
346
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-vintages
347
+ * @secure
348
+ * @response `201` `WineBottleVintageEntityDto`
349
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
350
+ */
351
+ createTenantWineBottleVintage: function (tenantId, data, params) {
352
+ if (params === void 0) { params = {}; }
353
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
354
+ },
326
355
  /**
327
356
  * No description
328
357
  *
@@ -435,6 +464,34 @@ var Api = /** @class */ (function (_super) {
435
464
  if (params === void 0) { params = {}; }
436
465
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "DELETE", secure: true }, params));
437
466
  },
467
+ /**
468
+ * No description
469
+ *
470
+ * @tags Admin Tenant Wine Bottle Formats
471
+ * @name DeleteTenantWineBottleFormat
472
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
473
+ * @secure
474
+ * @response `204` `void`
475
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
476
+ */
477
+ deleteTenantWineBottleFormat: function (tenantId, bottleFormatId, params) {
478
+ if (params === void 0) { params = {}; }
479
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "DELETE", secure: true }, params));
480
+ },
481
+ /**
482
+ * No description
483
+ *
484
+ * @tags Admin Tenant Wine Bottle Vintages
485
+ * @name DeleteTenantWineBottleVintage
486
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
487
+ * @secure
488
+ * @response `204` `void`
489
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
490
+ */
491
+ deleteTenantWineBottleVintage: function (tenantId, bottleVintageId, params) {
492
+ if (params === void 0) { params = {}; }
493
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "DELETE", secure: true }, params));
494
+ },
438
495
  /**
439
496
  * No description
440
497
  *
@@ -561,6 +618,34 @@ var Api = /** @class */ (function (_super) {
561
618
  if (params === void 0) { params = {}; }
562
619
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users/").concat(userId, "/enable"), method: "PATCH", secure: true }, params));
563
620
  },
621
+ /**
622
+ * No description
623
+ *
624
+ * @tags Admin Tenant Wine Bottle Formats
625
+ * @name GetTenantWineBottleFormatById
626
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
627
+ * @secure
628
+ * @response `200` `WineBottleFormatEntityDto`
629
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
630
+ */
631
+ getTenantWineBottleFormatById: function (tenantId, bottleFormatId, params) {
632
+ if (params === void 0) { params = {}; }
633
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "GET", secure: true, format: "json" }, params));
634
+ },
635
+ /**
636
+ * No description
637
+ *
638
+ * @tags Admin Tenant Wine Bottle Vintages
639
+ * @name GetTenantWineBottleVintageById
640
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
641
+ * @secure
642
+ * @response `200` `WineBottleVintageEntityDto`
643
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
644
+ */
645
+ getTenantWineBottleVintageById: function (tenantId, bottleVintageId, params) {
646
+ if (params === void 0) { params = {}; }
647
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "GET", secure: true, format: "json" }, params));
648
+ },
564
649
  /**
565
650
  * No description
566
651
  *
@@ -687,6 +772,34 @@ var Api = /** @class */ (function (_super) {
687
772
  if (params === void 0) { params = {}; }
688
773
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users"), method: "GET", query: query, secure: true, format: "json" }, params));
689
774
  },
775
+ /**
776
+ * No description
777
+ *
778
+ * @tags Admin Tenant Wine Bottle Formats
779
+ * @name ListTenantWineBottleFormats
780
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats
781
+ * @secure
782
+ * @response `200` `WineBottleFormatEntityPaginatedDto`
783
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
784
+ */
785
+ listTenantWineBottleFormats: function (tenantId, query, params) {
786
+ if (params === void 0) { params = {}; }
787
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "GET", query: query, secure: true, format: "json" }, params));
788
+ },
789
+ /**
790
+ * No description
791
+ *
792
+ * @tags Admin Tenant Wine Bottle Vintages
793
+ * @name ListTenantWineBottleVintages
794
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages
795
+ * @secure
796
+ * @response `200` `WineBottleVintageEntityPaginatedDto`
797
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
798
+ */
799
+ listTenantWineBottleVintages: function (tenantId, query, params) {
800
+ if (params === void 0) { params = {}; }
801
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "GET", query: query, secure: true, format: "json" }, params));
802
+ },
690
803
  /**
691
804
  * No description
692
805
  *
@@ -813,6 +926,34 @@ var Api = /** @class */ (function (_super) {
813
926
  if (params === void 0) { params = {}; }
814
927
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
815
928
  },
929
+ /**
930
+ * No description
931
+ *
932
+ * @tags Admin Tenant Wine Bottle Formats
933
+ * @name UpdateTenantWineBottleFormat
934
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
935
+ * @secure
936
+ * @response `200` `WineBottleFormatEntityDto`
937
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
938
+ */
939
+ updateTenantWineBottleFormat: function (tenantId, bottleFormatId, data, params) {
940
+ if (params === void 0) { params = {}; }
941
+ 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));
942
+ },
943
+ /**
944
+ * No description
945
+ *
946
+ * @tags Admin Tenant Wine Bottle Vintages
947
+ * @name UpdateTenantWineBottleVintage
948
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
949
+ * @secure
950
+ * @response `200` `WineBottleVintageEntityDto`
951
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
952
+ */
953
+ updateTenantWineBottleVintage: function (tenantId, bottleVintageId, data, params) {
954
+ if (params === void 0) { params = {}; }
955
+ 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));
956
+ },
816
957
  /**
817
958
  * No description
818
959
  *
@@ -101,7 +101,8 @@ export interface SigninResponseDto {
101
101
  export declare enum TenantRoleEnum {
102
102
  Operator = "operator",
103
103
  Admin = "admin",
104
- Owner = "owner"
104
+ Owner = "owner",
105
+ Customer = "customer"
105
106
  }
106
107
  export interface TenantUserEntityDto {
107
108
  roles: TenantRoleEnum[];
@@ -163,7 +164,7 @@ export interface UpdateWineDto {
163
164
  }
164
165
  export interface UserEntityDto {
165
166
  /** @format date-time */
166
- createdAt?: string;
167
+ createdAt: string;
167
168
  /** @format date-time */
168
169
  deletedAt?: string | null;
169
170
  email: string;
@@ -173,9 +174,45 @@ export interface UserEntityDto {
173
174
  /** @format date-time */
174
175
  updatedAt: string;
175
176
  }
177
+ export interface WineBottleFormatEntityDto {
178
+ /** @format date-time */
179
+ createdAt: string;
180
+ /** @format date-time */
181
+ deletedAt?: string | null;
182
+ /** @format uuid */
183
+ id: string;
184
+ name: string;
185
+ /** @format uuid */
186
+ tenantId?: string | null;
187
+ /** @format date-time */
188
+ updatedAt: string;
189
+ }
190
+ export interface WineBottleFormatEntityPaginatedDto {
191
+ items: WineBottleFormatEntityDto[];
192
+ links?: PaginationLinksDto;
193
+ meta: PaginationMetaDto;
194
+ }
195
+ export interface WineBottleVintageEntityDto {
196
+ /** @format date-time */
197
+ createdAt: string;
198
+ /** @format date-time */
199
+ deletedAt?: string | null;
200
+ /** @format uuid */
201
+ id: string;
202
+ name: string;
203
+ /** @format uuid */
204
+ tenantId?: string | null;
205
+ /** @format date-time */
206
+ updatedAt: string;
207
+ }
208
+ export interface WineBottleVintageEntityPaginatedDto {
209
+ items: WineBottleVintageEntityDto[];
210
+ links?: PaginationLinksDto;
211
+ meta: PaginationMetaDto;
212
+ }
176
213
  export interface WineBrandEntityDto {
177
214
  /** @format date-time */
178
- createdAt?: string;
215
+ createdAt: string;
179
216
  /** @format date-time */
180
217
  deletedAt?: string | null;
181
218
  /** @format uuid */
@@ -196,7 +233,7 @@ export interface WineEntityDto {
196
233
  /** @format uuid */
197
234
  brandId: string;
198
235
  /** @format date-time */
199
- createdAt?: string;
236
+ createdAt: string;
200
237
  /** @format date-time */
201
238
  deletedAt?: string | null;
202
239
  description?: string;
@@ -237,7 +274,7 @@ export interface WineLocationDto {
237
274
  }
238
275
  export interface WineProducerEntityDto {
239
276
  /** @format date-time */
240
- createdAt?: string;
277
+ createdAt: string;
241
278
  /** @format date-time */
242
279
  deletedAt?: string | null;
243
280
  /** @format uuid */
@@ -255,7 +292,7 @@ export interface WineProducerEntityPaginatedDto {
255
292
  }
256
293
  export interface WineStyleEntityDto {
257
294
  /** @format date-time */
258
- createdAt?: string;
295
+ createdAt: string;
259
296
  /** @format date-time */
260
297
  deletedAt?: string | null;
261
298
  /** @format uuid */
@@ -273,7 +310,7 @@ export interface WineStyleEntityPaginatedDto {
273
310
  }
274
311
  export interface WineTypeEntityDto {
275
312
  /** @format date-time */
276
- createdAt?: string;
313
+ createdAt: string;
277
314
  /** @format date-time */
278
315
  deletedAt?: string | null;
279
316
  /** @format uuid */
@@ -291,7 +328,7 @@ export interface WineTypeEntityPaginatedDto {
291
328
  }
292
329
  export interface WineVarietalEntityDto {
293
330
  /** @format date-time */
294
- createdAt?: string;
331
+ createdAt: string;
295
332
  /** @format date-time */
296
333
  deletedAt?: string | null;
297
334
  /** @format uuid */
@@ -309,7 +346,7 @@ export interface WineVarietalEntityPaginatedDto {
309
346
  }
310
347
  export interface WineVillageEntityDto {
311
348
  /** @format date-time */
312
- createdAt?: string;
349
+ createdAt: string;
313
350
  /** @format date-time */
314
351
  deletedAt?: string | null;
315
352
  /** @format uuid */
@@ -327,7 +364,7 @@ export interface WineVillageEntityPaginatedDto {
327
364
  }
328
365
  export interface WineVineyardEntityDto {
329
366
  /** @format date-time */
330
- createdAt?: string;
367
+ createdAt: string;
331
368
  /** @format date-time */
332
369
  deletedAt?: string | null;
333
370
  /** @format uuid */
@@ -480,6 +517,42 @@ export declare namespace Admin {
480
517
  type RequestHeaders = {};
481
518
  type ResponseBody = WineEntityDto;
482
519
  }
520
+ /**
521
+ * No description
522
+ * @tags Admin Tenant Wine Bottle Formats
523
+ * @name CreateTenantWineBottleFormat
524
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-formats
525
+ * @secure
526
+ * @response `201` `WineBottleFormatEntityDto`
527
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
528
+ */
529
+ namespace CreateTenantWineBottleFormat {
530
+ type RequestParams = {
531
+ tenantId: string;
532
+ };
533
+ type RequestQuery = {};
534
+ type RequestBody = CreateNameOnlyEntityDto;
535
+ type RequestHeaders = {};
536
+ type ResponseBody = WineBottleFormatEntityDto;
537
+ }
538
+ /**
539
+ * No description
540
+ * @tags Admin Tenant Wine Bottle Vintages
541
+ * @name CreateTenantWineBottleVintage
542
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-vintages
543
+ * @secure
544
+ * @response `201` `WineBottleVintageEntityDto`
545
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
546
+ */
547
+ namespace CreateTenantWineBottleVintage {
548
+ type RequestParams = {
549
+ tenantId: string;
550
+ };
551
+ type RequestQuery = {};
552
+ type RequestBody = CreateNameOnlyEntityDto;
553
+ type RequestHeaders = {};
554
+ type ResponseBody = WineBottleVintageEntityDto;
555
+ }
483
556
  /**
484
557
  * No description
485
558
  * @tags Admin Tenant Wine Brands
@@ -625,6 +698,44 @@ export declare namespace Admin {
625
698
  type RequestHeaders = {};
626
699
  type ResponseBody = void;
627
700
  }
701
+ /**
702
+ * No description
703
+ * @tags Admin Tenant Wine Bottle Formats
704
+ * @name DeleteTenantWineBottleFormat
705
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
706
+ * @secure
707
+ * @response `204` `void`
708
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
709
+ */
710
+ namespace DeleteTenantWineBottleFormat {
711
+ type RequestParams = {
712
+ bottleFormatId: string;
713
+ tenantId: string;
714
+ };
715
+ type RequestQuery = {};
716
+ type RequestBody = never;
717
+ type RequestHeaders = {};
718
+ type ResponseBody = void;
719
+ }
720
+ /**
721
+ * No description
722
+ * @tags Admin Tenant Wine Bottle Vintages
723
+ * @name DeleteTenantWineBottleVintage
724
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
725
+ * @secure
726
+ * @response `204` `void`
727
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
728
+ */
729
+ namespace DeleteTenantWineBottleVintage {
730
+ type RequestParams = {
731
+ bottleVintageId: string;
732
+ tenantId: string;
733
+ };
734
+ type RequestQuery = {};
735
+ type RequestBody = never;
736
+ type RequestHeaders = {};
737
+ type ResponseBody = void;
738
+ }
628
739
  /**
629
740
  * No description
630
741
  * @tags Admin Tenant Wine Brands
@@ -796,6 +907,44 @@ export declare namespace Admin {
796
907
  type RequestHeaders = {};
797
908
  type ResponseBody = void;
798
909
  }
910
+ /**
911
+ * No description
912
+ * @tags Admin Tenant Wine Bottle Formats
913
+ * @name GetTenantWineBottleFormatById
914
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
915
+ * @secure
916
+ * @response `200` `WineBottleFormatEntityDto`
917
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
918
+ */
919
+ namespace GetTenantWineBottleFormatById {
920
+ type RequestParams = {
921
+ bottleFormatId: string;
922
+ tenantId: string;
923
+ };
924
+ type RequestQuery = {};
925
+ type RequestBody = never;
926
+ type RequestHeaders = {};
927
+ type ResponseBody = WineBottleFormatEntityDto;
928
+ }
929
+ /**
930
+ * No description
931
+ * @tags Admin Tenant Wine Bottle Vintages
932
+ * @name GetTenantWineBottleVintageById
933
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
934
+ * @secure
935
+ * @response `200` `WineBottleVintageEntityDto`
936
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
937
+ */
938
+ namespace GetTenantWineBottleVintageById {
939
+ type RequestParams = {
940
+ bottleVintageId: string;
941
+ tenantId: string;
942
+ };
943
+ type RequestQuery = {};
944
+ type RequestBody = never;
945
+ type RequestHeaders = {};
946
+ type ResponseBody = WineBottleVintageEntityDto;
947
+ }
799
948
  /**
800
949
  * No description
801
950
  * @tags Admin Tenant Wine Brands
@@ -982,6 +1131,72 @@ export declare namespace Admin {
982
1131
  type RequestHeaders = {};
983
1132
  type ResponseBody = TenantUserEntityPaginatedDto;
984
1133
  }
1134
+ /**
1135
+ * No description
1136
+ * @tags Admin Tenant Wine Bottle Formats
1137
+ * @name ListTenantWineBottleFormats
1138
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats
1139
+ * @secure
1140
+ * @response `200` `WineBottleFormatEntityPaginatedDto`
1141
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1142
+ */
1143
+ namespace ListTenantWineBottleFormats {
1144
+ type RequestParams = {
1145
+ tenantId: string;
1146
+ };
1147
+ type RequestQuery = {
1148
+ createdAt?: string;
1149
+ /**
1150
+ * @default 10
1151
+ * @example 10
1152
+ */
1153
+ limit?: number;
1154
+ orderBy?: OrderByEnum;
1155
+ /**
1156
+ * @default 1
1157
+ * @example 1
1158
+ */
1159
+ page?: number;
1160
+ search?: string;
1161
+ sortBy?: string[];
1162
+ };
1163
+ type RequestBody = never;
1164
+ type RequestHeaders = {};
1165
+ type ResponseBody = WineBottleFormatEntityPaginatedDto;
1166
+ }
1167
+ /**
1168
+ * No description
1169
+ * @tags Admin Tenant Wine Bottle Vintages
1170
+ * @name ListTenantWineBottleVintages
1171
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages
1172
+ * @secure
1173
+ * @response `200` `WineBottleVintageEntityPaginatedDto`
1174
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1175
+ */
1176
+ namespace ListTenantWineBottleVintages {
1177
+ type RequestParams = {
1178
+ tenantId: string;
1179
+ };
1180
+ type RequestQuery = {
1181
+ createdAt?: string;
1182
+ /**
1183
+ * @default 10
1184
+ * @example 10
1185
+ */
1186
+ limit?: number;
1187
+ orderBy?: OrderByEnum;
1188
+ /**
1189
+ * @default 1
1190
+ * @example 1
1191
+ */
1192
+ page?: number;
1193
+ search?: string;
1194
+ sortBy?: string[];
1195
+ };
1196
+ type RequestBody = never;
1197
+ type RequestHeaders = {};
1198
+ type ResponseBody = WineBottleVintageEntityPaginatedDto;
1199
+ }
985
1200
  /**
986
1201
  * No description
987
1202
  * @tags Admin Tenant Wine Brands
@@ -1271,6 +1486,44 @@ export declare namespace Admin {
1271
1486
  type RequestHeaders = {};
1272
1487
  type ResponseBody = WineEntityDto;
1273
1488
  }
1489
+ /**
1490
+ * No description
1491
+ * @tags Admin Tenant Wine Bottle Formats
1492
+ * @name UpdateTenantWineBottleFormat
1493
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
1494
+ * @secure
1495
+ * @response `200` `WineBottleFormatEntityDto`
1496
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1497
+ */
1498
+ namespace UpdateTenantWineBottleFormat {
1499
+ type RequestParams = {
1500
+ bottleFormatId: string;
1501
+ tenantId: string;
1502
+ };
1503
+ type RequestQuery = {};
1504
+ type RequestBody = UpdateNameOnlyEntityDto;
1505
+ type RequestHeaders = {};
1506
+ type ResponseBody = WineBottleFormatEntityDto;
1507
+ }
1508
+ /**
1509
+ * No description
1510
+ * @tags Admin Tenant Wine Bottle Vintages
1511
+ * @name UpdateTenantWineBottleVintage
1512
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
1513
+ * @secure
1514
+ * @response `200` `WineBottleVintageEntityDto`
1515
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1516
+ */
1517
+ namespace UpdateTenantWineBottleVintage {
1518
+ type RequestParams = {
1519
+ bottleVintageId: string;
1520
+ tenantId: string;
1521
+ };
1522
+ type RequestQuery = {};
1523
+ type RequestBody = UpdateNameOnlyEntityDto;
1524
+ type RequestHeaders = {};
1525
+ type ResponseBody = WineBottleVintageEntityDto;
1526
+ }
1274
1527
  /**
1275
1528
  * No description
1276
1529
  * @tags Admin Tenant Wine Brands
@@ -1552,6 +1805,28 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
1552
1805
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1553
1806
  */
1554
1807
  createTenantWine: (tenantId: string, data: CreateWineDto, params?: RequestParams) => Promise<WineEntityDto>;
1808
+ /**
1809
+ * No description
1810
+ *
1811
+ * @tags Admin Tenant Wine Bottle Formats
1812
+ * @name CreateTenantWineBottleFormat
1813
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-formats
1814
+ * @secure
1815
+ * @response `201` `WineBottleFormatEntityDto`
1816
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1817
+ */
1818
+ createTenantWineBottleFormat: (tenantId: string, data: CreateNameOnlyEntityDto, params?: RequestParams) => Promise<WineBottleFormatEntityDto>;
1819
+ /**
1820
+ * No description
1821
+ *
1822
+ * @tags Admin Tenant Wine Bottle Vintages
1823
+ * @name CreateTenantWineBottleVintage
1824
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-vintages
1825
+ * @secure
1826
+ * @response `201` `WineBottleVintageEntityDto`
1827
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1828
+ */
1829
+ createTenantWineBottleVintage: (tenantId: string, data: CreateNameOnlyEntityDto, params?: RequestParams) => Promise<WineBottleVintageEntityDto>;
1555
1830
  /**
1556
1831
  * No description
1557
1832
  *
@@ -1640,6 +1915,28 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
1640
1915
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1641
1916
  */
1642
1917
  deleteTenantWine: (tenantId: string, wineId: string, params?: RequestParams) => Promise<void>;
1918
+ /**
1919
+ * No description
1920
+ *
1921
+ * @tags Admin Tenant Wine Bottle Formats
1922
+ * @name DeleteTenantWineBottleFormat
1923
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
1924
+ * @secure
1925
+ * @response `204` `void`
1926
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1927
+ */
1928
+ deleteTenantWineBottleFormat: (tenantId: string, bottleFormatId: string, params?: RequestParams) => Promise<void>;
1929
+ /**
1930
+ * No description
1931
+ *
1932
+ * @tags Admin Tenant Wine Bottle Vintages
1933
+ * @name DeleteTenantWineBottleVintage
1934
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
1935
+ * @secure
1936
+ * @response `204` `void`
1937
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1938
+ */
1939
+ deleteTenantWineBottleVintage: (tenantId: string, bottleVintageId: string, params?: RequestParams) => Promise<void>;
1643
1940
  /**
1644
1941
  * No description
1645
1942
  *
@@ -1739,6 +2036,28 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
1739
2036
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1740
2037
  */
1741
2038
  enableTenantUser: (tenantId: string, userId: string, params?: RequestParams) => Promise<void>;
2039
+ /**
2040
+ * No description
2041
+ *
2042
+ * @tags Admin Tenant Wine Bottle Formats
2043
+ * @name GetTenantWineBottleFormatById
2044
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
2045
+ * @secure
2046
+ * @response `200` `WineBottleFormatEntityDto`
2047
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
2048
+ */
2049
+ getTenantWineBottleFormatById: (tenantId: string, bottleFormatId: string, params?: RequestParams) => Promise<WineBottleFormatEntityDto>;
2050
+ /**
2051
+ * No description
2052
+ *
2053
+ * @tags Admin Tenant Wine Bottle Vintages
2054
+ * @name GetTenantWineBottleVintageById
2055
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
2056
+ * @secure
2057
+ * @response `200` `WineBottleVintageEntityDto`
2058
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
2059
+ */
2060
+ getTenantWineBottleVintageById: (tenantId: string, bottleVintageId: string, params?: RequestParams) => Promise<WineBottleVintageEntityDto>;
1742
2061
  /**
1743
2062
  * No description
1744
2063
  *
@@ -1854,6 +2173,58 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
1854
2173
  sortBy?: string[];
1855
2174
  status?: TenantUserStatusEnum[];
1856
2175
  }, params?: RequestParams) => Promise<TenantUserEntityPaginatedDto>;
2176
+ /**
2177
+ * No description
2178
+ *
2179
+ * @tags Admin Tenant Wine Bottle Formats
2180
+ * @name ListTenantWineBottleFormats
2181
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats
2182
+ * @secure
2183
+ * @response `200` `WineBottleFormatEntityPaginatedDto`
2184
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
2185
+ */
2186
+ listTenantWineBottleFormats: (tenantId: string, query?: {
2187
+ createdAt?: string;
2188
+ /**
2189
+ * @default 10
2190
+ * @example 10
2191
+ */
2192
+ limit?: number;
2193
+ orderBy?: OrderByEnum;
2194
+ /**
2195
+ * @default 1
2196
+ * @example 1
2197
+ */
2198
+ page?: number;
2199
+ search?: string;
2200
+ sortBy?: string[];
2201
+ }, params?: RequestParams) => Promise<WineBottleFormatEntityPaginatedDto>;
2202
+ /**
2203
+ * No description
2204
+ *
2205
+ * @tags Admin Tenant Wine Bottle Vintages
2206
+ * @name ListTenantWineBottleVintages
2207
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages
2208
+ * @secure
2209
+ * @response `200` `WineBottleVintageEntityPaginatedDto`
2210
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
2211
+ */
2212
+ listTenantWineBottleVintages: (tenantId: string, query?: {
2213
+ createdAt?: string;
2214
+ /**
2215
+ * @default 10
2216
+ * @example 10
2217
+ */
2218
+ limit?: number;
2219
+ orderBy?: OrderByEnum;
2220
+ /**
2221
+ * @default 1
2222
+ * @example 1
2223
+ */
2224
+ page?: number;
2225
+ search?: string;
2226
+ sortBy?: string[];
2227
+ }, params?: RequestParams) => Promise<WineBottleVintageEntityPaginatedDto>;
1857
2228
  /**
1858
2229
  * No description
1859
2230
  *
@@ -2079,6 +2450,28 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2079
2450
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
2080
2451
  */
2081
2452
  updateTenantWine: (tenantId: string, wineId: string, data: UpdateWineDto, params?: RequestParams) => Promise<WineEntityDto>;
2453
+ /**
2454
+ * No description
2455
+ *
2456
+ * @tags Admin Tenant Wine Bottle Formats
2457
+ * @name UpdateTenantWineBottleFormat
2458
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
2459
+ * @secure
2460
+ * @response `200` `WineBottleFormatEntityDto`
2461
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
2462
+ */
2463
+ updateTenantWineBottleFormat: (tenantId: string, bottleFormatId: string, data: UpdateNameOnlyEntityDto, params?: RequestParams) => Promise<WineBottleFormatEntityDto>;
2464
+ /**
2465
+ * No description
2466
+ *
2467
+ * @tags Admin Tenant Wine Bottle Vintages
2468
+ * @name UpdateTenantWineBottleVintage
2469
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
2470
+ * @secure
2471
+ * @response `200` `WineBottleVintageEntityDto`
2472
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
2473
+ */
2474
+ updateTenantWineBottleVintage: (tenantId: string, bottleVintageId: string, data: UpdateNameOnlyEntityDto, params?: RequestParams) => Promise<WineBottleVintageEntityDto>;
2082
2475
  /**
2083
2476
  * No description
2084
2477
  *
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) {
@@ -18654,6 +18655,34 @@ var Api = /** @class */ (function (_super) {
18654
18655
  if (params === void 0) { params = {}; }
18655
18656
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18656
18657
  },
18658
+ /**
18659
+ * No description
18660
+ *
18661
+ * @tags Admin Tenant Wine Bottle Formats
18662
+ * @name CreateTenantWineBottleFormat
18663
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-formats
18664
+ * @secure
18665
+ * @response `201` `WineBottleFormatEntityDto`
18666
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18667
+ */
18668
+ createTenantWineBottleFormat: function (tenantId, data, params) {
18669
+ if (params === void 0) { params = {}; }
18670
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18671
+ },
18672
+ /**
18673
+ * No description
18674
+ *
18675
+ * @tags Admin Tenant Wine Bottle Vintages
18676
+ * @name CreateTenantWineBottleVintage
18677
+ * @request POST:/admin/tenants/{tenantId}/wine-bottle-vintages
18678
+ * @secure
18679
+ * @response `201` `WineBottleVintageEntityDto`
18680
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18681
+ */
18682
+ createTenantWineBottleVintage: function (tenantId, data, params) {
18683
+ if (params === void 0) { params = {}; }
18684
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
18685
+ },
18657
18686
  /**
18658
18687
  * No description
18659
18688
  *
@@ -18766,6 +18795,34 @@ var Api = /** @class */ (function (_super) {
18766
18795
  if (params === void 0) { params = {}; }
18767
18796
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wines/").concat(wineId), method: "DELETE", secure: true }, params));
18768
18797
  },
18798
+ /**
18799
+ * No description
18800
+ *
18801
+ * @tags Admin Tenant Wine Bottle Formats
18802
+ * @name DeleteTenantWineBottleFormat
18803
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
18804
+ * @secure
18805
+ * @response `204` `void`
18806
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18807
+ */
18808
+ deleteTenantWineBottleFormat: function (tenantId, bottleFormatId, params) {
18809
+ if (params === void 0) { params = {}; }
18810
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "DELETE", secure: true }, params));
18811
+ },
18812
+ /**
18813
+ * No description
18814
+ *
18815
+ * @tags Admin Tenant Wine Bottle Vintages
18816
+ * @name DeleteTenantWineBottleVintage
18817
+ * @request DELETE:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
18818
+ * @secure
18819
+ * @response `204` `void`
18820
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
18821
+ */
18822
+ deleteTenantWineBottleVintage: function (tenantId, bottleVintageId, params) {
18823
+ if (params === void 0) { params = {}; }
18824
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "DELETE", secure: true }, params));
18825
+ },
18769
18826
  /**
18770
18827
  * No description
18771
18828
  *
@@ -18892,6 +18949,34 @@ var Api = /** @class */ (function (_super) {
18892
18949
  if (params === void 0) { params = {}; }
18893
18950
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users/").concat(userId, "/enable"), method: "PATCH", secure: true }, params));
18894
18951
  },
18952
+ /**
18953
+ * No description
18954
+ *
18955
+ * @tags Admin Tenant Wine Bottle Formats
18956
+ * @name GetTenantWineBottleFormatById
18957
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
18958
+ * @secure
18959
+ * @response `200` `WineBottleFormatEntityDto`
18960
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
18961
+ */
18962
+ getTenantWineBottleFormatById: function (tenantId, bottleFormatId, params) {
18963
+ if (params === void 0) { params = {}; }
18964
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats/").concat(bottleFormatId), method: "GET", secure: true, format: "json" }, params));
18965
+ },
18966
+ /**
18967
+ * No description
18968
+ *
18969
+ * @tags Admin Tenant Wine Bottle Vintages
18970
+ * @name GetTenantWineBottleVintageById
18971
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
18972
+ * @secure
18973
+ * @response `200` `WineBottleVintageEntityDto`
18974
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
18975
+ */
18976
+ getTenantWineBottleVintageById: function (tenantId, bottleVintageId, params) {
18977
+ if (params === void 0) { params = {}; }
18978
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages/").concat(bottleVintageId), method: "GET", secure: true, format: "json" }, params));
18979
+ },
18895
18980
  /**
18896
18981
  * No description
18897
18982
  *
@@ -19018,6 +19103,34 @@ var Api = /** @class */ (function (_super) {
19018
19103
  if (params === void 0) { params = {}; }
19019
19104
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/users"), method: "GET", query: query, secure: true, format: "json" }, params));
19020
19105
  },
19106
+ /**
19107
+ * No description
19108
+ *
19109
+ * @tags Admin Tenant Wine Bottle Formats
19110
+ * @name ListTenantWineBottleFormats
19111
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-formats
19112
+ * @secure
19113
+ * @response `200` `WineBottleFormatEntityPaginatedDto`
19114
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19115
+ */
19116
+ listTenantWineBottleFormats: function (tenantId, query, params) {
19117
+ if (params === void 0) { params = {}; }
19118
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-formats"), method: "GET", query: query, secure: true, format: "json" }, params));
19119
+ },
19120
+ /**
19121
+ * No description
19122
+ *
19123
+ * @tags Admin Tenant Wine Bottle Vintages
19124
+ * @name ListTenantWineBottleVintages
19125
+ * @request GET:/admin/tenants/{tenantId}/wine-bottle-vintages
19126
+ * @secure
19127
+ * @response `200` `WineBottleVintageEntityPaginatedDto`
19128
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19129
+ */
19130
+ listTenantWineBottleVintages: function (tenantId, query, params) {
19131
+ if (params === void 0) { params = {}; }
19132
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-bottle-vintages"), method: "GET", query: query, secure: true, format: "json" }, params));
19133
+ },
19021
19134
  /**
19022
19135
  * No description
19023
19136
  *
@@ -19144,6 +19257,34 @@ var Api = /** @class */ (function (_super) {
19144
19257
  if (params === void 0) { params = {}; }
19145
19258
  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
19259
  },
19260
+ /**
19261
+ * No description
19262
+ *
19263
+ * @tags Admin Tenant Wine Bottle Formats
19264
+ * @name UpdateTenantWineBottleFormat
19265
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-formats/{bottleFormatId}
19266
+ * @secure
19267
+ * @response `200` `WineBottleFormatEntityDto`
19268
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
19269
+ */
19270
+ updateTenantWineBottleFormat: function (tenantId, bottleFormatId, data, params) {
19271
+ if (params === void 0) { params = {}; }
19272
+ 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));
19273
+ },
19274
+ /**
19275
+ * No description
19276
+ *
19277
+ * @tags Admin Tenant Wine Bottle Vintages
19278
+ * @name UpdateTenantWineBottleVintage
19279
+ * @request PATCH:/admin/tenants/{tenantId}/wine-bottle-vintages/{bottleVintageId}
19280
+ * @secure
19281
+ * @response `200` `WineBottleVintageEntityDto`
19282
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
19283
+ */
19284
+ updateTenantWineBottleVintage: function (tenantId, bottleVintageId, data, params) {
19285
+ if (params === void 0) { params = {}; }
19286
+ 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));
19287
+ },
19147
19288
  /**
19148
19289
  * No description
19149
19290
  *
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.8",
4
4
  "description": "Winehaus SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",