merchi_sdk_ts 1.0.13 → 1.0.15

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 (224) hide show
  1. package/dist/constants/auto_assign_production_on_actions.js +2 -5
  2. package/dist/constants/call_to_actions.js +2 -5
  3. package/dist/constants/call_to_actions.test.js +2 -4
  4. package/dist/constants/discount_types.js +2 -5
  5. package/dist/constants/discount_types.test.js +2 -4
  6. package/dist/constants/domain_types.js +2 -5
  7. package/dist/constants/domain_types.test.js +2 -4
  8. package/dist/constants/errors.js +3 -7
  9. package/dist/constants/event_types.js +2 -5
  10. package/dist/constants/event_types.test.js +2 -4
  11. package/dist/constants/field_types.js +2 -5
  12. package/dist/constants/field_types.test.js +2 -4
  13. package/dist/constants/index.js +26 -0
  14. package/dist/constants/input_types.js +2 -5
  15. package/dist/constants/input_types.test.js +2 -4
  16. package/dist/constants/inventory_status.test.js +2 -4
  17. package/dist/constants/inventory_statuses.js +2 -5
  18. package/dist/constants/invoice_types.js +2 -5
  19. package/dist/constants/invoice_types.test.js +2 -4
  20. package/dist/constants/item_types.js +2 -5
  21. package/dist/constants/item_types.test.js +2 -4
  22. package/dist/constants/job/drafting_status.js +2 -5
  23. package/dist/constants/job/drafting_status.test.js +2 -4
  24. package/dist/constants/job/payment_status.js +2 -5
  25. package/dist/constants/job/payment_status.test.js +2 -4
  26. package/dist/constants/job/production_status.js +2 -5
  27. package/dist/constants/job/production_status.test.js +2 -4
  28. package/dist/constants/job/shipment_status.js +2 -5
  29. package/dist/constants/job/shipment_status.test.js +2 -4
  30. package/dist/constants/job/supply_chain_request_status.js +2 -5
  31. package/dist/constants/job/supply_chain_request_status.test.js +2 -4
  32. package/dist/constants/job_priorities.js +2 -5
  33. package/dist/constants/job_priorities.test.js +2 -4
  34. package/dist/constants/job_status.js +10 -13
  35. package/dist/constants/job_status.test.js +2 -4
  36. package/dist/constants/job_types.js +2 -5
  37. package/dist/constants/job_types.test.js +2 -4
  38. package/dist/constants/notification_sections.js +2 -5
  39. package/dist/constants/notification_sections.test.js +2 -4
  40. package/dist/constants/notification_types.js +2 -5
  41. package/dist/constants/notification_types.test.js +2 -4
  42. package/dist/constants/notification_urgencies.js +2 -5
  43. package/dist/constants/notification_urgencies.test.js +2 -4
  44. package/dist/constants/payment_types.js +2 -5
  45. package/dist/constants/payment_types.test.js +2 -4
  46. package/dist/constants/platform.js +5 -8
  47. package/dist/constants/platform.test.js +6 -8
  48. package/dist/constants/product_types.js +2 -5
  49. package/dist/constants/product_types.test.js +2 -4
  50. package/dist/constants/rights.js +2 -5
  51. package/dist/constants/rights.test.js +2 -4
  52. package/dist/constants/robots_meta_directives.js +1 -4
  53. package/dist/constants/robots_meta_directives.test.js +2 -4
  54. package/dist/constants/roles.js +9 -12
  55. package/dist/constants/roles.test.js +2 -4
  56. package/dist/constants/shipment_companies.js +2 -5
  57. package/dist/constants/shipment_companies.test.js +2 -4
  58. package/dist/constants/shipment_services.js +2 -5
  59. package/dist/constants/shipment_services.test.js +2 -4
  60. package/dist/constants/system_roles.js +2 -5
  61. package/dist/constants/system_roles.test.js +2 -4
  62. package/dist/constants/theme_foundations.js +2 -5
  63. package/dist/constants/theme_foundations.test.js +2 -4
  64. package/dist/constants/theme_status.js +2 -5
  65. package/dist/constants/theme_status.test.js +2 -4
  66. package/dist/constants/user_types.js +2 -5
  67. package/dist/constants/user_types.test.js +2 -4
  68. package/dist/constants/white_label_accessibilities.js +2 -5
  69. package/dist/constants/white_label_accessibilities.test.js +2 -4
  70. package/dist/cookie.js +1 -5
  71. package/dist/cookie.test.js +2 -4
  72. package/dist/entities/address.js +3 -6
  73. package/dist/entities/address.test.js +2 -4
  74. package/dist/entities/assignment.js +11 -14
  75. package/dist/entities/assignment.test.js +8 -10
  76. package/dist/entities/automatic_payment_relationship.js +12 -11
  77. package/dist/entities/automatic_payment_relationship.test.js +2 -4
  78. package/dist/entities/backup.js +5 -8
  79. package/dist/entities/backup.test.js +2 -4
  80. package/dist/entities/bank.js +5 -8
  81. package/dist/entities/bank.test.js +2 -4
  82. package/dist/entities/cart.js +9 -12
  83. package/dist/entities/cart.test.js +9 -11
  84. package/dist/entities/cart_item.js +9 -12
  85. package/dist/entities/cart_item.test.js +7 -9
  86. package/dist/entities/cart_shipment_group.js +5 -8
  87. package/dist/entities/cart_shipment_quote.js +7 -10
  88. package/dist/entities/category.js +5 -8
  89. package/dist/entities/category.test.js +6 -8
  90. package/dist/entities/company.js +9 -12
  91. package/dist/entities/company.test.js +2 -4
  92. package/dist/entities/company_invitation.js +7 -10
  93. package/dist/entities/company_invitation.test.js +2 -4
  94. package/dist/entities/component.js +5 -8
  95. package/dist/entities/component.test.js +3 -5
  96. package/dist/entities/component_tag.js +5 -8
  97. package/dist/entities/component_tag.test.js +2 -4
  98. package/dist/entities/component_version.js +5 -8
  99. package/dist/entities/component_version.test.js +2 -4
  100. package/dist/entities/country_tax.js +5 -8
  101. package/dist/entities/country_tax.test.js +3 -5
  102. package/dist/entities/discount.js +5 -8
  103. package/dist/entities/discount.test.js +3 -5
  104. package/dist/entities/discount_group.js +3 -6
  105. package/dist/entities/discount_group.test.js +2 -4
  106. package/dist/entities/domain.js +36 -15
  107. package/dist/entities/domain.test.js +14 -16
  108. package/dist/entities/domain_invitation.js +7 -10
  109. package/dist/entities/domain_invitation.test.js +2 -4
  110. package/dist/entities/domain_tag.js +5 -8
  111. package/dist/entities/domain_tag.test.js +2 -4
  112. package/dist/entities/draft.js +8 -11
  113. package/dist/entities/draft.test.js +5 -7
  114. package/dist/entities/draft_comment.js +9 -12
  115. package/dist/entities/draft_comment.test.js +2 -4
  116. package/dist/entities/draft_template.js +10 -13
  117. package/dist/entities/draft_template.test.js +2 -4
  118. package/dist/entities/email_address.js +3 -6
  119. package/dist/entities/email_address.test.js +2 -4
  120. package/dist/entities/email_counter.js +3 -6
  121. package/dist/entities/email_counter.test.js +2 -4
  122. package/dist/entities/enrolled_domain.js +12 -15
  123. package/dist/entities/enrolled_domain.test.js +2 -4
  124. package/dist/entities/exchange_rate.js +3 -6
  125. package/dist/entities/exchange_rate.test.js +2 -4
  126. package/dist/entities/file.js +5 -8
  127. package/dist/entities/file.test.js +8 -10
  128. package/dist/entities/internal_tag.js +3 -6
  129. package/dist/entities/internal_tag.test.js +2 -4
  130. package/dist/entities/inventory.js +7 -10
  131. package/dist/entities/inventory.test.js +3 -5
  132. package/dist/entities/inventory_unit_variation.js +7 -10
  133. package/dist/entities/inventory_unit_variation.test.js +2 -4
  134. package/dist/entities/invoice.js +25 -28
  135. package/dist/entities/invoice.test.js +8 -10
  136. package/dist/entities/item.js +7 -10
  137. package/dist/entities/item.test.js +3 -5
  138. package/dist/entities/job.js +33 -36
  139. package/dist/entities/job.test.js +16 -18
  140. package/dist/entities/job_comment.js +7 -10
  141. package/dist/entities/job_comment.test.js +2 -4
  142. package/dist/entities/matching_inventory.js +8 -11
  143. package/dist/entities/menu.js +5 -8
  144. package/dist/entities/menu.test.js +2 -4
  145. package/dist/entities/menu_item.js +5 -8
  146. package/dist/entities/menu_item.test.js +2 -4
  147. package/dist/entities/notification.js +27 -30
  148. package/dist/entities/notification.test.js +2 -4
  149. package/dist/entities/page.js +5 -8
  150. package/dist/entities/page.test.js +2 -4
  151. package/dist/entities/payment.js +10 -13
  152. package/dist/entities/payment.test.js +6 -8
  153. package/dist/entities/payment_device.js +5 -8
  154. package/dist/entities/payment_device.test.js +2 -4
  155. package/dist/entities/phone_number.js +3 -6
  156. package/dist/entities/phone_number.test.js +2 -4
  157. package/dist/entities/product.js +22 -45
  158. package/dist/entities/product.test.js +76 -78
  159. package/dist/entities/production_comment.js +7 -10
  160. package/dist/entities/production_comment.test.js +2 -4
  161. package/dist/entities/quote.js +12 -15
  162. package/dist/entities/quote.test.js +6 -8
  163. package/dist/entities/quote_item.js +8 -11
  164. package/dist/entities/quote_item.test.js +3 -5
  165. package/dist/entities/seo_domain_page.js +7 -10
  166. package/dist/entities/seo_domain_page.test.js +2 -4
  167. package/dist/entities/session.js +7 -10
  168. package/dist/entities/session.test.js +2 -4
  169. package/dist/entities/shipment.js +22 -25
  170. package/dist/entities/shipment.test.js +4 -6
  171. package/dist/entities/shipment_item.js +6 -9
  172. package/dist/entities/shipment_item.test.js +2 -4
  173. package/dist/entities/shipment_item_fulfillment.js +7 -10
  174. package/dist/entities/shipment_item_fulfillment.test.js +2 -4
  175. package/dist/entities/shipment_method.js +11 -14
  176. package/dist/entities/shipment_method.test.js +2 -4
  177. package/dist/entities/shipment_method_variation.js +5 -8
  178. package/dist/entities/shipment_method_variation.test.js +2 -4
  179. package/dist/entities/short_url.js +5 -8
  180. package/dist/entities/short_url.test.js +2 -4
  181. package/dist/entities/subscription_plan.js +8 -11
  182. package/dist/entities/subscription_plan.test.js +2 -4
  183. package/dist/entities/supply_domain.js +8 -11
  184. package/dist/entities/supply_domain.test.js +2 -4
  185. package/dist/entities/system_role.js +5 -8
  186. package/dist/entities/system_role.test.js +2 -4
  187. package/dist/entities/theme.js +9 -12
  188. package/dist/entities/theme.test.js +4 -6
  189. package/dist/entities/theme_css_setting.js +5 -8
  190. package/dist/entities/theme_css_setting.test.js +2 -4
  191. package/dist/entities/user.js +15 -18
  192. package/dist/entities/user.test.js +39 -41
  193. package/dist/entities/user_company.js +7 -10
  194. package/dist/entities/user_company.test.js +2 -4
  195. package/dist/entities/variation.js +11 -14
  196. package/dist/entities/variation.test.js +2 -4
  197. package/dist/entities/variation_field.js +13 -16
  198. package/dist/entities/variation_field.test.js +6 -8
  199. package/dist/entities/variation_fields_option.js +7 -10
  200. package/dist/entities/variation_fields_option.test.js +4 -6
  201. package/dist/entities/variation_option.js +5 -8
  202. package/dist/entities/variation_option.test.js +2 -4
  203. package/dist/entities/variations_group.js +9 -12
  204. package/dist/entities/variations_group.test.js +2 -4
  205. package/dist/entity.js +6 -9
  206. package/dist/index.js +77 -149
  207. package/dist/merchi.js +147 -150
  208. package/dist/merchi.test.js +7 -9
  209. package/dist/request.js +20 -23
  210. package/dist/request.test.js +14 -16
  211. package/dist/test_util.js +2 -7
  212. package/dist/toasts.js +1 -5
  213. package/dist/toasts.test.js +13 -15
  214. package/dist/util/float.js +1 -5
  215. package/dist/util/index.js +3 -0
  216. package/dist/util/query_string.js +1 -5
  217. package/dist/util/query_string.test.js +3 -5
  218. package/dist/util/validation.js +1 -5
  219. package/dist/util/validation.test.js +6 -8
  220. package/dist/uuid.js +1 -5
  221. package/dist/uuid.test.js +2 -4
  222. package/package.json +1 -1
  223. package/src/entities/domain.ts +3 -0
  224. package/src/entities/product.ts +3 -0
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AutoAssignProductionOnAction = void 0;
4
- var AutoAssignProductionOnAction;
1
+ export var AutoAssignProductionOnAction;
5
2
  (function (AutoAssignProductionOnAction) {
6
3
  AutoAssignProductionOnAction[AutoAssignProductionOnAction["NOT_REQUIRED"] = 0] = "NOT_REQUIRED";
7
4
  AutoAssignProductionOnAction[AutoAssignProductionOnAction["ON_JOB_CREATION"] = 1] = "ON_JOB_CREATION";
8
5
  AutoAssignProductionOnAction[AutoAssignProductionOnAction["ON_JOB_INVOICE_PAID"] = 2] = "ON_JOB_INVOICE_PAID";
9
6
  AutoAssignProductionOnAction[AutoAssignProductionOnAction["ON_JOB_DRAFT_APPROVED"] = 3] = "ON_JOB_DRAFT_APPROVED";
10
- })(AutoAssignProductionOnAction = exports.AutoAssignProductionOnAction || (exports.AutoAssignProductionOnAction = {}));
7
+ })(AutoAssignProductionOnAction || (AutoAssignProductionOnAction = {}));
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallToActions = void 0;
4
- var CallToActions;
1
+ export var CallToActions;
5
2
  (function (CallToActions) {
6
3
  CallToActions[CallToActions["COMPLETE_COMPANY_PROFILE_AND_UPGRADE_SUBSCRIPTION_PLAN"] = 0] = "COMPLETE_COMPANY_PROFILE_AND_UPGRADE_SUBSCRIPTION_PLAN";
7
4
  CallToActions[CallToActions["COMPLETE_COMPANY_PROFILE"] = 1] = "COMPLETE_COMPANY_PROFILE";
@@ -15,4 +12,4 @@ var CallToActions;
15
12
  CallToActions[CallToActions["YOUR_COMPANIES_NEED_STRIPE_TO_COLLECT_PAYMENT"] = 9] = "YOUR_COMPANIES_NEED_STRIPE_TO_COLLECT_PAYMENT";
16
13
  CallToActions[CallToActions["SUPPLIER_PRODUCT_READY_FOR_SALE"] = 10] = "SUPPLIER_PRODUCT_READY_FOR_SALE";
17
14
  CallToActions[CallToActions["SET_PASSWORD"] = 11] = "SET_PASSWORD";
18
- })(CallToActions = exports.CallToActions || (exports.CallToActions = {}));
15
+ })(CallToActions || (CallToActions = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var call_to_actions_1 = require("./call_to_actions");
1
+ import { CallToActions } from './call_to_actions.js';
4
2
  test('seller type exists', function () {
5
- expect(call_to_actions_1.CallToActions.COMPLETE_COMPANY_PROFILE_AND_UPGRADE_SUBSCRIPTION_PLAN).toBe(0);
3
+ expect(CallToActions.COMPLETE_COMPANY_PROFILE_AND_UPGRADE_SUBSCRIPTION_PLAN).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DiscountType = void 0;
4
- var DiscountType;
1
+ export var DiscountType;
5
2
  (function (DiscountType) {
6
3
  DiscountType[DiscountType["VOLUMETRIC"] = 0] = "VOLUMETRIC";
7
- })(DiscountType = exports.DiscountType || (exports.DiscountType = {}));
4
+ })(DiscountType || (DiscountType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var discount_types_1 = require("./discount_types");
1
+ import { DiscountType } from './discount_types.js';
4
2
  test('discount type volumetric exists', function () {
5
- expect(discount_types_1.DiscountType.VOLUMETRIC).toBe(0);
3
+ expect(DiscountType.VOLUMETRIC).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DomainType = void 0;
4
- var DomainType;
1
+ export var DomainType;
5
2
  (function (DomainType) {
6
3
  DomainType[DomainType["UNRESTRICTED"] = 0] = "UNRESTRICTED";
7
4
  DomainType[DomainType["SELLER"] = 1] = "SELLER";
@@ -13,4 +10,4 @@ var DomainType;
13
10
  DomainType[DomainType["DOMAIN_SHOPIFY_SELLER"] = 7] = "DOMAIN_SHOPIFY_SELLER";
14
11
  DomainType[DomainType["UNRESTRICTED_SHOPIFY_APP"] = 8] = "UNRESTRICTED_SHOPIFY_APP";
15
12
  DomainType[DomainType["RESERVED"] = 9] = "RESERVED";
16
- })(DomainType = exports.DomainType || (exports.DomainType = {}));
13
+ })(DomainType || (DomainType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var domain_types_1 = require("./domain_types");
1
+ import { DomainType } from './domain_types.js';
4
2
  test('seller type exists', function () {
5
- expect(domain_types_1.DomainType.SELLER).toBe(1);
3
+ expect(DomainType.SELLER).toBe(1);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getErrorFromCode = exports.ErrorType = void 0;
4
- var ErrorType;
1
+ export var ErrorType;
5
2
  (function (ErrorType) {
6
3
  ErrorType[ErrorType["UNKNOWN_ERROR"] = 0] = "UNKNOWN_ERROR";
7
4
  ErrorType[ErrorType["SERVER_ERROR"] = 1] = "SERVER_ERROR";
@@ -26,11 +23,10 @@ var ErrorType;
26
23
  ErrorType[ErrorType["DUPLICATE_SUBSCRIPTION_TOKEN"] = 20] = "DUPLICATE_SUBSCRIPTION_TOKEN";
27
24
  ErrorType[ErrorType["BAD_SMS_TOKEN"] = 21] = "BAD_SMS_TOKEN";
28
25
  ErrorType[ErrorType["DOMAIN_NOT_FOUND"] = 22] = "DOMAIN_NOT_FOUND";
29
- })(ErrorType = exports.ErrorType || (exports.ErrorType = {}));
30
- function getErrorFromCode(code) {
26
+ })(ErrorType || (ErrorType = {}));
27
+ export function getErrorFromCode(code) {
31
28
  if (code in ErrorType) {
32
29
  return code;
33
30
  }
34
31
  return ErrorType.UNKNOWN_ERROR;
35
32
  }
36
- exports.getErrorFromCode = getErrorFromCode;
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventType = void 0;
4
- var EventType;
1
+ export var EventType;
5
2
  (function (EventType) {
6
3
  EventType[EventType["POST"] = 0] = "POST";
7
4
  EventType[EventType["PATCH"] = 1] = "PATCH";
8
5
  EventType[EventType["DELETE"] = 1] = "DELETE";
9
- })(EventType = exports.EventType || (exports.EventType = {}));
6
+ })(EventType || (EventType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var event_types_1 = require("./event_types");
1
+ import { EventType } from './event_types.js';
4
2
  test('post event type exists', function () {
5
- expect(event_types_1.EventType.POST).toBe(0);
3
+ expect(EventType.POST).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldType = void 0;
4
- var FieldType;
1
+ export var FieldType;
5
2
  (function (FieldType) {
6
3
  FieldType[FieldType["TEXT_INPUT"] = 1] = "TEXT_INPUT";
7
4
  FieldType[FieldType["SELECT"] = 2] = "SELECT";
@@ -14,4 +11,4 @@ var FieldType;
14
11
  FieldType[FieldType["IMAGE_SELECT"] = 9] = "IMAGE_SELECT";
15
12
  FieldType[FieldType["COLOUR_PICKER"] = 10] = "COLOUR_PICKER";
16
13
  FieldType[FieldType["COLOUR_SELECT"] = 11] = "COLOUR_SELECT";
17
- })(FieldType = exports.FieldType || (exports.FieldType = {}));
14
+ })(FieldType || (FieldType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var field_types_1 = require("./field_types");
1
+ import { FieldType } from './field_types.js';
4
2
  test('text input type exists', function () {
5
- expect(field_types_1.FieldType.TEXT_INPUT).toBe(1);
3
+ expect(FieldType.TEXT_INPUT).toBe(1);
6
4
  });
@@ -0,0 +1,26 @@
1
+ import * as field_types from './field_types.js';
2
+ import * as input_types from './input_types.js';
3
+ import * as platform from './platform.js';
4
+ import * as system_roles from './system_roles.js';
5
+ import * as user_types from './user_types.js';
6
+ import * as roles from './roles.js';
7
+ import * as notification_sections from './notification_sections.js';
8
+ import * as notification_types from './notification_types.js';
9
+ import * as shipment_services from './shipment_services.js';
10
+ import * as shipment_companies from './shipment_companies.js';
11
+ import * as auto_assign_production_on_actions from './auto_assign_production_on_actions.js';
12
+ import * as product_types from './product_types.js';
13
+ import * as drafting_status from './job/drafting_status.js';
14
+ import * as job_types from './job_types.js';
15
+ import * as payment_status from './job/payment_status.js';
16
+ import * as production_status from './job/production_status.js';
17
+ import * as shipment_status from './job/shipment_status.js';
18
+ import * as call_to_actions from './call_to_actions.js';
19
+ import * as domain_types from './domain_types.js';
20
+ import * as job_status from './job_status.js';
21
+ import * as white_label_accessibilities from './white_label_accessibilities.js';
22
+ import * as robots_meta_directives from './robots_meta_directives.js';
23
+ import * as inventory_statuses from './inventory_statuses.js';
24
+ import * as theme_foundations from './theme_foundations.js';
25
+ import * as discount_types from './discount_types.js';
26
+ export { discount_types, field_types, input_types, inventory_statuses, platform, robots_meta_directives, system_roles, theme_foundations, user_types, white_label_accessibilities, roles, notification_sections, notification_types, shipment_services, shipment_companies, auto_assign_production_on_actions, product_types, drafting_status, job_types, payment_status, production_status, shipment_status, call_to_actions, domain_types, job_status, };
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InputType = void 0;
4
- var InputType;
1
+ export var InputType;
5
2
  (function (InputType) {
6
3
  InputType[InputType["TEXT"] = 1] = "TEXT";
7
4
  InputType[InputType["SELECT"] = 2] = "SELECT";
@@ -14,4 +11,4 @@ var InputType;
14
11
  InputType[InputType["IMAGE_SELECT"] = 9] = "IMAGE_SELECT";
15
12
  InputType[InputType["COLUR_PICKER"] = 10] = "COLUR_PICKER";
16
13
  InputType[InputType["COLOUR_SELECT"] = 11] = "COLOUR_SELECT";
17
- })(InputType = exports.InputType || (exports.InputType = {}));
14
+ })(InputType || (InputType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var input_types_1 = require("./input_types");
1
+ import { InputType } from './input_types.js';
4
2
  test('text type exists', function () {
5
- expect(input_types_1.InputType.TEXT).toBe(1);
3
+ expect(InputType.TEXT).toBe(1);
6
4
  });
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var inventory_statuses_1 = require("./inventory_statuses");
1
+ import { InventoryStatus } from './inventory_statuses.js';
4
2
  test('inventory deducted', function () {
5
- expect(inventory_statuses_1.InventoryStatus.DEDUCTED).toBe(0);
3
+ expect(InventoryStatus.DEDUCTED).toBe(0);
6
4
  });
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InventoryStatus = void 0;
4
- var InventoryStatus;
1
+ export var InventoryStatus;
5
2
  (function (InventoryStatus) {
6
3
  InventoryStatus[InventoryStatus["DEDUCTED"] = 0] = "DEDUCTED";
7
4
  InventoryStatus[InventoryStatus["CAN_DEDUCT"] = 1] = "CAN_DEDUCT";
8
5
  InventoryStatus[InventoryStatus["NOT_SUFFICIENT"] = 2] = "NOT_SUFFICIENT";
9
6
  InventoryStatus[InventoryStatus["NO_MATCHING_INVENTORY"] = 3] = "NO_MATCHING_INVENTORY";
10
- })(InventoryStatus = exports.InventoryStatus || (exports.InventoryStatus = {}));
7
+ })(InventoryStatus || (InventoryStatus = {}));
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InoviceType = void 0;
4
- var InoviceType;
1
+ export var InoviceType;
5
2
  (function (InoviceType) {
6
3
  InoviceType[InoviceType["ORDER"] = 0] = "ORDER";
7
4
  InoviceType[InoviceType["SUBSCRIPTION_BILL"] = 1] = "SUBSCRIPTION_BILL";
8
5
  InoviceType[InoviceType["AUTO_SUPPLY_BILL"] = 2] = "AUTO_SUPPLY_BILL";
9
- })(InoviceType = exports.InoviceType || (exports.InoviceType = {}));
6
+ })(InoviceType || (InoviceType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var invoice_types_1 = require("./invoice_types");
1
+ import { InoviceType } from './invoice_types.js';
4
2
  test('invoice type exists', function () {
5
- expect(invoice_types_1.InoviceType.ORDER).toBe(0);
3
+ expect(InoviceType.ORDER).toBe(0);
6
4
  });
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ItemType = void 0;
4
- var ItemType;
1
+ export var ItemType;
5
2
  (function (ItemType) {
6
3
  ItemType[ItemType["CUSTOM"] = 0] = "CUSTOM";
7
4
  ItemType[ItemType["SHIPPING"] = 1] = "SHIPPING";
8
5
  ItemType[ItemType["TAX"] = 2] = "TAX";
9
- })(ItemType = exports.ItemType || (exports.ItemType = {}));
6
+ })(ItemType || (ItemType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var item_types_1 = require("./item_types");
1
+ import { ItemType } from './item_types.js';
4
2
  test('custom type exists', function () {
5
- expect(item_types_1.ItemType.CUSTOM).toBe(0);
3
+ expect(ItemType.CUSTOM).toBe(0);
6
4
  });
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftingStatus = void 0;
4
- var DraftingStatus;
1
+ export var DraftingStatus;
5
2
  (function (DraftingStatus) {
6
3
  DraftingStatus[DraftingStatus["INIT"] = 0] = "INIT";
7
4
  DraftingStatus[DraftingStatus["WAIT_DRAFTING"] = 1] = "WAIT_DRAFTING";
8
5
  DraftingStatus[DraftingStatus["CHANGES_REQUESTED"] = 2] = "CHANGES_REQUESTED";
9
6
  DraftingStatus[DraftingStatus["DRAFTING_UPLOADED"] = 3] = "DRAFTING_UPLOADED";
10
7
  DraftingStatus[DraftingStatus["DRAFTINGA_APPROVED"] = 4] = "DRAFTINGA_APPROVED";
11
- })(DraftingStatus = exports.DraftingStatus || (exports.DraftingStatus = {}));
8
+ })(DraftingStatus || (DraftingStatus = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var drafting_status_1 = require("./drafting_status");
1
+ import { DraftingStatus } from './drafting_status.js';
4
2
  test('init status exists', function () {
5
- expect(drafting_status_1.DraftingStatus.INIT).toBe(0);
3
+ expect(DraftingStatus.INIT).toBe(0);
6
4
  });
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentStatus = void 0;
4
- var PaymentStatus;
1
+ export var PaymentStatus;
5
2
  (function (PaymentStatus) {
6
3
  PaymentStatus[PaymentStatus["INIT"] = 0] = "INIT";
7
4
  PaymentStatus[PaymentStatus["ISSUED"] = 1] = "ISSUED";
8
5
  PaymentStatus[PaymentStatus["OVERDUE"] = 2] = "OVERDUE";
9
6
  PaymentStatus[PaymentStatus["PARTIAL_PAID"] = 3] = "PARTIAL_PAID";
10
7
  PaymentStatus[PaymentStatus["FULLY_PAID"] = 4] = "FULLY_PAID";
11
- })(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
8
+ })(PaymentStatus || (PaymentStatus = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var payment_status_1 = require("./payment_status");
1
+ import { PaymentStatus } from './payment_status.js';
4
2
  test('init status exists', function () {
5
- expect(payment_status_1.PaymentStatus.INIT).toBe(0);
3
+ expect(PaymentStatus.INIT).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductionStatus = void 0;
4
- var ProductionStatus;
1
+ export var ProductionStatus;
5
2
  (function (ProductionStatus) {
6
3
  ProductionStatus[ProductionStatus["INIT"] = 0] = "INIT";
7
4
  ProductionStatus[ProductionStatus["REJECTED"] = 1] = "REJECTED";
@@ -13,4 +10,4 @@ var ProductionStatus;
13
10
  ProductionStatus[ProductionStatus["FINISHED"] = 8] = "FINISHED";
14
11
  ProductionStatus[ProductionStatus["SHIPPED"] = 9] = "SHIPPED";
15
12
  ProductionStatus[ProductionStatus["COMPLETED"] = 10] = "COMPLETED";
16
- })(ProductionStatus = exports.ProductionStatus || (exports.ProductionStatus = {}));
13
+ })(ProductionStatus || (ProductionStatus = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var production_status_1 = require("./production_status");
1
+ import { ProductionStatus } from './production_status.js';
4
2
  test('init status exists', function () {
5
- expect(production_status_1.ProductionStatus.INIT).toBe(0);
3
+ expect(ProductionStatus.INIT).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShipmentStatus = void 0;
4
- var ShipmentStatus;
1
+ export var ShipmentStatus;
5
2
  (function (ShipmentStatus) {
6
3
  ShipmentStatus[ShipmentStatus["NOT_ASSIGNED"] = 0] = "NOT_ASSIGNED";
7
4
  ShipmentStatus[ShipmentStatus["ASSIGNED"] = 1] = "ASSIGNED";
@@ -12,4 +9,4 @@ var ShipmentStatus;
12
9
  ShipmentStatus[ShipmentStatus["EXPECTED_RECEIVE_DATE_WARNING"] = 6] = "EXPECTED_RECEIVE_DATE_WARNING";
13
10
  ShipmentStatus[ShipmentStatus["EXPECTED_RECEIVE_DATE_PAST"] = 7] = "EXPECTED_RECEIVE_DATE_PAST";
14
11
  ShipmentStatus[ShipmentStatus["RECEIVED"] = 8] = "RECEIVED";
15
- })(ShipmentStatus = exports.ShipmentStatus || (exports.ShipmentStatus = {}));
12
+ })(ShipmentStatus || (ShipmentStatus = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var shipment_status_1 = require("./shipment_status");
1
+ import { ShipmentStatus } from './shipment_status.js';
4
2
  test('not assigned status exists', function () {
5
- expect(shipment_status_1.ShipmentStatus.NOT_ASSIGNED).toBe(0);
3
+ expect(ShipmentStatus.NOT_ASSIGNED).toBe(0);
6
4
  });
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupplyChainRequestStatus = void 0;
4
- var SupplyChainRequestStatus;
1
+ export var SupplyChainRequestStatus;
5
2
  (function (SupplyChainRequestStatus) {
6
3
  SupplyChainRequestStatus[SupplyChainRequestStatus["NO_REQUEST"] = 0] = "NO_REQUEST";
7
4
  SupplyChainRequestStatus[SupplyChainRequestStatus["REQUESTED"] = 1] = "REQUESTED";
8
5
  SupplyChainRequestStatus[SupplyChainRequestStatus["DECLINED"] = 2] = "DECLINED";
9
6
  SupplyChainRequestStatus[SupplyChainRequestStatus["ACCEPTED"] = 3] = "ACCEPTED";
10
- })(SupplyChainRequestStatus = exports.SupplyChainRequestStatus || (exports.SupplyChainRequestStatus = {}));
7
+ })(SupplyChainRequestStatus || (SupplyChainRequestStatus = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var supply_chain_request_status_1 = require("./supply_chain_request_status");
1
+ import { SupplyChainRequestStatus } from './supply_chain_request_status.js';
4
2
  test('not supply chain status exists', function () {
5
- expect(supply_chain_request_status_1.SupplyChainRequestStatus.NO_REQUEST).toBe(0);
3
+ expect(SupplyChainRequestStatus.NO_REQUEST).toBe(0);
6
4
  });
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JobPriority = void 0;
4
- var JobPriority;
1
+ export var JobPriority;
5
2
  (function (JobPriority) {
6
3
  JobPriority[JobPriority["URGENT"] = 1] = "URGENT";
7
4
  JobPriority[JobPriority["HIGH"] = 2] = "HIGH";
8
5
  JobPriority[JobPriority["MEDIUM"] = 3] = "MEDIUM";
9
6
  JobPriority[JobPriority["LOW"] = 4] = "LOW";
10
- })(JobPriority = exports.JobPriority || (exports.JobPriority = {}));
7
+ })(JobPriority || (JobPriority = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var job_priorities_1 = require("./job_priorities");
1
+ import { JobPriority } from './job_priorities.js';
4
2
  test('urgent priority exists', function () {
5
- expect(job_priorities_1.JobPriority.URGENT).toBe(1);
3
+ expect(JobPriority.URGENT).toBe(1);
6
4
  });
@@ -1,23 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SupplyChainRequestStatus = exports.ShipmentStatus = exports.ProductionStatus = exports.PaymentStatus = exports.DraftingStatus = void 0;
4
- var DraftingStatus;
1
+ export var DraftingStatus;
5
2
  (function (DraftingStatus) {
6
3
  DraftingStatus[DraftingStatus["INIT"] = 0] = "INIT";
7
4
  DraftingStatus[DraftingStatus["WAIT_DRAFTING"] = 1] = "WAIT_DRAFTING";
8
5
  DraftingStatus[DraftingStatus["CHANGES_REQUESTED"] = 2] = "CHANGES_REQUESTED";
9
6
  DraftingStatus[DraftingStatus["DRAFTING_UPLOADED"] = 3] = "DRAFTING_UPLOADED";
10
7
  DraftingStatus[DraftingStatus["DRAFTING_APPROVED"] = 4] = "DRAFTING_APPROVED";
11
- })(DraftingStatus = exports.DraftingStatus || (exports.DraftingStatus = {}));
12
- var PaymentStatus;
8
+ })(DraftingStatus || (DraftingStatus = {}));
9
+ export var PaymentStatus;
13
10
  (function (PaymentStatus) {
14
11
  PaymentStatus[PaymentStatus["INIT"] = 0] = "INIT";
15
12
  PaymentStatus[PaymentStatus["ISSUED"] = 1] = "ISSUED";
16
13
  PaymentStatus[PaymentStatus["OVERDUE"] = 2] = "OVERDUE";
17
14
  PaymentStatus[PaymentStatus["PARTIAL_PAID"] = 3] = "PARTIAL_PAID";
18
15
  PaymentStatus[PaymentStatus["FULLY_PAID"] = 4] = "FULLY_PAID";
19
- })(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
20
- var ProductionStatus;
16
+ })(PaymentStatus || (PaymentStatus = {}));
17
+ export var ProductionStatus;
21
18
  (function (ProductionStatus) {
22
19
  ProductionStatus[ProductionStatus["INIT"] = 0] = "INIT";
23
20
  ProductionStatus[ProductionStatus["REJECTED"] = 1] = "REJECTED";
@@ -30,8 +27,8 @@ var ProductionStatus;
30
27
  ProductionStatus[ProductionStatus["FINISHED"] = 8] = "FINISHED";
31
28
  ProductionStatus[ProductionStatus["SHIPPED"] = 9] = "SHIPPED";
32
29
  ProductionStatus[ProductionStatus["COMPLETED"] = 10] = "COMPLETED";
33
- })(ProductionStatus = exports.ProductionStatus || (exports.ProductionStatus = {}));
34
- var ShipmentStatus;
30
+ })(ProductionStatus || (ProductionStatus = {}));
31
+ export var ShipmentStatus;
35
32
  (function (ShipmentStatus) {
36
33
  ShipmentStatus[ShipmentStatus["NOT_ASSIGNED"] = 0] = "NOT_ASSIGNED";
37
34
  ShipmentStatus[ShipmentStatus["ASSIGNED"] = 1] = "ASSIGNED";
@@ -43,11 +40,11 @@ var ShipmentStatus;
43
40
  ShipmentStatus[ShipmentStatus["EXPECTED_RECEIVE_DATE_PAST"] = 7] = "EXPECTED_RECEIVE_DATE_PAST";
44
41
  ShipmentStatus[ShipmentStatus["RECEIVED"] = 8] = "RECEIVED";
45
42
  ShipmentStatus[ShipmentStatus["PICKED_UP"] = 9] = "PICKED_UP";
46
- })(ShipmentStatus = exports.ShipmentStatus || (exports.ShipmentStatus = {}));
47
- var SupplyChainRequestStatus;
43
+ })(ShipmentStatus || (ShipmentStatus = {}));
44
+ export var SupplyChainRequestStatus;
48
45
  (function (SupplyChainRequestStatus) {
49
46
  SupplyChainRequestStatus[SupplyChainRequestStatus["NO_REQUEST"] = 0] = "NO_REQUEST";
50
47
  SupplyChainRequestStatus[SupplyChainRequestStatus["REQUESTED"] = 1] = "REQUESTED";
51
48
  SupplyChainRequestStatus[SupplyChainRequestStatus["DECLINED"] = 2] = "DECLINED";
52
49
  SupplyChainRequestStatus[SupplyChainRequestStatus["ACCEPTED"] = 3] = "ACCEPTED";
53
- })(SupplyChainRequestStatus = exports.SupplyChainRequestStatus || (exports.SupplyChainRequestStatus = {}));
50
+ })(SupplyChainRequestStatus || (SupplyChainRequestStatus = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var job_status_1 = require("./job_status");
1
+ import { DraftingStatus } from './job_status.js';
4
2
  test('init drafting status exists', function () {
5
- expect(job_status_1.DraftingStatus.INIT).toBe(0);
3
+ expect(DraftingStatus.INIT).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JobType = void 0;
4
- var JobType;
1
+ export var JobType;
5
2
  (function (JobType) {
6
3
  JobType[JobType["PRODUCT_CREATION_MOD"] = 0] = "PRODUCT_CREATION_MOD";
7
4
  JobType[JobType["PRODUCT_CREATION"] = 1] = "PRODUCT_CREATION";
@@ -16,4 +13,4 @@ var JobType;
16
13
  JobType[JobType["SUPPLIER_FULFILLMENT_INVENTORY"] = 10] = "SUPPLIER_FULFILLMENT_INVENTORY";
17
14
  JobType[JobType["SUPPLIER_FULFILLMENT_INVENTORY_GROUP_BUY"] = 11] = "SUPPLIER_FULFILLMENT_INVENTORY_GROUP_BUY";
18
15
  JobType[JobType["SUPPLY_CHAIN_CREATION"] = 12] = "SUPPLY_CHAIN_CREATION"; // USED TO ID JOBS WHICH ARE TO CREATE A NEW SUPPLY CHAIN
19
- })(JobType = exports.JobType || (exports.JobType = {}));
16
+ })(JobType || (JobType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var job_types_1 = require("./job_types");
1
+ import { JobType } from './job_types.js';
4
2
  test('product types exists', function () {
5
- expect(job_types_1.JobType.PRODUCT_CREATION_MOD).toBe(0);
3
+ expect(JobType.PRODUCT_CREATION_MOD).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationSection = void 0;
4
- var NotificationSection;
1
+ export var NotificationSection;
5
2
  (function (NotificationSection) {
6
3
  NotificationSection[NotificationSection["SYSTEM"] = 0] = "SYSTEM";
7
4
  NotificationSection[NotificationSection["USER"] = 1] = "USER";
@@ -14,4 +11,4 @@ var NotificationSection;
14
11
  NotificationSection[NotificationSection["JOB_NOTIFICATIONS"] = 8] = "JOB_NOTIFICATIONS";
15
12
  NotificationSection[NotificationSection["REMINDER"] = 9] = "REMINDER";
16
13
  NotificationSection[NotificationSection["WEB_FORM"] = 10] = "WEB_FORM";
17
- })(NotificationSection = exports.NotificationSection || (exports.NotificationSection = {}));
14
+ })(NotificationSection || (NotificationSection = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var notification_sections_1 = require("./notification_sections");
1
+ import { NotificationSection } from './notification_sections.js';
4
2
  test('system section exists', function () {
5
- expect(notification_sections_1.NotificationSection.SYSTEM).toBe(0);
3
+ expect(NotificationSection.SYSTEM).toBe(0);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationType = void 0;
4
- var NotificationType;
1
+ export var NotificationType;
5
2
  (function (NotificationType) {
6
3
  NotificationType[NotificationType["NO_TYPE"] = 0] = "NO_TYPE";
7
4
  NotificationType[NotificationType["DRAFT_SENT"] = 1] = "DRAFT_SENT";
@@ -98,4 +95,4 @@ var NotificationType;
98
95
  NotificationType[NotificationType["PRODUCT_RESELL_READY_FOR_SALE"] = 92] = "PRODUCT_RESELL_READY_FOR_SALE";
99
96
  NotificationType[NotificationType["PRODUCT_RESELL_CREATED"] = 93] = "PRODUCT_RESELL_CREATED";
100
97
  NotificationType[NotificationType["PRODUCT_SUPPLY_CHAIN_UPDATED"] = 94] = "PRODUCT_SUPPLY_CHAIN_UPDATED";
101
- })(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
98
+ })(NotificationType || (NotificationType = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var notification_types_1 = require("./notification_types");
1
+ import { NotificationType } from './notification_types.js';
4
2
  test('no_type notification type exists', function () {
5
- expect(notification_types_1.NotificationType.NO_TYPE).toBe(0);
3
+ expect(NotificationType.NO_TYPE).toBe(0);
6
4
  });
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationUrgency = void 0;
4
- var NotificationUrgency;
1
+ export var NotificationUrgency;
5
2
  (function (NotificationUrgency) {
6
3
  NotificationUrgency[NotificationUrgency["LOW"] = 0] = "LOW";
7
4
  NotificationUrgency[NotificationUrgency["MEDIUM"] = 1] = "MEDIUM";
8
5
  NotificationUrgency[NotificationUrgency["HIGH"] = 2] = "HIGH";
9
6
  NotificationUrgency[NotificationUrgency["URGENT"] = 3] = "URGENT";
10
- })(NotificationUrgency = exports.NotificationUrgency || (exports.NotificationUrgency = {}));
7
+ })(NotificationUrgency || (NotificationUrgency = {}));
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var notification_urgencies_1 = require("./notification_urgencies");
1
+ import { NotificationUrgency } from './notification_urgencies.js';
4
2
  test('urgent notification urgency exists', function () {
5
- expect(notification_urgencies_1.NotificationUrgency.URGENT).toBe(3);
3
+ expect(NotificationUrgency.URGENT).toBe(3);
6
4
  });
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentType = void 0;
4
- var PaymentType;
1
+ export var PaymentType;
5
2
  (function (PaymentType) {
6
3
  PaymentType[PaymentType["ONLINE_PAYMENT"] = 1] = "ONLINE_PAYMENT";
7
4
  PaymentType[PaymentType["PAYPAL_PAYMENT"] = 2] = "PAYPAL_PAYMENT";
@@ -11,4 +8,4 @@ var PaymentType;
11
8
  PaymentType[PaymentType["PHONE_PAYMENT"] = 6] = "PHONE_PAYMENT";
12
9
  PaymentType[PaymentType["CREDIT_CARD"] = 7] = "CREDIT_CARD";
13
10
  PaymentType[PaymentType["UTRUST_PAYMENT"] = 8] = "UTRUST_PAYMENT";
14
- })(PaymentType = exports.PaymentType || (exports.PaymentType = {}));
11
+ })(PaymentType || (PaymentType = {}));