@omni-commerce/sdk 0.5.0 → 0.6.0

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
@@ -583,6 +583,38 @@ interface paths {
583
583
  patch?: never;
584
584
  trace?: never;
585
585
  };
586
+ "/api/v1/brandsgateway/import": {
587
+ parameters: {
588
+ query?: never;
589
+ header?: never;
590
+ path?: never;
591
+ cookie?: never;
592
+ };
593
+ get?: never;
594
+ put?: never;
595
+ /**
596
+ * Import BrandsGateway Products
597
+ * @description Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
598
+ *
599
+ * ### Selection
600
+ *
601
+ * Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
602
+ *
603
+ * ### Updated dates and enrichment
604
+ *
605
+ * updatedAtMin and updatedAtMax map to the supplier updated_at_min and updated_at_max filters; dates use midnight UTC. There is no creation-date sorting. Products import as drafts. Connected marketplace selections and country apply to the entire import. Enrichment and taxonomy are queued according to the organization's BrandsGateway preferences; any AI usage is billed to that organization. This endpoint does not publish listings.
606
+ *
607
+ * ### Result
608
+ *
609
+ * Returns HTTP 200 when the import attempt finishes, including partial failures. Inspect ok, data.success, counts, results, and data.error; failed or partial imports have ok=false and status=failed. Enrichment may still be running when data.enrichmentQueued=true.
610
+ */
611
+ post: operations["post_v1_brandsgateway_import"];
612
+ delete?: never;
613
+ options?: never;
614
+ head?: never;
615
+ patch?: never;
616
+ trace?: never;
617
+ };
586
618
  "/api/v1/campaigns": {
587
619
  parameters: {
588
620
  query?: never;
@@ -6687,6 +6719,163 @@ interface operations {
6687
6719
  };
6688
6720
  };
6689
6721
  };
