Methods
(async, static) addattachement(data, proid) → {object}
- Source:
add attachement for project
Parameters:
Name | Type | Description |
---|---|---|
data |
object | data |
proid |
number |
Project ID which status has to be updated |
Returns:
sql response
- Type
- object
(async, static) addattachementtoproduct(data, projectId) → {object}
- Source:
add attachement to product
Parameters:
Name | Type | Description |
---|---|---|
data |
object | data |
projectId |
number |
Project ID which status has to be updated |
Returns:
sql response
- Type
- object
(async, static) addAudioAttachment(data, projectId) → {object}
- Source:
add audio attachment
Parameters:
Name | Type | Description |
---|---|---|
data |
object | data |
projectId |
number |
Project ID which status has to be updated |
Returns:
sql response
- Type
- object
(async, static) bidHistoryViewPage(pid) → {object}
- Source:
fetch all attachments By Project ID
Parameters:
Name | Type | Description |
---|---|---|
pid |
object |
auction ID to which the data is to be fetched |
Returns:
sql response
- Type
- object
(async, static) deleteAttachmentProject(proid) → {object}
- Source:
delete attachement to product
Parameters:
Name | Type | Description |
---|---|---|
proid |
number |
Project ID which status has to be updated |
Returns:
sql response
- Type
- object
(async, static) deleteItemPropsProject(proid) → {object}
- Source:
delete items props project
Parameters:
Name | Type | Description |
---|---|---|
proid |
number |
Project ID which status has to be updated |
Returns:
sql response
- Type
- object
(async, static) fetchActiveAuctions() → {object}
- Source:
Get all active Auctions
Returns:
sql response
- Type
- object
(async, static) fetchAllAttachments(pid) → {object}
- Source:
fetch all attachments By Project ID
Parameters:
Name | Type | Description |
---|---|---|
pid |
object |
auction ID to which the data is to be fetched |
Returns:
sql response
- Type
- object
(async, static) fetchDepositsData(req) → {object}
- Source:
fetch Deposit Data
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
Returns:
sql response
- Type
- object
(async, static) fetchProductsAll(req, count) → {object}
- Source:
Get all products
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
count |
string | count for the pagination |
Returns:
sql response
- Type
- object
(async, static) fetchProjectbyID(pid) → {object}
- Source:
fetch one Project By ID
Parameters:
Name | Type | Description |
---|---|---|
pid |
object |
auction ID to which the data is to be fetched |
Returns:
sql response
- Type
- object
(async, static) itemPropsArray(pid, baseTableUsed, customTableUsed) → {object}
- Source:
item props array
Parameters:
Name | Type | Description |
---|---|---|
pid |
number | projet ids |
baseTableUsed |
string | base table name |
customTableUsed |
Object |
custom table by default { enabled: 0 } |
Returns:
sql response
- Type
- object
(async, static) marketStatusUpdate(status, pid) → {object}
- Source:
Update Project status
Parameters:
Name | Type | Description |
---|---|---|
status |
string |
Status which has to be updated |
pid |
number |
Project ID which status has to be updated |
Returns:
sql response
- Type
- object
(async, static) ttwBidHistory(req, count) → {object}
- Source:
ttw Bid history
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
count |
Number | data |
Returns:
sql response
- Type
- object
(async, static) ttwBidHistoryUpdate(data) → {object}
- Source:
ttw Bid history update
Parameters:
Name | Type | Description |
---|---|---|
data |
object | ttw update data |
Returns:
sql response
- Type
- object