@omni-commerce/sdk 0.31.0 → 0.31.1

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/dist/index.d.cts CHANGED
@@ -30322,8 +30322,8 @@ interface operations {
30322
30322
  productIds: string[];
30323
30323
  jobBatchId?: string;
30324
30324
  correlations: {
30325
- /** @constant */
30326
- kind: "publish_job";
30325
+ /** @enum {string} */
30326
+ kind: "publish_job" | "inventory_job";
30327
30327
  id: string;
30328
30328
  }[];
30329
30329
  results: {
@@ -30381,8 +30381,8 @@ interface operations {
30381
30381
  productIds: string[];
30382
30382
  jobBatchId?: string;
30383
30383
  correlations: {
30384
- /** @constant */
30385
- kind: "publish_job";
30384
+ /** @enum {string} */
30385
+ kind: "publish_job" | "inventory_job";
30386
30386
  id: string;
30387
30387
  }[];
30388
30388
  results: {
@@ -38618,7 +38618,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
38618
38618
  toleranceInSeconds?: number;
38619
38619
  }): Promise<ConstructedWebhookEvent>;
38620
38620
 
38621
- declare const SDK_VERSION = "0.31.0";
38621
+ declare const SDK_VERSION = "0.31.1";
38622
38622
 
38623
38623
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
38624
38624
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
package/dist/index.d.ts CHANGED
@@ -30322,8 +30322,8 @@ interface operations {
30322
30322
  productIds: string[];
30323
30323
  jobBatchId?: string;
30324
30324
  correlations: {
30325
- /** @constant */
30326
- kind: "publish_job";
30325
+ /** @enum {string} */
30326
+ kind: "publish_job" | "inventory_job";
30327
30327
  id: string;
30328
30328
  }[];
30329
30329
  results: {
@@ -30381,8 +30381,8 @@ interface operations {
30381
30381
  productIds: string[];
30382
30382
  jobBatchId?: string;
30383
30383
  correlations: {
30384
- /** @constant */
30385
- kind: "publish_job";
30384
+ /** @enum {string} */
30385
+ kind: "publish_job" | "inventory_job";
30386
30386
  id: string;
30387
30387
  }[];
30388
30388
  results: {
@@ -38618,7 +38618,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
38618
38618
  toleranceInSeconds?: number;
38619
38619
  }): Promise<ConstructedWebhookEvent>;
38620
38620
 
38621
- declare const SDK_VERSION = "0.31.0";
38621
+ declare const SDK_VERSION = "0.31.1";
38622
38622
 
38623
38623
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
38624
38624
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ function normalizeClientOptions(options = {}) {
33
33
  }
34
34
 
35
35
  // src/version.ts
36
- var SDK_VERSION = "0.31.0";
36
+ var SDK_VERSION = "0.31.1";
37
37
  var SDK_USER_AGENT = `omnicommerce-js/${SDK_VERSION}`;
38
38
 
39
39
  // src/environments.ts