6722
+ post_v1_brandsgateway_import: {
6723
+ parameters: {
6724
+ query?: never;
6725
+ header?: never;
6726
+ path?: never;
6727
+ cookie?: never;
6728
+ };
6729
+ requestBody: {
6730
+ content: {
6731
+ /**
6732
+ * @example {
6733
+ * "importAllMatching": true,
6734
+ * "maxProducts": 10,
6735
+ * "filters": {
6736
+ * "categoryIds": [
6737
+ * 71816
6738
+ * ],
6739
+ * "vendorIds": [
6740
+ * 73680
6741
+ * ],
6742
+ * "brandIds": [
6743
+ * 68571,
6744
+ * 615
6745
+ * ],
6746
+ * "updatedAtMin": "2026-10-01"
6747
+ * }
6748
+ * }
6749
+ */
6750
+ "application/json": {
6751
+ /** @description BrandsGateway catalog product IDs (supplier numbers, not Omni product IDs). Trimmed and de-duplicated while preserving order. Max 50. */
6752
+ catalogProductIds?: number[];
6753
+ /** @description Import up to maxProducts products matching filters instead of an explicit catalogProductIds list (defaults to 50). */
6754
+ importAllMatching?: boolean;
6755
+ /** @description Maximum products to import in this call (1–50, defaults to 50). Applied across all matching catalog pages. An explicit catalogProductIds selection cannot exceed this limit after deduplication. */
6756
+ maxProducts?: number;
6757
+ /** @description Catalog product IDs to skip when importAllMatching is true. */
6758
+ excludedProductIds?: number[];
6759
+ /** @description Listing filters when importAllMatching is true. Numeric ID arrays match any ID within each field, and all supplied fields must match. Omit a field to leave it unrestricted. */
6760
+ filters?: {
6761
+ q?: string;
6762
+ /** @description Numeric brand IDs. Match any selected brand. Max 500; duplicates removed in first-requested order. */
6763
+ brandIds?: number[];
6764
+ /** @description Numeric warehouse/vendor IDs. Match any selected warehouse. Max 50; duplicates removed in first-requested order. */
6765
+ vendorIds?: number[];
6766
+ /** @description Numeric category IDs. Match any selected category. Max 50; duplicates removed in first-requested order. */
6767
+ categoryIds?: number[];
6768
+ /** @description Numeric product-condition IDs. Match any selected condition. Max 50; duplicates removed in first-requested order. */
6769
+ conditionIds?: number[];
6770
+ /** @constant */
6771
+ stock?: "instock";
6772
+ priceMin?: string;
6773
+ priceMax?: string;
6774
+ /** @enum {string} */
6775
+ imported?: "not_imported" | "imported" | "all";
6776
+ /** @description Supplier updated_at_min: only products last updated after this ISO date or date-time. Date-only values mean midnight UTC; offset date-times are converted to UTC. */
6777
+ updatedAtMin?: string;
6778
+ /** @description Supplier updated_at_max: only products last updated before this ISO date or date-time. Date-only values mean midnight UTC; offset date-times are converted to UTC. */
6779
+ updatedAtMax?: string;
6780
+ };
6781
+ /** @description Connected marketplaces to assign on import. Taxonomy enrichment uses taxonomy-capable stores from this list. */
6782
+ targetMarketplaces?: string[];
6783
+ /** @description Connected store ID keyed by marketplace. */
6784
+ marketplaceStoreSelections?: {
6785
+ [key: string]: string;
6786
+ };
6787
+ /** @description Shared country for the selected import stores. */
6788
+ country?: string;
6789
+ /** @description Required for session auth; derived from the credential for bearer auth. */
6790
+ organizationId?: string;
6791
+ };
6792
+ };
6793
+ };
6794
+ responses: {
6795
+ /** @description Import attempt finished. Inspect success and per-product results, including partial failures. */
6796
+ 200: {
6797
+ headers: {
6798
+ [name: string]: unknown;
6799
+ };
6800
+ content: {
6801
+ "application/json": {
6802
+ ok: boolean;
6803
+ apiVersion: string;
6804
+ operationId: string;
6805
+ /** @enum {string} */
6806
+ status: "completed" | "failed";
6807
+ data: {
6808
+ success: boolean;
6809
+ catalogProductIds: number[];
6810
+ importedProductIds: string[];
6811
+ importAllMatching: boolean;
6812
+ succeededCount: number;
6813
+ failedCount: number;
6814
+ skippedCount: number;
6815
+ results: {
6816
+ catalogProductId?: number;
6817
+ productId?: string;
6818
+ success: boolean;
6819
+ skipped?: boolean;
6820
+ error?: string;
6821
+ }[];
6822
+ runEnrichment: boolean;
6823
+ /** @description True when this import queued listing enrichment and taxonomy for importedProductIds. Do not call product_enrichment_tool again for those ids. */
6824
+ enrichmentQueued: boolean;
6825
+ taxonomyAssignments: {
6826
+ marketplace: string;
6827
+ storeId: string;
6828
+ storeName: string;
6829
+ country: string;
6830
+ }[];
6831
+ error?: string;
6832
+ };
6833
+ error?: string;
6834
+ links?: {
6835
+ [key: string]: string;
6836
+ };
6837
+ warnings?: string[];
6838
+ recommendations?: string[];
6839
+ };
6840
+ };
6841
+ };
6842
+ /** @description Invalid request, including nonnumeric IDs or an invalid quantity. */
6843
+ 400: {
6844
+ headers: {
6845
+ [name: string]: unknown;
6846
+ };
6847
+ content?: never;
6848
+ };
6849
+ /** @description Missing or invalid credentials. */
6850
+ 401: {
6851
+ headers: {
6852
+ [name: string]: unknown;
6853
+ };
6854
+ content?: never;
6855
+ };
6856
+ /** @description Missing catalog:write scope, insufficient permission, organization mismatch, or inactive organization. */
6857
+ 403: {
6858
+ headers: {
6859
+ [name: string]: unknown;
6860
+ };
6861
+ content?: never;
6862
+ };
6863
+ /** @description Rate limit exceeded. */
6864
+ 429: {
6865
+ headers: {
6866
+ [name: string]: unknown;
6867
+ };
6868
+ content?: never;
6869
+ };
6870
+ /** @description Unexpected import failure. */
6871
+ 500: {
6872
+ headers: {
6873
+ [name: string]: unknown;
6874
+ };
6875
+ content?: never;
6876
+ };
6877
+ };
6878
+ };
6690
6879
  get_v1_campaigns: {
6691
6880
  parameters: {
6692
6881
  query?: {
@@ -19485,6 +19674,24 @@ declare class AopClient {
19485
19674
  */
19486
19675
  retry(request: OperationBody<operations["post_v1_aop_retry"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_aop_retry"]>>;
19487
19676
  }
19677
+ declare class BrandsgatewayClient {
19678
+ protected readonly _http: OmniHttp;
19679
+ constructor(_http: OmniHttp);
19680
+ /**
19681
+ * Import BrandsGateway Products
19682
+ *
19683
+ * Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
19684
+
19685
+ ### Selection
19686
+
19687
+ Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
19688
+
19689
+ ### Updated dates and enrichme
19690
+ *
19691
+ * `POST /api/v1/brandsgateway/import`
19692
+ */
19693
+ importProducts(request: OperationBody<operations["post_v1_brandsgateway_import"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_brandsgateway_import"]>>;
19694
+ }
19488
19695
  declare class CampaignsClient {
19489
19696
  protected readonly _http: OmniHttp;
19490
19697
  constructor(_http: OmniHttp);
@@ -20605,6 +20812,7 @@ declare class OmniGeneratedClient {
20605
20812
  readonly agents: AgentsClient;
20606
20813
  readonly analytics: AnalyticsClient;
20607
20814
  readonly aop: AopClient;
20815
+ readonly brandsgateway: BrandsgatewayClient;
20608
20816
  readonly campaigns: CampaignsClient;
20609
20817
  readonly catalog: CatalogClient;
20610
20818
  readonly checkoutSessions: CheckoutSessionsClient;
@@ -20642,6 +20850,7 @@ type OmniResources = {
20642
20850
  agents: AgentsClient;
20643
20851
  analytics: AnalyticsClient;
20644
20852
  aop: AopClient;
20853
+ brandsgateway: BrandsgatewayClient;
20645
20854
  campaigns: CampaignsClient;
20646
20855
  catalog: CatalogClient;
20647
20856
  checkoutSessions: CheckoutSessionsClient;
@@ -20716,7 +20925,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
20716
20925
  toleranceInSeconds?: number;
20717
20926
  }): Promise<ConstructedWebhookEvent>;
20718
20927
 
20719
- declare const SDK_VERSION = "0.5.0";
20928
+ declare const SDK_VERSION = "0.6.0";
20720
20929
 
20721
20930
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
20722
20931
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
package/dist/index.d.ts CHANGED
@@ -583,6 +583,38 @@ interface paths {
583
583
  patch?: never;
584
584
  trace?: never;
585
585
  };
586
+ "/api/v1/brandsgateway/import": {
587
+ parameters: {
588
+ query?: never;
589
+ header?: never;
590
+ path?: never;
591
+ cookie?: never;
592
+ };
593
+ get?: never;
594
+ put?: never;
595
+ /**
596
+ * Import BrandsGateway Products
597
+ * @description Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
598
+ *
599
+ * ### Selection
600
+ *
601
+ * Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
602
+ *
603
+ * ### Updated dates and enrichment
604
+ *
605
+ * updatedAtMin and updatedAtMax map to the supplier updated_at_min and updated_at_max filters; dates use midnight UTC. There is no creation-date sorting. Products import as drafts. Connected marketplace selections and country apply to the entire import. Enrichment and taxonomy are queued according to the organization's BrandsGateway preferences; any AI usage is billed to that organization. This endpoint does not publish listings.
606
+ *
607
+ * ### Result
608
+ *
609
+ * Returns HTTP 200 when the import attempt finishes, including partial failures. Inspect ok, data.success, counts, results, and data.error; failed or partial imports have ok=false and status=failed. Enrichment may still be running when data.enrichmentQueued=true.
610
+ */
611
+ post: operations["post_v1_brandsgateway_import"];
612
+ delete?: never;
613
+ options?: never;
614
+ head?: never;
615
+ patch?: never;
616
+ trace?: never;
617
+ };
586
618
  "/api/v1/campaigns": {
587
619
  parameters: {
588
620
  query?: never;
@@ -6687,6 +6719,163 @@ interface operations {
6687
6719
  };
6688
6720
  };
6689
6721
  };
6722
+ post_v1_brandsgateway_import: {
6723
+ parameters: {
6724
+ query?: never;
6725
+ header?: never;
6726
+ path?: never;
6727
+ cookie?: never;
6728
+ };
6729
+ requestBody: {
6730
+ content: {
6731
+ /**
6732
+ * @example {
6733
+ * "importAllMatching": true,
6734
+ * "maxProducts": 10,
6735
+ * "filters": {
6736
+ * "categoryIds": [
6737
+ * 71816
6738
+ * ],
6739
+ * "vendorIds": [
6740
+ * 73680
6741
+ * ],
6742
+ * "brandIds": [
6743
+ * 68571,
6744
+ * 615
6745
+ * ],
6746
+ * "updatedAtMin": "2026-10-01"
6747
+ * }
6748
+ * }
6749
+ */
6750
+ "application/json": {
6751
+ /** @description BrandsGateway catalog product IDs (supplier numbers, not Omni product IDs). Trimmed and de-duplicated while preserving order. Max 50. */
6752
+ catalogProductIds?: number[];
6753
+ /** @description Import up to maxProducts products matching filters instead of an explicit catalogProductIds list (defaults to 50). */
6754
+ importAllMatching?: boolean;
6755
+ /** @description Maximum products to import in this call (1–50, defaults to 50). Applied across all matching catalog pages. An explicit catalogProductIds selection cannot exceed this limit after deduplication. */
6756
+ maxProducts?: number;
6757
+ /** @description Catalog product IDs to skip when importAllMatching is true. */
6758
+ excludedProductIds?: number[];
6759
+ /** @description Listing filters when importAllMatching is true. Numeric ID arrays match any ID within each field, and all supplied fields must match. Omit a field to leave it unrestricted. */
6760
+ filters?: {
6761
+ q?: string;
6762
+ /** @description Numeric brand IDs. Match any selected brand. Max 500; duplicates removed in first-requested order. */
6763
+ brandIds?: number[];
6764
+ /** @description Numeric warehouse/vendor IDs. Match any selected warehouse. Max 50; duplicates removed in first-requested order. */
6765
+ vendorIds?: number[];
6766
+ /** @description Numeric category IDs. Match any selected category. Max 50; duplicates removed in first-requested order. */
6767
+ categoryIds?: number[];
6768
+ /** @description Numeric product-condition IDs. Match any selected condition. Max 50; duplicates removed in first-requested order. */
6769
+ conditionIds?: number[];
6770
+ /** @constant */
6771
+ stock?: "instock";
6772
+ priceMin?: string;
6773
+ priceMax?: string;
6774
+ /** @enum {string} */
6775
+ imported?: "not_imported" | "imported" | "all";
6776
+ /** @description Supplier updated_at_min: only products last updated after this ISO date or date-time. Date-only values mean midnight UTC; offset date-times are converted to UTC. */
6777
+ updatedAtMin?: string;
6778
+ /** @description Supplier updated_at_max: only products last updated before this ISO date or date-time. Date-only values mean midnight UTC; offset date-times are converted to UTC. */
6779
+ updatedAtMax?: string;
6780
+ };
6781
+ /** @description Connected marketplaces to assign on import. Taxonomy enrichment uses taxonomy-capable stores from this list. */
6782
+ targetMarketplaces?: string[];
6783
+ /** @description Connected store ID keyed by marketplace. */
6784
+ marketplaceStoreSelections?: {
6785
+ [key: string]: string;
6786
+ };
6787
+ /** @description Shared country for the selected import stores. */
6788
+ country?: string;
6789
+ /** @description Required for session auth; derived from the credential for bearer auth. */
6790
+ organizationId?: string;
6791
+ };
6792
+ };
6793
+ };
6794
+ responses: {
6795
+ /** @description Import attempt finished. Inspect success and per-product results, including partial failures. */
6796
+ 200: {
6797
+ headers: {
6798
+ [name: string]: unknown;
6799
+ };
6800
+ content: {
6801
+ "application/json": {
6802
+ ok: boolean;
6803
+ apiVersion: string;
6804
+ operationId: string;
6805
+ /** @enum {string} */
6806
+ status: "completed" | "failed";
6807
+ data: {
6808
+ success: boolean;
6809
+ catalogProductIds: number[];
6810
+ importedProductIds: string[];
6811
+ importAllMatching: boolean;
6812
+ succeededCount: number;
6813
+ failedCount: number;
6814
+ skippedCount: number;
6815
+ results: {
6816
+ catalogProductId?: number;
6817
+ productId?: string;
6818
+ success: boolean;
6819
+ skipped?: boolean;
6820
+ error?: string;
6821
+ }[];
6822
+ runEnrichment: boolean;
6823
+ /** @description True when this import queued listing enrichment and taxonomy for importedProductIds. Do not call product_enrichment_tool again for those ids. */
6824
+ enrichmentQueued: boolean;
6825
+ taxonomyAssignments: {
6826
+ marketplace: string;
6827
+ storeId: string;
6828
+ storeName: string;
6829
+ country: string;
6830
+ }[];
6831
+ error?: string;
6832
+ };
6833
+ error?: string;
6834
+ links?: {
6835
+ [key: string]: string;
6836
+ };
6837
+ warnings?: string[];
6838
+ recommendations?: string[];
6839
+ };
6840
+ };
6841
+ };
6842
+ /** @description Invalid request, including nonnumeric IDs or an invalid quantity. */
6843
+ 400: {
6844
+ headers: {
6845
+ [name: string]: unknown;
6846
+ };
6847
+ content?: never;
6848
+ };
6849
+ /** @description Missing or invalid credentials. */
6850
+ 401: {
6851
+ headers: {
6852
+ [name: string]: unknown;
6853
+ };
6854
+ content?: never;
6855
+ };
6856
+ /** @description Missing catalog:write scope, insufficient permission, organization mismatch, or inactive organization. */
6857
+ 403: {
6858
+ headers: {
6859
+ [name: string]: unknown;
6860
+ };
6861
+ content?: never;
6862
+ };
6863
+ /** @description Rate limit exceeded. */
6864
+ 429: {
6865
+ headers: {
6866
+ [name: string]: unknown;
6867
+ };
6868
+ content?: never;
6869
+ };
6870
+ /** @description Unexpected import failure. */
6871
+ 500: {
6872
+ headers: {
6873
+ [name: string]: unknown;
6874
+ };
6875
+ content?: never;
6876
+ };
6877
+ };
6878
+ };
6690
6879
  get_v1_campaigns: {
6691
6880
  parameters: {
6692
6881
  query?: {
@@ -19485,6 +19674,24 @@ declare class AopClient {
19485
19674
  */
19486
19675
  retry(request: OperationBody<operations["post_v1_aop_retry"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_aop_retry"]>>;
19487
19676
  }
19677
+ declare class BrandsgatewayClient {
19678
+ protected readonly _http: OmniHttp;
19679
+ constructor(_http: OmniHttp);
19680
+ /**
19681
+ * Import BrandsGateway Products
19682
+ *
19683
+ * Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
19684
+
19685
+ ### Selection
19686
+
19687
+ Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
19688
+
19689
+ ### Updated dates and enrichme
19690
+ *
19691
+ * `POST /api/v1/brandsgateway/import`
19692
+ */
19693
+ importProducts(request: OperationBody<operations["post_v1_brandsgateway_import"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_brandsgateway_import"]>>;
19694
+ }
19488
19695
  declare class CampaignsClient {
19489
19696
  protected readonly _http: OmniHttp;
19490
19697
  constructor(_http: OmniHttp);
@@ -20605,6 +20812,7 @@ declare class OmniGeneratedClient {
20605
20812
  readonly agents: AgentsClient;
20606
20813
  readonly analytics: AnalyticsClient;
20607
20814
  readonly aop: AopClient;
20815
+ readonly brandsgateway: BrandsgatewayClient;
20608
20816
  readonly campaigns: CampaignsClient;
20609
20817
  readonly catalog: CatalogClient;
20610
20818
  readonly checkoutSessions: CheckoutSessionsClient;
@@ -20642,6 +20850,7 @@ type OmniResources = {
20642
20850
  agents: AgentsClient;
20643
20851
  analytics: AnalyticsClient;
20644
20852
  aop: AopClient;
20853
+ brandsgateway: BrandsgatewayClient;
20645
20854
  campaigns: CampaignsClient;
20646
20855
  catalog: CatalogClient;
20647
20856
  checkoutSessions: CheckoutSessionsClient;
@@ -20716,7 +20925,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
20716
20925
  toleranceInSeconds?: number;
20717
20926
  }): Promise<ConstructedWebhookEvent>;
20718
20927
 
20719
- declare const SDK_VERSION = "0.5.0";
20928
+ declare const SDK_VERSION = "0.6.0";
20720
20929
 
20721
20930
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
20722
20931
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ function normalizeClientOptions(options = {}) {
24
24
  }
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = "0.5.0";
27
+ var SDK_VERSION = "0.6.0";
28
28
  var SDK_USER_AGENT = `omnicommerce-js/${SDK_VERSION}`;
29
29
 
30
30
  // src/environments.ts
@@ -1098,6 +1098,35 @@ var AopClient = class {
1098
1098
  });
1099
1099
  }
1100
1100
  };
1101
+ var BrandsgatewayClient = class {
1102
+ constructor(_http) {
1103
+ this._http = _http;
1104
+ }
1105
+ _http;
1106
+ /**
1107
+ * Import BrandsGateway Products
1108
+ *
1109
+ * Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
1110
+
1111
+ ### Selection
1112
+
1113
+ Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
1114
+
1115
+ ### Updated dates and enrichme
1116
+ *
1117
+ * `POST /api/v1/brandsgateway/import`
1118
+ */
1119
+ importProducts(request, requestOptions) {
1120
+ const { ...body } = request ?? {};
1121
+ return this._http.request({
1122
+ method: "POST",
1123
+ path: "/api/v1/brandsgateway/import",
1124
+ query: void 0,
1125
+ body,
1126
+ ...mergeRequestOptions(requestOptions)
1127
+ });
1128
+ }
1129
+ };
1101
1130
  var CampaignsClient = class {
1102
1131
  constructor(_http) {
1103
1132
  this._http = _http;
@@ -3387,6 +3416,7 @@ var OmniGeneratedClient = class {
3387
3416
  this.agents = new AgentsClient(this._http);
3388
3417
  this.analytics = new AnalyticsClient(this._http);
3389
3418
  this.aop = new AopClient(this._http);
3419
+ this.brandsgateway = new BrandsgatewayClient(this._http);
3390
3420
  this.campaigns = new CampaignsClient(this._http);
3391
3421
  this.catalog = new CatalogClient(this._http);
3392
3422
  this.checkoutSessions = new CheckoutSessionsClient(this._http);
@@ -3423,6 +3453,7 @@ var OmniGeneratedClient = class {
3423
3453
  agents;
3424
3454
  analytics;
3425
3455
  aop;
3456
+ brandsgateway;
3426
3457
  campaigns;
3427
3458
  catalog;
3428
3459
  checkoutSessions;