types-magic-api 0.1.25 → 0.1.26

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 +342 -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 +1009 -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,15 @@
1
+ import { AppComponent } from "./AppComponent.entity.js";
2
+ import { ComponentAttribute } from "./ComponentAttribute.entity.js";
3
+ export declare class Component {
4
+ id: string;
5
+ name: string;
6
+ createdBy: string | null;
7
+ createdAt: Date;
8
+ updatedBy: string | null;
9
+ updatedAt: Date | null;
10
+ deletedBy: string | null;
11
+ deletedAt: Date | null;
12
+ displayOrder: number;
13
+ appComponents: AppComponent[];
14
+ componentAttributes: ComponentAttribute[];
15
+ }
@@ -0,0 +1,12 @@
1
+ import { Component } from "./Component.entity.js";
2
+ import { ComponentProperty } from "./ComponentProperty.entity.js";
3
+ import { ComponentGroup } from "./ComponentGroup.entity.js";
4
+ import { Relation } from "../index.model.js";
5
+ export declare class ComponentAttribute {
6
+ id: string;
7
+ displayOrder: number;
8
+ isActive: boolean;
9
+ component: Relation<Component>;
10
+ componentProperty: Relation<ComponentProperty>;
11
+ group: Relation<ComponentGroup>;
12
+ }
@@ -0,0 +1,6 @@
1
+ import { ComponentAttribute } from "./ComponentAttribute.entity.js";
2
+ export declare class ComponentGroup {
3
+ id: string;
4
+ name: string;
5
+ componentAttributes: ComponentAttribute[];
6
+ }
@@ -0,0 +1,12 @@
1
+ import { ComponentAttribute } from "./ComponentAttribute.entity.js";
2
+ export declare class ComponentProperty {
3
+ id: string;
4
+ name: string;
5
+ createdBy: string | null;
6
+ createdAt: Date;
7
+ updatedBy: string | null;
8
+ updatedAt: Date | null;
9
+ deletedBy: string | null;
10
+ deletedAt: Date | null;
11
+ componentAttributes: ComponentAttribute[];
12
+ }
@@ -0,0 +1,21 @@
1
+ import { City } from "./City.entity.js";
2
+ import { State } from "./State.entity.js";
3
+ import { TimezoneX } from "./Timezone.entity.js";
4
+ export declare class CountryX {
5
+ id: string;
6
+ name: string | null;
7
+ isoThere: string | null;
8
+ isoTwo: string | null;
9
+ numericCode: string | null;
10
+ phoneCode: string | null;
11
+ capital: string | null;
12
+ currency: string | null;
13
+ currencyName: string | null;
14
+ currencySymbol: string | null;
15
+ latitude: string | null;
16
+ longitude: string | null;
17
+ region: string | null;
18
+ cities: City[];
19
+ states: State[];
20
+ timezones: TimezoneX[];
21
+ }
@@ -0,0 +1,4 @@
1
+ export declare class Customer {
2
+ id: string;
3
+ language: string;
4
+ }
@@ -0,0 +1,25 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Theme } from "./Theme.entity.js";
3
+ import { AppBuild } from "./AppBuild.entity.js";
4
+ export declare class Media {
5
+ id: string;
6
+ path: string;
7
+ name: string;
8
+ contentType: string;
9
+ size: number;
10
+ createdBy: string;
11
+ createdAt: Date;
12
+ updatedAt: Date | null;
13
+ updatedBy: string | null;
14
+ deletedAt: Date | null;
15
+ deletedBy: string | null;
16
+ apps: App[];
17
+ apps2: App[];
18
+ apps3: App[];
19
+ apps4: App[];
20
+ themes: Theme[];
21
+ appBuilds: AppBuild[];
22
+ appBuilds2: AppBuild[];
23
+ appBuilds3: AppBuild[];
24
+ appBuilds4: AppBuild[];
25
+ }
@@ -0,0 +1,18 @@
1
+ import { MenuAttribute } from "./MenuAttribute.entity.js";
2
+ import { AppMenu } from "./AppMenu.entity.js";
3
+ export declare class Menu {
4
+ id: string;
5
+ name: string;
6
+ createdBy: string | null;
7
+ displayName: string | null;
8
+ icon: string | null;
9
+ redirect: string | null;
10
+ createdAt: Date;
11
+ updatedBy: string | null;
12
+ updatedAt: Date | null;
13
+ deletedBy: string | null;
14
+ deletedAt: Date | null;
15
+ displayOrder: number;
16
+ appMenus: AppMenu[];
17
+ menuAttributes: MenuAttribute[];
18
+ }
@@ -0,0 +1,12 @@
1
+ import { MenuGroup } from "./MenuGroup.entity.js";
2
+ import { Menu } from "./Menu.entity.js";
3
+ import { MenuProperty } from "./MenuProperty.entity.js";
4
+ import { Relation } from "../index.model.js";
5
+ export declare class MenuAttribute {
6
+ id: string;
7
+ displayOrder: number;
8
+ isActive: boolean;
9
+ group: Relation<MenuGroup>;
10
+ menu: Relation<Menu>;
11
+ menuProperty: Relation<MenuProperty>;
12
+ }
@@ -0,0 +1,6 @@
1
+ import { MenuAttribute } from "./MenuAttribute.entity.js";
2
+ export declare class MenuGroup {
3
+ id: string;
4
+ name: string;
5
+ menuAttributes: MenuAttribute[];
6
+ }
@@ -0,0 +1,12 @@
1
+ import { MenuAttribute } from "./MenuAttribute.entity.js";
2
+ export declare class MenuProperty {
3
+ id: string;
4
+ name: string;
5
+ createdBy: string | null;
6
+ createdAt: Date;
7
+ updatedBy: string | null;
8
+ updatedAt: Date | null;
9
+ deletedBy: string | null;
10
+ deletedAt: Date | null;
11
+ menuAttributes: MenuAttribute[];
12
+ }
@@ -0,0 +1,13 @@
1
+ export declare class Provider {
2
+ id: number;
3
+ name: string;
4
+ isActive: boolean;
5
+ createdAt: Date;
6
+ icon: string | null;
7
+ link: string | null;
8
+ apiKey: string | null;
9
+ apiSecret: string | null;
10
+ apiHost: string | null;
11
+ apiRedirectUrl: string | null;
12
+ apiScopes: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ export declare class RecentlyView {
2
+ productId: string;
3
+ customerId: string;
4
+ viewedAt: Date;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { App } from "./App.entity.js";
2
+ export declare class Reminder {
3
+ id: number;
4
+ productId: string;
5
+ customerId: string;
6
+ createAt: Date;
7
+ isSent: boolean;
8
+ sentAt: Date | null;
9
+ productVariantId: string;
10
+ app: App;
11
+ }
@@ -0,0 +1,5 @@
1
+ export declare class ShopifyEmbeddedApp {
2
+ storeName: string;
3
+ isEmbedded: boolean | null;
4
+ createAt: string | null;
5
+ }
@@ -0,0 +1,13 @@
1
+ import { App } from "./App.entity.js";
2
+ export declare class ShopifySession {
3
+ id: string;
4
+ name: string;
5
+ state: string;
6
+ isOnline: boolean;
7
+ accessToken: string | null;
8
+ scope: string | null;
9
+ storeFrontToken: string | null;
10
+ qrId: string;
11
+ createdAt: Date;
12
+ apps: App[];
13
+ }
@@ -0,0 +1,12 @@
1
+ import { City } from "./City.entity.js";
2
+ import { CountryX } from "./Country.entity.js";
3
+ import { Relation } from "../index.model.js";
4
+ export declare class State {
5
+ id: string;
6
+ name: string | null;
7
+ stateCode: string | null;
8
+ latitude: string | null;
9
+ longitude: string | null;
10
+ cities: City[];
11
+ country: Relation<CountryX>;
12
+ }
@@ -0,0 +1,17 @@
1
+ import { App } from "./App.entity.js";
2
+ import { Media } from "./Media.entity.js";
3
+ import { Relation } from "../index.model.js";
4
+ export declare class Theme {
5
+ id: number;
6
+ name: string;
7
+ isPremium: boolean;
8
+ createAt: Date;
9
+ isActive: boolean;
10
+ colors: string[];
11
+ description: string | null;
12
+ webToken: string | null;
13
+ features: string | null;
14
+ app: Relation<App>;
15
+ media: Relation<Media>;
16
+ apps: App[];
17
+ }
@@ -0,0 +1,11 @@
1
+ import { CountryX } from "./Country.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class TimezoneX {
4
+ id: number;
5
+ zone: string | null;
6
+ gmtOffSet: number | null;
7
+ gmtOffSetName: string | null;
8
+ abbreviation: string | null;
9
+ name: string | null;
10
+ country: Relation<CountryX>;
11
+ }
@@ -0,0 +1,6 @@
1
+ export declare class WishList {
2
+ id: number;
3
+ productId: string;
4
+ customerId: string;
5
+ createdAt: Date;
6
+ }
@@ -0,0 +1,16 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class PaymentCustomer {
3
+ id: string;
4
+ orgId: string;
5
+ userId: string;
6
+ liveMode: boolean | null;
7
+ ref: object | null;
8
+ createdAt: Date;
9
+ createdBy: string;
10
+ updatedAt: Date | null;
11
+ updatedBy: string | null;
12
+ deletedAt: Date | null;
13
+ deletedBy: string | null;
14
+ invoices: Model.Invoice[];
15
+ subscriptions: Model.Subscription[];
16
+ }
@@ -0,0 +1,19 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class Invoice {
3
+ id: string;
4
+ orgId: string;
5
+ planId: string;
6
+ amount: string;
7
+ createdAt: Date;
8
+ periodStart: Date;
9
+ periodEnd: Date;
10
+ interval: number;
11
+ paidAt: Date | null;
12
+ status: number;
13
+ postPaymentCreditNotesAmount: string;
14
+ prePaymentCreditNotesAmount: string;
15
+ ref: object | null;
16
+ isSentUser: boolean;
17
+ customer: Model.Relation<Model.PaymentCustomer>;
18
+ subscription: Model.Relation<Model.Subscription>;
19
+ }
@@ -0,0 +1,27 @@
1
+ import * as Model from '../index.model.js';
2
+ import { IOrderDetail } from "../../index.model.js";
3
+ export declare class OrderPayment {
4
+ id: string;
5
+ orderId: string;
6
+ paymentSettingsId: number;
7
+ paymentAmount: string;
8
+ paymentCurrency: string;
9
+ createdBy: string | null;
10
+ createdAt: Date | null;
11
+ paymentFulfilledTs: Date | null;
12
+ paymentStatus: number;
13
+ providerRef: object | null;
14
+ providerFulfillmentRef: object | null;
15
+ providerResponse: string | null;
16
+ approvalCode: string | null;
17
+ transactionCode: string | null;
18
+ feeAmount: string;
19
+ initialRef: object | null;
20
+ orderDetail: IOrderDetail | null;
21
+ order: Model.Relation<OrderPayment>;
22
+ orderPayments: OrderPayment[];
23
+ paymentFee: Model.Relation<Model.PaymentFee>;
24
+ paymentSettings: Model.Relation<Model.PaymentSetting>;
25
+ subscriptions: Model.Subscription[];
26
+ orderPayment: Model.Relation<Model.SaaSOrderPayment>;
27
+ }
@@ -0,0 +1,8 @@
1
+ export declare class OrderPaymentLog {
2
+ id: string;
3
+ orderPaymentId: string | null;
4
+ ts: Date | null;
5
+ fromStatus: number | null;
6
+ toStatus: number | null;
7
+ response: string | null;
8
+ }
@@ -0,0 +1,8 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class OverrideRetryPaymentSetting {
3
+ retryPaymentSettingsId: number;
4
+ paymentProviderId: string;
5
+ hoursAfterPayment: string[];
6
+ paymentProvider: Model.Relation<Model.PaymentProvider>;
7
+ retryPaymentSettings: Model.Relation<Model.RetryPaymentSetting>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class PaymentFee {
3
+ id: number;
4
+ paymentSettingId: number;
5
+ paymentType: string;
6
+ orgId: string;
7
+ currency: string;
8
+ textToDisplay: string;
9
+ feePerc: string;
10
+ feeAmount: string;
11
+ isActive: boolean;
12
+ updatedBy: string | null;
13
+ updatedTs: Date | null;
14
+ orderPayments: Model.OrderPayment[];
15
+ paymentType2: Model.Relation<Model.PaymentType>;
16
+ paymentSetting: Model.Relation<Model.PaymentSetting>;
17
+ }
@@ -0,0 +1,9 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class PaymentGroup {
3
+ id: string;
4
+ name: string | null;
5
+ orgId: string;
6
+ description: string | null;
7
+ displayOrder: number | null;
8
+ paymentSettings: Model.PaymentSetting[];
9
+ }
@@ -0,0 +1,7 @@
1
+ export declare class PaymentLog {
2
+ logId: string;
3
+ ts: Date;
4
+ payload: string | null;
5
+ orderPaymentId: string;
6
+ logStage: number | null;
7
+ }
@@ -0,0 +1,14 @@
1
+ import * as Model from '../../index.model.js';
2
+ export declare class PaymentProvider {
3
+ providerId: string;
4
+ providerType: string | null;
5
+ providerSetting: Model.IProviderSetting | null;
6
+ orgId: string;
7
+ cardType: string | null;
8
+ acceptableCurrencies: string[] | null;
9
+ isProduction: boolean;
10
+ logoUrl: string;
11
+ smallLogoUrl: string | null;
12
+ overrideRetryPaymentSettings: Model.OverrideRetryPaymentSetting[];
13
+ paymentSettings: Model.PaymentSetting[];
14
+ }
@@ -0,0 +1,17 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class PaymentSetting {
3
+ id: number;
4
+ providerId: string;
5
+ orgId: string;
6
+ providerName: string;
7
+ isActive: boolean;
8
+ groupId: string;
9
+ displayOrder: number;
10
+ applicableCurrencies: string[] | null;
11
+ updatedBy: string;
12
+ updatedTs: Date;
13
+ orderPayments: Model.OrderPayment[];
14
+ paymentFees: Model.PaymentFee[];
15
+ paymentGroup: Model.Relation<Model.PaymentGroup>;
16
+ provider: Model.Relation<Model.PaymentProvider>;
17
+ }
@@ -0,0 +1,8 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class PaymentType {
3
+ orgId: string;
4
+ paymentType: string;
5
+ typename: string | null;
6
+ groupId: string;
7
+ paymentFees: Model.PaymentFee[];
8
+ }
@@ -0,0 +1,9 @@
1
+ export declare class RetryPaymentLog {
2
+ id: string;
3
+ ts: Date;
4
+ orderPaymentId: string;
5
+ status: number;
6
+ statusReason: number;
7
+ message: string | null;
8
+ retryFrequencyNumber: string | null;
9
+ }
@@ -0,0 +1,7 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class RetryPaymentSetting {
3
+ id: number;
4
+ orgId: string;
5
+ hoursAfterPayment: string[];
6
+ overrideRetryPaymentSettings: Model.OverrideRetryPaymentSetting[];
7
+ }
@@ -0,0 +1,21 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class Subscription {
3
+ id: string;
4
+ status: number;
5
+ currentPeriodEnd: Date | null;
6
+ currentPeriodStart: Date | null;
7
+ trialStart: Date | null;
8
+ trialEnd: Date | null;
9
+ cancelAt: Date | null;
10
+ canceledAt: Date | null;
11
+ ref: object | null;
12
+ createdAt: Date;
13
+ updatedAt: Date | null;
14
+ deletedAt: Date | null;
15
+ isPaused: boolean;
16
+ invoices: Model.Invoice[];
17
+ customer: Model.Relation<Model.PaymentCustomer>;
18
+ orderPayment: Model.Relation<Model.OrderPayment>;
19
+ subscriptionLogs: Model.SubscriptionLog[];
20
+ app: Model.Relation<Model.App> | null;
21
+ }
@@ -0,0 +1,9 @@
1
+ import * as Model from '../index.model.js';
2
+ export declare class SubscriptionLog {
3
+ id: number;
4
+ createdAt: Date;
5
+ ref: object | null;
6
+ status: number;
7
+ billingCycleAnchor: Date;
8
+ subscription: Model.Relation<Model.Subscription>;
9
+ }
@@ -0,0 +1,14 @@
1
+ import { CountryMl } from "./CountryMl.entity.js";
2
+ import { Organization } from "./Organization.entity.js";
3
+ import { Timezone } from "./Timezone.entity.js";
4
+ export declare class Country {
5
+ id: string;
6
+ value: string;
7
+ callingCode: string | null;
8
+ currencyCode: string | null;
9
+ currency: string | null;
10
+ symbol: string | null;
11
+ countryMls: CountryMl[];
12
+ organizations: Organization[];
13
+ timezones: Timezone[];
14
+ }
@@ -0,0 +1,8 @@
1
+ import { Country } from "./Country.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class CountryMl {
4
+ countryCode: string;
5
+ value: string | null;
6
+ langCode: string;
7
+ countryCode2: Relation<Country>;
8
+ }
@@ -0,0 +1,7 @@
1
+ export declare class ErrorLog {
2
+ id: string;
3
+ level: string | null;
4
+ message: string | null;
5
+ meta: object | null;
6
+ createdAt: Date | null;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { Language } from "./Language.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class ErrorText {
4
+ code: string;
5
+ langCode: string;
6
+ value: string;
7
+ moduleName: string | null;
8
+ langCode2: Relation<Language>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import { ErrorText } from "./ErrorText.entity.js";
2
+ export declare class Language {
3
+ code: string;
4
+ name: string | null;
5
+ errorTexts: ErrorText[];
6
+ }
@@ -0,0 +1,20 @@
1
+ import { Module } from "./Module.entity.js";
2
+ import { Organization } from "./Organization.entity.js";
3
+ import { MenuMl } from "./MenuMl.entity.js";
4
+ import { Relation } from "../index.model.js";
5
+ export declare class Menu {
6
+ orgId: string;
7
+ id: string;
8
+ icon: string;
9
+ routing: string;
10
+ parentMenuId: string | null;
11
+ isActive: boolean;
12
+ menuName: string;
13
+ displayOrder: string;
14
+ moduleCode: string | null;
15
+ moduleCode2: Relation<Module>;
16
+ menu: Relation<Menu>;
17
+ menus: Menu[];
18
+ org: Relation<Organization>;
19
+ menuMls: MenuMl[];
20
+ }
@@ -0,0 +1,9 @@
1
+ import { Menu } from "./Menu.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class MenuMl {
4
+ menuId: string;
5
+ langCode: string;
6
+ menuName: string;
7
+ orgId: string | null;
8
+ menu: Relation<Menu>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { Menu } from "./Menu.entity.js";
2
+ export declare class Module {
3
+ id: string;
4
+ description: string | null;
5
+ availablePermissions: string[] | null;
6
+ title: string | null;
7
+ displayOrder: number | null;
8
+ moduleGroup: string | null;
9
+ menus: Menu[];
10
+ }
@@ -0,0 +1,11 @@
1
+ import { Organization } from "./Organization.entity.js";
2
+ import { Relation } from "../index.model.js";
3
+ export declare class OrgSetting {
4
+ orgId: string;
5
+ emailSetting: object | null;
6
+ fireBaseSetting: string | null;
7
+ defaultUserRole: string[];
8
+ uiBaseUrl: string;
9
+ otherSetting: object | null;
10
+ org: Relation<Organization>;
11
+ }
@@ -0,0 +1,24 @@
1
+ import { Menu } from "./Menu.entity.js";
2
+ import { OrgSetting } from "./OrgSetting.entity.js";
3
+ import { Country } from "./Country.entity.js";
4
+ import { Timezone } from "./Timezone.entity.js";
5
+ import { Template } from "./Template.entity.js";
6
+ import { Relation } from "../index.model.js";
7
+ export declare class Organization {
8
+ id: string;
9
+ name: string | null;
10
+ createdAt: Date;
11
+ timezone: string | null;
12
+ address: string | null;
13
+ city: string | null;
14
+ countryCode: string | null;
15
+ url: string | null;
16
+ googleServiceAccount: string | null;
17
+ languages: object | null;
18
+ isRoot: boolean;
19
+ menus: Menu[];
20
+ orgSetting: Relation<OrgSetting>;
21
+ countryCode2: Relation<Country>;
22
+ timezone2: Relation<Timezone>;
23
+ templates: Template[];
24
+ }
@@ -0,0 +1,17 @@
1
+ import { Organization } from "./Organization.entity.js";
2
+ import { TemplateMl } from "./TemplateMl.entity.js";
3
+ import { Relation } from "../index.model.js";
4
+ export declare class Template {
5
+ id: string;
6
+ emailSubject: string | null;
7
+ emailBody: string | null;
8
+ pushSubject: string | null;
9
+ pushBody: string | null;
10
+ isActive: boolean;
11
+ emailToCc: object | null;
12
+ bodyTemplate: string | null;
13
+ headTemplate: string | null;
14
+ footerTemplate: string | null;
15
+ org: Relation<Organization>;
16
+ templateMls: TemplateMl[];
17
+ }