@erp-galoper/types 1.0.1756 → 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.
- package/openapi.ts +150 -0
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -21452,6 +21452,46 @@ export interface paths {
|
|
|
21452
21452
|
patch?: never;
|
|
21453
21453
|
trace?: never;
|
|
21454
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
|
+
};
|
|
21455
21495
|
"/api/v1/integrations/sync/orders/sync/": {
|
|
21456
21496
|
parameters: {
|
|
21457
21497
|
query?: never;
|
|
@@ -59433,6 +59473,11 @@ export interface components {
|
|
|
59433
59473
|
* @description Timestamp of last successful tag sync
|
|
59434
59474
|
*/
|
|
59435
59475
|
lastTagsSync?: string | null;
|
|
59476
|
+
/**
|
|
59477
|
+
* Lastattributessync
|
|
59478
|
+
* @description Timestamp of last successful variation attribute sync
|
|
59479
|
+
*/
|
|
59480
|
+
lastAttributesSync?: string | null;
|
|
59436
59481
|
/** @description Counts of synced entities for this store */
|
|
59437
59482
|
syncCounts: components["schemas"]["SyncStoreSyncCountsSchema"];
|
|
59438
59483
|
/**
|
|
@@ -59477,6 +59522,11 @@ export interface components {
|
|
|
59477
59522
|
* @description Tag SyncMapping rows
|
|
59478
59523
|
*/
|
|
59479
59524
|
tags: number;
|
|
59525
|
+
/**
|
|
59526
|
+
* Attributes
|
|
59527
|
+
* @description Variation header SyncMapping rows (global WooCommerce attributes)
|
|
59528
|
+
*/
|
|
59529
|
+
attributes: number;
|
|
59480
59530
|
};
|
|
59481
59531
|
/**
|
|
59482
59532
|
* SyncStoreCreateSchema
|
|
@@ -103875,6 +103925,106 @@ export interface operations {
|
|
|
103875
103925
|
};
|
|
103876
103926
|
};
|
|
103877
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
|
+
};
|
|
103984
|
+
header?: never;
|
|
103985
|
+
path?: never;
|
|
103986
|
+
cookie?: never;
|
|
103987
|
+
};
|
|
103988
|
+
requestBody?: never;
|
|
103989
|
+
responses: {
|
|
103990
|
+
/** @description OK */
|
|
103991
|
+
200: {
|
|
103992
|
+
headers: {
|
|
103993
|
+
[name: string]: unknown;
|
|
103994
|
+
};
|
|
103995
|
+
content: {
|
|
103996
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
103997
|
+
};
|
|
103998
|
+
};
|
|
103999
|
+
/** @description Bad Request */
|
|
104000
|
+
400: {
|
|
104001
|
+
headers: {
|
|
104002
|
+
[name: string]: unknown;
|
|
104003
|
+
};
|
|
104004
|
+
content: {
|
|
104005
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
104006
|
+
};
|
|
104007
|
+
};
|
|
104008
|
+
/** @description Not Found */
|
|
104009
|
+
404: {
|
|
104010
|
+
headers: {
|
|
104011
|
+
[name: string]: unknown;
|
|
104012
|
+
};
|
|
104013
|
+
content: {
|
|
104014
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
104015
|
+
};
|
|
104016
|
+
};
|
|
104017
|
+
/** @description Conflict */
|
|
104018
|
+
409: {
|
|
104019
|
+
headers: {
|
|
104020
|
+
[name: string]: unknown;
|
|
104021
|
+
};
|
|
104022
|
+
content: {
|
|
104023
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
104024
|
+
};
|
|
104025
|
+
};
|
|
104026
|
+
};
|
|
104027
|
+
};
|
|
103878
104028
|
integration_sync_views_sync_orders_endpoint: {
|
|
103879
104029
|
parameters: {
|
|
103880
104030
|
query?: {
|