nextemos 5.9.8 → 5.9.10

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.
@@ -110,10 +110,12 @@ export interface IDoBkmExpressTransactionRequest extends IGetCartRequest {
110
110
  isApprovedToSalesAggreementForm: boolean;
111
111
  isApprovedToPreInformationForm: boolean;
112
112
  }
113
- export interface IGetPreInfoFormRequest extends Omit<IGetCartRequest, "flags"> {
114
- }
115
- export interface IGetSalesAggreementFormRequest extends Omit<IGetCartRequest, "flags"> {
113
+ interface ICartFormRequestBase extends Omit<IGetCartRequest, "flags"> {
114
+ paymentMethodTypeId?: number;
115
+ installmentId?: number;
116
116
  }
117
+ export type IGetPreInfoFormRequest = ICartFormRequestBase;
118
+ export type IGetSalesAggreementFormRequest = ICartFormRequestBase;
117
119
  export interface IAddGiftBoxNoteRequest extends IGetCartRequest {
118
120
  giftBoxNotes: {
119
121
  documentId: string;
@@ -154,3 +156,4 @@ export interface IShoppingCartService extends IService {
154
156
  AddGiftCardCoupon: (data: IAddGiftCardCouponRequest, options?: IRequestInit) => Promise<IApiResponse<IGetCartResponse>>;
155
157
  RemoveGiftCardCoupon: (data: IRemoveGiftCardCouponRequest, options?: IRequestInit) => Promise<IApiResponse<IGetCartResponse>>;
156
158
  }
159
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "5.9.8",
3
+ "version": "5.9.10",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",