zmp-sdk 2.25.7 → 2.26.0-rc.1

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/index.d.ts CHANGED
@@ -2194,21 +2194,21 @@ declare const createOrderArgs: ZodObject<{
2194
2194
  item: ZodArray<ZodRecord<ZodString, ZodAny>, "many">;
2195
2195
  desc: ZodString;
2196
2196
  extradata: ZodOptional<ZodAny>;
2197
- method: ZodOptional<ZodEnum<["MOMO", "ZALOPAY", "MOMO_SANDBOX", "ZALOPAY_SANDBOX", "CC", "CC_SANDBOX", "ATM", "ATM_SANDBOX"]>>;
2197
+ method: ZodOptional<ZodEnum<["MOMO", "ZALOPAY", "MOMO_SANDBOX", "ZALOPAY_SANDBOX", "CC", "CC_SANDBOX", "ATM", "ATM_SANDBOX", "VNPAY", "VNPAY_SANDBOX"]>>;
2198
2198
  }, "strip", ZodTypeAny, {
2199
- method?: "ZALOPAY" | "MOMO" | "ZALOPAY_SANDBOX" | "MOMO_SANDBOX" | "ATM" | "ATM_SANDBOX" | "CC" | "CC_SANDBOX" | undefined;
2199
+ method?: "ZALOPAY" | "MOMO" | "ZALOPAY_SANDBOX" | "MOMO_SANDBOX" | "ATM" | "ATM_SANDBOX" | "CC" | "CC_SANDBOX" | "VNPAY" | "VNPAY_SANDBOX" | undefined;
2200
2200
  extradata?: any;
2201
2201
  desc: string;
2202
2202
  amount: string | number;
2203
2203
  item: Record<string, any>[];
2204
2204
  }, {
2205
- method?: "ZALOPAY" | "MOMO" | "ZALOPAY_SANDBOX" | "MOMO_SANDBOX" | "ATM" | "ATM_SANDBOX" | "CC" | "CC_SANDBOX" | undefined;
2205
+ method?: "ZALOPAY" | "MOMO" | "ZALOPAY_SANDBOX" | "MOMO_SANDBOX" | "ATM" | "ATM_SANDBOX" | "CC" | "CC_SANDBOX" | "VNPAY" | "VNPAY_SANDBOX" | undefined;
2206
2206
  extradata?: any;
2207
2207
  desc: string;
2208
2208
  amount: string | number;
2209
2209
  item: Record<string, any>[];
2210
2210
  }>[];
2211
- declare function createOrder(args: AsyncCallback<CreateOrderReturns> & TypeOf<typeof createOrderArgs[0]>): Promise<CreateOrderReturns>;
2211
+ declare function createOrder(args: AsyncCallback<CreateOrderReturns> & TypeOf<(typeof createOrderArgs)[0]>): Promise<CreateOrderReturns>;
2212
2212
 
2213
2213
  declare const checkTransactionArgs: ZodObject<{
2214
2214
  data: ZodUnion<[ZodString, ZodRecord<ZodString, ZodString>]>;