@erp-galoper/types 1.0.1533 → 1.0.1535
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 +177 -2
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -21010,10 +21010,44 @@ export interface paths {
|
|
|
21010
21010
|
* permission key: onlinestore: ["add"]
|
|
21011
21011
|
*/
|
|
21012
21012
|
post: operations["integration_sync_views_create_sync_store"];
|
|
21013
|
-
|
|
21013
|
+
/**
|
|
21014
|
+
* Delete Sync Store
|
|
21015
|
+
* @description Endpoint for deleting sync store configuration
|
|
21016
|
+
*
|
|
21017
|
+
* This will delete:
|
|
21018
|
+
* - The store configuration
|
|
21019
|
+
* - All sync mappings related to this store
|
|
21020
|
+
* - All sync logs related to this store
|
|
21021
|
+
* - All sync jobs related to this store
|
|
21022
|
+
*
|
|
21023
|
+
* Possible Responses:
|
|
21024
|
+
* - 200: syncStoreDeleted
|
|
21025
|
+
* - 404: storeDoesNotExist
|
|
21026
|
+
* - 403: permissionDenied
|
|
21027
|
+
* - 500: unexpectedError
|
|
21028
|
+
*
|
|
21029
|
+
* permission key: onlinestore: ["delete"]
|
|
21030
|
+
*/
|
|
21031
|
+
delete: operations["integration_sync_views_delete_sync_store"];
|
|
21014
21032
|
options?: never;
|
|
21015
21033
|
head?: never;
|
|
21016
|
-
|
|
21034
|
+
/**
|
|
21035
|
+
* Patch Sync Store
|
|
21036
|
+
* @description Endpoint for partially updating sync store configuration (Shopify or WooCommerce)
|
|
21037
|
+
*
|
|
21038
|
+
* Can update all fields EXCEPT storeDomain (domain cannot be changed after creation).
|
|
21039
|
+
* Only provide the fields you want to update.
|
|
21040
|
+
*
|
|
21041
|
+
* Possible Responses:
|
|
21042
|
+
* - 200: syncStoreUpdated
|
|
21043
|
+
* - 400: validationFailed, connectionFailed
|
|
21044
|
+
* - 404: storeDoesNotExist
|
|
21045
|
+
* - 403: permissionDenied
|
|
21046
|
+
* - 500: unexpectedError
|
|
21047
|
+
*
|
|
21048
|
+
* permission key: onlinestore: ["change"]
|
|
21049
|
+
*/
|
|
21050
|
+
patch: operations["integration_sync_views_patch_sync_store"];
|
|
21017
21051
|
trace?: never;
|
|
21018
21052
|
};
|
|
21019
21053
|
"/api/v1/integrations/sync/store/test-connection/": {
|
|
@@ -56361,6 +56395,40 @@ export interface components {
|
|
|
56361
56395
|
*/
|
|
56362
56396
|
apiVersion?: string | null;
|
|
56363
56397
|
};
|
|
56398
|
+
/**
|
|
56399
|
+
* SyncStoreUpdateSchema
|
|
56400
|
+
* @description Schema for updating a sync store (PATCH)
|
|
56401
|
+
*
|
|
56402
|
+
* All fields are optional except storeDomain which cannot be changed.
|
|
56403
|
+
* Only provide the fields you want to update.
|
|
56404
|
+
*/
|
|
56405
|
+
SyncStoreUpdateSchema: {
|
|
56406
|
+
/**
|
|
56407
|
+
* Storename
|
|
56408
|
+
* @description Human-readable name for the store
|
|
56409
|
+
*/
|
|
56410
|
+
storeName?: string | null;
|
|
56411
|
+
/**
|
|
56412
|
+
* Accesstoken
|
|
56413
|
+
* @description [SHOPIFY ONLY] API access token
|
|
56414
|
+
*/
|
|
56415
|
+
accessToken?: string | null;
|
|
56416
|
+
/**
|
|
56417
|
+
* Consumerkey
|
|
56418
|
+
* @description [WOOCOMMERCE ONLY] Consumer key
|
|
56419
|
+
*/
|
|
56420
|
+
consumerKey?: string | null;
|
|
56421
|
+
/**
|
|
56422
|
+
* Consumersecret
|
|
56423
|
+
* @description [WOOCOMMERCE ONLY] Consumer secret
|
|
56424
|
+
*/
|
|
56425
|
+
consumerSecret?: string | null;
|
|
56426
|
+
/**
|
|
56427
|
+
* Apiversion
|
|
56428
|
+
* @description API version - For Shopify: '2024-01', For WooCommerce: 'wc/v3'
|
|
56429
|
+
*/
|
|
56430
|
+
apiVersion?: string | null;
|
|
56431
|
+
};
|
|
56364
56432
|
/**
|
|
56365
56433
|
* OnlineOrderAddressSchema
|
|
56366
56434
|
* @description Schema for online order addresses
|
|
@@ -99653,6 +99721,113 @@ export interface operations {
|
|
|
99653
99721
|
};
|
|
99654
99722
|
};
|
|
99655
99723
|
};
|
|
99724
|
+
integration_sync_views_delete_sync_store: {
|
|
99725
|
+
parameters: {
|
|
99726
|
+
query?: never;
|
|
99727
|
+
header?: never;
|
|
99728
|
+
path?: never;
|
|
99729
|
+
cookie?: never;
|
|
99730
|
+
};
|
|
99731
|
+
requestBody?: never;
|
|
99732
|
+
responses: {
|
|
99733
|
+
/** @description OK */
|
|
99734
|
+
200: {
|
|
99735
|
+
headers: {
|
|
99736
|
+
[name: string]: unknown;
|
|
99737
|
+
};
|
|
99738
|
+
content: {
|
|
99739
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99740
|
+
};
|
|
99741
|
+
};
|
|
99742
|
+
/** @description Forbidden */
|
|
99743
|
+
403: {
|
|
99744
|
+
headers: {
|
|
99745
|
+
[name: string]: unknown;
|
|
99746
|
+
};
|
|
99747
|
+
content: {
|
|
99748
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99749
|
+
};
|
|
99750
|
+
};
|
|
99751
|
+
/** @description Not Found */
|
|
99752
|
+
404: {
|
|
99753
|
+
headers: {
|
|
99754
|
+
[name: string]: unknown;
|
|
99755
|
+
};
|
|
99756
|
+
content: {
|
|
99757
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99758
|
+
};
|
|
99759
|
+
};
|
|
99760
|
+
/** @description Internal Server Error */
|
|
99761
|
+
500: {
|
|
99762
|
+
headers: {
|
|
99763
|
+
[name: string]: unknown;
|
|
99764
|
+
};
|
|
99765
|
+
content: {
|
|
99766
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99767
|
+
};
|
|
99768
|
+
};
|
|
99769
|
+
};
|
|
99770
|
+
};
|
|
99771
|
+
integration_sync_views_patch_sync_store: {
|
|
99772
|
+
parameters: {
|
|
99773
|
+
query?: never;
|
|
99774
|
+
header?: never;
|
|
99775
|
+
path?: never;
|
|
99776
|
+
cookie?: never;
|
|
99777
|
+
};
|
|
99778
|
+
requestBody: {
|
|
99779
|
+
content: {
|
|
99780
|
+
"application/json": components["schemas"]["SyncStoreUpdateSchema"];
|
|
99781
|
+
};
|
|
99782
|
+
};
|
|
99783
|
+
responses: {
|
|
99784
|
+
/** @description OK */
|
|
99785
|
+
200: {
|
|
99786
|
+
headers: {
|
|
99787
|
+
[name: string]: unknown;
|
|
99788
|
+
};
|
|
99789
|
+
content: {
|
|
99790
|
+
"application/json": components["schemas"]["SyncStoreSchema"];
|
|
99791
|
+
};
|
|
99792
|
+
};
|
|
99793
|
+
/** @description Bad Request */
|
|
99794
|
+
400: {
|
|
99795
|
+
headers: {
|
|
99796
|
+
[name: string]: unknown;
|
|
99797
|
+
};
|
|
99798
|
+
content: {
|
|
99799
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
99800
|
+
};
|
|
99801
|
+
};
|
|
99802
|
+
/** @description Forbidden */
|
|
99803
|
+
403: {
|
|
99804
|
+
headers: {
|
|
99805
|
+
[name: string]: unknown;
|
|
99806
|
+
};
|
|
99807
|
+
content: {
|
|
99808
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99809
|
+
};
|
|
99810
|
+
};
|
|
99811
|
+
/** @description Not Found */
|
|
99812
|
+
404: {
|
|
99813
|
+
headers: {
|
|
99814
|
+
[name: string]: unknown;
|
|
99815
|
+
};
|
|
99816
|
+
content: {
|
|
99817
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99818
|
+
};
|
|
99819
|
+
};
|
|
99820
|
+
/** @description Internal Server Error */
|
|
99821
|
+
500: {
|
|
99822
|
+
headers: {
|
|
99823
|
+
[name: string]: unknown;
|
|
99824
|
+
};
|
|
99825
|
+
content: {
|
|
99826
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99827
|
+
};
|
|
99828
|
+
};
|
|
99829
|
+
};
|
|
99830
|
+
};
|
|
99656
99831
|
integration_sync_views_test_sync_store_connection: {
|
|
99657
99832
|
parameters: {
|
|
99658
99833
|
query?: never;
|