types-magic-api 0.1.25 → 0.1.27
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/dist/src/common/model/index.model.d.ts +77 -0
- package/dist/src/common/model/index.model.js +45 -0
- package/dist/src/entities/index.model.d.ts +84 -0
- package/dist/src/entities/index.model.js +166 -0
- package/dist/src/entities/logs/CaptchaTokenUsage.entity.d.ts +4 -0
- package/dist/src/entities/logs/LogoutTokenUsage.entity.d.ts +4 -0
- package/dist/src/entities/logs/PasswordTokenUsage.entity.d.ts +4 -0
- package/dist/src/entities/magic/App.entity.d.ts +41 -0
- package/dist/src/entities/magic/AppBuild.entity.d.ts +22 -0
- package/dist/src/entities/magic/AppComponent.entity.d.ts +55 -0
- package/dist/src/entities/magic/AppComponentProduct.entity.d.ts +8 -0
- package/dist/src/entities/magic/AppMenu.entity.d.ts +18 -0
- package/dist/src/entities/magic/AppMenuSettings.entity.d.ts +16 -0
- package/dist/src/entities/magic/AppPublish.entity.d.ts +11 -0
- package/dist/src/entities/magic/AppScreenSettings.entity.d.ts +31 -0
- package/dist/src/entities/magic/AppSetting.entity.d.ts +13 -0
- package/dist/src/entities/magic/Cart.entity.d.ts +6 -0
- package/dist/src/entities/magic/City.entity.d.ts +12 -0
- package/dist/src/entities/magic/ColorSetting.entity.d.ts +15 -0
- package/dist/src/entities/magic/Component.entity.d.ts +15 -0
- package/dist/src/entities/magic/ComponentAttribute.entity.d.ts +12 -0
- package/dist/src/entities/magic/ComponentGroup.entity.d.ts +6 -0
- package/dist/src/entities/magic/ComponentProperty.entity.d.ts +12 -0
- package/dist/src/entities/magic/Country.entity.d.ts +21 -0
- package/dist/src/entities/magic/Customer.entity.d.ts +4 -0
- package/dist/src/entities/magic/Media.entity.d.ts +25 -0
- package/dist/src/entities/magic/Menu.entity.d.ts +18 -0
- package/dist/src/entities/magic/MenuAttribute.entity.d.ts +12 -0
- package/dist/src/entities/magic/MenuGroup.entity.d.ts +6 -0
- package/dist/src/entities/magic/MenuProperty.entity.d.ts +12 -0
- package/dist/src/entities/magic/Provider.entity.d.ts +13 -0
- package/dist/src/entities/magic/RecentlyView.entity.d.ts +5 -0
- package/dist/src/entities/magic/Reminder.entity.d.ts +11 -0
- package/dist/src/entities/magic/ShopifyEmbeddedApp.entity.d.ts +5 -0
- package/dist/src/entities/magic/ShopifySession.entity.d.ts +13 -0
- package/dist/src/entities/magic/State.entity.d.ts +12 -0
- package/dist/src/entities/magic/Theme.entity.d.ts +17 -0
- package/dist/src/entities/magic/Timezone.entity.d.ts +11 -0
- package/dist/src/entities/magic/WishList.entity.d.ts +6 -0
- package/dist/src/entities/payment/Customer.entity.d.ts +16 -0
- package/dist/src/entities/payment/Invoice.entity.d.ts +19 -0
- package/dist/src/entities/payment/OrderPayment.entity.d.ts +27 -0
- package/dist/src/entities/payment/OrderPaymentLog.entity.d.ts +8 -0
- package/dist/src/entities/payment/OverrideRetryPaymentSetting.entity.d.ts +8 -0
- package/dist/src/entities/payment/PaymentFee.entity.d.ts +17 -0
- package/dist/src/entities/payment/PaymentGroup.entity.d.ts +9 -0
- package/dist/src/entities/payment/PaymentLog.entity.d.ts +7 -0
- package/dist/src/entities/payment/PaymentProvider.entity.d.ts +14 -0
- package/dist/src/entities/payment/PaymentSetting.entity.d.ts +17 -0
- package/dist/src/entities/payment/PaymentType.entity.d.ts +8 -0
- package/dist/src/entities/payment/RetryPaymentLog.entity.d.ts +9 -0
- package/dist/src/entities/payment/RetryPaymentSetting.entity.d.ts +7 -0
- package/dist/src/entities/payment/Subscription.entity.d.ts +21 -0
- package/dist/src/entities/payment/SubscriptionLog.entity.d.ts +9 -0
- package/dist/src/entities/public/Country.entity.d.ts +14 -0
- package/dist/src/entities/public/CountryMl.entity.d.ts +8 -0
- package/dist/src/entities/public/ErrorLog.entity.d.ts +7 -0
- package/dist/src/entities/public/ErrorText.entity.d.ts +9 -0
- package/dist/src/entities/public/Language.entity.d.ts +6 -0
- package/dist/src/entities/public/Menu.entity.d.ts +20 -0
- package/dist/src/entities/public/MenuMl.entity.d.ts +9 -0
- package/dist/src/entities/public/Module.entity.d.ts +10 -0
- package/dist/src/entities/public/OrgSetting.entity.d.ts +11 -0
- package/dist/src/entities/public/Organization.entity.d.ts +24 -0
- package/dist/src/entities/public/Template.entity.d.ts +17 -0
- package/dist/src/entities/public/TemplateMl.entity.d.ts +14 -0
- package/dist/src/entities/public/Timezone.entity.d.ts +14 -0
- package/dist/src/entities/saas/CustomizedModule.entity.d.ts +9 -0
- package/dist/src/entities/saas/OrderItem.entity.d.ts +17 -0
- package/dist/src/entities/saas/Plan.entity.d.ts +23 -0
- package/dist/src/entities/saas/PlanModule.entity.d.ts +18 -0
- package/dist/src/entities/saas/PlanRestriction.entity.d.ts +6 -0
- package/dist/src/entities/saas/SaasOrderPayment.entity.d.ts +17 -0
- package/dist/src/entities/users/Plan.entity.d.ts +12 -0
- package/dist/src/entities/users/RoleAllowedRole.entity.d.ts +9 -0
- package/dist/src/entities/users/SignInOtpHistory.entity.d.ts +13 -0
- package/dist/src/entities/users/UnsubscribedEmail.entity.d.ts +4 -0
- package/dist/src/entities/users/UserDevice.entity.d.ts +12 -0
- package/dist/src/entities/users/UserLoginActivity.entity.d.ts +13 -0
- package/dist/src/entities/users/UserNotification.entity.d.ts +21 -0
- package/dist/src/entities/users/UserPermission.entity.d.ts +14 -0
- package/dist/src/entities/users/UserProfile.entity.d.ts +34 -0
- package/dist/src/entities/users/UserRole.entity.d.ts +13 -0
- package/dist/src/entities/users/UserSetting.entity.d.ts +14 -0
- package/dist/src/entities/view/ViewSubscriptionDetail.entity.d.ts +20 -0
- package/dist/src/index.model.d.ts +27 -0
- package/dist/src/index.model.js +28 -0
- package/dist/src/services/admin/admin.model.d.ts +175 -0
- package/dist/src/services/admin/admin.model.js +12 -0
- package/dist/src/services/app/app.model.d.ts +49 -0
- package/dist/src/services/app/app.model.js +2 -0
- package/dist/src/services/appBuilder/appBuilder.model.d.ts +73 -0
- package/dist/src/services/appBuilder/appBuilder.model.js +30 -0
- package/dist/src/services/appPublish/appPublish.model.d.ts +9 -0
- package/dist/src/services/appPublish/appPublish.model.js +2 -0
- package/dist/src/services/appSetting/appSetting.model.d.ts +17 -0
- package/dist/src/services/appSetting/appSetting.model.js +2 -0
- package/dist/src/services/auth/auth.model.d.ts +143 -0
- package/dist/src/services/auth/auth.model.js +16 -0
- package/dist/src/services/colorSettings/colorSettings.model.d.ts +18 -0
- package/dist/src/services/colorSettings/colorSettings.model.js +2 -0
- package/dist/src/services/common/common.model.d.ts +69 -0
- package/dist/src/services/common/common.model.js +2 -0
- package/dist/src/services/component/component.model.d.ts +87 -0
- package/dist/src/services/component/component.model.js +15 -0
- package/dist/src/services/customer/customer.model.d.ts +344 -0
- package/dist/src/services/customer/customer.model.js +2 -0
- package/dist/src/services/default/default.model.d.ts +134 -0
- package/dist/src/services/default/default.model.js +89 -0
- package/dist/src/services/file/file.model.d.ts +1 -0
- package/dist/src/services/file/file.model.js +2 -0
- package/dist/src/services/maintainer/maintainer.model.d.ts +71 -0
- package/dist/src/services/maintainer/maintainer.model.js +2 -0
- package/dist/src/services/menu/menu.model.d.ts +56 -0
- package/dist/src/services/menu/menu.model.js +18 -0
- package/dist/src/services/notification/notification.model.d.ts +280 -0
- package/dist/src/services/notification/notification.model.js +69 -0
- package/dist/src/services/payment/payment.model.d.ts +153 -0
- package/dist/src/services/payment/payment.model.js +43 -0
- package/dist/src/services/provider/provider.model.d.ts +10 -0
- package/dist/src/services/provider/provider.model.js +5 -0
- package/dist/src/services/reminder/reminder.model.d.ts +13 -0
- package/dist/src/services/reminder/reminder.model.js +2 -0
- package/dist/src/services/saas/saas.model.d.ts +62 -0
- package/dist/src/services/saas/saas.model.js +7 -0
- package/dist/src/services/screen/screen.model.d.ts +37 -0
- package/dist/src/services/screen/screen.model.js +2 -0
- package/dist/src/services/shopify/shopify.model.d.ts +1010 -0
- package/dist/src/services/shopify/shopify.model.js +84 -0
- package/dist/src/services/shopifyPayment/shopifyPayment.model.d.ts +5 -0
- package/dist/src/services/shopifyPayment/shopifyPayment.model.js +6 -0
- package/dist/src/services/stripe/stripe.model.d.ts +9 -0
- package/dist/src/services/stripe/stripe.model.js +2 -0
- package/dist/src/services/test/test.model.d.ts +1 -0
- package/dist/src/services/test/test.model.js +2 -0
- package/dist/src/services/theme/theme.model.d.ts +23 -0
- package/dist/src/services/theme/theme.model.js +2 -0
- package/dist/src/services/userDevice/userDevice.model.d.ts +7 -0
- package/dist/src/services/userDevice/userDevice.model.js +2 -0
- package/package.json +3 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export var ProductSortKeys;
|
|
2
|
+
(function (ProductSortKeys) {
|
|
3
|
+
ProductSortKeys["BEST_SELLING"] = "BEST_SELLING";
|
|
4
|
+
ProductSortKeys["CREATED_AT"] = "CREATED_AT";
|
|
5
|
+
ProductSortKeys["ID"] = "ID";
|
|
6
|
+
ProductSortKeys["PRICE"] = "PRICE";
|
|
7
|
+
ProductSortKeys["PRODUCT_TYPE"] = "PRODUCT_TYPE";
|
|
8
|
+
ProductSortKeys["TITLE"] = "TITLE";
|
|
9
|
+
ProductSortKeys["UPDATED_AT"] = "UPDATED_AT";
|
|
10
|
+
ProductSortKeys["VENDOR"] = "VENDOR";
|
|
11
|
+
})(ProductSortKeys || (ProductSortKeys = {}));
|
|
12
|
+
export var ProductCollectionSortKeys;
|
|
13
|
+
(function (ProductCollectionSortKeys) {
|
|
14
|
+
ProductCollectionSortKeys["BEST_SELLING"] = "BEST_SELLING";
|
|
15
|
+
ProductCollectionSortKeys["COLLECTION_DEFAULT"] = "COLLECTION_DEFAULT";
|
|
16
|
+
ProductCollectionSortKeys["CREATED"] = "CREATED";
|
|
17
|
+
ProductCollectionSortKeys["ID"] = "ID";
|
|
18
|
+
ProductCollectionSortKeys["PRICE"] = "PRICE";
|
|
19
|
+
ProductCollectionSortKeys["TITLE"] = "TITLE";
|
|
20
|
+
})(ProductCollectionSortKeys || (ProductCollectionSortKeys = {}));
|
|
21
|
+
export var AdminProductSortKeys;
|
|
22
|
+
(function (AdminProductSortKeys) {
|
|
23
|
+
AdminProductSortKeys["CREATED_AT"] = "CREATED_AT";
|
|
24
|
+
AdminProductSortKeys["ID"] = "ID";
|
|
25
|
+
AdminProductSortKeys["INVENTORY_TOTAL"] = "INVENTORY_TOTAL";
|
|
26
|
+
AdminProductSortKeys["PRODUCT_TYPE"] = "PRODUCT_TYPE";
|
|
27
|
+
AdminProductSortKeys["PUBLISHED_AT"] = "PUBLISHED_AT";
|
|
28
|
+
AdminProductSortKeys["TITLE"] = "TITLE";
|
|
29
|
+
AdminProductSortKeys["UPDATED_AT"] = "UPDATED_AT";
|
|
30
|
+
AdminProductSortKeys["VENDOR"] = "VENDOR";
|
|
31
|
+
})(AdminProductSortKeys || (AdminProductSortKeys = {}));
|
|
32
|
+
export var AdminCollectionProductSortKeys;
|
|
33
|
+
(function (AdminCollectionProductSortKeys) {
|
|
34
|
+
AdminCollectionProductSortKeys["BEST_SELLING"] = "BEST_SELLING";
|
|
35
|
+
AdminCollectionProductSortKeys["COLLECTION_DEFAULT"] = "COLLECTION_DEFAULT";
|
|
36
|
+
AdminCollectionProductSortKeys["CREATED"] = "CREATED";
|
|
37
|
+
AdminCollectionProductSortKeys["ID"] = "ID";
|
|
38
|
+
AdminCollectionProductSortKeys["MANUAL"] = "MANUAL";
|
|
39
|
+
AdminCollectionProductSortKeys["PRICE"] = "PRICE";
|
|
40
|
+
AdminCollectionProductSortKeys["RELEVANCE"] = "RELEVANCE";
|
|
41
|
+
AdminCollectionProductSortKeys["TITLE"] = "TITLE";
|
|
42
|
+
})(AdminCollectionProductSortKeys || (AdminCollectionProductSortKeys = {}));
|
|
43
|
+
export var CollectionSortKeys;
|
|
44
|
+
(function (CollectionSortKeys) {
|
|
45
|
+
CollectionSortKeys["TITLE"] = "TITLE";
|
|
46
|
+
CollectionSortKeys["UPDATED_AT"] = "UPDATED_AT";
|
|
47
|
+
})(CollectionSortKeys || (CollectionSortKeys = {}));
|
|
48
|
+
export var ProductRecommendationIntent;
|
|
49
|
+
(function (ProductRecommendationIntent) {
|
|
50
|
+
ProductRecommendationIntent["COMPLEMENTARY"] = "COMPLEMENTARY";
|
|
51
|
+
ProductRecommendationIntent["RELATED"] = "RELATED";
|
|
52
|
+
})(ProductRecommendationIntent || (ProductRecommendationIntent = {}));
|
|
53
|
+
export var ProductMediaContentType;
|
|
54
|
+
(function (ProductMediaContentType) {
|
|
55
|
+
ProductMediaContentType["EXTERNAL_VIDEO"] = "EXTERNAL_VIDEO";
|
|
56
|
+
ProductMediaContentType["IMAGE"] = "IMAGE";
|
|
57
|
+
ProductMediaContentType["VIDEO"] = "VIDEO";
|
|
58
|
+
})(ProductMediaContentType || (ProductMediaContentType = {}));
|
|
59
|
+
export var CustomerErrorCode;
|
|
60
|
+
(function (CustomerErrorCode) {
|
|
61
|
+
CustomerErrorCode["ALREADY_ENABLED"] = "ALREADY_ENABLED";
|
|
62
|
+
CustomerErrorCode["BAD_DOMAIN"] = "BAD_DOMAIN";
|
|
63
|
+
CustomerErrorCode["BLANK"] = "BLANK";
|
|
64
|
+
CustomerErrorCode["CONTAINS_HTML_TAGS"] = "CONTAINS_HTML_TAGS";
|
|
65
|
+
CustomerErrorCode["CONTAINS_URL"] = "CONTAINS_URL";
|
|
66
|
+
CustomerErrorCode["CUSTOMER_DISABLED"] = "CUSTOMER_DISABLED";
|
|
67
|
+
CustomerErrorCode["INVALID"] = "INVALID";
|
|
68
|
+
CustomerErrorCode["INVALID_MULTIPASS_REQUEST"] = "INVALID_MULTIPASS_REQUEST";
|
|
69
|
+
CustomerErrorCode["NOT_FOUND"] = "NOT_FOUND";
|
|
70
|
+
CustomerErrorCode["PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE"] = "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE";
|
|
71
|
+
CustomerErrorCode["TAKEN"] = "TAKEN";
|
|
72
|
+
CustomerErrorCode["TOKEN_INVALID"] = "TOKEN_INVALID";
|
|
73
|
+
CustomerErrorCode["TOO_LONG"] = "TOO_LONG";
|
|
74
|
+
CustomerErrorCode["TOO_SHORT"] = "TOO_SHORT";
|
|
75
|
+
CustomerErrorCode["UNIDENTIFIED_CUSTOMER"] = "UNIDENTIFIED_CUSTOMER";
|
|
76
|
+
})(CustomerErrorCode || (CustomerErrorCode = {}));
|
|
77
|
+
export var ShopifySubscriptionStatus;
|
|
78
|
+
(function (ShopifySubscriptionStatus) {
|
|
79
|
+
ShopifySubscriptionStatus["pending"] = "PENDING";
|
|
80
|
+
ShopifySubscriptionStatus["active"] = "ACTIVE";
|
|
81
|
+
ShopifySubscriptionStatus["canceled"] = "CANCELLED";
|
|
82
|
+
ShopifySubscriptionStatus["expired"] = "EXPIRED";
|
|
83
|
+
})(ShopifySubscriptionStatus || (ShopifySubscriptionStatus = {}));
|
|
84
|
+
//# sourceMappingURL=shopify.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Theme } from "../../index.model.js";
|
|
2
|
+
/**
|
|
3
|
+
* API Name: /api/theme/get/all
|
|
4
|
+
*/
|
|
5
|
+
export interface GetThemesRes {
|
|
6
|
+
themes: Theme[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* API Name: /api/theme/preview/qr
|
|
10
|
+
*/
|
|
11
|
+
export interface GetThemePreviewQRReq {
|
|
12
|
+
themeId: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* API Name: /api/theme/apply
|
|
16
|
+
*/
|
|
17
|
+
export type ApplyThemeReq = GetThemePreviewQRReq;
|
|
18
|
+
/**
|
|
19
|
+
* API Name: /api/theme/apply
|
|
20
|
+
*/
|
|
21
|
+
export interface ApplyThemeRes {
|
|
22
|
+
isApplied: boolean;
|
|
23
|
+
}
|