@thelllabs/winehaus-sdk 0.0.21 → 0.0.22
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/cjs/api/api.js +27 -5
- package/dist/esm/api/api.js +26 -4
- package/dist/types/api/api.d.ts +52 -9
- package/dist/umd/index.ts +27 -5
- package/package.json +1 -1
package/dist/cjs/api/api.js
CHANGED
|
@@ -85,7 +85,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
85
85
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
86
86
|
};
|
|
87
87
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
88
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WithdrawRequestDeliverTypeEnum = exports.WithdrawRequestDeliverStatusEnum = exports.UserNotificationTypeEnum = exports.TenantUserStatusEnum = exports.TenantRoleEnum = exports.PhoneTypeEnum = exports.OrderByEnum = exports.OperationRequestTypeEnum = exports.OperationRequestStatusEnum = exports.OperationGroupStatusEnum = exports.CreateOnlyOperationGroupStatusEnum = exports.CaseOperationTypesEnum = exports.CaseOperationStatusEnum = exports.CaseOperationLogTypeEnum = void 0;
|
|
88
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WithdrawRequestDeliverTypeEnum = exports.WithdrawRequestDeliverStatusEnum = exports.UserNotificationTypeEnum = exports.TenantUserStatusEnum = exports.TenantRoleEnum = exports.PhoneTypeEnum = exports.OrderByEnum = exports.OperationRequestTypeEnum = exports.OperationRequestStatusEnum = exports.OperationGroupStatusEnum = exports.CreateOnlyOperationGroupStatusEnum = exports.CaseOperationTypesEnum = exports.CaseOperationTypeEnum = exports.CaseOperationStatusEnum = exports.CaseOperationLogTypeEnum = void 0;
|
|
89
89
|
var CaseOperationLogTypeEnum;
|
|
90
90
|
(function (CaseOperationLogTypeEnum) {
|
|
91
91
|
CaseOperationLogTypeEnum["RequestAccepted"] = "request_accepted";
|
|
@@ -100,6 +100,11 @@ var CaseOperationStatusEnum;
|
|
|
100
100
|
CaseOperationStatusEnum["Processed"] = "processed";
|
|
101
101
|
CaseOperationStatusEnum["Cancelled"] = "cancelled";
|
|
102
102
|
})(CaseOperationStatusEnum = exports.CaseOperationStatusEnum || (exports.CaseOperationStatusEnum = {}));
|
|
103
|
+
var CaseOperationTypeEnum;
|
|
104
|
+
(function (CaseOperationTypeEnum) {
|
|
105
|
+
CaseOperationTypeEnum["Deposit"] = "deposit";
|
|
106
|
+
CaseOperationTypeEnum["Withdrawal"] = "withdrawal";
|
|
107
|
+
})(CaseOperationTypeEnum = exports.CaseOperationTypeEnum || (exports.CaseOperationTypeEnum = {}));
|
|
103
108
|
var CaseOperationTypesEnum;
|
|
104
109
|
(function (CaseOperationTypesEnum) {
|
|
105
110
|
CaseOperationTypesEnum["Deposit"] = "deposit";
|
|
@@ -141,6 +146,9 @@ var PhoneTypeEnum;
|
|
|
141
146
|
(function (PhoneTypeEnum) {
|
|
142
147
|
PhoneTypeEnum["Fixed"] = "fixed";
|
|
143
148
|
PhoneTypeEnum["Mobile"] = "mobile";
|
|
149
|
+
PhoneTypeEnum["Home"] = "home";
|
|
150
|
+
PhoneTypeEnum["Work"] = "work";
|
|
151
|
+
PhoneTypeEnum["Other"] = "other";
|
|
144
152
|
})(PhoneTypeEnum = exports.PhoneTypeEnum || (exports.PhoneTypeEnum = {}));
|
|
145
153
|
var TenantRoleEnum;
|
|
146
154
|
(function (TenantRoleEnum) {
|
|
@@ -1640,15 +1648,29 @@ var Api = /** @class */ (function (_super) {
|
|
|
1640
1648
|
* No description
|
|
1641
1649
|
*
|
|
1642
1650
|
* @tags Admin Tenant Operation Requests
|
|
1643
|
-
* @name
|
|
1644
|
-
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
|
|
1651
|
+
* @name SetTenantDepositRequestAsProcessing
|
|
1652
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-deposit
|
|
1645
1653
|
* @secure
|
|
1646
1654
|
* @response `204` `void`
|
|
1647
1655
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
1648
1656
|
*/
|
|
1649
|
-
|
|
1657
|
+
setTenantDepositRequestAsProcessing: function (tenantId, requestId, data, params) {
|
|
1650
1658
|
if (params === void 0) { params = {}; }
|
|
1651
|
-
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing"), method: "PATCH", secure: true }, params));
|
|
1659
|
+
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing-deposit"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
|
|
1660
|
+
},
|
|
1661
|
+
/**
|
|
1662
|
+
* No description
|
|
1663
|
+
*
|
|
1664
|
+
* @tags Admin Tenant Operation Requests
|
|
1665
|
+
* @name SetTenantWithdrawRequestAsProcessing
|
|
1666
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-withdraw
|
|
1667
|
+
* @secure
|
|
1668
|
+
* @response `204` `void`
|
|
1669
|
+
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
1670
|
+
*/
|
|
1671
|
+
setTenantWithdrawRequestAsProcessing: function (tenantId, requestId, params) {
|
|
1672
|
+
if (params === void 0) { params = {}; }
|
|
1673
|
+
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing-withdraw"), method: "PATCH", secure: true }, params));
|
|
1652
1674
|
},
|
|
1653
1675
|
/**
|
|
1654
1676
|
* No description
|
package/dist/esm/api/api.js
CHANGED
|
@@ -94,6 +94,11 @@ export var CaseOperationStatusEnum;
|
|
|
94
94
|
CaseOperationStatusEnum["Processed"] = "processed";
|
|
95
95
|
CaseOperationStatusEnum["Cancelled"] = "cancelled";
|
|
96
96
|
})(CaseOperationStatusEnum || (CaseOperationStatusEnum = {}));
|
|
97
|
+
export var CaseOperationTypeEnum;
|
|
98
|
+
(function (CaseOperationTypeEnum) {
|
|
99
|
+
CaseOperationTypeEnum["Deposit"] = "deposit";
|
|
100
|
+
CaseOperationTypeEnum["Withdrawal"] = "withdrawal";
|
|
101
|
+
})(CaseOperationTypeEnum || (CaseOperationTypeEnum = {}));
|
|
97
102
|
export var CaseOperationTypesEnum;
|
|
98
103
|
(function (CaseOperationTypesEnum) {
|
|
99
104
|
CaseOperationTypesEnum["Deposit"] = "deposit";
|
|
@@ -135,6 +140,9 @@ export var PhoneTypeEnum;
|
|
|
135
140
|
(function (PhoneTypeEnum) {
|
|
136
141
|
PhoneTypeEnum["Fixed"] = "fixed";
|
|
137
142
|
PhoneTypeEnum["Mobile"] = "mobile";
|
|
143
|
+
PhoneTypeEnum["Home"] = "home";
|
|
144
|
+
PhoneTypeEnum["Work"] = "work";
|
|
145
|
+
PhoneTypeEnum["Other"] = "other";
|
|
138
146
|
})(PhoneTypeEnum || (PhoneTypeEnum = {}));
|
|
139
147
|
export var TenantRoleEnum;
|
|
140
148
|
(function (TenantRoleEnum) {
|
|
@@ -1634,15 +1642,29 @@ var Api = /** @class */ (function (_super) {
|
|
|
1634
1642
|
* No description
|
|
1635
1643
|
*
|
|
1636
1644
|
* @tags Admin Tenant Operation Requests
|
|
1637
|
-
* @name
|
|
1638
|
-
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
|
|
1645
|
+
* @name SetTenantDepositRequestAsProcessing
|
|
1646
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-deposit
|
|
1639
1647
|
* @secure
|
|
1640
1648
|
* @response `204` `void`
|
|
1641
1649
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
1642
1650
|
*/
|
|
1643
|
-
|
|
1651
|
+
setTenantDepositRequestAsProcessing: function (tenantId, requestId, data, params) {
|
|
1644
1652
|
if (params === void 0) { params = {}; }
|
|
1645
|
-
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing"), method: "PATCH", secure: true }, params));
|
|
1653
|
+
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing-deposit"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
|
|
1654
|
+
},
|
|
1655
|
+
/**
|
|
1656
|
+
* No description
|
|
1657
|
+
*
|
|
1658
|
+
* @tags Admin Tenant Operation Requests
|
|
1659
|
+
* @name SetTenantWithdrawRequestAsProcessing
|
|
1660
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-withdraw
|
|
1661
|
+
* @secure
|
|
1662
|
+
* @response `204` `void`
|
|
1663
|
+
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
1664
|
+
*/
|
|
1665
|
+
setTenantWithdrawRequestAsProcessing: function (tenantId, requestId, params) {
|
|
1666
|
+
if (params === void 0) { params = {}; }
|
|
1667
|
+
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing-withdraw"), method: "PATCH", secure: true }, params));
|
|
1646
1668
|
},
|
|
1647
1669
|
/**
|
|
1648
1670
|
* No description
|
package/dist/types/api/api.d.ts
CHANGED
|
@@ -103,6 +103,10 @@ export declare enum CaseOperationStatusEnum {
|
|
|
103
103
|
Processed = "processed",
|
|
104
104
|
Cancelled = "cancelled"
|
|
105
105
|
}
|
|
106
|
+
export declare enum CaseOperationTypeEnum {
|
|
107
|
+
Deposit = "deposit",
|
|
108
|
+
Withdrawal = "withdrawal"
|
|
109
|
+
}
|
|
106
110
|
export declare enum CaseOperationTypesEnum {
|
|
107
111
|
Deposit = "deposit",
|
|
108
112
|
Withdrawal = "withdrawal"
|
|
@@ -623,12 +627,13 @@ export interface PhoneDto {
|
|
|
623
627
|
}
|
|
624
628
|
export declare enum PhoneTypeEnum {
|
|
625
629
|
Fixed = "fixed",
|
|
626
|
-
Mobile = "mobile"
|
|
630
|
+
Mobile = "mobile",
|
|
631
|
+
Home = "home",
|
|
632
|
+
Work = "work",
|
|
633
|
+
Other = "other"
|
|
627
634
|
}
|
|
628
635
|
export interface ProcessDepositDto {
|
|
629
636
|
acceptBottlesAmountDivergence?: boolean;
|
|
630
|
-
/** @format date-time */
|
|
631
|
-
executedShippingDateTime: string;
|
|
632
637
|
/** @minItems 0 */
|
|
633
638
|
extras?: CreateOperationExtraDto[];
|
|
634
639
|
/** @example "please add it into a cooler" */
|
|
@@ -686,6 +691,10 @@ export interface ResetPasswordDto {
|
|
|
686
691
|
tenantId: string;
|
|
687
692
|
token: string;
|
|
688
693
|
}
|
|
694
|
+
export interface SetDepositAsProcessingDto {
|
|
695
|
+
/** @format date-time */
|
|
696
|
+
executedShippingDateTime: string;
|
|
697
|
+
}
|
|
689
698
|
export interface SetNotificationsReadDto {
|
|
690
699
|
/** @minItems 1 */
|
|
691
700
|
notificationIds: string[];
|
|
@@ -1622,6 +1631,7 @@ export declare namespace Tenants {
|
|
|
1622
1631
|
search?: string;
|
|
1623
1632
|
sortBy?: string[];
|
|
1624
1633
|
status?: OperationRequestStatusEnum[];
|
|
1634
|
+
types?: CaseOperationTypeEnum[];
|
|
1625
1635
|
};
|
|
1626
1636
|
type RequestBody = never;
|
|
1627
1637
|
type RequestHeaders = {};
|
|
@@ -2851,6 +2861,7 @@ export declare namespace Admin {
|
|
|
2851
2861
|
search?: string;
|
|
2852
2862
|
sortBy?: string[];
|
|
2853
2863
|
status?: OperationRequestStatusEnum[];
|
|
2864
|
+
types?: CaseOperationTypeEnum[];
|
|
2854
2865
|
};
|
|
2855
2866
|
type RequestBody = never;
|
|
2856
2867
|
type RequestHeaders = {};
|
|
@@ -3340,13 +3351,32 @@ export declare namespace Admin {
|
|
|
3340
3351
|
/**
|
|
3341
3352
|
* No description
|
|
3342
3353
|
* @tags Admin Tenant Operation Requests
|
|
3343
|
-
* @name
|
|
3344
|
-
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
|
|
3354
|
+
* @name SetTenantDepositRequestAsProcessing
|
|
3355
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-deposit
|
|
3345
3356
|
* @secure
|
|
3346
3357
|
* @response `204` `void`
|
|
3347
3358
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
3348
3359
|
*/
|
|
3349
|
-
namespace
|
|
3360
|
+
namespace SetTenantDepositRequestAsProcessing {
|
|
3361
|
+
type RequestParams = {
|
|
3362
|
+
requestId: string;
|
|
3363
|
+
tenantId: string;
|
|
3364
|
+
};
|
|
3365
|
+
type RequestQuery = {};
|
|
3366
|
+
type RequestBody = SetDepositAsProcessingDto;
|
|
3367
|
+
type RequestHeaders = {};
|
|
3368
|
+
type ResponseBody = void;
|
|
3369
|
+
}
|
|
3370
|
+
/**
|
|
3371
|
+
* No description
|
|
3372
|
+
* @tags Admin Tenant Operation Requests
|
|
3373
|
+
* @name SetTenantWithdrawRequestAsProcessing
|
|
3374
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-withdraw
|
|
3375
|
+
* @secure
|
|
3376
|
+
* @response `204` `void`
|
|
3377
|
+
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
3378
|
+
*/
|
|
3379
|
+
namespace SetTenantWithdrawRequestAsProcessing {
|
|
3350
3380
|
type RequestParams = {
|
|
3351
3381
|
requestId: string;
|
|
3352
3382
|
tenantId: string;
|
|
@@ -4007,6 +4037,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4007
4037
|
search?: string;
|
|
4008
4038
|
sortBy?: string[];
|
|
4009
4039
|
status?: OperationRequestStatusEnum[];
|
|
4040
|
+
types?: CaseOperationTypeEnum[];
|
|
4010
4041
|
}, params?: RequestParams) => Promise<OperationRequestEntityPaginatedDto>;
|
|
4011
4042
|
/**
|
|
4012
4043
|
* No description
|
|
@@ -4766,6 +4797,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4766
4797
|
search?: string;
|
|
4767
4798
|
sortBy?: string[];
|
|
4768
4799
|
status?: OperationRequestStatusEnum[];
|
|
4800
|
+
types?: CaseOperationTypeEnum[];
|
|
4769
4801
|
}, params?: RequestParams) => Promise<OperationRequestEntityPaginatedDto>;
|
|
4770
4802
|
/**
|
|
4771
4803
|
* No description
|
|
@@ -5136,13 +5168,24 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5136
5168
|
* No description
|
|
5137
5169
|
*
|
|
5138
5170
|
* @tags Admin Tenant Operation Requests
|
|
5139
|
-
* @name
|
|
5140
|
-
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
|
|
5171
|
+
* @name SetTenantDepositRequestAsProcessing
|
|
5172
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-deposit
|
|
5173
|
+
* @secure
|
|
5174
|
+
* @response `204` `void`
|
|
5175
|
+
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
5176
|
+
*/
|
|
5177
|
+
setTenantDepositRequestAsProcessing: (tenantId: string, requestId: string, data: SetDepositAsProcessingDto, params?: RequestParams) => Promise<void>;
|
|
5178
|
+
/**
|
|
5179
|
+
* No description
|
|
5180
|
+
*
|
|
5181
|
+
* @tags Admin Tenant Operation Requests
|
|
5182
|
+
* @name SetTenantWithdrawRequestAsProcessing
|
|
5183
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-withdraw
|
|
5141
5184
|
* @secure
|
|
5142
5185
|
* @response `204` `void`
|
|
5143
5186
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
5144
5187
|
*/
|
|
5145
|
-
|
|
5188
|
+
setTenantWithdrawRequestAsProcessing: (tenantId: string, requestId: string, params?: RequestParams) => Promise<void>;
|
|
5146
5189
|
/**
|
|
5147
5190
|
* No description
|
|
5148
5191
|
*
|
package/dist/umd/index.ts
CHANGED
|
@@ -18410,7 +18410,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18410
18410
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18411
18411
|
};
|
|
18412
18412
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18413
|
-
exports.Api = exports.HttpClient = exports.ContentType = exports.WithdrawRequestDeliverTypeEnum = exports.WithdrawRequestDeliverStatusEnum = exports.UserNotificationTypeEnum = exports.TenantUserStatusEnum = exports.TenantRoleEnum = exports.PhoneTypeEnum = exports.OrderByEnum = exports.OperationRequestTypeEnum = exports.OperationRequestStatusEnum = exports.OperationGroupStatusEnum = exports.CreateOnlyOperationGroupStatusEnum = exports.CaseOperationTypesEnum = exports.CaseOperationStatusEnum = exports.CaseOperationLogTypeEnum = void 0;
|
|
18413
|
+
exports.Api = exports.HttpClient = exports.ContentType = exports.WithdrawRequestDeliverTypeEnum = exports.WithdrawRequestDeliverStatusEnum = exports.UserNotificationTypeEnum = exports.TenantUserStatusEnum = exports.TenantRoleEnum = exports.PhoneTypeEnum = exports.OrderByEnum = exports.OperationRequestTypeEnum = exports.OperationRequestStatusEnum = exports.OperationGroupStatusEnum = exports.CreateOnlyOperationGroupStatusEnum = exports.CaseOperationTypesEnum = exports.CaseOperationTypeEnum = exports.CaseOperationStatusEnum = exports.CaseOperationLogTypeEnum = void 0;
|
|
18414
18414
|
var CaseOperationLogTypeEnum;
|
|
18415
18415
|
(function (CaseOperationLogTypeEnum) {
|
|
18416
18416
|
CaseOperationLogTypeEnum["RequestAccepted"] = "request_accepted";
|
|
@@ -18425,6 +18425,11 @@ var CaseOperationStatusEnum;
|
|
|
18425
18425
|
CaseOperationStatusEnum["Processed"] = "processed";
|
|
18426
18426
|
CaseOperationStatusEnum["Cancelled"] = "cancelled";
|
|
18427
18427
|
})(CaseOperationStatusEnum = exports.CaseOperationStatusEnum || (exports.CaseOperationStatusEnum = {}));
|
|
18428
|
+
var CaseOperationTypeEnum;
|
|
18429
|
+
(function (CaseOperationTypeEnum) {
|
|
18430
|
+
CaseOperationTypeEnum["Deposit"] = "deposit";
|
|
18431
|
+
CaseOperationTypeEnum["Withdrawal"] = "withdrawal";
|
|
18432
|
+
})(CaseOperationTypeEnum = exports.CaseOperationTypeEnum || (exports.CaseOperationTypeEnum = {}));
|
|
18428
18433
|
var CaseOperationTypesEnum;
|
|
18429
18434
|
(function (CaseOperationTypesEnum) {
|
|
18430
18435
|
CaseOperationTypesEnum["Deposit"] = "deposit";
|
|
@@ -18466,6 +18471,9 @@ var PhoneTypeEnum;
|
|
|
18466
18471
|
(function (PhoneTypeEnum) {
|
|
18467
18472
|
PhoneTypeEnum["Fixed"] = "fixed";
|
|
18468
18473
|
PhoneTypeEnum["Mobile"] = "mobile";
|
|
18474
|
+
PhoneTypeEnum["Home"] = "home";
|
|
18475
|
+
PhoneTypeEnum["Work"] = "work";
|
|
18476
|
+
PhoneTypeEnum["Other"] = "other";
|
|
18469
18477
|
})(PhoneTypeEnum = exports.PhoneTypeEnum || (exports.PhoneTypeEnum = {}));
|
|
18470
18478
|
var TenantRoleEnum;
|
|
18471
18479
|
(function (TenantRoleEnum) {
|
|
@@ -19965,15 +19973,29 @@ var Api = /** @class */ (function (_super) {
|
|
|
19965
19973
|
* No description
|
|
19966
19974
|
*
|
|
19967
19975
|
* @tags Admin Tenant Operation Requests
|
|
19968
|
-
* @name
|
|
19969
|
-
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing
|
|
19976
|
+
* @name SetTenantDepositRequestAsProcessing
|
|
19977
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-deposit
|
|
19970
19978
|
* @secure
|
|
19971
19979
|
* @response `204` `void`
|
|
19972
19980
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
19973
19981
|
*/
|
|
19974
|
-
|
|
19982
|
+
setTenantDepositRequestAsProcessing: function (tenantId, requestId, data, params) {
|
|
19975
19983
|
if (params === void 0) { params = {}; }
|
|
19976
|
-
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing"), method: "PATCH", secure: true }, params));
|
|
19984
|
+
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing-deposit"), method: "PATCH", body: data, secure: true, type: ContentType.Json }, params));
|
|
19985
|
+
},
|
|
19986
|
+
/**
|
|
19987
|
+
* No description
|
|
19988
|
+
*
|
|
19989
|
+
* @tags Admin Tenant Operation Requests
|
|
19990
|
+
* @name SetTenantWithdrawRequestAsProcessing
|
|
19991
|
+
* @request PATCH:/admin/tenants/{tenantId}/requests/{requestId}/set-processing-withdraw
|
|
19992
|
+
* @secure
|
|
19993
|
+
* @response `204` `void`
|
|
19994
|
+
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
19995
|
+
*/
|
|
19996
|
+
setTenantWithdrawRequestAsProcessing: function (tenantId, requestId, params) {
|
|
19997
|
+
if (params === void 0) { params = {}; }
|
|
19998
|
+
return _this.request(__assign({ path: "/admin/tenants/".concat(tenantId, "/requests/").concat(requestId, "/set-processing-withdraw"), method: "PATCH", secure: true }, params));
|
|
19977
19999
|
},
|
|
19978
20000
|
/**
|
|
19979
20001
|
* No description
|