@plurix/coupons
Advanced tools
Comparing version 0.2.13-sl802.3 to 0.2.13-sl802.4
import React from 'react'; | ||
import type { CouponType } from '../..'; | ||
import type { CouponType } from '../../types/CouponType'; | ||
declare type Props = { | ||
@@ -4,0 +4,0 @@ account: string; |
import React from 'react'; | ||
import type { CouponType } from '../..'; | ||
import type { CouponType } from '../../types/CouponType'; | ||
declare type Props = { | ||
@@ -4,0 +4,0 @@ item: CouponType; |
import React from 'react'; | ||
export interface CouponType { | ||
couponName: string; | ||
couponValue: string; | ||
couponDescription: string; | ||
couponRules: Array<string>; | ||
couponInitialDate: string; | ||
couponExpirationDate: string; | ||
} | ||
interface SetOrderFormCouponResponse { | ||
coupon: string; | ||
error: Array<CouponError>; | ||
} | ||
interface CouponError { | ||
text: string; | ||
status?: string; | ||
code?: string; | ||
} | ||
export declare const addCoupon: (account: string, orderFormId: string, couponId: string) => Promise<SetOrderFormCouponResponse>; | ||
export declare const removeCoupon: (account: string, orderFormId: string) => Promise<SetOrderFormCouponResponse>; | ||
interface CouponsProps { | ||
@@ -22,0 +3,0 @@ orderFormId: string; |
{ | ||
"version": "0.2.13-sl802.3", | ||
"version": "0.2.13-sl802.4", | ||
"license": "MIT", | ||
@@ -75,4 +75,4 @@ "main": "dist/index.js", | ||
"@acctglobal/skeleton": "^1.0.0", | ||
"axios": "^1.5.0" | ||
"axios": "1.3.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
52
0
836245
5789
+ Addedaxios@1.3.0(transitive)
- Removedaxios@1.8.1(transitive)
Updatedaxios@1.3.0