@kernelminds/scailo-sdk 0.0.101 → 0.0.103
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/lib/cjs/permissions.js +100 -64
- package/lib/cjs/src/absences.scailo_connect.js +14 -3
- package/lib/cjs/src/asset_indents.scailo_connect.js +35 -1
- package/lib/cjs/src/attendances.scailo_connect.js +14 -3
- package/lib/cjs/src/components.scailo_connect.js +12 -0
- package/lib/cjs/src/credit_notes.scailo_connect.js +23 -1
- package/lib/cjs/src/debit_notes.scailo_connect.js +23 -1
- package/lib/cjs/src/equations_families.scailo_connect.js +37 -4
- package/lib/cjs/src/equations_replaceables.scailo_connect.js +37 -4
- package/lib/cjs/src/equations_sales_bundles.scailo_connect.js +37 -4
- package/lib/cjs/src/equations_work_orders.scailo_connect.js +37 -4
- package/lib/cjs/src/equipments.scailo_connect.js +12 -0
- package/lib/cjs/src/expenses.scailo_connect.js +35 -1
- package/lib/cjs/src/feedstocks.scailo_connect.js +12 -0
- package/lib/cjs/src/goals.scailo_connect.js +23 -1
- package/lib/cjs/src/goods_dispatches.scailo_connect.js +23 -1
- package/lib/cjs/src/goods_receipts.scailo_connect.js +23 -1
- package/lib/cjs/src/infrastructures.scailo_connect.js +12 -0
- package/lib/cjs/src/inventory.scailo_connect.js +44 -0
- package/lib/cjs/src/inventory.scailo_pb.js +810 -1
- package/lib/cjs/src/inward_jobs_free_issue_materials.scailo_connect.js +35 -1
- package/lib/cjs/src/inward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
- package/lib/cjs/src/magic_links.scailo_pb.js +252 -0
- package/lib/cjs/src/merchandises.scailo_connect.js +12 -0
- package/lib/cjs/src/on_duties.scailo_connect.js +14 -3
- package/lib/cjs/src/outward_jobs_free_issue_materials.scailo_connect.js +35 -1
- package/lib/cjs/src/outward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
- package/lib/cjs/src/payroll_groups.scailo_connect.js +23 -1
- package/lib/cjs/src/production_indents.scailo_connect.js +35 -1
- package/lib/cjs/src/production_plans.scailo_connect.js +35 -1
- package/lib/cjs/src/products.scailo_connect.js +12 -0
- package/lib/cjs/src/proforma_invoices.scailo_connect.js +23 -1
- package/lib/cjs/src/purchases_enquiries.scailo_connect.js +35 -1
- package/lib/cjs/src/purchases_indents.scailo_connect.js +35 -1
- package/lib/cjs/src/purchases_orders.scailo_connect.js +23 -1
- package/lib/cjs/src/purchases_payments.scailo_connect.js +14 -3
- package/lib/cjs/src/purchases_returns.scailo_connect.js +23 -1
- package/lib/cjs/src/qc_groups.scailo_connect.js +23 -1
- package/lib/cjs/src/qc_samples.scailo_connect.js +12 -0
- package/lib/cjs/src/quotations_requests.scailo_connect.js +35 -1
- package/lib/cjs/src/quotations_responses.scailo_connect.js +23 -0
- package/lib/cjs/src/replaceable_indents.scailo_connect.js +35 -1
- package/lib/cjs/src/sales_enquiries.scailo_connect.js +23 -1
- package/lib/cjs/src/sales_invoices.scailo_connect.js +23 -1
- package/lib/cjs/src/sales_orders.scailo_connect.js +23 -1
- package/lib/cjs/src/sales_quotations.scailo_connect.js +23 -1
- package/lib/cjs/src/sales_receipts.scailo_connect.js +14 -3
- package/lib/cjs/src/sales_returns.scailo_connect.js +23 -1
- package/lib/cjs/src/skills_groups.scailo_connect.js +23 -1
- package/lib/cjs/src/stock_audits.scailo_connect.js +35 -1
- package/lib/cjs/src/stock_issuances.scailo_connect.js +35 -1
- package/lib/cjs/src/stock_returns.scailo_connect.js +35 -1
- package/lib/cjs/src/supply_offers.scailo_connect.js +35 -1
- package/lib/cjs/src/vendor_invoices.scailo_connect.js +23 -1
- package/lib/cjs/src/vendors.scailo_connect.js +35 -1
- package/lib/cjs/src/visitations.scailo_connect.js +14 -3
- package/lib/cjs/src/work_orders.scailo_connect.js +35 -1
- package/lib/cjs/types/permissions.d.ts +180 -0
- package/lib/cjs/types/permissions.d.ts.map +1 -1
- package/lib/cjs/types/src/absences.scailo_connect.d.ts +14 -3
- package/lib/cjs/types/src/absences.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/asset_indents.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/asset_indents.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/attendances.scailo_connect.d.ts +14 -3
- package/lib/cjs/types/src/attendances.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/components.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/components.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/equations_families.scailo_connect.d.ts +38 -5
- package/lib/cjs/types/src/equations_families.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/equations_replaceables.scailo_connect.d.ts +38 -5
- package/lib/cjs/types/src/equations_replaceables.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/equations_sales_bundles.scailo_connect.d.ts +38 -5
- package/lib/cjs/types/src/equations_sales_bundles.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/equations_work_orders.scailo_connect.d.ts +38 -5
- package/lib/cjs/types/src/equations_work_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/equipments.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/equipments.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/expenses.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/expenses.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/feedstocks.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/feedstocks.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/goals.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/goals.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/infrastructures.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/infrastructures.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/inventory.scailo_connect.d.ts +45 -1
- package/lib/cjs/types/src/inventory.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/inventory.scailo_pb.d.ts +590 -0
- package/lib/cjs/types/src/inventory.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/magic_links.scailo_pb.d.ts +217 -1
- package/lib/cjs/types/src/magic_links.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/merchandises.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/merchandises.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/on_duties.scailo_connect.d.ts +14 -3
- package/lib/cjs/types/src/on_duties.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/payroll_groups.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/payroll_groups.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/production_indents.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/production_indents.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/production_plans.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/production_plans.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/products.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/products.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_enquiries.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/purchases_enquiries.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_payments.scailo_connect.d.ts +14 -3
- package/lib/cjs/types/src/purchases_payments.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/qc_groups.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/qc_groups.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/qc_samples.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/qc_samples.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/quotations_requests.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/quotations_requests.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/quotations_responses.scailo_connect.d.ts +24 -1
- package/lib/cjs/types/src/quotations_responses.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/replaceable_indents.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/replaceable_indents.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_receipts.scailo_connect.d.ts +14 -3
- package/lib/cjs/types/src/sales_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/skills_groups.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/skills_groups.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/stock_audits.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/stock_audits.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/stock_issuances.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/stock_issuances.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/stock_returns.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/stock_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +24 -2
- package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vendors.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/vendors.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/visitations.scailo_connect.d.ts +14 -3
- package/lib/cjs/types/src/visitations.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/work_orders.scailo_connect.d.ts +36 -2
- package/lib/cjs/types/src/work_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/permissions.js +100 -64
- package/lib/esm/src/absences.scailo_connect.js +14 -3
- package/lib/esm/src/asset_indents.scailo_connect.js +35 -1
- package/lib/esm/src/attendances.scailo_connect.js +14 -3
- package/lib/esm/src/components.scailo_connect.js +12 -0
- package/lib/esm/src/credit_notes.scailo_connect.js +23 -1
- package/lib/esm/src/debit_notes.scailo_connect.js +23 -1
- package/lib/esm/src/equations_families.scailo_connect.js +37 -4
- package/lib/esm/src/equations_replaceables.scailo_connect.js +37 -4
- package/lib/esm/src/equations_sales_bundles.scailo_connect.js +37 -4
- package/lib/esm/src/equations_work_orders.scailo_connect.js +37 -4
- package/lib/esm/src/equipments.scailo_connect.js +12 -0
- package/lib/esm/src/expenses.scailo_connect.js +35 -1
- package/lib/esm/src/feedstocks.scailo_connect.js +12 -0
- package/lib/esm/src/goals.scailo_connect.js +23 -1
- package/lib/esm/src/goods_dispatches.scailo_connect.js +23 -1
- package/lib/esm/src/goods_receipts.scailo_connect.js +23 -1
- package/lib/esm/src/infrastructures.scailo_connect.js +12 -0
- package/lib/esm/src/inventory.scailo_connect.js +44 -0
- package/lib/esm/src/inventory.scailo_pb.js +816 -1
- package/lib/esm/src/inward_jobs_free_issue_materials.scailo_connect.js +35 -1
- package/lib/esm/src/inward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
- package/lib/esm/src/magic_links.scailo_pb.js +252 -0
- package/lib/esm/src/merchandises.scailo_connect.js +12 -0
- package/lib/esm/src/on_duties.scailo_connect.js +14 -3
- package/lib/esm/src/outward_jobs_free_issue_materials.scailo_connect.js +35 -1
- package/lib/esm/src/outward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
- package/lib/esm/src/payroll_groups.scailo_connect.js +23 -1
- package/lib/esm/src/production_indents.scailo_connect.js +35 -1
- package/lib/esm/src/production_plans.scailo_connect.js +35 -1
- package/lib/esm/src/products.scailo_connect.js +12 -0
- package/lib/esm/src/proforma_invoices.scailo_connect.js +23 -1
- package/lib/esm/src/purchases_enquiries.scailo_connect.js +35 -1
- package/lib/esm/src/purchases_indents.scailo_connect.js +35 -1
- package/lib/esm/src/purchases_orders.scailo_connect.js +23 -1
- package/lib/esm/src/purchases_payments.scailo_connect.js +14 -3
- package/lib/esm/src/purchases_returns.scailo_connect.js +23 -1
- package/lib/esm/src/qc_groups.scailo_connect.js +23 -1
- package/lib/esm/src/qc_samples.scailo_connect.js +12 -0
- package/lib/esm/src/quotations_requests.scailo_connect.js +35 -1
- package/lib/esm/src/quotations_responses.scailo_connect.js +23 -0
- package/lib/esm/src/replaceable_indents.scailo_connect.js +35 -1
- package/lib/esm/src/sales_enquiries.scailo_connect.js +23 -1
- package/lib/esm/src/sales_invoices.scailo_connect.js +23 -1
- package/lib/esm/src/sales_orders.scailo_connect.js +23 -1
- package/lib/esm/src/sales_quotations.scailo_connect.js +23 -1
- package/lib/esm/src/sales_receipts.scailo_connect.js +14 -3
- package/lib/esm/src/sales_returns.scailo_connect.js +23 -1
- package/lib/esm/src/skills_groups.scailo_connect.js +23 -1
- package/lib/esm/src/stock_audits.scailo_connect.js +35 -1
- package/lib/esm/src/stock_issuances.scailo_connect.js +35 -1
- package/lib/esm/src/stock_returns.scailo_connect.js +35 -1
- package/lib/esm/src/supply_offers.scailo_connect.js +35 -1
- package/lib/esm/src/vendor_invoices.scailo_connect.js +23 -1
- package/lib/esm/src/vendors.scailo_connect.js +35 -1
- package/lib/esm/src/visitations.scailo_connect.js +14 -3
- package/lib/esm/src/work_orders.scailo_connect.js +35 -1
- package/lib/esm/types/permissions.d.ts +180 -0
- package/lib/esm/types/permissions.d.ts.map +1 -1
- package/lib/esm/types/src/absences.scailo_connect.d.ts +14 -3
- package/lib/esm/types/src/absences.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/asset_indents.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/asset_indents.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/attendances.scailo_connect.d.ts +14 -3
- package/lib/esm/types/src/attendances.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/components.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/components.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/equations_families.scailo_connect.d.ts +38 -5
- package/lib/esm/types/src/equations_families.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/equations_replaceables.scailo_connect.d.ts +38 -5
- package/lib/esm/types/src/equations_replaceables.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/equations_sales_bundles.scailo_connect.d.ts +38 -5
- package/lib/esm/types/src/equations_sales_bundles.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/equations_work_orders.scailo_connect.d.ts +38 -5
- package/lib/esm/types/src/equations_work_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/equipments.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/equipments.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/expenses.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/expenses.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/feedstocks.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/feedstocks.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/goals.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/goals.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/infrastructures.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/infrastructures.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/inventory.scailo_connect.d.ts +45 -1
- package/lib/esm/types/src/inventory.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/inventory.scailo_pb.d.ts +590 -0
- package/lib/esm/types/src/inventory.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/magic_links.scailo_pb.d.ts +217 -1
- package/lib/esm/types/src/magic_links.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/merchandises.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/merchandises.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/on_duties.scailo_connect.d.ts +14 -3
- package/lib/esm/types/src/on_duties.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/payroll_groups.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/payroll_groups.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/production_indents.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/production_indents.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/production_plans.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/production_plans.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/products.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/products.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_enquiries.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/purchases_enquiries.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_payments.scailo_connect.d.ts +14 -3
- package/lib/esm/types/src/purchases_payments.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/qc_groups.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/qc_groups.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/qc_samples.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/qc_samples.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/quotations_requests.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/quotations_requests.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/quotations_responses.scailo_connect.d.ts +24 -1
- package/lib/esm/types/src/quotations_responses.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/replaceable_indents.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/replaceable_indents.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_receipts.scailo_connect.d.ts +14 -3
- package/lib/esm/types/src/sales_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_returns.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/skills_groups.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/skills_groups.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/stock_audits.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/stock_audits.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/stock_issuances.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/stock_issuances.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/stock_returns.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/stock_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/supply_offers.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/supply_offers.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +24 -2
- package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vendors.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/vendors.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/visitations.scailo_connect.d.ts +14 -3
- package/lib/esm/types/src/visitations.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/work_orders.scailo_connect.d.ts +36 -2
- package/lib/esm/types/src/work_orders.scailo_connect.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.ConsolidatedInventoryStatistics = exports.FilterReturnableInventoryForIdentifierUUID = exports.FilterReturnableInventoryReq = exports.SearchReturnableInventoryForIdentifierUUID = exports.SearchReturnableInventoryReq = exports.ReturnableInventorySearchReq = exports.InventoryServiceFamilyQuantityReq = exports.InventoryHashSearchReq = exports.IssuableInventorySearchReq = exports.InventoryCodeMap = exports.GenericInventoryList = exports.GenericInventory = exports.GENERIC_INVENTORY_REF_FROM = void 0;
|
|
7
|
+
exports.InventoryDemand = exports.InventoryDemandMap = exports.InventoryDetailedDemand = exports.InventoryOrderedStatistics = exports.InventoryIndentedStatistics = exports.InventoryWorkInProgressStatistics = exports.AbridgedPurchaseReturnItem = exports.AbridgedGoodsReceiptItem = exports.AbridgedPurchaseOrderItem = exports.AbridgedPurchaseIndentItem = exports.AbridgedInventoryItem = exports.AbridgedProductionPlanItem = exports.ConsolidatedInventoryStatistics = exports.FilterReturnableInventoryForIdentifierUUID = exports.FilterReturnableInventoryReq = exports.SearchReturnableInventoryForIdentifierUUID = exports.SearchReturnableInventoryReq = exports.ReturnableInventorySearchReq = exports.InventoryServiceFamilyQuantityReq = exports.InventoryHashSearchReq = exports.IssuableInventorySearchReq = exports.InventoryCodeMap = exports.GenericInventoryList = exports.GenericInventory = exports.INVENTORY_NODE_ORIGIN_TYPE = exports.GENERIC_INVENTORY_REF_FROM = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
10
10
|
const families_scailo_pb_js_1 = require("./families.scailo_pb.js");
|
|
@@ -62,6 +62,144 @@ protobuf_1.proto3.util.setEnumType(GENERIC_INVENTORY_REF_FROM, "Scailo.GENERIC_I
|
|
|
62
62
|
{ no: 4, name: "GENERIC_INVENTORY_REF_FROM_OUTWARD_JOB_FREE_ISSUE_MATERIAL" },
|
|
63
63
|
{ no: 5, name: "GENERIC_INVENTORY_REF_FROM_PRODUCTION_PLAN" },
|
|
64
64
|
]);
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* Describes the available types of inventory node origins
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum Scailo.INVENTORY_NODE_ORIGIN_TYPE
|
|
70
|
+
*/
|
|
71
|
+
var INVENTORY_NODE_ORIGIN_TYPE;
|
|
72
|
+
(function (INVENTORY_NODE_ORIGIN_TYPE) {
|
|
73
|
+
/**
|
|
74
|
+
* Use this only in filter and search queries
|
|
75
|
+
*
|
|
76
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED = 0;
|
|
77
|
+
*/
|
|
78
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED"] = 0] = "INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED";
|
|
79
|
+
/**
|
|
80
|
+
* Denotes that the origin is from a sales order
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER = 10;
|
|
83
|
+
*/
|
|
84
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER"] = 10] = "INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER";
|
|
85
|
+
/**
|
|
86
|
+
* Denotes that the origin is from a sales return
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN = 20;
|
|
89
|
+
*/
|
|
90
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN"] = 20] = "INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN";
|
|
91
|
+
/**
|
|
92
|
+
* Denotes that the origin is from a production plan
|
|
93
|
+
*
|
|
94
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN = 30;
|
|
95
|
+
*/
|
|
96
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN"] = 30] = "INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN";
|
|
97
|
+
/**
|
|
98
|
+
* Denotes that the origin is from a work order equation
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION = 40;
|
|
101
|
+
*/
|
|
102
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION"] = 40] = "INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION";
|
|
103
|
+
/**
|
|
104
|
+
* Denotes that the origin from minimum stock
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK = 50;
|
|
107
|
+
*/
|
|
108
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK"] = 50] = "INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK";
|
|
109
|
+
/**
|
|
110
|
+
* Denotes that the origin is from a goods dispatch
|
|
111
|
+
*
|
|
112
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH = 60;
|
|
113
|
+
*/
|
|
114
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH"] = 60] = "INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH";
|
|
115
|
+
/**
|
|
116
|
+
* Denotes that the origin is from a stock issuance
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE = 70;
|
|
119
|
+
*/
|
|
120
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE"] = 70] = "INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE";
|
|
121
|
+
/**
|
|
122
|
+
* Denotes that the origin is from a family equation
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION = 80;
|
|
125
|
+
*/
|
|
126
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION"] = 80] = "INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION";
|
|
127
|
+
/**
|
|
128
|
+
* Denotes that the origin is from work in progress
|
|
129
|
+
*
|
|
130
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS = 90;
|
|
131
|
+
*/
|
|
132
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS"] = 90] = "INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS";
|
|
133
|
+
/**
|
|
134
|
+
* Denotes that the origin is from net indented
|
|
135
|
+
*
|
|
136
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED = 100;
|
|
137
|
+
*/
|
|
138
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED"] = 100] = "INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED";
|
|
139
|
+
/**
|
|
140
|
+
* Dentoes that the origin is from net ordered
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED = 110;
|
|
143
|
+
*/
|
|
144
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED"] = 110] = "INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED";
|
|
145
|
+
/**
|
|
146
|
+
* Denotes that the origin is from iqc
|
|
147
|
+
*
|
|
148
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_QC = 120;
|
|
149
|
+
*/
|
|
150
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_QC"] = 120] = "INVENTORY_NODE_ORIGIN_TYPE_QC";
|
|
151
|
+
/**
|
|
152
|
+
* Denotes that the origin is from rejected
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_REJECTED = 130;
|
|
155
|
+
*/
|
|
156
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_REJECTED"] = 130] = "INVENTORY_NODE_ORIGIN_TYPE_REJECTED";
|
|
157
|
+
/**
|
|
158
|
+
* Denotes that the origin is from returnable
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE = 140;
|
|
161
|
+
*/
|
|
162
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE"] = 140] = "INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE";
|
|
163
|
+
/**
|
|
164
|
+
* Denotes that the origin is from rework
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_REWORK = 150;
|
|
167
|
+
*/
|
|
168
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_REWORK"] = 150] = "INVENTORY_NODE_ORIGIN_TYPE_REWORK";
|
|
169
|
+
/**
|
|
170
|
+
* Denotes that the origin is from scrap
|
|
171
|
+
*
|
|
172
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_SCRAP = 160;
|
|
173
|
+
*/
|
|
174
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_SCRAP"] = 160] = "INVENTORY_NODE_ORIGIN_TYPE_SCRAP";
|
|
175
|
+
/**
|
|
176
|
+
* Denotes that the origin is from store
|
|
177
|
+
*
|
|
178
|
+
* @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_STORE = 170;
|
|
179
|
+
*/
|
|
180
|
+
INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_STORE"] = 170] = "INVENTORY_NODE_ORIGIN_TYPE_STORE";
|
|
181
|
+
})(INVENTORY_NODE_ORIGIN_TYPE || (exports.INVENTORY_NODE_ORIGIN_TYPE = INVENTORY_NODE_ORIGIN_TYPE = {}));
|
|
182
|
+
// Retrieve enum metadata with: proto3.getEnumType(INVENTORY_NODE_ORIGIN_TYPE)
|
|
183
|
+
protobuf_1.proto3.util.setEnumType(INVENTORY_NODE_ORIGIN_TYPE, "Scailo.INVENTORY_NODE_ORIGIN_TYPE", [
|
|
184
|
+
{ no: 0, name: "INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED" },
|
|
185
|
+
{ no: 10, name: "INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER" },
|
|
186
|
+
{ no: 20, name: "INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN" },
|
|
187
|
+
{ no: 30, name: "INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN" },
|
|
188
|
+
{ no: 40, name: "INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION" },
|
|
189
|
+
{ no: 50, name: "INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK" },
|
|
190
|
+
{ no: 60, name: "INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH" },
|
|
191
|
+
{ no: 70, name: "INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE" },
|
|
192
|
+
{ no: 80, name: "INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION" },
|
|
193
|
+
{ no: 90, name: "INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS" },
|
|
194
|
+
{ no: 100, name: "INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED" },
|
|
195
|
+
{ no: 110, name: "INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED" },
|
|
196
|
+
{ no: 120, name: "INVENTORY_NODE_ORIGIN_TYPE_QC" },
|
|
197
|
+
{ no: 130, name: "INVENTORY_NODE_ORIGIN_TYPE_REJECTED" },
|
|
198
|
+
{ no: 140, name: "INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE" },
|
|
199
|
+
{ no: 150, name: "INVENTORY_NODE_ORIGIN_TYPE_REWORK" },
|
|
200
|
+
{ no: 160, name: "INVENTORY_NODE_ORIGIN_TYPE_SCRAP" },
|
|
201
|
+
{ no: 170, name: "INVENTORY_NODE_ORIGIN_TYPE_STORE" },
|
|
202
|
+
]);
|
|
65
203
|
/**
|
|
66
204
|
*
|
|
67
205
|
* Describes the parameters that are present in a generic inventory payload, which is an abstraction over every inventory item that consists of the common parameters
|
|
@@ -1128,3 +1266,674 @@ ConsolidatedInventoryStatistics.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
1128
1266
|
{ no: 150, name: "store_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1129
1267
|
{ no: 200, name: "required_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1130
1268
|
]);
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* Describes the abridged version of each production plan item
|
|
1272
|
+
*
|
|
1273
|
+
* @generated from message Scailo.AbridgedProductionPlanItem
|
|
1274
|
+
*/
|
|
1275
|
+
class AbridgedProductionPlanItem extends protobuf_1.Message {
|
|
1276
|
+
constructor(data) {
|
|
1277
|
+
super();
|
|
1278
|
+
/**
|
|
1279
|
+
* Stores the production plan ID
|
|
1280
|
+
*
|
|
1281
|
+
* @generated from field: uint64 production_plan_id = 10;
|
|
1282
|
+
*/
|
|
1283
|
+
this.productionPlanId = protobuf_1.protoInt64.zero;
|
|
1284
|
+
/**
|
|
1285
|
+
* Stores the family ID
|
|
1286
|
+
*
|
|
1287
|
+
* @generated from field: uint64 family_id = 20;
|
|
1288
|
+
*/
|
|
1289
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1290
|
+
/**
|
|
1291
|
+
* The quantity being manufactured (in cents)
|
|
1292
|
+
*
|
|
1293
|
+
* @generated from field: int64 quantity = 30;
|
|
1294
|
+
*/
|
|
1295
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1296
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1297
|
+
}
|
|
1298
|
+
static fromBinary(bytes, options) {
|
|
1299
|
+
return new AbridgedProductionPlanItem().fromBinary(bytes, options);
|
|
1300
|
+
}
|
|
1301
|
+
static fromJson(jsonValue, options) {
|
|
1302
|
+
return new AbridgedProductionPlanItem().fromJson(jsonValue, options);
|
|
1303
|
+
}
|
|
1304
|
+
static fromJsonString(jsonString, options) {
|
|
1305
|
+
return new AbridgedProductionPlanItem().fromJsonString(jsonString, options);
|
|
1306
|
+
}
|
|
1307
|
+
static equals(a, b) {
|
|
1308
|
+
return protobuf_1.proto3.util.equals(AbridgedProductionPlanItem, a, b);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
exports.AbridgedProductionPlanItem = AbridgedProductionPlanItem;
|
|
1312
|
+
AbridgedProductionPlanItem.runtime = protobuf_1.proto3;
|
|
1313
|
+
AbridgedProductionPlanItem.typeName = "Scailo.AbridgedProductionPlanItem";
|
|
1314
|
+
AbridgedProductionPlanItem.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1315
|
+
{ no: 10, name: "production_plan_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1316
|
+
{ no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1317
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1318
|
+
]);
|
|
1319
|
+
/**
|
|
1320
|
+
*
|
|
1321
|
+
* Describes the abridged version of each inventory item
|
|
1322
|
+
*
|
|
1323
|
+
* @generated from message Scailo.AbridgedInventoryItem
|
|
1324
|
+
*/
|
|
1325
|
+
class AbridgedInventoryItem extends protobuf_1.Message {
|
|
1326
|
+
constructor(data) {
|
|
1327
|
+
super();
|
|
1328
|
+
/**
|
|
1329
|
+
* Stores the ID of the associated family
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from field: uint64 family_id = 10;
|
|
1332
|
+
*/
|
|
1333
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1334
|
+
/**
|
|
1335
|
+
* The computed hash of the inventory item
|
|
1336
|
+
*
|
|
1337
|
+
* @generated from field: string hash = 20;
|
|
1338
|
+
*/
|
|
1339
|
+
this.hash = "";
|
|
1340
|
+
/**
|
|
1341
|
+
* Stores the quantity (in cents)
|
|
1342
|
+
*
|
|
1343
|
+
* @generated from field: int64 quantity = 30;
|
|
1344
|
+
*/
|
|
1345
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1346
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1347
|
+
}
|
|
1348
|
+
static fromBinary(bytes, options) {
|
|
1349
|
+
return new AbridgedInventoryItem().fromBinary(bytes, options);
|
|
1350
|
+
}
|
|
1351
|
+
static fromJson(jsonValue, options) {
|
|
1352
|
+
return new AbridgedInventoryItem().fromJson(jsonValue, options);
|
|
1353
|
+
}
|
|
1354
|
+
static fromJsonString(jsonString, options) {
|
|
1355
|
+
return new AbridgedInventoryItem().fromJsonString(jsonString, options);
|
|
1356
|
+
}
|
|
1357
|
+
static equals(a, b) {
|
|
1358
|
+
return protobuf_1.proto3.util.equals(AbridgedInventoryItem, a, b);
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
exports.AbridgedInventoryItem = AbridgedInventoryItem;
|
|
1362
|
+
AbridgedInventoryItem.runtime = protobuf_1.proto3;
|
|
1363
|
+
AbridgedInventoryItem.typeName = "Scailo.AbridgedInventoryItem";
|
|
1364
|
+
AbridgedInventoryItem.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1365
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1366
|
+
{ no: 20, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1367
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1368
|
+
]);
|
|
1369
|
+
/**
|
|
1370
|
+
*
|
|
1371
|
+
* Describes the abridged version of each purchase indent item
|
|
1372
|
+
*
|
|
1373
|
+
* @generated from message Scailo.AbridgedPurchaseIndentItem
|
|
1374
|
+
*/
|
|
1375
|
+
class AbridgedPurchaseIndentItem extends protobuf_1.Message {
|
|
1376
|
+
constructor(data) {
|
|
1377
|
+
super();
|
|
1378
|
+
/**
|
|
1379
|
+
* Stores the purchase indent ID
|
|
1380
|
+
*
|
|
1381
|
+
* @generated from field: uint64 purchase_indent_id = 10;
|
|
1382
|
+
*/
|
|
1383
|
+
this.purchaseIndentId = protobuf_1.protoInt64.zero;
|
|
1384
|
+
/**
|
|
1385
|
+
* Stores the family ID
|
|
1386
|
+
*
|
|
1387
|
+
* @generated from field: uint64 family_id = 20;
|
|
1388
|
+
*/
|
|
1389
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1390
|
+
/**
|
|
1391
|
+
* The quantity of the item (in cents)
|
|
1392
|
+
*
|
|
1393
|
+
* @generated from field: int64 quantity = 30;
|
|
1394
|
+
*/
|
|
1395
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1396
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1397
|
+
}
|
|
1398
|
+
static fromBinary(bytes, options) {
|
|
1399
|
+
return new AbridgedPurchaseIndentItem().fromBinary(bytes, options);
|
|
1400
|
+
}
|
|
1401
|
+
static fromJson(jsonValue, options) {
|
|
1402
|
+
return new AbridgedPurchaseIndentItem().fromJson(jsonValue, options);
|
|
1403
|
+
}
|
|
1404
|
+
static fromJsonString(jsonString, options) {
|
|
1405
|
+
return new AbridgedPurchaseIndentItem().fromJsonString(jsonString, options);
|
|
1406
|
+
}
|
|
1407
|
+
static equals(a, b) {
|
|
1408
|
+
return protobuf_1.proto3.util.equals(AbridgedPurchaseIndentItem, a, b);
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
exports.AbridgedPurchaseIndentItem = AbridgedPurchaseIndentItem;
|
|
1412
|
+
AbridgedPurchaseIndentItem.runtime = protobuf_1.proto3;
|
|
1413
|
+
AbridgedPurchaseIndentItem.typeName = "Scailo.AbridgedPurchaseIndentItem";
|
|
1414
|
+
AbridgedPurchaseIndentItem.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1415
|
+
{ no: 10, name: "purchase_indent_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1416
|
+
{ no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1417
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1418
|
+
]);
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* Describes the abridged version of each purchase order item
|
|
1422
|
+
*
|
|
1423
|
+
* @generated from message Scailo.AbridgedPurchaseOrderItem
|
|
1424
|
+
*/
|
|
1425
|
+
class AbridgedPurchaseOrderItem extends protobuf_1.Message {
|
|
1426
|
+
constructor(data) {
|
|
1427
|
+
super();
|
|
1428
|
+
/**
|
|
1429
|
+
* Stores the purchase order ID
|
|
1430
|
+
*
|
|
1431
|
+
* @generated from field: uint64 purchase_order_id = 10;
|
|
1432
|
+
*/
|
|
1433
|
+
this.purchaseOrderId = protobuf_1.protoInt64.zero;
|
|
1434
|
+
/**
|
|
1435
|
+
* Stores the family ID
|
|
1436
|
+
*
|
|
1437
|
+
* @generated from field: uint64 family_id = 20;
|
|
1438
|
+
*/
|
|
1439
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1440
|
+
/**
|
|
1441
|
+
* The quantity of the item (in cents)
|
|
1442
|
+
*
|
|
1443
|
+
* @generated from field: int64 quantity = 30;
|
|
1444
|
+
*/
|
|
1445
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1446
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1447
|
+
}
|
|
1448
|
+
static fromBinary(bytes, options) {
|
|
1449
|
+
return new AbridgedPurchaseOrderItem().fromBinary(bytes, options);
|
|
1450
|
+
}
|
|
1451
|
+
static fromJson(jsonValue, options) {
|
|
1452
|
+
return new AbridgedPurchaseOrderItem().fromJson(jsonValue, options);
|
|
1453
|
+
}
|
|
1454
|
+
static fromJsonString(jsonString, options) {
|
|
1455
|
+
return new AbridgedPurchaseOrderItem().fromJsonString(jsonString, options);
|
|
1456
|
+
}
|
|
1457
|
+
static equals(a, b) {
|
|
1458
|
+
return protobuf_1.proto3.util.equals(AbridgedPurchaseOrderItem, a, b);
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
exports.AbridgedPurchaseOrderItem = AbridgedPurchaseOrderItem;
|
|
1462
|
+
AbridgedPurchaseOrderItem.runtime = protobuf_1.proto3;
|
|
1463
|
+
AbridgedPurchaseOrderItem.typeName = "Scailo.AbridgedPurchaseOrderItem";
|
|
1464
|
+
AbridgedPurchaseOrderItem.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1465
|
+
{ no: 10, name: "purchase_order_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1466
|
+
{ no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1467
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1468
|
+
]);
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* Describes the abridged version of each goods receipt item
|
|
1472
|
+
*
|
|
1473
|
+
* @generated from message Scailo.AbridgedGoodsReceiptItem
|
|
1474
|
+
*/
|
|
1475
|
+
class AbridgedGoodsReceiptItem extends protobuf_1.Message {
|
|
1476
|
+
constructor(data) {
|
|
1477
|
+
super();
|
|
1478
|
+
/**
|
|
1479
|
+
* Stores the goods receipt ID
|
|
1480
|
+
*
|
|
1481
|
+
* @generated from field: uint64 goods_receipt_id = 10;
|
|
1482
|
+
*/
|
|
1483
|
+
this.goodsReceiptId = protobuf_1.protoInt64.zero;
|
|
1484
|
+
/**
|
|
1485
|
+
* Stores the family ID
|
|
1486
|
+
*
|
|
1487
|
+
* @generated from field: uint64 family_id = 20;
|
|
1488
|
+
*/
|
|
1489
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1490
|
+
/**
|
|
1491
|
+
* The quantity of the item (in cents)
|
|
1492
|
+
*
|
|
1493
|
+
* @generated from field: int64 quantity = 30;
|
|
1494
|
+
*/
|
|
1495
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1496
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1497
|
+
}
|
|
1498
|
+
static fromBinary(bytes, options) {
|
|
1499
|
+
return new AbridgedGoodsReceiptItem().fromBinary(bytes, options);
|
|
1500
|
+
}
|
|
1501
|
+
static fromJson(jsonValue, options) {
|
|
1502
|
+
return new AbridgedGoodsReceiptItem().fromJson(jsonValue, options);
|
|
1503
|
+
}
|
|
1504
|
+
static fromJsonString(jsonString, options) {
|
|
1505
|
+
return new AbridgedGoodsReceiptItem().fromJsonString(jsonString, options);
|
|
1506
|
+
}
|
|
1507
|
+
static equals(a, b) {
|
|
1508
|
+
return protobuf_1.proto3.util.equals(AbridgedGoodsReceiptItem, a, b);
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
exports.AbridgedGoodsReceiptItem = AbridgedGoodsReceiptItem;
|
|
1512
|
+
AbridgedGoodsReceiptItem.runtime = protobuf_1.proto3;
|
|
1513
|
+
AbridgedGoodsReceiptItem.typeName = "Scailo.AbridgedGoodsReceiptItem";
|
|
1514
|
+
AbridgedGoodsReceiptItem.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1515
|
+
{ no: 10, name: "goods_receipt_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1516
|
+
{ no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1517
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1518
|
+
]);
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* Describes the abridged version of each purchase return item
|
|
1522
|
+
*
|
|
1523
|
+
* @generated from message Scailo.AbridgedPurchaseReturnItem
|
|
1524
|
+
*/
|
|
1525
|
+
class AbridgedPurchaseReturnItem extends protobuf_1.Message {
|
|
1526
|
+
constructor(data) {
|
|
1527
|
+
super();
|
|
1528
|
+
/**
|
|
1529
|
+
* Stores the purchase return ID
|
|
1530
|
+
*
|
|
1531
|
+
* @generated from field: uint64 purchase_return_id = 10;
|
|
1532
|
+
*/
|
|
1533
|
+
this.purchaseReturnId = protobuf_1.protoInt64.zero;
|
|
1534
|
+
/**
|
|
1535
|
+
* Stores the family ID
|
|
1536
|
+
*
|
|
1537
|
+
* @generated from field: uint64 family_id = 20;
|
|
1538
|
+
*/
|
|
1539
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1540
|
+
/**
|
|
1541
|
+
* The quantity of the item (in cents)
|
|
1542
|
+
*
|
|
1543
|
+
* @generated from field: int64 quantity = 30;
|
|
1544
|
+
*/
|
|
1545
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1546
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1547
|
+
}
|
|
1548
|
+
static fromBinary(bytes, options) {
|
|
1549
|
+
return new AbridgedPurchaseReturnItem().fromBinary(bytes, options);
|
|
1550
|
+
}
|
|
1551
|
+
static fromJson(jsonValue, options) {
|
|
1552
|
+
return new AbridgedPurchaseReturnItem().fromJson(jsonValue, options);
|
|
1553
|
+
}
|
|
1554
|
+
static fromJsonString(jsonString, options) {
|
|
1555
|
+
return new AbridgedPurchaseReturnItem().fromJsonString(jsonString, options);
|
|
1556
|
+
}
|
|
1557
|
+
static equals(a, b) {
|
|
1558
|
+
return protobuf_1.proto3.util.equals(AbridgedPurchaseReturnItem, a, b);
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
exports.AbridgedPurchaseReturnItem = AbridgedPurchaseReturnItem;
|
|
1562
|
+
AbridgedPurchaseReturnItem.runtime = protobuf_1.proto3;
|
|
1563
|
+
AbridgedPurchaseReturnItem.typeName = "Scailo.AbridgedPurchaseReturnItem";
|
|
1564
|
+
AbridgedPurchaseReturnItem.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1565
|
+
{ no: 10, name: "purchase_return_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1566
|
+
{ no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1567
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1568
|
+
]);
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* Describes the message consisting of the work in progress inventory statistics for the given family ID
|
|
1572
|
+
*
|
|
1573
|
+
* @generated from message Scailo.InventoryWorkInProgressStatistics
|
|
1574
|
+
*/
|
|
1575
|
+
class InventoryWorkInProgressStatistics extends protobuf_1.Message {
|
|
1576
|
+
constructor(data) {
|
|
1577
|
+
super();
|
|
1578
|
+
/**
|
|
1579
|
+
* List of abridged production plan items
|
|
1580
|
+
*
|
|
1581
|
+
* @generated from field: repeated Scailo.AbridgedProductionPlanItem production_plans = 10;
|
|
1582
|
+
*/
|
|
1583
|
+
this.productionPlans = [];
|
|
1584
|
+
/**
|
|
1585
|
+
* List of abridged inventory items
|
|
1586
|
+
*
|
|
1587
|
+
* @generated from field: repeated Scailo.AbridgedInventoryItem inventory_items = 20;
|
|
1588
|
+
*/
|
|
1589
|
+
this.inventoryItems = [];
|
|
1590
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1591
|
+
}
|
|
1592
|
+
static fromBinary(bytes, options) {
|
|
1593
|
+
return new InventoryWorkInProgressStatistics().fromBinary(bytes, options);
|
|
1594
|
+
}
|
|
1595
|
+
static fromJson(jsonValue, options) {
|
|
1596
|
+
return new InventoryWorkInProgressStatistics().fromJson(jsonValue, options);
|
|
1597
|
+
}
|
|
1598
|
+
static fromJsonString(jsonString, options) {
|
|
1599
|
+
return new InventoryWorkInProgressStatistics().fromJsonString(jsonString, options);
|
|
1600
|
+
}
|
|
1601
|
+
static equals(a, b) {
|
|
1602
|
+
return protobuf_1.proto3.util.equals(InventoryWorkInProgressStatistics, a, b);
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
exports.InventoryWorkInProgressStatistics = InventoryWorkInProgressStatistics;
|
|
1606
|
+
InventoryWorkInProgressStatistics.runtime = protobuf_1.proto3;
|
|
1607
|
+
InventoryWorkInProgressStatistics.typeName = "Scailo.InventoryWorkInProgressStatistics";
|
|
1608
|
+
InventoryWorkInProgressStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1609
|
+
{ no: 10, name: "production_plans", kind: "message", T: AbridgedProductionPlanItem, repeated: true },
|
|
1610
|
+
{ no: 20, name: "inventory_items", kind: "message", T: AbridgedInventoryItem, repeated: true },
|
|
1611
|
+
]);
|
|
1612
|
+
/**
|
|
1613
|
+
*
|
|
1614
|
+
* Describes the message consisting of the indented inventory statistics for the given family ID
|
|
1615
|
+
*
|
|
1616
|
+
* @generated from message Scailo.InventoryIndentedStatistics
|
|
1617
|
+
*/
|
|
1618
|
+
class InventoryIndentedStatistics extends protobuf_1.Message {
|
|
1619
|
+
constructor(data) {
|
|
1620
|
+
super();
|
|
1621
|
+
/**
|
|
1622
|
+
* List of abridged purchase indent items
|
|
1623
|
+
*
|
|
1624
|
+
* @generated from field: repeated Scailo.AbridgedPurchaseIndentItem purchase_indents = 10;
|
|
1625
|
+
*/
|
|
1626
|
+
this.purchaseIndents = [];
|
|
1627
|
+
/**
|
|
1628
|
+
* List of abridged purchase order items
|
|
1629
|
+
*
|
|
1630
|
+
* @generated from field: repeated Scailo.AbridgedPurchaseOrderItem purchase_orders = 20;
|
|
1631
|
+
*/
|
|
1632
|
+
this.purchaseOrders = [];
|
|
1633
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1634
|
+
}
|
|
1635
|
+
static fromBinary(bytes, options) {
|
|
1636
|
+
return new InventoryIndentedStatistics().fromBinary(bytes, options);
|
|
1637
|
+
}
|
|
1638
|
+
static fromJson(jsonValue, options) {
|
|
1639
|
+
return new InventoryIndentedStatistics().fromJson(jsonValue, options);
|
|
1640
|
+
}
|
|
1641
|
+
static fromJsonString(jsonString, options) {
|
|
1642
|
+
return new InventoryIndentedStatistics().fromJsonString(jsonString, options);
|
|
1643
|
+
}
|
|
1644
|
+
static equals(a, b) {
|
|
1645
|
+
return protobuf_1.proto3.util.equals(InventoryIndentedStatistics, a, b);
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
exports.InventoryIndentedStatistics = InventoryIndentedStatistics;
|
|
1649
|
+
InventoryIndentedStatistics.runtime = protobuf_1.proto3;
|
|
1650
|
+
InventoryIndentedStatistics.typeName = "Scailo.InventoryIndentedStatistics";
|
|
1651
|
+
InventoryIndentedStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1652
|
+
{ no: 10, name: "purchase_indents", kind: "message", T: AbridgedPurchaseIndentItem, repeated: true },
|
|
1653
|
+
{ no: 20, name: "purchase_orders", kind: "message", T: AbridgedPurchaseOrderItem, repeated: true },
|
|
1654
|
+
]);
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* Describes the message consisting of the ordered inventory statistics for the given family ID
|
|
1658
|
+
*
|
|
1659
|
+
* @generated from message Scailo.InventoryOrderedStatistics
|
|
1660
|
+
*/
|
|
1661
|
+
class InventoryOrderedStatistics extends protobuf_1.Message {
|
|
1662
|
+
constructor(data) {
|
|
1663
|
+
super();
|
|
1664
|
+
/**
|
|
1665
|
+
* List of abridged purchase order items
|
|
1666
|
+
*
|
|
1667
|
+
* @generated from field: repeated Scailo.AbridgedPurchaseOrderItem purchase_orders = 10;
|
|
1668
|
+
*/
|
|
1669
|
+
this.purchaseOrders = [];
|
|
1670
|
+
/**
|
|
1671
|
+
* List of abridged goods receipt items
|
|
1672
|
+
*
|
|
1673
|
+
* @generated from field: repeated Scailo.AbridgedGoodsReceiptItem goods_receipts = 20;
|
|
1674
|
+
*/
|
|
1675
|
+
this.goodsReceipts = [];
|
|
1676
|
+
/**
|
|
1677
|
+
* List of abridged purchase return items
|
|
1678
|
+
*
|
|
1679
|
+
* @generated from field: repeated Scailo.AbridgedPurchaseReturnItem purchase_returns = 30;
|
|
1680
|
+
*/
|
|
1681
|
+
this.purchaseReturns = [];
|
|
1682
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1683
|
+
}
|
|
1684
|
+
static fromBinary(bytes, options) {
|
|
1685
|
+
return new InventoryOrderedStatistics().fromBinary(bytes, options);
|
|
1686
|
+
}
|
|
1687
|
+
static fromJson(jsonValue, options) {
|
|
1688
|
+
return new InventoryOrderedStatistics().fromJson(jsonValue, options);
|
|
1689
|
+
}
|
|
1690
|
+
static fromJsonString(jsonString, options) {
|
|
1691
|
+
return new InventoryOrderedStatistics().fromJsonString(jsonString, options);
|
|
1692
|
+
}
|
|
1693
|
+
static equals(a, b) {
|
|
1694
|
+
return protobuf_1.proto3.util.equals(InventoryOrderedStatistics, a, b);
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
exports.InventoryOrderedStatistics = InventoryOrderedStatistics;
|
|
1698
|
+
InventoryOrderedStatistics.runtime = protobuf_1.proto3;
|
|
1699
|
+
InventoryOrderedStatistics.typeName = "Scailo.InventoryOrderedStatistics";
|
|
1700
|
+
InventoryOrderedStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1701
|
+
{ no: 10, name: "purchase_orders", kind: "message", T: AbridgedPurchaseOrderItem, repeated: true },
|
|
1702
|
+
{ no: 20, name: "goods_receipts", kind: "message", T: AbridgedGoodsReceiptItem, repeated: true },
|
|
1703
|
+
{ no: 30, name: "purchase_returns", kind: "message", T: AbridgedPurchaseReturnItem, repeated: true },
|
|
1704
|
+
]);
|
|
1705
|
+
/**
|
|
1706
|
+
*
|
|
1707
|
+
* Describes the message consisting of the detailed demand statistics for the given family ID
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from message Scailo.InventoryDetailedDemand
|
|
1710
|
+
*/
|
|
1711
|
+
class InventoryDetailedDemand extends protobuf_1.Message {
|
|
1712
|
+
constructor(data) {
|
|
1713
|
+
super();
|
|
1714
|
+
/**
|
|
1715
|
+
* ID of the resource
|
|
1716
|
+
*
|
|
1717
|
+
* @generated from field: uint64 id = 1;
|
|
1718
|
+
*/
|
|
1719
|
+
this.id = protobuf_1.protoInt64.zero;
|
|
1720
|
+
/**
|
|
1721
|
+
* UUID of the resource
|
|
1722
|
+
*
|
|
1723
|
+
* @generated from field: string uuid = 2;
|
|
1724
|
+
*/
|
|
1725
|
+
this.uuid = "";
|
|
1726
|
+
/**
|
|
1727
|
+
* Stores the family ID
|
|
1728
|
+
*
|
|
1729
|
+
* @generated from field: uint64 family_id = 10;
|
|
1730
|
+
*/
|
|
1731
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1732
|
+
/**
|
|
1733
|
+
* The base demand quantity of the item (in cents)
|
|
1734
|
+
*
|
|
1735
|
+
* @generated from field: int64 base_demand_quantity = 20;
|
|
1736
|
+
*/
|
|
1737
|
+
this.baseDemandQuantity = protobuf_1.protoInt64.zero;
|
|
1738
|
+
/**
|
|
1739
|
+
* The adjusted demand quantity of the item (in cents)
|
|
1740
|
+
*
|
|
1741
|
+
* @generated from field: int64 adjusted_demand_quantity = 30;
|
|
1742
|
+
*/
|
|
1743
|
+
this.adjustedDemandQuantity = protobuf_1.protoInt64.zero;
|
|
1744
|
+
/**
|
|
1745
|
+
* The required quantity of the item (in cents)
|
|
1746
|
+
*
|
|
1747
|
+
* @generated from field: int64 required_quantity = 40;
|
|
1748
|
+
*/
|
|
1749
|
+
this.requiredQuantity = protobuf_1.protoInt64.zero;
|
|
1750
|
+
/**
|
|
1751
|
+
* Represents if the resource is active
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from field: bool is_active = 60;
|
|
1754
|
+
*/
|
|
1755
|
+
this.isActive = false;
|
|
1756
|
+
/**
|
|
1757
|
+
* Stores the timestamp of when the resource was created
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from field: uint64 created_at = 70;
|
|
1760
|
+
*/
|
|
1761
|
+
this.createdAt = protobuf_1.protoInt64.zero;
|
|
1762
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1763
|
+
}
|
|
1764
|
+
static fromBinary(bytes, options) {
|
|
1765
|
+
return new InventoryDetailedDemand().fromBinary(bytes, options);
|
|
1766
|
+
}
|
|
1767
|
+
static fromJson(jsonValue, options) {
|
|
1768
|
+
return new InventoryDetailedDemand().fromJson(jsonValue, options);
|
|
1769
|
+
}
|
|
1770
|
+
static fromJsonString(jsonString, options) {
|
|
1771
|
+
return new InventoryDetailedDemand().fromJsonString(jsonString, options);
|
|
1772
|
+
}
|
|
1773
|
+
static equals(a, b) {
|
|
1774
|
+
return protobuf_1.proto3.util.equals(InventoryDetailedDemand, a, b);
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
exports.InventoryDetailedDemand = InventoryDetailedDemand;
|
|
1778
|
+
InventoryDetailedDemand.runtime = protobuf_1.proto3;
|
|
1779
|
+
InventoryDetailedDemand.typeName = "Scailo.InventoryDetailedDemand";
|
|
1780
|
+
InventoryDetailedDemand.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1781
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1782
|
+
{ no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1783
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1784
|
+
{ no: 20, name: "base_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1785
|
+
{ no: 30, name: "adjusted_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1786
|
+
{ no: 40, name: "required_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1787
|
+
{ no: 50, name: "demand_map", kind: "message", T: InventoryDemandMap },
|
|
1788
|
+
{ no: 60, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1789
|
+
{ no: 70, name: "created_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1790
|
+
]);
|
|
1791
|
+
/**
|
|
1792
|
+
*
|
|
1793
|
+
* Describes the message consisting of the demand map
|
|
1794
|
+
*
|
|
1795
|
+
* @generated from message Scailo.InventoryDemandMap
|
|
1796
|
+
*/
|
|
1797
|
+
class InventoryDemandMap extends protobuf_1.Message {
|
|
1798
|
+
constructor(data) {
|
|
1799
|
+
super();
|
|
1800
|
+
/**
|
|
1801
|
+
* Stores the family ID
|
|
1802
|
+
*
|
|
1803
|
+
* @generated from field: uint64 family_id = 10;
|
|
1804
|
+
*/
|
|
1805
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1806
|
+
/**
|
|
1807
|
+
* The base demand list
|
|
1808
|
+
*
|
|
1809
|
+
* @generated from field: repeated Scailo.InventoryDemand base_demand_list = 20;
|
|
1810
|
+
*/
|
|
1811
|
+
this.baseDemandList = [];
|
|
1812
|
+
/**
|
|
1813
|
+
* The adjusted demand list
|
|
1814
|
+
*
|
|
1815
|
+
* @generated from field: repeated Scailo.InventoryDemand adjusted_demand_list = 30;
|
|
1816
|
+
*/
|
|
1817
|
+
this.adjustedDemandList = [];
|
|
1818
|
+
/**
|
|
1819
|
+
* The quantity of the base demand (in cents)
|
|
1820
|
+
*
|
|
1821
|
+
* @generated from field: int64 base_demand_quantity = 40;
|
|
1822
|
+
*/
|
|
1823
|
+
this.baseDemandQuantity = protobuf_1.protoInt64.zero;
|
|
1824
|
+
/**
|
|
1825
|
+
* The quantity of the adjusted demand (in cents)
|
|
1826
|
+
*
|
|
1827
|
+
* @generated from field: int64 adjusted_demand_quantity = 50;
|
|
1828
|
+
*/
|
|
1829
|
+
this.adjustedDemandQuantity = protobuf_1.protoInt64.zero;
|
|
1830
|
+
/**
|
|
1831
|
+
* The required quantity of the item (in cents)
|
|
1832
|
+
*
|
|
1833
|
+
* @generated from field: int64 required_quantity = 60;
|
|
1834
|
+
*/
|
|
1835
|
+
this.requiredQuantity = protobuf_1.protoInt64.zero;
|
|
1836
|
+
/**
|
|
1837
|
+
* Stores if the item has been evaluated
|
|
1838
|
+
*
|
|
1839
|
+
* @generated from field: bool is_evaluated = 70;
|
|
1840
|
+
*/
|
|
1841
|
+
this.isEvaluated = false;
|
|
1842
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1843
|
+
}
|
|
1844
|
+
static fromBinary(bytes, options) {
|
|
1845
|
+
return new InventoryDemandMap().fromBinary(bytes, options);
|
|
1846
|
+
}
|
|
1847
|
+
static fromJson(jsonValue, options) {
|
|
1848
|
+
return new InventoryDemandMap().fromJson(jsonValue, options);
|
|
1849
|
+
}
|
|
1850
|
+
static fromJsonString(jsonString, options) {
|
|
1851
|
+
return new InventoryDemandMap().fromJsonString(jsonString, options);
|
|
1852
|
+
}
|
|
1853
|
+
static equals(a, b) {
|
|
1854
|
+
return protobuf_1.proto3.util.equals(InventoryDemandMap, a, b);
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
exports.InventoryDemandMap = InventoryDemandMap;
|
|
1858
|
+
InventoryDemandMap.runtime = protobuf_1.proto3;
|
|
1859
|
+
InventoryDemandMap.typeName = "Scailo.InventoryDemandMap";
|
|
1860
|
+
InventoryDemandMap.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1861
|
+
{ no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1862
|
+
{ no: 20, name: "base_demand_list", kind: "message", T: InventoryDemand, repeated: true },
|
|
1863
|
+
{ no: 30, name: "adjusted_demand_list", kind: "message", T: InventoryDemand, repeated: true },
|
|
1864
|
+
{ no: 40, name: "base_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1865
|
+
{ no: 50, name: "adjusted_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1866
|
+
{ no: 60, name: "required_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1867
|
+
{ no: 70, name: "is_evaluated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1868
|
+
]);
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* Describes the message consisting of the demand
|
|
1872
|
+
*
|
|
1873
|
+
* @generated from message Scailo.InventoryDemand
|
|
1874
|
+
*/
|
|
1875
|
+
class InventoryDemand extends protobuf_1.Message {
|
|
1876
|
+
constructor(data) {
|
|
1877
|
+
super();
|
|
1878
|
+
/**
|
|
1879
|
+
* The type of the origin
|
|
1880
|
+
*
|
|
1881
|
+
* @generated from field: Scailo.INVENTORY_NODE_ORIGIN_TYPE origin_type = 10;
|
|
1882
|
+
*/
|
|
1883
|
+
this.originType = INVENTORY_NODE_ORIGIN_TYPE.INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED;
|
|
1884
|
+
/**
|
|
1885
|
+
* The ID of the origin
|
|
1886
|
+
*
|
|
1887
|
+
* @generated from field: int64 origin_id = 20;
|
|
1888
|
+
*/
|
|
1889
|
+
this.originId = protobuf_1.protoInt64.zero;
|
|
1890
|
+
/**
|
|
1891
|
+
* The quantity in the origin
|
|
1892
|
+
*
|
|
1893
|
+
* @generated from field: int64 quantity = 30;
|
|
1894
|
+
*/
|
|
1895
|
+
this.quantity = protobuf_1.protoInt64.zero;
|
|
1896
|
+
/**
|
|
1897
|
+
* The multiplier that needs to be applied
|
|
1898
|
+
*
|
|
1899
|
+
* @generated from field: int64 multiplier = 40;
|
|
1900
|
+
*/
|
|
1901
|
+
this.multiplier = protobuf_1.protoInt64.zero;
|
|
1902
|
+
/**
|
|
1903
|
+
* The computed total
|
|
1904
|
+
*
|
|
1905
|
+
* @generated from field: int64 total = 50;
|
|
1906
|
+
*/
|
|
1907
|
+
this.total = protobuf_1.protoInt64.zero;
|
|
1908
|
+
/**
|
|
1909
|
+
* Stores if the quantity is positive
|
|
1910
|
+
*
|
|
1911
|
+
* @generated from field: bool is_positive_quantity = 60;
|
|
1912
|
+
*/
|
|
1913
|
+
this.isPositiveQuantity = false;
|
|
1914
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1915
|
+
}
|
|
1916
|
+
static fromBinary(bytes, options) {
|
|
1917
|
+
return new InventoryDemand().fromBinary(bytes, options);
|
|
1918
|
+
}
|
|
1919
|
+
static fromJson(jsonValue, options) {
|
|
1920
|
+
return new InventoryDemand().fromJson(jsonValue, options);
|
|
1921
|
+
}
|
|
1922
|
+
static fromJsonString(jsonString, options) {
|
|
1923
|
+
return new InventoryDemand().fromJsonString(jsonString, options);
|
|
1924
|
+
}
|
|
1925
|
+
static equals(a, b) {
|
|
1926
|
+
return protobuf_1.proto3.util.equals(InventoryDemand, a, b);
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
exports.InventoryDemand = InventoryDemand;
|
|
1930
|
+
InventoryDemand.runtime = protobuf_1.proto3;
|
|
1931
|
+
InventoryDemand.typeName = "Scailo.InventoryDemand";
|
|
1932
|
+
InventoryDemand.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1933
|
+
{ no: 10, name: "origin_type", kind: "enum", T: protobuf_1.proto3.getEnumType(INVENTORY_NODE_ORIGIN_TYPE) },
|
|
1934
|
+
{ no: 20, name: "origin_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1935
|
+
{ no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1936
|
+
{ no: 40, name: "multiplier", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1937
|
+
{ no: 50, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1938
|
+
{ no: 60, name: "is_positive_quantity", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1939
|
+
]);
|