@erp-galoper/types 1.0.1182 → 1.0.1184

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 +102 -2
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -539,7 +539,7 @@ export interface paths {
539
539
  * - customLabelValueIsRequired
540
540
  * - includeNameOrShortName
541
541
  * - Permission Key :
542
- * item : [ view ]
542
+ * item : [ export ]
543
543
  */
544
544
  post: operations["inventory_item_views_print_labels"];
545
545
  delete?: never;
@@ -19869,6 +19869,38 @@ export interface paths {
19869
19869
  patch?: never;
19870
19870
  trace?: never;
19871
19871
  };
19872
+ "/api/v1/integrations/settings/toggle/": {
19873
+ parameters: {
19874
+ query?: never;
19875
+ header?: never;
19876
+ path?: never;
19877
+ cookie?: never;
19878
+ };
19879
+ get?: never;
19880
+ put?: never;
19881
+ post?: never;
19882
+ delete?: never;
19883
+ options?: never;
19884
+ head?: never;
19885
+ /**
19886
+ * Toggle Online Store Integration
19887
+ * @description Endpoint for enabling or disabling online store integration
19888
+ * Possible Responses:
19889
+ * - 200: onlineStoreSettingUpdated
19890
+ * - 400: validationFailed
19891
+ * - platformRequired
19892
+ * - defaultWarehouseRequired
19893
+ * - defaultTaxRequired
19894
+ * - defaultCurrencyRequired
19895
+ * - 403: permissionDenied
19896
+ * - 404: settingDoesNotExist
19897
+ * - 500: internalServerError
19898
+ *
19899
+ * permission key: onlinestoresetting: ["change"]
19900
+ */
19901
+ patch: operations["integration_settings_views_toggle_online_store_integration"];
19902
+ trace?: never;
19903
+ };
19872
19904
  "/api/v1/integrations/sync/kill-all-syncs/": {
19873
19905
  parameters: {
19874
19906
  query?: never;
@@ -20128,7 +20160,7 @@ export interface paths {
20128
20160
  put?: never;
20129
20161
  /**
20130
20162
  * Manually sync a single customer to Shopify
20131
- * @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.
20163
+ * @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.
20132
20164
  */
20133
20165
  post: operations["integration_sync_views_sync_single_customer_endpoint"];
20134
20166
  delete?: never;
@@ -51210,6 +51242,14 @@ export interface components {
51210
51242
  */
51211
51243
  defaultCurrency?: number | null;
51212
51244
  };
51245
+ /** ToggleOnlineStoreIntegrationSchema */
51246
+ ToggleOnlineStoreIntegrationSchema: {
51247
+ /**
51248
+ * Enabled
51249
+ * @description Enable or disable online store integration
51250
+ */
51251
+ enabled: boolean;
51252
+ };
51213
51253
  /**
51214
51254
  * StoreType
51215
51255
  * @constant
@@ -91310,6 +91350,66 @@ export interface operations {
91310
91350
  };
91311
91351
  };
91312
91352
  };
91353
+ integration_settings_views_toggle_online_store_integration: {
91354
+ parameters: {
91355
+ query?: never;
91356
+ header?: never;
91357
+ path?: never;
91358
+ cookie?: never;
91359
+ };
91360
+ requestBody: {
91361
+ content: {
91362
+ "application/json": components["schemas"]["ToggleOnlineStoreIntegrationSchema"];
91363
+ };
91364
+ };
91365
+ responses: {
91366
+ /** @description OK */
91367
+ 200: {
91368
+ headers: {
91369
+ [name: string]: unknown;
91370
+ };
91371
+ content: {
91372
+ "application/json": components["schemas"]["OnlineStoreSettingSchema"];
91373
+ };
91374
+ };
91375
+ /** @description Bad Request */
91376
+ 400: {
91377
+ headers: {
91378
+ [name: string]: unknown;
91379
+ };
91380
+ content: {
91381
+ "application/json": components["schemas"]["ErrorMessages"];
91382
+ };
91383
+ };
91384
+ /** @description Forbidden */
91385
+ 403: {
91386
+ headers: {
91387
+ [name: string]: unknown;
91388
+ };
91389
+ content: {
91390
+ "application/json": components["schemas"]["MessageResponse"];
91391
+ };
91392
+ };
91393
+ /** @description Not Found */
91394
+ 404: {
91395
+ headers: {
91396
+ [name: string]: unknown;
91397
+ };
91398
+ content: {
91399
+ "application/json": components["schemas"]["MessageResponse"];
91400
+ };
91401
+ };
91402
+ /** @description Internal Server Error */
91403
+ 500: {
91404
+ headers: {
91405
+ [name: string]: unknown;
91406
+ };
91407
+ content: {
91408
+ "application/json": components["schemas"]["MessageResponse"];
91409
+ };
91410
+ };
91411
+ };
91412
+ };
91313
91413
  integration_sync_views_kill_all_syncs_endpoint: {
91314
91414
  parameters: {
91315
91415
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1182",
3
+ "version": "1.0.1184",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],