@thelllabs/winehaus-sdk 0.0.16 → 0.0.17

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.
@@ -338,15 +338,15 @@ var Api = /** @class */ (function (_super) {
338
338
  * No description
339
339
  *
340
340
  * @tags Tenant Users Operation Requests
341
- * @name CancelRequest
341
+ * @name CancelUserOperationRequest
342
342
  * @request PATCH:/tenants/{tenantId}/users/userId/requests/{requestId}/cancel
343
343
  * @secure
344
- * @response `200` `void`
344
+ * @response `204` `void`
345
345
  * @response `403` `HttpExceptionDto` You're not enabled to make this operation.
346
346
  */
347
- cancelRequest: function (tenantId, userId, requestId, params) {
347
+ cancelUserOperationRequest: function (tenantId, userId, requestId, data, params) {
348
348
  if (params === void 0) { params = {}; }
349
- return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/").concat(requestId, "/cancel"), method: "PATCH", secure: true }, params));
349
+ return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/").concat(requestId, "/cancel"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
350
350
  },
351
351
  /**
352
352
  * No description
@@ -506,13 +506,13 @@ var Api = /** @class */ (function (_super) {
506
506
  * No description
507
507
  *
508
508
  * @tags Tenant Users Operation Requests
509
- * @name RequestDeposit
509
+ * @name RequestDepositOperation
510
510
  * @request POST:/tenants/{tenantId}/users/userId/requests/deposit
511
511
  * @secure
512
512
  * @response `201` `OperationRequestEntityDto`
513
513
  * @response `403` `HttpExceptionDto` You're not enabled to make this operation.
514
514
  */
515
- requestDeposit: function (tenantId, userId, data, params) {
515
+ requestDepositOperation: function (tenantId, userId, data, params) {
516
516
  if (params === void 0) { params = {}; }
517
517
  return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/deposit"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
518
518
  },
@@ -520,13 +520,13 @@ var Api = /** @class */ (function (_super) {
520
520
  * No description
521
521
  *
522
522
  * @tags Tenant Users Operation Requests
523
- * @name RequestWithdraw
523
+ * @name RequestWithdrawOperation
524
524
  * @request POST:/tenants/{tenantId}/users/userId/requests/withdraw
525
525
  * @secure
526
526
  * @response `201` `OperationRequestEntityDto`
527
527
  * @response `403` `HttpExceptionDto` You're not enabled to make this operation.
528
528
  */
529
- requestWithdraw: function (tenantId, userId, data, params) {
529
+ requestWithdrawOperation: function (tenantId, userId, data, params) {
530
530
  if (params === void 0) { params = {}; }
531
531
  return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/withdraw"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
532
532
  },
@@ -574,6 +574,34 @@ var Api = /** @class */ (function (_super) {
574
574
  if (params === void 0) { params = {}; }
575
575
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId, "/cancel"), method: "PATCH", secure: true }, params));
576
576
  },
577
+ /**
578
+ * No description
579
+ *
580
+ * @tags Admin Tenant Operation Requests
581
+ * @name CancelTenantOperationRequest
582
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/cancel
583
+ * @secure
584
+ * @response `204` `void`
585
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
586
+ */
587
+ cancelTenantOperationRequest: function (tenantId, requestId, data, params) {
588
+ if (params === void 0) { params = {}; }
589
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/cancel"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
590
+ },
591
+ /**
592
+ * No description
593
+ *
594
+ * @tags Admin Tenant Operation Requests
595
+ * @name ConfirmTenantDepositRequest
596
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/confirm-deposit
597
+ * @secure
598
+ * @response `204` `void`
599
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
600
+ */
601
+ confirmTenantDepositRequest: function (tenantId, requestId, params) {
602
+ if (params === void 0) { params = {}; }
603
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/confirm-deposit"), method: "PATCH", secure: true }, params));
604
+ },
577
605
  /**
578
606
  * No description
579
607
  *
@@ -588,6 +616,20 @@ var Api = /** @class */ (function (_super) {
588
616
  if (params === void 0) { params = {}; }
589
617
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId, "/confirm"), method: "PATCH", secure: true }, params));
590
618
  },
619
+ /**
620
+ * No description
621
+ *
622
+ * @tags Admin Tenant Operation Requests
623
+ * @name ConfirmTenantWithdrawRequest
624
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/confirm-withdraw
625
+ * @secure
626
+ * @response `204` `void`
627
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
628
+ */
629
+ confirmTenantWithdrawRequest: function (tenantId, requestId, data, params) {
630
+ if (params === void 0) { params = {}; }
631
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/confirm-withdraw"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
632
+ },
591
633
  /**
592
634
  * No description
593
635
  *
@@ -1036,6 +1078,20 @@ var Api = /** @class */ (function (_super) {
1036
1078
  if (params === void 0) { params = {}; }
1037
1079
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId), method: "GET", secure: true, format: "json" }, params));
1038
1080
  },
