@trusted-solutions/sdit.models 0.29.0-alpha.0 → 0.31.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/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 -290
- 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 -33
- 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 -253
- package/models/online-ordering.js +43 -43
- 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 -250
- 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 +1 -1
- 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/enums/customer.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export declare enum CustomerGenderEnum {
|
|
2
|
-
male = "male",
|
|
3
|
-
female = "female",
|
|
4
|
-
other = "other",
|
|
5
|
-
/** For Analysis */
|
|
6
|
-
unassigned = "unassigned"
|
|
7
|
-
}
|
|
8
|
-
export declare enum CustomerTypeEnum {
|
|
9
|
-
customer = "customer",
|
|
10
|
-
notCustomer = "notCustomer"
|
|
11
|
-
}
|
|
12
|
-
export declare enum CustomerAgeEnum {
|
|
13
|
-
AGE_BELOW_13 = "AGE_BELOW_13",
|
|
14
|
-
AGE_13_18 = "AGE_13_18",
|
|
15
|
-
AGE_19_24 = "AGE_19_24",
|
|
16
|
-
AGE_25_34 = "AGE_25_34",
|
|
17
|
-
AGE_35_44 = "AGE_35_44",
|
|
18
|
-
AGE_45_54 = "AGE_45_54",
|
|
19
|
-
AGE_55_64 = "AGE_55_64",
|
|
20
|
-
AGE_ABOVE_65 = "AGE_ABOVE_65",
|
|
21
|
-
/** For Analysis */
|
|
22
|
-
unassigned = "unassigned"
|
|
23
|
-
}
|
|
1
|
+
export declare enum CustomerGenderEnum {
|
|
2
|
+
male = "male",
|
|
3
|
+
female = "female",
|
|
4
|
+
other = "other",
|
|
5
|
+
/** For Analysis */
|
|
6
|
+
unassigned = "unassigned"
|
|
7
|
+
}
|
|
8
|
+
export declare enum CustomerTypeEnum {
|
|
9
|
+
customer = "customer",
|
|
10
|
+
notCustomer = "notCustomer"
|
|
11
|
+
}
|
|
12
|
+
export declare enum CustomerAgeEnum {
|
|
13
|
+
AGE_BELOW_13 = "AGE_BELOW_13",
|
|
14
|
+
AGE_13_18 = "AGE_13_18",
|
|
15
|
+
AGE_19_24 = "AGE_19_24",
|
|
16
|
+
AGE_25_34 = "AGE_25_34",
|
|
17
|
+
AGE_35_44 = "AGE_35_44",
|
|
18
|
+
AGE_45_54 = "AGE_45_54",
|
|
19
|
+
AGE_55_64 = "AGE_55_64",
|
|
20
|
+
AGE_ABOVE_65 = "AGE_ABOVE_65",
|
|
21
|
+
/** For Analysis */
|
|
22
|
+
unassigned = "unassigned"
|
|
23
|
+
}
|
package/enums/customer.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerAgeEnum = exports.CustomerTypeEnum = exports.CustomerGenderEnum = void 0;
|
|
4
|
-
var CustomerGenderEnum;
|
|
5
|
-
(function (CustomerGenderEnum) {
|
|
6
|
-
CustomerGenderEnum["male"] = "male";
|
|
7
|
-
CustomerGenderEnum["female"] = "female";
|
|
8
|
-
CustomerGenderEnum["other"] = "other";
|
|
9
|
-
/** For Analysis */
|
|
10
|
-
CustomerGenderEnum["unassigned"] = "unassigned";
|
|
11
|
-
})(CustomerGenderEnum = exports.CustomerGenderEnum || (exports.CustomerGenderEnum = {}));
|
|
12
|
-
var CustomerTypeEnum;
|
|
13
|
-
(function (CustomerTypeEnum) {
|
|
14
|
-
CustomerTypeEnum["customer"] = "customer";
|
|
15
|
-
CustomerTypeEnum["notCustomer"] = "notCustomer";
|
|
16
|
-
})(CustomerTypeEnum = exports.CustomerTypeEnum || (exports.CustomerTypeEnum = {}));
|
|
17
|
-
var CustomerAgeEnum;
|
|
18
|
-
(function (CustomerAgeEnum) {
|
|
19
|
-
CustomerAgeEnum["AGE_BELOW_13"] = "AGE_BELOW_13";
|
|
20
|
-
CustomerAgeEnum["AGE_13_18"] = "AGE_13_18";
|
|
21
|
-
CustomerAgeEnum["AGE_19_24"] = "AGE_19_24";
|
|
22
|
-
CustomerAgeEnum["AGE_25_34"] = "AGE_25_34";
|
|
23
|
-
CustomerAgeEnum["AGE_35_44"] = "AGE_35_44";
|
|
24
|
-
CustomerAgeEnum["AGE_45_54"] = "AGE_45_54";
|
|
25
|
-
CustomerAgeEnum["AGE_55_64"] = "AGE_55_64";
|
|
26
|
-
CustomerAgeEnum["AGE_ABOVE_65"] = "AGE_ABOVE_65";
|
|
27
|
-
/** For Analysis */
|
|
28
|
-
CustomerAgeEnum["unassigned"] = "unassigned";
|
|
29
|
-
})(CustomerAgeEnum = exports.CustomerAgeEnum || (exports.CustomerAgeEnum = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomerAgeEnum = exports.CustomerTypeEnum = exports.CustomerGenderEnum = void 0;
|
|
4
|
+
var CustomerGenderEnum;
|
|
5
|
+
(function (CustomerGenderEnum) {
|
|
6
|
+
CustomerGenderEnum["male"] = "male";
|
|
7
|
+
CustomerGenderEnum["female"] = "female";
|
|
8
|
+
CustomerGenderEnum["other"] = "other";
|
|
9
|
+
/** For Analysis */
|
|
10
|
+
CustomerGenderEnum["unassigned"] = "unassigned";
|
|
11
|
+
})(CustomerGenderEnum = exports.CustomerGenderEnum || (exports.CustomerGenderEnum = {}));
|
|
12
|
+
var CustomerTypeEnum;
|
|
13
|
+
(function (CustomerTypeEnum) {
|
|
14
|
+
CustomerTypeEnum["customer"] = "customer";
|
|
15
|
+
CustomerTypeEnum["notCustomer"] = "notCustomer";
|
|
16
|
+
})(CustomerTypeEnum = exports.CustomerTypeEnum || (exports.CustomerTypeEnum = {}));
|
|
17
|
+
var CustomerAgeEnum;
|
|
18
|
+
(function (CustomerAgeEnum) {
|
|
19
|
+
CustomerAgeEnum["AGE_BELOW_13"] = "AGE_BELOW_13";
|
|
20
|
+
CustomerAgeEnum["AGE_13_18"] = "AGE_13_18";
|
|
21
|
+
CustomerAgeEnum["AGE_19_24"] = "AGE_19_24";
|
|
22
|
+
CustomerAgeEnum["AGE_25_34"] = "AGE_25_34";
|
|
23
|
+
CustomerAgeEnum["AGE_35_44"] = "AGE_35_44";
|
|
24
|
+
CustomerAgeEnum["AGE_45_54"] = "AGE_45_54";
|
|
25
|
+
CustomerAgeEnum["AGE_55_64"] = "AGE_55_64";
|
|
26
|
+
CustomerAgeEnum["AGE_ABOVE_65"] = "AGE_ABOVE_65";
|
|
27
|
+
/** For Analysis */
|
|
28
|
+
CustomerAgeEnum["unassigned"] = "unassigned";
|
|
29
|
+
})(CustomerAgeEnum = exports.CustomerAgeEnum || (exports.CustomerAgeEnum = {}));
|
|
30
30
|
//# sourceMappingURL=customer.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare enum DiscountModuleTypeEnum {
|
|
2
|
-
EntireOrderDiscount = "EntireOrderDiscount",
|
|
3
|
-
SelectedItemDiscount = "SelectedItemDiscount"
|
|
4
|
-
}
|
|
5
|
-
export declare enum DiscountMethodTypeEnum {
|
|
6
|
-
PercentageDiscount = "PercentageDiscount",
|
|
7
|
-
DollarDiscount = "DollarDiscount"
|
|
8
|
-
}
|
|
9
|
-
export declare enum DiscountModuleStatus {
|
|
10
|
-
unstarted = "unstarted",
|
|
11
|
-
ongoing = "ongoing",
|
|
12
|
-
ended = "ended",
|
|
13
|
-
disabled = "disabled"
|
|
14
|
-
}
|
|
15
|
-
export declare enum DiscountModuleIndex {
|
|
16
|
-
discountStartedAt = "discountStartedAt-index",
|
|
17
|
-
discountEndedAt = "discountEndedAt-index"
|
|
18
|
-
}
|
|
1
|
+
export declare enum DiscountModuleTypeEnum {
|
|
2
|
+
EntireOrderDiscount = "EntireOrderDiscount",
|
|
3
|
+
SelectedItemDiscount = "SelectedItemDiscount"
|
|
4
|
+
}
|
|
5
|
+
export declare enum DiscountMethodTypeEnum {
|
|
6
|
+
PercentageDiscount = "PercentageDiscount",
|
|
7
|
+
DollarDiscount = "DollarDiscount"
|
|
8
|
+
}
|
|
9
|
+
export declare enum DiscountModuleStatus {
|
|
10
|
+
unstarted = "unstarted",
|
|
11
|
+
ongoing = "ongoing",
|
|
12
|
+
ended = "ended",
|
|
13
|
+
disabled = "disabled"
|
|
14
|
+
}
|
|
15
|
+
export declare enum DiscountModuleIndex {
|
|
16
|
+
discountStartedAt = "discountStartedAt-index",
|
|
17
|
+
discountEndedAt = "discountEndedAt-index"
|
|
18
|
+
}
|
package/enums/discount-module.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DiscountModuleIndex = exports.DiscountModuleStatus = exports.DiscountMethodTypeEnum = exports.DiscountModuleTypeEnum = void 0;
|
|
4
|
-
var DiscountModuleTypeEnum;
|
|
5
|
-
(function (DiscountModuleTypeEnum) {
|
|
6
|
-
DiscountModuleTypeEnum["EntireOrderDiscount"] = "EntireOrderDiscount";
|
|
7
|
-
DiscountModuleTypeEnum["SelectedItemDiscount"] = "SelectedItemDiscount";
|
|
8
|
-
// BundleDiscount = 'BundleDiscount'
|
|
9
|
-
})(DiscountModuleTypeEnum = exports.DiscountModuleTypeEnum || (exports.DiscountModuleTypeEnum = {}));
|
|
10
|
-
var DiscountMethodTypeEnum;
|
|
11
|
-
(function (DiscountMethodTypeEnum) {
|
|
12
|
-
DiscountMethodTypeEnum["PercentageDiscount"] = "PercentageDiscount";
|
|
13
|
-
DiscountMethodTypeEnum["DollarDiscount"] = "DollarDiscount";
|
|
14
|
-
// FixAmount = 'FixAmount'
|
|
15
|
-
})(DiscountMethodTypeEnum = exports.DiscountMethodTypeEnum || (exports.DiscountMethodTypeEnum = {}));
|
|
16
|
-
var DiscountModuleStatus;
|
|
17
|
-
(function (DiscountModuleStatus) {
|
|
18
|
-
DiscountModuleStatus["unstarted"] = "unstarted";
|
|
19
|
-
DiscountModuleStatus["ongoing"] = "ongoing";
|
|
20
|
-
DiscountModuleStatus["ended"] = "ended";
|
|
21
|
-
DiscountModuleStatus["disabled"] = "disabled";
|
|
22
|
-
})(DiscountModuleStatus = exports.DiscountModuleStatus || (exports.DiscountModuleStatus = {}));
|
|
23
|
-
var DiscountModuleIndex;
|
|
24
|
-
(function (DiscountModuleIndex) {
|
|
25
|
-
DiscountModuleIndex["discountStartedAt"] = "discountStartedAt-index";
|
|
26
|
-
DiscountModuleIndex["discountEndedAt"] = "discountEndedAt-index";
|
|
27
|
-
})(DiscountModuleIndex = exports.DiscountModuleIndex || (exports.DiscountModuleIndex = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscountModuleIndex = exports.DiscountModuleStatus = exports.DiscountMethodTypeEnum = exports.DiscountModuleTypeEnum = void 0;
|
|
4
|
+
var DiscountModuleTypeEnum;
|
|
5
|
+
(function (DiscountModuleTypeEnum) {
|
|
6
|
+
DiscountModuleTypeEnum["EntireOrderDiscount"] = "EntireOrderDiscount";
|
|
7
|
+
DiscountModuleTypeEnum["SelectedItemDiscount"] = "SelectedItemDiscount";
|
|
8
|
+
// BundleDiscount = 'BundleDiscount'
|
|
9
|
+
})(DiscountModuleTypeEnum = exports.DiscountModuleTypeEnum || (exports.DiscountModuleTypeEnum = {}));
|
|
10
|
+
var DiscountMethodTypeEnum;
|
|
11
|
+
(function (DiscountMethodTypeEnum) {
|
|
12
|
+
DiscountMethodTypeEnum["PercentageDiscount"] = "PercentageDiscount";
|
|
13
|
+
DiscountMethodTypeEnum["DollarDiscount"] = "DollarDiscount";
|
|
14
|
+
// FixAmount = 'FixAmount'
|
|
15
|
+
})(DiscountMethodTypeEnum = exports.DiscountMethodTypeEnum || (exports.DiscountMethodTypeEnum = {}));
|
|
16
|
+
var DiscountModuleStatus;
|
|
17
|
+
(function (DiscountModuleStatus) {
|
|
18
|
+
DiscountModuleStatus["unstarted"] = "unstarted";
|
|
19
|
+
DiscountModuleStatus["ongoing"] = "ongoing";
|
|
20
|
+
DiscountModuleStatus["ended"] = "ended";
|
|
21
|
+
DiscountModuleStatus["disabled"] = "disabled";
|
|
22
|
+
})(DiscountModuleStatus = exports.DiscountModuleStatus || (exports.DiscountModuleStatus = {}));
|
|
23
|
+
var DiscountModuleIndex;
|
|
24
|
+
(function (DiscountModuleIndex) {
|
|
25
|
+
DiscountModuleIndex["discountStartedAt"] = "discountStartedAt-index";
|
|
26
|
+
DiscountModuleIndex["discountEndedAt"] = "discountEndedAt-index";
|
|
27
|
+
})(DiscountModuleIndex = exports.DiscountModuleIndex || (exports.DiscountModuleIndex = {}));
|
|
28
28
|
//# sourceMappingURL=discount-module.js.map
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
export declare enum StringTypeComparisonOperator {
|
|
2
|
-
EQUAL = "=",
|
|
3
|
-
NOT_EQUAL = "<>",
|
|
4
|
-
LESS_THAN = "<",
|
|
5
|
-
LESS_THAN_OR_EQUAL = "<=",
|
|
6
|
-
GREATER_THAN = ">",
|
|
7
|
-
GREATER_THAN_OR_EQUAL = ">=",
|
|
8
|
-
BETWEEN = "BETWEEN",
|
|
9
|
-
EXISTS = "EXISTS",
|
|
10
|
-
NOT_EXISTS = "NOT_EXISTS",
|
|
11
|
-
CONTAINS = "CONTAINS",
|
|
12
|
-
NOT_CONTAINS = "NOT_CONTAINS",
|
|
13
|
-
BEGINS_WITH = "BEGINS_WITH"
|
|
14
|
-
}
|
|
15
|
-
export declare enum BinaryTypeComparisonOperator {
|
|
16
|
-
EQUAL = "=",
|
|
17
|
-
NOT_EQUAL = "<>",
|
|
18
|
-
LESS_THAN = "<",
|
|
19
|
-
LESS_THAN_OR_EQUAL = "<=",
|
|
20
|
-
GREATER_THAN = ">",
|
|
21
|
-
GREATER_THAN_OR_EQUAL = ">=",
|
|
22
|
-
BETWEEN = "BETWEEN",
|
|
23
|
-
EXISTS = "EXISTS",
|
|
24
|
-
NOT_EXISTS = "NOT_EXISTS",
|
|
25
|
-
CONTAINS = "CONTAINS",
|
|
26
|
-
NOT_CONTAINS = "NOT_CONTAINS",
|
|
27
|
-
BEGINS_WITH = "BEGINS_WITH"
|
|
28
|
-
}
|
|
29
|
-
export declare enum NumberTypeComparisonOperator {
|
|
30
|
-
EQUAL = "=",
|
|
31
|
-
NOT_EQUAL = "<>",
|
|
32
|
-
LESS_THAN = "<",
|
|
33
|
-
LESS_THAN_OR_EQUAL = "<=",
|
|
34
|
-
GREATER_THAN = ">",
|
|
35
|
-
GREATER_THAN_OR_EQUAL = ">=",
|
|
36
|
-
BETWEEN = "BETWEEN",
|
|
37
|
-
EXISTS = "EXISTS",
|
|
38
|
-
NOT_EXISTS = "NOT_EXISTS"
|
|
39
|
-
}
|
|
40
|
-
export declare enum BooleanTypeComparisonOperator {
|
|
41
|
-
EQUAL = "=",
|
|
42
|
-
NOT_EQUAL = "<>",
|
|
43
|
-
EXISTS = "EXISTS",
|
|
44
|
-
NOT_EXISTS = "NOT_EXISTS"
|
|
45
|
-
}
|
|
46
|
-
export declare enum NullTypeComparisonOperator {
|
|
47
|
-
EXISTS = "EXISTS",
|
|
48
|
-
NOT_EXISTS = "NOT_EXISTS"
|
|
49
|
-
}
|
|
50
|
-
export declare enum IndexEquation {
|
|
51
|
-
EQUAL = "=",
|
|
52
|
-
LESS_THAN = "<",
|
|
53
|
-
LESS_THAN_OR_EQUAL = "<=",
|
|
54
|
-
GREATER_THAN = ">",
|
|
55
|
-
GREATER_THAN_OR_EQUAL = ">=",
|
|
56
|
-
BETWEEN = "Between",
|
|
57
|
-
BEGINS_WITH = "Begins with"
|
|
58
|
-
}
|
|
59
|
-
export declare enum NumberIndexEquation {
|
|
60
|
-
EQUAL = "=",
|
|
61
|
-
LESS_THAN = "<",
|
|
62
|
-
LESS_THAN_OR_EQUAL = "<=",
|
|
63
|
-
GREATER_THAN = ">",
|
|
64
|
-
GREATER_THAN_OR_EQUAL = ">=",
|
|
65
|
-
BETWEEN = "Between"
|
|
66
|
-
}
|
|
1
|
+
export declare enum StringTypeComparisonOperator {
|
|
2
|
+
EQUAL = "=",
|
|
3
|
+
NOT_EQUAL = "<>",
|
|
4
|
+
LESS_THAN = "<",
|
|
5
|
+
LESS_THAN_OR_EQUAL = "<=",
|
|
6
|
+
GREATER_THAN = ">",
|
|
7
|
+
GREATER_THAN_OR_EQUAL = ">=",
|
|
8
|
+
BETWEEN = "BETWEEN",
|
|
9
|
+
EXISTS = "EXISTS",
|
|
10
|
+
NOT_EXISTS = "NOT_EXISTS",
|
|
11
|
+
CONTAINS = "CONTAINS",
|
|
12
|
+
NOT_CONTAINS = "NOT_CONTAINS",
|
|
13
|
+
BEGINS_WITH = "BEGINS_WITH"
|
|
14
|
+
}
|
|
15
|
+
export declare enum BinaryTypeComparisonOperator {
|
|
16
|
+
EQUAL = "=",
|
|
17
|
+
NOT_EQUAL = "<>",
|
|
18
|
+
LESS_THAN = "<",
|
|
19
|
+
LESS_THAN_OR_EQUAL = "<=",
|
|
20
|
+
GREATER_THAN = ">",
|
|
21
|
+
GREATER_THAN_OR_EQUAL = ">=",
|
|
22
|
+
BETWEEN = "BETWEEN",
|
|
23
|
+
EXISTS = "EXISTS",
|
|
24
|
+
NOT_EXISTS = "NOT_EXISTS",
|
|
25
|
+
CONTAINS = "CONTAINS",
|
|
26
|
+
NOT_CONTAINS = "NOT_CONTAINS",
|
|
27
|
+
BEGINS_WITH = "BEGINS_WITH"
|
|
28
|
+
}
|
|
29
|
+
export declare enum NumberTypeComparisonOperator {
|
|
30
|
+
EQUAL = "=",
|
|
31
|
+
NOT_EQUAL = "<>",
|
|
32
|
+
LESS_THAN = "<",
|
|
33
|
+
LESS_THAN_OR_EQUAL = "<=",
|
|
34
|
+
GREATER_THAN = ">",
|
|
35
|
+
GREATER_THAN_OR_EQUAL = ">=",
|
|
36
|
+
BETWEEN = "BETWEEN",
|
|
37
|
+
EXISTS = "EXISTS",
|
|
38
|
+
NOT_EXISTS = "NOT_EXISTS"
|
|
39
|
+
}
|
|
40
|
+
export declare enum BooleanTypeComparisonOperator {
|
|
41
|
+
EQUAL = "=",
|
|
42
|
+
NOT_EQUAL = "<>",
|
|
43
|
+
EXISTS = "EXISTS",
|
|
44
|
+
NOT_EXISTS = "NOT_EXISTS"
|
|
45
|
+
}
|
|
46
|
+
export declare enum NullTypeComparisonOperator {
|
|
47
|
+
EXISTS = "EXISTS",
|
|
48
|
+
NOT_EXISTS = "NOT_EXISTS"
|
|
49
|
+
}
|
|
50
|
+
export declare enum IndexEquation {
|
|
51
|
+
EQUAL = "=",
|
|
52
|
+
LESS_THAN = "<",
|
|
53
|
+
LESS_THAN_OR_EQUAL = "<=",
|
|
54
|
+
GREATER_THAN = ">",
|
|
55
|
+
GREATER_THAN_OR_EQUAL = ">=",
|
|
56
|
+
BETWEEN = "Between",
|
|
57
|
+
BEGINS_WITH = "Begins with"
|
|
58
|
+
}
|
|
59
|
+
export declare enum NumberIndexEquation {
|
|
60
|
+
EQUAL = "=",
|
|
61
|
+
LESS_THAN = "<",
|
|
62
|
+
LESS_THAN_OR_EQUAL = "<=",
|
|
63
|
+
GREATER_THAN = ">",
|
|
64
|
+
GREATER_THAN_OR_EQUAL = ">=",
|
|
65
|
+
BETWEEN = "Between"
|
|
66
|
+
}
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NumberIndexEquation = exports.IndexEquation = exports.NullTypeComparisonOperator = exports.BooleanTypeComparisonOperator = exports.NumberTypeComparisonOperator = exports.BinaryTypeComparisonOperator = exports.StringTypeComparisonOperator = void 0;
|
|
4
|
-
var StringTypeComparisonOperator;
|
|
5
|
-
(function (StringTypeComparisonOperator) {
|
|
6
|
-
StringTypeComparisonOperator["EQUAL"] = "=";
|
|
7
|
-
StringTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
8
|
-
StringTypeComparisonOperator["LESS_THAN"] = "<";
|
|
9
|
-
StringTypeComparisonOperator["LESS_THAN_OR_EQUAL"] = "<=";
|
|
10
|
-
StringTypeComparisonOperator["GREATER_THAN"] = ">";
|
|
11
|
-
StringTypeComparisonOperator["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
12
|
-
StringTypeComparisonOperator["BETWEEN"] = "BETWEEN";
|
|
13
|
-
StringTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
14
|
-
StringTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
15
|
-
StringTypeComparisonOperator["CONTAINS"] = "CONTAINS";
|
|
16
|
-
StringTypeComparisonOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
17
|
-
StringTypeComparisonOperator["BEGINS_WITH"] = "BEGINS_WITH";
|
|
18
|
-
})(StringTypeComparisonOperator = exports.StringTypeComparisonOperator || (exports.StringTypeComparisonOperator = {}));
|
|
19
|
-
var BinaryTypeComparisonOperator;
|
|
20
|
-
(function (BinaryTypeComparisonOperator) {
|
|
21
|
-
BinaryTypeComparisonOperator["EQUAL"] = "=";
|
|
22
|
-
BinaryTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
23
|
-
BinaryTypeComparisonOperator["LESS_THAN"] = "<";
|
|
24
|
-
BinaryTypeComparisonOperator["LESS_THAN_OR_EQUAL"] = "<=";
|
|
25
|
-
BinaryTypeComparisonOperator["GREATER_THAN"] = ">";
|
|
26
|
-
BinaryTypeComparisonOperator["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
27
|
-
BinaryTypeComparisonOperator["BETWEEN"] = "BETWEEN";
|
|
28
|
-
BinaryTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
29
|
-
BinaryTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
30
|
-
BinaryTypeComparisonOperator["CONTAINS"] = "CONTAINS";
|
|
31
|
-
BinaryTypeComparisonOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
32
|
-
BinaryTypeComparisonOperator["BEGINS_WITH"] = "BEGINS_WITH";
|
|
33
|
-
})(BinaryTypeComparisonOperator = exports.BinaryTypeComparisonOperator || (exports.BinaryTypeComparisonOperator = {}));
|
|
34
|
-
var NumberTypeComparisonOperator;
|
|
35
|
-
(function (NumberTypeComparisonOperator) {
|
|
36
|
-
NumberTypeComparisonOperator["EQUAL"] = "=";
|
|
37
|
-
NumberTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
38
|
-
NumberTypeComparisonOperator["LESS_THAN"] = "<";
|
|
39
|
-
NumberTypeComparisonOperator["LESS_THAN_OR_EQUAL"] = "<=";
|
|
40
|
-
NumberTypeComparisonOperator["GREATER_THAN"] = ">";
|
|
41
|
-
NumberTypeComparisonOperator["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
42
|
-
NumberTypeComparisonOperator["BETWEEN"] = "BETWEEN";
|
|
43
|
-
NumberTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
44
|
-
NumberTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
45
|
-
})(NumberTypeComparisonOperator = exports.NumberTypeComparisonOperator || (exports.NumberTypeComparisonOperator = {}));
|
|
46
|
-
var BooleanTypeComparisonOperator;
|
|
47
|
-
(function (BooleanTypeComparisonOperator) {
|
|
48
|
-
BooleanTypeComparisonOperator["EQUAL"] = "=";
|
|
49
|
-
BooleanTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
50
|
-
BooleanTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
51
|
-
BooleanTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
52
|
-
})(BooleanTypeComparisonOperator = exports.BooleanTypeComparisonOperator || (exports.BooleanTypeComparisonOperator = {}));
|
|
53
|
-
var NullTypeComparisonOperator;
|
|
54
|
-
(function (NullTypeComparisonOperator) {
|
|
55
|
-
NullTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
56
|
-
NullTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
57
|
-
})(NullTypeComparisonOperator = exports.NullTypeComparisonOperator || (exports.NullTypeComparisonOperator = {}));
|
|
58
|
-
var IndexEquation;
|
|
59
|
-
(function (IndexEquation) {
|
|
60
|
-
IndexEquation["EQUAL"] = "=";
|
|
61
|
-
IndexEquation["LESS_THAN"] = "<";
|
|
62
|
-
IndexEquation["LESS_THAN_OR_EQUAL"] = "<=";
|
|
63
|
-
IndexEquation["GREATER_THAN"] = ">";
|
|
64
|
-
IndexEquation["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
65
|
-
IndexEquation["BETWEEN"] = "Between";
|
|
66
|
-
/* does not support when index's type is number*/
|
|
67
|
-
IndexEquation["BEGINS_WITH"] = "Begins with";
|
|
68
|
-
})(IndexEquation = exports.IndexEquation || (exports.IndexEquation = {}));
|
|
69
|
-
var NumberIndexEquation;
|
|
70
|
-
(function (NumberIndexEquation) {
|
|
71
|
-
NumberIndexEquation["EQUAL"] = "=";
|
|
72
|
-
NumberIndexEquation["LESS_THAN"] = "<";
|
|
73
|
-
NumberIndexEquation["LESS_THAN_OR_EQUAL"] = "<=";
|
|
74
|
-
NumberIndexEquation["GREATER_THAN"] = ">";
|
|
75
|
-
NumberIndexEquation["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
76
|
-
NumberIndexEquation["BETWEEN"] = "Between";
|
|
77
|
-
})(NumberIndexEquation = exports.NumberIndexEquation || (exports.NumberIndexEquation = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NumberIndexEquation = exports.IndexEquation = exports.NullTypeComparisonOperator = exports.BooleanTypeComparisonOperator = exports.NumberTypeComparisonOperator = exports.BinaryTypeComparisonOperator = exports.StringTypeComparisonOperator = void 0;
|
|
4
|
+
var StringTypeComparisonOperator;
|
|
5
|
+
(function (StringTypeComparisonOperator) {
|
|
6
|
+
StringTypeComparisonOperator["EQUAL"] = "=";
|
|
7
|
+
StringTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
8
|
+
StringTypeComparisonOperator["LESS_THAN"] = "<";
|
|
9
|
+
StringTypeComparisonOperator["LESS_THAN_OR_EQUAL"] = "<=";
|
|
10
|
+
StringTypeComparisonOperator["GREATER_THAN"] = ">";
|
|
11
|
+
StringTypeComparisonOperator["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
12
|
+
StringTypeComparisonOperator["BETWEEN"] = "BETWEEN";
|
|
13
|
+
StringTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
14
|
+
StringTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
15
|
+
StringTypeComparisonOperator["CONTAINS"] = "CONTAINS";
|
|
16
|
+
StringTypeComparisonOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
17
|
+
StringTypeComparisonOperator["BEGINS_WITH"] = "BEGINS_WITH";
|
|
18
|
+
})(StringTypeComparisonOperator = exports.StringTypeComparisonOperator || (exports.StringTypeComparisonOperator = {}));
|
|
19
|
+
var BinaryTypeComparisonOperator;
|
|
20
|
+
(function (BinaryTypeComparisonOperator) {
|
|
21
|
+
BinaryTypeComparisonOperator["EQUAL"] = "=";
|
|
22
|
+
BinaryTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
23
|
+
BinaryTypeComparisonOperator["LESS_THAN"] = "<";
|
|
24
|
+
BinaryTypeComparisonOperator["LESS_THAN_OR_EQUAL"] = "<=";
|
|
25
|
+
BinaryTypeComparisonOperator["GREATER_THAN"] = ">";
|
|
26
|
+
BinaryTypeComparisonOperator["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
27
|
+
BinaryTypeComparisonOperator["BETWEEN"] = "BETWEEN";
|
|
28
|
+
BinaryTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
29
|
+
BinaryTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
30
|
+
BinaryTypeComparisonOperator["CONTAINS"] = "CONTAINS";
|
|
31
|
+
BinaryTypeComparisonOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
32
|
+
BinaryTypeComparisonOperator["BEGINS_WITH"] = "BEGINS_WITH";
|
|
33
|
+
})(BinaryTypeComparisonOperator = exports.BinaryTypeComparisonOperator || (exports.BinaryTypeComparisonOperator = {}));
|
|
34
|
+
var NumberTypeComparisonOperator;
|
|
35
|
+
(function (NumberTypeComparisonOperator) {
|
|
36
|
+
NumberTypeComparisonOperator["EQUAL"] = "=";
|
|
37
|
+
NumberTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
38
|
+
NumberTypeComparisonOperator["LESS_THAN"] = "<";
|
|
39
|
+
NumberTypeComparisonOperator["LESS_THAN_OR_EQUAL"] = "<=";
|
|
40
|
+
NumberTypeComparisonOperator["GREATER_THAN"] = ">";
|
|
41
|
+
NumberTypeComparisonOperator["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
42
|
+
NumberTypeComparisonOperator["BETWEEN"] = "BETWEEN";
|
|
43
|
+
NumberTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
44
|
+
NumberTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
45
|
+
})(NumberTypeComparisonOperator = exports.NumberTypeComparisonOperator || (exports.NumberTypeComparisonOperator = {}));
|
|
46
|
+
var BooleanTypeComparisonOperator;
|
|
47
|
+
(function (BooleanTypeComparisonOperator) {
|
|
48
|
+
BooleanTypeComparisonOperator["EQUAL"] = "=";
|
|
49
|
+
BooleanTypeComparisonOperator["NOT_EQUAL"] = "<>";
|
|
50
|
+
BooleanTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
51
|
+
BooleanTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
52
|
+
})(BooleanTypeComparisonOperator = exports.BooleanTypeComparisonOperator || (exports.BooleanTypeComparisonOperator = {}));
|
|
53
|
+
var NullTypeComparisonOperator;
|
|
54
|
+
(function (NullTypeComparisonOperator) {
|
|
55
|
+
NullTypeComparisonOperator["EXISTS"] = "EXISTS";
|
|
56
|
+
NullTypeComparisonOperator["NOT_EXISTS"] = "NOT_EXISTS";
|
|
57
|
+
})(NullTypeComparisonOperator = exports.NullTypeComparisonOperator || (exports.NullTypeComparisonOperator = {}));
|
|
58
|
+
var IndexEquation;
|
|
59
|
+
(function (IndexEquation) {
|
|
60
|
+
IndexEquation["EQUAL"] = "=";
|
|
61
|
+
IndexEquation["LESS_THAN"] = "<";
|
|
62
|
+
IndexEquation["LESS_THAN_OR_EQUAL"] = "<=";
|
|
63
|
+
IndexEquation["GREATER_THAN"] = ">";
|
|
64
|
+
IndexEquation["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
65
|
+
IndexEquation["BETWEEN"] = "Between";
|
|
66
|
+
/* does not support when index's type is number*/
|
|
67
|
+
IndexEquation["BEGINS_WITH"] = "Begins with";
|
|
68
|
+
})(IndexEquation = exports.IndexEquation || (exports.IndexEquation = {}));
|
|
69
|
+
var NumberIndexEquation;
|
|
70
|
+
(function (NumberIndexEquation) {
|
|
71
|
+
NumberIndexEquation["EQUAL"] = "=";
|
|
72
|
+
NumberIndexEquation["LESS_THAN"] = "<";
|
|
73
|
+
NumberIndexEquation["LESS_THAN_OR_EQUAL"] = "<=";
|
|
74
|
+
NumberIndexEquation["GREATER_THAN"] = ">";
|
|
75
|
+
NumberIndexEquation["GREATER_THAN_OR_EQUAL"] = ">=";
|
|
76
|
+
NumberIndexEquation["BETWEEN"] = "Between";
|
|
77
|
+
})(NumberIndexEquation = exports.NumberIndexEquation || (exports.NumberIndexEquation = {}));
|
|
78
78
|
//# sourceMappingURL=dynamodb-operator.js.map
|