@erp-galoper/types 1.0.1160 → 1.0.1161
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 +48 -101
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -19760,11 +19760,10 @@ export interface paths {
|
|
|
19760
19760
|
};
|
|
19761
19761
|
/**
|
|
19762
19762
|
* Get Online Store Setting
|
|
19763
|
-
* @description Endpoint for retrieving online store settings
|
|
19763
|
+
* @description Endpoint for retrieving or creating online store settings (Get or Create pattern)
|
|
19764
19764
|
* Possible Responses:
|
|
19765
|
-
* - 200:
|
|
19765
|
+
* - 200: onlineStoreSettingRetrieved (if already exists)
|
|
19766
19766
|
* - 403: permissionDenied
|
|
19767
|
-
* - 404: settingDoesNotExist
|
|
19768
19767
|
*
|
|
19769
19768
|
* permission key: onlinestoresetting: ["view"]
|
|
19770
19769
|
*/
|
|
@@ -19775,6 +19774,7 @@ export interface paths {
|
|
|
19775
19774
|
* Possible Responses:
|
|
19776
19775
|
* - 200: onlineStoreSettingUpdated
|
|
19777
19776
|
* - 400: validationFailed
|
|
19777
|
+
* - platformRequired
|
|
19778
19778
|
* - defaultWarehouseDoesNotExist
|
|
19779
19779
|
* - defaultTaxDoesNotExist
|
|
19780
19780
|
* - defaultCurrencyDoesNotExist
|
|
@@ -19784,19 +19784,7 @@ export interface paths {
|
|
|
19784
19784
|
* permission key: onlinestoresetting: ["change"]
|
|
19785
19785
|
*/
|
|
19786
19786
|
put: operations["integration_settings_views_update_online_store_setting"];
|
|
19787
|
-
|
|
19788
|
-
* Create Online Store Setting
|
|
19789
|
-
* @description Endpoint for creating online store settings
|
|
19790
|
-
* Possible Responses:
|
|
19791
|
-
* - 201: onlineStoreSettingCreated
|
|
19792
|
-
* - defaultWarehouseDoesNotExist
|
|
19793
|
-
* - defaultTaxDoesNotExist
|
|
19794
|
-
* - defaultCurrencyDoesNotExist
|
|
19795
|
-
* - 400: settingAlreadyExists, validationFailed
|
|
19796
|
-
*
|
|
19797
|
-
* permission key: onlinestoresetting: ["add"]
|
|
19798
|
-
*/
|
|
19799
|
-
post: operations["integration_settings_views_create_online_store_setting"];
|
|
19787
|
+
post?: never;
|
|
19800
19788
|
delete?: never;
|
|
19801
19789
|
options?: never;
|
|
19802
19790
|
head?: never;
|
|
@@ -20362,6 +20350,11 @@ export interface components {
|
|
|
20362
20350
|
* @default []
|
|
20363
20351
|
*/
|
|
20364
20352
|
project: components["schemas"]["BasePermissionsSchema_Project"];
|
|
20353
|
+
/**
|
|
20354
|
+
* @description online_store actions
|
|
20355
|
+
* @default []
|
|
20356
|
+
*/
|
|
20357
|
+
online_store: components["schemas"]["BasePermissionsSchema_Online_store"];
|
|
20365
20358
|
/**
|
|
20366
20359
|
* @description task actions
|
|
20367
20360
|
* @default []
|
|
@@ -20390,18 +20383,6 @@ export interface components {
|
|
|
20390
20383
|
* @default []
|
|
20391
20384
|
*/
|
|
20392
20385
|
approval: Record<string, never>;
|
|
20393
|
-
/**
|
|
20394
|
-
* Shopify
|
|
20395
|
-
* @description shopify actions
|
|
20396
|
-
* @default []
|
|
20397
|
-
*/
|
|
20398
|
-
shopify: Record<string, never>;
|
|
20399
|
-
/**
|
|
20400
|
-
* Woocommerce
|
|
20401
|
-
* @description wooCommerce actions
|
|
20402
|
-
* @default []
|
|
20403
|
-
*/
|
|
20404
|
-
wooCommerce: Record<string, never>;
|
|
20405
20386
|
/**
|
|
20406
20387
|
* Email
|
|
20407
20388
|
* @description email actions
|
|
@@ -20635,6 +20616,12 @@ export interface components {
|
|
|
20635
20616
|
* @default []
|
|
20636
20617
|
*/
|
|
20637
20618
|
internaltransfer: components["schemas"]["BasePermissionsSchema_Inventory_InternaltransferEnum"][];
|
|
20619
|
+
/**
|
|
20620
|
+
* Transferrequest
|
|
20621
|
+
* @description transferrequest actions
|
|
20622
|
+
* @default []
|
|
20623
|
+
*/
|
|
20624
|
+
transferrequest: components["schemas"]["BasePermissionsSchema_Inventory_TransferrequestEnum"][];
|
|
20638
20625
|
/**
|
|
20639
20626
|
* Warehouse
|
|
20640
20627
|
* @description warehouse actions
|
|
@@ -20697,11 +20684,30 @@ export interface components {
|
|
|
20697
20684
|
* @enum {string}
|
|
20698
20685
|
*/
|
|
20699
20686
|
BasePermissionsSchema_Inventory_StockadjustmentEnum: "add" | "approve" | "change" | "delete" | "resettodraft" | "view";
|
|
20687
|
+
/**
|
|
20688
|
+
* BasePermissionsSchema_Inventory_TransferrequestEnum
|
|
20689
|
+
* @enum {string}
|
|
20690
|
+
*/
|
|
20691
|
+
BasePermissionsSchema_Inventory_TransferrequestEnum: "add" | "cancel" | "change" | "delete" | "resettodraft" | "respond" | "view";
|
|
20700
20692
|
/**
|
|
20701
20693
|
* BasePermissionsSchema_Inventory_WarehouseEnum
|
|
20702
20694
|
* @enum {string}
|
|
20703
20695
|
*/
|
|
20704
20696
|
BasePermissionsSchema_Inventory_WarehouseEnum: "add" | "change" | "delete" | "view";
|
|
20697
|
+
/** BasePermissionsSchema_Online_store */
|
|
20698
|
+
BasePermissionsSchema_Online_store: {
|
|
20699
|
+
/**
|
|
20700
|
+
* Syncstore
|
|
20701
|
+
* @description syncstore actions
|
|
20702
|
+
* @default []
|
|
20703
|
+
*/
|
|
20704
|
+
syncstore: components["schemas"]["BasePermissionsSchema_Online_store_SyncstoreEnum"][];
|
|
20705
|
+
};
|
|
20706
|
+
/**
|
|
20707
|
+
* BasePermissionsSchema_Online_store_SyncstoreEnum
|
|
20708
|
+
* @enum {string}
|
|
20709
|
+
*/
|
|
20710
|
+
BasePermissionsSchema_Online_store_SyncstoreEnum: "add" | "change" | "delete" | "view";
|
|
20705
20711
|
/** BasePermissionsSchema_Pos */
|
|
20706
20712
|
BasePermissionsSchema_Pos: {
|
|
20707
20713
|
/**
|
|
@@ -21434,24 +21440,18 @@ export interface components {
|
|
|
21434
21440
|
* @default []
|
|
21435
21441
|
*/
|
|
21436
21442
|
task: Record<string, never>;
|
|
21437
|
-
/**
|
|
21438
|
-
* Shopify
|
|
21439
|
-
* @description shopify actions
|
|
21440
|
-
* @default []
|
|
21441
|
-
*/
|
|
21442
|
-
shopify: Record<string, never>;
|
|
21443
|
-
/**
|
|
21444
|
-
* Woocommerce
|
|
21445
|
-
* @description wooCommerce actions
|
|
21446
|
-
* @default []
|
|
21447
|
-
*/
|
|
21448
|
-
wooCommerce: Record<string, never>;
|
|
21449
21443
|
/**
|
|
21450
21444
|
* Email
|
|
21451
21445
|
* @description email actions
|
|
21452
21446
|
* @default []
|
|
21453
21447
|
*/
|
|
21454
21448
|
email: Record<string, never>;
|
|
21449
|
+
/**
|
|
21450
|
+
* Online Store
|
|
21451
|
+
* @description online_store actions
|
|
21452
|
+
* @default []
|
|
21453
|
+
*/
|
|
21454
|
+
online_store: Record<string, never>;
|
|
21455
21455
|
};
|
|
21456
21456
|
/** BasePermissionsSchema_Settings_Accounting */
|
|
21457
21457
|
BasePermissionsSchema_Settings_Accounting: {
|
|
@@ -26171,10 +26171,11 @@ export interface components {
|
|
|
26171
26171
|
report: boolean;
|
|
26172
26172
|
/** Commission */
|
|
26173
26173
|
commission: boolean;
|
|
26174
|
-
/**
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26174
|
+
/**
|
|
26175
|
+
* Onlinestore
|
|
26176
|
+
* @default false
|
|
26177
|
+
*/
|
|
26178
|
+
onlineStore: boolean;
|
|
26178
26179
|
/** Email */
|
|
26179
26180
|
email: boolean;
|
|
26180
26181
|
/** Loadchartofaccount */
|
|
@@ -50892,7 +50893,7 @@ export interface components {
|
|
|
50892
50893
|
* Format: uuid
|
|
50893
50894
|
*/
|
|
50894
50895
|
id: string;
|
|
50895
|
-
platform: components["schemas"]["PlatformSchema"];
|
|
50896
|
+
platform: components["schemas"]["PlatformSchema"] | null;
|
|
50896
50897
|
/** Useonlineshop */
|
|
50897
50898
|
useOnlineShop: boolean;
|
|
50898
50899
|
/** Autosyncorders */
|
|
@@ -50915,11 +50916,8 @@ export interface components {
|
|
|
50915
50916
|
PlatformSchema: "shopify" | "wooCommerce";
|
|
50916
50917
|
/** OnlineStoreSettingCreateUpdateSchema */
|
|
50917
50918
|
OnlineStoreSettingCreateUpdateSchema: {
|
|
50918
|
-
/**
|
|
50919
|
-
|
|
50920
|
-
* @default shopify
|
|
50921
|
-
*/
|
|
50922
|
-
platform: components["schemas"]["PlatformSchema"];
|
|
50919
|
+
/** @description E-commerce platform to integrate with, required when use_online_shop is true */
|
|
50920
|
+
platform?: components["schemas"]["PlatformSchema"] | null;
|
|
50923
50921
|
/**
|
|
50924
50922
|
* Useonlineshop
|
|
50925
50923
|
* @description Enable/disable online shop integration
|
|
@@ -90826,15 +90824,6 @@ export interface operations {
|
|
|
90826
90824
|
"application/json": components["schemas"]["MessageResponse"];
|
|
90827
90825
|
};
|
|
90828
90826
|
};
|
|
90829
|
-
/** @description Not Found */
|
|
90830
|
-
404: {
|
|
90831
|
-
headers: {
|
|
90832
|
-
[name: string]: unknown;
|
|
90833
|
-
};
|
|
90834
|
-
content: {
|
|
90835
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
90836
|
-
};
|
|
90837
|
-
};
|
|
90838
90827
|
/** @description Internal Server Error */
|
|
90839
90828
|
500: {
|
|
90840
90829
|
headers: {
|
|
@@ -90906,48 +90895,6 @@ export interface operations {
|
|
|
90906
90895
|
};
|
|
90907
90896
|
};
|
|
90908
90897
|
};
|
|
90909
|
-
integration_settings_views_create_online_store_setting: {
|
|
90910
|
-
parameters: {
|
|
90911
|
-
query?: never;
|
|
90912
|
-
header?: never;
|
|
90913
|
-
path?: never;
|
|
90914
|
-
cookie?: never;
|
|
90915
|
-
};
|
|
90916
|
-
requestBody: {
|
|
90917
|
-
content: {
|
|
90918
|
-
"application/json": components["schemas"]["OnlineStoreSettingCreateUpdateSchema"];
|
|
90919
|
-
};
|
|
90920
|
-
};
|
|
90921
|
-
responses: {
|
|
90922
|
-
/** @description Created */
|
|
90923
|
-
201: {
|
|
90924
|
-
headers: {
|
|
90925
|
-
[name: string]: unknown;
|
|
90926
|
-
};
|
|
90927
|
-
content: {
|
|
90928
|
-
"application/json": components["schemas"]["OnlineStoreSettingSchema"];
|
|
90929
|
-
};
|
|
90930
|
-
};
|
|
90931
|
-
/** @description Bad Request */
|
|
90932
|
-
400: {
|
|
90933
|
-
headers: {
|
|
90934
|
-
[name: string]: unknown;
|
|
90935
|
-
};
|
|
90936
|
-
content: {
|
|
90937
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
90938
|
-
};
|
|
90939
|
-
};
|
|
90940
|
-
/** @description Internal Server Error */
|
|
90941
|
-
500: {
|
|
90942
|
-
headers: {
|
|
90943
|
-
[name: string]: unknown;
|
|
90944
|
-
};
|
|
90945
|
-
content: {
|
|
90946
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
90947
|
-
};
|
|
90948
|
-
};
|
|
90949
|
-
};
|
|
90950
|
-
};
|
|
90951
90898
|
integration_sync_views_kill_all_syncs_endpoint: {
|
|
90952
90899
|
parameters: {
|
|
90953
90900
|
query?: never;
|