u
This commit is contained in:
@@ -40,3 +40,9 @@ export async function listAttachments(googleAuthId, deliveryId) {
|
||||
return store.manifestattachment.listByManifestId(googleAuthId, deliveryId);
|
||||
}
|
||||
|
||||
export async function removeAttachment(googleAuthId, deliveryId, fileId) {
|
||||
const store = await getStore();
|
||||
return store.manifestattachment.remove(googleAuthId, deliveryId, fileId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -173,4 +173,10 @@ export async function listAttachments(googleAuthId, orderId) {
|
||||
return store.manifestattachment.listByManifestId(googleAuthId, orderId);
|
||||
}
|
||||
|
||||
export async function removeAttachment(googleAuthId, orderId, fileId) {
|
||||
const store = await getStore();
|
||||
return store.manifestattachment.remove(googleAuthId, orderId, fileId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -103,3 +103,9 @@ export async function listAttachments(googleAuthId, quoteId) {
|
||||
return store.manifestattachment.listByManifestId(googleAuthId, quoteId);
|
||||
}
|
||||
|
||||
export async function removeAttachment(googleAuthId, quoteId, fileId) {
|
||||
const store = await getStore();
|
||||
return store.manifestattachment.remove(googleAuthId, quoteId, fileId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -43,3 +43,9 @@ export async function listAttachments(googleAuthId, shipmentId) {
|
||||
return store.manifestattachment.listByManifestId(googleAuthId, shipmentId);
|
||||
}
|
||||
|
||||
export async function removeAttachment(googleAuthId, shipmentId, fileId) {
|
||||
const store = await getStore();
|
||||
return store.manifestattachment.remove(googleAuthId, shipmentId, fileId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user