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.
Files changed (140) hide show
  1. package/dist/src/common/model/index.model.d.ts +77 -0
  2. package/dist/src/common/model/index.model.js +45 -0
  3. package/dist/src/entities/index.model.d.ts +84 -0
  4. package/dist/src/entities/index.model.js +166 -0
  5. package/dist/src/entities/logs/CaptchaTokenUsage.entity.d.ts +4 -0
  6. package/dist/src/entities/logs/LogoutTokenUsage.entity.d.ts +4 -0
  7. package/dist/src/entities/logs/PasswordTokenUsage.entity.d.ts +4 -0
  8. package/dist/src/entities/magic/App.entity.d.ts +41 -0
  9. package/dist/src/entities/magic/AppBuild.entity.d.ts +22 -0
  10. package/dist/src/entities/magic/AppComponent.entity.d.ts +55 -0
  11. package/dist/src/entities/magic/AppComponentProduct.entity.d.ts +8 -0
  12. package/dist/src/entities/magic/AppMenu.entity.d.ts +18 -0
  13. package/dist/src/entities/magic/AppMenuSettings.entity.d.ts +16 -0
  14. package/dist/src/entities/magic/AppPublish.entity.d.ts +11 -0
  15. package/dist/src/entities/magic/AppScreenSettings.entity.d.ts +31 -0
  16. package/dist/src/entities/magic/AppSetting.entity.d.ts +13 -0
  17. package/dist/src/entities/magic/Cart.entity.d.ts +6 -0
  18. package/dist/src/entities/magic/City.entity.d.ts +12 -0
  19. package/dist/src/entities/magic/ColorSetting.entity.d.ts +15 -0
  20. package/dist/src/entities/magic/Component.entity.d.ts +15 -0
  21. package/dist/src/entities/magic/ComponentAttribute.entity.d.ts +12 -0
  22. package/dist/src/entities/magic/ComponentGroup.entity.d.ts +6 -0
  23. package/dist/src/entities/magic/ComponentProperty.entity.d.ts +12 -0
  24. package/dist/src/entities/magic/Country.entity.d.ts +21 -0
  25. package/dist/src/entities/magic/Customer.entity.d.ts +4 -0
  26. package/dist/src/entities/magic/Media.entity.d.ts +25 -0
  27. package/dist/src/entities/magic/Menu.entity.d.ts +18 -0
  28. package/dist/src/entities/magic/MenuAttribute.entity.d.ts +12 -0
  29. package/dist/src/entities/magic/MenuGroup.entity.d.ts +6 -0
  30. package/dist/src/entities/magic/MenuProperty.entity.d.ts +12 -0
  31. package/dist/src/entities/magic/Provider.entity.d.ts +13 -0
  32. package/dist/src/entities/magic/RecentlyView.entity.d.ts +5 -0
  33. package/dist/src/entities/magic/Reminder.entity.d.ts +11 -0
  34. package/dist/src/entities/magic/ShopifyEmbeddedApp.entity.d.ts +5 -0
  35. package/dist/src/entities/magic/ShopifySession.entity.d.ts +13 -0
  36. package/dist/src/entities/magic/State.entity.d.ts +12 -0
  37. package/dist/src/entities/magic/Theme.entity.d.ts +17 -0
  38. package/dist/src/entities/magic/Timezone.entity.d.ts +11 -0
  39. package/dist/src/entities/magic/WishList.entity.d.ts +6 -0
  40. package/dist/src/entities/payment/Customer.entity.d.ts +16 -0
  41. package/dist/src/entities/payment/Invoice.entity.d.ts +19 -0
  42. package/dist/src/entities/payment/OrderPayment.entity.d.ts +27 -0
  43. package/dist/src/entities/payment/OrderPaymentLog.entity.d.ts +8 -0
  44. package/dist/src/entities/payment/OverrideRetryPaymentSetting.entity.d.ts +8 -0
  45. package/dist/src/entities/payment/PaymentFee.entity.d.ts +17 -0
  46. package/dist/src/entities/payment/PaymentGroup.entity.d.ts +9 -0
  47. package/dist/src/entities/payment/PaymentLog.entity.d.ts +7 -0
  48. package/dist/src/entities/payment/PaymentProvider.entity.d.ts +14 -0
  49. package/dist/src/entities/payment/PaymentSetting.entity.d.ts +17 -0
  50. package/dist/src/entities/payment/PaymentType.entity.d.ts +8 -0
  51. package/dist/src/entities/payment/RetryPaymentLog.entity.d.ts +9 -0
  52. package/dist/src/entities/payment/RetryPaymentSetting.entity.d.ts +7 -0
  53. package/dist/src/entities/payment/Subscription.entity.d.ts +21 -0
  54. package/dist/src/entities/payment/SubscriptionLog.entity.d.ts +9 -0
  55. package/dist/src/entities/public/Country.entity.d.ts +14 -0
  56. package/dist/src/entities/public/CountryMl.entity.d.ts +8 -0
  57. package/dist/src/entities/public/ErrorLog.entity.d.ts +7 -0
  58. package/dist/src/entities/public/ErrorText.entity.d.ts +9 -0
  59. package/dist/src/entities/public/Language.entity.d.ts +6 -0
  60. package/dist/src/entities/public/Menu.entity.d.ts +20 -0
  61. package/dist/src/entities/public/MenuMl.entity.d.ts +9 -0
  62. package/dist/src/entities/public/Module.entity.d.ts +10 -0
  63. package/dist/src/entities/public/OrgSetting.entity.d.ts +11 -0
  64. package/dist/src/entities/public/Organization.entity.d.ts +24 -0
  65. package/dist/src/entities/public/Template.entity.d.ts +17 -0
  66. package/dist/src/entities/public/TemplateMl.entity.d.ts +14 -0
  67. package/dist/src/entities/public/Timezone.entity.d.ts +14 -0
  68. package/dist/src/entities/saas/CustomizedModule.entity.d.ts +9 -0
  69. package/dist/src/entities/saas/OrderItem.entity.d.ts +17 -0
  70. package/dist/src/entities/saas/Plan.entity.d.ts +23 -0
  71. package/dist/src/entities/saas/PlanModule.entity.d.ts +18 -0
  72. package/dist/src/entities/saas/PlanRestriction.entity.d.ts +6 -0
  73. package/dist/src/entities/saas/SaasOrderPayment.entity.d.ts +17 -0
  74. package/dist/src/entities/users/Plan.entity.d.ts +12 -0
  75. package/dist/src/entities/users/RoleAllowedRole.entity.d.ts +9 -0
  76. package/dist/src/entities/users/SignInOtpHistory.entity.d.ts +13 -0
  77. package/dist/src/entities/users/UnsubscribedEmail.entity.d.ts +4 -0
  78. package/dist/src/entities/users/UserDevice.entity.d.ts +12 -0
  79. package/dist/src/entities/users/UserLoginActivity.entity.d.ts +13 -0
  80. package/dist/src/entities/users/UserNotification.entity.d.ts +21 -0
  81. package/dist/src/entities/users/UserPermission.entity.d.ts +14 -0
  82. package/dist/src/entities/users/UserProfile.entity.d.ts +34 -0
  83. package/dist/src/entities/users/UserRole.entity.d.ts +13 -0
  84. package/dist/src/entities/users/UserSetting.entity.d.ts +14 -0
  85. package/dist/src/entities/view/ViewSubscriptionDetail.entity.d.ts +20 -0
  86. package/dist/src/index.model.d.ts +27 -0
  87. package/dist/src/index.model.js +28 -0
  88. package/dist/src/services/admin/admin.model.d.ts +175 -0
  89. package/dist/src/services/admin/admin.model.js +12 -0
  90. package/dist/src/services/app/app.model.d.ts +49 -0
  91. package/dist/src/services/app/app.model.js +2 -0
  92. package/dist/src/services/appBuilder/appBuilder.model.d.ts +73 -0
  93. package/dist/src/services/appBuilder/appBuilder.model.js +30 -0
  94. package/dist/src/services/appPublish/appPublish.model.d.ts +9 -0
  95. package/dist/src/services/appPublish/appPublish.model.js +2 -0
  96. package/dist/src/services/appSetting/appSetting.model.d.ts +17 -0
  97. package/dist/src/services/appSetting/appSetting.model.js +2 -0
  98. package/dist/src/services/auth/auth.model.d.ts +143 -0
  99. package/dist/src/services/auth/auth.model.js +16 -0
  100. package/dist/src/services/colorSettings/colorSettings.model.d.ts +18 -0
  101. package/dist/src/services/colorSettings/colorSettings.model.js +2 -0
  102. package/dist/src/services/common/common.model.d.ts +69 -0
  103. package/dist/src/services/common/common.model.js +2 -0
  104. package/dist/src/services/component/component.model.d.ts +87 -0
  105. package/dist/src/services/component/component.model.js +15 -0
  106. package/dist/src/services/customer/customer.model.d.ts +344 -0
  107. package/dist/src/services/customer/customer.model.js +2 -0
  108. package/dist/src/services/default/default.model.d.ts +134 -0
  109. package/dist/src/services/default/default.model.js +89 -0
  110. package/dist/src/services/file/file.model.d.ts +1 -0
  111. package/dist/src/services/file/file.model.js +2 -0
  112. package/dist/src/services/maintainer/maintainer.model.d.ts +71 -0
  113. package/dist/src/services/maintainer/maintainer.model.js +2 -0
  114. package/dist/src/services/menu/menu.model.d.ts +56 -0
  115. package/dist/src/services/menu/menu.model.js +18 -0
  116. package/dist/src/services/notification/notification.model.d.ts +280 -0
  117. package/dist/src/services/notification/notification.model.js +69 -0
  118. package/dist/src/services/payment/payment.model.d.ts +153 -0
  119. package/dist/src/services/payment/payment.model.js +43 -0
  120. package/dist/src/services/provider/provider.model.d.ts +10 -0
  121. package/dist/src/services/provider/provider.model.js +5 -0
  122. package/dist/src/services/reminder/reminder.model.d.ts +13 -0
  123. package/dist/src/services/reminder/reminder.model.js +2 -0
  124. package/dist/src/services/saas/saas.model.d.ts +62 -0
  125. package/dist/src/services/saas/saas.model.js +7 -0
  126. package/dist/src/services/screen/screen.model.d.ts +37 -0
  127. package/dist/src/services/screen/screen.model.js +2 -0
  128. package/dist/src/services/shopify/shopify.model.d.ts +1010 -0
  129. package/dist/src/services/shopify/shopify.model.js +84 -0
  130. package/dist/src/services/shopifyPayment/shopifyPayment.model.d.ts +5 -0
  131. package/dist/src/services/shopifyPayment/shopifyPayment.model.js +6 -0
  132. package/dist/src/services/stripe/stripe.model.d.ts +9 -0
  133. package/dist/src/services/stripe/stripe.model.js +2 -0
  134. package/dist/src/services/test/test.model.d.ts +1 -0
  135. package/dist/src/services/test/test.model.js +2 -0
  136. package/dist/src/services/theme/theme.model.d.ts +23 -0
  137. package/dist/src/services/theme/theme.model.js +2 -0
  138. package/dist/src/services/userDevice/userDevice.model.d.ts +7 -0
  139. package/dist/src/services/userDevice/userDevice.model.js +2 -0
  140. package/package.json +3 -1
