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,344 @@
1
+ import * as Model from "../../index.model.js";
2
+ /**
3
+ * API Name : /api/customer/qr/token/get
4
+ */
5
+ export interface GetTokenFromQRReq {
6
+ uuid: string;
7
+ }
8
+ export interface GetTokenFromQRRes {
9
+ authorization: string;
10
+ }
11
+ export interface AddWishListReq {
12
+ productId: string;
13
+ }
14
+ export interface AddWishListRes {
15
+ isSaved: boolean;
16
+ }
17
+ export interface RemoveWishListReq {
18
+ productId: string;
19
+ }
20
+ export interface RemoveWishListRes {
21
+ isRemoved: boolean;
22
+ }
23
+ export interface AddProductViewReq {
24
+ productIds: string[];
25
+ }
26
+ export interface AddProductViewRes {
27
+ isAdded: boolean;
28
+ }
29
+ export interface GetShippingZoneRes {
30
+ shippingZones: Model.ShopifyShippingZoneRes[];
31
+ }
32
+ export interface CustomerCheckoutDeliveryAddress {
33
+ address1: string | null;
34
+ address2: string | null;
35
+ city: string | null;
36
+ company: string | null;
37
+ country: string | null;
38
+ firstName: string | null;
39
+ lastName: string | null;
40
+ phone: string | null;
41
+ province: string | null;
42
+ zip: string | null;
43
+ provinceCode: string | null;
44
+ countryCode: string | null;
45
+ }
46
+ /**
47
+ * API Name: /api/customer/checkout/create
48
+ */
49
+ export interface CreateCustomerCheckoutReq {
50
+ discountAmount: string | null;
51
+ discountCode: string | null;
52
+ shippingMethodName: string | null;
53
+ isByCart: boolean;
54
+ deliveryAddress: CustomerCheckoutDeliveryAddress;
55
+ variantId: string | null;
56
+ qty: number | null;
57
+ token: string | null;
58
+ note: string | null;
59
+ }
60
+ /**
61
+ * API Name: /api/customer/checkout/create
62
+ */
63
+ export interface CreateCustomerCheckoutRes {
64
+ checkout: Model.ShopifyCheckoutRes;
65
+ }
66
+ export interface ReorderReq {
67
+ orderId: string;
68
+ }
69
+ export type ReorderRes = CreateCartRes;
70
+ /**
71
+ * API Name: /api/customer/wishlist/product/get
72
+ */
73
+ export interface GetWishListProductsReq {
74
+ count: number;
75
+ page: number;
76
+ }
77
+ /**
78
+ * API Name: /api/customer/wishlist/product/get
79
+ */
80
+ export interface GetWishListProductsRes extends Model.GetAllCustomerProductsByIdsRes {
81
+ count: number;
82
+ page: number;
83
+ totalCount: number;
84
+ totalPage: number;
85
+ }
86
+ /**
87
+ * API Name: /api/customer/setting/save
88
+ */
89
+ export interface SaveCustomerSettingReq {
90
+ language: string;
91
+ }
92
+ /**
93
+ * API Name: /api/customer/setting/save
94
+ */
95
+ export interface SaveCustomerSettingRes {
96
+ isSaved: boolean;
97
+ }
98
+ /**
99
+ * API Name: /api/customer/setting/get
100
+ */
101
+ export interface GetCustomerSettingRes {
102
+ setting: Model.Customer;
103
+ }
104
+ export interface MailingAddressInput {
105
+ address1: string | null;
106
+ address2: string | null;
107
+ city: string | null;
108
+ company: string | null;
109
+ country: string | null;
110
+ firstName: string | null;
111
+ lastName: string | null;
112
+ phone: string | null;
113
+ province?: string | null;
114
+ zip: string | null;
115
+ }
116
+ /**
117
+ * API Name: /api/customer/address/create
118
+ */
119
+ export type CreateCustomerAddressReq = MailingAddressInput;
120
+ /**
121
+ * API Name: /api/customer/address/create
122
+ */
123
+ export interface CreateCustomerAddressRes {
124
+ isCreated: boolean;
125
+ address: Model.MailingAddress;
126
+ }
127
+ /**
128
+ * API Name: /api/customer/address/delete
129
+ */
130
+ export interface DeleteCustomerAddressReq {
131
+ id: string;
132
+ }
133
+ /**
134
+ * API Name: /api/customer/address/delete
135
+ */
136
+ export interface DeleteCustomerAddressRes {
137
+ isDeleted: boolean;
138
+ }
139
+ /**
140
+ * API Name: /api/customer/address/update
141
+ */
142
+ export interface UpdateCustomerAddressReq extends CreateCustomerAddressReq {
143
+ id: string;
144
+ }
145
+ /**
146
+ * API Name: /api/customer/address/update
147
+ */
148
+ export interface UpdateCustomerAddressRes {
149
+ isUpdated: boolean;
150
+ address: Model.MailingAddress;
151
+ }
152
+ /**
153
+ * API Name: /api/customer/address/default/update
154
+ */
155
+ export interface UpdateCustomerDefaultAddressReq {
156
+ addressId: string;
157
+ }
158
+ /**
159
+ * API Name: /api/customer/address/default/update
160
+ */
161
+ export interface UpdateCustomerDefaultAddressRes {
162
+ isUpdated: boolean;
163
+ id: string;
164
+ }
165
+ /**
166
+ * API Name: /api/customer/create
167
+ */
168
+ export interface CustomerCreateReq {
169
+ acceptsMarketing: boolean;
170
+ email: string;
171
+ firstName?: string;
172
+ lastName?: string;
173
+ password: string;
174
+ phone?: string;
175
+ language: string;
176
+ }
177
+ /**
178
+ * API Name: /api/customer/create
179
+ */
180
+ export interface CustomerCreateRes {
181
+ customer: Model.ICustomer;
182
+ }
183
+ /**
184
+ * API Name: /api/customer/cart/address
185
+ */
186
+ export interface addCartDeliveryAddressReq {
187
+ cartId: string;
188
+ addresses: Array<{
189
+ selected: boolean;
190
+ address: {
191
+ deliveryAddress: {
192
+ address1: string;
193
+ address2?: string;
194
+ city: string;
195
+ company?: string;
196
+ firstName?: string;
197
+ lastName?: string;
198
+ phone?: string;
199
+ provinceCode: string;
200
+ zip: string;
201
+ countryCode: string;
202
+ };
203
+ };
204
+ }>;
205
+ }
206
+ /**
207
+ * API Name: /api/customer/get
208
+ */
209
+ export interface GetCustomerReq {
210
+ count: number;
211
+ cursor: string | null;
212
+ isNextPage: boolean;
213
+ isPrevPage: boolean;
214
+ }
215
+ /**
216
+ * API Name: /api/customer/order/get
217
+ */
218
+ export interface GetCustomerOrderRes {
219
+ orders: Model.CustomerOrder[];
220
+ }
221
+ /**
222
+ * API Name: /api/customer/get
223
+ */
224
+ export interface GetCustomerRes {
225
+ customer: Model.ICustomer;
226
+ pageInfo?: Model.StoreFrontPageInfo;
227
+ }
228
+ /**
229
+ * API Name: /api/customer/update
230
+ */
231
+ export type CustomerUpdateReq = Omit<CustomerCreateReq, 'password' | 'language'>;
232
+ /**
233
+ * API Name: /api/customer/update
234
+ */
235
+ export interface CustomerUpdateRes {
236
+ isUpdated: boolean;
237
+ token: string | null;
238
+ }
239
+ export interface ShopifyCartInfoReq {
240
+ count: number;
241
+ reverse: boolean;
242
+ cursor: string | null;
243
+ isNextPage: boolean;
244
+ isPrevPage: boolean;
245
+ }
246
+ export interface GetCartReq {
247
+ pageInfo: ShopifyCartInfoReq;
248
+ }
249
+ export interface GetCartRes {
250
+ cart: Model.ICart | null;
251
+ }
252
+ export interface CreateCartReq {
253
+ lines: Model.CartLineInput[];
254
+ note: string | null;
255
+ discountCodes: string[];
256
+ }
257
+ export interface CreateCartRes {
258
+ id: string;
259
+ }
260
+ /**
261
+ * API Name: /api/customer/product/get
262
+ */
263
+ export interface GetCustomerProductByIdReq {
264
+ id: string;
265
+ }
266
+ /**
267
+ * API Name: /api/customer/product/get
268
+ */
269
+ export interface GetCustomerProductByIdRes {
270
+ product: Model.ICustomerProduct;
271
+ }
272
+ /**
273
+ * API Name: /api/customer/product/get/all
274
+ */
275
+ export interface GetCustomerAllProductsReq {
276
+ count: number;
277
+ reverse: boolean;
278
+ sortKey: Model.ProductSortKeys | null;
279
+ searchKey: string | null;
280
+ cursor: string | null;
281
+ isNextPage: boolean;
282
+ isPrevPage: boolean;
283
+ filter: {
284
+ tag: string | null;
285
+ lowPrice: string | number | null;
286
+ highPrice: string | number | null;
287
+ productType: string | null;
288
+ vendor: string | null;
289
+ availableForSale: boolean | null;
290
+ };
291
+ }
292
+ /**
293
+ * API Name: /api/customer/product/get/all
294
+ */
295
+ export interface GetCustomerAllProductsRes {
296
+ products: Model.ICustomerProductX[];
297
+ pageInfo: Model.StoreFrontPageInfo | undefined;
298
+ }
299
+ /**
300
+ * API Name: /api/customer/product/recommendations/get
301
+ */
302
+ export interface GetProductRecommendationsReq {
303
+ productId: string;
304
+ recommendationIntent: Model.ProductRecommendationIntent;
305
+ }
306
+ /**
307
+ * API Name: /api/customer/product/recommendations/get
308
+ */
309
+ export interface GetProductRecommendationsRes {
310
+ productRecommendations: Model.ICustomerProductX[];
311
+ }
312
+ /**
313
+ * API Name: /api/customer/collection/get
314
+ */
315
+ export interface GetCustomerCollectionByIdReq extends Omit<GetCustomerAllProductsReq, 'sortKey' | 'searchKey'> {
316
+ id: string;
317
+ sortKey: Model.ProductCollectionSortKeys | null;
318
+ }
319
+ /**
320
+ * API Name: /api/customer/collection/get
321
+ */
322
+ export interface GetCustomerCollectionByIdRes {
323
+ collection: Model.ICustomerCollection;
324
+ pageInfo: Model.StoreFrontPageInfo | undefined;
325
+ }
326
+ /**
327
+ * API Name: /api/customer/collection/get/all
328
+ */
329
+ export interface GetCustomerAllCollectionsReq {
330
+ count: number;
331
+ reverse: boolean;
332
+ sortKey: Model.CollectionSortKeys | null;
333
+ searchKey: string | null;
334
+ cursor: string | null;
335
+ isNextPage: boolean;
336
+ isPrevPage: boolean;
337
+ }
338
+ /**
339
+ * API Name: /api/customer/collection/get/all
340
+ */
341
+ export interface GetCustomerAllCollectionsRes {
342
+ collections: Model.ICollection[];
343
+ pageInfo: Model.StoreFrontPageInfo | undefined;
344
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=customer.model.js.map
@@ -0,0 +1,134 @@
1
+ import { Language } from "../../index.model.js";
2
+ export declare enum ComponentTypes {
3
+ CAROUSEL = "CAROUSEL",
4
+ CIRCLE = "CIRCLE",
5
+ COUNTDOWN_TIMER = "COUNTDOWN_TIMER",
6
+ DISCOUNT = "DISCOUNT",
7
+ DIVIDER = "DIVIDER",
8
+ GALLERY = "GALLERY",
9
+ GRID = "GRID",
10
+ IMAGE = "IMAGE",
11
+ RECENTLY_VIEWED = "RECENTLY_VIEWED",
12
+ SEARCH_BAR = "SEARCH_BAR",
13
+ SLIDER = "SLIDER",
14
+ SLIDESHOW = "SLIDESHOW",
15
+ TITLE = "TITLE",
16
+ VIDEO_PLAYER = "VIDEO_PLAYER"
17
+ }
18
+ export declare enum EComponentProperty {
19
+ ADD_TO_CART = "addToCart",
20
+ AUTO_PLAY = "autoPlay",
21
+ ACTION_TEXT = "actionText",
22
+ BAR_TYPE = "barType",
23
+ CLICKABLE = "clickable",
24
+ CONTENT_TYPE = "contentType",
25
+ CONTROL_BAR = "controlBar",
26
+ CUSTOMER_DISCOUNT_CODE = "customerDiscountCode",
27
+ DISCOUNT_CODE = "discountCode",
28
+ DISCOUNT_IMAGE = "discountImage",
29
+ DISPLAY_TYPE = "displayType",
30
+ DIVIDER_TYPE = "dividerType",
31
+ HAS_ACTION_TEXT = "hasActionText",
32
+ HAS_ITEM_MARGIN = "hasItemMargin",
33
+ HAS_MARGIN = "hasMargin",
34
+ HIDE_BORDER = "hideBorder",
35
+ HIDE_WHEN_FINISH = "hideWhenFinish",
36
+ LINK_TO = "linkTo",
37
+ IS_NEED_LINK = "isNeedLink",
38
+ LOOP = "loop",
39
+ MUTE_BTN = "muteBtn",
40
+ PLACEHOLDER = "placeholder",
41
+ PROMOTION_IMAGE = "promotionImage",
42
+ RESTART_BTN = "restartBtn",
43
+ SHOW_ITEM_TITLE = "showItemTitle",
44
+ SHOW_PRICE = "showPrice",
45
+ SHOW_TITLE = "showTitle",
46
+ THUMBNAIL_IMAGE = "thumbnailImage",
47
+ TIMER_EXPIRE_DATE = "timerExpireDate",
48
+ TIMER_NUMBER_COLOR = "timerNumberColor",
49
+ TIMER_TIMEZONE = "timerTimezone",
50
+ TITLE = "title",
51
+ TITLE_ALIGNMENT = "titleAlignment",
52
+ TITLE_POSITION = "titlePosition",
53
+ VIDEO_DISPLAY_TYPE = "videoDisplayType",
54
+ VIDEO_UPLOAD = "videoUpload",
55
+ VIEW_SIZE = "viewSize"
56
+ }
57
+ export type DefaultComponents = {
58
+ [key in ComponentTypes]: string[];
59
+ };
60
+ export interface IComponentGroup {
61
+ id: string;
62
+ name: string;
63
+ components: DefaultComponents;
64
+ }
65
+ /**
66
+ * API Name: /api/default/component/get/all
67
+ */
68
+ export interface GetAllComponentRes {
69
+ componentGroups: IComponentGroup[];
70
+ }
71
+ export declare enum MenuTypes {
72
+ SHOWCASE = "SHOWCASE",
73
+ MY_ORDERS = "MY_ORDERS",
74
+ NOTIFICATION = "NOTIFICATION",
75
+ SEARCH = "SEARCH",
76
+ MY_ACCOUNT = "MY_ACCOUNT",
77
+ WEB_URL = "WEB_URL",
78
+ CART = "CART",
79
+ HOME_PAGE = "HOME_PAGE",
80
+ ALL_PRODUCT = "ALL_PRODUCT",
81
+ RECENTLY_VIEWED = "RECENTLY_VIEWED",
82
+ FAVORITES = "FAVORITES",
83
+ GROUP = "GROUP",
84
+ CONTACT = "CONTACT",
85
+ MOBILE_APP_PRIVACY_POLICY = "MOBILE_APP_PRIVACY_POLICY",
86
+ STYLE = "STYLE",
87
+ COLOR = "COLOR",
88
+ PAGE = "PAGE",
89
+ COLLECTION = "COLLECTION"
90
+ }
91
+ export declare enum EMenuProperty {
92
+ NAME = "name",
93
+ TITLE_ALIGN_TYPE = "titleAlignType",
94
+ ICON_TYPE = "iconType",
95
+ URL = "url",
96
+ LEFT_PANEL = "leftPanel",
97
+ BOTTOM_BAR = "bottomBar",
98
+ TEXT_COLOR = "textColor"
99
+ }
100
+ export type DefaultMenus = {
101
+ [key in MenuTypes]: string[];
102
+ };
103
+ export interface DefaultMenusCollection {
104
+ id: string;
105
+ title?: string;
106
+ }
107
+ export interface DefaultMenusPage {
108
+ id: string | number;
109
+ title: string | null;
110
+ html: string | null;
111
+ url: string;
112
+ }
113
+ export interface DefaultMenusField {
114
+ COLLECTION: DefaultMenusCollection[];
115
+ PAGE: DefaultMenusPage[];
116
+ }
117
+ export interface IMenuGroup {
118
+ id: string;
119
+ name: string;
120
+ menus: DefaultMenus;
121
+ fields?: DefaultMenusField;
122
+ }
123
+ /**
124
+ * API Name: /api/default/menu/get/all
125
+ */
126
+ export interface GetAllMenuRes {
127
+ menuGroups: IMenuGroup[];
128
+ }
129
+ /**
130
+ * API Name: /api/app/language/get
131
+ */
132
+ export interface GetAppLanguagesRes {
133
+ languages: Language[];
134
+ }
@@ -0,0 +1,89 @@
1
+ export var ComponentTypes;
2
+ (function (ComponentTypes) {
3
+ ComponentTypes["CAROUSEL"] = "CAROUSEL";
4
+ ComponentTypes["CIRCLE"] = "CIRCLE";
5
+ ComponentTypes["COUNTDOWN_TIMER"] = "COUNTDOWN_TIMER";
6
+ ComponentTypes["DISCOUNT"] = "DISCOUNT";
7
+ ComponentTypes["DIVIDER"] = "DIVIDER";
8
+ ComponentTypes["GALLERY"] = "GALLERY";
9
+ ComponentTypes["GRID"] = "GRID";
10
+ ComponentTypes["IMAGE"] = "IMAGE";
11
+ ComponentTypes["RECENTLY_VIEWED"] = "RECENTLY_VIEWED";
12
+ ComponentTypes["SEARCH_BAR"] = "SEARCH_BAR";
13
+ ComponentTypes["SLIDER"] = "SLIDER";
14
+ ComponentTypes["SLIDESHOW"] = "SLIDESHOW";
15
+ ComponentTypes["TITLE"] = "TITLE";
16
+ ComponentTypes["VIDEO_PLAYER"] = "VIDEO_PLAYER";
17
+ })(ComponentTypes || (ComponentTypes = {}));
18
+ export var EComponentProperty;
19
+ (function (EComponentProperty) {
20
+ EComponentProperty["ADD_TO_CART"] = "addToCart";
21
+ EComponentProperty["AUTO_PLAY"] = "autoPlay";
22
+ EComponentProperty["ACTION_TEXT"] = "actionText";
23
+ EComponentProperty["BAR_TYPE"] = "barType";
24
+ EComponentProperty["CLICKABLE"] = "clickable";
25
+ EComponentProperty["CONTENT_TYPE"] = "contentType";
26
+ EComponentProperty["CONTROL_BAR"] = "controlBar";
27
+ EComponentProperty["CUSTOMER_DISCOUNT_CODE"] = "customerDiscountCode";
28
+ EComponentProperty["DISCOUNT_CODE"] = "discountCode";
29
+ EComponentProperty["DISCOUNT_IMAGE"] = "discountImage";
30
+ EComponentProperty["DISPLAY_TYPE"] = "displayType";
31
+ EComponentProperty["DIVIDER_TYPE"] = "dividerType";
32
+ EComponentProperty["HAS_ACTION_TEXT"] = "hasActionText";
33
+ EComponentProperty["HAS_ITEM_MARGIN"] = "hasItemMargin";
34
+ EComponentProperty["HAS_MARGIN"] = "hasMargin";
35
+ EComponentProperty["HIDE_BORDER"] = "hideBorder";
36
+ EComponentProperty["HIDE_WHEN_FINISH"] = "hideWhenFinish";
37
+ EComponentProperty["LINK_TO"] = "linkTo";
38
+ EComponentProperty["IS_NEED_LINK"] = "isNeedLink";
39
+ EComponentProperty["LOOP"] = "loop";
40
+ EComponentProperty["MUTE_BTN"] = "muteBtn";
41
+ EComponentProperty["PLACEHOLDER"] = "placeholder";
42
+ EComponentProperty["PROMOTION_IMAGE"] = "promotionImage";
43
+ EComponentProperty["RESTART_BTN"] = "restartBtn";
44
+ EComponentProperty["SHOW_ITEM_TITLE"] = "showItemTitle";
45
+ EComponentProperty["SHOW_PRICE"] = "showPrice";
46
+ EComponentProperty["SHOW_TITLE"] = "showTitle";
47
+ EComponentProperty["THUMBNAIL_IMAGE"] = "thumbnailImage";
48
+ EComponentProperty["TIMER_EXPIRE_DATE"] = "timerExpireDate";
49
+ EComponentProperty["TIMER_NUMBER_COLOR"] = "timerNumberColor";
50
+ EComponentProperty["TIMER_TIMEZONE"] = "timerTimezone";
51
+ EComponentProperty["TITLE"] = "title";
52
+ EComponentProperty["TITLE_ALIGNMENT"] = "titleAlignment";
53
+ EComponentProperty["TITLE_POSITION"] = "titlePosition";
54
+ EComponentProperty["VIDEO_DISPLAY_TYPE"] = "videoDisplayType";
55
+ EComponentProperty["VIDEO_UPLOAD"] = "videoUpload";
56
+ EComponentProperty["VIEW_SIZE"] = "viewSize";
57
+ })(EComponentProperty || (EComponentProperty = {}));
58
+ export var MenuTypes;
59
+ (function (MenuTypes) {
60
+ MenuTypes["SHOWCASE"] = "SHOWCASE";
61
+ MenuTypes["MY_ORDERS"] = "MY_ORDERS";
62
+ MenuTypes["NOTIFICATION"] = "NOTIFICATION";
63
+ MenuTypes["SEARCH"] = "SEARCH";
64
+ MenuTypes["MY_ACCOUNT"] = "MY_ACCOUNT";
65
+ MenuTypes["WEB_URL"] = "WEB_URL";
66
+ MenuTypes["CART"] = "CART";
67
+ MenuTypes["HOME_PAGE"] = "HOME_PAGE";
68
+ MenuTypes["ALL_PRODUCT"] = "ALL_PRODUCT";
69
+ MenuTypes["RECENTLY_VIEWED"] = "RECENTLY_VIEWED";
70
+ MenuTypes["FAVORITES"] = "FAVORITES";
71
+ MenuTypes["GROUP"] = "GROUP";
72
+ MenuTypes["CONTACT"] = "CONTACT";
73
+ MenuTypes["MOBILE_APP_PRIVACY_POLICY"] = "MOBILE_APP_PRIVACY_POLICY";
74
+ MenuTypes["STYLE"] = "STYLE";
75
+ MenuTypes["COLOR"] = "COLOR";
76
+ MenuTypes["PAGE"] = "PAGE";
77
+ MenuTypes["COLLECTION"] = "COLLECTION";
78
+ })(MenuTypes || (MenuTypes = {}));
79
+ export var EMenuProperty;
80
+ (function (EMenuProperty) {
81
+ EMenuProperty["NAME"] = "name";
82
+ EMenuProperty["TITLE_ALIGN_TYPE"] = "titleAlignType";
83
+ EMenuProperty["ICON_TYPE"] = "iconType";
84
+ EMenuProperty["URL"] = "url";
85
+ EMenuProperty["LEFT_PANEL"] = "leftPanel";
86
+ EMenuProperty["BOTTOM_BAR"] = "bottomBar";
87
+ EMenuProperty["TEXT_COLOR"] = "textColor";
88
+ })(EMenuProperty || (EMenuProperty = {}));
89
+ //# sourceMappingURL=default.model.js.map
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=file.model.js.map
@@ -0,0 +1,71 @@
1
+ import * as Model from "../../index.model.js";
2
+ /**
3
+ * API Name: /api/maintainer/login
4
+ */
5
+ export type MaintainerLoginRes = Model.LoginRes;
6
+ /**
7
+ * API Name: /api/maintainer/login
8
+ */
9
+ export type MaintainerLoginReq = Model.LoginReq;
10
+ /**
11
+ * API Name: /api/maintainer/app/get/all
12
+ */
13
+ export interface MaintainerGetAppsRes {
14
+ apps: Model.Organization[];
15
+ }
16
+ /**
17
+ * API Name: /api/maintainer/app/subscriber/get/all
18
+ */
19
+ export interface MaintainerAppSubscribeReq {
20
+ orgId: string;
21
+ searchKey: string | null;
22
+ pageNo: number;
23
+ count: number;
24
+ }
25
+ /**
26
+ * API Name: /api/maintainer/app/subscriber/get/all
27
+ */
28
+ export interface MaintainerAppSubscribeRes {
29
+ users: Model.UserProfile[];
30
+ count: number;
31
+ pageNo: number;
32
+ totalCount: number;
33
+ totalPage: number;
34
+ }
35
+ /**
36
+ * API Name: /api/maintainer/app/subscriber/store/get/all
37
+ */
38
+ export interface AppSubscriberStoreReq {
39
+ subscriberId: string;
40
+ orgId: string;
41
+ }
42
+ /**
43
+ * API Name: /api/maintainer/app/subscriber/store/get/all
44
+ */
45
+ export interface AppSubscriberStoreRes {
46
+ store: Model.App[];
47
+ }
48
+ /**
49
+ * API Name: /api/maintainer/store/build/get/all
50
+ */
51
+ export interface AppSubscriberStoreBuildDetailReq {
52
+ orgId: string;
53
+ subscriberId: string;
54
+ appId: string;
55
+ }
56
+ /**
57
+ * API Name: /api/maintainer/store/build/get/all
58
+ */
59
+ export interface AppSubscriberStoreBuildDetailRes {
60
+ storeBuilds: Model.AppBuild[];
61
+ }
62
+ /**
63
+ * API Name: /api/maintainer/app/build/status/change
64
+ */
65
+ export interface AppBuildStatusChangeReq {
66
+ id: number;
67
+ status: number;
68
+ }
69
+ export interface AppBuildStatusChangeRes {
70
+ isUpdated: boolean;
71
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=maintainer.model.js.map