@brightinteractive/platform-api 0.1.92 → 0.1.94

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.
@@ -11747,9 +11747,9 @@ interface Field {
11747
11747
  */
11748
11748
  editControl: Field.EditControlEnum;
11749
11749
  /**
11750
- * If `true` contributors with edit permissions can edit the value of this [`Field`](/dash/openapi/Fields) on an asset. If `false` only admins can edit the value of this [`Field`](/dash/openapi/Fields).
11750
+ * If `true`, admins and contributors can create [`FieldOption`](/dash/openapi/Field-Options) resources for this [`Field`](/dash/openapi/Fields). If `false`, [`FieldOption`](/dash/openapi/Field-Options) creation uses the existing folder-specific permission logic.
11751
11751
  */
11752
- canNonAdminsEdit: boolean;
11752
+ contributorsCanCreateFieldOptions: boolean;
11753
11753
  /**
11754
11754
  * If `true` the [`Field`](/dash/openapi/Fields) cannot be deleted. Primarily used to prevent removal of an [`Field`](/dash/openapi/Fields) which is required by Dash.
11755
11755
  */
@@ -11765,7 +11765,7 @@ interface Field {
11765
11765
  browsable: boolean;
11766
11766
  }
11767
11767
  declare namespace Field {
11768
- type EditControlEnum = 'SINGLE_LINE_TEXT' | 'TEXT_AREA' | 'TAGS' | 'CONTROLLED_TAGS' | 'DROPDOWN' | 'CHECKLIST' | 'FOLDER_PICKER' | 'DATE_PICKER' | 'DATE_TIME_PICKER' | 'EXPIRY_DATE_PICKER' | 'RATING';
11768
+ type EditControlEnum = 'SINGLE_LINE_TEXT' | 'TEXT_AREA' | 'TAGS' | 'CONTROLLED_TAGS' | 'DROPDOWN' | 'CHECKLIST' | 'FOLDER_PICKER' | 'DATE_PICKER' | 'DATE_TIME_PICKER' | 'EXPIRY_DATE_PICKER' | 'RELEASE_DATE_PICKER' | 'RATING';
11769
11769
  const EditControlEnum: {
11770
11770
  SingleLineText: EditControlEnum;
11771
11771
  TextArea: EditControlEnum;
@@ -11777,6 +11777,7 @@ declare namespace Field {
11777
11777
  DatePicker: EditControlEnum;
11778
11778
  DateTimePicker: EditControlEnum;
11779
11779
  ExpiryDatePicker: EditControlEnum;
11780
+ ReleaseDatePicker: EditControlEnum;
11780
11781
  Rating: EditControlEnum;
11781
11782
  };
11782
11783
  }
@@ -11905,9 +11906,9 @@ interface FieldPatchRequest {
11905
11906
  */
11906
11907
  name?: string | null;
11907
11908
  /**
11908
- * If `true` contributors with edit permissions can edit the value of this [`Field`](/dash/openapi/Fields) on an asset. If `false` only admins can edit the value of this [`Field`](/dash/openapi/Fields).
11909
+ * If `true`, admins and contributors can create [`FieldOption`](/dash/openapi/Field-Options) resources for this [`Field`](/dash/openapi/Fields). If `false`, [`FieldOption`](/dash/openapi/Field-Options) creation uses the existing folder-specific permission logic.
11909
11910
  */
11910
- canNonAdminsEdit?: boolean | null;
11911
+ contributorsCanCreateFieldOptions?: boolean | null;
11911
11912
  /**
11912
11913
  * If `true` it is recommended for assets to have a value for this [`Field`](/dash/openapi/Fields). Clients should highlight missing recommended values during creation and editing of assets. Clients can also use the `FIELD_IS_EMPTY` criterion in an [`AssetSearch`](/dash/openapi/assets/postassetsearch) to find assets with missing recommended values.
11913
11914
  */
@@ -11954,9 +11955,9 @@ interface FieldRequest {
11954
11955
  */
11955
11956
  editControl: FieldRequest.EditControlEnum;
11956
11957
  /**
11957
- * If `true` contributors with edit permissions can edit the value of this [`Field`](/dash/openapi/Fields) on an asset. If `false` only admins can edit the value of this [`Field`](/dash/openapi/Fields).
11958
+ * If `true`, admins and contributors can create [`FieldOption`](/dash/openapi/Field-Options) resources for this [`Field`](/dash/openapi/Fields). If `false`, [`FieldOption`](/dash/openapi/Field-Options) creation uses the existing folder-specific permission logic.
11958
11959
  */
11959
- canNonAdminsEdit?: boolean;
11960
+ contributorsCanCreateFieldOptions?: boolean;
11960
11961
  /**
11961
11962
  * If `true` it is recommended for assets to have a value for this [`Field`](/dash/openapi/Fields). Clients should highlight missing recommended values during creation and editing of assets. Clients can also use the `FIELD_IS_EMPTY` criterion in an [`AssetSearch`](/dash/openapi/assets/postassetsearch) to find assets with missing recommended values.
11962
11963
  */
@@ -11968,7 +11969,7 @@ interface FieldRequest {
11968
11969
  browsable: boolean;
11969
11970
  }
11970
11971
  declare namespace FieldRequest {
11971
- type EditControlEnum = 'SINGLE_LINE_TEXT' | 'TEXT_AREA' | 'TAGS' | 'CONTROLLED_TAGS' | 'DROPDOWN' | 'CHECKLIST' | 'FOLDER_PICKER' | 'DATE_PICKER' | 'DATE_TIME_PICKER' | 'EXPIRY_DATE_PICKER' | 'RATING';
11972
+ type EditControlEnum = 'SINGLE_LINE_TEXT' | 'TEXT_AREA' | 'TAGS' | 'CONTROLLED_TAGS' | 'DROPDOWN' | 'CHECKLIST' | 'FOLDER_PICKER' | 'DATE_PICKER' | 'DATE_TIME_PICKER' | 'EXPIRY_DATE_PICKER' | 'RELEASE_DATE_PICKER' | 'RATING';
11972
11973
  const EditControlEnum: {
11973
11974
  SingleLineText: EditControlEnum;
11974
11975
  TextArea: EditControlEnum;
@@ -11980,6 +11981,7 @@ declare namespace FieldRequest {
11980
11981
  DatePicker: EditControlEnum;
11981
11982
  DateTimePicker: EditControlEnum;
11982
11983
  ExpiryDatePicker: EditControlEnum;
11984
+ ReleaseDatePicker: EditControlEnum;
11983
11985
  Rating: EditControlEnum;
11984
11986
  };
11985
11987
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightinteractive/platform-api",
3
- "version": "0.1.92",
3
+ "version": "0.1.94",
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
  }