@erp-galoper/types 1.0.1458 → 1.0.1459

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.ts +190 -10
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -21503,7 +21503,7 @@ export interface paths {
21503
21503
  put?: never;
21504
21504
  /**
21505
21505
  * Manually sync a single customer to Shopify
21506
- * @description Triggers background sync of a specific ERP customer to Shopify. Automatically uses the first available store. If customer exists in both systems and both have been updated since last sync, conflict is resolved based on 'customer_source_of_truth' setting in Online Store Settings. Returns 202 if request is queued.customers should be filtered by: is_active=True, walk_in_pos=False, parent_customer is None ,and one of the currencies matches default currency in online store settings.
21506
+ * @description Triggers background sync of a specific ERP customer to Shopify. Automatically uses the first available store. If customer exists in both systems and both have been updated since last sync, conflict is resolved based on 'customer_source_of_truth' setting in Online Store Settings. Returns 202 if request is queued.customers should be filtered by: is_active=True, walk_in_pos=False, parent_customer is None (children only), and currency_id matches default currency in online store settings.
21507
21507
  */
21508
21508
  post: operations["integration_sync_views_sync_single_customer_endpoint"];
21509
21509
  delete?: never;
@@ -26051,7 +26051,7 @@ export interface components {
26051
26051
  * GetCostStrategy
26052
26052
  * @enum {string}
26053
26053
  */
26054
- GetCostStrategy: "firstInFirstOut" | "lastInFirstOut" | "weightedAverageCost" | "simpleAverageCost" | "marketCost";
26054
+ GetCostStrategy: "firstInFirstOut" | "lastInFirstOut" | "weightedAverageCost" | "marketCost";
26055
26055
  /**
26056
26056
  * INVENTORY_MOVEMENT_METHOD
26057
26057
  * @enum {string}
@@ -26986,7 +26986,7 @@ export interface components {
26986
26986
  * CostStrategy
26987
26987
  * @enum {string}
26988
26988
  */
26989
- CostStrategy: "firstInFirstOut" | "lastInFirstOut" | "weightedAverageCost" | "simpleAverageCost" | "marketCost";
26989
+ CostStrategy: "firstInFirstOut" | "lastInFirstOut" | "weightedAverageCost" | "marketCost";
26990
26990
  /** CreateChildItemSchema */
26991
26991
  CreateChildItemSchema: {
26992
26992
  /** Index */
@@ -29965,7 +29965,7 @@ export interface components {
29965
29965
  * @description Default currency to be used when creating new items. Get available currencies from /api/v1/common/currencies/
29966
29966
  */
29967
29967
  defaultCurrency?: number | null;
29968
- /** @description Default cost strategy to be used when creating new items (fifo, lifo, wac, sac, or marketCost) */
29968
+ /** @description Default cost strategy to be used when creating new items (fifo, lifo, wac, or marketCost) */
29969
29969
  defaultCostStrategy?: components["schemas"]["CostStrategy"] | null;
29970
29970
  /** Pdfdocumentfooter */
29971
29971
  pdfDocumentFooter?: string;
@@ -29998,7 +29998,7 @@ export interface components {
29998
29998
  * @description Default currency to be used when creating new items. Get available currencies from /api/v1/common/currencies/
29999
29999
  */
30000
30000
  defaultCurrency?: number | null;
30001
- /** @description Default cost strategy to be used when creating new items (fifo, lifo, wac, sac, or marketCost) */
30001
+ /** @description Default cost strategy to be used when creating new items (fifo, lifo, wac, or marketCost) */
30002
30002
  defaultCostStrategy?: components["schemas"]["CostStrategy"] | null;
30003
30003
  /** Pdfdocumentfooter */
30004
30004
  pdfDocumentFooter?: string;
@@ -30039,7 +30039,7 @@ export interface components {
30039
30039
  defaultUnitOfMeasure?: components["schemas"]["UnitOfMeasureSchema"][] | null;
30040
30040
  /** @description Default currency to be used when creating new items. Get available currencies from /api/v1/common/currencies/ */
30041
30041
  defaultCurrency?: components["schemas"]["CurrencySummaryInfo"] | null;
30042
- /** @description Default cost strategy to be used when creating new items (fifo, lifo, wac, sac, or marketCost) */
30042
+ /** @description Default cost strategy to be used when creating new items (fifo, lifo, wac, or marketCost) */
30043
30043
  defaultCostStrategy?: components["schemas"]["GetCostStrategy"] | null;
30044
30044
  /** Pdfdocumentfooter */
30045
30045
  pdfDocumentFooter: string | null;
@@ -31588,7 +31588,7 @@ export interface components {
31588
31588
  modifiedBy: components["schemas"]["RecordUserSchema"] | null;
31589
31589
  /** Id */
31590
31590
  id: number;
31591
- item: components["schemas"]["ItemMinimalSchema"];
31591
+ item: components["schemas"]["ItemSchema"];
31592
31592
  /** @description Tracking method: serial_number, batch, or quantity */
31593
31593
  trackInventoryBy?: components["schemas"]["TrackingMethodChoices"] | null;
31594
31594
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
@@ -45950,7 +45950,7 @@ export interface components {
45950
45950
  * filter by :
45951
45951
  * - viewType equal to flat, role not equal to template, active = true
45952
45952
  * * if price list type not equal to retail:
45953
- * - if pricing method is profit filter by costStrategy one of [fifo,lifo, wac, sac ]
45953
+ * - if pricing method is profit filter by costStrategy one of [fifo,lifo, wac ]
45954
45954
  * - if pricing method is manual filter by costStrategy = marketCost
45955
45955
  * - item can be filtered by: name, barcode, sku code or short name
45956
45956
  */
@@ -46077,7 +46077,7 @@ export interface components {
46077
46077
  */
46078
46078
  endDate?: string;
46079
46079
  /**
46080
- * @description Pricing method applied to the item. If the cost strategy of the item is 'fifo', 'lifo', 'wac', or 'sac', the pricing method should be 'profit'
46080
+ * @description Pricing method applied to the item. If the cost strategy of the item is 'fifo', 'lifo', 'wac', the pricing method should be 'profit'
46081
46081
  * - If the cost strategy is 'marketcost', the pricing method should be 'manual'.
46082
46082
  */
46083
46083
  pricingMethod: components["schemas"]["PRICING_METHOD_CHOICES"];
@@ -49551,7 +49551,187 @@ export interface components {
49551
49551
  SalesOrderListSchema: {
49552
49552
  info: components["schemas"]["PageInfoSchema"];
49553
49553
  /** Results */
49554
- results: components["schemas"]["SalesOrderSchema"][];
49554
+ results: components["schemas"]["SalesOrderWithoutItemsSchema"][];
49555
+ };
49556
+ /** SalesOrderWithoutItemsSchema */
49557
+ SalesOrderWithoutItemsSchema: {
49558
+ /**
49559
+ * Datecreated
49560
+ * Format: date-time
49561
+ */
49562
+ dateCreated: string;
49563
+ /** Datemodified */
49564
+ dateModified: string | null;
49565
+ createdBy: components["schemas"]["RecordUserSchema"];
49566
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
49567
+ /**
49568
+ * Id
49569
+ * Format: uuid
49570
+ */
49571
+ id: string;
49572
+ /**
49573
+ * Serialnumber
49574
+ * @description The serial number of the sales order.
49575
+ */
49576
+ serialNumber: string;
49577
+ customer: components["schemas"]["CustomerSharedSchema"];
49578
+ /** @description Details about the customer's branch. */
49579
+ customerBranch: components["schemas"]["CustomerBranchSharedSchema"] | null;
49580
+ /** @description Details about the warehouse where the order is managed, if applicable. */
49581
+ warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
49582
+ /** @description The sales quotation linked to this order, if applicable. */
49583
+ salesQuotation: components["schemas"]["SalesQuotationSharedSchema"] | null;
49584
+ /**
49585
+ * Date
49586
+ * Format: date
49587
+ * @description The date when the sales order was created. Format: YYYY-MM-DD.
49588
+ */
49589
+ date: string;
49590
+ /**
49591
+ * Deliverydate
49592
+ * Format: date
49593
+ * @description The expected delivery date. Format: YYYY-MM-DD.
49594
+ */
49595
+ deliveryDate: string;
49596
+ /** @description The current status of the sales order. */
49597
+ status: components["schemas"]["InternalStatusOnReturnValueChoices"];
49598
+ /** @description The approval status of the sales order. */
49599
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
49600
+ /** @description The invoice status linked to the sales order. */
49601
+ invoiceStatus: components["schemas"]["InvoiceStatusValueChoices"];
49602
+ /** @description The delivery status of the sales order. */
49603
+ deliveryStatus: components["schemas"]["DeliveryStatusValueChoices"];
49604
+ /** @description The price list associated with the sales order. */
49605
+ priceList: components["schemas"]["SalesPriceListSummaryInfo"] | null;
49606
+ /**
49607
+ * Promotionsandoffers
49608
+ * @description A list of promotions and offers applied to the sales order, visible when modules sales and inventory are on
49609
+ * @default []
49610
+ */
49611
+ promotionsAndOffers: components["schemas"]["PromotionsAndOffersSharedSchema"][];
49612
+ /** @description Details about the commission level for the sales order, if applicable. */
49613
+ commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
49614
+ /** @description visible when project module is active */
49615
+ project: components["schemas"]["ProjectSummaryInfo"] | null;
49616
+ /**
49617
+ * Usdrate
49618
+ * @description This field is a number representing the USD rate.
49619
+ */
49620
+ usdRate: string;
49621
+ /**
49622
+ * Companyrate
49623
+ * @description This field is a number representing the company rate.
49624
+ */
49625
+ companyRate: string;
49626
+ /**
49627
+ * Subtotal
49628
+ * @description This field is a number representing the subtotal for the sales order.
49629
+ */
49630
+ subtotal: string;
49631
+ /**
49632
+ * Usdsubtotal
49633
+ * @description This field is a number representing the subtotal in USD.
49634
+ */
49635
+ usdSubtotal: string;
49636
+ /**
49637
+ * Companysubtotal
49638
+ * @description This field is a number representing the subtotal in the company's currency.
49639
+ */
49640
+ companySubtotal: string;
49641
+ /**
49642
+ * Discount
49643
+ * @description The discount percentage applied to the sales order.
49644
+ * @default 0
49645
+ */
49646
+ discount: number;
49647
+ /**
49648
+ * Discountedtotal
49649
+ * @description This field is a number representing the total after discount.
49650
+ */
49651
+ discountedTotal: string;
49652
+ /**
49653
+ * Usddiscountedtotal
49654
+ * @description This field is a number representing the total after discount in USD.
49655
+ */
49656
+ usdDiscountedTotal: string;
49657
+ /**
49658
+ * Companydiscountedtotal
49659
+ * @description This field is a number representing the total after discount in the company's currency.
49660
+ */
49661
+ companyDiscountedTotal: string;
49662
+ /**
49663
+ * Taxamount
49664
+ * @description This field is a number representing the total tax amount.
49665
+ */
49666
+ taxAmount: string;
49667
+ /**
49668
+ * Usdtaxamount
49669
+ * @description This field is a number representing the total tax amount in USD.
49670
+ */
49671
+ usdTaxAmount: string;
49672
+ /**
49673
+ * Companytaxamount
49674
+ * @description This field is a number representing the total tax amount in the company's currency.
49675
+ */
49676
+ companyTaxAmount: string;
49677
+ /**
49678
+ * Total
49679
+ * @description This field is a number representing the total amount of the sales order.
49680
+ */
49681
+ total: string;
49682
+ /**
49683
+ * Usdtotal
49684
+ * @description This field is a number representing the total amount in USD.
49685
+ */
49686
+ usdTotal: string;
49687
+ /**
49688
+ * Companytotal
49689
+ * @description This field is a number representing the total amount in the company's currency.
49690
+ */
49691
+ companyTotal: string;
49692
+ /**
49693
+ * Totalpackagedepositcharge
49694
+ * @description This field is a number representing the total deposit charge for packages, if applicable.
49695
+ */
49696
+ totalPackageDepositCharge: string | null;
49697
+ /**
49698
+ * Attachments
49699
+ * @description A list of attachment file paths linked to the sales order.
49700
+ */
49701
+ attachments: string[] | null;
49702
+ /**
49703
+ * Description
49704
+ * @description A description of the sales order.
49705
+ */
49706
+ description: string | null;
49707
+ /**
49708
+ * Notes
49709
+ * @description Additional notes regarding the sales order.
49710
+ */
49711
+ notes: string | null;
49712
+ /** @description visible when customer is not resident */
49713
+ tax: components["schemas"]["TaxSharedSchema"] | null;
49714
+ /**
49715
+ * Taxbreakdown
49716
+ * @description Aggregated tax amounts breakdown
49717
+ * @default []
49718
+ */
49719
+ taxBreakdown: components["schemas"]["TaxBreakdownSchema"][];
49720
+ /**
49721
+ * Canconvert
49722
+ * @description Indicates whether the sales order can be converted to another status.
49723
+ * @default false
49724
+ */
49725
+ canConvert: boolean;
49726
+ /**
49727
+ * Candelete
49728
+ * @description Indicates whether the sales order can be deleted.
49729
+ * @default false
49730
+ */
49731
+ canDelete: boolean;
49732
+ /** Canedit */
49733
+ canEdit: boolean;
49734
+ salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
49555
49735
  };
49556
49736
  /** SalesOrderSchemaWithLinkedDocuments */
49557
49737
  SalesOrderSchemaWithLinkedDocuments: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1458",
3
+ "version": "1.0.1459",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],