1081
+ /**
1082
+ * No description
1083
+ *
1084
+ * @tags Admin Tenant Operation Requests
1085
+ * @name GetTenantOperationRequestById
1086
+ * @request GET:/admin/tenants/{tenantId}/requests/{requestId}
1087
+ * @secure
1088
+ * @response `200` `OperationRequestEntityDto`
1089
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1090
+ */
1091
+ getTenantOperationRequestById: function (tenantId, requestId, params) {
1092
+ if (params === void 0) { params = {}; }
1093
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId), method: "GET", secure: true, format: "json" }, params));
1094
+ },
1039
1095
  /**
1040
1096
  * No description
1041
1097
  *
@@ -1260,6 +1316,20 @@ var Api = /** @class */ (function (_super) {
1260
1316
  if (params === void 0) { params = {}; }
1261
1317
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups"), method: "GET", query: query, secure: true, format: "json" }, params));
1262
1318
  },
1319
+ /**
1320
+ * No description
1321
+ *
1322
+ * @tags Admin Tenant Operation Requests
1323
+ * @name ListTenantOperationRequests
1324
+ * @request GET:/admin/tenants/{tenantId}/requests
1325
+ * @secure
1326
+ * @response `200` `OperationRequestEntityPaginatedDto`
1327
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1328
+ */
1329
+ listTenantOperationRequests: function (tenantId, query, params) {
1330
+ if (params === void 0) { params = {}; }
1331
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests"), method: "GET", query: query, secure: true, format: "json" }, params));
1332
+ },
1263
1333
  /**
1264
1334
  * No description
1265
1335
  *
@@ -1428,6 +1498,20 @@ var Api = /** @class */ (function (_super) {
1428
1498
  if (params === void 0) { params = {}; }
1429
1499
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards"), method: "GET", query: query, secure: true, format: "json" }, params));
1430
1500
  },
1501
+ /**
1502
+ * No description
1503
+ *
1504
+ * @tags Admin Tenant Operation Requests
1505
+ * @name ProcessTenantDepositRequest
1506
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/process-deposit
1507
+ * @secure
1508
+ * @response `204` `void`
1509
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1510
+ */
1511
+ processTenantDepositRequest: function (tenantId, requestId, data, params) {
1512
+ if (params === void 0) { params = {}; }
1513
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/process-deposit"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1514
+ },
1431
1515
  /**
1432
1516
  * No description
1433
1517
  *
@@ -1442,6 +1526,62 @@ var Api = /** @class */ (function (_super) {
1442
1526
  if (params === void 0) { params = {}; }
1443
1527
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId, "/process"), method: "PATCH", secure: true }, params));
1444
1528
  },
