@salutejs/scenario
Advanced tools
Comparing version 0.38.1 to 0.39.0-canary.92.6009849052.0
@@ -176,4 +176,15 @@ /** Тип оплаты счета */ | ||
} | ||
declare type PaymentUserId = { | ||
parent_client_id: string; | ||
} | { | ||
user_uid: string; | ||
} | { | ||
encrypted_sub_id: string; | ||
} | { | ||
partner_client_sub_id: string; | ||
}; | ||
/** Запрос счета */ | ||
export interface PaymentInvoiceQuery { | ||
/** Внешний идентификатор клиента партнера */ | ||
user_id: PaymentUserId; | ||
/** Тип оплаты счета, по умолчанию используется одностадийная оплата */ | ||
@@ -364,2 +375,3 @@ ptype?: PaymentTypes; | ||
} | ||
export {}; | ||
//# sourceMappingURL=payment.d.ts.map |
{ | ||
"name": "@salutejs/scenario", | ||
"version": "0.38.1", | ||
"version": "0.39.0-canary.92.6009849052.0", | ||
"description": "Tiny helpers to make scenario for Salute family", | ||
@@ -40,3 +40,3 @@ "author": "Salute Frontend Team <salute.developers@gmail.com>", | ||
}, | ||
"gitHead": "ae8cebdec776a348f6efe072841f876f6106e4d9" | ||
"gitHead": "3f1ce3953f03db17600c366807860e9569484a90" | ||
} |
@@ -142,3 +142,3 @@ # @salutejs/scenario | ||
const { delivery_info, order } = req.variables; | ||
const { invoice_id } = await createInvoice({ invoice: { delivery_info, order } }); | ||
const { invoice_id } = await createInvoice({ user_id: { user_uid: req.request.uuid.userId }, invoice: { delivery_info, order } }); | ||
@@ -145,0 +145,0 @@ res.askPayment(invoice_id); |
Sorry, the diff of this file is not supported yet
298181
4990