@escapenavigator/services 1.10.138 → 1.10.139
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.
|
@@ -7,10 +7,15 @@ type ParamsData = {
|
|
|
7
7
|
* Бэкенд возвращает не полный `OrderRO`, а лёгкий `{success, orderId}` —
|
|
8
8
|
* фронт использует `orderId` чтобы тут же дёрнуть `orders.getOne(orderId)`
|
|
9
9
|
* под slim `MODAL_RELATIONS` (см. `useOrderApi.refreshOrder`).
|
|
10
|
+
*
|
|
11
|
+
* `groupId` приходит только если в DTO передан `attachToOrderId`
|
|
12
|
+
* (dealAddMode): бэк атомарно прикрепил новый ордер к группе и вернул
|
|
13
|
+
* её id — фронт сразу обновляет `dealAddMode.groupId` без второго запроса.
|
|
10
14
|
*/
|
|
11
15
|
type ResponseData = {
|
|
12
16
|
success: boolean;
|
|
13
17
|
orderId: number;
|
|
18
|
+
groupId?: number;
|
|
14
19
|
};
|
|
15
20
|
export declare const create: ApiMethodDeclaration<ParamsData, ResponseData>;
|
|
16
21
|
export {};
|
|
@@ -104,9 +104,9 @@ import { paginateBills } from './subscription/paginate-bills';
|
|
|
104
104
|
import { cancelSubscription } from './subscription/remove-subscription';
|
|
105
105
|
import { updateSubscription } from './subscription/update-subscription';
|
|
106
106
|
import { update } from './update';
|
|
107
|
-
import { updateProfileCommission } from './update-profile-commission';
|
|
108
107
|
import { updateCrmVerification } from './update-crm-verification';
|
|
109
108
|
import { updatePartnerProgram } from './update-partner-program';
|
|
109
|
+
import { updateProfileCommission } from './update-profile-commission';
|
|
110
110
|
import { updateStep } from './update-step';
|
|
111
111
|
import { createProfileWaiver } from './waiver/create-profile-waiver';
|
|
112
112
|
import { getProfileWaiver } from './waiver/get-profile-waiver';
|
|
@@ -107,9 +107,9 @@ var paginate_bills_1 = require("./subscription/paginate-bills");
|
|
|
107
107
|
var remove_subscription_1 = require("./subscription/remove-subscription");
|
|
108
108
|
var update_subscription_1 = require("./subscription/update-subscription");
|
|
109
109
|
var update_2 = require("./update");
|
|
110
|
-
var update_profile_commission_1 = require("./update-profile-commission");
|
|
111
110
|
var update_crm_verification_1 = require("./update-crm-verification");
|
|
112
111
|
var update_partner_program_1 = require("./update-partner-program");
|
|
112
|
+
var update_profile_commission_1 = require("./update-profile-commission");
|
|
113
113
|
var update_step_1 = require("./update-step");
|
|
114
114
|
var create_profile_waiver_1 = require("./waiver/create-profile-waiver");
|
|
115
115
|
var get_profile_waiver_1 = require("./waiver/get-profile-waiver");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.139",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "1b34f498be3d6fb27dccdd2a3663cef5169bbc91",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^1.10.
|
|
18
|
-
"@escapenavigator/utils": "^1.10.
|
|
17
|
+
"@escapenavigator/types": "^1.10.130",
|
|
18
|
+
"@escapenavigator/utils": "^1.10.134",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|