1529
+ /**
1530
+ * No description
1531
+ *
1532
+ * @tags Admin Tenant Operation Requests
1533
+ * @name ProcessTenantWithdrawRequest
1534
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/process-withdraw
1535
+ * @secure
1536
+ * @response `204` `void`
1537
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1538
+ */
1539
+ processTenantWithdrawRequest: function (tenantId, requestId, data, params) {
1540
+ if (params === void 0) { params = {}; }
1541
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/process-withdraw"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1542
+ },
1543
+ /**
1544
+ * No description
1545
+ *
1546
+ * @tags Admin Tenant Operation Requests
1547
+ * @name RefuseTenantOperationRequest
1548
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/refuse
1549
+ * @secure
1550
+ * @response `204` `void`
1551
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1552
+ */
1553
+ refuseTenantOperationRequest: function (tenantId, requestId, data, params) {
1554
+ if (params === void 0) { params = {}; }
1555
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/refuse"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1556
+ },
1557
+ /**
1558
+ * No description
1559
+ *
1560
+ * @tags Admin Tenant Operation Requests
1561
+ * @name SetTenantOperationRequestAsProcessing
1562
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
1563
+ * @secure
1564
+ * @response `204` `void`
1565
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1566
+ */
1567
+ setTenantOperationRequestAsProcessing: function (tenantId, requestId, params) {
1568
+ if (params === void 0) { params = {}; }
1569
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing"), method: "PATCH", secure: true }, params));
1570
+ },
1571
+ /**
1572
+ * No description
1573
+ *
1574
+ * @tags Admin Tenant Operation Groups
1575
+ * @name SyncTenantOperationGroupWithSnapshot
1576
+ * @request PUT:/admin/tenants/{tenantId}/operation-groups/{groupId}
1577
+ * @secure
1578
+ * @response `200` `OperationGroupEntityDto`
1579
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1580
+ */
1581
+ syncTenantOperationGroupWithSnapshot: function (tenantId, groupId, data, params) {
1582
+ if (params === void 0) { params = {}; }
1583
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId), method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1584
+ },
1445
1585
  /**
1446
1586
  * No description
1447
1587
  *
@@ -1638,6 +1778,20 @@ var Api = /** @class */ (function (_super) {
1638
1778
  if (params === void 0) { params = {}; }
1639
1779
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards/").concat(vineyardId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1640
1780
  },
1781
+ /**
1782
+ * No description
1783
+ *
1784
+ * @tags Admin Tenant Operation Requests
1785
+ * @name UpdateTenantWithdrawRequestDeliverState
1786
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/withdraw-deliver-state
1787
+ * @secure
1788
+ * @response `204` `void`
1789
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1790
+ */
1791
+ updateTenantWithdrawRequestDeliverState: function (tenantId, requestId, data, params) {
1792
+ if (params === void 0) { params = {}; }
1793
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/withdraw-deliver-state"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1794
+ },
1641
1795
  };
1642
1796
  return _this;
1643
1797
  }
