@trusted-solutions/sdit.models 0.28.0-alpha.9 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base-data.d.ts +15 -15
- package/base-data.js +2 -2
- package/constants/client-endpoints.d.ts +7 -7
- package/constants/client-endpoints.js +10 -10
- package/constants/client-endpoints.js.map +1 -1
- package/constants/district-zip.taiwan.d.ts +7 -7
- package/constants/district-zip.taiwan.js +499 -499
- package/constants/index.d.ts +3 -3
- package/constants/index.js +6 -6
- package/constants/industry.d.ts +4 -4
- package/constants/industry.js +27 -27
- package/data-service/config.d.ts +62 -62
- package/data-service/config.js +895 -895
- package/data-service/enum.d.ts +82 -82
- package/data-service/enum.js +101 -101
- package/data-service/index.d.ts +4 -4
- package/data-service/index.js +7 -7
- package/data-service/lambda.d.ts +92 -92
- package/data-service/lambda.js +3 -3
- package/data-service/model.d.ts +79 -79
- package/data-service/model.js +190 -190
- package/enums/analysis.d.ts +201 -201
- package/enums/analysis.js +213 -213
- package/enums/block-storage.d.ts +4 -4
- package/enums/block-storage.js +8 -8
- package/enums/close-type.d.ts +4 -4
- package/enums/close-type.js +8 -8
- package/enums/cognito-filter-key.d.ts +14 -14
- package/enums/cognito-filter-key.js +19 -19
- package/enums/cognito-operator.d.ts +4 -4
- package/enums/cognito-operator.js +8 -8
- package/enums/company.d.ts +4 -4
- package/enums/company.js +8 -8
- package/enums/customer.d.ts +23 -23
- package/enums/customer.js +29 -29
- package/enums/discount-module.d.ts +18 -18
- package/enums/discount-module.js +27 -27
- package/enums/dynamodb-operator.d.ts +66 -66
- package/enums/dynamodb-operator.js +77 -77
- package/enums/error-type.d.ts +109 -109
- package/enums/error-type.js +145 -145
- package/enums/event.d.ts +29 -29
- package/enums/event.js +36 -36
- package/enums/external.d.ts +3 -3
- package/enums/external.js +7 -7
- package/enums/filter-keys.d.ts +9 -9
- package/enums/filter-keys.js +15 -15
- package/enums/import-data.d.ts +3 -3
- package/enums/import-data.js +7 -7
- package/enums/index.d.ts +41 -41
- package/enums/index.js +44 -44
- package/enums/inventory.d.ts +7 -7
- package/enums/inventory.js +11 -11
- package/enums/invoice-carrier-type.d.ts +5 -5
- package/enums/invoice-carrier-type.js +9 -9
- package/enums/invoice-error-name.d.ts +4 -4
- package/enums/invoice-error-name.js +8 -8
- package/enums/invoice-provider.d.ts +6 -5
- package/enums/invoice-provider.js +10 -9
- package/enums/invoice-provider.js.map +1 -1
- package/enums/invoice-status-type.d.ts +4 -4
- package/enums/invoice-status-type.js +8 -8
- package/enums/invoice-type.d.ts +6 -6
- package/enums/invoice-type.js +10 -10
- package/enums/language.d.ts +4 -4
- package/enums/language.js +8 -8
- package/enums/number-of-customers-group-type.d.ts +12 -12
- package/enums/number-of-customers-group-type.js +16 -16
- package/enums/offline-sync-type.d.ts +7 -7
- package/enums/offline-sync-type.js +11 -11
- package/enums/order-action-name.d.ts +4 -4
- package/enums/order-action-name.js +8 -8
- package/enums/order-item.d.ts +13 -13
- package/enums/order-item.js +18 -18
- package/enums/order-source-type.d.ts +5 -5
- package/enums/order-source-type.js +9 -9
- package/enums/order-status.d.ts +18 -18
- package/enums/order-status.js +22 -22
- package/enums/payment-parameters.d.ts +18 -18
- package/enums/payment-parameters.js +25 -25
- package/enums/payment-service-provider.d.ts +28 -28
- package/enums/payment-service-provider.js +32 -32
- package/enums/payment-type.d.ts +35 -35
- package/enums/payment-type.js +39 -39
- package/enums/permission-name.d.ts +30 -30
- package/enums/permission-name.js +34 -34
- package/enums/printer.d.ts +57 -57
- package/enums/printer.js +68 -68
- package/enums/real-time-switch-type.d.ts +8 -8
- package/enums/real-time-switch-type.js +12 -12
- package/enums/receipt.d.ts +4 -4
- package/enums/receipt.js +8 -8
- package/enums/serve-type.d.ts +6 -6
- package/enums/serve-type.js +10 -10
- package/enums/server-error.d.ts +4 -4
- package/enums/server-error.js +8 -8
- package/enums/store.d.ts +15 -15
- package/enums/store.js +21 -21
- package/enums/table-index.d.ts +25 -25
- package/enums/table-index.js +32 -32
- package/enums/table.d.ts +6 -6
- package/enums/table.js +10 -10
- package/enums/tax-type.d.ts +5 -5
- package/enums/tax-type.js +9 -9
- package/enums/user.d.ts +8 -8
- package/enums/user.js +13 -13
- package/lambda/contract.d.ts +97 -97
- package/lambda/contract.js +2 -2
- package/lambda/error/create-order-when-item-sold-out.d.ts +6 -6
- package/lambda/error/create-order-when-item-sold-out.js +2 -2
- package/lambda/error/index.d.ts +1 -1
- package/lambda/error/index.js +4 -4
- package/lambda/index.d.ts +10 -10
- package/lambda/index.js +13 -13
- package/lambda/line-notify.d.ts +8 -8
- package/lambda/line-notify.js +4 -4
- package/lambda/online-integration.d.ts +110 -110
- package/lambda/online-integration.js +2 -2
- package/lambda/online-ordering.d.ts +290 -281
- package/lambda/online-ordering.js +2 -2
- package/lambda/override.d.ts +23 -23
- package/lambda/override.js +2 -2
- package/lambda/pos-integration.d.ts +19 -19
- package/lambda/pos-integration.js +2 -2
- package/lambda/request/analysis.d.ts +4 -4
- package/lambda/request/analysis.js +2 -2
- package/lambda/request/chain.d.ts +30 -30
- package/lambda/request/chain.js +2 -2
- package/lambda/request/closing.d.ts +64 -64
- package/lambda/request/closing.js +2 -2
- package/lambda/request/common.d.ts +19 -19
- package/lambda/request/common.js +2 -2
- package/lambda/request/custom-analysis-group.d.ts +19 -19
- package/lambda/request/custom-analysis-group.js +2 -2
- package/lambda/request/customer.d.ts +19 -19
- package/lambda/request/customer.js +2 -2
- package/lambda/request/discount-module.d.ts +50 -50
- package/lambda/request/discount-module.js +2 -2
- package/lambda/request/event.d.ts +9 -9
- package/lambda/request/event.js +2 -2
- package/lambda/request/import-data.d.ts +15 -15
- package/lambda/request/import-data.js +2 -2
- package/lambda/request/index.d.ts +20 -20
- package/lambda/request/index.js +23 -23
- package/lambda/request/invoice.d.ts +96 -93
- package/lambda/request/invoice.js +2 -2
- package/lambda/request/kiosk.d.ts +15 -15
- package/lambda/request/kiosk.js +2 -2
- package/lambda/request/menu.d.ts +89 -89
- package/lambda/request/menu.js +2 -2
- package/lambda/request/offline-sync.d.ts +33 -33
- package/lambda/request/offline-sync.js +2 -2
- package/lambda/request/order.d.ts +49 -49
- package/lambda/request/order.js +2 -2
- package/lambda/request/payment.d.ts +19 -19
- package/lambda/request/payment.js +2 -2
- package/lambda/request/printer.d.ts +42 -42
- package/lambda/request/printer.js +2 -2
- package/lambda/request/real-time-switch.d.ts +33 -33
- package/lambda/request/real-time-switch.js +2 -2
- package/lambda/request/receipt.d.ts +5 -5
- package/lambda/request/receipt.js +2 -2
- package/lambda/request/store.d.ts +77 -77
- package/lambda/request/store.js +2 -2
- package/lambda/request/user.d.ts +29 -29
- package/lambda/request/user.js +2 -2
- package/lambda/response/analysis.d.ts +4 -4
- package/lambda/response/analysis.js +2 -2
- package/lambda/response/chain.d.ts +14 -14
- package/lambda/response/chain.js +2 -2
- package/lambda/response/closing.d.ts +14 -14
- package/lambda/response/closing.js +3 -3
- package/lambda/response/common.d.ts +15 -15
- package/lambda/response/common.js +2 -2
- package/lambda/response/custom-analysis-group.d.ts +14 -14
- package/lambda/response/custom-analysis-group.js +7 -7
- package/lambda/response/customer.d.ts +12 -12
- package/lambda/response/customer.js +2 -2
- package/lambda/response/discount-module.d.ts +28 -28
- package/lambda/response/discount-module.js +2 -2
- package/lambda/response/event.d.ts +4 -4
- package/lambda/response/event.js +2 -2
- package/lambda/response/index.d.ts +17 -17
- package/lambda/response/index.js +20 -20
- package/lambda/response/invoice.d.ts +34 -34
- package/lambda/response/invoice.js +2 -2
- package/lambda/response/kiosk.d.ts +12 -12
- package/lambda/response/kiosk.js +2 -2
- package/lambda/response/menu.d.ts +54 -54
- package/lambda/response/menu.js +2 -2
- package/lambda/response/order.d.ts +20 -20
- package/lambda/response/order.js +2 -2
- package/lambda/response/payment.d.ts +199 -199
- package/lambda/response/payment.js +2 -2
- package/lambda/response/printer.d.ts +22 -22
- package/lambda/response/printer.js +2 -2
- package/lambda/response/receipt.d.ts +4 -4
- package/lambda/response/receipt.js +2 -2
- package/lambda/response/store.d.ts +38 -38
- package/lambda/response/store.js +2 -2
- package/lambda/response/user.d.ts +17 -17
- package/lambda/response/user.js +2 -2
- package/lambda/subscription.d.ts +141 -141
- package/lambda/subscription.js +9 -9
- package/models/analysis-summary.d.ts +23 -23
- package/models/analysis-summary.js +2 -2
- package/models/analysis.d.ts +56 -56
- package/models/analysis.js +2 -2
- package/models/appointment.d.ts +18 -18
- package/models/appointment.js +2 -2
- package/models/array-mutations.d.ts +8 -8
- package/models/array-mutations.js +2 -2
- package/models/chain.d.ts +5 -5
- package/models/chain.js +2 -2
- package/models/cognito-filters.d.ts +21 -21
- package/models/cognito-filters.js +2 -2
- package/models/contract.d.ts +31 -31
- package/models/contract.js +2 -2
- package/models/csv/customer.d.ts +18 -18
- package/models/csv/customer.js +2 -2
- package/models/csv/index.d.ts +1 -1
- package/models/csv/index.js +4 -4
- package/models/custom-analysis-group.d.ts +5 -5
- package/models/custom-analysis-group.js +2 -2
- package/models/customer.d.ts +33 -32
- package/models/customer.js +2 -2
- package/models/discount-module/bundle-discount-module.d.ts +9 -9
- package/models/discount-module/bundle-discount-module.js +2 -2
- package/models/discount-module/discount-module.d.ts +92 -92
- package/models/discount-module/discount-module.js +2 -2
- package/models/discount-module/entire-order-discount-module.d.ts +6 -6
- package/models/discount-module/entire-order-discount-module.js +2 -2
- package/models/discount-module/index.d.ts +3 -3
- package/models/discount-module/index.js +6 -6
- package/models/discount-module/selected-item-discount-module.d.ts +9 -9
- package/models/discount-module/selected-item-discount-module.js +2 -2
- package/models/dynamodb-filters.d.ts +37 -37
- package/models/dynamodb-filters.js +2 -2
- package/models/dynamodb-index.d.ts +19 -19
- package/models/dynamodb-index.js +2 -2
- package/models/error/index.d.ts +11 -11
- package/models/error/index.js +6 -6
- package/models/error/invoice.d.ts +3 -3
- package/models/error/invoice.js +11 -11
- package/models/error/order.d.ts +17 -17
- package/models/error/order.js +42 -42
- package/models/error/store.d.ts +6 -6
- package/models/error/store.js +18 -18
- package/models/event.d.ts +13 -13
- package/models/event.js +2 -2
- package/models/external-config.d.ts +10 -10
- package/models/external-config.js +2 -2
- package/models/filter-request.d.ts +13 -13
- package/models/filter-request.js +2 -2
- package/models/index.d.ts +40 -40
- package/models/index.js +43 -43
- package/models/inventory/index.d.ts +5 -5
- package/models/inventory/index.js +8 -8
- package/models/inventory/inventory-item-record.d.ts +52 -52
- package/models/inventory/inventory-item-record.js +2 -2
- package/models/inventory/inventory-item.d.ts +38 -38
- package/models/inventory/inventory-item.js +2 -2
- package/models/inventory/inventory-record.d.ts +40 -40
- package/models/inventory/inventory-record.js +2 -2
- package/models/inventory/inventory.d.ts +23 -23
- package/models/inventory/inventory.js +2 -2
- package/models/inventory/relation.d.ts +17 -17
- package/models/inventory/relation.js +2 -2
- package/models/invoice-config.d.ts +25 -14
- package/models/invoice-config.js +2 -2
- package/models/invoice.d.ts +83 -83
- package/models/invoice.js +2 -2
- package/models/json/base-json.d.ts +3 -3
- package/models/json/base-json.js +2 -2
- package/models/json/index.d.ts +2 -2
- package/models/json/index.js +5 -5
- package/models/json/product-json.d.ts +16 -16
- package/models/json/product-json.js +2 -2
- package/models/kiosk.d.ts +4 -4
- package/models/kiosk.js +2 -2
- package/models/language.d.ts +8 -8
- package/models/language.js +2 -2
- package/models/menu.d.ts +111 -111
- package/models/menu.js +10 -10
- package/models/online-integration.d.ts +88 -88
- package/models/online-integration.js +59 -59
- package/models/online-ordering.d.ts +253 -237
- package/models/online-ordering.js +43 -37
- package/models/online-ordering.js.map +1 -1
- package/models/order-action.d.ts +11 -11
- package/models/order-action.js +2 -2
- package/models/order.d.ts +452 -451
- package/models/order.js +2 -2
- package/models/override.d.ts +28 -28
- package/models/override.js +14 -14
- package/models/payment-config.d.ts +69 -69
- package/models/payment-config.js +2 -2
- package/models/payment-parameters.d.ts +116 -116
- package/models/payment-parameters.js +3 -3
- package/models/payment.d.ts +42 -42
- package/models/payment.js +2 -2
- package/models/permission/index.d.ts +4 -4
- package/models/permission/index.js +7 -7
- package/models/permission/store-permission.d.ts +9 -9
- package/models/permission/store-permission.js +2 -2
- package/models/permission/store-role-store-permission.d.ts +5 -5
- package/models/permission/store-role-store-permission.js +2 -2
- package/models/permission/store-role-store-user.d.ts +5 -5
- package/models/permission/store-role-store-user.js +2 -2
- package/models/permission/store-role.d.ts +5 -5
- package/models/permission/store-role.js +2 -2
- package/models/plugin/index.d.ts +5 -5
- package/models/plugin/index.js +8 -8
- package/models/plugin/intent-handler/index.d.ts +2 -2
- package/models/plugin/intent-handler/index.js +5 -5
- package/models/plugin/intent-handler/intent-handler-request.d.ts +14 -14
- package/models/plugin/intent-handler/intent-handler-request.js +2 -2
- package/models/plugin/intent-handler/intent-handler-response.d.ts +7 -7
- package/models/plugin/intent-handler/intent-handler-response.js +2 -2
- package/models/plugin/payment-machine/index.d.ts +3 -3
- package/models/plugin/payment-machine/index.js +6 -6
- package/models/plugin/payment-machine/models/fixed-string.model.d.ts +14 -14
- package/models/plugin/payment-machine/models/fixed-string.model.js +52 -52
- package/models/plugin/payment-machine/models/index.d.ts +5 -5
- package/models/plugin/payment-machine/models/index.js +8 -8
- package/models/plugin/payment-machine/models/nccc/index.d.ts +3 -3
- package/models/plugin/payment-machine/models/nccc/index.js +6 -6
- package/models/plugin/payment-machine/models/nccc/payment-machine-d200.model.d.ts +41 -41
- package/models/plugin/payment-machine/models/nccc/payment-machine-d200.model.js +140 -140
- package/models/plugin/payment-machine/models/nccc/payment-machine-v3p.model.d.ts +42 -42
- package/models/plugin/payment-machine/models/nccc/payment-machine-v3p.model.js +621 -621
- package/models/plugin/payment-machine/models/nccc/payment-machine-vx520.model.d.ts +21 -21
- package/models/plugin/payment-machine/models/nccc/payment-machine-vx520.model.js +28 -28
- package/models/plugin/payment-machine/models/payment-machine-minimum.model.d.ts +38 -38
- package/models/plugin/payment-machine/models/payment-machine-minimum.model.js +27 -27
- package/models/plugin/payment-machine/models/payment-machine-union.model.d.ts +123 -123
- package/models/plugin/payment-machine/models/payment-machine-union.model.js +376 -376
- package/models/plugin/payment-machine/models/tsb/index.d.ts +1 -1
- package/models/plugin/payment-machine/models/tsb/index.js +4 -4
- package/models/plugin/payment-machine/models/tsb/payment-machine-d220.model.d.ts +20 -20
- package/models/plugin/payment-machine/models/tsb/payment-machine-d220.model.js +27 -27
- package/models/plugin/payment-machine/payment-machine-request.d.ts +8 -8
- package/models/plugin/payment-machine/payment-machine-request.js +2 -2
- package/models/plugin/payment-machine/payment-machine.d.ts +43 -43
- package/models/plugin/payment-machine/payment-machine.js +50 -50
- package/models/plugin/peripheral.model.d.ts +53 -53
- package/models/plugin/peripheral.model.js +38 -38
- package/models/plugin/printer/index.d.ts +2 -2
- package/models/plugin/printer/index.js +5 -5
- package/models/plugin/printer/printer-request.d.ts +20 -20
- package/models/plugin/printer/printer-request.js +2 -2
- package/models/plugin/printer/printer.d.ts +92 -92
- package/models/plugin/printer/printer.js +11 -11
- package/models/plugin/serial-port/index.d.ts +2 -2
- package/models/plugin/serial-port/index.js +5 -5
- package/models/plugin/serial-port/serial-port-request.d.ts +11 -11
- package/models/plugin/serial-port/serial-port-request.js +2 -2
- package/models/plugin/serial-port/serial-port.d.ts +17 -17
- package/models/plugin/serial-port/serial-port.js +22 -22
- package/models/printer.d.ts +70 -70
- package/models/printer.js +2 -2
- package/models/receipt.d.ts +61 -61
- package/models/receipt.js +2 -2
- package/models/store.d.ts +251 -240
- package/models/store.js +3 -3
- package/models/table.d.ts +35 -35
- package/models/table.js +9 -9
- package/models/template-interface/index.d.ts +1 -1
- package/models/template-interface/index.js +4 -4
- package/models/template-interface/list.d.ts +10 -10
- package/models/template-interface/list.js +2 -2
- package/models/user.d.ts +31 -31
- package/models/user.js +2 -2
- package/models/utils/index.d.ts +1 -1
- package/models/utils/index.js +4 -4
- package/models/utils/utils-data.d.ts +4 -4
- package/models/utils/utils-data.js +2 -2
- package/package.json +24 -24
- package/public-api.d.ts +5 -5
- package/public-api.js +8 -8
- package/third-party-api/uber-eats/enums/ub-menu.d.ts +24 -24
- package/third-party-api/uber-eats/enums/ub-menu.js +32 -32
- package/third-party-api/uber-eats/enums/ub-order.d.ts +55 -55
- package/third-party-api/uber-eats/enums/ub-order.js +66 -66
- package/third-party-api/uber-eats/enums/ub-utils.d.ts +34 -34
- package/third-party-api/uber-eats/enums/ub-utils.js +40 -40
- package/third-party-api/uber-eats/index.d.ts +13 -13
- package/third-party-api/uber-eats/index.js +16 -16
- package/third-party-api/uber-eats/models/ub-cancel-order.d.ts +28 -28
- package/third-party-api/uber-eats/models/ub-cancel-order.js +17 -17
- package/third-party-api/uber-eats/models/ub-cart.d.ts +84 -84
- package/third-party-api/uber-eats/models/ub-cart.js +2 -2
- package/third-party-api/uber-eats/models/ub-menu-config.d.ts +40 -40
- package/third-party-api/uber-eats/models/ub-menu-config.js +2 -2
- package/third-party-api/uber-eats/models/ub-menu-item.d.ts +112 -112
- package/third-party-api/uber-eats/models/ub-menu-item.js +2 -2
- package/third-party-api/uber-eats/models/ub-order.d.ts +59 -59
- package/third-party-api/uber-eats/models/ub-order.js +2 -2
- package/third-party-api/uber-eats/models/ub-payment.d.ts +59 -59
- package/third-party-api/uber-eats/models/ub-payment.js +2 -2
- package/third-party-api/uber-eats/models/ub-pos-accept-order.d.ts +39 -39
- package/third-party-api/uber-eats/models/ub-pos-accept-order.js +2 -2
- package/third-party-api/uber-eats/models/ub-pos-deny-order.d.ts +29 -29
- package/third-party-api/uber-eats/models/ub-pos-deny-order.js +17 -17
- package/third-party-api/uber-eats/models/ub-quantity-constraint-rules.d.ts +48 -48
- package/third-party-api/uber-eats/models/ub-quantity-constraint-rules.js +2 -2
- package/third-party-api/uber-eats/models/ub-utils.d.ts +41 -41
- package/third-party-api/uber-eats/models/ub-utils.js +2 -2
package/data-service/enum.d.ts
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
export declare enum ActionEnum {
|
|
2
|
-
create = 0,
|
|
3
|
-
get = 1,
|
|
4
|
-
queryAll = 2,
|
|
5
|
-
update = 3,
|
|
6
|
-
delete = 4,
|
|
7
|
-
deleteAll = 5,
|
|
8
|
-
batchCreate = 6,
|
|
9
|
-
batchUpdate = 7,
|
|
10
|
-
batchDelete = 8
|
|
11
|
-
}
|
|
12
|
-
export declare enum LambdaFunctionName {
|
|
13
|
-
createMenu = 0,
|
|
14
|
-
getMenus = 1,
|
|
15
|
-
updateMenu = 2,
|
|
16
|
-
deleteMenu = 3,
|
|
17
|
-
addProductCategoryToMenu = 4,
|
|
18
|
-
createProductCategory = 5,
|
|
19
|
-
getProductCategories = 6,
|
|
20
|
-
updateProductCategory = 7,
|
|
21
|
-
createProduct = 8,
|
|
22
|
-
createProductAttribute = 9,
|
|
23
|
-
deleteProduct = 10,
|
|
24
|
-
deleteProductAttribute = 11,
|
|
25
|
-
createInventoryCategory = 12,
|
|
26
|
-
getInventoryCategories = 13,
|
|
27
|
-
updateInventoryCategory = 14,
|
|
28
|
-
deleteInventoryCategory = 15,
|
|
29
|
-
getInventoryCategoryInventories = 16,
|
|
30
|
-
createInventory = 17,
|
|
31
|
-
getInventories = 18,
|
|
32
|
-
updateInventory = 19,
|
|
33
|
-
deleteInventory = 20,
|
|
34
|
-
updateInventoriesInProduct = 21,
|
|
35
|
-
getProductInventories = 22,
|
|
36
|
-
updateInventoriesInProductAttribute = 23,
|
|
37
|
-
getProductAttributeInventories = 24,
|
|
38
|
-
getInventoryRecords = 25,
|
|
39
|
-
getInventoryItemRecords = 26,
|
|
40
|
-
getClosingSalesDetails = 27,
|
|
41
|
-
createFloor = 28,
|
|
42
|
-
getFloors = 29,
|
|
43
|
-
updateFloor = 30,
|
|
44
|
-
deleteFloor = 31,
|
|
45
|
-
getFloorTables = 32,
|
|
46
|
-
createTable = 33,
|
|
47
|
-
getTables = 34,
|
|
48
|
-
updateTable = 35,
|
|
49
|
-
deleteTable = 36,
|
|
50
|
-
createAppointment = 37,
|
|
51
|
-
getAppointments = 38,
|
|
52
|
-
updateAppointment = 39,
|
|
53
|
-
deleteAppointment = 40,
|
|
54
|
-
batchUpdateMenus = 41,
|
|
55
|
-
updateProductCategoriesInMenu = 42,
|
|
56
|
-
deleteMenuProductCategoriesByCategoryId = 43,
|
|
57
|
-
getMenuProductCategories = 44,
|
|
58
|
-
deleteProductCategory = 45
|
|
59
|
-
}
|
|
60
|
-
export declare enum AkitaStoreEnum {
|
|
61
|
-
menuStore = 0,
|
|
62
|
-
menuProductCategoryStore = 1,
|
|
63
|
-
productCategoryStore = 2,
|
|
64
|
-
productStore = 3,
|
|
65
|
-
productAttributeStore = 4,
|
|
66
|
-
productInventoryStore = 5,
|
|
67
|
-
productAttributeInventoryStore = 6,
|
|
68
|
-
inventoryCategoryStore = 7,
|
|
69
|
-
inventoryStore = 8,
|
|
70
|
-
inventoryCategoryInventoryStore = 9,
|
|
71
|
-
floorStore = 10,
|
|
72
|
-
floorTableStore = 11,
|
|
73
|
-
tableStore = 12,
|
|
74
|
-
appointmentsStore = 13
|
|
75
|
-
}
|
|
76
|
-
export declare enum AkitaQueryEnum {
|
|
77
|
-
menuProductCategoryQuery = 0,
|
|
78
|
-
productInventoryQuery = 1,
|
|
79
|
-
productAttributeInventoryQuery = 2,
|
|
80
|
-
inventoryCategoryInventoryQuery = 3,
|
|
81
|
-
floorTableQuery = 4
|
|
82
|
-
}
|
|
1
|
+
export declare enum ActionEnum {
|
|
2
|
+
create = 0,
|
|
3
|
+
get = 1,
|
|
4
|
+
queryAll = 2,
|
|
5
|
+
update = 3,
|
|
6
|
+
delete = 4,
|
|
7
|
+
deleteAll = 5,
|
|
8
|
+
batchCreate = 6,
|
|
9
|
+
batchUpdate = 7,
|
|
10
|
+
batchDelete = 8
|
|
11
|
+
}
|
|
12
|
+
export declare enum LambdaFunctionName {
|
|
13
|
+
createMenu = 0,
|
|
14
|
+
getMenus = 1,
|
|
15
|
+
updateMenu = 2,
|
|
16
|
+
deleteMenu = 3,
|
|
17
|
+
addProductCategoryToMenu = 4,
|
|
18
|
+
createProductCategory = 5,
|
|
19
|
+
getProductCategories = 6,
|
|
20
|
+
updateProductCategory = 7,
|
|
21
|
+
createProduct = 8,
|
|
22
|
+
createProductAttribute = 9,
|
|
23
|
+
deleteProduct = 10,
|
|
24
|
+
deleteProductAttribute = 11,
|
|
25
|
+
createInventoryCategory = 12,
|
|
26
|
+
getInventoryCategories = 13,
|
|
27
|
+
updateInventoryCategory = 14,
|
|
28
|
+
deleteInventoryCategory = 15,
|
|
29
|
+
getInventoryCategoryInventories = 16,
|
|
30
|
+
createInventory = 17,
|
|
31
|
+
getInventories = 18,
|
|
32
|
+
updateInventory = 19,
|
|
33
|
+
deleteInventory = 20,
|
|
34
|
+
updateInventoriesInProduct = 21,
|
|
35
|
+
getProductInventories = 22,
|
|
36
|
+
updateInventoriesInProductAttribute = 23,
|
|
37
|
+
getProductAttributeInventories = 24,
|
|
38
|
+
getInventoryRecords = 25,
|
|
39
|
+
getInventoryItemRecords = 26,
|
|
40
|
+
getClosingSalesDetails = 27,
|
|
41
|
+
createFloor = 28,
|
|
42
|
+
getFloors = 29,
|
|
43
|
+
updateFloor = 30,
|
|
44
|
+
deleteFloor = 31,
|
|
45
|
+
getFloorTables = 32,
|
|
46
|
+
createTable = 33,
|
|
47
|
+
getTables = 34,
|
|
48
|
+
updateTable = 35,
|
|
49
|
+
deleteTable = 36,
|
|
50
|
+
createAppointment = 37,
|
|
51
|
+
getAppointments = 38,
|
|
52
|
+
updateAppointment = 39,
|
|
53
|
+
deleteAppointment = 40,
|
|
54
|
+
batchUpdateMenus = 41,
|
|
55
|
+
updateProductCategoriesInMenu = 42,
|
|
56
|
+
deleteMenuProductCategoriesByCategoryId = 43,
|
|
57
|
+
getMenuProductCategories = 44,
|
|
58
|
+
deleteProductCategory = 45
|
|
59
|
+
}
|
|
60
|
+
export declare enum AkitaStoreEnum {
|
|
61
|
+
menuStore = 0,
|
|
62
|
+
menuProductCategoryStore = 1,
|
|
63
|
+
productCategoryStore = 2,
|
|
64
|
+
productStore = 3,
|
|
65
|
+
productAttributeStore = 4,
|
|
66
|
+
productInventoryStore = 5,
|
|
67
|
+
productAttributeInventoryStore = 6,
|
|
68
|
+
inventoryCategoryStore = 7,
|
|
69
|
+
inventoryStore = 8,
|
|
70
|
+
inventoryCategoryInventoryStore = 9,
|
|
71
|
+
floorStore = 10,
|
|
72
|
+
floorTableStore = 11,
|
|
73
|
+
tableStore = 12,
|
|
74
|
+
appointmentsStore = 13
|
|
75
|
+
}
|
|
76
|
+
export declare enum AkitaQueryEnum {
|
|
77
|
+
menuProductCategoryQuery = 0,
|
|
78
|
+
productInventoryQuery = 1,
|
|
79
|
+
productAttributeInventoryQuery = 2,
|
|
80
|
+
inventoryCategoryInventoryQuery = 3,
|
|
81
|
+
floorTableQuery = 4
|
|
82
|
+
}
|
package/data-service/enum.js
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AkitaQueryEnum = exports.AkitaStoreEnum = exports.LambdaFunctionName = exports.ActionEnum = void 0;
|
|
4
|
-
var ActionEnum;
|
|
5
|
-
(function (ActionEnum) {
|
|
6
|
-
ActionEnum[ActionEnum["create"] = 0] = "create";
|
|
7
|
-
ActionEnum[ActionEnum["get"] = 1] = "get";
|
|
8
|
-
ActionEnum[ActionEnum["queryAll"] = 2] = "queryAll";
|
|
9
|
-
ActionEnum[ActionEnum["update"] = 3] = "update";
|
|
10
|
-
ActionEnum[ActionEnum["delete"] = 4] = "delete";
|
|
11
|
-
ActionEnum[ActionEnum["deleteAll"] = 5] = "deleteAll";
|
|
12
|
-
ActionEnum[ActionEnum["batchCreate"] = 6] = "batchCreate";
|
|
13
|
-
ActionEnum[ActionEnum["batchUpdate"] = 7] = "batchUpdate";
|
|
14
|
-
ActionEnum[ActionEnum["batchDelete"] = 8] = "batchDelete";
|
|
15
|
-
})(ActionEnum = exports.ActionEnum || (exports.ActionEnum = {}));
|
|
16
|
-
var LambdaFunctionName;
|
|
17
|
-
(function (LambdaFunctionName) {
|
|
18
|
-
LambdaFunctionName[LambdaFunctionName["createMenu"] = 0] = "createMenu";
|
|
19
|
-
LambdaFunctionName[LambdaFunctionName["getMenus"] = 1] = "getMenus";
|
|
20
|
-
LambdaFunctionName[LambdaFunctionName["updateMenu"] = 2] = "updateMenu";
|
|
21
|
-
LambdaFunctionName[LambdaFunctionName["deleteMenu"] = 3] = "deleteMenu";
|
|
22
|
-
LambdaFunctionName[LambdaFunctionName["addProductCategoryToMenu"] = 4] = "addProductCategoryToMenu";
|
|
23
|
-
LambdaFunctionName[LambdaFunctionName["createProductCategory"] = 5] = "createProductCategory";
|
|
24
|
-
LambdaFunctionName[LambdaFunctionName["getProductCategories"] = 6] = "getProductCategories";
|
|
25
|
-
LambdaFunctionName[LambdaFunctionName["updateProductCategory"] = 7] = "updateProductCategory";
|
|
26
|
-
LambdaFunctionName[LambdaFunctionName["createProduct"] = 8] = "createProduct";
|
|
27
|
-
LambdaFunctionName[LambdaFunctionName["createProductAttribute"] = 9] = "createProductAttribute";
|
|
28
|
-
LambdaFunctionName[LambdaFunctionName["deleteProduct"] = 10] = "deleteProduct";
|
|
29
|
-
LambdaFunctionName[LambdaFunctionName["deleteProductAttribute"] = 11] = "deleteProductAttribute";
|
|
30
|
-
// Inventory Feature
|
|
31
|
-
LambdaFunctionName[LambdaFunctionName["createInventoryCategory"] = 12] = "createInventoryCategory";
|
|
32
|
-
LambdaFunctionName[LambdaFunctionName["getInventoryCategories"] = 13] = "getInventoryCategories";
|
|
33
|
-
LambdaFunctionName[LambdaFunctionName["updateInventoryCategory"] = 14] = "updateInventoryCategory";
|
|
34
|
-
LambdaFunctionName[LambdaFunctionName["deleteInventoryCategory"] = 15] = "deleteInventoryCategory";
|
|
35
|
-
LambdaFunctionName[LambdaFunctionName["getInventoryCategoryInventories"] = 16] = "getInventoryCategoryInventories";
|
|
36
|
-
LambdaFunctionName[LambdaFunctionName["createInventory"] = 17] = "createInventory";
|
|
37
|
-
LambdaFunctionName[LambdaFunctionName["getInventories"] = 18] = "getInventories";
|
|
38
|
-
LambdaFunctionName[LambdaFunctionName["updateInventory"] = 19] = "updateInventory";
|
|
39
|
-
LambdaFunctionName[LambdaFunctionName["deleteInventory"] = 20] = "deleteInventory";
|
|
40
|
-
LambdaFunctionName[LambdaFunctionName["updateInventoriesInProduct"] = 21] = "updateInventoriesInProduct";
|
|
41
|
-
LambdaFunctionName[LambdaFunctionName["getProductInventories"] = 22] = "getProductInventories";
|
|
42
|
-
LambdaFunctionName[LambdaFunctionName["updateInventoriesInProductAttribute"] = 23] = "updateInventoriesInProductAttribute";
|
|
43
|
-
LambdaFunctionName[LambdaFunctionName["getProductAttributeInventories"] = 24] = "getProductAttributeInventories";
|
|
44
|
-
LambdaFunctionName[LambdaFunctionName["getInventoryRecords"] = 25] = "getInventoryRecords";
|
|
45
|
-
LambdaFunctionName[LambdaFunctionName["getInventoryItemRecords"] = 26] = "getInventoryItemRecords";
|
|
46
|
-
// Closing Feature
|
|
47
|
-
LambdaFunctionName[LambdaFunctionName["getClosingSalesDetails"] = 27] = "getClosingSalesDetails";
|
|
48
|
-
// Table Feature
|
|
49
|
-
LambdaFunctionName[LambdaFunctionName["createFloor"] = 28] = "createFloor";
|
|
50
|
-
LambdaFunctionName[LambdaFunctionName["getFloors"] = 29] = "getFloors";
|
|
51
|
-
LambdaFunctionName[LambdaFunctionName["updateFloor"] = 30] = "updateFloor";
|
|
52
|
-
LambdaFunctionName[LambdaFunctionName["deleteFloor"] = 31] = "deleteFloor";
|
|
53
|
-
LambdaFunctionName[LambdaFunctionName["getFloorTables"] = 32] = "getFloorTables";
|
|
54
|
-
LambdaFunctionName[LambdaFunctionName["createTable"] = 33] = "createTable";
|
|
55
|
-
LambdaFunctionName[LambdaFunctionName["getTables"] = 34] = "getTables";
|
|
56
|
-
LambdaFunctionName[LambdaFunctionName["updateTable"] = 35] = "updateTable";
|
|
57
|
-
LambdaFunctionName[LambdaFunctionName["deleteTable"] = 36] = "deleteTable";
|
|
58
|
-
// Appointment Feature
|
|
59
|
-
LambdaFunctionName[LambdaFunctionName["createAppointment"] = 37] = "createAppointment";
|
|
60
|
-
LambdaFunctionName[LambdaFunctionName["getAppointments"] = 38] = "getAppointments";
|
|
61
|
-
LambdaFunctionName[LambdaFunctionName["updateAppointment"] = 39] = "updateAppointment";
|
|
62
|
-
LambdaFunctionName[LambdaFunctionName["deleteAppointment"] = 40] = "deleteAppointment";
|
|
63
|
-
// Menu Feature
|
|
64
|
-
LambdaFunctionName[LambdaFunctionName["batchUpdateMenus"] = 41] = "batchUpdateMenus";
|
|
65
|
-
LambdaFunctionName[LambdaFunctionName["updateProductCategoriesInMenu"] = 42] = "updateProductCategoriesInMenu";
|
|
66
|
-
LambdaFunctionName[LambdaFunctionName["deleteMenuProductCategoriesByCategoryId"] = 43] = "deleteMenuProductCategoriesByCategoryId";
|
|
67
|
-
LambdaFunctionName[LambdaFunctionName["getMenuProductCategories"] = 44] = "getMenuProductCategories";
|
|
68
|
-
LambdaFunctionName[LambdaFunctionName["deleteProductCategory"] = 45] = "deleteProductCategory";
|
|
69
|
-
})(LambdaFunctionName = exports.LambdaFunctionName || (exports.LambdaFunctionName = {}));
|
|
70
|
-
var AkitaStoreEnum;
|
|
71
|
-
(function (AkitaStoreEnum) {
|
|
72
|
-
AkitaStoreEnum[AkitaStoreEnum["menuStore"] = 0] = "menuStore";
|
|
73
|
-
AkitaStoreEnum[AkitaStoreEnum["menuProductCategoryStore"] = 1] = "menuProductCategoryStore";
|
|
74
|
-
AkitaStoreEnum[AkitaStoreEnum["productCategoryStore"] = 2] = "productCategoryStore";
|
|
75
|
-
AkitaStoreEnum[AkitaStoreEnum["productStore"] = 3] = "productStore";
|
|
76
|
-
AkitaStoreEnum[AkitaStoreEnum["productAttributeStore"] = 4] = "productAttributeStore";
|
|
77
|
-
// Inventory Feature
|
|
78
|
-
AkitaStoreEnum[AkitaStoreEnum["productInventoryStore"] = 5] = "productInventoryStore";
|
|
79
|
-
AkitaStoreEnum[AkitaStoreEnum["productAttributeInventoryStore"] = 6] = "productAttributeInventoryStore";
|
|
80
|
-
AkitaStoreEnum[AkitaStoreEnum["inventoryCategoryStore"] = 7] = "inventoryCategoryStore";
|
|
81
|
-
AkitaStoreEnum[AkitaStoreEnum["inventoryStore"] = 8] = "inventoryStore";
|
|
82
|
-
AkitaStoreEnum[AkitaStoreEnum["inventoryCategoryInventoryStore"] = 9] = "inventoryCategoryInventoryStore";
|
|
83
|
-
// inventoryRecordStore,
|
|
84
|
-
// inventoryItemRecordStore
|
|
85
|
-
// Table Feature
|
|
86
|
-
AkitaStoreEnum[AkitaStoreEnum["floorStore"] = 10] = "floorStore";
|
|
87
|
-
AkitaStoreEnum[AkitaStoreEnum["floorTableStore"] = 11] = "floorTableStore";
|
|
88
|
-
AkitaStoreEnum[AkitaStoreEnum["tableStore"] = 12] = "tableStore";
|
|
89
|
-
// Appointment Feature
|
|
90
|
-
AkitaStoreEnum[AkitaStoreEnum["appointmentsStore"] = 13] = "appointmentsStore";
|
|
91
|
-
})(AkitaStoreEnum = exports.AkitaStoreEnum || (exports.AkitaStoreEnum = {}));
|
|
92
|
-
var AkitaQueryEnum;
|
|
93
|
-
(function (AkitaQueryEnum) {
|
|
94
|
-
AkitaQueryEnum[AkitaQueryEnum["menuProductCategoryQuery"] = 0] = "menuProductCategoryQuery";
|
|
95
|
-
// Inventory Feature
|
|
96
|
-
AkitaQueryEnum[AkitaQueryEnum["productInventoryQuery"] = 1] = "productInventoryQuery";
|
|
97
|
-
AkitaQueryEnum[AkitaQueryEnum["productAttributeInventoryQuery"] = 2] = "productAttributeInventoryQuery";
|
|
98
|
-
AkitaQueryEnum[AkitaQueryEnum["inventoryCategoryInventoryQuery"] = 3] = "inventoryCategoryInventoryQuery";
|
|
99
|
-
// Table Feature
|
|
100
|
-
AkitaQueryEnum[AkitaQueryEnum["floorTableQuery"] = 4] = "floorTableQuery";
|
|
101
|
-
})(AkitaQueryEnum = exports.AkitaQueryEnum || (exports.AkitaQueryEnum = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AkitaQueryEnum = exports.AkitaStoreEnum = exports.LambdaFunctionName = exports.ActionEnum = void 0;
|
|
4
|
+
var ActionEnum;
|
|
5
|
+
(function (ActionEnum) {
|
|
6
|
+
ActionEnum[ActionEnum["create"] = 0] = "create";
|
|
7
|
+
ActionEnum[ActionEnum["get"] = 1] = "get";
|
|
8
|
+
ActionEnum[ActionEnum["queryAll"] = 2] = "queryAll";
|
|
9
|
+
ActionEnum[ActionEnum["update"] = 3] = "update";
|
|
10
|
+
ActionEnum[ActionEnum["delete"] = 4] = "delete";
|
|
11
|
+
ActionEnum[ActionEnum["deleteAll"] = 5] = "deleteAll";
|
|
12
|
+
ActionEnum[ActionEnum["batchCreate"] = 6] = "batchCreate";
|
|
13
|
+
ActionEnum[ActionEnum["batchUpdate"] = 7] = "batchUpdate";
|
|
14
|
+
ActionEnum[ActionEnum["batchDelete"] = 8] = "batchDelete";
|
|
15
|
+
})(ActionEnum = exports.ActionEnum || (exports.ActionEnum = {}));
|
|
16
|
+
var LambdaFunctionName;
|
|
17
|
+
(function (LambdaFunctionName) {
|
|
18
|
+
LambdaFunctionName[LambdaFunctionName["createMenu"] = 0] = "createMenu";
|
|
19
|
+
LambdaFunctionName[LambdaFunctionName["getMenus"] = 1] = "getMenus";
|
|
20
|
+
LambdaFunctionName[LambdaFunctionName["updateMenu"] = 2] = "updateMenu";
|
|
21
|
+
LambdaFunctionName[LambdaFunctionName["deleteMenu"] = 3] = "deleteMenu";
|
|
22
|
+
LambdaFunctionName[LambdaFunctionName["addProductCategoryToMenu"] = 4] = "addProductCategoryToMenu";
|
|
23
|
+
LambdaFunctionName[LambdaFunctionName["createProductCategory"] = 5] = "createProductCategory";
|
|
24
|
+
LambdaFunctionName[LambdaFunctionName["getProductCategories"] = 6] = "getProductCategories";
|
|
25
|
+
LambdaFunctionName[LambdaFunctionName["updateProductCategory"] = 7] = "updateProductCategory";
|
|
26
|
+
LambdaFunctionName[LambdaFunctionName["createProduct"] = 8] = "createProduct";
|
|
27
|
+
LambdaFunctionName[LambdaFunctionName["createProductAttribute"] = 9] = "createProductAttribute";
|
|
28
|
+
LambdaFunctionName[LambdaFunctionName["deleteProduct"] = 10] = "deleteProduct";
|
|
29
|
+
LambdaFunctionName[LambdaFunctionName["deleteProductAttribute"] = 11] = "deleteProductAttribute";
|
|
30
|
+
// Inventory Feature
|
|
31
|
+
LambdaFunctionName[LambdaFunctionName["createInventoryCategory"] = 12] = "createInventoryCategory";
|
|
32
|
+
LambdaFunctionName[LambdaFunctionName["getInventoryCategories"] = 13] = "getInventoryCategories";
|
|
33
|
+
LambdaFunctionName[LambdaFunctionName["updateInventoryCategory"] = 14] = "updateInventoryCategory";
|
|
34
|
+
LambdaFunctionName[LambdaFunctionName["deleteInventoryCategory"] = 15] = "deleteInventoryCategory";
|
|
35
|
+
LambdaFunctionName[LambdaFunctionName["getInventoryCategoryInventories"] = 16] = "getInventoryCategoryInventories";
|
|
36
|
+
LambdaFunctionName[LambdaFunctionName["createInventory"] = 17] = "createInventory";
|
|
37
|
+
LambdaFunctionName[LambdaFunctionName["getInventories"] = 18] = "getInventories";
|
|
38
|
+
LambdaFunctionName[LambdaFunctionName["updateInventory"] = 19] = "updateInventory";
|
|
39
|
+
LambdaFunctionName[LambdaFunctionName["deleteInventory"] = 20] = "deleteInventory";
|
|
40
|
+
LambdaFunctionName[LambdaFunctionName["updateInventoriesInProduct"] = 21] = "updateInventoriesInProduct";
|
|
41
|
+
LambdaFunctionName[LambdaFunctionName["getProductInventories"] = 22] = "getProductInventories";
|
|
42
|
+
LambdaFunctionName[LambdaFunctionName["updateInventoriesInProductAttribute"] = 23] = "updateInventoriesInProductAttribute";
|
|
43
|
+
LambdaFunctionName[LambdaFunctionName["getProductAttributeInventories"] = 24] = "getProductAttributeInventories";
|
|
44
|
+
LambdaFunctionName[LambdaFunctionName["getInventoryRecords"] = 25] = "getInventoryRecords";
|
|
45
|
+
LambdaFunctionName[LambdaFunctionName["getInventoryItemRecords"] = 26] = "getInventoryItemRecords";
|
|
46
|
+
// Closing Feature
|
|
47
|
+
LambdaFunctionName[LambdaFunctionName["getClosingSalesDetails"] = 27] = "getClosingSalesDetails";
|
|
48
|
+
// Table Feature
|
|
49
|
+
LambdaFunctionName[LambdaFunctionName["createFloor"] = 28] = "createFloor";
|
|
50
|
+
LambdaFunctionName[LambdaFunctionName["getFloors"] = 29] = "getFloors";
|
|
51
|
+
LambdaFunctionName[LambdaFunctionName["updateFloor"] = 30] = "updateFloor";
|
|
52
|
+
LambdaFunctionName[LambdaFunctionName["deleteFloor"] = 31] = "deleteFloor";
|
|
53
|
+
LambdaFunctionName[LambdaFunctionName["getFloorTables"] = 32] = "getFloorTables";
|
|
54
|
+
LambdaFunctionName[LambdaFunctionName["createTable"] = 33] = "createTable";
|
|
55
|
+
LambdaFunctionName[LambdaFunctionName["getTables"] = 34] = "getTables";
|
|
56
|
+
LambdaFunctionName[LambdaFunctionName["updateTable"] = 35] = "updateTable";
|
|
57
|
+
LambdaFunctionName[LambdaFunctionName["deleteTable"] = 36] = "deleteTable";
|
|
58
|
+
// Appointment Feature
|
|
59
|
+
LambdaFunctionName[LambdaFunctionName["createAppointment"] = 37] = "createAppointment";
|
|
60
|
+
LambdaFunctionName[LambdaFunctionName["getAppointments"] = 38] = "getAppointments";
|
|
61
|
+
LambdaFunctionName[LambdaFunctionName["updateAppointment"] = 39] = "updateAppointment";
|
|
62
|
+
LambdaFunctionName[LambdaFunctionName["deleteAppointment"] = 40] = "deleteAppointment";
|
|
63
|
+
// Menu Feature
|
|
64
|
+
LambdaFunctionName[LambdaFunctionName["batchUpdateMenus"] = 41] = "batchUpdateMenus";
|
|
65
|
+
LambdaFunctionName[LambdaFunctionName["updateProductCategoriesInMenu"] = 42] = "updateProductCategoriesInMenu";
|
|
66
|
+
LambdaFunctionName[LambdaFunctionName["deleteMenuProductCategoriesByCategoryId"] = 43] = "deleteMenuProductCategoriesByCategoryId";
|
|
67
|
+
LambdaFunctionName[LambdaFunctionName["getMenuProductCategories"] = 44] = "getMenuProductCategories";
|
|
68
|
+
LambdaFunctionName[LambdaFunctionName["deleteProductCategory"] = 45] = "deleteProductCategory";
|
|
69
|
+
})(LambdaFunctionName = exports.LambdaFunctionName || (exports.LambdaFunctionName = {}));
|
|
70
|
+
var AkitaStoreEnum;
|
|
71
|
+
(function (AkitaStoreEnum) {
|
|
72
|
+
AkitaStoreEnum[AkitaStoreEnum["menuStore"] = 0] = "menuStore";
|
|
73
|
+
AkitaStoreEnum[AkitaStoreEnum["menuProductCategoryStore"] = 1] = "menuProductCategoryStore";
|
|
74
|
+
AkitaStoreEnum[AkitaStoreEnum["productCategoryStore"] = 2] = "productCategoryStore";
|
|
75
|
+
AkitaStoreEnum[AkitaStoreEnum["productStore"] = 3] = "productStore";
|
|
76
|
+
AkitaStoreEnum[AkitaStoreEnum["productAttributeStore"] = 4] = "productAttributeStore";
|
|
77
|
+
// Inventory Feature
|
|
78
|
+
AkitaStoreEnum[AkitaStoreEnum["productInventoryStore"] = 5] = "productInventoryStore";
|
|
79
|
+
AkitaStoreEnum[AkitaStoreEnum["productAttributeInventoryStore"] = 6] = "productAttributeInventoryStore";
|
|
80
|
+
AkitaStoreEnum[AkitaStoreEnum["inventoryCategoryStore"] = 7] = "inventoryCategoryStore";
|
|
81
|
+
AkitaStoreEnum[AkitaStoreEnum["inventoryStore"] = 8] = "inventoryStore";
|
|
82
|
+
AkitaStoreEnum[AkitaStoreEnum["inventoryCategoryInventoryStore"] = 9] = "inventoryCategoryInventoryStore";
|
|
83
|
+
// inventoryRecordStore,
|
|
84
|
+
// inventoryItemRecordStore
|
|
85
|
+
// Table Feature
|
|
86
|
+
AkitaStoreEnum[AkitaStoreEnum["floorStore"] = 10] = "floorStore";
|
|
87
|
+
AkitaStoreEnum[AkitaStoreEnum["floorTableStore"] = 11] = "floorTableStore";
|
|
88
|
+
AkitaStoreEnum[AkitaStoreEnum["tableStore"] = 12] = "tableStore";
|
|
89
|
+
// Appointment Feature
|
|
90
|
+
AkitaStoreEnum[AkitaStoreEnum["appointmentsStore"] = 13] = "appointmentsStore";
|
|
91
|
+
})(AkitaStoreEnum = exports.AkitaStoreEnum || (exports.AkitaStoreEnum = {}));
|
|
92
|
+
var AkitaQueryEnum;
|
|
93
|
+
(function (AkitaQueryEnum) {
|
|
94
|
+
AkitaQueryEnum[AkitaQueryEnum["menuProductCategoryQuery"] = 0] = "menuProductCategoryQuery";
|
|
95
|
+
// Inventory Feature
|
|
96
|
+
AkitaQueryEnum[AkitaQueryEnum["productInventoryQuery"] = 1] = "productInventoryQuery";
|
|
97
|
+
AkitaQueryEnum[AkitaQueryEnum["productAttributeInventoryQuery"] = 2] = "productAttributeInventoryQuery";
|
|
98
|
+
AkitaQueryEnum[AkitaQueryEnum["inventoryCategoryInventoryQuery"] = 3] = "inventoryCategoryInventoryQuery";
|
|
99
|
+
// Table Feature
|
|
100
|
+
AkitaQueryEnum[AkitaQueryEnum["floorTableQuery"] = 4] = "floorTableQuery";
|
|
101
|
+
})(AkitaQueryEnum = exports.AkitaQueryEnum || (exports.AkitaQueryEnum = {}));
|
|
102
102
|
//# sourceMappingURL=enum.js.map
|
package/data-service/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './config';
|
|
2
|
-
export * from './enum';
|
|
3
|
-
export * from './lambda';
|
|
4
|
-
export * from './model';
|
|
1
|
+
export * from './config';
|
|
2
|
+
export * from './enum';
|
|
3
|
+
export * from './lambda';
|
|
4
|
+
export * from './model';
|
package/data-service/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./enum"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./lambda"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./model"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./config"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./enum"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./lambda"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./model"), exports);
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/data-service/lambda.d.ts
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { BatchResponse, MultipleItems, SingleItem } from "../lambda/response";
|
|
2
|
-
import { CursorPaginationEnabled, Filterable, QueryOptions, WithIndex } from "../lambda/request";
|
|
3
|
-
import { ITSSDITEntity } from "./model";
|
|
4
|
-
export interface CreateEntityRequest<T> {
|
|
5
|
-
mainId?: any;
|
|
6
|
-
subId?: any;
|
|
7
|
-
item: T;
|
|
8
|
-
}
|
|
9
|
-
export interface CreateEntityResponse<T> extends SingleItem<T> {
|
|
10
|
-
}
|
|
11
|
-
export declare type GetEntitiesRequest = QueryEntityRequest | GetEntityRequest;
|
|
12
|
-
export interface QueryEntityRequest {
|
|
13
|
-
mainId?: any;
|
|
14
|
-
queryParam: CursorPaginationEnabled & Filterable & WithIndex<any> & QueryOptions;
|
|
15
|
-
reverse?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface GetEntityRequest {
|
|
18
|
-
mainId?: any;
|
|
19
|
-
subIds: any[];
|
|
20
|
-
}
|
|
21
|
-
export declare type GetEntitiesResponse<T> = SingleItem<T> | MultipleItems<T>;
|
|
22
|
-
/**
|
|
23
|
-
* pk sk
|
|
24
|
-
* Store:${storeId} Inventory:${inventoryId}
|
|
25
|
-
* Inventory:${inventoryId} Product:${productId}
|
|
26
|
-
* 用 storeId 查所有 Inventory-Product 的關係
|
|
27
|
-
* mainParentId: ${storeId}
|
|
28
|
-
* reverse: false
|
|
29
|
-
*
|
|
30
|
-
* TODO:
|
|
31
|
-
* pk sk
|
|
32
|
-
* Store:${storeId} StoreRole:${storeRoleId}
|
|
33
|
-
* StoreUser:${storeUser} StoreRole:${storeRoleId}
|
|
34
|
-
* 用 storeId 查所有 StoreUser-StoreRole 的關係
|
|
35
|
-
* mainParentId: ${storeId}
|
|
36
|
-
* reverse: true
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
export interface QueryAllRelationRequest {
|
|
40
|
-
mainParentId?: any;
|
|
41
|
-
}
|
|
42
|
-
export interface QueryAllRelationResponse<T> extends MultipleItems<T> {
|
|
43
|
-
}
|
|
44
|
-
export interface UpdateEntityRequest<T> {
|
|
45
|
-
mainId?: any;
|
|
46
|
-
subId?: any;
|
|
47
|
-
item: Partial<T>;
|
|
48
|
-
}
|
|
49
|
-
export interface UpdateEntityResponse<T> extends SingleItem<Partial<T>> {
|
|
50
|
-
}
|
|
51
|
-
export interface DeleteEntityRequest {
|
|
52
|
-
mainId?: any;
|
|
53
|
-
subId?: any;
|
|
54
|
-
}
|
|
55
|
-
export interface DeleteEntityResponse extends BatchResponse {
|
|
56
|
-
}
|
|
57
|
-
export interface DeleteAllRelationRequest {
|
|
58
|
-
reverse?: boolean;
|
|
59
|
-
id?: string;
|
|
60
|
-
deleteSubs?: {
|
|
61
|
-
entity: ITSSDITEntity;
|
|
62
|
-
mainId: string;
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
export interface DeleteAllRelationResponse extends BatchResponse {
|
|
66
|
-
}
|
|
67
|
-
export interface BatchCreateEntityRequest<T> {
|
|
68
|
-
reverse?: boolean;
|
|
69
|
-
mainId?: any;
|
|
70
|
-
entities: {
|
|
71
|
-
subId?: any;
|
|
72
|
-
item: T;
|
|
73
|
-
}[];
|
|
74
|
-
}
|
|
75
|
-
export interface BatchCreateEntityResponse extends BatchResponse {
|
|
76
|
-
}
|
|
77
|
-
export interface BatchUpdateEntityRequest<T> {
|
|
78
|
-
mainId?: any;
|
|
79
|
-
entities: {
|
|
80
|
-
subId?: any;
|
|
81
|
-
item: Partial<T>;
|
|
82
|
-
}[];
|
|
83
|
-
}
|
|
84
|
-
export interface BatchUpdateEntityResponse extends BatchResponse {
|
|
85
|
-
}
|
|
86
|
-
export interface BatchDeleteEntityRequest {
|
|
87
|
-
reverse?: boolean;
|
|
88
|
-
mainId?: any;
|
|
89
|
-
subIds?: any[];
|
|
90
|
-
}
|
|
91
|
-
export interface BatchDeleteEntityResponse extends BatchResponse {
|
|
92
|
-
}
|
|
1
|
+
import { BatchResponse, MultipleItems, SingleItem } from "../lambda/response";
|
|
2
|
+
import { CursorPaginationEnabled, Filterable, QueryOptions, WithIndex } from "../lambda/request";
|
|
3
|
+
import { ITSSDITEntity } from "./model";
|
|
4
|
+
export interface CreateEntityRequest<T> {
|
|
5
|
+
mainId?: any;
|
|
6
|
+
subId?: any;
|
|
7
|
+
item: T;
|
|
8
|
+
}
|
|
9
|
+
export interface CreateEntityResponse<T> extends SingleItem<T> {
|
|
10
|
+
}
|
|
11
|
+
export declare type GetEntitiesRequest = QueryEntityRequest | GetEntityRequest;
|
|
12
|
+
export interface QueryEntityRequest {
|
|
13
|
+
mainId?: any;
|
|
14
|
+
queryParam: CursorPaginationEnabled & Filterable & WithIndex<any> & QueryOptions;
|
|
15
|
+
reverse?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface GetEntityRequest {
|
|
18
|
+
mainId?: any;
|
|
19
|
+
subIds: any[];
|
|
20
|
+
}
|
|
21
|
+
export declare type GetEntitiesResponse<T> = SingleItem<T> | MultipleItems<T>;
|
|
22
|
+
/**
|
|
23
|
+
* pk sk
|
|
24
|
+
* Store:${storeId} Inventory:${inventoryId}
|
|
25
|
+
* Inventory:${inventoryId} Product:${productId}
|
|
26
|
+
* 用 storeId 查所有 Inventory-Product 的關係
|
|
27
|
+
* mainParentId: ${storeId}
|
|
28
|
+
* reverse: false
|
|
29
|
+
*
|
|
30
|
+
* TODO:
|
|
31
|
+
* pk sk
|
|
32
|
+
* Store:${storeId} StoreRole:${storeRoleId}
|
|
33
|
+
* StoreUser:${storeUser} StoreRole:${storeRoleId}
|
|
34
|
+
* 用 storeId 查所有 StoreUser-StoreRole 的關係
|
|
35
|
+
* mainParentId: ${storeId}
|
|
36
|
+
* reverse: true
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export interface QueryAllRelationRequest {
|
|
40
|
+
mainParentId?: any;
|
|
41
|
+
}
|
|
42
|
+
export interface QueryAllRelationResponse<T> extends MultipleItems<T> {
|
|
43
|
+
}
|
|
44
|
+
export interface UpdateEntityRequest<T> {
|
|
45
|
+
mainId?: any;
|
|
46
|
+
subId?: any;
|
|
47
|
+
item: Partial<T>;
|
|
48
|
+
}
|
|
49
|
+
export interface UpdateEntityResponse<T> extends SingleItem<Partial<T>> {
|
|
50
|
+
}
|
|
51
|
+
export interface DeleteEntityRequest {
|
|
52
|
+
mainId?: any;
|
|
53
|
+
subId?: any;
|
|
54
|
+
}
|
|
55
|
+
export interface DeleteEntityResponse extends BatchResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface DeleteAllRelationRequest {
|
|
58
|
+
reverse?: boolean;
|
|
59
|
+
id?: string;
|
|
60
|
+
deleteSubs?: {
|
|
61
|
+
entity: ITSSDITEntity;
|
|
62
|
+
mainId: string;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export interface DeleteAllRelationResponse extends BatchResponse {
|
|
66
|
+
}
|
|
67
|
+
export interface BatchCreateEntityRequest<T> {
|
|
68
|
+
reverse?: boolean;
|
|
69
|
+
mainId?: any;
|
|
70
|
+
entities: {
|
|
71
|
+
subId?: any;
|
|
72
|
+
item: T;
|
|
73
|
+
}[];
|
|
74
|
+
}
|
|
75
|
+
export interface BatchCreateEntityResponse extends BatchResponse {
|
|
76
|
+
}
|
|
77
|
+
export interface BatchUpdateEntityRequest<T> {
|
|
78
|
+
mainId?: any;
|
|
79
|
+
entities: {
|
|
80
|
+
subId?: any;
|
|
81
|
+
item: Partial<T>;
|
|
82
|
+
}[];
|
|
83
|
+
}
|
|
84
|
+
export interface BatchUpdateEntityResponse extends BatchResponse {
|
|
85
|
+
}
|
|
86
|
+
export interface BatchDeleteEntityRequest {
|
|
87
|
+
reverse?: boolean;
|
|
88
|
+
mainId?: any;
|
|
89
|
+
subIds?: any[];
|
|
90
|
+
}
|
|
91
|
+
export interface BatchDeleteEntityResponse extends BatchResponse {
|
|
92
|
+
}
|
package/data-service/lambda.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
;
|
|
4
4
|
//# sourceMappingURL=lambda.js.map
|