@brightinteractive/platform-api 0.1.103 → 0.1.104

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.
@@ -4989,11 +4989,11 @@ declare class AssetSharesService {
4989
4989
  */
4990
4990
  interface AssetVariantCriterionPatchRequest {
4991
4991
  /**
4992
- * The replacement explicit product variant IDs for this criterion. Omit this field or set it to `null` to leave the existing values unchanged. Set it to `[]` to clear explicit variant IDs.
4992
+ * The explicit product variant IDs this criterion should match. These IDs are matched in addition to any product variant field values in `optionIdsByVariantFieldId`.
4993
4993
  */
4994
4994
  variantIds?: Set<string> | null;
4995
4995
  /**
4996
- * The replacement alternative product variant field values for this criterion. Omit this field or set it to `null` to leave the existing values unchanged. Set it to `[]` to match all variants for the product when `variantIds` is also empty.
4996
+ * Alternative sets of product variant field values this criterion can match. Each item maps product variant [`Field.id`](/dash/openapi/Fields) to matching values for that field. A product variant matches when it matches any map in this set. An empty array matches all variants for the product when `variantIds` is also empty.
4997
4997
  */
4998
4998
  optionIdsByVariantFieldId?: Set<{
4999
4999
  [key: string]: Set<string>;
@@ -5487,7 +5487,7 @@ declare namespace AssetSearchFieldFixed {
5487
5487
  const TypeEnum: {
5488
5488
  Fixed: TypeEnum;
5489
5489
  };
5490
- type FieldNameEnum = 'STAGED_BY' | 'PENDING_APPROVAL_BY' | 'LIVE_BY' | 'COLLECTIONS' | 'DATE_LIVE' | 'DATE_PENDING_APPROVAL' | 'DATE_STAGED' | 'DATE_LAST_MODIFIED' | 'DATE_LAST_ASSET_FILE_ADDED' | 'DOWNLOAD_COUNT' | 'FILE_SIZE' | 'FILE_TYPE' | 'FILE_CHECKSUM' | 'FILENAME' | 'ID' | 'KEYWORDS' | 'KEYWORDS_WITHOUT_FILE_SEMANTIC_MEANING' | 'KEYWORDS_WITH_FILE_SEMANTIC_MEANING' | 'ORIENTATION' | 'LIFECYCLE_STATE' | 'DATE_BINNED' | 'BINNED_BY' | 'WIDTH' | 'HEIGHT' | 'ORIGIN_TEMPORARY_SESSION_ID' | 'ORIGIN_GUEST_UPLOAD_ID';
5490
+ type FieldNameEnum = 'STAGED_BY' | 'PENDING_APPROVAL_BY' | 'LIVE_BY' | 'COLLECTIONS' | 'DATE_LIVE' | 'DATE_PENDING_APPROVAL' | 'DATE_STAGED' | 'DATE_LAST_MODIFIED' | 'DATE_LAST_ASSET_FILE_ADDED' | 'DOWNLOAD_COUNT' | 'FILE_SIZE' | 'FILE_TYPE' | 'FILE_CHECKSUM' | 'FILENAME' | 'ID' | 'KEYWORDS' | 'KEYWORDS_WITHOUT_FILE_SEMANTIC_MEANING' | 'KEYWORDS_WITH_FILE_SEMANTIC_MEANING' | 'ORIENTATION' | 'LIFECYCLE_STATE' | 'DATE_BINNED' | 'BINNED_BY' | 'WIDTH' | 'HEIGHT' | 'ORIGIN_TEMPORARY_SESSION_ID' | 'ORIGIN_GUEST_UPLOAD_ID' | 'PRODUCT_ID' | 'PRODUCT_NAME' | 'PRODUCT_VARIANT_ID' | 'PRODUCT_VARIANT_SKU';
5491
5491
  const FieldNameEnum: {
5492
5492
  StagedBy: FieldNameEnum;
5493
5493
  PendingApprovalBy: FieldNameEnum;
@@ -5515,6 +5515,10 @@ declare namespace AssetSearchFieldFixed {
5515
5515
  Height: FieldNameEnum;
5516
5516
  OriginTemporarySessionId: FieldNameEnum;
5517
5517
  OriginGuestUploadId: FieldNameEnum;
5518
+ ProductId: FieldNameEnum;
5519
+ ProductName: FieldNameEnum;
5520
+ ProductVariantId: FieldNameEnum;
5521
+ ProductVariantSku: FieldNameEnum;
5518
5522
  };
5519
5523
  }
5520
5524
 
@@ -12023,9 +12027,9 @@ interface Field {
12023
12027
  */
12024
12028
  entityType: Field.EntityTypeEnum;
12025
12029
  /**
12026
- * The entity type this [`Field`](/dash/openapi/Fields) associates with, or `null` if the field does not store association values.
12030
+ * The lookup type of this [`Field`](/dash/openapi/Fields) or null if this is not a lookup field
12027
12031
  */
12028
- associationEntityType: Field.AssociationEntityTypeEnum | null;
12032
+ lookupType: Field.LookupTypeEnum | null;
12029
12033
  }
12030
12034
  declare namespace Field {
12031
12035
  type EditControlEnum = 'SINGLE_LINE_TEXT' | 'TEXT_AREA' | 'TAGS' | 'CONTROLLED_TAGS' | 'DROPDOWN' | 'CHECKLIST' | 'FOLDER_PICKER' | 'PRODUCT_PICKER' | 'DATE_PICKER' | 'DATE_TIME_PICKER' | 'EXPIRY_DATE_PICKER' | 'RELEASE_DATE_PICKER' | 'RATING';
@@ -12050,10 +12054,9 @@ declare namespace Field {
12050
12054
  Product: EntityTypeEnum;
12051
12055
  ProductVariant: EntityTypeEnum;
12052
12056
  };
12053
- type AssociationEntityTypeEnum = 'PRODUCT' | 'PRODUCT_VARIANT';
12054
- const AssociationEntityTypeEnum: {
12055
- Product: AssociationEntityTypeEnum;
12056
- ProductVariant: AssociationEntityTypeEnum;
12057
+ type LookupTypeEnum = 'PRODUCT_VARIANT_CRITERION';
12058
+ const LookupTypeEnum: {
12059
+ ProductVariantCriterion: LookupTypeEnum;
12057
12060
  };
12058
12061
  }
12059
12062
 
@@ -14790,10 +14793,13 @@ declare namespace ProductSearchFieldFixed {
14790
14793
  const TypeEnum: {
14791
14794
  Fixed: TypeEnum;
14792
14795
  };
14793
- type FieldNameEnum = 'ID' | 'KEYWORDS';
14796
+ type FieldNameEnum = 'ID' | 'KEYWORDS' | 'NAME' | 'PRODUCT_VARIANT_ID' | 'PRODUCT_VARIANT_SKU';
14794
14797
  const FieldNameEnum: {
14795
14798
  Id: FieldNameEnum;
14796
14799
  Keywords: FieldNameEnum;
14800
+ Name: FieldNameEnum;
14801
+ ProductVariantId: FieldNameEnum;
14802
+ ProductVariantSku: FieldNameEnum;
14797
14803
  };
14798
14804
  }
14799
14805
 
@@ -15373,6 +15379,14 @@ interface Product {
15373
15379
  * The ID of the account the product belongs to
15374
15380
  */
15375
15381
  accountId: string;
15382
+ /**
15383
+ * The name of the product
15384
+ */
15385
+ name: string;
15386
+ /**
15387
+ * The number of variants for this product
15388
+ */
15389
+ variantCount: number;
15376
15390
  /**
15377
15391
  * The field IDs whose values define the product\'s variants
15378
15392
  */
@@ -15477,9 +15491,12 @@ declare namespace ProductVariantSearchFieldFixed {
15477
15491
  const TypeEnum: {
15478
15492
  Fixed: TypeEnum;
15479
15493
  };
15480
- type FieldNameEnum = 'ID' | 'KEYWORDS';
15494
+ type FieldNameEnum = 'ID' | 'PRODUCT_ID' | 'PRODUCT_NAME' | 'SKU' | 'KEYWORDS';
15481
15495
  const FieldNameEnum: {
15482
15496
  Id: FieldNameEnum;
15497
+ ProductId: FieldNameEnum;
15498
+ ProductName: FieldNameEnum;
15499
+ Sku: FieldNameEnum;
15483
15500
  Keywords: FieldNameEnum;
15484
15501
  };
15485
15502
  }
@@ -15950,6 +15967,14 @@ interface ProductVariant {
15950
15967
  * The unique ID for the product variant
15951
15968
  */
15952
15969
  id: string;
15970
+ /**
15971
+ * The SKU of the product variant
15972
+ */
15973
+ sku: string;
15974
+ /**
15975
+ * The ID of the product the product variant belongs to
15976
+ */
15977
+ productId: string;
15953
15978
  /**
15954
15979
  * The ID of the account the product variant belongs to
15955
15980
  */
@@ -18062,10 +18087,6 @@ interface ShopifyInstallPatchRequest {
18062
18087
  * The install link for the Shopify app
18063
18088
  */
18064
18089
  installLink?: string | null;
18065
- /**
18066
- * Whether Dash should sync product data from this Shopify install
18067
- */
18068
- syncProducts?: boolean | null;
18069
18090
  }
18070
18091
 
18071
18092
  /**
@@ -18100,12 +18121,11 @@ interface ShopifyInstallRequest {
18100
18121
  /**
18101
18122
  * The current status of the Shopify install
18102
18123
  */
18103
- type ShopifyInstallStatus = 'INSTALL_LINK_BEING_CREATED' | 'READY_TO_INSTALL' | 'INSTALLED' | 'SYNCING_PRODUCTS';
18124
+ type ShopifyInstallStatus = 'INSTALL_LINK_BEING_CREATED' | 'READY_TO_INSTALL' | 'INSTALLED';
18104
18125
  declare const ShopifyInstallStatus: {
18105
18126
  InstallLinkBeingCreated: ShopifyInstallStatus;
18106
18127
  ReadyToInstall: ShopifyInstallStatus;
18107
18128
  Installed: ShopifyInstallStatus;
18108
- SyncingProducts: ShopifyInstallStatus;
18109
18129
  };
18110
18130
 
18111
18131
  /**
@@ -18133,10 +18153,6 @@ interface ShopifyInstall {
18133
18153
  * The install link for the Shopify app
18134
18154
  */
18135
18155
  installLink?: string | null;
18136
- /**
18137
- * Whether Dash should sync product data from this Shopify install
18138
- */
18139
- syncProducts: boolean;
18140
18156
  }
18141
18157
  declare namespace ShopifyInstall {
18142
18158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightinteractive/platform-api",
3
- "version": "0.1.103",
3
+ "version": "0.1.104",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.5",
6
6
  "@angular/core": "^21.2.5"
@@ -10,13 +10,13 @@
10
10
  },
11
11
  "sideEffects": false,
12
12
  "module": "fesm2022/brightinteractive-platform-api.mjs",
13
- "typings": "types/brightinteractive-platform-api.d.ts",
13
+ "typings": "index.d.ts",
14
14
  "exports": {
15
15
  "./package.json": {
16
16
  "default": "./package.json"
17
17
  },
18
18
  ".": {
19
- "types": "./types/brightinteractive-platform-api.d.ts",
19
+ "types": "./index.d.ts",
20
20
  "default": "./fesm2022/brightinteractive-platform-api.mjs"
21
21
  }
22
22
  }