@@ -332,15 +332,15 @@ var Api = /** @class */ (function (_super) {
332
332
  * No description
333
333
  *
334
334
  * @tags Tenant Users Operation Requests
335
- * @name CancelRequest
335
+ * @name CancelUserOperationRequest
336
336
  * @request PATCH:/tenants/{tenantId}/users/userId/requests/{requestId}/cancel
337
337
  * @secure
338
- * @response `200` `void`
338
+ * @response `204` `void`
339
339
  * @response `403` `HttpExceptionDto` You're not enabled to make this operation.
340
340
  */
341
- cancelRequest: function (tenantId, userId, requestId, params) {
341
+ cancelUserOperationRequest: function (tenantId, userId, requestId, data, params) {
342
342
  if (params === void 0) { params = {}; }
343
- return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/").concat(requestId, "/cancel"), method: "PATCH", secure: true }, params));
343
+ return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/").concat(requestId, "/cancel"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
344
344
  },
345
345
  /**
346
346
  * No description
@@ -500,13 +500,13 @@ var Api = /** @class */ (function (_super) {
500
500
  * No description
501
501
  *
502
502
  * @tags Tenant Users Operation Requests
503
- * @name RequestDeposit
503
+ * @name RequestDepositOperation
504
504
  * @request POST:/tenants/{tenantId}/users/userId/requests/deposit
505
505
  * @secure
506
506
  * @response `201` `OperationRequestEntityDto`
507
507
  * @response `403` `HttpExceptionDto` You're not enabled to make this operation.
508
508
  */
509
- requestDeposit: function (tenantId, userId, data, params) {
509
+ requestDepositOperation: function (tenantId, userId, data, params) {
510
510
  if (params === void 0) { params = {}; }
511
511
  return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/deposit"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
512
512
  },
@@ -514,13 +514,13 @@ var Api = /** @class */ (function (_super) {
514
514
  * No description
515
515
  *
516
516
  * @tags Tenant Users Operation Requests
517
- * @name RequestWithdraw
517
+ * @name RequestWithdrawOperation
518
518
  * @request POST:/tenants/{tenantId}/users/userId/requests/withdraw
519
519
  * @secure
520
520
  * @response `201` `OperationRequestEntityDto`
521
521
  * @response `403` `HttpExceptionDto` You're not enabled to make this operation.
522
522
  */
523
- requestWithdraw: function (tenantId, userId, data, params) {
523
+ requestWithdrawOperation: function (tenantId, userId, data, params) {
524
524
  if (params === void 0) { params = {}; }
525
525
  return _this.request(__assign({ path: "/tenants/".concat(tenantId, "/users/userId/requests/withdraw"), method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
526
526
  },
@@ -568,6 +568,34 @@ var Api = /** @class */ (function (_super) {
568
568
  if (params === void 0) { params = {}; }
569
569
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId, "/cancel"), method: "PATCH", secure: true }, params));
570
570
  },
571
+ /**
572
+ * No description
573
+ *
574
+ * @tags Admin Tenant Operation Requests
575
+ * @name CancelTenantOperationRequest
576
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/cancel
577
+ * @secure
578
+ * @response `204` `void`
579
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
580
+ */
581
+ cancelTenantOperationRequest: function (tenantId, requestId, data, params) {
582
+ if (params === void 0) { params = {}; }
583
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/cancel"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
584
+ },
585
+ /**
586
+ * No description
587
+ *
588
+ * @tags Admin Tenant Operation Requests
589
+ * @name ConfirmTenantDepositRequest
590
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/confirm-deposit
591
+ * @secure
592
+ * @response `204` `void`
593
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
594
+ */
595
+ confirmTenantDepositRequest: function (tenantId, requestId, params) {
596
+ if (params === void 0) { params = {}; }
597
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/confirm-deposit"), method: "PATCH", secure: true }, params));
598
+ },
571
599
  /**
572
600
  * No description
573
601
  *
@@ -582,6 +610,20 @@ var Api = /** @class */ (function (_super) {
582
610
  if (params === void 0) { params = {}; }
583
611
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId, "/confirm"), method: "PATCH", secure: true }, params));
584
612
  },
613
+ /**
614
+ * No description
615
+ *
616
+ * @tags Admin Tenant Operation Requests
617
+ * @name ConfirmTenantWithdrawRequest
618
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/confirm-withdraw
619
+ * @secure
620
+ * @response `204` `void`
621
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
622
+ */
623
+ confirmTenantWithdrawRequest: function (tenantId, requestId, data, params) {
624
+ if (params === void 0) { params = {}; }
625
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/confirm-withdraw"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
626
+ },
585
627
  /**
586
628
  * No description
587
629
  *
@@ -1030,6 +1072,20 @@ var Api = /** @class */ (function (_super) {
1030
1072
  if (params === void 0) { params = {}; }
1031
1073
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId), method: "GET", secure: true, format: "json" }, params));
1032
1074
  },
1075
+ /**
1076
+ * No description
1077
+ *
1078
+ * @tags Admin Tenant Operation Requests
1079
+ * @name GetTenantOperationRequestById
1080
+ * @request GET:/admin/tenants/{tenantId}/requests/{requestId}
1081
+ * @secure
1082
+ * @response `200` `OperationRequestEntityDto`
1083
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1084
+ */
1085
+ getTenantOperationRequestById: function (tenantId, requestId, params) {
1086
+ if (params === void 0) { params = {}; }
1087
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId), method: "GET", secure: true, format: "json" }, params));
1088
+ },
1033
1089
  /**
1034
1090
  * No description
1035
1091
  *
@@ -1254,6 +1310,20 @@ var Api = /** @class */ (function (_super) {
1254
1310
  if (params === void 0) { params = {}; }
1255
1311
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups"), method: "GET", query: query, secure: true, format: "json" }, params));
1256
1312
  },
1313
+ /**
1314
+ * No description
1315
+ *
1316
+ * @tags Admin Tenant Operation Requests
1317
+ * @name ListTenantOperationRequests
1318
+ * @request GET:/admin/tenants/{tenantId}/requests
1319
+ * @secure
1320
+ * @response `200` `OperationRequestEntityPaginatedDto`
1321
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1322
+ */
1323
+ listTenantOperationRequests: function (tenantId, query, params) {
1324
+ if (params === void 0) { params = {}; }
1325
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests"), method: "GET", query: query, secure: true, format: "json" }, params));
1326
+ },
1257
1327
  /**
1258
1328
  * No description
1259
1329
  *
@@ -1422,6 +1492,20 @@ var Api = /** @class */ (function (_super) {
1422
1492
  if (params === void 0) { params = {}; }
1423
1493
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards"), method: "GET", query: query, secure: true, format: "json" }, params));
1424
1494
  },
1495
+ /**
1496
+ * No description
1497
+ *
1498
+ * @tags Admin Tenant Operation Requests
1499
+ * @name ProcessTenantDepositRequest
1500
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/process-deposit
1501
+ * @secure
1502
+ * @response `204` `void`
1503
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1504
+ */
1505
+ processTenantDepositRequest: function (tenantId, requestId, data, params) {
1506
+ if (params === void 0) { params = {}; }
1507
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/process-deposit"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1508
+ },
1425
1509
  /**
1426
1510
  * No description
1427
1511
  *
@@ -1436,6 +1520,62 @@ var Api = /** @class */ (function (_super) {
1436
1520
  if (params === void 0) { params = {}; }
1437
1521
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId, "/process"), method: "PATCH", secure: true }, params));
1438
1522
  },
