fix: type
This commit is contained in:
parent
771b3e8ab6
commit
e303464d7c
6 changed files with 159 additions and 159 deletions
|
|
@ -29,9 +29,9 @@ const useBranchContactStore = defineStore('api-branch-contact', () => {
|
|||
pageSize?: number;
|
||||
},
|
||||
flow?: {
|
||||
sessionId: string;
|
||||
refTransactionId: string;
|
||||
transactionId: string;
|
||||
sessionId?: string;
|
||||
refTransactionId?: string;
|
||||
transactionId?: string;
|
||||
},
|
||||
) {
|
||||
const params = new URLSearchParams();
|
||||
|
|
@ -65,9 +65,9 @@ const useBranchContactStore = defineStore('api-branch-contact', () => {
|
|||
branchId: string,
|
||||
data: BranchContactCreate,
|
||||
flow?: {
|
||||
sessionId: string;
|
||||
refTransactionId: string;
|
||||
transactionId: string;
|
||||
sessionId?: string;
|
||||
refTransactionId?: string;
|
||||
transactionId?: string;
|
||||
},
|
||||
) {
|
||||
const res = await api.post<
|
||||
|
|
@ -91,9 +91,9 @@ const useBranchContactStore = defineStore('api-branch-contact', () => {
|
|||
data: Partial<BranchContactCreate>,
|
||||
qrCodeImage?: File,
|
||||
flow?: {
|
||||
sessionId: string;
|
||||
refTransactionId: string;
|
||||
transactionId: string;
|
||||
sessionId?: string;
|
||||
refTransactionId?: string;
|
||||
transactionId?: string;
|
||||
},
|
||||
) {
|
||||
const { ...payload } = data;
|
||||
|
|
@ -128,9 +128,9 @@ const useBranchContactStore = defineStore('api-branch-contact', () => {
|
|||
branchId: string,
|
||||
contactId: string,
|
||||
flow?: {
|
||||
sessionId: string;
|
||||
refTransactionId: string;
|
||||
transactionId: string;
|
||||
sessionId?: string;
|
||||
refTransactionId?: string;
|
||||
transactionId?: string;
|
||||
},
|
||||
) {
|
||||
const res = await api.delete<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue