@erp-galoper/types 1.0.1755 → 1.0.1757

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 +553 -147
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -613,6 +613,9 @@ export interface paths {
613
613
  * - The endpoint will automatically detect if the model has 'items' or 'details' relation
614
614
  * - Returns only the items that are present in the specified document
615
615
  *
616
+ * Optional ``syncableOnlineItems``: standalone/template items only — same gate as
617
+ * ``should_attempt_product_sync_to_store`` on at least one active store; variants excluded.
618
+ *
616
619
  * Responses:
617
620
  * - 200: ItemListSchema
618
621
  * - 400: {"message": "Error applying filter {error}", "code": "invalidFilterFormat"}
@@ -21038,11 +21041,12 @@ export interface paths {
21038
21041
  get: operations["integration_settings_views_get_online_store_setting"];
21039
21042
  /**
21040
21043
  * Update Online Store Setting
21041
- * @description Endpoint for updating online store settings
21044
+ * @description Endpoint for updating online store settings (singleton — shared across all sync stores).
21045
+ *
21042
21046
  * Possible Responses:
21043
21047
  * - 200: onlineStoreSettingUpdated
21044
21048
  * - 400: validationFailed
21045
- * - platformRequired
21049
+ * - syncStoreRequired
21046
21050
  * - warehousesRequired
21047
21051
  * - defaultWarehouseRequired
21048
21052
  * - defaultWarehouseNotInWarehouses
@@ -21080,7 +21084,7 @@ export interface paths {
21080
21084
  * Possible Responses:
21081
21085
  * - 200: onlineStoreSettingUpdated
21082
21086
  * - 400: validationFailed
21083
- * - platformRequired
21087
+ * - syncStoreRequired
21084
21088
  * - defaultWarehouseRequired
21085
21089
  * - defaultCurrencyRequired
21086
21090
  * - 403: permissionDenied
@@ -21102,8 +21106,8 @@ export interface paths {
21102
21106
  get?: never;
21103
21107
  put?: never;
21104
21108
  /**
21105
- * Kill all running syncs
21106
- * @description Force stop all running sync tasks by clearing Redis locks and revoking Celery tasks
21109
+ * Kill running syncs
21110
+ * @description Clears Redis locks and queues and marks running jobs failed. Pass storeId for one active store; omit storeId for all active stores.
21107
21111
  */
21108
21112
  post: operations["integration_sync_views_kill_all_syncs_endpoint"];
21109
21113
  delete?: never;
@@ -21113,6 +21117,38 @@ export interface paths {
21113
21117
  trace?: never;
21114
21118
  };
21115
21119
  "/api/v1/integrations/sync/store/": {
21120
+ parameters: {
21121
+ query?: never;
21122
+ header?: never;
21123
+ path?: never;
21124
+ cookie?: never;
21125
+ };
21126
+ get?: never;
21127
+ put?: never;
21128
+ /**
21129
+ * Create Sync Store
21130
+ * @description Endpoint for creating a sync store configuration (Shopify or WooCommerce)
21131
+ *
21132
+ * Required fields by platform:
21133
+ * - Shopify: storeName, storeType='shopify', storeDomain, accessToken, apiVersion (optional, default: '2024-01')
21134
+ * - WooCommerce: storeName, storeType='woocommerce', storeUrl, consumerKey, consumerSecret, apiVersion (optional, default: 'wc/v3')
21135
+ *
21136
+ * Possible Responses:
21137
+ * - 201: syncStoreCreated
21138
+ * - 400: storeAlreadyExists, validationFailed, onlineStoreSettingNotConfigured, connectionFailed
21139
+ * - 403: permissionDenied
21140
+ * - 500: unexpectedError
21141
+ *
21142
+ * permission key: onlinestore: ["add"]
21143
+ */
21144
+ post: operations["integration_sync_views_create_sync_store"];
21145
+ delete?: never;
21146
+ options?: never;
21147
+ head?: never;
21148
+ patch?: never;
21149
+ trace?: never;
21150
+ };
21151
+ "/api/v1/integrations/sync/store/{id}/": {
21116
21152
  parameters: {
21117
21153
  query?: never;
21118
21154
  header?: never;
@@ -21121,7 +21157,8 @@ export interface paths {
21121
21157
  };
21122
21158
  /**
21123
21159
  * Get Sync Store
21124
- * @description Endpoint for retrieving sync store configuration
21160
+ * @description Retrieve one sync store via path ``GET …/store/{id}/``.
21161
+ *
21125
21162
  * Possible Responses:
21126
21163
  * - 200: success
21127
21164
  * - 404: storeDoesNotExist
@@ -21135,6 +21172,8 @@ export interface paths {
21135
21172
  * Update Sync Store
21136
21173
  * @description Endpoint for updating sync store configuration (Shopify or WooCommerce)
21137
21174
  *
21175
+ * Target store UUID is in the path: ``PUT …/store/{id}/``.
21176
+ *
21138
21177
  * Can update platform-specific fields:
21139
21178
  * - Shopify: storeDomain, accessToken, apiVersion, shopifyClientId, shopifyClientSecret
21140
21179
  * - WooCommerce: storeUrl, consumerKey, consumerSecret, apiVersion
@@ -21154,23 +21193,7 @@ export interface paths {
21154
21193
  * permission key: onlinestore: ["change"]
21155
21194
  */
21156
21195
  put: operations["integration_sync_views_update_sync_store"];
21157
- /**
21158
- * Create Sync Store
21159
- * @description Endpoint for creating a sync store configuration (Shopify or WooCommerce)
21160
- *
21161
- * Required fields by platform:
21162
- * - Shopify: storeName, storeType='shopify', storeDomain, accessToken, apiVersion (optional, default: '2024-01')
21163
- * - WooCommerce: storeName, storeType='woocommerce', storeUrl, consumerKey, consumerSecret, apiVersion (optional, default: 'wc/v3')
21164
- *
21165
- * Possible Responses:
21166
- * - 201: syncStoreCreated
21167
- * - 400: storeAlreadyExists, validationFailed, onlineStoreSettingNotConfigured, connectionFailed
21168
- * - 403: permissionDenied
21169
- * - 500: unexpectedError
21170
- *
21171
- * permission key: onlinestore: ["add"]
21172
- */
21173
- post: operations["integration_sync_views_create_sync_store"];
21196
+ post?: never;
21174
21197
  /**
21175
21198
  * Delete Sync Store
21176
21199
  * @description Endpoint for deleting sync store configuration
@@ -21196,6 +21219,8 @@ export interface paths {
21196
21219
  * Patch Sync Store
21197
21220
  * @description Endpoint for partially updating sync store configuration (Shopify or WooCommerce)
21198
21221
  *
21222
+ * Target store UUID is in the path: ``PATCH …/store/{id}/``.
21223
+ *
21199
21224
  * Can update all fields EXCEPT storeDomain (domain cannot be changed after creation).
21200
21225
  * Only provide the fields you want to update.
21201
21226
  *
@@ -21216,7 +21241,27 @@ export interface paths {
21216
21241
  patch: operations["integration_sync_views_patch_sync_store"];
21217
21242
  trace?: never;
21218
21243
  };
21219
- "/api/v1/integrations/sync/store/test-connection/": {
21244
+ "/api/v1/integrations/sync/stores/": {
21245
+ parameters: {
21246
+ query?: never;
21247
+ header?: never;
21248
+ path?: never;
21249
+ cookie?: never;
21250
+ };
21251
+ /**
21252
+ * List Sync Stores
21253
+ * @description List all configured sync stores (any status).
21254
+ */
21255
+ get: operations["integration_sync_views_list_sync_stores"];
21256
+ put?: never;
21257
+ post?: never;
21258
+ delete?: never;
21259
+ options?: never;
21260
+ head?: never;
21261
+ patch?: never;
21262
+ trace?: never;
21263
+ };
21264
+ "/api/v1/integrations/sync/store/{id}/test-connection/": {
21220
21265
  parameters: {
21221
21266
  query?: never;
21222
21267
  header?: never;
@@ -21229,7 +21274,7 @@ export interface paths {
21229
21274
  * Test Sync Store Connection
21230
21275
  * @description Endpoint for testing sync store connection (Shopify or WooCommerce)
21231
21276
  *
21232
- * Tests the API connection to the configured store and updates connection status.
21277
+ * Tests the API connection to the configured store at ``POST …/store/{id}/test-connection/`` and updates connection status.
21233
21278
  *
21234
21279
  * Possible Responses:
21235
21280
  * - 200: success: true (connection successful)
@@ -21258,7 +21303,7 @@ export interface paths {
21258
21303
  put?: never;
21259
21304
  /**
21260
21305
  * Manually sync ALL items to the online store
21261
- * @description Triggers background BULK sync of ALL eligible ERP items to Shopify using GraphQL productSet mutations. Processes items in batches of 50 for maximum speed. Returns 202 if request is queued.
21306
+ * @description Triggers background BULK sync of ALL eligible ERP items. Pass storeId for one active store; omit for all active stores. Returns 202 if request is queued.
21262
21307
  */
21263
21308
  post: operations["integration_sync_views_sync_all_items_endpoint"];
21264
21309
  delete?: never;
@@ -21278,8 +21323,7 @@ export interface paths {
21278
21323
  put?: never;
21279
21324
  /**
21280
21325
  * Manually sync a single item to the online store
21281
- * @description Triggers background sync of a specific ERP item to the online store. Automatically uses the first available store. Returns 202 if request is queued.
21282
- * filter items by: active=True, role in ['template', 'standalone']
21326
+ * @description Triggers background sync of a specific ERP item. Pass storeId for one active sync store; omit storeId for all active stores. Returns 202 if request is queued. Filter items by: active=True, role in ['template', 'standalone']
21283
21327
  */
21284
21328
  post: operations["integration_sync_views_sync_single_item_endpoint"];
21285
21329
  delete?: never;
@@ -21299,7 +21343,7 @@ export interface paths {
21299
21343
  put?: never;
21300
21344
  /**
21301
21345
  * Manually sync a single category to WooCommerce
21302
- * @description Triggers background sync of a specific ERP category to WooCommerce. Syncs from the root parent down to ensure proper hierarchy.
21346
+ * @description Triggers background sync of a specific ERP category to WooCommerce for one or all active WooCommerce stores. Syncs from the root parent down. Omit storeId for every active WooCommerce store.
21303
21347
  */
21304
21348
  post: operations["integration_sync_views_sync_single_category_endpoint"];
21305
21349
  delete?: never;
@@ -21319,7 +21363,7 @@ export interface paths {
21319
21363
  put?: never;
21320
21364
  /**
21321
21365
  * Manually sync all categories to WooCommerce
21322
- * @description Triggers background sync of all ERP root categories to WooCommerce. Children are synced automatically with their parents.
21366
+ * @description Triggers background sync of all ERP root categories to WooCommerce. Omit storeId for all active WooCommerce stores. Children are synced automatically with their parents.
21323
21367
  */
21324
21368
  post: operations["integration_sync_views_sync_all_categories_endpoint"];
21325
21369
  delete?: never;
@@ -21339,7 +21383,7 @@ export interface paths {
21339
21383
  put?: never;
21340
21384
  /**
21341
21385
  * Manually sync a single brand to WooCommerce
21342
- * @description Triggers background sync of a specific ERP brand to WooCommerce. **Note: This endpoint only works for WooCommerce stores.** Brands are synced one-way from ERP to WooCommerce as product attributes.
21386
+ * @description Triggers background sync of a specific ERP brand to WooCommerce. Omit storeId for all active WooCommerce stores. **Note:** WooCommerce-only. Brands are synced one-way from ERP to WooCommerce as product attributes.
21343
21387
  */
21344
21388
  post: operations["integration_sync_views_sync_single_brand_endpoint"];
21345
21389
  delete?: never;
@@ -21359,7 +21403,7 @@ export interface paths {
21359
21403
  put?: never;
21360
21404
  /**
21361
21405
  * Manually sync all brands to WooCommerce
21362
- * @description Triggers background sync of all ERP brands to WooCommerce. **Note: This endpoint only works for WooCommerce stores.** Brands are synced one-way from ERP to WooCommerce as product attributes.
21406
+ * @description Triggers background sync of all ERP brands to WooCommerce. Omit storeId for all active WooCommerce stores. **Note:** WooCommerce-only.
21363
21407
  */
21364
21408
  post: operations["integration_sync_views_sync_all_brands_endpoint"];
21365
21409
  delete?: never;
@@ -21379,7 +21423,7 @@ export interface paths {
21379
21423
  put?: never;
21380
21424
  /**
21381
21425
  * Manually sync a single tag to WooCommerce
21382
- * @description Triggers background sync of a specific ERP tag to WooCommerce. **Note: This endpoint only works for WooCommerce stores.** Tags are synced one-way from ERP to WooCommerce.
21426
+ * @description Triggers background sync of a specific ERP tag to WooCommerce. Omit storeId for all active WooCommerce stores. **Note:** WooCommerce-only.
21383
21427
  */
21384
21428
  post: operations["integration_sync_views_sync_single_tag_endpoint"];
21385
21429
  delete?: never;
@@ -21399,7 +21443,7 @@ export interface paths {
21399
21443
  put?: never;
21400
21444
  /**
21401
21445
  * Manually sync all tags to WooCommerce
21402
- * @description Triggers background sync of all ERP tags to WooCommerce. **Note: This endpoint only works for WooCommerce stores.** Tags are synced one-way from ERP to WooCommerce.
21446
+ * @description Triggers background sync of all ERP tags to WooCommerce. Omit storeId for all active WooCommerce stores. **Note:** WooCommerce-only.
21403
21447
  */
21404
21448
  post: operations["integration_sync_views_sync_all_tags_endpoint"];
21405
21449
  delete?: never;
@@ -21408,6 +21452,46 @@ export interface paths {
21408
21452
  patch?: never;
21409
21453
  trace?: never;
21410
21454
  };
21455
+ "/api/v1/integrations/sync/sync-single-attribute/{id}/": {
21456
+ parameters: {
21457
+ query?: never;
21458
+ header?: never;
21459
+ path?: never;
21460
+ cookie?: never;
21461
+ };
21462
+ get?: never;
21463
+ put?: never;
21464
+ /**
21465
+ * Manually sync a single variation attribute to WooCommerce
21466
+ * @description Triggers background sync of a specific ERP variation header (e.g. Size, Color) to WooCommerce global product attributes. Omit storeId for all active WooCommerce stores. **Note:** WooCommerce-only. Values are synced as attribute terms.
21467
+ */
21468
+ post: operations["integration_sync_views_sync_single_attribute_endpoint"];
21469
+ delete?: never;
21470
+ options?: never;
21471
+ head?: never;
21472
+ patch?: never;
21473
+ trace?: never;
21474
+ };
21475
+ "/api/v1/integrations/sync/sync-all-attributes/": {
21476
+ parameters: {
21477
+ query?: never;
21478
+ header?: never;
21479
+ path?: never;
21480
+ cookie?: never;
21481
+ };
21482
+ get?: never;
21483
+ put?: never;
21484
+ /**
21485
+ * Manually sync all variation attributes to WooCommerce
21486
+ * @description Triggers background sync of all ERP variation headers to WooCommerce global product attributes. Omit storeId for all active WooCommerce stores. **Note:** WooCommerce-only.
21487
+ */
21488
+ post: operations["integration_sync_views_sync_all_attributes_endpoint"];
21489
+ delete?: never;
21490
+ options?: never;
21491
+ head?: never;
21492
+ patch?: never;
21493
+ trace?: never;
21494
+ };
21411
21495
  "/api/v1/integrations/sync/orders/sync/": {
21412
21496
  parameters: {
21413
21497
  query?: never;
@@ -21419,7 +21503,8 @@ export interface paths {
21419
21503
  put?: never;
21420
21504
  /**
21421
21505
  * Sync Orders Endpoint
21422
- * @description Endpoint for syncing orders from Shopify
21506
+ * @description Endpoint for syncing orders from connected online stores.
21507
+ * Pass storeId for one active store; omit for all active stores.
21423
21508
  * Possible Responses:
21424
21509
  * - 200: ordersSyncInitiated
21425
21510
  * - 400: validationFailed, storeNotFound
@@ -21447,7 +21532,10 @@ export interface paths {
21447
21532
  put?: never;
21448
21533
  /**
21449
21534
  * Sync Customers Endpoint
21450
- * @description Endpoint for syncing customers between ERP and Shopify
21535
+ * @description Endpoint for bidirectional customer synchronization across active stores (one storeId or all).
21536
+ * First sync: Full bidirectional with email matching
21537
+ * Subsequent syncs: Incremental with conflict resolution based on source_of_truth setting
21538
+ *
21451
21539
  * Possible Responses:
21452
21540
  * - 200: customersSyncInitiated
21453
21541
  * - 400: validationFailed, storeNotFound
@@ -21473,11 +21561,15 @@ export interface paths {
21473
21561
  };
21474
21562
  /**
21475
21563
  * List Orders
21476
- * @description Endpoint for retrieving synced orders with pagination and filtering
21564
+ * @description Endpoint for retrieving synced orders with pagination and filtering.
21565
+ *
21566
+ * Optional query ``storeId`` limits results to one active sync store (see schema ``OnlineOrderListSchema``).
21567
+ *
21568
+ * Each order in ``results`` includes a nested ``syncStore`` summary (see ``SyncStoreSummarySchema``).
21477
21569
  * Possible Responses:
21478
21570
  * - 200: ordersRetrieved
21479
21571
  * - 400: validationFailed
21480
- * - 404: storeNotFound
21572
+ * - 404: noStoreFound, noActiveStoresFound
21481
21573
  * - 500: unexpectedError
21482
21574
  *
21483
21575
  * permission key: onlinestore: ["view"]
@@ -21500,7 +21592,8 @@ export interface paths {
21500
21592
  };
21501
21593
  /**
21502
21594
  * Get Order
21503
- * @description Endpoint for retrieving a specific order
21595
+ * @description Endpoint for retrieving a specific order.
21596
+ * When storeId is omitted, the order must belong to an active sync store (by order primary key).
21504
21597
  * Possible Responses:
21505
21598
  * - 200: orderRetrieved
21506
21599
  * - 400: validationFailed
@@ -21529,7 +21622,7 @@ export interface paths {
21529
21622
  put?: never;
21530
21623
  /**
21531
21624
  * Manually sync a single customer to Shopify
21532
- * @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.
21625
+ * @description Triggers background sync of a specific ERP customer to active online stores. Pass storeId for one active sync store or omit storeId for all active stores. 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.
21533
21626
  */
21534
21627
  post: operations["integration_sync_views_sync_single_customer_endpoint"];
21535
21628
  delete?: never;
@@ -26190,6 +26283,15 @@ export interface components {
26190
26283
  */
26191
26284
  results: components["schemas"]["ItemWithChildrenSchema"][];
26192
26285
  };
26286
+ /**
26287
+ * ItemOnlineStoreReadSchema
26288
+ * @description Per sync store: store summary and whether this item is listed there.
26289
+ */
26290
+ ItemOnlineStoreReadSchema: {
26291
+ store: components["schemas"]["SyncStoreSummarySchema"];
26292
+ /** Availableinonlinestore */
26293
+ availableInOnlineStore: boolean;
26294
+ };
26193
26295
  /** ItemPackageSummarySchema */
26194
26296
  ItemPackageSummarySchema: {
26195
26297
  /**
@@ -26396,32 +26498,31 @@ export interface components {
26396
26498
  * @default false
26397
26499
  */
26398
26500
  isExchangeable: boolean | null;
26399
- /**
26400
- * Availableinonlinestore
26401
- * @description this field only appears if online store is enabled in galoper settings
26402
- * @default false
26403
- */
26404
- availableInOnlineStore: boolean;
26405
26501
  /**
26406
26502
  * Onlineprice
26407
- * @description Price for online store sales - could be set even if available_in_online_store is false
26503
+ * @description Price for online store sales; may be set regardless of per-store listing.
26408
26504
  */
26409
26505
  onlinePrice?: number | null;
26410
26506
  /**
26411
26507
  * Onlinepricebeforediscount
26412
- * @description Original price before discount for online store - could be set even if available_in_online_store is false
26508
+ * @description Original price before discount for online store; may be set regardless of per-store listing.
26413
26509
  */
26414
26510
  onlinePriceBeforeDiscount?: number | null;
26415
26511
  /**
26416
26512
  * Seotitle
26417
- * @description SEO page title for search engines (70 characters recommended) - could be set even if available_in_online_store is false
26513
+ * @description SEO page title for search engines (70 characters recommended); may be set regardless of per-store listing.
26418
26514
  */
26419
26515
  seoTitle?: string | null;
26420
26516
  /**
26421
26517
  * Seodescription
26422
- * @description SEO meta description for search engines (160 characters recommended) - could be set even if available_in_online_store is false
26518
+ * @description SEO meta description for search engines (160 characters recommended); may be set regardless of per-store listing.
26423
26519
  */
26424
26520
  seoDescription?: string | null;
26521
+ /**
26522
+ * Onlinestores
26523
+ * @description Sync stores for online publishing; each row includes store summary and listing availability.
26524
+ */
26525
+ onlineStores?: components["schemas"]["ItemOnlineStoreReadSchema"][];
26425
26526
  /**
26426
26527
  * Allowsales
26427
26528
  * @default true
@@ -26661,32 +26762,31 @@ export interface components {
26661
26762
  * @default false
26662
26763
  */
26663
26764
  isExchangeable: boolean | null;
26664
- /**
26665
- * Availableinonlinestore
26666
- * @description this field only appears if online store is enabled in galoper settings
26667
- * @default false
26668
- */
26669
- availableInOnlineStore: boolean;
26670
26765
  /**
26671
26766
  * Onlineprice
26672
- * @description Price for online store sales - could be set even if available_in_online_store is false
26767
+ * @description Price for online store sales; may be set regardless of per-store listing.
26673
26768
  */
26674
26769
  onlinePrice?: number | null;
26675
26770
  /**
26676
26771
  * Onlinepricebeforediscount
26677
- * @description Original price before discount for online store - could be set even if available_in_online_store is false
26772
+ * @description Original price before discount for online store; may be set regardless of per-store listing.
26678
26773
  */
26679
26774
  onlinePriceBeforeDiscount?: number | null;
26680
26775
  /**
26681
26776
  * Seotitle
26682
- * @description SEO page title for search engines (70 characters recommended) - could be set even if available_in_online_store is false
26777
+ * @description SEO page title for search engines (70 characters recommended); may be set regardless of per-store listing.
26683
26778
  */
26684
26779
  seoTitle?: string | null;
26685
26780
  /**
26686
26781
  * Seodescription
26687
- * @description SEO meta description for search engines (160 characters recommended) - could be set even if available_in_online_store is false
26782
+ * @description SEO meta description for search engines (160 characters recommended); may be set regardless of per-store listing.
26688
26783
  */
26689
26784
  seoDescription?: string | null;
26785
+ /**
26786
+ * Onlinestores
26787
+ * @description Sync stores for online publishing; each row includes store summary and listing availability.
26788
+ */
26789
+ onlineStores?: components["schemas"]["ItemOnlineStoreReadSchema"][];
26690
26790
  /**
26691
26791
  * Allowsales
26692
26792
  * @default true
@@ -26944,6 +27044,11 @@ export interface components {
26944
27044
  /** Description */
26945
27045
  description: string;
26946
27046
  };
27047
+ /**
27048
+ * StoreType
27049
+ * @enum {string}
27050
+ */
27051
+ StoreType: "shopify" | "wooCommerce";
26947
27052
  /** SupplierPurchasedPricesSchema */
26948
27053
  SupplierPurchasedPricesSchema: {
26949
27054
  /** Quantity */
@@ -26960,6 +27065,26 @@ export interface components {
26960
27065
  /** Total */
26961
27066
  total: number | string | null;
26962
27067
  };
27068
+ /**
27069
+ * SyncStoreSummarySchema
27070
+ * @description Minimal sync store payload for nesting on items and similar.
27071
+ */
27072
+ SyncStoreSummarySchema: {
27073
+ /**
27074
+ * Id
27075
+ * Format: uuid
27076
+ */
27077
+ id: string;
27078
+ /** Storename */
27079
+ storeName: string;
27080
+ storeType: components["schemas"]["StoreType"];
27081
+ /** Storedomain */
27082
+ storeDomain?: string | null;
27083
+ /** Status */
27084
+ status: string;
27085
+ /** Isconnected */
27086
+ isConnected: boolean;
27087
+ };
26963
27088
  /** TagSchema */
26964
27089
  TagSchema: {
26965
27090
  /** Id */
@@ -27239,32 +27364,31 @@ export interface components {
27239
27364
  * @default false
27240
27365
  */
27241
27366
  isExchangeable: boolean | null;
27242
- /**
27243
- * Availableinonlinestore
27244
- * @description this field only appears if online store is enabled in galoper settings
27245
- * @default false
27246
- */
27247
- availableInOnlineStore: boolean | null;
27248
27367
  /**
27249
27368
  * Onlineprice
27250
- * @description Price for online store sales - could be set even if available_in_online_store is false
27369
+ * @description Price for online store sales; may be set regardless of per-store listing.
27251
27370
  */
27252
27371
  onlinePrice?: number | null;
27253
27372
  /**
27254
27373
  * Onlinepricebeforediscount
27255
- * @description Original price before discount for online store - could be set even if available_in_online_store is false
27374
+ * @description Original price before discount for online store; may be set regardless of per-store listing.
27256
27375
  */
27257
27376
  onlinePriceBeforeDiscount?: number | null;
27258
27377
  /**
27259
27378
  * Seotitle
27260
- * @description SEO page title for search engines (70 characters recommended) - could be set even if available_in_online_store is false
27379
+ * @description SEO page title for search engines (70 characters recommended); may be set regardless of per-store listing.
27261
27380
  */
27262
27381
  seoTitle?: string | null;
27263
27382
  /**
27264
27383
  * Seodescription
27265
- * @description SEO meta description for search engines (160 characters recommended) - could be set even if available_in_online_store is false
27384
+ * @description SEO meta description for search engines (160 characters recommended); may be set regardless of per-store listing.
27266
27385
  */
27267
27386
  seoDescription?: string | null;
27387
+ /**
27388
+ * Onlinesyncstores
27389
+ * @description Per sync store: whether this variant is listed there.
27390
+ */
27391
+ onlineSyncStores?: components["schemas"]["OnlineSyncStoreLinkInputSchema"][] | null;
27268
27392
  /**
27269
27393
  * Allowsales
27270
27394
  * @default true
@@ -27514,32 +27638,31 @@ export interface components {
27514
27638
  * @default false
27515
27639
  */
27516
27640
  isExchangeable: boolean | null;
27517
- /**
27518
- * Availableinonlinestore
27519
- * @description this field only appears if online store is enabled in galoper settings
27520
- * @default false
27521
- */
27522
- availableInOnlineStore: boolean;
27523
27641
  /**
27524
27642
  * Onlineprice
27525
- * @description Price for online store sales - could be set even if available_in_online_store is false
27643
+ * @description Price for online store sales; may be set regardless of per-store listing.
27526
27644
  */
27527
27645
  onlinePrice?: number | null;
27528
27646
  /**
27529
27647
  * Onlinepricebeforediscount
27530
- * @description Original price before discount for online store - could be set even if available_in_online_store is false
27648
+ * @description Original price before discount for online store; may be set regardless of per-store listing.
27531
27649
  */
27532
27650
  onlinePriceBeforeDiscount?: number | null;
27533
27651
  /**
27534
27652
  * Seotitle
27535
- * @description SEO page title for search engines (70 characters recommended) - could be set even if available_in_online_store is false
27653
+ * @description SEO page title for search engines (70 characters recommended); may be set regardless of per-store listing.
27536
27654
  */
27537
27655
  seoTitle?: string | null;
27538
27656
  /**
27539
27657
  * Seodescription
27540
- * @description SEO meta description for search engines (160 characters recommended) - could be set even if available_in_online_store is false
27658
+ * @description SEO meta description for search engines (160 characters recommended); may be set regardless of per-store listing.
27541
27659
  */
27542
27660
  seoDescription?: string | null;
27661
+ /**
27662
+ * Onlinesyncstores
27663
+ * @description Per sync store listing; each row sets availability on that store.
27664
+ */
27665
+ onlineSyncStores?: components["schemas"]["OnlineSyncStoreLinkInputSchema"][] | null;
27543
27666
  /**
27544
27667
  * Allowsales
27545
27668
  * @default true
@@ -27725,6 +27848,22 @@ export interface components {
27725
27848
  */
27726
27849
  unitOfMeasure: number;
27727
27850
  };
27851
+ /**
27852
+ * OnlineSyncStoreLinkInputSchema
27853
+ * @description One store row for create/patch ``onlineSyncStores``.
27854
+ */
27855
+ OnlineSyncStoreLinkInputSchema: {
27856
+ /**
27857
+ * Id
27858
+ * Format: uuid
27859
+ */
27860
+ id: string;
27861
+ /**
27862
+ * Availableinonlinestore
27863
+ * @default true
27864
+ */
27865
+ availableInOnlineStore: boolean;
27866
+ };
27728
27867
  /** BulkUpdateItemsResponse */
27729
27868
  BulkUpdateItemsResponse: {
27730
27869
  /** Message */
@@ -27962,31 +28101,31 @@ export interface components {
27962
28101
  * @default false
27963
28102
  */
27964
28103
  isExchangeable: boolean | null;
27965
- /**
27966
- * Availableinonlinestore
27967
- * @description this field only appears if online store is enabled in galoper settings
27968
- */
27969
- availableInOnlineStore?: boolean | null;
27970
28104
  /**
27971
28105
  * Onlineprice
27972
- * @description Price for online store sales - could be set even if available_in_online_store is false
28106
+ * @description Price for online store sales; may be set regardless of per-store listing.
27973
28107
  */
27974
28108
  onlinePrice?: number | null;
27975
28109
  /**
27976
28110
  * Onlinepricebeforediscount
27977
- * @description Original price before discount for online store - could be set even if available_in_online_store is false
28111
+ * @description Original price before discount for online store; may be set regardless of per-store listing.
27978
28112
  */
27979
28113
  onlinePriceBeforeDiscount?: number | null;
27980
28114
  /**
27981
28115
  * Seotitle
27982
- * @description SEO page title for search engines (70 characters recommended) - could be set even if available_in_online_store is false
28116
+ * @description SEO page title for search engines (70 characters recommended); may be set regardless of per-store listing.
27983
28117
  */
27984
28118
  seoTitle?: string | null;
27985
28119
  /**
27986
28120
  * Seodescription
27987
- * @description SEO meta description for search engines (160 characters recommended) - could be set even if available_in_online_store is false
28121
+ * @description SEO meta description for search engines (160 characters recommended); may be set regardless of per-store listing.
27988
28122
  */
27989
28123
  seoDescription?: string | null;
28124
+ /**
28125
+ * Onlinesyncstores
28126
+ * @description Replace per-store links when set; each entry controls listing on that sync store.
28127
+ */
28128
+ onlineSyncStores?: components["schemas"]["OnlineSyncStoreLinkInputSchema"][] | null;
27990
28129
  /** Allowsales */
27991
28130
  allowSales?: boolean | null;
27992
28131
  /** Maxdiscountsales */
@@ -59147,7 +59286,6 @@ export interface components {
59147
59286
  * Format: uuid
59148
59287
  */
59149
59288
  id: string;
59150
- platform: components["schemas"]["PlatformSchema"] | null;
59151
59289
  /** Useonlineshop */
59152
59290
  useOnlineShop: boolean;
59153
59291
  /** Autosyncorders */
@@ -59169,15 +59307,8 @@ export interface components {
59169
59307
  defaultTax: components["schemas"]["TaxSharedSchema"] | null;
59170
59308
  defaultCurrency: components["schemas"]["CurrencyCommonSchema"] | null;
59171
59309
  };
59172
- /**
59173
- * PlatformSchema
59174
- * @enum {string}
59175
- */
59176
- PlatformSchema: "shopify" | "wooCommerce";
59177
59310
  /** OnlineStoreSettingCreateUpdateSchema */
59178
59311
  OnlineStoreSettingCreateUpdateSchema: {
59179
- /** @description E-commerce platform to integrate with, required when use_online_shop is true */
59180
- platform?: components["schemas"]["PlatformSchema"] | null;
59181
59312
  /**
59182
59313
  * Useonlineshop
59183
59314
  * @description Enable/disable online shop integration
@@ -59248,11 +59379,6 @@ export interface components {
59248
59379
  */
59249
59380
  enabled: boolean;
59250
59381
  };
59251
- /**
59252
- * StoreType
59253
- * @enum {string}
59254
- */
59255
- StoreType: "shopify" | "wooCommerce";
59256
59382
  /**
59257
59383
  * SyncStoreSchema
59258
59384
  * @description Schema for sync store response
@@ -59327,6 +59453,33 @@ export interface components {
59327
59453
  * @description Timestamp of last successful order sync
59328
59454
  */
59329
59455
  lastOrdersSync?: string | null;
59456
+ /**
59457
+ * Lastcustomerssync
59458
+ * @description Timestamp of last successful customer sync
59459
+ */
59460
+ lastCustomersSync?: string | null;
59461
+ /**
59462
+ * Lastcategoriessync
59463
+ * @description Timestamp of last successful category sync
59464
+ */
59465
+ lastCategoriesSync?: string | null;
59466
+ /**
59467
+ * Lastbrandssync
59468
+ * @description Timestamp of last successful brand sync
59469
+ */
59470
+ lastBrandsSync?: string | null;
59471
+ /**
59472
+ * Lasttagssync
59473
+ * @description Timestamp of last successful tag sync
59474
+ */
59475
+ lastTagsSync?: string | null;
59476
+ /**
59477
+ * Lastattributessync
59478
+ * @description Timestamp of last successful variation attribute sync
59479
+ */
59480
+ lastAttributesSync?: string | null;
59481
+ /** @description Counts of synced entities for this store */
59482
+ syncCounts: components["schemas"]["SyncStoreSyncCountsSchema"];
59330
59483
  /**
59331
59484
  * Canupdate
59332
59485
  * @description Whether user has permission to update this store
@@ -59334,6 +59487,47 @@ export interface components {
59334
59487
  */
59335
59488
  canUpdate: boolean;
59336
59489
  };
59490
+ /**
59491
+ * SyncStoreSyncCountsSchema
59492
+ * @description Synced row counts for this integration (mappings + local online orders).
59493
+ */
59494
+ SyncStoreSyncCountsSchema: {
59495
+ /**
59496
+ * Items
59497
+ * @description Product/item SyncMapping rows (external_type=products)
59498
+ */
59499
+ items: number;
59500
+ /**
59501
+ * Orders
59502
+ * @description OnlineOrder rows synced for this store
59503
+ */
59504
+ orders: number;
59505
+ /**
59506
+ * Customers
59507
+ * @description Customer SyncMapping rows
59508
+ */
59509
+ customers: number;
59510
+ /**
59511
+ * Categories
59512
+ * @description Category SyncMapping rows
59513
+ */
59514
+ categories: number;
59515
+ /**
59516
+ * Brands
59517
+ * @description Brand SyncMapping rows
59518
+ */
59519
+ brands: number;
59520
+ /**
59521
+ * Tags
59522
+ * @description Tag SyncMapping rows
59523
+ */
59524
+ tags: number;
59525
+ /**
59526
+ * Attributes
59527
+ * @description Variation header SyncMapping rows (global WooCommerce attributes)
59528
+ */
59529
+ attributes: number;
59530
+ };
59337
59531
  /**
59338
59532
  * SyncStoreCreateSchema
59339
59533
  * @description Schema for creating a sync store
@@ -59491,7 +59685,12 @@ export interface components {
59491
59685
  };
59492
59686
  /**
59493
59687
  * OnlineOrderListSchema
59494
- * @description Schema for paginated online orders list response
59688
+ * @description Paginated list of synced online orders (GET ``/orders/``).
59689
+ *
59690
+ * **Query parameters:**
59691
+ * - ``storeId`` (optional UUID): restrict to orders from one *active* sync store; omit for every active store.
59692
+ * - ``page`` / ``pageSize``: pagination.
59693
+ * - ``search`` (optional): text search on order number, customer name/email, item name/SKU, financial/fulfillment status.
59495
59694
  */
59496
59695
  OnlineOrderListSchema: {
59497
59696
  info: components["schemas"]["PageInfoSchema"];
@@ -59508,6 +59707,8 @@ export interface components {
59508
59707
  * Format: uuid
59509
59708
  */
59510
59709
  id: string;
59710
+ /** @description Summary of the sync store this order was imported from */
59711
+ syncStore: components["schemas"]["SyncStoreSummarySchema"];
59511
59712
  /** Ordernumber */
59512
59713
  orderNumber: string;
59513
59714
  /** Name */
@@ -62518,6 +62719,8 @@ export interface operations {
62518
62719
  documentModel?: components["schemas"]["LogModelName"] | null;
62519
62720
  /** @description Document ID to get items from (required if documentModel is provided) */
62520
62721
  documentId?: string | null;
62722
+ /** @description Standalone and template rows only where product sync applies on at least one active store (publish-eligible or existing mapping). Matches should_attempt_product_sync_to_store; variants excluded. */
62723
+ syncableOnlineItems?: boolean;
62521
62724
  };
62522
62725
  header?: never;
62523
62726
  path?: never;
@@ -102896,7 +103099,9 @@ export interface operations {
102896
103099
  };
102897
103100
  integration_sync_views_kill_all_syncs_endpoint: {
102898
103101
  parameters: {
102899
- query?: never;
103102
+ query?: {
103103
+ storeId?: string | null;
103104
+ };
102900
103105
  header?: never;
102901
103106
  path?: never;
102902
103107
  cookie?: never;
@@ -102932,17 +103137,21 @@ export interface operations {
102932
103137
  };
102933
103138
  };
102934
103139
  };
102935
- integration_sync_views_get_sync_store: {
103140
+ integration_sync_views_create_sync_store: {
102936
103141
  parameters: {
102937
103142
  query?: never;
102938
103143
  header?: never;
102939
103144
  path?: never;
102940
103145
  cookie?: never;
102941
103146
  };
102942
- requestBody?: never;
103147
+ requestBody: {
103148
+ content: {
103149
+ "application/json": components["schemas"]["SyncStoreCreateSchema"];
103150
+ };
103151
+ };
102943
103152
  responses: {
102944
- /** @description OK */
102945
- 200: {
103153
+ /** @description Created */
103154
+ 201: {
102946
103155
  headers: {
102947
103156
  [name: string]: unknown;
102948
103157
  };
@@ -102950,17 +103159,17 @@ export interface operations {
102950
103159
  "application/json": components["schemas"]["SyncStoreSchema"];
102951
103160
  };
102952
103161
  };
102953
- /** @description Forbidden */
102954
- 403: {
103162
+ /** @description Bad Request */
103163
+ 400: {
102955
103164
  headers: {
102956
103165
  [name: string]: unknown;
102957
103166
  };
102958
103167
  content: {
102959
- "application/json": components["schemas"]["MessageResponse"];
103168
+ "application/json": components["schemas"]["ErrorMessages"];
102960
103169
  };
102961
103170
  };
102962
- /** @description Not Found */
102963
- 404: {
103171
+ /** @description Forbidden */
103172
+ 403: {
102964
103173
  headers: {
102965
103174
  [name: string]: unknown;
102966
103175
  };
@@ -102979,18 +103188,16 @@ export interface operations {
102979
103188
  };
102980
103189
  };
102981
103190
  };
102982
- integration_sync_views_update_sync_store: {
103191
+ integration_sync_views_get_sync_store: {
102983
103192
  parameters: {
102984
103193
  query?: never;
102985
103194
  header?: never;
102986
- path?: never;
102987
- cookie?: never;
102988
- };
102989
- requestBody: {
102990
- content: {
102991
- "application/json": components["schemas"]["SyncStoreCreateSchema"];
103195
+ path: {
103196
+ id: string;
102992
103197
  };
103198
+ cookie?: never;
102993
103199
  };
103200
+ requestBody?: never;
102994
103201
  responses: {
102995
103202
  /** @description OK */
102996
103203
  200: {
@@ -103001,15 +103208,6 @@ export interface operations {
103001
103208
  "application/json": components["schemas"]["SyncStoreSchema"];
103002
103209
  };
103003
103210
  };
103004
- /** @description Bad Request */
103005
- 400: {
103006
- headers: {
103007
- [name: string]: unknown;
103008
- };
103009
- content: {
103010
- "application/json": components["schemas"]["ErrorMessages"];
103011
- };
103012
- };
103013
103211
  /** @description Forbidden */
103014
103212
  403: {
103015
103213
  headers: {
@@ -103039,11 +103237,13 @@ export interface operations {
103039
103237
  };
103040
103238
  };
103041
103239
  };
103042
- integration_sync_views_create_sync_store: {
103240
+ integration_sync_views_update_sync_store: {
103043
103241
  parameters: {
103044
103242
  query?: never;
103045
103243
  header?: never;
103046
- path?: never;
103244
+ path: {
103245
+ id: string;
103246
+ };
103047
103247
  cookie?: never;
103048
103248
  };
103049
103249
  requestBody: {
@@ -103052,8 +103252,8 @@ export interface operations {
103052
103252
  };
103053
103253
  };
103054
103254
  responses: {
103055
- /** @description Created */
103056
- 201: {
103255
+ /** @description OK */
103256
+ 200: {
103057
103257
  headers: {
103058
103258
  [name: string]: unknown;
103059
103259
  };
@@ -103079,6 +103279,15 @@ export interface operations {
103079
103279
  "application/json": components["schemas"]["MessageResponse"];
103080
103280
  };
103081
103281
  };
103282
+ /** @description Not Found */
103283
+ 404: {
103284
+ headers: {
103285
+ [name: string]: unknown;
103286
+ };
103287
+ content: {
103288
+ "application/json": components["schemas"]["MessageResponse"];
103289
+ };
103290
+ };
103082
103291
  /** @description Internal Server Error */
103083
103292
  500: {
103084
103293
  headers: {
@@ -103094,7 +103303,9 @@ export interface operations {
103094
103303
  parameters: {
103095
103304
  query?: never;
103096
103305
  header?: never;
103097
- path?: never;
103306
+ path: {
103307
+ id: string;
103308
+ };
103098
103309
  cookie?: never;
103099
103310
  };
103100
103311
  requestBody?: never;
@@ -103141,7 +103352,9 @@ export interface operations {
103141
103352
  parameters: {
103142
103353
  query?: never;
103143
103354
  header?: never;
103144
- path?: never;
103355
+ path: {
103356
+ id: string;
103357
+ };
103145
103358
  cookie?: never;
103146
103359
  };
103147
103360
  requestBody: {
@@ -103197,7 +103410,7 @@ export interface operations {
103197
103410
  };
103198
103411
  };
103199
103412
  };
103200
- integration_sync_views_test_sync_store_connection: {
103413
+ integration_sync_views_list_sync_stores: {
103201
103414
  parameters: {
103202
103415
  query?: never;
103203
103416
  header?: never;
@@ -103205,6 +103418,46 @@ export interface operations {
103205
103418
  cookie?: never;
103206
103419
  };
103207
103420
  requestBody?: never;
103421
+ responses: {
103422
+ /** @description OK */
103423
+ 200: {
103424
+ headers: {
103425
+ [name: string]: unknown;
103426
+ };
103427
+ content: {
103428
+ "application/json": components["schemas"]["SyncStoreSchema"][];
103429
+ };
103430
+ };
103431
+ /** @description Forbidden */
103432
+ 403: {
103433
+ headers: {
103434
+ [name: string]: unknown;
103435
+ };
103436
+ content: {
103437
+ "application/json": components["schemas"]["MessageResponse"];
103438
+ };
103439
+ };
103440
+ /** @description Internal Server Error */
103441
+ 500: {
103442
+ headers: {
103443
+ [name: string]: unknown;
103444
+ };
103445
+ content: {
103446
+ "application/json": components["schemas"]["MessageResponse"];
103447
+ };
103448
+ };
103449
+ };
103450
+ };
103451
+ integration_sync_views_test_sync_store_connection: {
103452
+ parameters: {
103453
+ query?: never;
103454
+ header?: never;
103455
+ path: {
103456
+ id: string;
103457
+ };
103458
+ cookie?: never;
103459
+ };
103460
+ requestBody?: never;
103208
103461
  responses: {
103209
103462
  /** @description OK */
103210
103463
  200: {
@@ -103257,6 +103510,7 @@ export interface operations {
103257
103510
  parameters: {
103258
103511
  query?: {
103259
103512
  forceUpdate?: boolean;
103513
+ storeId?: string | null;
103260
103514
  };
103261
103515
  header?: never;
103262
103516
  path?: never;
@@ -103313,7 +103567,9 @@ export interface operations {
103313
103567
  };
103314
103568
  integration_sync_views_sync_single_item_endpoint: {
103315
103569
  parameters: {
103316
- query?: never;
103570
+ query?: {
103571
+ storeId?: string | null;
103572
+ };
103317
103573
  header?: never;
103318
103574
  path: {
103319
103575
  id: number;
@@ -103371,7 +103627,9 @@ export interface operations {
103371
103627
  };
103372
103628
  integration_sync_views_sync_single_category_endpoint: {
103373
103629
  parameters: {
103374
- query?: never;
103630
+ query?: {
103631
+ storeId?: string | null;
103632
+ };
103375
103633
  header?: never;
103376
103634
  path: {
103377
103635
  id: number;
@@ -103420,7 +103678,9 @@ export interface operations {
103420
103678
  };
103421
103679
  integration_sync_views_sync_all_categories_endpoint: {
103422
103680
  parameters: {
103423
- query?: never;
103681
+ query?: {
103682
+ storeId?: string | null;
103683
+ };
103424
103684
  header?: never;
103425
103685
  path?: never;
103426
103686
  cookie?: never;
@@ -103436,6 +103696,15 @@ export interface operations {
103436
103696
  "application/json": components["schemas"]["MessageResponse"];
103437
103697
  };
103438
103698
  };
103699
+ /** @description Bad Request */
103700
+ 400: {
103701
+ headers: {
103702
+ [name: string]: unknown;
103703
+ };
103704
+ content: {
103705
+ "application/json": components["schemas"]["ErrorMessages"];
103706
+ };
103707
+ };
103439
103708
  /** @description Not Found */
103440
103709
  404: {
103441
103710
  headers: {
@@ -103458,7 +103727,9 @@ export interface operations {
103458
103727
  };
103459
103728
  integration_sync_views_sync_single_brand_endpoint: {
103460
103729
  parameters: {
103461
- query?: never;
103730
+ query?: {
103731
+ storeId?: string | null;
103732
+ };
103462
103733
  header?: never;
103463
103734
  path: {
103464
103735
  id: number;
@@ -103507,7 +103778,9 @@ export interface operations {
103507
103778
  };
103508
103779
  integration_sync_views_sync_all_brands_endpoint: {
103509
103780
  parameters: {
103510
- query?: never;
103781
+ query?: {
103782
+ storeId?: string | null;
103783
+ };
103511
103784
  header?: never;
103512
103785
  path?: never;
103513
103786
  cookie?: never;
@@ -103523,6 +103796,15 @@ export interface operations {
103523
103796
  "application/json": components["schemas"]["MessageResponse"];
103524
103797
  };
103525
103798
  };
103799
+ /** @description Bad Request */
103800
+ 400: {
103801
+ headers: {
103802
+ [name: string]: unknown;
103803
+ };
103804
+ content: {
103805
+ "application/json": components["schemas"]["ErrorMessages"];
103806
+ };
103807
+ };
103526
103808
  /** @description Not Found */
103527
103809
  404: {
103528
103810
  headers: {
@@ -103545,7 +103827,9 @@ export interface operations {
103545
103827
  };
103546
103828
  integration_sync_views_sync_single_tag_endpoint: {
103547
103829
  parameters: {
103548
- query?: never;
103830
+ query?: {
103831
+ storeId?: string | null;
103832
+ };
103549
103833
  header?: never;
103550
103834
  path: {
103551
103835
  id: number;
@@ -103594,7 +103878,109 @@ export interface operations {
103594
103878
  };
103595
103879
  integration_sync_views_sync_all_tags_endpoint: {
103596
103880
  parameters: {
103597
- query?: never;
103881
+ query?: {
103882
+ storeId?: string | null;
103883
+ };
103884
+ header?: never;
103885
+ path?: never;
103886
+ cookie?: never;
103887
+ };
103888
+ requestBody?: never;
103889
+ responses: {
103890
+ /** @description OK */
103891
+ 200: {
103892
+ headers: {
103893
+ [name: string]: unknown;
103894
+ };
103895
+ content: {
103896
+ "application/json": components["schemas"]["MessageResponse"];
103897
+ };
103898
+ };
103899
+ /** @description Bad Request */
103900
+ 400: {
103901
+ headers: {
103902
+ [name: string]: unknown;
103903
+ };
103904
+ content: {
103905
+ "application/json": components["schemas"]["ErrorMessages"];
103906
+ };
103907
+ };
103908
+ /** @description Not Found */
103909
+ 404: {
103910
+ headers: {
103911
+ [name: string]: unknown;
103912
+ };
103913
+ content: {
103914
+ "application/json": components["schemas"]["MessageResponse"];
103915
+ };
103916
+ };
103917
+ /** @description Conflict */
103918
+ 409: {
103919
+ headers: {
103920
+ [name: string]: unknown;
103921
+ };
103922
+ content: {
103923
+ "application/json": components["schemas"]["MessageResponse"];
103924
+ };
103925
+ };
103926
+ };
103927
+ };
103928
+ integration_sync_views_sync_single_attribute_endpoint: {
103929
+ parameters: {
103930
+ query?: {
103931
+ storeId?: string | null;
103932
+ };
103933
+ header?: never;
103934
+ path: {
103935
+ id: number;
103936
+ };
103937
+ cookie?: never;
103938
+ };
103939
+ requestBody?: never;
103940
+ responses: {
103941
+ /** @description OK */
103942
+ 200: {
103943
+ headers: {
103944
+ [name: string]: unknown;
103945
+ };
103946
+ content: {
103947
+ "application/json": components["schemas"]["MessageResponse"];
103948
+ };
103949
+ };
103950
+ /** @description Bad Request */
103951
+ 400: {
103952
+ headers: {
103953
+ [name: string]: unknown;
103954
+ };
103955
+ content: {
103956
+ "application/json": components["schemas"]["ErrorMessages"];
103957
+ };
103958
+ };
103959
+ /** @description Not Found */
103960
+ 404: {
103961
+ headers: {
103962
+ [name: string]: unknown;
103963
+ };
103964
+ content: {
103965
+ "application/json": components["schemas"]["MessageResponse"];
103966
+ };
103967
+ };
103968
+ /** @description Conflict */
103969
+ 409: {
103970
+ headers: {
103971
+ [name: string]: unknown;
103972
+ };
103973
+ content: {
103974
+ "application/json": components["schemas"]["MessageResponse"];
103975
+ };
103976
+ };
103977
+ };
103978
+ };
103979
+ integration_sync_views_sync_all_attributes_endpoint: {
103980
+ parameters: {
103981
+ query?: {
103982
+ storeId?: string | null;
103983
+ };
103598
103984
  header?: never;
103599
103985
  path?: never;
103600
103986
  cookie?: never;
@@ -103610,6 +103996,15 @@ export interface operations {
103610
103996
  "application/json": components["schemas"]["MessageResponse"];
103611
103997
  };
103612
103998
  };
103999
+ /** @description Bad Request */
104000
+ 400: {
104001
+ headers: {
104002
+ [name: string]: unknown;
104003
+ };
104004
+ content: {
104005
+ "application/json": components["schemas"]["ErrorMessages"];
104006
+ };
104007
+ };
103613
104008
  /** @description Not Found */
103614
104009
  404: {
103615
104010
  headers: {
@@ -103632,7 +104027,9 @@ export interface operations {
103632
104027
  };
103633
104028
  integration_sync_views_sync_orders_endpoint: {
103634
104029
  parameters: {
103635
- query?: never;
104030
+ query?: {
104031
+ storeId?: string | null;
104032
+ };
103636
104033
  header?: never;
103637
104034
  path?: never;
103638
104035
  cookie?: never;
@@ -103688,7 +104085,9 @@ export interface operations {
103688
104085
  };
103689
104086
  integration_sync_views_sync_customers_endpoint: {
103690
104087
  parameters: {
103691
- query?: never;
104088
+ query?: {
104089
+ storeId?: string | null;
104090
+ };
103692
104091
  header?: never;
103693
104092
  path?: never;
103694
104093
  cookie?: never;
@@ -103745,6 +104144,8 @@ export interface operations {
103745
104144
  integration_sync_views_list_orders: {
103746
104145
  parameters: {
103747
104146
  query?: {
104147
+ /** @description Restrict to orders from this active sync store (UUID). Omit to include orders from all active stores. */
104148
+ storeId?: string | null;
103748
104149
  /** @description Page number */
103749
104150
  page?: number;
103750
104151
  /** @description Page size */
@@ -103798,7 +104199,10 @@ export interface operations {
103798
104199
  };
103799
104200
  integration_sync_views_get_order: {
103800
104201
  parameters: {
103801
- query?: never;
104202
+ query?: {
104203
+ /** @description Optional. When set, resolve the order only if it belongs to this active sync store (UUID). */
104204
+ storeId?: string | null;
104205
+ };
103802
104206
  header?: never;
103803
104207
  path: {
103804
104208
  order_id: string;
@@ -103847,7 +104251,9 @@ export interface operations {
103847
104251
  };
103848
104252
  integration_sync_views_sync_single_customer_endpoint: {
103849
104253
  parameters: {
103850
- query?: never;
104254
+ query?: {
104255
+ storeId?: string | null;
104256
+ };
103851
104257
  header?: never;
103852
104258
  path: {
103853
104259
  customer_id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1755",
3
+ "version": "1.0.1757",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],