Module
toast_data_core
Module toast_data_core
API
DatabaseConnectorImplToastConnectorTokenObjectPool
Remote functions
upsertOrdersupsertCashEntriesupsertTimeEntriesupsertItemSelectionsupsertItemSelectionEntriesupsertPaymentEntriesupsertModiferEntriesupsertKitchenTimingsupsertCheckDetailItemsupsertForDataRecordHistorygetExistingOrderIdsgetExistingCheckIdsgetExistingPaymentIdsgetExistingModifierSelectionIdsgetExistingItemSelectionIdsgetExistingKitchentEntriesIdsgetExistingCashEntriesIdsgetExistingTimeEntriesIdsgetToastNoMappinggetStoreByGuidgetDataPersistingInProgressRestuarantsdeleteAllCashEntriesdeleteAllCheksdeleteAllKitchenTimingsdeleteAllModifiersdeleteAllOrdersdeleteAllPaymentsdeleteAllSelectionsdeleteAllTimeEntriesupdateDailySalesupdateAllDailySales
Remote functions
getTimeEntriesgetRestourentConfiggetEmployeegetJobgetPaymentGuidsgetPaymentbyIdgetPaymentsgetCashDrawergetDiningOptiongetServiceAreagetRevenueCentergetRestourentServicegetVoidReasongetSalesCategorygetTablegetPrintergetOrdersgetCashEntriesgetRestaurantsgetOrdergetMenuGroupgetMenuItemgetMenugetPayoutReasongetNoSaleReasongetMenuOptionGroup
Definitions
AppliedDiscountsItemAppliedServiceChargesItemAppliedTaxesItemApproverOrShiftReviewSubjectCashDrawerCashEntryChecksItemCreatorOrShiftReviewSubjectDailySalesDataHistoryRecordEmployeeEmployee1EmployeeReferenceFatTuesdayConfigurationGeneralItemItemGroupItemSelectionJobJobReferenceKitchenTimingDbEntryLastModifiedDeviceMenuModifiersItemNoSaleReasonOptionGroupOrderOrderDBEntryPaymentDbEntryPaymentsItemPayoutReasonQueryDataRefundTransactionRestaurantRestaurantListRestourentConfigSalesCategoryTaxRateTimeEntryTimeEntryBreakToastNoConfigTokenTokenRequestTokenResponseWageOverride
DatabaseConnector
upsertOrdersupsertItemSelectionsupsertItemSelectionEntriesupsertCashEntriesupsertTimeEntriesupsertPaymentEntriesupsertModiferEntriesupsertKitchenTimingsupsertCheckDetailItemsupsertForDataRecordHistorygetExistingOrderIdsgetExistingCheckIdsgetExistingPaymentIdsgetExistingModifierSelectionIdsgetExistingItemSelectionIdsgetExistingKitchentEntriesIdsgetExistingCashEntriesIdsgetExistingTimeEntriesIdsgetToastNoMappinggetStoreByGuidgetDataPersistingInProgressRestuarantsdeleteAllOrdersdeleteAllCheksdeleteAllSelectionsdeleteAllPaymentsdeleteAllModifiersdeleteAllKitchenTimingsdeleteAllCashEntriesdeleteAllTimeEntriesupdateDailySalesupdateAllDailySales
QueryProviderfattuesday/toast_data_core
1.0.3
Prints "Hello, World!" with a main function. [//]: # (above is the module summary)
Module Overview
Provides an overview about the module when generating the API documentations. For example, refer to https://lib.ballerina.io/ballerina/io/latest
Functions![](/images/permalink.svg)
getLastDateEnd![](/images/permalink.svg)
function getLastDateEnd() returns string
getLastDateEndWithZ![](/images/permalink.svg)
function getLastDateEndWithZ() returns string
getLastDateStart![](/images/permalink.svg)
function getLastDateStart() returns string
getLastDateYYYYMMDD![](/images/permalink.svg)
function getLastDateYYYYMMDD() returns string
hello![](/images/permalink.svg)
Returns the string Hello
with the input string name.
Parameters
- name string - name as a string
Return Type
- string - "Hello, " with the input string name
processKitchenTimingsEntries![](/images/permalink.svg)
function processKitchenTimingsEntries(ToastConnector toastConnector, DatabaseConnector databaseConnector, Order[] orders, Restaurant restourent) returns error?
Parameters
- toastConnector ToastConnector -
- databaseConnector DatabaseConnector -
- orders Order[] -
- restourent Restaurant -
processModifierSelectionEntries![](/images/permalink.svg)
function processModifierSelectionEntries(ToastConnector toastConnector, DatabaseConnector databaseConnector, Order[] orders, Restaurant restourent) returns error?
Parameters
- toastConnector ToastConnector -
- databaseConnector DatabaseConnector -
- orders Order[] -
- restourent Restaurant -
processTimeEntries![](/images/permalink.svg)
function processTimeEntries(ToastConnector toastConnector, DatabaseConnector databaseConnector, Restaurant restourent, string startDate, string endDate, string businessDate) returns error?
Parameters
- toastConnector ToastConnector -
- databaseConnector DatabaseConnector -
- restourent Restaurant -
- startDate string -
- endDate string -
- businessDate string -
startProcessing![](/images/permalink.svg)
function startProcessing(FatTuesdayConfiguration fatTuesdayConfiguration, RestaurantList resturantList, string startDate, string endDate, string businessDate, boolean isDeletionEnabled, int? retries) returns error?
Parameters
- fatTuesdayConfiguration FatTuesdayConfiguration -
- resturantList RestaurantList -
- startDate string -
- endDate string -
- businessDate string -
- isDeletionEnabled boolean -
- retries int? (default 0) -
Clients![](/images/permalink.svg)
toast_data_core: DatabaseConnectorImpl![](/images/permalink.svg)
upsertOrders![](/images/permalink.svg)
Remote Function
function upsertOrders(Restaurant restaurant, OrderDBEntry[] orders) returns error?
upsertCashEntries![](/images/permalink.svg)
Remote Function
function upsertCashEntries(Restaurant restaurant, CashEntry[] cashEntries) returns error?
upsertTimeEntries![](/images/permalink.svg)
Remote Function
Parameters
- timeEntries TimeEntry[] -
upsertItemSelections![](/images/permalink.svg)
Remote Function
function upsertItemSelections(Restaurant restaurant, Order orderItem) returns error?
Upserts item selections
Return Type
- error? - error if failed to upsert
upsertItemSelectionEntries![](/images/permalink.svg)
Remote Function
function upsertItemSelectionEntries(Restaurant restaurant, ItemSelection[] itemSelections) returns error?
upsertPaymentEntries![](/images/permalink.svg)
Remote Function
function upsertPaymentEntries(PaymentDbEntry[] paymentEntries) returns error?
Parameters
- paymentEntries PaymentDbEntry[] -
upsertModiferEntries![](/images/permalink.svg)
Remote Function
function upsertModiferEntries(ModifiersItem[] modiferEntries) returns error?
Parameters
- modiferEntries ModifiersItem[] -
upsertKitchenTimings![](/images/permalink.svg)
Remote Function
function upsertKitchenTimings(KitchenTimingDbEntry[] kitchenTimings) returns error?
Parameters
- kitchenTimings KitchenTimingDbEntry[] -
upsertCheckDetailItems![](/images/permalink.svg)
Remote Function
function upsertCheckDetailItems(ChecksItem[] checkItems) returns error?
Parameters
- checkItems ChecksItem[] -
upsertForDataRecordHistory![](/images/permalink.svg)
Remote Function
function upsertForDataRecordHistory(string restaurantGuid, int status, string businessDate) returns error?
getExistingOrderIds![](/images/permalink.svg)
Remote Function
getExistingCheckIds![](/images/permalink.svg)
Remote Function
getExistingPaymentIds![](/images/permalink.svg)
Remote Function
getExistingModifierSelectionIds![](/images/permalink.svg)
Remote Function
function getExistingModifierSelectionIds(string businessDate, string toastNumber) returns map<string>|error
getExistingItemSelectionIds![](/images/permalink.svg)
Remote Function
function getExistingItemSelectionIds(string businessDate, string toastNumber) returns map<string>|error
getExistingKitchentEntriesIds![](/images/permalink.svg)
Remote Function
function getExistingKitchentEntriesIds(string businessDate, string toastNumber) returns map<string>|error
getExistingCashEntriesIds![](/images/permalink.svg)
Remote Function
function getExistingCashEntriesIds(string businessDate, string toastNumber) returns map<string>|error
getExistingTimeEntriesIds![](/images/permalink.svg)
Remote Function
function getExistingTimeEntriesIds(string businessDate, string toastNumber) returns map<string>|error
getToastNoMapping![](/images/permalink.svg)
Remote Function
getStoreByGuid![](/images/permalink.svg)
Remote Function
function getStoreByGuid(string resturantGuid) returns ToastNoConfig|error
Parameters
- resturantGuid string -
getDataPersistingInProgressRestuarants![](/images/permalink.svg)
Remote Function
Parameters
- businessDate string -
deleteAllCashEntries![](/images/permalink.svg)
Remote Function
deleteAllCheks![](/images/permalink.svg)
Remote Function
deleteAllKitchenTimings![](/images/permalink.svg)
Remote Function
deleteAllModifiers![](/images/permalink.svg)
Remote Function
deleteAllOrders![](/images/permalink.svg)
Remote Function
deleteAllPayments![](/images/permalink.svg)
Remote Function
deleteAllSelections![](/images/permalink.svg)
Remote Function
deleteAllTimeEntries![](/images/permalink.svg)
Remote Function
updateDailySales![](/images/permalink.svg)
Remote Function
function updateDailySales(DailySales dailySales) returns error?
Parameters
- dailySales DailySales -
updateAllDailySales![](/images/permalink.svg)
Remote Function
function updateAllDailySales(DailySales[] dailySales) returns error?
Parameters
- dailySales DailySales[] -
toast_data_core: ToastConnector![](/images/permalink.svg)
getTimeEntries![](/images/permalink.svg)
Remote Function
function getTimeEntries(string startDate, string endDate, string businessDate, string restourentGuid) returns TimeEntry[]|error
getRestourentConfig![](/images/permalink.svg)
Remote Function
function getRestourentConfig(string restourentGuid) returns RestourentConfig|error
Parameters
- restourentGuid string -
getEmployee![](/images/permalink.svg)
Remote Function
getJob![](/images/permalink.svg)
Remote Function
getPaymentGuids![](/images/permalink.svg)
Remote Function
getPaymentbyId![](/images/permalink.svg)
Remote Function
function getPaymentbyId(string restourentGuid, string paymentguid) returns PaymentsItem|error
getPayments![](/images/permalink.svg)
Remote Function
function getPayments(string restourentGuid, string businessDate) returns PaymentsItem[]
getCashDrawer![](/images/permalink.svg)
Remote Function
function getCashDrawer(string restourentGuid, string cashDrawerId) returns CashDrawer|error?
getDiningOption![](/images/permalink.svg)
Remote Function
function getDiningOption(string restourentGuid, string diningOptionGuid) returns record { guid string, entityType string, externalId string|(), curbside boolean, name string, behavior string, anydata... }|error
getServiceArea![](/images/permalink.svg)
Remote Function
function getServiceArea(string restourentGuid, string serviceAreaGuid) returns record { guid string, entityType string, externalId string|(), revenueCenter record { guid string, entityType string, externalId string|(), name string|(), description string|(), anydata... }|(), name string|(), anydata... }|error
getRevenueCenter![](/images/permalink.svg)
Remote Function
function getRevenueCenter(string restourentGuid, string revenueCenterGuid) returns record { guid string, entityType string, externalId string|(), name string|(), description string|(), anydata... }|error
getRestourentService![](/images/permalink.svg)
Remote Function
function getRestourentService(string restourentGuid, string restourentServiceGuid) returns record { guid string, entityType string, externalId string|(), name string|(), anydata... }|error
getVoidReason![](/images/permalink.svg)
Remote Function
function getVoidReason(string restourentGuid, string voidReasonGuid) returns record { guid string, entityType string, externalId string|(), name string|(), anydata... }|error
getSalesCategory![](/images/permalink.svg)
Remote Function
function getSalesCategory(string restourentGuid, string salesCategoryGuid) returns SalesCategory|error
getTable![](/images/permalink.svg)
Remote Function
function getTable(string restourentGuid, string tableGuid) returns record { guid string, entityType string, externalId string|(), name string, anydata... }|error
getPrinter![](/images/permalink.svg)
Remote Function
function getPrinter(string restourentGuid, string printerGuid) returns record { id string|(), guid string|(), entityType string|(), name string|(), anydata... }|error
getOrders![](/images/permalink.svg)
Remote Function
function getOrders(string restaurantGuid, string startDate, string endDate, string businessDate) returns Order[]|error
getCashEntries![](/images/permalink.svg)
Remote Function
getRestaurants![](/images/permalink.svg)
Remote Function
function getRestaurants() returns Restaurant[]|error
getOrder![](/images/permalink.svg)
Remote Function
getMenuGroup![](/images/permalink.svg)
Remote Function
function getMenuGroup(string restaurantGuid, string menuGroupGuid) returns record { guid string, entityType string, externalId anydata, images anydata, inheritOptionGroups anydata, inheritUnitOfMeasure anydata, items anydata, menu anydata, name string|(), optionGroups anydata, orderableOnline anydata, parent anydata, subgroups anydata, unitOfMeasure anydata, visibility anydata, anydata... }|error
getMenuItem![](/images/permalink.svg)
Remote Function
getMenu![](/images/permalink.svg)
Remote Function
getPayoutReason![](/images/permalink.svg)
Remote Function
function getPayoutReason(string restaurantGuid, string payOutGuid) returns PayoutReason|error
getNoSaleReason![](/images/permalink.svg)
Remote Function
function getNoSaleReason(string restaurantGuid, string noSaleGuid) returns NoSaleReason|error
getMenuOptionGroup![](/images/permalink.svg)
Remote Function
function getMenuOptionGroup(string restaurantGuid, string optionGroupGuid) returns OptionGroup|error
toast_data_core: TokenObjectPool![](/images/permalink.svg)
Records![](/images/permalink.svg)
toast_data_core: AppliedDiscountsItem![](/images/permalink.svg)
Fields
- guid anydata -
- entityType anydata -
- externalId anydata -
- name string -
- discountAmount decimal -
- nonTaxDiscountAmount decimal -
- discount anydata -
- triggers anydata[] -
- approver anydata -
- processingState anydata -
- loyaltyDetails anydata -
- comboItems anydata[] -
- appliedPromoCode anydata -
- discountType anydata -
- discountPercent anydata -
toast_data_core: AppliedServiceChargesItem![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string -
- chargeAmount int -
- chargeType string -
- name string -
- delivery boolean -
- takeout boolean -
- dineIn boolean -
- gratuity boolean -
- taxable boolean -
- tags string[]? -
- serviceChargeCalculation string -
toast_data_core: AppliedTaxesItem![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- taxRate TaxRate -
- name string -
- 'type string -
- facilitatorCollectAndRemitTax boolean -
toast_data_core: ApproverOrShiftReviewSubject![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
toast_data_core: CashDrawer![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string? -
toast_data_core: CashEntry![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- amount float -
- reason string? -
- date string -
- 'type string -
- cashDrawer CashDrawer -
- payoutReason PayoutReason? -
- noSaleReason NoSaleReason? -
- undoes string? -
- employee1 Employee? -
- employee2 Employee? -
- creatorOrShiftReviewSubject CreatorOrShiftReviewSubject? -
- approverOrShiftReviewSubject ApproverOrShiftReviewSubject? -
- employee1Name string? -
- employee2Name string? -
- isExisting boolean? -
- toastNo string? -
- id int? -
toast_data_core: ChecksItem![](/images/permalink.svg)
Fields
- locationCode string? -
- guid string -
- entityType string -
- externalId string -
- taxExempt boolean -
- displayNumber string -
- payments PaymentsItem[] -
- appliedServiceCharges AppliedServiceChargesItem[] -
- appliedDiscounts AppliedDiscountsItem[] -
- amount decimal -
- netAmount decimal? -
- taxAmount decimal -
- tipAmount decimal? -
- totalAmount decimal -
- totalDiscountAmount decimal? -
- tabName string -
- paymentStatus string -
- voided boolean -
- voidDate string? -
- voidBusinessDate int? -
- paidDate string? -
- pickedUpDate string? -
- selections ItemSelection[] -
- serverName string? -
- toastNumber string? -
- openedDate string? -
- customerName string? -
- tenderedAmount decimal? -
- discount decimal? -
- isExisting boolean? -
- tender string? -
- itemDescription string? -
- numberOfGuests int? -
- reasonOfDiscount string? -
- id int? -
toast_data_core: CreatorOrShiftReviewSubject![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
toast_data_core: DailySales![](/images/permalink.svg)
Fields
- storeCode string -
- netSales decimal -
- date string -
toast_data_core: DataHistoryRecord![](/images/permalink.svg)
Fields
- id int -
- businessDate string -
- restaurantGuid string -
- status int -
toast_data_core: Employee![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string? -
- createdDate string? -
- modifiedDate string? -
- deletedDate string? -
- firstName string? -
- chosenName string? -
- lastName string? -
- email string? -
- phoneNumber string? -
- passcode string? -
- externalEmployeeId string? -
- deleted boolean? -
- disabled boolean? -
- jobReferences JobReference[]? -
- wageOverrides WageOverride[]? -
- v2EmployeeGuid string? -
toast_data_core: Employee1![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string? -
toast_data_core: EmployeeReference![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string -
toast_data_core: FatTuesdayConfiguration![](/images/permalink.svg)
Read Only
Fields
- dbHost string -
- dbUser string -
- dbPass string -
- dbName string -
- dbPort int -
- toastApiUrl string -
- toastClientId string -
- toastClientSecret string -
toast_data_core: General![](/images/permalink.svg)
Fields
- name string -
- locationName string? -
- locationCode string -
- description string -
- timeZone string -
- closeoutHour int -
- managementGroupGuid string -
- currencyCode string -
toast_data_core: Item![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId anydata -
- multiLocationId string? -
- calories anydata? -
- images anydata? -
- inheritOptionGroups anydata? -
- inheritUnitOfMeasure anydata? -
- items anydata? -
- name string? -
- optionGroups anydata? -
- orderableOnline anydata? -
- unitOfMeasure anydata? -
- visibility anydata? -
- plu string? -
- sku string? -
- 'type string? -
toast_data_core: ItemGroup![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId anydata -
- multiLocationId string? -
toast_data_core: ItemSelection![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string? -
- item Item? -
- itemGroup ItemGroup? -
- optionGroup OptionGroup? -
- quantity decimal -
- seatNumber int -
- unitOfMeasure string -
- selectionType string? -
- salesCategory SalesCategory? -
- appliedDiscounts AppliedDiscountsItem[] -
- deferred boolean -
- preDiscountPrice decimal -
- price decimal -
- tax decimal -
- voided boolean -
- voidDate string -
- voidBusinessDate int -
- refundDetails record { refundAmount int, taxRefundAmount int, refundTransaction RefundTransaction, anydata... }? -
- displayName string -
- createdDate string -
- modifiedDate string -
- modifiers ModifiersItem[] -
- fulfillmentStatus string -
- taxInclusion string -
- appliedTaxes anydata[] -
- openPriceAmount decimal? -
- receiptLinePrice decimal? -
- optionGroupPricingMode string? -
- externalPriceAmount decimal? -
- storedValueTransactionId int? -
- menuGroup string? -
- menuItem string? -
- menu string? -
- orderId string? -
- orderNumber string? -
- orderOpenedDate string? -
- serverName string? -
- diningAreaName string? -
- restaurantService string? -
- checkGuid string? -
- grossPrice decimal? -
- discount decimal? -
- netPrice decimal? -
- tabName string? -
- isExisting boolean? -
- toastNo string? -
- plu string? -
- sku string? -
- tableNumber string? -
- id int? -
toast_data_core: Job![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string -
- title string -
- code string -
toast_data_core: JobReference![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string? -
toast_data_core: KitchenTimingDbEntry![](/images/permalink.svg)
Fields
- id int? -
- toastNumber string -
- importDate string? -
- kitchenTimingsId string -
- server string? -
- checkNumber string -
- tableNumber string? -
- checkOpened string -
- station string? -
- expediterLevel string -
- firedDate string -
- fulfilledDate string -
- fulfillmentTime string -
- fulfilledBy string -
- isExisting boolean? -
toast_data_core: LastModifiedDevice![](/images/permalink.svg)
Fields
- id string? -
toast_data_core: Menu![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId anydata? -
- images anydata? -
- groups anydata? -
- name string? -
- orderableOnline anydata? -
- unitOfMeasure anydata? -
- visibility anydata? -
toast_data_core: ModifiersItem![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId anydata -
- deferred boolean -
- preDiscountPrice decimal -
- optionGroup OptionGroup? -
- displayName string -
- appliedDiscounts anydata[] -
- modifiers ModifiersItem[] -
- seatNumber int -
- voidDate string -
- fulfillmentStatus string -
- optionGroupPricingMode string? -
- salesCategory SalesCategory -
- selectionType string -
- price decimal -
- voided boolean -
- appliedTaxes anydata[] -
- itemGroup anydata -
- item Item? -
- taxInclusion string -
- receiptLinePrice decimal? -
- unitOfMeasure string -
- refundDetails record { refundAmount int, taxRefundAmount int, refundTransaction RefundTransaction, anydata... }? -
- tax decimal -
- voidBusinessDate anydata -
- createdDate string -
- preModifier anydata? -
- modifiedDate string -
- orderId string? -
- checkId string? -
- selectionId string? -
- server string? -
- tableName string? -
- orderNumber string? -
- diningArea string? -
- 'service string? -
- diningOptionName string? -
- toastNumber string? -
- openedDate string? -
- modifierId string? -
- isExisting boolean? -
- masterId string? -
- parentItemSelectionMenuId string? -
- parentItemSelectionMenuName string? -
- id int? -
toast_data_core: NoSaleReason![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- name string? -
toast_data_core: OptionGroup![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId anydata? -
- multiLocationId string? -
- items anydata? -
- name string? -
- options anydata[]? -
- minSelections anydata? -
- maxSelections anydata? -
toast_data_core: Order![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string -
- openedDate string -
- modifiedDate string -
- promisedDate string -
- channelGuid string -
- checks ChecksItem[] -
- 'source string -
- receiptToken string? -
- duration decimal -
- numberOfGuests int -
- voided boolean -
- paidDate string? -
- closedDate string? -
- deletedDate string -
- deleted boolean -
- businessDate int -
- server Employee -
- pricingFeatures string[] -
- approvalStatus string -
- guestOrderStatus string? -
- createdDate string -
- initialDate int? -
- createdInTestMode boolean -
- estimatedFulfillmentDate string? -
- tabName string? -
- serverName string? -
- isExisting boolean? -
- toastNo string? -
toast_data_core: OrderDBEntry![](/images/permalink.svg)
Closed record
Fields
- orderId string -
- orderNumber string -
- toastNumber string -
- checkNumber string -
- openedAt string -
- createdAt string -
- numberOfGuests int -
- tabName string -
- server string -
- tableNumber string -
- revenueCenter string -
- diningArea string -
- serviceName string -
- diningOptions string -
- discountAmount decimal -
- amount decimal -
- tax decimal -
- tip decimal -
- gratuity decimal -
- total decimal -
- voided boolean -
- paidAt string -
- closedAt string -
- duration decimal -
- orderSource string -
- isExisting boolean?(default false) -
- id int? -
toast_data_core: PaymentDbEntry![](/images/permalink.svg)
Fields
- toastNumber string? -
- importDate string? -
- paymentId string -
- orderId string -
- orderNumber string -
- paidDate string -
- orderDate string -
- checkId string -
- checkNumber string -
- tabName string -
- server string? -
- tableName string -
- diningArea string? -
- 'service string? -
- houseAcctNumber string -
- amount decimal -
- tip decimal -
- gratuity decimal -
- total decimal -
- swipedCardAmount decimal -
- keyedCardAmount decimal -
- amountTendered decimal -
- refunded string -
- 'refundDate string -
- refundAmount decimal -
- refundTipAmount decimal -
- voidUser string? -
- voidApprover string? -
- voidDate string -
- status string -
- 'type string -
- cashDrawer string? -
- cardType string -
- otherType string -
- email string? -
- phone string? -
- last4CardDigits string -
- creditCardFees decimal -
- receipt string -
- 'source string -
- added string? -
- diningOption string? -
- cashDrawerObj CashDrawer? -
- isExisting boolean? -
- id int? -
toast_data_core: PaymentsItem![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string -
- originalProcessingFee decimal -
- server Employee -
- cashDrawer CashDrawer -
- lastModifiedDevice LastModifiedDevice -
- refundStatus string -
- isProcessedOffline boolean -
- 'type string -
- voidInfo record { voidUser record { guid string, entityType string, externalId string|(), anydata... }|(), voidApprover record { guid string, entityType string, externalId string|(), anydata... }|(), voidDate string|(), voidBusinessDate int|(), voidReason record { guid string, entityType string, externalId string|(), name string|(), anydata... }|(), anydata... } -
- paymentCardToken string? -
- checkGuid string -
- paidDate string -
- orderGuid string -
- cardEntryMode anydata -
- cardPaymentId anydata? -
- paymentStatus string -
- amount decimal -
- tipAmount decimal -
- amountTendered decimal -
- cardType string -
- houseAccount string -
- mcaRepaymentAmount decimal -
- paidBusinessDate int -
- last4Digits string -
toast_data_core: PayoutReason![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- name string? -
toast_data_core: QueryData![](/images/permalink.svg)
Fields
- id string -
- guid string -
toast_data_core: RefundTransaction![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
toast_data_core: Restaurant![](/images/permalink.svg)
Fields
- restaurantGuid string -
- restaurantName string -
- locationName string -
- toastNo string? -
- restourentConfig RestourentConfig? -
toast_data_core: RestaurantList![](/images/permalink.svg)
Read Only
Fields
- guids string[] -
toast_data_core: RestourentConfig![](/images/permalink.svg)
Fields
- guid string -
- general General -
- urls anydata? -
- location anydata? -
- schedules anydata? -
- delivery anydata? -
- onlineOrdering anydata? -
- prepTimes anydata? -
toast_data_core: SalesCategory![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string? -
- name string? -
toast_data_core: TaxRate![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
toast_data_core: TimeEntry![](/images/permalink.svg)
Fields
- guid string -
- entityType string -
- externalId string -
- nonCashSales float -
- outDate string -
- overtimeHours float -
- breaks TimeEntryBreak[] -
- employeeReference EmployeeReference -
- shiftReference anydata -
- nonCashGratuityServiceCharges float -
- inDate string -
- regularHours float -
- jobReference JobReference -
- tipsWithheld float -
- businessDate string -
- cashGratuityServiceCharges float -
- createdDate string -
- deleted boolean -
- deletedDate string -
- cashSales float -
- hourlyWage float -
- nonCashTips float -
- modifiedDate string -
- declaredCashTips float -
- autoClockedOut boolean? -
- timeEntriedId string? -
- toastNumber string? -
- locationCode string? -
- employeeGuid string? -
- emploeeExternald string? -
- employee string? -
- jobId string? -
- jobGuid string? -
- jobTittle string? -
- jobCode string? -
- totalHours float? -
- unpaidBreakTime float? -
- paidBreakTime float? -
- payableHours float? -
- totalTips float? -
- regularPay float? -
- overTimePay float? -
- totalPay float? -
- isExisting boolean? -
- convertedInDate string? -
- convertedOutDate string? -
- id int? -
toast_data_core: TimeEntryBreak![](/images/permalink.svg)
Fields
- guid string -
- breakType anydata -
- paid boolean -
- inDate string -
- outDate string -
- missed boolean -
- auditResponse boolean -
toast_data_core: ToastNoConfig![](/images/permalink.svg)
Fields
- locationGuid string -
- toastNumber string -
- storeCode string -
toast_data_core: Token![](/images/permalink.svg)
Fields
- tokenType string -
- scope string -
- expiresIn int -
- accessToken string -
toast_data_core: TokenRequest![](/images/permalink.svg)
Fields
- clientId string -
- clientSecret string -
- userAccessType string -
toast_data_core: TokenResponse![](/images/permalink.svg)
Fields
- token Token -
- status string -
toast_data_core: WageOverride![](/images/permalink.svg)
Fields
- wage decimal -
- jobReference JobReference -
Object types![](/images/permalink.svg)
toast_data_core: DatabaseConnector![](/images/permalink.svg)
upsertOrders![](/images/permalink.svg)
Remote Function
function upsertOrders(Restaurant restaurant, OrderDBEntry[] orders) returns error?
upsertItemSelections![](/images/permalink.svg)
Remote Function
function upsertItemSelections(Restaurant restaurant, Order orderItem) returns error?
upsertItemSelectionEntries![](/images/permalink.svg)
Remote Function
function upsertItemSelectionEntries(Restaurant restaurant, ItemSelection[] itemSelections) returns error?
upsertCashEntries![](/images/permalink.svg)
Remote Function
function upsertCashEntries(Restaurant restaurant, CashEntry[] cashEntries) returns error?
upsertTimeEntries![](/images/permalink.svg)
Remote Function
Parameters
- timeEntries TimeEntry[] -
upsertPaymentEntries![](/images/permalink.svg)
Remote Function
function upsertPaymentEntries(PaymentDbEntry[] paymentEntries) returns error?
Parameters
- paymentEntries PaymentDbEntry[] -
upsertModiferEntries![](/images/permalink.svg)
Remote Function
function upsertModiferEntries(ModifiersItem[] modiferEntries) returns error?
Parameters
- modiferEntries ModifiersItem[] -
upsertKitchenTimings![](/images/permalink.svg)
Remote Function
function upsertKitchenTimings(KitchenTimingDbEntry[] kitchenTimings) returns error?
Parameters
- kitchenTimings KitchenTimingDbEntry[] -
upsertCheckDetailItems![](/images/permalink.svg)
Remote Function
function upsertCheckDetailItems(ChecksItem[] checkItems) returns error?
Parameters
- checkItems ChecksItem[] -
upsertForDataRecordHistory![](/images/permalink.svg)
Remote Function
function upsertForDataRecordHistory(string restaurantGuid, int status, string businessDate) returns error?
getExistingOrderIds![](/images/permalink.svg)
Remote Function
getExistingCheckIds![](/images/permalink.svg)
Remote Function
getExistingPaymentIds![](/images/permalink.svg)
Remote Function
getExistingModifierSelectionIds![](/images/permalink.svg)
Remote Function
function getExistingModifierSelectionIds(string businessDate, string toastNumber) returns map<string>|error
getExistingItemSelectionIds![](/images/permalink.svg)
Remote Function
function getExistingItemSelectionIds(string businessDate, string toastNumber) returns map<string>|error
getExistingKitchentEntriesIds![](/images/permalink.svg)
Remote Function
function getExistingKitchentEntriesIds(string businessDate, string toastNumber) returns map<string>|error
getExistingCashEntriesIds![](/images/permalink.svg)
Remote Function
function getExistingCashEntriesIds(string businessDate, string toastNumber) returns map<string>|error
getExistingTimeEntriesIds![](/images/permalink.svg)
Remote Function
function getExistingTimeEntriesIds(string businessDate, string toastNumber) returns map<string>|error
getToastNoMapping![](/images/permalink.svg)
Remote Function
getStoreByGuid![](/images/permalink.svg)
Remote Function
function getStoreByGuid(string resturantGuid) returns ToastNoConfig|error
Parameters
- resturantGuid string -
getDataPersistingInProgressRestuarants![](/images/permalink.svg)
Remote Function
Parameters
- businessDate string -
deleteAllOrders![](/images/permalink.svg)
Remote Function
deleteAllCheks![](/images/permalink.svg)
Remote Function
deleteAllSelections![](/images/permalink.svg)
Remote Function
deleteAllPayments![](/images/permalink.svg)
Remote Function
deleteAllModifiers![](/images/permalink.svg)
Remote Function
deleteAllKitchenTimings![](/images/permalink.svg)
Remote Function
deleteAllCashEntries![](/images/permalink.svg)
Remote Function
deleteAllTimeEntries![](/images/permalink.svg)
Remote Function
updateDailySales![](/images/permalink.svg)
Remote Function
function updateDailySales(DailySales dailySales) returns error?
Parameters
- dailySales DailySales -
updateAllDailySales![](/images/permalink.svg)
Remote Function
function updateAllDailySales(DailySales[] dailySales) returns error?
Parameters
- dailySales DailySales[] -
toast_data_core: QueryProvider![](/images/permalink.svg)
Import
import fattuesday/toast_data_core;
Metadata
Released date: 12 months ago
Version: 1.0.3
Compatibility
Platform: java11
Ballerina version: 2201.7.2
Pull count
Total: 334
Current verison: 5
Weekly downloads