@bi-nova/services 1.5.1 → 1.5.2-beta.202607301634
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/index.d.mts +16 -3
- package/dist/index.d.ts +16 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -463,12 +463,23 @@ declare function handleDyJsapiPayFlow(params: HandleDyJsapiPayFlowParams): Promi
|
|
|
463
463
|
*/
|
|
464
464
|
declare function handleDyAuthDebitSignFlow(): Promise<BuildResultReturn<HandleDyAuthDebitSignFlowResult>>;
|
|
465
465
|
|
|
466
|
+
/**
|
|
467
|
+
* 处理抖音授权代扣签约原始 payInfo 透传测试流程
|
|
468
|
+
*
|
|
469
|
+
* 流程与 handleDyAuthDebitSignFlow 保持一致,仅跳过 payInfo 字段校验和重组,
|
|
470
|
+
* 将接口返回的全部 payInfo 内容传给 dypay 的 sdk_info。
|
|
471
|
+
*
|
|
472
|
+
* @experimental 测试验证通过后可整体移除
|
|
473
|
+
* @returns 标准化授权跳转或签约调起结果
|
|
474
|
+
*/
|
|
475
|
+
declare function handleDyAuthDebitSignFlowWithRawPayInfoForTest(): Promise<BuildResultReturn<HandleDyAuthDebitSignFlowResult>>;
|
|
476
|
+
|
|
466
477
|
/**
|
|
467
478
|
* @Description: 业务错误码定义
|
|
468
479
|
* @Author: wutao
|
|
469
480
|
* @Date: 2026-03-30
|
|
470
481
|
* @LastEditors: wutao
|
|
471
|
-
* @LastEditTime: 2026-
|
|
482
|
+
* @LastEditTime: 2026-07-07 15:47:52
|
|
472
483
|
*
|
|
473
484
|
* 错误码分段规则:
|
|
474
485
|
* - 0: 成功
|
|
@@ -607,7 +618,9 @@ declare enum DyErrorCode {
|
|
|
607
618
|
/** 授权代扣签约失败 */
|
|
608
619
|
DY_PAY__AUTH_DEBIT_SIGN_FAILED = 3037,
|
|
609
620
|
/** 授权代扣签约请求失败 */
|
|
610
|
-
DY_PAY__REQUEST_AUTH_DEBIT_SIGN_FAILED = 3038
|
|
621
|
+
DY_PAY__REQUEST_AUTH_DEBIT_SIGN_FAILED = 3038,
|
|
622
|
+
/** 用户取消抖音 JSAPI 支付 */
|
|
623
|
+
DY_PAY__JSAPI_PAY_CANCELLED = 3039
|
|
611
624
|
}
|
|
612
625
|
/**
|
|
613
626
|
* 抖音业务错误信息映射
|
|
@@ -814,4 +827,4 @@ declare function normalizeDisplayAdData(advertConfigs: AdvertConfigItem[], fallb
|
|
|
814
827
|
*/
|
|
815
828
|
declare function getDisplayAdConfig(options: GetDisplayAdOptions): Promise<BuildResultReturn<DisplayAdResult>>;
|
|
816
829
|
|
|
817
|
-
export { type DisplayAdResult, DyErrorCode, DyErrorMessage, ENV_TYPE, EXTERNAL_ENV_TYPE, type GetDisplayAdOptions, type HandleDyAuthDebitSignFlowResult, type HandleDyJsapiPayFlowParams, type HandleDyJsapiPayFlowResult, type HandleDyPayCommandFlowParams, type HandleDyPayCommandFlowResult, type HandleDyPayFlowParams, type HandleDyPayFlowResult, JdErrorCode, JdErrorMessage, type JdInsuranceExternalOptions, type JdInsuranceOptions, type JdInsuranceResult, type JdjrCashLoanExternalOptions, type JdjrCashLoanOptions, type ServicesOptions, createServices, getDisplayAdConfig, getDyPayRtaData, handleDyAuthDebitSignFlow, handleDyJsapiPayFlow, handleDyPayCommandFlow, handleDyPayFlow, handleJdInsurance, handleJdInsuranceExt, handleJdjrCashLoanExt, handleJdjrCashLoanFlow, normalizeDisplayAdData };
|
|
830
|
+
export { type DisplayAdResult, DyErrorCode, DyErrorMessage, ENV_TYPE, EXTERNAL_ENV_TYPE, type GetDisplayAdOptions, type HandleDyAuthDebitSignFlowResult, type HandleDyJsapiPayFlowParams, type HandleDyJsapiPayFlowResult, type HandleDyPayCommandFlowParams, type HandleDyPayCommandFlowResult, type HandleDyPayFlowParams, type HandleDyPayFlowResult, JdErrorCode, JdErrorMessage, type JdInsuranceExternalOptions, type JdInsuranceOptions, type JdInsuranceResult, type JdjrCashLoanExternalOptions, type JdjrCashLoanOptions, type ServicesOptions, createServices, getDisplayAdConfig, getDyPayRtaData, handleDyAuthDebitSignFlow, handleDyAuthDebitSignFlowWithRawPayInfoForTest, handleDyJsapiPayFlow, handleDyPayCommandFlow, handleDyPayFlow, handleJdInsurance, handleJdInsuranceExt, handleJdjrCashLoanExt, handleJdjrCashLoanFlow, normalizeDisplayAdData };
|
package/dist/index.d.ts
CHANGED
|
@@ -463,12 +463,23 @@ declare function handleDyJsapiPayFlow(params: HandleDyJsapiPayFlowParams): Promi
|
|
|
463
463
|
*/
|
|
464
464
|
declare function handleDyAuthDebitSignFlow(): Promise<BuildResultReturn<HandleDyAuthDebitSignFlowResult>>;
|
|
465
465
|
|
|
466
|
+
/**
|
|
467
|
+
* 处理抖音授权代扣签约原始 payInfo 透传测试流程
|
|
468
|
+
*
|
|
469
|
+
* 流程与 handleDyAuthDebitSignFlow 保持一致,仅跳过 payInfo 字段校验和重组,
|
|
470
|
+
* 将接口返回的全部 payInfo 内容传给 dypay 的 sdk_info。
|
|
471
|
+
*
|
|
472
|
+
* @experimental 测试验证通过后可整体移除
|
|
473
|
+
* @returns 标准化授权跳转或签约调起结果
|
|
474
|
+
*/
|
|
475
|
+
declare function handleDyAuthDebitSignFlowWithRawPayInfoForTest(): Promise<BuildResultReturn<HandleDyAuthDebitSignFlowResult>>;
|
|
476
|
+
|
|
466
477
|
/**
|
|
467
478
|
* @Description: 业务错误码定义
|
|
468
479
|
* @Author: wutao
|
|
469
480
|
* @Date: 2026-03-30
|
|
470
481
|
* @LastEditors: wutao
|
|
471
|
-
* @LastEditTime: 2026-
|
|
482
|
+
* @LastEditTime: 2026-07-07 15:47:52
|
|
472
483
|
*
|
|
473
484
|
* 错误码分段规则:
|
|
474
485
|
* - 0: 成功
|
|
@@ -607,7 +618,9 @@ declare enum DyErrorCode {
|
|
|
607
618
|
/** 授权代扣签约失败 */
|
|
608
619
|
DY_PAY__AUTH_DEBIT_SIGN_FAILED = 3037,
|
|
609
620
|
/** 授权代扣签约请求失败 */
|
|
610
|
-
DY_PAY__REQUEST_AUTH_DEBIT_SIGN_FAILED = 3038
|
|
621
|
+
DY_PAY__REQUEST_AUTH_DEBIT_SIGN_FAILED = 3038,
|
|
622
|
+
/** 用户取消抖音 JSAPI 支付 */
|
|
623
|
+
DY_PAY__JSAPI_PAY_CANCELLED = 3039
|
|
611
624
|
}
|
|
612
625
|
/**
|
|
613
626
|
* 抖音业务错误信息映射
|
|
@@ -814,4 +827,4 @@ declare function normalizeDisplayAdData(advertConfigs: AdvertConfigItem[], fallb
|
|
|
814
827
|
*/
|
|
815
828
|
declare function getDisplayAdConfig(options: GetDisplayAdOptions): Promise<BuildResultReturn<DisplayAdResult>>;
|
|
816
829
|
|
|
817
|
-
export { type DisplayAdResult, DyErrorCode, DyErrorMessage, ENV_TYPE, EXTERNAL_ENV_TYPE, type GetDisplayAdOptions, type HandleDyAuthDebitSignFlowResult, type HandleDyJsapiPayFlowParams, type HandleDyJsapiPayFlowResult, type HandleDyPayCommandFlowParams, type HandleDyPayCommandFlowResult, type HandleDyPayFlowParams, type HandleDyPayFlowResult, JdErrorCode, JdErrorMessage, type JdInsuranceExternalOptions, type JdInsuranceOptions, type JdInsuranceResult, type JdjrCashLoanExternalOptions, type JdjrCashLoanOptions, type ServicesOptions, createServices, getDisplayAdConfig, getDyPayRtaData, handleDyAuthDebitSignFlow, handleDyJsapiPayFlow, handleDyPayCommandFlow, handleDyPayFlow, handleJdInsurance, handleJdInsuranceExt, handleJdjrCashLoanExt, handleJdjrCashLoanFlow, normalizeDisplayAdData };
|
|
830
|
+
export { type DisplayAdResult, DyErrorCode, DyErrorMessage, ENV_TYPE, EXTERNAL_ENV_TYPE, type GetDisplayAdOptions, type HandleDyAuthDebitSignFlowResult, type HandleDyJsapiPayFlowParams, type HandleDyJsapiPayFlowResult, type HandleDyPayCommandFlowParams, type HandleDyPayCommandFlowResult, type HandleDyPayFlowParams, type HandleDyPayFlowResult, JdErrorCode, JdErrorMessage, type JdInsuranceExternalOptions, type JdInsuranceOptions, type JdInsuranceResult, type JdjrCashLoanExternalOptions, type JdjrCashLoanOptions, type ServicesOptions, createServices, getDisplayAdConfig, getDyPayRtaData, handleDyAuthDebitSignFlow, handleDyAuthDebitSignFlowWithRawPayInfoForTest, handleDyJsapiPayFlow, handleDyPayCommandFlow, handleDyPayFlow, handleJdInsurance, handleJdInsuranceExt, handleJdjrCashLoanExt, handleJdjrCashLoanFlow, normalizeDisplayAdData };
|