@redotech/redo-api-schema 2.2.149 → 2.2.153

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/lib/openapi.d.ts CHANGED
@@ -160,7 +160,7 @@ export interface paths {
160
160
  * Receive storefront events
161
161
  * @description Processes events from storefronts using Shopify pixel event schema
162
162
  */
163
- post: operations["storefrontEvent"];
163
+ post: operations["Storefront Event"];
164
164
  };
165
165
  "/stores/{storeId}/webhooks": {
166
166
  /**
@@ -986,6 +986,11 @@ export interface components {
986
986
  eventName: "product_added_to_cart" | "product_removed_from_cart" | "product_viewed" | "checkout_started" | "checkout_completed" | "checkout_contact_info_submitted" | "page_viewed" | "collection_viewed";
987
987
  /** @description Product variant information. */
988
988
  productVariant?: Record<string, never>;
989
+ /**
990
+ * @description Source of the event.
991
+ * @enum {string}
992
+ */
993
+ source: "AIMERCE";
989
994
  /**
990
995
  * Format: date-time
991
996
  * @description ISO 8601 timestamp when the event occurred.
@@ -1664,7 +1669,7 @@ export interface operations {
1664
1669
  * Receive storefront events
1665
1670
  * @description Processes events from storefronts using Shopify pixel event schema
1666
1671
  */
1667
- storefrontEvent: {
1672
+ "Storefront Event": {
1668
1673
  parameters: {
1669
1674
  path: {
1670
1675
  storeId: components["parameters"]["store-id.param"];
package/lib/openapi.yaml CHANGED
@@ -1095,6 +1095,11 @@ components:
1095
1095
  productVariant:
1096
1096
  description: Product variant information.
1097
1097
  type: object
1098
+ source:
1099
+ description: Source of the event.
1100
+ enum:
1101
+ - AIMERCE
1102
+ type: string
1098
1103
  timestamp:
1099
1104
  description: ISO 8601 timestamp when the event occurred.
1100
1105
  format: date-time
@@ -1109,6 +1114,7 @@ components:
1109
1114
  - eventName
1110
1115
  - eventId
1111
1116
  - timestamp
1117
+ - source
1112
1118
  title: Storefront Event
1113
1119
  type: object
1114
1120
  webhook-create.schema:
@@ -1857,7 +1863,7 @@ paths:
1857
1863
  /stores/{storeId}/storefront/events:
1858
1864
  post:
1859
1865
  description: Processes events from storefronts using Shopify pixel event schema
1860
- operationId: storefrontEvent
1866
+ operationId: Storefront Event
1861
1867
  parameters:
1862
1868
  - $ref: '#/components/parameters/store-id.param'
1863
1869
  requestBody:
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.149"
34
+ "version": "2.2.153"
35
35
  }