1523
+ /**
1524
+ * No description
1525
+ *
1526
+ * @tags Admin Tenant Operation Requests
1527
+ * @name ProcessTenantWithdrawRequest
1528
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/process-withdraw
1529
+ * @secure
1530
+ * @response `204` `void`
1531
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1532
+ */
1533
+ processTenantWithdrawRequest: function (tenantId, requestId, data, params) {
1534
+ if (params === void 0) { params = {}; }
1535
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/process-withdraw"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1536
+ },
1537
+ /**
1538
+ * No description
1539
+ *
1540
+ * @tags Admin Tenant Operation Requests
1541
+ * @name RefuseTenantOperationRequest
1542
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/refuse
1543
+ * @secure
1544
+ * @response `204` `void`
1545
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1546
+ */
1547
+ refuseTenantOperationRequest: function (tenantId, requestId, data, params) {
1548
+ if (params === void 0) { params = {}; }
1549
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/refuse"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1550
+ },
1551
+ /**
1552
+ * No description
1553
+ *
1554
+ * @tags Admin Tenant Operation Requests
1555
+ * @name SetTenantOperationRequestAsProcessing
1556
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
1557
+ * @secure
1558
+ * @response `204` `void`
1559
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1560
+ */
1561
+ setTenantOperationRequestAsProcessing: function (tenantId, requestId, params) {
1562
+ if (params === void 0) { params = {}; }
1563
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing"), method: "PATCH", secure: true }, params));
1564
+ },
1565
+ /**
1566
+ * No description
1567
+ *
1568
+ * @tags Admin Tenant Operation Groups
1569
+ * @name SyncTenantOperationGroupWithSnapshot
1570
+ * @request PUT:/admin/tenants/{tenantId}/operation-groups/{groupId}
1571
+ * @secure
1572
+ * @response `200` `OperationGroupEntityDto`
1573
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin
1574
+ */
1575
+ syncTenantOperationGroupWithSnapshot: function (tenantId, groupId, data, params) {
1576
+ if (params === void 0) { params = {}; }
1577
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/operation-groups/").concat(groupId), method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1578
+ },
1439
1579
  /**
1440
1580
  * No description
1441
1581
  *
@@ -1632,6 +1772,20 @@ var Api = /** @class */ (function (_super) {
1632
1772
  if (params === void 0) { params = {}; }
1633
1773
  return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/wine-vineyards/").concat(vineyardId), method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params));
1634
1774
  },
1775
+ /**
1776
+ * No description
1777
+ *
1778
+ * @tags Admin Tenant Operation Requests
1779
+ * @name UpdateTenantWithdrawRequestDeliverState
1780
+ * @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/withdraw-deliver-state
1781
+ * @secure
1782
+ * @response `204` `void`
1783
+ * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1784
+ */
1785
+ updateTenantWithdrawRequestDeliverState: function (tenantId, requestId, data, params) {
1786
+ if (params === void 0) { params = {}; }
1787
+ return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/withdraw-deliver-state"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
1788
+ },
1635
1789
  };
1636
1790
  return _this;
1637
1791
  }