@@ -0,0 +1,77 @@
1
+ export declare enum Status {
2
+ Success = "Success",
3
+ Error = "Error"
4
+ }
5
+ export declare enum UserType {
6
+ User = 0
7
+ }
8
+ declare module "express" {
9
+ interface Request {
10
+ authToken: AuthToken;
11
+ providerAuthToken: ProviderAuthToken;
12
+ customerAuthToken: AppToken;
13
+ buyerAuthToken: BuyerAuthToken;
14
+ id: string;
15
+ }
16
+ }
17
+ export interface UserMenu {
18
+ displayOrder: number;
19
+ icon: string;
20
+ children: UserMenu[];
21
+ title: string;
22
+ link: string;
23
+ }
24
+ export declare class AuthToken {
25
+ orgId: string;
26
+ userId: string;
27
+ userName: string;
28
+ roles: Array<string>;
29
+ email: string;
30
+ refUrl: string;
31
+ langCode: string;
32
+ userType: UserType | null;
33
+ isResetPassword: boolean;
34
+ }
35
+ export declare class ProviderAuthToken {
36
+ id: string;
37
+ type: string;
38
+ }
39
+ export declare class AppToken extends ProviderAuthToken {
40
+ token: string;
41
+ }
42
+ export declare class BuyerAuthToken {
43
+ token: string;
44
+ expiresAt: Date;
45
+ }
46
+ export declare enum APIErrorCode {
47
+ jwt = "jwt",
48
+ validationError = "validationError"
49
+ }
50
+ export declare class APIResponse<T, U> {
51
+ status: Status;
52
+ error: U[];
53
+ errorCode: string;
54
+ data: T;
55
+ permission?: {
56
+ Read: boolean;
57
+ Write: boolean;
58
+ Approve: boolean;
59
+ Delete: boolean;
60
+ };
61
+ }
62
+ export interface EmailSettings {
63
+ auth: {
64
+ pass: string;
65
+ user: string;
66
+ encryption: string;
67
+ };
68
+ from: string;
69
+ host: string;
70
+ port: number;
71
+ fromName: string;
72
+ }
73
+ export declare const DefaultLanguage = "en";
74
+ export interface PaymentToken {
75
+ orderPaymentId: string;
76
+ sessionId: string;
77
+ }
@@ -0,0 +1,45 @@
1
+ export var Status;
2
+ (function (Status) {
3
+ Status["Success"] = "Success";
4
+ Status["Error"] = "Error";
5
+ })(Status || (Status = {}));
6
+ export var UserType;
7
+ (function (UserType) {
8
+ UserType[UserType["User"] = 0] = "User";
9
+ })(UserType || (UserType = {}));
10
+ export class AuthToken {
11
+ orgId;
12
+ userId;
13
+ userName;
14
+ roles;
15
+ email;
16
+ refUrl;
17
+ langCode;
18
+ userType;
19
+ isResetPassword;
20
+ }
21
+ export class ProviderAuthToken {
22
+ id;
23
+ type;
24
+ }
25
+ export class AppToken extends ProviderAuthToken {
26
+ token;
27
+ }
28
+ export class BuyerAuthToken {
29
+ token;
30
+ expiresAt;
31
+ }
32
+ export var APIErrorCode;
33
+ (function (APIErrorCode) {
34
+ APIErrorCode["jwt"] = "jwt";
35
+ APIErrorCode["validationError"] = "validationError";
36
+ })(APIErrorCode || (APIErrorCode = {}));
37
+ export class APIResponse {
38
+ status;
39
+ error;
40
+ errorCode;
41
+ data;
42
+ permission;
43
+ }
44
+ export const DefaultLanguage = 'en';
45
+ //# sourceMappingURL=index.model.js.map
@@ -0,0 +1,84 @@
1
+ import { CaptchaTokenUsage } from './logs/CaptchaTokenUsage.entity.js';
2
+ import { LogoutTokenUsage } from './logs/LogoutTokenUsage.entity.js';
3
+ import { PasswordTokenUsage } from './logs/PasswordTokenUsage.entity.js';
4
+ import { Country } from './public/Country.entity.js';
5
+ import { CountryMl } from './public/CountryMl.entity.js';
6
+ import { ErrorLog } from './public/ErrorLog.entity.js';
7
+ import { ErrorText } from './public/ErrorText.entity.js';
8
+ import { Language } from './public/Language.entity.js';
9
+ import { Menu as SideMenu } from './public/Menu.entity.js';
10
+ import { MenuMl } from './public/MenuMl.entity.js';
11
+ import { Module } from './public/Module.entity.js';
12
+ import { Organization } from './public/Organization.entity.js';
13
+ import { OrgSetting } from './public/OrgSetting.entity.js';
14
+ import { Template } from './public/Template.entity.js';
15
+ import { TemplateMl } from './public/TemplateMl.entity.js';
16
+ import { Timezone } from './public/Timezone.entity.js';
17
+ import { Plan } from './users/Plan.entity.js';
18
+ import { RoleAllowedRole } from './users/RoleAllowedRole.entity.js';
19
+ import { SignInOtpHistory } from './users/SignInOtpHistory.entity.js';
20
+ import { UserDevice } from './users/UserDevice.entity.js';
21
+ import { UserLoginActivity } from './users/UserLoginActivity.entity.js';
22
+ import { UserNotification } from './users/UserNotification.entity.js';
23
+ import { UserPermission } from './users/UserPermission.entity.js';
24
+ import { UserProfile } from './users/UserProfile.entity.js';
25
+ import { UserRole } from './users/UserRole.entity.js';
26
+ import { UserSetting } from './users/UserSetting.entity.js';
27
+ import { UnsubscribedEmail } from './users/UnsubscribedEmail.entity.js';
28
+ import { App } from './magic/App.entity.js';
29
+ import { AppComponent } from './magic/AppComponent.entity.js';
30
+ import { AppMenu } from './magic/AppMenu.entity.js';
31
+ import { AppMenuSettings } from './magic/AppMenuSettings.entity.js';
32
+ import { AppComponentProduct } from './magic/AppComponentProduct.entity.js';
33
+ import { AppScreenSettings } from './magic/AppScreenSettings.entity.js';
34
+ import { AppSetting } from './magic/AppSetting.entity.js';
35
+ import { ColorSetting } from './magic/ColorSetting.entity.js';
36
+ import { Component } from './magic/Component.entity.js';
37
+ import { ComponentAttribute } from './magic/ComponentAttribute.entity.js';
38
+ import { ComponentGroup } from './magic/ComponentGroup.entity.js';
39
+ import { ComponentProperty } from './magic/ComponentProperty.entity.js';
40
+ import { Media } from './magic/Media.entity.js';
41
+ import { Menu } from './magic/Menu.entity.js';
42
+ import { MenuAttribute } from './magic/MenuAttribute.entity.js';
43
+ import { MenuGroup } from './magic/MenuGroup.entity.js';
44
+ import { MenuProperty } from './magic/MenuProperty.entity.js';
45
+ import { Provider } from './magic/Provider.entity.js';
46
+ import { ShopifySession } from './magic/ShopifySession.entity.js';
47
+ import { Cart } from './magic/Cart.entity.js';
48
+ import { WishList } from './magic/WishList.entity.js';
49
+ import { RecentlyView } from './magic/RecentlyView.entity.js';
50
+ import { CountryX } from './magic/Country.entity.js';
51
+ import { State } from './magic/State.entity.js';
52
+ import { City } from './magic/City.entity.js';
53
+ import { TimezoneX } from './magic/Timezone.entity.js';
54
+ import { Reminder } from './magic/Reminder.entity.js';
55
+ import { Theme } from './magic/Theme.entity.js';
56
+ import { AppBuild } from './magic/AppBuild.entity.js';
57
+ import { Customer } from './magic/Customer.entity.js';
58
+ import { AppPublish } from './magic/AppPublish.entity.js';
59
+ import { ShopifyEmbeddedApp } from './magic/ShopifyEmbeddedApp.entity.js';
60
+ import { PaymentCustomer } from './payment/Customer.entity.js';
61
+ import { Invoice } from './payment/Invoice.entity.js';
62
+ import { OrderPayment } from './payment/OrderPayment.entity.js';
63
+ import { OrderPaymentLog } from './payment/OrderPaymentLog.entity.js';
64
+ import { OverrideRetryPaymentSetting } from './payment/OverrideRetryPaymentSetting.entity.js';
65
+ import { PaymentFee } from './payment/PaymentFee.entity.js';
66
+ import { PaymentGroup } from './payment/PaymentGroup.entity.js';
67
+ import { PaymentLog } from './payment/PaymentLog.entity.js';
68
+ import { PaymentProvider } from './payment/PaymentProvider.entity.js';
69
+ import { PaymentSetting } from './payment/PaymentSetting.entity.js';
70
+ import { PaymentType } from './payment/PaymentType.entity.js';
71
+ import { RetryPaymentLog } from './payment/RetryPaymentLog.entity.js';
72
+ import { RetryPaymentSetting } from './payment/RetryPaymentSetting.entity.js';
73
+ import { Subscription } from './payment/Subscription.entity.js';
74
+ import { SubscriptionLog } from './payment/SubscriptionLog.entity.js';
75
+ import { CustomizedModule } from './saas/CustomizedModule.entity.js';
76
+ import { OrderItem } from './saas/OrderItem.entity.js';
77
+ import { SaaSOrderPayment } from './saas/SaasOrderPayment.entity.js';
78
+ import { SaaSPlan } from './saas/Plan.entity.js';
79
+ import { PlanModule } from './saas/PlanModule.entity.js';
80
+ import { PlanRestriction } from './saas/PlanRestriction.entity.js';
81
+ import { ViewSubscriptionDetail } from './view/ViewSubscriptionDetail.entity.js';
82
+ export type Relation<T> = T;
83
+ export declare const entities: (typeof CaptchaTokenUsage | typeof LogoutTokenUsage | typeof CountryMl | typeof Country | typeof Module | typeof SideMenu | typeof MenuMl | typeof Organization | typeof OrgSetting | typeof Timezone | typeof TemplateMl | typeof Template | typeof ErrorLog | typeof Language | typeof ErrorText | typeof SignInOtpHistory | typeof UserNotification | typeof RoleAllowedRole | typeof UserRole | typeof UserPermission | typeof UserSetting | typeof App | typeof Plan | typeof UserDevice | typeof UserLoginActivity | typeof UnsubscribedEmail | typeof ComponentAttribute | typeof ComponentGroup | typeof AppComponent | typeof AppComponentProduct | typeof MenuGroup | typeof MenuAttribute | typeof AppMenu | typeof AppSetting | typeof ColorSetting | typeof Theme | typeof Media | typeof AppBuild | typeof ShopifySession | typeof AppScreenSettings | typeof AppMenuSettings | typeof AppPublish | typeof Reminder | typeof Provider | typeof Cart | typeof WishList | typeof RecentlyView | typeof State | typeof City | typeof CountryX | typeof TimezoneX | typeof Customer | typeof ShopifyEmbeddedApp | typeof PaymentCustomer | typeof Invoice | typeof Subscription | typeof OrderPayment | typeof PaymentFee | typeof PaymentSetting | typeof SaaSOrderPayment | typeof OrderPaymentLog | typeof OverrideRetryPaymentSetting | typeof PaymentProvider | typeof RetryPaymentSetting | typeof PaymentType | typeof PaymentGroup | typeof PaymentLog | typeof RetryPaymentLog | typeof SubscriptionLog | typeof CustomizedModule | typeof OrderItem | typeof PlanModule | typeof SaaSPlan | typeof PlanRestriction | typeof ViewSubscriptionDetail)[];
84
+ export { CaptchaTokenUsage, LogoutTokenUsage, PasswordTokenUsage, Country, CountryMl, ErrorText, Language, SideMenu, MenuMl, Module, Organization, OrgSetting, Template, TemplateMl, Timezone, Plan, RoleAllowedRole, SignInOtpHistory, UserDevice, UserLoginActivity, UserNotification, UserPermission, UserProfile, UserRole, UserSetting, ErrorLog, App, AppScreenSettings, AppComponent, AppSetting, AppMenu, AppMenuSettings, AppComponentProduct, ColorSetting, Component, ComponentAttribute, ComponentGroup, ComponentProperty, Media, Menu, MenuAttribute, MenuGroup, MenuProperty, Provider, ShopifySession, Cart, WishList, RecentlyView, CountryX, State, City, Reminder, TimezoneX, Theme, AppBuild, Customer, UnsubscribedEmail, AppPublish, PaymentCustomer, Invoice, OrderPayment, OrderPaymentLog, OverrideRetryPaymentSetting, PaymentFee, PaymentGroup, PaymentLog, PaymentProvider, PaymentSetting, PaymentType, RetryPaymentLog, RetryPaymentSetting, Subscription, SubscriptionLog, CustomizedModule, OrderItem, SaaSOrderPayment, SaaSPlan, PlanModule, PlanRestriction, ShopifyEmbeddedApp, ViewSubscriptionDetail };
@@ -0,0 +1,166 @@
1
+ import { CaptchaTokenUsage } from './logs/CaptchaTokenUsage.entity.js';
2
+ import { LogoutTokenUsage } from './logs/LogoutTokenUsage.entity.js';
3
+ import { PasswordTokenUsage } from './logs/PasswordTokenUsage.entity.js';
4
+ import { Country } from './public/Country.entity.js';
5
+ import { CountryMl } from './public/CountryMl.entity.js';
6
+ import { ErrorLog } from './public/ErrorLog.entity.js';
7
+ import { ErrorText } from './public/ErrorText.entity.js';
8
+ import { Language } from './public/Language.entity.js';
9
+ import { Menu as SideMenu } from './public/Menu.entity.js';
10
+ import { MenuMl } from './public/MenuMl.entity.js';
11
+ import { Module } from './public/Module.entity.js';
12
+ import { Organization } from './public/Organization.entity.js';
13
+ import { OrgSetting } from './public/OrgSetting.entity.js';
14
+ import { Template } from './public/Template.entity.js';
15
+ import { TemplateMl } from './public/TemplateMl.entity.js';
16
+ import { Timezone } from './public/Timezone.entity.js';
17
+ import { Plan } from './users/Plan.entity.js';
18
+ import { RoleAllowedRole } from './users/RoleAllowedRole.entity.js';
19
+ import { SignInOtpHistory } from './users/SignInOtpHistory.entity.js';
20
+ import { UserDevice } from './users/UserDevice.entity.js';
21
+ import { UserLoginActivity } from './users/UserLoginActivity.entity.js';
22
+ import { UserNotification } from './users/UserNotification.entity.js';
23
+ import { UserPermission } from './users/UserPermission.entity.js';
24
+ import { UserProfile } from './users/UserProfile.entity.js';
25
+ import { UserRole } from './users/UserRole.entity.js';
26
+ import { UserSetting } from './users/UserSetting.entity.js';
27
+ import { UnsubscribedEmail } from './users/UnsubscribedEmail.entity.js';
28
+ import { App } from './magic/App.entity.js';
29
+ import { AppComponent } from './magic/AppComponent.entity.js';
30
+ import { AppMenu } from './magic/AppMenu.entity.js';
31
+ import { AppMenuSettings } from './magic/AppMenuSettings.entity.js';
32
+ import { AppComponentProduct } from './magic/AppComponentProduct.entity.js';
33
+ import { AppScreenSettings } from './magic/AppScreenSettings.entity.js';
34
+ import { AppSetting } from './magic/AppSetting.entity.js';
35
+ import { ColorSetting } from './magic/ColorSetting.entity.js';
36
+ import { Component } from './magic/Component.entity.js';
37
+ import { ComponentAttribute } from './magic/ComponentAttribute.entity.js';
38
+ import { ComponentGroup } from './magic/ComponentGroup.entity.js';
39
+ import { ComponentProperty } from './magic/ComponentProperty.entity.js';
40
+ import { Media } from './magic/Media.entity.js';
41
+ import { Menu } from './magic/Menu.entity.js';
42
+ import { MenuAttribute } from './magic/MenuAttribute.entity.js';
43
+ import { MenuGroup } from './magic/MenuGroup.entity.js';
44
+ import { MenuProperty } from './magic/MenuProperty.entity.js';
45
+ import { Provider } from './magic/Provider.entity.js';
46
+ import { ShopifySession } from './magic/ShopifySession.entity.js';
47
+ import { Cart } from './magic/Cart.entity.js';
48
+ import { WishList } from './magic/WishList.entity.js';
49
+ import { RecentlyView } from './magic/RecentlyView.entity.js';
50
+ import { CountryX } from './magic/Country.entity.js';
51
+ import { State } from './magic/State.entity.js';
52
+ import { City } from './magic/City.entity.js';
53
+ import { TimezoneX } from './magic/Timezone.entity.js';
54
+ import { Reminder } from './magic/Reminder.entity.js';
55
+ import { Theme } from './magic/Theme.entity.js';
56
+ import { AppBuild } from './magic/AppBuild.entity.js';
57
+ import { Customer } from './magic/Customer.entity.js';
58
+ import { AppPublish } from './magic/AppPublish.entity.js';
59
+ import { ShopifyEmbeddedApp } from './magic/ShopifyEmbeddedApp.entity.js';
60
+ import { PaymentCustomer } from './payment/Customer.entity.js';
61
+ import { Invoice } from './payment/Invoice.entity.js';
62
+ import { OrderPayment } from './payment/OrderPayment.entity.js';
63
+ import { OrderPaymentLog } from './payment/OrderPaymentLog.entity.js';
64
+ import { OverrideRetryPaymentSetting } from './payment/OverrideRetryPaymentSetting.entity.js';
65
+ import { PaymentFee } from './payment/PaymentFee.entity.js';
66
+ import { PaymentGroup } from './payment/PaymentGroup.entity.js';
67
+ import { PaymentLog } from './payment/PaymentLog.entity.js';
68
+ import { PaymentProvider } from './payment/PaymentProvider.entity.js';
69
+ import { PaymentSetting } from './payment/PaymentSetting.entity.js';
70
+ import { PaymentType } from './payment/PaymentType.entity.js';
71
+ import { RetryPaymentLog } from './payment/RetryPaymentLog.entity.js';
72
+ import { RetryPaymentSetting } from './payment/RetryPaymentSetting.entity.js';
73
+ import { Subscription } from './payment/Subscription.entity.js';
74
+ import { SubscriptionLog } from './payment/SubscriptionLog.entity.js';
75
+ import { CustomizedModule } from './saas/CustomizedModule.entity.js';
76
+ import { OrderItem } from './saas/OrderItem.entity.js';
77
+ import { SaaSOrderPayment } from './saas/SaasOrderPayment.entity.js';
78
+ import { SaaSPlan } from './saas/Plan.entity.js';
79
+ import { PlanModule } from './saas/PlanModule.entity.js';
80
+ import { PlanRestriction } from './saas/PlanRestriction.entity.js';
81
+ import { ViewSubscriptionDetail } from './view/ViewSubscriptionDetail.entity.js';
82
+ export const entities = [
83
+ CaptchaTokenUsage,
84
+ LogoutTokenUsage,
85
+ PasswordTokenUsage,
86
+ Country,
87
+ CountryMl,
88
+ ErrorText,
89
+ Language,
90
+ SideMenu,
91
+ MenuMl,
92
+ Module,
93
+ Organization,
94
+ OrgSetting,
95
+ Template,
96
+ TemplateMl,
97
+ Timezone,
98
+ Plan,
99
+ RoleAllowedRole,
100
+ SignInOtpHistory,
101
+ UserDevice,
102
+ UserLoginActivity,
103
+ UserNotification,
104
+ UserPermission,
105
+ UserProfile,
106
+ UserRole,
107
+ UserSetting,
108
+ ErrorLog,
109
+ App,
110
+ AppComponent,
111
+ AppMenu,
112
+ AppMenuSettings,
113
+ AppComponentProduct,
114
+ AppScreenSettings,
115
+ AppSetting,
116
+ ColorSetting,
117
+ Component,
118
+ ComponentAttribute,
119
+ ComponentGroup,
120
+ ComponentProperty,
121
+ Media,
122
+ Menu,
123
+ MenuAttribute,
124
+ MenuGroup,
125
+ MenuProperty,
126
+ Provider,
127
+ ShopifySession,
128
+ Cart,
129
+ WishList,
130
+ ShopifyEmbeddedApp,
131
+ RecentlyView,
132
+ Reminder,
133
+ CountryX,
134
+ State,
135
+ City,
136
+ TimezoneX,
137
+ Theme,
138
+ AppBuild,
139
+ Customer,
140
+ UnsubscribedEmail,
141
+ AppPublish,
142
+ PaymentCustomer,
143
+ Invoice,
144
+ OrderPayment,
145
+ OrderPaymentLog,
146
+ OverrideRetryPaymentSetting,
147
+ PaymentFee,
148
+ PaymentGroup,
149
+ PaymentLog,
150
+ PaymentProvider,
151
+ PaymentSetting,
152
+ PaymentType,
153
+ RetryPaymentLog,
154
+ RetryPaymentSetting,
155
+ Subscription,
156
+ SubscriptionLog,
157
+ CustomizedModule,
158
+ OrderItem,
159
+ SaaSOrderPayment,
160
+ SaaSPlan,
161
+ PlanModule,
162
+ PlanRestriction,
163
+ ViewSubscriptionDetail
164
+ ];
165
+ export { CaptchaTokenUsage, LogoutTokenUsage, PasswordTokenUsage, Country, CountryMl, ErrorText, Language, SideMenu, MenuMl, Module, Organization, OrgSetting, Template, TemplateMl, Timezone, Plan, RoleAllowedRole, SignInOtpHistory, UserDevice, UserLoginActivity, UserNotification, UserPermission, UserProfile, UserRole, UserSetting, ErrorLog, App, AppScreenSettings, AppComponent, AppSetting, AppMenu, AppMenuSettings, AppComponentProduct, ColorSetting, Component, ComponentAttribute, ComponentGroup, ComponentProperty, Media, Menu, MenuAttribute, MenuGroup, MenuProperty, Provider, ShopifySession, Cart, WishList, RecentlyView, CountryX, State, City, Reminder, TimezoneX, Theme, AppBuild, Customer, UnsubscribedEmail, AppPublish, PaymentCustomer, Invoice, OrderPayment, OrderPaymentLog, OverrideRetryPaymentSetting, PaymentFee, PaymentGroup, PaymentLog, PaymentProvider, PaymentSetting, PaymentType, RetryPaymentLog, RetryPaymentSetting, Subscription, SubscriptionLog, CustomizedModule, OrderItem, SaaSOrderPayment, SaaSPlan, PlanModule, PlanRestriction, ShopifyEmbeddedApp, ViewSubscriptionDetail };
166
+ //# sourceMappingURL=index.model.js.map
@@ -0,0 +1,4 @@
1
+ export declare class CaptchaTokenUsage {
2
+ jwtToken: string;
3
+ createdAt: Date;
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare class LogoutTokenUsage {
2
+ token: string;
3
+ ts: Date;
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare class PasswordTokenUsage {
2
+ jwtToken: string;
3
+ createdAt: Date;
4
+ }
@@ -0,0 +1,41 @@
1
+ import { Relation, Reminder, SaaSOrderPayment, Subscription, UserProfile } from "../index.model.js";
2
+ import { AppComponent } from "./AppComponent.entity.js";
3
+ import { AppMenu } from "./AppMenu.entity.js";
4
+ import { AppSetting } from "./AppSetting.entity.js";
5
+ import { ColorSetting } from "./ColorSetting.entity.js";
6
+ import { Media } from "./Media.entity.js";
7
+ import { ShopifySession } from "./ShopifySession.entity.js";
8
+ import { AppScreenSettings } from "./AppScreenSettings.entity.js";
9
+ import { AppMenuSettings } from "./AppMenuSettings.entity.js";
10
+ import { Theme } from "./Theme.entity.js";
11
+ import { AppPublish } from "./AppPublish.entity.js";
12
+ export declare class App {
13
+ id: string;
14
+ name: string;
15
+ description: string | null;
16
+ createdBy: Relation<UserProfile>;
17
+ createdAt: Date;
18
+ updatedBy: string | null;
19
+ updatedAt: Date | null;
20
+ deletedBy: string | null;
21
+ deletedAt: Date | null;
22
+ bundleId: string | null;
23
+ appIcon: Relation<Media>;
24
+ shopifySession: Relation<ShopifySession>;
25
+ splashScreen: Relation<Media>;
26
+ theme: Theme;
27
+ appComponents: AppComponent[];
28
+ appMenus: AppMenu[];
29
+ appMenuSettings: AppMenuSettings;
30
+ appScreenSettings: AppScreenSettings;
31
+ appSetting: Relation<AppSetting>;
32
+ colorSetting: Relation<ColorSetting>;
33
+ themes: Theme[];
34
+ appBuilds: Theme[];
35
+ keyStore: Relation<Media>;
36
+ keyStoreConfig: Relation<Media>;
37
+ reminders: Reminder[];
38
+ appPublish: Relation<AppPublish>;
39
+ orderPayment: SaaSOrderPayment[];
40
+ subscription: Subscription[];
41
+ }
@@ -0,0 +1,22 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Media, Relation, UserProfile } from "../index.model.js";
3
+ export declare class AppBuild {
4
+ id: number;
5
+ status: number;
6
+ createdAt: Date;
7
+ updatedAt: Date | null;
8
+ versionMajor: number;
9
+ versionMinor: number;
10
+ versionPatch: number;
11
+ completedPercentage: number;
12
+ joinedAppName: string | null;
13
+ jobId: string | null;
14
+ platform: string;
15
+ errMsg: string;
16
+ app: Relation<App>;
17
+ apkUrl: Relation<Media>;
18
+ debugApkUrl: Relation<Media>;
19
+ logMedia: Relation<Media>;
20
+ sourceMedia: Relation<Media>;
21
+ createdBy: Relation<UserProfile>;
22
+ }
@@ -0,0 +1,55 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Component } from "./Component.entity.js";
3
+ import { AppComponentProduct, Relation } from "../index.model.js";
4
+ export declare class AppComponent {
5
+ id: string;
6
+ displayOrder: number;
7
+ addToCart: boolean | null;
8
+ autoPlay: boolean | null;
9
+ actionText: string | null;
10
+ barType: string | null;
11
+ clickable: boolean | null;
12
+ contentType: string | null;
13
+ controlBar: boolean | null;
14
+ customerDiscountCode: string | null;
15
+ discountCode: string | null;
16
+ discountImage: string | null;
17
+ displayType: string | null;
18
+ dividerType: string | null;
19
+ hasActionText: boolean | null;
20
+ hasItemMargin: boolean | null;
21
+ hasMargin: boolean | null;
22
+ hideBorder: boolean | null;
23
+ hideWhenFinish: boolean | null;
24
+ linkTo: string | null;
25
+ isNeedLink: boolean | null;
26
+ loop: boolean | null;
27
+ muteBtn: boolean | null;
28
+ placeholder: string | null;
29
+ promotionImage: string | null;
30
+ restartBtn: boolean | null;
31
+ showItemTitle: boolean | null;
32
+ showPrice: boolean | null;
33
+ showTitle: boolean | null;
34
+ thumbnailImage: string | null;
35
+ timerExpireDate: string | null;
36
+ timerNumberColor: string | null;
37
+ timerTimezone: string | null;
38
+ title: string | null;
39
+ titleAlignment: string | null;
40
+ titlePosition: string | null;
41
+ videoDisplayType: string | null;
42
+ videoUpload: string | null;
43
+ viewSize: string | null;
44
+ isAutoSelect: boolean | null;
45
+ collectionId: string | null;
46
+ createdBy: string | null;
47
+ createdAt: Date;
48
+ updatedBy: string | null;
49
+ updatedAt: Date | null;
50
+ deletedBy: string | null;
51
+ deletedAt: Date | null;
52
+ app: Relation<App>;
53
+ component: Relation<Component>;
54
+ appComponentProducts: AppComponentProduct[];
55
+ }
@@ -0,0 +1,8 @@
1
+ import { AppComponent } from "./AppComponent.entity.js";
2
+ export declare class AppComponentProduct {
3
+ appComponentId: string;
4
+ itemId: string;
5
+ type: string;
6
+ displayOrder: number | null;
7
+ appComponent: AppComponent;
8
+ }
@@ -0,0 +1,18 @@
1
+ import { Relation } from "../index.model.js";
2
+ import { App } from "./App.entity.js";
3
+ import { Menu } from "./Menu.entity.js";
4
+ export declare class AppMenu {
5
+ id: string;
6
+ displayOrder: number;
7
+ name: string | null;
8
+ icon: string | null;
9
+ url: string | null;
10
+ createdBy: string | null;
11
+ createdAt: Date;
12
+ updatedBy: string | null;
13
+ updatedAt: Date | null;
14
+ deletedBy: string | null;
15
+ deletedAt: Date | null;
16
+ app: Relation<App>;
17
+ menu: Relation<Menu>;
18
+ }
@@ -0,0 +1,16 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class AppMenuSettings {
4
+ appId: string;
5
+ titleAlignType: string | null;
6
+ iconType: string | null;
7
+ menuStyle: number | null;
8
+ textColor: string | null;
9
+ createdBy: string | null;
10
+ createdAt: Date;
11
+ updatedBy: string | null;
12
+ updatedAt: Date | null;
13
+ deletedBy: string | null;
14
+ deletedAt: Date | null;
15
+ app: Relation<App>;
16
+ }
@@ -0,0 +1,11 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class AppPublish {
4
+ appId: string;
5
+ publishedAt: Date;
6
+ app: Relation<App>;
7
+ promotionalText: string | null;
8
+ category: string | null;
9
+ subCategory: string | null;
10
+ description: string | null;
11
+ }
@@ -0,0 +1,31 @@
1
+ import { Relation } from "../index.model.js";
2
+ import { App } from "./App.entity.js";
3
+ export declare class AppScreenSettings {
4
+ appId: string;
5
+ hideOutOfProducts: boolean | null;
6
+ sortFunction: boolean | null;
7
+ showVendorName: boolean | null;
8
+ showDiscountPercentage: boolean | null;
9
+ showSubCollection: boolean | null;
10
+ autoNavToCart: boolean | null;
11
+ showVariantImg: boolean | null;
12
+ autoSelectVariant: boolean | null;
13
+ showRecentlyViewed: boolean | null;
14
+ displayBrandName: boolean | null;
15
+ decimalPlaces: number | null;
16
+ showProductModelNumber: boolean | null;
17
+ hideShippingRate: boolean | null;
18
+ orderNote: boolean | null;
19
+ disableCheckout: boolean | null;
20
+ skipLogin: boolean | null;
21
+ minimumCartValue: string | null;
22
+ createdBy: string | null;
23
+ createdAt: Date;
24
+ updatedBy: string | null;
25
+ updatedAt: Date | null;
26
+ deletedBy: string | null;
27
+ deletedAt: Date | null;
28
+ showQuantity: boolean;
29
+ showStockKeepingUnit: boolean;
30
+ app: Relation<App>;
31
+ }
@@ -0,0 +1,13 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class AppSetting {
4
+ appId: string;
5
+ showGuestCheckout: boolean;
6
+ showHolidayEffect: boolean;
7
+ showBranding: boolean;
8
+ language: string;
9
+ shopifyDiscountUrl: string;
10
+ shopifyAdminUrl: string;
11
+ appPublished: boolean;
12
+ app: Relation<App>;
13
+ }
@@ -0,0 +1,6 @@
1
+ export declare class Cart {
2
+ id: string;
3
+ customerId: string;
4
+ createdAt: Date;
5
+ checkoutToken: string | null;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { CountryX } from "./Country.entity.js";
2
+ import { State } from "./State.entity.js";
3
+ import { Relation } from "../index.model.js";
4
+ export declare class City {
5
+ id: string;
6
+ name: string | null;
7
+ stateCode: string | null;
8
+ latitude: string | null;
9
+ longitude: string | null;
10
+ country: Relation<CountryX>;
11
+ state: Relation<State>;
12
+ }
@@ -0,0 +1,15 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class ColorSetting {
4
+ appId: string;
5
+ primaryColor: string;
6
+ secondaryColor: string;
7
+ cartColor: string;
8
+ chatColor: string;
9
+ menuIcon: string;
10
+ cartIcon: string;
11
+ chatIcon: string;
12
+ appTitleBanner: string | null;
13
+ isActive: boolean;
14
+ app: Relation<App>;
15
+ }