@powerportalspro/core 5.0.0 → 5.1.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
@@ -3337,12 +3337,34 @@ interface components {
3337
3337
  /** @description Indicates whether this column can be modified when updating an existing record. */
3338
3338
  isValidForUpdate: boolean;
3339
3339
  };
3340
- /** @description Metadata for a Dataverse boolean (yes/no) column. */
3340
+ /**
3341
+ * @description Metadata for a Dataverse boolean (yes/no) column. A boolean is an option set under the hood —
3342
+ * Dataverse exposes a customizable true/false label pair — so it carries the same option-set
3343
+ * identity (string BoolMetadata.ChoiceLogicalName, bool BoolMetadata.IsGlobal) and a two-entry
3344
+ * List<ChoiceValueMetadata> BoolMetadata.Choices list (value 0 = false, value 1 = true) used as the default display
3345
+ * labels when no localization override is present.
3346
+ */
3341
3347
  ColumnMetadataBaseBoolMetadata: {
3342
3348
  /** @enum {integer} */
3343
3349
  $type?: 0;
3344
3350
  /** @description Returns Boolean. */
3345
3351
  columnType?: components["schemas"]["ColumnType"];
3352
+ /**
3353
+ * @description The logical name of the boolean's option set (Dataverse `OptionSet.Name`), used to
3354
+ * build the `choices.{name}.values.{0|1}.label` localization keys.
3355
+ */
3356
+ choiceLogicalName?: string;
3357
+ /**
3358
+ * @description Whether the boolean's option set is a global option set (rare for booleans). Determines
3359
+ * whether the localization keys live under the global `choices.*` subtree or the
3360
+ * table-scoped `tables.{table}.choices.*` subtree.
3361
+ */
3362
+ isGlobal?: boolean;
3363
+ /**
3364
+ * @description The default false/true display labels (value 0 and value 1) as configured in Dataverse,
3365
+ * used as a fallback when a localization override isn't available.
3366
+ */
3367
+ choices?: components["schemas"]["ChoiceValueMetadata"][];
3346
3368
  /** @description The logical name of the column in Dataverse (e.g. "firstname", "emailaddress1"). */
3347
3369
  columnName: string;
3348
3370
  /** @description The localized display name of the column as configured in Dataverse. */
@@ -5019,6 +5041,16 @@ interface components {
5019
5041
  * compare file byte length directly against this for a pre-upload check.
5020
5042
  */
5021
5043
  maxUploadFileSizeInBytes: number | string;
5044
+ /**
5045
+ * @description The organization's default time-zone id (a Windows time-zone id such as
5046
+ * `Pacific Standard Time`, suitable for TimeZoneInfo TimeZoneInfo.FindSystemTimeZoneById(string id)),
5047
+ * resolved from the connecting app user's `usersettings.timezonecode`. The
5048
+ * `organization` entity has no time-zone column of its own, so this is the closest
5049
+ * org-wide default. Used server-side to format `UserLocal` dates for contacts (portal
5050
+ * users, which have no `usersettings` row); empty when it can't be resolved. Defaults to
5051
+ * empty for backward compatibility with older cached payloads.
5052
+ */
5053
+ defaultTimeZoneId?: string;
5022
5054
  };
5023
5055
  /** @description Paging metadata for a Dataverse query response. */
5024
5056
  PagingInfo: {
package/dist/index.d.ts CHANGED
@@ -3337,12 +3337,34 @@ interface components {
3337
3337
  /** @description Indicates whether this column can be modified when updating an existing record. */
3338
3338
  isValidForUpdate: boolean;
3339
3339
  };
3340
- /** @description Metadata for a Dataverse boolean (yes/no) column. */
3340
+ /**
3341
+ * @description Metadata for a Dataverse boolean (yes/no) column. A boolean is an option set under the hood —
3342
+ * Dataverse exposes a customizable true/false label pair — so it carries the same option-set
3343
+ * identity (string BoolMetadata.ChoiceLogicalName, bool BoolMetadata.IsGlobal) and a two-entry
3344
+ * List<ChoiceValueMetadata> BoolMetadata.Choices list (value 0 = false, value 1 = true) used as the default display
3345
+ * labels when no localization override is present.
3346
+ */
3341
3347
  ColumnMetadataBaseBoolMetadata: {
3342
3348
  /** @enum {integer} */
3343
3349
  $type?: 0;
3344
3350
  /** @description Returns Boolean. */
3345
3351
  columnType?: components["schemas"]["ColumnType"];
3352
+ /**
3353
+ * @description The logical name of the boolean's option set (Dataverse `OptionSet.Name`), used to
3354
+ * build the `choices.{name}.values.{0|1}.label` localization keys.
3355
+ */
3356
+ choiceLogicalName?: string;
3357
+ /**
3358
+ * @description Whether the boolean's option set is a global option set (rare for booleans). Determines
3359
+ * whether the localization keys live under the global `choices.*` subtree or the
3360
+ * table-scoped `tables.{table}.choices.*` subtree.
3361
+ */
3362
+ isGlobal?: boolean;
3363
+ /**
3364
+ * @description The default false/true display labels (value 0 and value 1) as configured in Dataverse,
3365
+ * used as a fallback when a localization override isn't available.
3366
+ */
3367
+ choices?: components["schemas"]["ChoiceValueMetadata"][];
3346
3368
  /** @description The logical name of the column in Dataverse (e.g. "firstname", "emailaddress1"). */
3347
3369
  columnName: string;
3348
3370
  /** @description The localized display name of the column as configured in Dataverse. */
@@ -5019,6 +5041,16 @@ interface components {
5019
5041
  * compare file byte length directly against this for a pre-upload check.
5020
5042
  */
5021
5043
  maxUploadFileSizeInBytes: number | string;
5044
+ /**
5045
+ * @description The organization's default time-zone id (a Windows time-zone id such as
5046
+ * `Pacific Standard Time`, suitable for TimeZoneInfo TimeZoneInfo.FindSystemTimeZoneById(string id)),
5047
+ * resolved from the connecting app user's `usersettings.timezonecode`. The
5048
+ * `organization` entity has no time-zone column of its own, so this is the closest
5049
+ * org-wide default. Used server-side to format `UserLocal` dates for contacts (portal
5050
+ * users, which have no `usersettings` row); empty when it can't be resolved. Defaults to
5051
+ * empty for backward compatibility with older cached payloads.
5052
+ */
5053
+ defaultTimeZoneId?: string;
5022
5054
  };
5023
5055
  /** @description Paging metadata for a Dataverse query response. */
5024
5056
  PagingInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerportalspro/core",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Framework-agnostic typed client for the PowerPortalsPro /api/* surface and IAuthService.",
5
5
  "license": "SEE LICENSE IN ../../../../EULA.txt",
6
6
  "type": "module",