@redotech/redo-api-schema 2.2.151 → 2.2.155

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
@@ -265,13 +265,13 @@ export interface components {
265
265
  * Image
266
266
  * @description Base64-encoded image
267
267
  */
268
- image?: string;
268
+ image: string;
269
269
  }, {
270
270
  /**
271
271
  * Message
272
272
  * @description Message.
273
273
  */
274
- message?: string;
274
+ message: string;
275
275
  }]>;
276
276
  /**
277
277
  * Coverage product
@@ -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.
package/lib/openapi.yaml CHANGED
@@ -139,19 +139,25 @@ components:
139
139
  - message: Item is worn.
140
140
  - image: eJxiYAEAAAD//wMAAAYABQ==
141
141
  oneOf:
142
- - properties:
142
+ - additionalProperties: false
143
+ properties:
143
144
  image:
144
145
  contentEncoding: base64
145
146
  description: Base64-encoded image
146
147
  title: Image
147
148
  type: string
149
+ required:
150
+ - image
148
151
  title: Image comment
149
152
  type: object
150
- - properties:
153
+ - additionalProperties: false
154
+ properties:
151
155
  message:
152
156
  description: Message.
153
157
  title: Message
154
158
  type: string
159
+ required:
160
+ - message
155
161
  title: Message comment
156
162
  type: object
157
163
  title: Comment
@@ -1095,6 +1101,11 @@ components:
1095
1101
  productVariant:
1096
1102
  description: Product variant information.
1097
1103
  type: object
1104
+ source:
1105
+ description: Source of the event.
1106
+ enum:
1107
+ - AIMERCE
1108
+ type: string
1098
1109
  timestamp:
1099
1110
  description: ISO 8601 timestamp when the event occurred.
1100
1111
  format: date-time
@@ -1109,6 +1120,7 @@ components:
1109
1120
  - eventName
1110
1121
  - eventId
1111
1122
  - timestamp
1123
+ - source
1112
1124
  title: Storefront Event
1113
1125
  type: object
1114
1126
  webhook-create.schema:
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.151"
34
+ "version": "2.2.155"
35
35
  }