merchi_sdk_ts 0.0.1-a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +13 -0
- package/.eslintrc.cjs +43 -0
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/dist/constants/auto_assign_production_on_actions.js +7 -0
- package/dist/constants/call_to_actions.js +15 -0
- package/dist/constants/call_to_actions.test.js +4 -0
- package/dist/constants/discount_types.js +4 -0
- package/dist/constants/discount_types.test.js +4 -0
- package/dist/constants/domain_types.js +13 -0
- package/dist/constants/domain_types.test.js +4 -0
- package/dist/constants/errors.js +32 -0
- package/dist/constants/event_types.js +6 -0
- package/dist/constants/event_types.test.js +4 -0
- package/dist/constants/field_types.js +14 -0
- package/dist/constants/field_types.test.js +4 -0
- package/dist/constants/input_types.js +14 -0
- package/dist/constants/input_types.test.js +4 -0
- package/dist/constants/inventory_status.test.js +4 -0
- package/dist/constants/inventory_statuses.js +7 -0
- package/dist/constants/invoice_types.js +6 -0
- package/dist/constants/invoice_types.test.js +4 -0
- package/dist/constants/item_types.js +6 -0
- package/dist/constants/item_types.test.js +4 -0
- package/dist/constants/job/drafting_status.js +8 -0
- package/dist/constants/job/drafting_status.test.js +4 -0
- package/dist/constants/job/payment_status.js +8 -0
- package/dist/constants/job/payment_status.test.js +4 -0
- package/dist/constants/job/production_status.js +13 -0
- package/dist/constants/job/production_status.test.js +4 -0
- package/dist/constants/job/shipment_status.js +12 -0
- package/dist/constants/job/shipment_status.test.js +4 -0
- package/dist/constants/job/supply_chain_request_status.js +7 -0
- package/dist/constants/job/supply_chain_request_status.test.js +4 -0
- package/dist/constants/job_priorities.js +7 -0
- package/dist/constants/job_priorities.test.js +4 -0
- package/dist/constants/job_status.js +50 -0
- package/dist/constants/job_status.test.js +4 -0
- package/dist/constants/job_types.js +16 -0
- package/dist/constants/job_types.test.js +4 -0
- package/dist/constants/notification_sections.js +14 -0
- package/dist/constants/notification_sections.test.js +4 -0
- package/dist/constants/notification_types.js +98 -0
- package/dist/constants/notification_types.test.js +4 -0
- package/dist/constants/notification_urgencies.js +7 -0
- package/dist/constants/notification_urgencies.test.js +4 -0
- package/dist/constants/payment_types.js +11 -0
- package/dist/constants/payment_types.test.js +4 -0
- package/dist/constants/platform.js +5 -0
- package/dist/constants/platform.test.js +8 -0
- package/dist/constants/product_types.js +26 -0
- package/dist/constants/product_types.test.js +4 -0
- package/dist/constants/rights.js +6 -0
- package/dist/constants/rights.test.js +4 -0
- package/dist/constants/robots_meta_directives.js +1 -0
- package/dist/constants/robots_meta_directives.test.js +4 -0
- package/dist/constants/roles.js +25 -0
- package/dist/constants/roles.test.js +4 -0
- package/dist/constants/shipment_companies.js +19 -0
- package/dist/constants/shipment_companies.test.js +4 -0
- package/dist/constants/shipment_services.js +4 -0
- package/dist/constants/shipment_services.test.js +4 -0
- package/dist/constants/system_roles.js +4 -0
- package/dist/constants/system_roles.test.js +4 -0
- package/dist/constants/theme_foundations.js +7 -0
- package/dist/constants/theme_foundations.test.js +4 -0
- package/dist/constants/theme_status.js +6 -0
- package/dist/constants/theme_status.test.js +4 -0
- package/dist/constants/user_types.js +18 -0
- package/dist/constants/user_types.test.js +4 -0
- package/dist/constants/white_label_accessibilities.js +6 -0
- package/dist/constants/white_label_accessibilities.test.js +4 -0
- package/dist/cookie.js +16 -0
- package/dist/cookie.test.js +12 -0
- package/dist/entities/address.js +166 -0
- package/dist/entities/address.test.js +6 -0
- package/dist/entities/assignment.js +185 -0
- package/dist/entities/assignment.test.js +38 -0
- package/dist/entities/automatic_payment_relationship.js +77 -0
- package/dist/entities/automatic_payment_relationship.test.js +6 -0
- package/dist/entities/backup.js +44 -0
- package/dist/entities/backup.test.js +6 -0
- package/dist/entities/bank.js +116 -0
- package/dist/entities/bank.test.js +6 -0
- package/dist/entities/cart.js +203 -0
- package/dist/entities/cart.test.js +52 -0
- package/dist/entities/cart_item.js +153 -0
- package/dist/entities/cart_item.test.js +34 -0
- package/dist/entities/cart_shipment_group.js +62 -0
- package/dist/entities/cart_shipment_quote.js +85 -0
- package/dist/entities/category.js +92 -0
- package/dist/entities/category.test.js +52 -0
- package/dist/entities/company.js +648 -0
- package/dist/entities/company.test.js +6 -0
- package/dist/entities/company_invitation.js +82 -0
- package/dist/entities/company_invitation.test.js +6 -0
- package/dist/entities/component.js +209 -0
- package/dist/entities/component.test.js +12 -0
- package/dist/entities/component_tag.js +50 -0
- package/dist/entities/component_tag.test.js +6 -0
- package/dist/entities/component_version.js +80 -0
- package/dist/entities/component_version.test.js +6 -0
- package/dist/entities/country_tax.js +110 -0
- package/dist/entities/country_tax.test.js +11 -0
- package/dist/entities/discount.js +77 -0
- package/dist/entities/discount.test.js +20 -0
- package/dist/entities/discount_group.js +74 -0
- package/dist/entities/discount_group.test.js +6 -0
- package/dist/entities/domain.js +535 -0
- package/dist/entities/domain.test.js +75 -0
- package/dist/entities/domain_invitation.js +90 -0
- package/dist/entities/domain_invitation.test.js +6 -0
- package/dist/entities/domain_tag.js +100 -0
- package/dist/entities/domain_tag.test.js +6 -0
- package/dist/entities/draft.js +180 -0
- package/dist/entities/draft.test.js +39 -0
- package/dist/entities/draft_comment.js +132 -0
- package/dist/entities/draft_comment.test.js +6 -0
- package/dist/entities/draft_template.js +105 -0
- package/dist/entities/draft_template.test.js +6 -0
- package/dist/entities/email_address.js +68 -0
- package/dist/entities/email_address.test.js +6 -0
- package/dist/entities/email_counter.js +56 -0
- package/dist/entities/email_counter.test.js +6 -0
- package/dist/entities/enrolled_domain.js +85 -0
- package/dist/entities/enrolled_domain.test.js +6 -0
- package/dist/entities/exchange_rate.js +62 -0
- package/dist/entities/exchange_rate.test.js +6 -0
- package/dist/entities/file.js +383 -0
- package/dist/entities/file.test.js +38 -0
- package/dist/entities/internal_tag.js +120 -0
- package/dist/entities/internal_tag.test.js +6 -0
- package/dist/entities/inventory.js +120 -0
- package/dist/entities/inventory.test.js +26 -0
- package/dist/entities/inventory_unit_variation.js +64 -0
- package/dist/entities/inventory_unit_variation.test.js +6 -0
- package/dist/entities/invoice.js +420 -0
- package/dist/entities/invoice.test.js +39 -0
- package/dist/entities/item.js +102 -0
- package/dist/entities/item.test.js +17 -0
- package/dist/entities/job.js +744 -0
- package/dist/entities/job.test.js +103 -0
- package/dist/entities/job_comment.js +120 -0
- package/dist/entities/job_comment.test.js +6 -0
- package/dist/entities/matching_inventory.js +77 -0
- package/dist/entities/menu.js +78 -0
- package/dist/entities/menu.test.js +6 -0
- package/dist/entities/menu_item.js +76 -0
- package/dist/entities/menu_item.test.js +6 -0
- package/dist/entities/notification.js +234 -0
- package/dist/entities/notification.test.js +6 -0
- package/dist/entities/page.js +84 -0
- package/dist/entities/page.test.js +6 -0
- package/dist/entities/payment.js +141 -0
- package/dist/entities/payment.test.js +18 -0
- package/dist/entities/payment_device.js +87 -0
- package/dist/entities/payment_device.test.js +6 -0
- package/dist/entities/phone_number.js +98 -0
- package/dist/entities/phone_number.test.js +6 -0
- package/dist/entities/product.js +806 -0
- package/dist/entities/product.test.js +811 -0
- package/dist/entities/production_comment.js +120 -0
- package/dist/entities/production_comment.test.js +6 -0
- package/dist/entities/quote.js +208 -0
- package/dist/entities/quote.test.js +107 -0
- package/dist/entities/quote_item.js +121 -0
- package/dist/entities/quote_item.test.js +56 -0
- package/dist/entities/seo_domain_page.js +82 -0
- package/dist/entities/seo_domain_page.test.js +6 -0
- package/dist/entities/session.js +77 -0
- package/dist/entities/session.test.js +6 -0
- package/dist/entities/shipment.js +401 -0
- package/dist/entities/shipment.test.js +28 -0
- package/dist/entities/shipment_item.js +49 -0
- package/dist/entities/shipment_item.test.js +6 -0
- package/dist/entities/shipment_item_fulfillment.js +48 -0
- package/dist/entities/shipment_item_fulfillment.test.js +6 -0
- package/dist/entities/shipment_method.js +146 -0
- package/dist/entities/shipment_method.test.js +6 -0
- package/dist/entities/shipment_method_variation.js +104 -0
- package/dist/entities/shipment_method_variation.test.js +6 -0
- package/dist/entities/short_url.js +95 -0
- package/dist/entities/short_url.test.js +6 -0
- package/dist/entities/subscription_plan.js +172 -0
- package/dist/entities/subscription_plan.test.js +6 -0
- package/dist/entities/supply_domain.js +73 -0
- package/dist/entities/supply_domain.test.js +6 -0
- package/dist/entities/system_role.js +50 -0
- package/dist/entities/system_role.test.js +6 -0
- package/dist/entities/theme.js +614 -0
- package/dist/entities/theme.test.js +39 -0
- package/dist/entities/theme_css_setting.js +67 -0
- package/dist/entities/theme_css_setting.test.js +6 -0
- package/dist/entities/user.js +749 -0
- package/dist/entities/user.test.js +157 -0
- package/dist/entities/user_company.js +78 -0
- package/dist/entities/user_company.test.js +6 -0
- package/dist/entities/variation.js +147 -0
- package/dist/entities/variation.test.js +6 -0
- package/dist/entities/variation_field.js +313 -0
- package/dist/entities/variation_field.test.js +69 -0
- package/dist/entities/variation_fields_option.js +190 -0
- package/dist/entities/variation_fields_option.test.js +47 -0
- package/dist/entities/variation_option.js +129 -0
- package/dist/entities/variation_option.test.js +6 -0
- package/dist/entities/variations_group.js +111 -0
- package/dist/entities/variations_group.test.js +6 -0
- package/dist/entity.js +888 -0
- package/dist/merchi.js +259 -0
- package/dist/merchi.test.js +35 -0
- package/dist/request.js +132 -0
- package/dist/request.test.js +46 -0
- package/dist/test_util.js +19 -0
- package/dist/toasts.js +27 -0
- package/dist/toasts.test.js +46 -0
- package/dist/util/float.js +24 -0
- package/dist/util/query_string.js +11 -0
- package/dist/util/query_string.test.js +6 -0
- package/dist/util/validation.js +3 -0
- package/dist/util/validation.test.js +12 -0
- package/dist/uuid.js +8 -0
- package/dist/uuid.test.js +13 -0
- package/jest.config.js +17 -0
- package/package.json +44 -0
- package/src/constants/auto_assign_production_on_actions.ts +6 -0
- package/src/constants/call_to_actions.test.ts +5 -0
- package/src/constants/call_to_actions.ts +14 -0
- package/src/constants/discount_types.test.ts +5 -0
- package/src/constants/discount_types.ts +3 -0
- package/src/constants/domain_types.test.ts +5 -0
- package/src/constants/domain_types.ts +12 -0
- package/src/constants/errors.ts +32 -0
- package/src/constants/event_types.test.ts +5 -0
- package/src/constants/event_types.ts +5 -0
- package/src/constants/field_types.test.ts +5 -0
- package/src/constants/field_types.ts +13 -0
- package/src/constants/input_types.test.ts +5 -0
- package/src/constants/input_types.ts +13 -0
- package/src/constants/inventory_status.test.ts +5 -0
- package/src/constants/inventory_statuses.ts +6 -0
- package/src/constants/invoice_types.test.ts +5 -0
- package/src/constants/invoice_types.ts +5 -0
- package/src/constants/item_types.test.ts +5 -0
- package/src/constants/item_types.ts +5 -0
- package/src/constants/job/drafting_status.test.ts +5 -0
- package/src/constants/job/drafting_status.ts +7 -0
- package/src/constants/job/payment_status.test.ts +5 -0
- package/src/constants/job/payment_status.ts +7 -0
- package/src/constants/job/production_status.test.ts +5 -0
- package/src/constants/job/production_status.ts +12 -0
- package/src/constants/job/shipment_status.test.ts +5 -0
- package/src/constants/job/shipment_status.ts +11 -0
- package/src/constants/job/supply_chain_request_status.test.ts +5 -0
- package/src/constants/job/supply_chain_request_status.ts +6 -0
- package/src/constants/job_priorities.test.ts +5 -0
- package/src/constants/job_priorities.ts +6 -0
- package/src/constants/job_status.test.ts +5 -0
- package/src/constants/job_status.ts +49 -0
- package/src/constants/job_types.test.ts +5 -0
- package/src/constants/job_types.ts +15 -0
- package/src/constants/notification_sections.test.ts +5 -0
- package/src/constants/notification_sections.ts +13 -0
- package/src/constants/notification_types.test.ts +5 -0
- package/src/constants/notification_types.ts +97 -0
- package/src/constants/notification_urgencies.test.ts +5 -0
- package/src/constants/notification_urgencies.ts +7 -0
- package/src/constants/payment_types.test.ts +5 -0
- package/src/constants/payment_types.ts +10 -0
- package/src/constants/platform.test.ts +15 -0
- package/src/constants/platform.ts +6 -0
- package/src/constants/product_types.test.ts +6 -0
- package/src/constants/product_types.ts +25 -0
- package/src/constants/rights.test.ts +5 -0
- package/src/constants/rights.ts +5 -0
- package/src/constants/robots_meta_directives.test.ts +5 -0
- package/src/constants/robots_meta_directives.ts +11 -0
- package/src/constants/roles.test.ts +5 -0
- package/src/constants/roles.ts +38 -0
- package/src/constants/shipment_companies.test.ts +5 -0
- package/src/constants/shipment_companies.ts +18 -0
- package/src/constants/shipment_services.test.ts +5 -0
- package/src/constants/shipment_services.ts +3 -0
- package/src/constants/system_roles.test.ts +5 -0
- package/src/constants/system_roles.ts +3 -0
- package/src/constants/theme_foundations.test.ts +5 -0
- package/src/constants/theme_foundations.ts +6 -0
- package/src/constants/theme_status.test.ts +5 -0
- package/src/constants/theme_status.ts +5 -0
- package/src/constants/user_types.test.ts +5 -0
- package/src/constants/user_types.ts +17 -0
- package/src/constants/white_label_accessibilities.test.ts +5 -0
- package/src/constants/white_label_accessibilities.ts +6 -0
- package/src/cookie.test.ts +11 -0
- package/src/cookie.ts +16 -0
- package/src/entities/address.test.ts +7 -0
- package/src/entities/address.ts +65 -0
- package/src/entities/assignment.test.ts +39 -0
- package/src/entities/assignment.ts +92 -0
- package/src/entities/automatic_payment_relationship.test.ts +8 -0
- package/src/entities/automatic_payment_relationship.ts +26 -0
- package/src/entities/backup.test.ts +7 -0
- package/src/entities/backup.ts +14 -0
- package/src/entities/bank.test.ts +7 -0
- package/src/entities/bank.ts +45 -0
- package/src/entities/cart.test.ts +50 -0
- package/src/entities/cart.ts +89 -0
- package/src/entities/cart_item.test.ts +33 -0
- package/src/entities/cart_item.ts +77 -0
- package/src/entities/cart_shipment_group.ts +21 -0
- package/src/entities/cart_shipment_quote.ts +33 -0
- package/src/entities/category.test.ts +57 -0
- package/src/entities/category.ts +37 -0
- package/src/entities/company.test.ts +7 -0
- package/src/entities/company.ts +275 -0
- package/src/entities/company_invitation.test.ts +7 -0
- package/src/entities/company_invitation.ts +33 -0
- package/src/entities/component.test.ts +14 -0
- package/src/entities/component.ts +92 -0
- package/src/entities/component_tag.test.ts +7 -0
- package/src/entities/component_tag.ts +17 -0
- package/src/entities/component_version.test.ts +7 -0
- package/src/entities/component_version.ts +30 -0
- package/src/entities/country_tax.test.ts +13 -0
- package/src/entities/country_tax.ts +46 -0
- package/src/entities/discount.test.ts +18 -0
- package/src/entities/discount.ts +34 -0
- package/src/entities/discount_group.test.ts +7 -0
- package/src/entities/discount_group.ts +28 -0
- package/src/entities/domain.test.ts +79 -0
- package/src/entities/domain.ts +246 -0
- package/src/entities/domain_invitation.test.ts +7 -0
- package/src/entities/domain_invitation.ts +36 -0
- package/src/entities/domain_tag.test.ts +7 -0
- package/src/entities/domain_tag.ts +42 -0
- package/src/entities/draft.test.ts +43 -0
- package/src/entities/draft.ts +88 -0
- package/src/entities/draft_comment.test.ts +7 -0
- package/src/entities/draft_comment.ts +54 -0
- package/src/entities/draft_template.test.ts +7 -0
- package/src/entities/draft_template.ts +40 -0
- package/src/entities/email_address.test.ts +7 -0
- package/src/entities/email_address.ts +24 -0
- package/src/entities/email_counter.test.ts +7 -0
- package/src/entities/email_counter.ts +20 -0
- package/src/entities/enrolled_domain.test.ts +7 -0
- package/src/entities/enrolled_domain.ts +40 -0
- package/src/entities/exchange_rate.test.ts +7 -0
- package/src/entities/exchange_rate.ts +22 -0
- package/src/entities/file.test.ts +43 -0
- package/src/entities/file.ts +172 -0
- package/src/entities/internal_tag.test.ts +7 -0
- package/src/entities/internal_tag.ts +51 -0
- package/src/entities/inventory.test.ts +28 -0
- package/src/entities/inventory.ts +56 -0
- package/src/entities/inventory_unit_variation.test.ts +7 -0
- package/src/entities/inventory_unit_variation.ts +29 -0
- package/src/entities/invoice.test.ts +43 -0
- package/src/entities/invoice.ts +179 -0
- package/src/entities/item.test.ts +19 -0
- package/src/entities/item.ts +44 -0
- package/src/entities/job.test.ts +95 -0
- package/src/entities/job.ts +349 -0
- package/src/entities/job_comment.test.ts +7 -0
- package/src/entities/job_comment.ts +50 -0
- package/src/entities/matching_inventory.ts +29 -0
- package/src/entities/menu.test.ts +7 -0
- package/src/entities/menu.ts +30 -0
- package/src/entities/menu_item.test.ts +7 -0
- package/src/entities/menu_item.ts +29 -0
- package/src/entities/notification.test.ts +7 -0
- package/src/entities/notification.ts +99 -0
- package/src/entities/page.test.ts +7 -0
- package/src/entities/page.ts +32 -0
- package/src/entities/payment.test.ts +19 -0
- package/src/entities/payment.ts +65 -0
- package/src/entities/payment_device.test.ts +7 -0
- package/src/entities/payment_device.ts +30 -0
- package/src/entities/phone_number.test.ts +7 -0
- package/src/entities/phone_number.ts +36 -0
- package/src/entities/product.test.ts +750 -0
- package/src/entities/product.ts +427 -0
- package/src/entities/production_comment.test.ts +7 -0
- package/src/entities/production_comment.ts +50 -0
- package/src/entities/quote.test.ts +98 -0
- package/src/entities/quote.ts +140 -0
- package/src/entities/quote_item.test.ts +50 -0
- package/src/entities/quote_item.ts +71 -0
- package/src/entities/seo_domain_page.test.ts +7 -0
- package/src/entities/seo_domain_page.ts +33 -0
- package/src/entities/session.test.ts +7 -0
- package/src/entities/session.ts +28 -0
- package/src/entities/shipment.test.ts +24 -0
- package/src/entities/shipment.ts +185 -0
- package/src/entities/shipment_item.test.ts +7 -0
- package/src/entities/shipment_item.ts +15 -0
- package/src/entities/shipment_item_fulfillment.test.ts +8 -0
- package/src/entities/shipment_item_fulfillment.ts +15 -0
- package/src/entities/shipment_method.test.ts +7 -0
- package/src/entities/shipment_method.ts +61 -0
- package/src/entities/shipment_method_variation.test.ts +7 -0
- package/src/entities/shipment_method_variation.ts +39 -0
- package/src/entities/short_url.test.ts +7 -0
- package/src/entities/short_url.ts +36 -0
- package/src/entities/subscription_plan.test.ts +7 -0
- package/src/entities/subscription_plan.ts +73 -0
- package/src/entities/supply_domain.test.ts +7 -0
- package/src/entities/supply_domain.ts +27 -0
- package/src/entities/system_role.test.ts +7 -0
- package/src/entities/system_role.ts +17 -0
- package/src/entities/theme.test.ts +38 -0
- package/src/entities/theme.ts +267 -0
- package/src/entities/theme_css_setting.test.ts +7 -0
- package/src/entities/theme_css_setting.ts +23 -0
- package/src/entities/user.test.ts +154 -0
- package/src/entities/user.ts +394 -0
- package/src/entities/user_company.test.ts +7 -0
- package/src/entities/user_company.ts +27 -0
- package/src/entities/variation.test.ts +7 -0
- package/src/entities/variation.ts +61 -0
- package/src/entities/variation_field.test.ts +76 -0
- package/src/entities/variation_field.ts +169 -0
- package/src/entities/variation_fields_option.test.ts +46 -0
- package/src/entities/variation_fields_option.ts +95 -0
- package/src/entities/variation_option.test.ts +7 -0
- package/src/entities/variation_option.ts +52 -0
- package/src/entities/variations_group.test.ts +7 -0
- package/src/entities/variations_group.ts +41 -0
- package/src/entity.ts +1002 -0
- package/src/merchi.test.ts +25 -0
- package/src/merchi.ts +379 -0
- package/src/request.test.ts +43 -0
- package/src/request.ts +124 -0
- package/src/test_util.ts +18 -0
- package/src/toasts.test.ts +38 -0
- package/src/toasts.ts +34 -0
- package/src/util/float.ts +12 -0
- package/src/util/query_string.test.ts +7 -0
- package/src/util/query_string.ts +11 -0
- package/src/util/validation.test.ts +16 -0
- package/src/util/validation.ts +2 -0
- package/src/uuid.test.ts +15 -0
- package/src/uuid.ts +8 -0
- package/tsconfig.json +23 -0
- package/webpack.config.cjs +27 -0
|
@@ -0,0 +1,744 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _dec58, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _dec77, _dec78, _dec79, _dec80, _dec81, _dec82, _dec83, _dec84, _dec85, _dec86, _dec87, _dec88, _dec89, _dec90, _dec91, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _descriptor68, _descriptor69, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _descriptor74, _descriptor75, _descriptor76, _descriptor77, _descriptor78, _descriptor79, _descriptor80, _descriptor81, _descriptor82, _descriptor83, _descriptor84, _descriptor85, _descriptor86, _descriptor87, _descriptor88, _descriptor89, _descriptor90, _descriptor91, _Job;
|
|
3
|
+
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
4
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
5
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
6
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
9
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
11
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
14
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
|
+
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
18
|
+
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
19
|
+
import { Address } from './address';
|
|
20
|
+
import { Company } from './company';
|
|
21
|
+
import { CountryTax } from './country_tax';
|
|
22
|
+
import { EmailAddress } from './email_address';
|
|
23
|
+
import { Entity } from '../entity';
|
|
24
|
+
import { Invoice } from './invoice';
|
|
25
|
+
import { PhoneNumber } from './phone_number';
|
|
26
|
+
import { Shipment } from './shipment';
|
|
27
|
+
import { User } from './user';
|
|
28
|
+
export var Job = (_dec = Job.property({
|
|
29
|
+
type: Date
|
|
30
|
+
}), _dec2 = Job.property(), _dec3 = Job.property(), _dec4 = Job.property(), _dec5 = Job.property(), _dec6 = Job.property({
|
|
31
|
+
type: String
|
|
32
|
+
}), _dec7 = Job.property({
|
|
33
|
+
type: String
|
|
34
|
+
}), _dec8 = Job.property({
|
|
35
|
+
type: String
|
|
36
|
+
}), _dec9 = Job.property(), _dec10 = Job.property(), _dec11 = Job.property({
|
|
37
|
+
type: Number
|
|
38
|
+
}), _dec12 = Job.property({
|
|
39
|
+
type: Number
|
|
40
|
+
}), _dec13 = Job.property({
|
|
41
|
+
type: Number
|
|
42
|
+
}), _dec14 = Job.property(), _dec15 = Job.property(), _dec16 = Job.property(), _dec17 = Job.property(), _dec18 = Job.property(), _dec19 = Job.property(), _dec20 = Job.property(), _dec21 = Job.property(), _dec22 = Job.property(), _dec23 = Job.property(), _dec24 = Job.property(), _dec25 = Job.property({
|
|
43
|
+
type: Number
|
|
44
|
+
}), _dec26 = Job.property({
|
|
45
|
+
type: Number
|
|
46
|
+
}), _dec27 = Job.property({
|
|
47
|
+
type: Date
|
|
48
|
+
}), _dec28 = Job.property({
|
|
49
|
+
type: Number
|
|
50
|
+
}), _dec29 = Job.property(), _dec30 = Job.property(), _dec31 = Job.property(), _dec32 = Job.property(), _dec33 = Job.property({
|
|
51
|
+
type: Number
|
|
52
|
+
}), _dec34 = Job.property({
|
|
53
|
+
type: Number
|
|
54
|
+
}), _dec35 = Job.property(), _dec36 = Job.property(), _dec37 = Job.property(), _dec38 = Job.property(), _dec39 = Job.property(), _dec40 = Job.property(), _dec41 = Job.property(), _dec42 = Job.property({
|
|
55
|
+
type: Number
|
|
56
|
+
}), _dec43 = Job.property({
|
|
57
|
+
type: Number
|
|
58
|
+
}), _dec44 = Job.property({
|
|
59
|
+
type: Number
|
|
60
|
+
}), _dec45 = Job.property({
|
|
61
|
+
type: Number
|
|
62
|
+
}), _dec46 = Job.property({
|
|
63
|
+
embeddedByDefault: false
|
|
64
|
+
}), _dec47 = Job.property({
|
|
65
|
+
embeddedByDefault: false
|
|
66
|
+
}), _dec48 = Job.property({
|
|
67
|
+
embeddedByDefault: false
|
|
68
|
+
}), _dec49 = Job.property({
|
|
69
|
+
embeddedByDefault: false
|
|
70
|
+
}), _dec50 = Job.property({
|
|
71
|
+
embeddedByDefault: false
|
|
72
|
+
}), _dec51 = Job.property({
|
|
73
|
+
embeddedByDefault: false
|
|
74
|
+
}), _dec52 = Job.property({
|
|
75
|
+
embeddedByDefault: false
|
|
76
|
+
}), _dec53 = Job.property({
|
|
77
|
+
embeddedByDefault: false
|
|
78
|
+
}), _dec54 = Job.property({
|
|
79
|
+
embeddedByDefault: false
|
|
80
|
+
}), _dec55 = Job.property({
|
|
81
|
+
embeddedByDefault: false
|
|
82
|
+
}), _dec56 = Job.property({
|
|
83
|
+
arrayType: 'Draft'
|
|
84
|
+
}), _dec57 = Job.property({
|
|
85
|
+
arrayType: 'Draft'
|
|
86
|
+
}), _dec58 = Job.property({
|
|
87
|
+
arrayType: 'Draft'
|
|
88
|
+
}), _dec59 = Job.property({
|
|
89
|
+
arrayType: 'JobComment'
|
|
90
|
+
}), _dec60 = Job.property(), _dec61 = Job.property({
|
|
91
|
+
type: User
|
|
92
|
+
}), _dec62 = Job.property({
|
|
93
|
+
type: User
|
|
94
|
+
}), _dec63 = Job.property({
|
|
95
|
+
type: Company
|
|
96
|
+
}), _dec64 = Job.property({
|
|
97
|
+
type: PhoneNumber
|
|
98
|
+
}), _dec65 = Job.property({
|
|
99
|
+
type: EmailAddress
|
|
100
|
+
}), _dec66 = Job.property({
|
|
101
|
+
type: PhoneNumber
|
|
102
|
+
}), _dec67 = Job.property({
|
|
103
|
+
type: EmailAddress
|
|
104
|
+
}), _dec68 = Job.property(), _dec69 = Job.property(), _dec70 = Job.property({
|
|
105
|
+
arrayType: 'DraftComment'
|
|
106
|
+
}), _dec71 = Job.property(), _dec72 = Job.property({
|
|
107
|
+
type: CountryTax
|
|
108
|
+
}), _dec73 = Job.property({
|
|
109
|
+
arrayType: 'InternalTag'
|
|
110
|
+
}), _dec74 = Job.property({
|
|
111
|
+
arrayType: 'DomainTag'
|
|
112
|
+
}), _dec75 = Job.property({
|
|
113
|
+
arrayType: 'Product'
|
|
114
|
+
}), _dec76 = Job.property({
|
|
115
|
+
type: Address
|
|
116
|
+
}), _dec77 = Job.property({
|
|
117
|
+
type: Address
|
|
118
|
+
}), _dec78 = Job.property(), _dec79 = Job.property({
|
|
119
|
+
type: Invoice
|
|
120
|
+
}), _dec80 = Job.property({
|
|
121
|
+
arrayType: 'MerchiFile'
|
|
122
|
+
}), _dec81 = Job.property({
|
|
123
|
+
arrayType: 'MerchiFile'
|
|
124
|
+
}), _dec82 = Job.property({
|
|
125
|
+
type: Shipment
|
|
126
|
+
}), _dec83 = Job.property({
|
|
127
|
+
arrayType: 'MatchingInventory'
|
|
128
|
+
}), _dec84 = Job.property({
|
|
129
|
+
arrayType: 'VariationsGroup'
|
|
130
|
+
}), _dec85 = Job.property({
|
|
131
|
+
arrayType: 'Variation'
|
|
132
|
+
}), _dec86 = Job.property({
|
|
133
|
+
arrayType: 'Notification'
|
|
134
|
+
}), _dec87 = Job.property({
|
|
135
|
+
arrayType: 'Assignment'
|
|
136
|
+
}), _dec88 = Job.property(), _dec89 = Job.property(), _dec90 = Job.property(), _dec91 = Job.property(), (_class = (_Job = /*#__PURE__*/function (_Entity) {
|
|
137
|
+
_inherits(Job, _Entity);
|
|
138
|
+
function Job() {
|
|
139
|
+
var _this;
|
|
140
|
+
_classCallCheck(this, Job);
|
|
141
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
142
|
+
args[_key] = arguments[_key];
|
|
143
|
+
}
|
|
144
|
+
_this = _callSuper(this, Job, [].concat(args));
|
|
145
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "archived", _descriptor, _assertThisInitialized(_this));
|
|
146
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "id", _descriptor2, _assertThisInitialized(_this));
|
|
147
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "jobType", _descriptor3, _assertThisInitialized(_this));
|
|
148
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "quantity", _descriptor4, _assertThisInitialized(_this));
|
|
149
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "currency", _descriptor5, _assertThisInitialized(_this));
|
|
150
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "notes", _descriptor6, _assertThisInitialized(_this));
|
|
151
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "productionNotes", _descriptor7, _assertThisInitialized(_this));
|
|
152
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "shopifyShopUrl", _descriptor8, _assertThisInitialized(_this));
|
|
153
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "shopifyOrderId", _descriptor9, _assertThisInitialized(_this));
|
|
154
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "shopifyOrderLineItemId", _descriptor10, _assertThisInitialized(_this));
|
|
155
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "productionStatus", _descriptor11, _assertThisInitialized(_this));
|
|
156
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "designStatus", _descriptor12, _assertThisInitialized(_this));
|
|
157
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "supplyChainRequestStatus", _descriptor13, _assertThisInitialized(_this));
|
|
158
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsDrafting", _descriptor14, _assertThisInitialized(_this));
|
|
159
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsGroupBuy", _descriptor15, _assertThisInitialized(_this));
|
|
160
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsProduction", _descriptor16, _assertThisInitialized(_this));
|
|
161
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsShipping", _descriptor17, _assertThisInitialized(_this));
|
|
162
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsInvoicing", _descriptor18, _assertThisInitialized(_this));
|
|
163
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsInventory", _descriptor19, _assertThisInitialized(_this));
|
|
164
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "needsSupplyChainRequest", _descriptor20, _assertThisInitialized(_this));
|
|
165
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "showProductionFilesToClient", _descriptor21, _assertThisInitialized(_this));
|
|
166
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "allowClientDraftContribution", _descriptor22, _assertThisInitialized(_this));
|
|
167
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "quoteSet", _descriptor23, _assertThisInitialized(_this));
|
|
168
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "jobInfoApprovedByClient", _descriptor24, _assertThisInitialized(_this));
|
|
169
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "groupBuyStatus", _descriptor25, _assertThisInitialized(_this));
|
|
170
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "paymentStatus", _descriptor26, _assertThisInitialized(_this));
|
|
171
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "deductionDate", _descriptor27, _assertThisInitialized(_this));
|
|
172
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "shippingStatus", _descriptor28, _assertThisInitialized(_this));
|
|
173
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "completed", _descriptor29, _assertThisInitialized(_this));
|
|
174
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "callToActions", _descriptor30, _assertThisInitialized(_this));
|
|
175
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "callToActionDetails", _descriptor31, _assertThisInitialized(_this));
|
|
176
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "priority", _descriptor32, _assertThisInitialized(_this));
|
|
177
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "jobWeight", _descriptor33, _assertThisInitialized(_this));
|
|
178
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "jobVolume", _descriptor34, _assertThisInitialized(_this));
|
|
179
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "received", _descriptor35, _assertThisInitialized(_this));
|
|
180
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "deadline", _descriptor36, _assertThisInitialized(_this));
|
|
181
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "updated", _descriptor37, _assertThisInitialized(_this));
|
|
182
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "groupBuyProductionStarted", _descriptor38, _assertThisInitialized(_this));
|
|
183
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "automaticPriceEnabled", _descriptor39, _assertThisInitialized(_this));
|
|
184
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "dropShip", _descriptor40, _assertThisInitialized(_this));
|
|
185
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "pickUp", _descriptor41, _assertThisInitialized(_this));
|
|
186
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "costPerUnit", _descriptor42, _assertThisInitialized(_this));
|
|
187
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "cost", _descriptor43, _assertThisInitialized(_this));
|
|
188
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "taxAmount", _descriptor44, _assertThisInitialized(_this));
|
|
189
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "totalCost", _descriptor45, _assertThisInitialized(_this));
|
|
190
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "inventoriesStatus", _descriptor46, _assertThisInitialized(_this));
|
|
191
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "unreadNotificationsCount", _descriptor47, _assertThisInitialized(_this));
|
|
192
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "unreadJobInfoNotificationsCount", _descriptor48, _assertThisInitialized(_this));
|
|
193
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "unreadJobDraftingNotificationsCount", _descriptor49, _assertThisInitialized(_this));
|
|
194
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "unreadJobProductionNotificationsCount", _descriptor50, _assertThisInitialized(_this));
|
|
195
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "unreadJobShippingNotificationsCount", _descriptor51, _assertThisInitialized(_this));
|
|
196
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "unreadJobInvoicingNotificationsCount", _descriptor52, _assertThisInitialized(_this));
|
|
197
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "limitedStock", _descriptor53, _assertThisInitialized(_this));
|
|
198
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "inventoryCount", _descriptor54, _assertThisInitialized(_this));
|
|
199
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "inventorySufficient", _descriptor55, _assertThisInitialized(_this));
|
|
200
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "drafts", _descriptor56, _assertThisInitialized(_this));
|
|
201
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "sharedDrafts", _descriptor57, _assertThisInitialized(_this));
|
|
202
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "ownDrafts", _descriptor58, _assertThisInitialized(_this));
|
|
203
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "comments", _descriptor59, _assertThisInitialized(_this));
|
|
204
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "client", _descriptor60, _assertThisInitialized(_this));
|
|
205
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "manager", _descriptor61, _assertThisInitialized(_this));
|
|
206
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "designer", _descriptor62, _assertThisInitialized(_this));
|
|
207
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "clientCompany", _descriptor63, _assertThisInitialized(_this));
|
|
208
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "clientPhone", _descriptor64, _assertThisInitialized(_this));
|
|
209
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "clientEmail", _descriptor65, _assertThisInitialized(_this));
|
|
210
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "clientCompanyPhone", _descriptor66, _assertThisInitialized(_this));
|
|
211
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "clientCompanyEmail", _descriptor67, _assertThisInitialized(_this));
|
|
212
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "product", _descriptor68, _assertThisInitialized(_this));
|
|
213
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "supplyChainRequestProduct", _descriptor69, _assertThisInitialized(_this));
|
|
214
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "draftComments", _descriptor70, _assertThisInitialized(_this));
|
|
215
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "preDraftCommentsCount", _descriptor71, _assertThisInitialized(_this));
|
|
216
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "taxType", _descriptor72, _assertThisInitialized(_this));
|
|
217
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "internalTags", _descriptor73, _assertThisInitialized(_this));
|
|
218
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "tags", _descriptor74, _assertThisInitialized(_this));
|
|
219
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "createdProducts", _descriptor75, _assertThisInitialized(_this));
|
|
220
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "shipping", _descriptor76, _assertThisInitialized(_this));
|
|
221
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "productionShippingAddress", _descriptor77, _assertThisInitialized(_this));
|
|
222
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "domain", _descriptor78, _assertThisInitialized(_this));
|
|
223
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "invoice", _descriptor79, _assertThisInitialized(_this));
|
|
224
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "productionFiles", _descriptor80, _assertThisInitialized(_this));
|
|
225
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "clientFiles", _descriptor81, _assertThisInitialized(_this));
|
|
226
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "shipment", _descriptor82, _assertThisInitialized(_this));
|
|
227
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "matchingInventories", _descriptor83, _assertThisInitialized(_this));
|
|
228
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "variationsGroups", _descriptor84, _assertThisInitialized(_this));
|
|
229
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "variations", _descriptor85, _assertThisInitialized(_this));
|
|
230
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "notifications", _descriptor86, _assertThisInitialized(_this));
|
|
231
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "assignments", _descriptor87, _assertThisInitialized(_this));
|
|
232
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "supplyAssignment", _descriptor88, _assertThisInitialized(_this));
|
|
233
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "supplyJob", _descriptor89, _assertThisInitialized(_this));
|
|
234
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "hasValidVolume", _descriptor90, _assertThisInitialized(_this));
|
|
235
|
+
_initializerDefineProperty(_assertThisInitialized(_this), "hasValidWeight", _descriptor91, _assertThisInitialized(_this));
|
|
236
|
+
_defineProperty(_assertThisInitialized(_this), "getQuote", function () {
|
|
237
|
+
var resource = '/specialised-order-estimate/';
|
|
238
|
+
var data = _this.toFormData({
|
|
239
|
+
excludeOld: false
|
|
240
|
+
});
|
|
241
|
+
var fetchOptions = {
|
|
242
|
+
method: 'POST',
|
|
243
|
+
body: data
|
|
244
|
+
};
|
|
245
|
+
fetchOptions.query = [];
|
|
246
|
+
fetchOptions.query.push(['skip_rights', 'y']);
|
|
247
|
+
// insert product id to query for debug purposes
|
|
248
|
+
fetchOptions.query.push(['product_id', _this.product.id ? _this.product.id.toString() : 'null']);
|
|
249
|
+
return _this.merchi.authenticatedFetch(resource, fetchOptions).then(function (data) {
|
|
250
|
+
_this.fromJson(data, {
|
|
251
|
+
makeDirty: true
|
|
252
|
+
});
|
|
253
|
+
return _assertThisInitialized(_this);
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
_defineProperty(_assertThisInitialized(_this), "deduct", function (matchingInventories) {
|
|
257
|
+
var resource = "/jobs/".concat(_this.id, "/deduct/");
|
|
258
|
+
var inventoriesNeedToBeDeducted = matchingInventories.map(function (matchingInventory) {
|
|
259
|
+
return matchingInventory.inventory.id;
|
|
260
|
+
});
|
|
261
|
+
var embed = {
|
|
262
|
+
matchingInventories: {
|
|
263
|
+
inventory: {},
|
|
264
|
+
group: {}
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
var data = new FormData();
|
|
268
|
+
data.append('inventories', JSON.stringify(inventoriesNeedToBeDeducted));
|
|
269
|
+
var fetchOptions = {
|
|
270
|
+
method: 'POST',
|
|
271
|
+
body: data,
|
|
272
|
+
query: [['embed', JSON.stringify(embed)]]
|
|
273
|
+
};
|
|
274
|
+
return _this.merchi.authenticatedFetch(resource, fetchOptions).then(function (data) {
|
|
275
|
+
_this.fromJson(data);
|
|
276
|
+
return _assertThisInitialized(_this);
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
_defineProperty(_assertThisInitialized(_this), "bulkDeduct", function () {
|
|
280
|
+
if (_this.matchingInventories === undefined) {
|
|
281
|
+
var err = 'matchingInventories is undefined, did you forget to embed' + ' it?';
|
|
282
|
+
throw new Error(err);
|
|
283
|
+
}
|
|
284
|
+
return _this.deduct(_this.matchingInventories);
|
|
285
|
+
});
|
|
286
|
+
return _this;
|
|
287
|
+
}
|
|
288
|
+
return _createClass(Job);
|
|
289
|
+
}(Entity), _defineProperty(_Job, "resourceName", 'jobs'), _defineProperty(_Job, "singularName", 'job'), _defineProperty(_Job, "pluralName", 'jobs'), _Job), (_descriptor = _applyDecoratedDescriptor(_class.prototype, "archived", [_dec], {
|
|
290
|
+
configurable: true,
|
|
291
|
+
enumerable: true,
|
|
292
|
+
writable: true,
|
|
293
|
+
initializer: null
|
|
294
|
+
}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, "id", [_dec2], {
|
|
295
|
+
configurable: true,
|
|
296
|
+
enumerable: true,
|
|
297
|
+
writable: true,
|
|
298
|
+
initializer: null
|
|
299
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, "jobType", [_dec3], {
|
|
300
|
+
configurable: true,
|
|
301
|
+
enumerable: true,
|
|
302
|
+
writable: true,
|
|
303
|
+
initializer: null
|
|
304
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, "quantity", [_dec4], {
|
|
305
|
+
configurable: true,
|
|
306
|
+
enumerable: true,
|
|
307
|
+
writable: true,
|
|
308
|
+
initializer: null
|
|
309
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, "currency", [_dec5], {
|
|
310
|
+
configurable: true,
|
|
311
|
+
enumerable: true,
|
|
312
|
+
writable: true,
|
|
313
|
+
initializer: null
|
|
314
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, "notes", [_dec6], {
|
|
315
|
+
configurable: true,
|
|
316
|
+
enumerable: true,
|
|
317
|
+
writable: true,
|
|
318
|
+
initializer: null
|
|
319
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, "productionNotes", [_dec7], {
|
|
320
|
+
configurable: true,
|
|
321
|
+
enumerable: true,
|
|
322
|
+
writable: true,
|
|
323
|
+
initializer: null
|
|
324
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, "shopifyShopUrl", [_dec8], {
|
|
325
|
+
configurable: true,
|
|
326
|
+
enumerable: true,
|
|
327
|
+
writable: true,
|
|
328
|
+
initializer: null
|
|
329
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, "shopifyOrderId", [_dec9], {
|
|
330
|
+
configurable: true,
|
|
331
|
+
enumerable: true,
|
|
332
|
+
writable: true,
|
|
333
|
+
initializer: null
|
|
334
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, "shopifyOrderLineItemId", [_dec10], {
|
|
335
|
+
configurable: true,
|
|
336
|
+
enumerable: true,
|
|
337
|
+
writable: true,
|
|
338
|
+
initializer: null
|
|
339
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, "productionStatus", [_dec11], {
|
|
340
|
+
configurable: true,
|
|
341
|
+
enumerable: true,
|
|
342
|
+
writable: true,
|
|
343
|
+
initializer: null
|
|
344
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, "designStatus", [_dec12], {
|
|
345
|
+
configurable: true,
|
|
346
|
+
enumerable: true,
|
|
347
|
+
writable: true,
|
|
348
|
+
initializer: null
|
|
349
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, "supplyChainRequestStatus", [_dec13], {
|
|
350
|
+
configurable: true,
|
|
351
|
+
enumerable: true,
|
|
352
|
+
writable: true,
|
|
353
|
+
initializer: null
|
|
354
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, "needsDrafting", [_dec14], {
|
|
355
|
+
configurable: true,
|
|
356
|
+
enumerable: true,
|
|
357
|
+
writable: true,
|
|
358
|
+
initializer: null
|
|
359
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, "needsGroupBuy", [_dec15], {
|
|
360
|
+
configurable: true,
|
|
361
|
+
enumerable: true,
|
|
362
|
+
writable: true,
|
|
363
|
+
initializer: null
|
|
364
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, "needsProduction", [_dec16], {
|
|
365
|
+
configurable: true,
|
|
366
|
+
enumerable: true,
|
|
367
|
+
writable: true,
|
|
368
|
+
initializer: null
|
|
369
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, "needsShipping", [_dec17], {
|
|
370
|
+
configurable: true,
|
|
371
|
+
enumerable: true,
|
|
372
|
+
writable: true,
|
|
373
|
+
initializer: null
|
|
374
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, "needsInvoicing", [_dec18], {
|
|
375
|
+
configurable: true,
|
|
376
|
+
enumerable: true,
|
|
377
|
+
writable: true,
|
|
378
|
+
initializer: null
|
|
379
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, "needsInventory", [_dec19], {
|
|
380
|
+
configurable: true,
|
|
381
|
+
enumerable: true,
|
|
382
|
+
writable: true,
|
|
383
|
+
initializer: null
|
|
384
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, "needsSupplyChainRequest", [_dec20], {
|
|
385
|
+
configurable: true,
|
|
386
|
+
enumerable: true,
|
|
387
|
+
writable: true,
|
|
388
|
+
initializer: null
|
|
389
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, "showProductionFilesToClient", [_dec21], {
|
|
390
|
+
configurable: true,
|
|
391
|
+
enumerable: true,
|
|
392
|
+
writable: true,
|
|
393
|
+
initializer: null
|
|
394
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, "allowClientDraftContribution", [_dec22], {
|
|
395
|
+
configurable: true,
|
|
396
|
+
enumerable: true,
|
|
397
|
+
writable: true,
|
|
398
|
+
initializer: null
|
|
399
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, "quoteSet", [_dec23], {
|
|
400
|
+
configurable: true,
|
|
401
|
+
enumerable: true,
|
|
402
|
+
writable: true,
|
|
403
|
+
initializer: null
|
|
404
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, "jobInfoApprovedByClient", [_dec24], {
|
|
405
|
+
configurable: true,
|
|
406
|
+
enumerable: true,
|
|
407
|
+
writable: true,
|
|
408
|
+
initializer: null
|
|
409
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, "groupBuyStatus", [_dec25], {
|
|
410
|
+
configurable: true,
|
|
411
|
+
enumerable: true,
|
|
412
|
+
writable: true,
|
|
413
|
+
initializer: null
|
|
414
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, "paymentStatus", [_dec26], {
|
|
415
|
+
configurable: true,
|
|
416
|
+
enumerable: true,
|
|
417
|
+
writable: true,
|
|
418
|
+
initializer: null
|
|
419
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, "deductionDate", [_dec27], {
|
|
420
|
+
configurable: true,
|
|
421
|
+
enumerable: true,
|
|
422
|
+
writable: true,
|
|
423
|
+
initializer: null
|
|
424
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, "shippingStatus", [_dec28], {
|
|
425
|
+
configurable: true,
|
|
426
|
+
enumerable: true,
|
|
427
|
+
writable: true,
|
|
428
|
+
initializer: null
|
|
429
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, "completed", [_dec29], {
|
|
430
|
+
configurable: true,
|
|
431
|
+
enumerable: true,
|
|
432
|
+
writable: true,
|
|
433
|
+
initializer: null
|
|
434
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, "callToActions", [_dec30], {
|
|
435
|
+
configurable: true,
|
|
436
|
+
enumerable: true,
|
|
437
|
+
writable: true,
|
|
438
|
+
initializer: null
|
|
439
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, "callToActionDetails", [_dec31], {
|
|
440
|
+
configurable: true,
|
|
441
|
+
enumerable: true,
|
|
442
|
+
writable: true,
|
|
443
|
+
initializer: null
|
|
444
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class.prototype, "priority", [_dec32], {
|
|
445
|
+
configurable: true,
|
|
446
|
+
enumerable: true,
|
|
447
|
+
writable: true,
|
|
448
|
+
initializer: null
|
|
449
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class.prototype, "jobWeight", [_dec33], {
|
|
450
|
+
configurable: true,
|
|
451
|
+
enumerable: true,
|
|
452
|
+
writable: true,
|
|
453
|
+
initializer: null
|
|
454
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class.prototype, "jobVolume", [_dec34], {
|
|
455
|
+
configurable: true,
|
|
456
|
+
enumerable: true,
|
|
457
|
+
writable: true,
|
|
458
|
+
initializer: null
|
|
459
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class.prototype, "received", [_dec35], {
|
|
460
|
+
configurable: true,
|
|
461
|
+
enumerable: true,
|
|
462
|
+
writable: true,
|
|
463
|
+
initializer: null
|
|
464
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class.prototype, "deadline", [_dec36], {
|
|
465
|
+
configurable: true,
|
|
466
|
+
enumerable: true,
|
|
467
|
+
writable: true,
|
|
468
|
+
initializer: null
|
|
469
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class.prototype, "updated", [_dec37], {
|
|
470
|
+
configurable: true,
|
|
471
|
+
enumerable: true,
|
|
472
|
+
writable: true,
|
|
473
|
+
initializer: null
|
|
474
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class.prototype, "groupBuyProductionStarted", [_dec38], {
|
|
475
|
+
configurable: true,
|
|
476
|
+
enumerable: true,
|
|
477
|
+
writable: true,
|
|
478
|
+
initializer: null
|
|
479
|
+
}), _descriptor39 = _applyDecoratedDescriptor(_class.prototype, "automaticPriceEnabled", [_dec39], {
|
|
480
|
+
configurable: true,
|
|
481
|
+
enumerable: true,
|
|
482
|
+
writable: true,
|
|
483
|
+
initializer: null
|
|
484
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class.prototype, "dropShip", [_dec40], {
|
|
485
|
+
configurable: true,
|
|
486
|
+
enumerable: true,
|
|
487
|
+
writable: true,
|
|
488
|
+
initializer: null
|
|
489
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class.prototype, "pickUp", [_dec41], {
|
|
490
|
+
configurable: true,
|
|
491
|
+
enumerable: true,
|
|
492
|
+
writable: true,
|
|
493
|
+
initializer: null
|
|
494
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class.prototype, "costPerUnit", [_dec42], {
|
|
495
|
+
configurable: true,
|
|
496
|
+
enumerable: true,
|
|
497
|
+
writable: true,
|
|
498
|
+
initializer: null
|
|
499
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class.prototype, "cost", [_dec43], {
|
|
500
|
+
configurable: true,
|
|
501
|
+
enumerable: true,
|
|
502
|
+
writable: true,
|
|
503
|
+
initializer: null
|
|
504
|
+
}), _descriptor44 = _applyDecoratedDescriptor(_class.prototype, "taxAmount", [_dec44], {
|
|
505
|
+
configurable: true,
|
|
506
|
+
enumerable: true,
|
|
507
|
+
writable: true,
|
|
508
|
+
initializer: null
|
|
509
|
+
}), _descriptor45 = _applyDecoratedDescriptor(_class.prototype, "totalCost", [_dec45], {
|
|
510
|
+
configurable: true,
|
|
511
|
+
enumerable: true,
|
|
512
|
+
writable: true,
|
|
513
|
+
initializer: null
|
|
514
|
+
}), _descriptor46 = _applyDecoratedDescriptor(_class.prototype, "inventoriesStatus", [_dec46], {
|
|
515
|
+
configurable: true,
|
|
516
|
+
enumerable: true,
|
|
517
|
+
writable: true,
|
|
518
|
+
initializer: null
|
|
519
|
+
}), _descriptor47 = _applyDecoratedDescriptor(_class.prototype, "unreadNotificationsCount", [_dec47], {
|
|
520
|
+
configurable: true,
|
|
521
|
+
enumerable: true,
|
|
522
|
+
writable: true,
|
|
523
|
+
initializer: null
|
|
524
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class.prototype, "unreadJobInfoNotificationsCount", [_dec48], {
|
|
525
|
+
configurable: true,
|
|
526
|
+
enumerable: true,
|
|
527
|
+
writable: true,
|
|
528
|
+
initializer: null
|
|
529
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class.prototype, "unreadJobDraftingNotificationsCount", [_dec49], {
|
|
530
|
+
configurable: true,
|
|
531
|
+
enumerable: true,
|
|
532
|
+
writable: true,
|
|
533
|
+
initializer: null
|
|
534
|
+
}), _descriptor50 = _applyDecoratedDescriptor(_class.prototype, "unreadJobProductionNotificationsCount", [_dec50], {
|
|
535
|
+
configurable: true,
|
|
536
|
+
enumerable: true,
|
|
537
|
+
writable: true,
|
|
538
|
+
initializer: null
|
|
539
|
+
}), _descriptor51 = _applyDecoratedDescriptor(_class.prototype, "unreadJobShippingNotificationsCount", [_dec51], {
|
|
540
|
+
configurable: true,
|
|
541
|
+
enumerable: true,
|
|
542
|
+
writable: true,
|
|
543
|
+
initializer: null
|
|
544
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class.prototype, "unreadJobInvoicingNotificationsCount", [_dec52], {
|
|
545
|
+
configurable: true,
|
|
546
|
+
enumerable: true,
|
|
547
|
+
writable: true,
|
|
548
|
+
initializer: null
|
|
549
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class.prototype, "limitedStock", [_dec53], {
|
|
550
|
+
configurable: true,
|
|
551
|
+
enumerable: true,
|
|
552
|
+
writable: true,
|
|
553
|
+
initializer: null
|
|
554
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class.prototype, "inventoryCount", [_dec54], {
|
|
555
|
+
configurable: true,
|
|
556
|
+
enumerable: true,
|
|
557
|
+
writable: true,
|
|
558
|
+
initializer: null
|
|
559
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class.prototype, "inventorySufficient", [_dec55], {
|
|
560
|
+
configurable: true,
|
|
561
|
+
enumerable: true,
|
|
562
|
+
writable: true,
|
|
563
|
+
initializer: null
|
|
564
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class.prototype, "drafts", [_dec56], {
|
|
565
|
+
configurable: true,
|
|
566
|
+
enumerable: true,
|
|
567
|
+
writable: true,
|
|
568
|
+
initializer: null
|
|
569
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class.prototype, "sharedDrafts", [_dec57], {
|
|
570
|
+
configurable: true,
|
|
571
|
+
enumerable: true,
|
|
572
|
+
writable: true,
|
|
573
|
+
initializer: null
|
|
574
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class.prototype, "ownDrafts", [_dec58], {
|
|
575
|
+
configurable: true,
|
|
576
|
+
enumerable: true,
|
|
577
|
+
writable: true,
|
|
578
|
+
initializer: null
|
|
579
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class.prototype, "comments", [_dec59], {
|
|
580
|
+
configurable: true,
|
|
581
|
+
enumerable: true,
|
|
582
|
+
writable: true,
|
|
583
|
+
initializer: null
|
|
584
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class.prototype, "client", [_dec60], {
|
|
585
|
+
configurable: true,
|
|
586
|
+
enumerable: true,
|
|
587
|
+
writable: true,
|
|
588
|
+
initializer: null
|
|
589
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class.prototype, "manager", [_dec61], {
|
|
590
|
+
configurable: true,
|
|
591
|
+
enumerable: true,
|
|
592
|
+
writable: true,
|
|
593
|
+
initializer: null
|
|
594
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class.prototype, "designer", [_dec62], {
|
|
595
|
+
configurable: true,
|
|
596
|
+
enumerable: true,
|
|
597
|
+
writable: true,
|
|
598
|
+
initializer: null
|
|
599
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class.prototype, "clientCompany", [_dec63], {
|
|
600
|
+
configurable: true,
|
|
601
|
+
enumerable: true,
|
|
602
|
+
writable: true,
|
|
603
|
+
initializer: null
|
|
604
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class.prototype, "clientPhone", [_dec64], {
|
|
605
|
+
configurable: true,
|
|
606
|
+
enumerable: true,
|
|
607
|
+
writable: true,
|
|
608
|
+
initializer: null
|
|
609
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class.prototype, "clientEmail", [_dec65], {
|
|
610
|
+
configurable: true,
|
|
611
|
+
enumerable: true,
|
|
612
|
+
writable: true,
|
|
613
|
+
initializer: null
|
|
614
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class.prototype, "clientCompanyPhone", [_dec66], {
|
|
615
|
+
configurable: true,
|
|
616
|
+
enumerable: true,
|
|
617
|
+
writable: true,
|
|
618
|
+
initializer: null
|
|
619
|
+
}), _descriptor67 = _applyDecoratedDescriptor(_class.prototype, "clientCompanyEmail", [_dec67], {
|
|
620
|
+
configurable: true,
|
|
621
|
+
enumerable: true,
|
|
622
|
+
writable: true,
|
|
623
|
+
initializer: null
|
|
624
|
+
}), _descriptor68 = _applyDecoratedDescriptor(_class.prototype, "product", [_dec68], {
|
|
625
|
+
configurable: true,
|
|
626
|
+
enumerable: true,
|
|
627
|
+
writable: true,
|
|
628
|
+
initializer: null
|
|
629
|
+
}), _descriptor69 = _applyDecoratedDescriptor(_class.prototype, "supplyChainRequestProduct", [_dec69], {
|
|
630
|
+
configurable: true,
|
|
631
|
+
enumerable: true,
|
|
632
|
+
writable: true,
|
|
633
|
+
initializer: null
|
|
634
|
+
}), _descriptor70 = _applyDecoratedDescriptor(_class.prototype, "draftComments", [_dec70], {
|
|
635
|
+
configurable: true,
|
|
636
|
+
enumerable: true,
|
|
637
|
+
writable: true,
|
|
638
|
+
initializer: null
|
|
639
|
+
}), _descriptor71 = _applyDecoratedDescriptor(_class.prototype, "preDraftCommentsCount", [_dec71], {
|
|
640
|
+
configurable: true,
|
|
641
|
+
enumerable: true,
|
|
642
|
+
writable: true,
|
|
643
|
+
initializer: null
|
|
644
|
+
}), _descriptor72 = _applyDecoratedDescriptor(_class.prototype, "taxType", [_dec72], {
|
|
645
|
+
configurable: true,
|
|
646
|
+
enumerable: true,
|
|
647
|
+
writable: true,
|
|
648
|
+
initializer: null
|
|
649
|
+
}), _descriptor73 = _applyDecoratedDescriptor(_class.prototype, "internalTags", [_dec73], {
|
|
650
|
+
configurable: true,
|
|
651
|
+
enumerable: true,
|
|
652
|
+
writable: true,
|
|
653
|
+
initializer: null
|
|
654
|
+
}), _descriptor74 = _applyDecoratedDescriptor(_class.prototype, "tags", [_dec74], {
|
|
655
|
+
configurable: true,
|
|
656
|
+
enumerable: true,
|
|
657
|
+
writable: true,
|
|
658
|
+
initializer: null
|
|
659
|
+
}), _descriptor75 = _applyDecoratedDescriptor(_class.prototype, "createdProducts", [_dec75], {
|
|
660
|
+
configurable: true,
|
|
661
|
+
enumerable: true,
|
|
662
|
+
writable: true,
|
|
663
|
+
initializer: null
|
|
664
|
+
}), _descriptor76 = _applyDecoratedDescriptor(_class.prototype, "shipping", [_dec76], {
|
|
665
|
+
configurable: true,
|
|
666
|
+
enumerable: true,
|
|
667
|
+
writable: true,
|
|
668
|
+
initializer: null
|
|
669
|
+
}), _descriptor77 = _applyDecoratedDescriptor(_class.prototype, "productionShippingAddress", [_dec77], {
|
|
670
|
+
configurable: true,
|
|
671
|
+
enumerable: true,
|
|
672
|
+
writable: true,
|
|
673
|
+
initializer: null
|
|
674
|
+
}), _descriptor78 = _applyDecoratedDescriptor(_class.prototype, "domain", [_dec78], {
|
|
675
|
+
configurable: true,
|
|
676
|
+
enumerable: true,
|
|
677
|
+
writable: true,
|
|
678
|
+
initializer: null
|
|
679
|
+
}), _descriptor79 = _applyDecoratedDescriptor(_class.prototype, "invoice", [_dec79], {
|
|
680
|
+
configurable: true,
|
|
681
|
+
enumerable: true,
|
|
682
|
+
writable: true,
|
|
683
|
+
initializer: null
|
|
684
|
+
}), _descriptor80 = _applyDecoratedDescriptor(_class.prototype, "productionFiles", [_dec80], {
|
|
685
|
+
configurable: true,
|
|
686
|
+
enumerable: true,
|
|
687
|
+
writable: true,
|
|
688
|
+
initializer: null
|
|
689
|
+
}), _descriptor81 = _applyDecoratedDescriptor(_class.prototype, "clientFiles", [_dec81], {
|
|
690
|
+
configurable: true,
|
|
691
|
+
enumerable: true,
|
|
692
|
+
writable: true,
|
|
693
|
+
initializer: null
|
|
694
|
+
}), _descriptor82 = _applyDecoratedDescriptor(_class.prototype, "shipment", [_dec82], {
|
|
695
|
+
configurable: true,
|
|
696
|
+
enumerable: true,
|
|
697
|
+
writable: true,
|
|
698
|
+
initializer: null
|
|
699
|
+
}), _descriptor83 = _applyDecoratedDescriptor(_class.prototype, "matchingInventories", [_dec83], {
|
|
700
|
+
configurable: true,
|
|
701
|
+
enumerable: true,
|
|
702
|
+
writable: true,
|
|
703
|
+
initializer: null
|
|
704
|
+
}), _descriptor84 = _applyDecoratedDescriptor(_class.prototype, "variationsGroups", [_dec84], {
|
|
705
|
+
configurable: true,
|
|
706
|
+
enumerable: true,
|
|
707
|
+
writable: true,
|
|
708
|
+
initializer: null
|
|
709
|
+
}), _descriptor85 = _applyDecoratedDescriptor(_class.prototype, "variations", [_dec85], {
|
|
710
|
+
configurable: true,
|
|
711
|
+
enumerable: true,
|
|
712
|
+
writable: true,
|
|
713
|
+
initializer: null
|
|
714
|
+
}), _descriptor86 = _applyDecoratedDescriptor(_class.prototype, "notifications", [_dec86], {
|
|
715
|
+
configurable: true,
|
|
716
|
+
enumerable: true,
|
|
717
|
+
writable: true,
|
|
718
|
+
initializer: null
|
|
719
|
+
}), _descriptor87 = _applyDecoratedDescriptor(_class.prototype, "assignments", [_dec87], {
|
|
720
|
+
configurable: true,
|
|
721
|
+
enumerable: true,
|
|
722
|
+
writable: true,
|
|
723
|
+
initializer: null
|
|
724
|
+
}), _descriptor88 = _applyDecoratedDescriptor(_class.prototype, "supplyAssignment", [_dec88], {
|
|
725
|
+
configurable: true,
|
|
726
|
+
enumerable: true,
|
|
727
|
+
writable: true,
|
|
728
|
+
initializer: null
|
|
729
|
+
}), _descriptor89 = _applyDecoratedDescriptor(_class.prototype, "supplyJob", [_dec89], {
|
|
730
|
+
configurable: true,
|
|
731
|
+
enumerable: true,
|
|
732
|
+
writable: true,
|
|
733
|
+
initializer: null
|
|
734
|
+
}), _descriptor90 = _applyDecoratedDescriptor(_class.prototype, "hasValidVolume", [_dec90], {
|
|
735
|
+
configurable: true,
|
|
736
|
+
enumerable: true,
|
|
737
|
+
writable: true,
|
|
738
|
+
initializer: null
|
|
739
|
+
}), _descriptor91 = _applyDecoratedDescriptor(_class.prototype, "hasValidWeight", [_dec91], {
|
|
740
|
+
configurable: true,
|
|
741
|
+
enumerable: true,
|
|
742
|
+
writable: true,
|
|
743
|
+
initializer: null
|
|
744
|
+
})), _class));
|