@osdk/api 2.6.0-beta.1 → 2.6.0-beta.11

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.
Files changed (82) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/build/browser/OsdkObjectFrom.js.map +1 -1
  3. package/build/browser/aggregate/BaseFilter.js +1 -0
  4. package/build/browser/aggregate/BaseFilter.js.map +1 -1
  5. package/build/browser/aggregate/WhereClause.js.map +1 -1
  6. package/build/browser/index.js.map +1 -1
  7. package/build/browser/mapping/PropertyValueMapping.js.map +1 -1
  8. package/build/browser/object/Media.js.map +1 -1
  9. package/build/browser/objectSet/ObjectSet.js.map +1 -1
  10. package/build/browser/objectSet/ObjectSet.test.js +9 -0
  11. package/build/browser/objectSet/ObjectSet.test.js.map +1 -1
  12. package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -1
  13. package/build/browser/ontology/QueryDefinition.js.map +1 -1
  14. package/build/browser/ontology/valueFormatting/PropertyBooleanFormattingRule.js +2 -0
  15. package/build/browser/ontology/valueFormatting/PropertyBooleanFormattingRule.js.map +1 -0
  16. package/build/browser/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js +2 -0
  17. package/build/browser/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js.map +1 -0
  18. package/build/browser/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js +2 -0
  19. package/build/browser/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js.map +1 -0
  20. package/build/browser/ontology/valueFormatting/PropertyNumberFormattingRule.js +2 -0
  21. package/build/browser/ontology/valueFormatting/PropertyNumberFormattingRule.js.map +1 -0
  22. package/build/browser/ontology/valueFormatting/PropertyValueFormattingRule.js +2 -0
  23. package/build/browser/ontology/valueFormatting/PropertyValueFormattingRule.js.map +1 -0
  24. package/build/browser/ontology/valueFormatting/PropertyValueFormattingUtils.js +2 -0
  25. package/build/browser/ontology/valueFormatting/PropertyValueFormattingUtils.js.map +1 -0
  26. package/build/cjs/{ObjectSet-COyrRxYW.d.cts → ObjectSet-D7jdSkmi.d.cts} +221 -19
  27. package/build/cjs/index.d.cts +7 -3
  28. package/build/cjs/public/unstable.d.cts +2 -2
  29. package/build/esm/OsdkObjectFrom.js.map +1 -1
  30. package/build/esm/aggregate/BaseFilter.js +1 -0
  31. package/build/esm/aggregate/BaseFilter.js.map +1 -1
  32. package/build/esm/aggregate/WhereClause.js.map +1 -1
  33. package/build/esm/index.js.map +1 -1
  34. package/build/esm/mapping/PropertyValueMapping.js.map +1 -1
  35. package/build/esm/object/Media.js.map +1 -1
  36. package/build/esm/objectSet/ObjectSet.js.map +1 -1
  37. package/build/esm/objectSet/ObjectSet.test.js +9 -0
  38. package/build/esm/objectSet/ObjectSet.test.js.map +1 -1
  39. package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -1
  40. package/build/esm/ontology/QueryDefinition.js.map +1 -1
  41. package/build/esm/ontology/valueFormatting/PropertyBooleanFormattingRule.js +2 -0
  42. package/build/esm/ontology/valueFormatting/PropertyBooleanFormattingRule.js.map +1 -0
  43. package/build/esm/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js +2 -0
  44. package/build/esm/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js.map +1 -0
  45. package/build/esm/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js +2 -0
  46. package/build/esm/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js.map +1 -0
  47. package/build/esm/ontology/valueFormatting/PropertyNumberFormattingRule.js +2 -0
  48. package/build/esm/ontology/valueFormatting/PropertyNumberFormattingRule.js.map +1 -0
  49. package/build/esm/ontology/valueFormatting/PropertyValueFormattingRule.js +2 -0
  50. package/build/esm/ontology/valueFormatting/PropertyValueFormattingRule.js.map +1 -0
  51. package/build/esm/ontology/valueFormatting/PropertyValueFormattingUtils.js +2 -0
  52. package/build/esm/ontology/valueFormatting/PropertyValueFormattingUtils.js.map +1 -0
  53. package/build/types/OsdkObjectFrom.d.ts +4 -0
  54. package/build/types/OsdkObjectFrom.d.ts.map +1 -1
  55. package/build/types/aggregate/BaseFilter.d.ts +10 -4
  56. package/build/types/aggregate/BaseFilter.d.ts.map +1 -1
  57. package/build/types/aggregate/WhereClause.d.ts +34 -12
  58. package/build/types/aggregate/WhereClause.d.ts.map +1 -1
  59. package/build/types/index.d.ts +9 -2
  60. package/build/types/index.d.ts.map +1 -1
  61. package/build/types/mapping/PropertyValueMapping.d.ts +2 -2
  62. package/build/types/mapping/PropertyValueMapping.d.ts.map +1 -1
  63. package/build/types/object/Media.d.ts +1 -1
  64. package/build/types/objectSet/ObjectSet.d.ts +3 -3
  65. package/build/types/objectSet/ObjectSet.d.ts.map +1 -1
  66. package/build/types/ontology/ObjectTypeDefinition.d.ts +2 -0
  67. package/build/types/ontology/ObjectTypeDefinition.d.ts.map +1 -1
  68. package/build/types/ontology/QueryDefinition.d.ts +5 -1
  69. package/build/types/ontology/QueryDefinition.d.ts.map +1 -1
  70. package/build/types/ontology/valueFormatting/PropertyBooleanFormattingRule.d.ts +5 -0
  71. package/build/types/ontology/valueFormatting/PropertyBooleanFormattingRule.d.ts.map +1 -0
  72. package/build/types/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.d.ts +37 -0
  73. package/build/types/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.d.ts.map +1 -0
  74. package/build/types/ontology/valueFormatting/PropertyKnownTypeFormattingRule.d.ts +8 -0
  75. package/build/types/ontology/valueFormatting/PropertyKnownTypeFormattingRule.d.ts.map +1 -0
  76. package/build/types/ontology/valueFormatting/PropertyNumberFormattingRule.d.ts +117 -0
  77. package/build/types/ontology/valueFormatting/PropertyNumberFormattingRule.d.ts.map +1 -0
  78. package/build/types/ontology/valueFormatting/PropertyValueFormattingRule.d.ts +8 -0
  79. package/build/types/ontology/valueFormatting/PropertyValueFormattingRule.d.ts.map +1 -0
  80. package/build/types/ontology/valueFormatting/PropertyValueFormattingUtils.d.ts +12 -0
  81. package/build/types/ontology/valueFormatting/PropertyValueFormattingUtils.d.ts.map +1 -0
  82. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyBooleanFormattingRule.js","names":[],"sources":["PropertyBooleanFormattingRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface PropertyBooleanFormattingRule {\n type: \"boolean\";\n valueIfTrue: string;\n valueIfFalse: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PropertyDateAndTimestampFormattingRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyDateAndTimestampFormattingRule.js","names":[],"sources":["PropertyDateAndTimestampFormattingRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { PropertyTypeReferenceOrStringConstant } from \"./PropertyValueFormattingUtils.js\";\n\nexport interface PropertyDateFormattingRule {\n type: \"date\";\n format: DatetimeFormat;\n}\n\nexport interface PropertyTimestampFormattingRule {\n type: \"timestamp\";\n format: DatetimeFormat;\n displayTimezone: DatetimeTimezone;\n}\n\nexport type DatetimeFormat = DatetimeStringFormat | DatetimeLocalizedFormat;\n\n/**\n * A custom date format pattern.\n */\nexport interface DatetimeStringFormat {\n type: \"stringFormat\";\n pattern: string;\n}\n\n/**\n * Predefined localized date/time formats.\n */\nexport interface DatetimeLocalizedFormat {\n type: \"localizedFormat\";\n format: DatetimeLocalizedFormatType;\n}\n\nexport type DatetimeLocalizedFormatType =\n | \"DATE_FORMAT_RELATIVE_TO_NOW\"\n | \"DATE_FORMAT_DATE\"\n | \"DATE_FORMAT_YEAR_AND_MONTH\"\n | \"DATE_FORMAT_DATE_TIME\"\n | \"DATE_FORMAT_DATE_TIME_SHORT\"\n | \"DATE_FORMAT_TIME\"\n | \"DATE_FORMAT_ISO_INSTANT\";\n\nexport type DatetimeTimezone = DatetimeTimezoneStatic | DatetimeTimezoneUser;\n\nexport interface DatetimeTimezoneStatic {\n type: \"static\";\n zoneId: PropertyTypeReferenceOrStringConstant;\n}\n\n/**\n * Use the user's local timezone.\n */\nexport interface DatetimeTimezoneUser {\n type: \"user\";\n}\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PropertyKnownTypeFormattingRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyKnownTypeFormattingRule.js","names":[],"sources":["PropertyKnownTypeFormattingRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface PropertyKnownTypeFormattingRule {\n type: \"knownType\";\n knownType: KnownType;\n}\n\n/**\n * Known Foundry types with specialized formatting.\n */\nexport type KnownType = \"USER_OR_GROUP_ID\" | \"RESOURCE_RID\" | \"ARTIFACT_GID\";\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PropertyNumberFormattingRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyNumberFormattingRule.js","names":[],"sources":["PropertyNumberFormattingRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { PropertyTypeReferenceOrStringConstant } from \"./PropertyValueFormattingUtils.js\";\n\nexport interface PropertyNumberFormattingRule {\n type: \"number\";\n numberType: PropertyNumberFormattingRuleType;\n}\n\nexport type PropertyNumberFormattingRuleType =\n | NumberFormatStandard\n | NumberFormatFixedValues\n | NumberFormatCurrency\n | NumberFormatStandardUnit\n | NumberFormatCustomUnit\n | NumberFormatAffix\n | NumberFormatDuration\n | NumberFormatScale\n | NumberFormatRatio;\n\n/**\n * Base number formatting options.\n */\nexport interface NumberFormatOptions {\n useGrouping?: boolean;\n convertNegativeToParenthesis?: boolean;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n notation?: NumberFormatNotation;\n roundingMode?: NumberRoundingMode;\n}\n\n/**\n * Number notation style.\n */\nexport type NumberFormatNotation =\n | \"STANDARD\"\n | \"SCIENTIFIC\"\n | \"ENGINEERING\"\n | \"COMPACT\";\n\n/**\n * Number rounding behavior.\n */\nexport type NumberRoundingMode = \"CEIL\" | \"FLOOR\" | \"ROUND_CLOSEST\";\n\n/**\n * Standard number formatting with configurable options.\n */\nexport interface NumberFormatStandard {\n type: \"standard\";\n baseFormatOptions: NumberFormatOptions;\n}\n\n/**\n * Map integer values to custom strings.\n */\nexport interface NumberFormatFixedValues {\n type: \"fixedValues\";\n values: Record<number, string>;\n}\n\n/**\n * Format numbers as currency values.\n */\nexport interface NumberFormatCurrency {\n type: \"currency\";\n baseFormatOptions: NumberFormatOptions;\n style: NumberFormatCurrencyStyle;\n currencyCode: PropertyTypeReferenceOrStringConstant;\n}\n\nexport type NumberFormatCurrencyStyle = \"STANDARD\" | \"COMPACT\";\n\n/**\n * Format numbers with standard units supported by Intl.NumberFormat.\n */\nexport interface NumberFormatStandardUnit {\n type: \"standardUnit\";\n baseFormatOptions: NumberFormatOptions;\n unit: PropertyTypeReferenceOrStringConstant;\n}\n\n/**\n * Format numbers with custom units.\n */\nexport interface NumberFormatCustomUnit {\n type: \"customUnit\";\n baseFormatOptions: NumberFormatOptions;\n unit: PropertyTypeReferenceOrStringConstant;\n}\n\n/**\n * Attach text before and/or after the formatted number.\n */\nexport interface NumberFormatAffix {\n type: \"affix\";\n baseFormatOptions: NumberFormatOptions;\n affix: Affix;\n}\n\nexport interface Affix {\n prefix?: PropertyTypeReferenceOrStringConstant;\n postfix?: PropertyTypeReferenceOrStringConstant;\n}\n\n/**\n * Format numeric values representing time durations.\n */\nexport interface NumberFormatDuration {\n type: \"duration\";\n formatStyle: DurationFormatStyle;\n precision?: DurationPrecision;\n baseValue: DurationBaseValue;\n}\n\nexport type DurationFormatStyle = HumanReadableFormat | TimeCodeFormat;\n\nexport interface HumanReadableFormat {\n type: \"humanReadable\";\n showFullUnits?: boolean;\n}\n\nexport interface TimeCodeFormat {\n type: \"timecode\";\n}\n\nexport type DurationPrecision =\n | \"DAYS\"\n | \"HOURS\"\n | \"MINUTES\"\n | \"SECONDS\"\n | \"AUTO\";\nexport type DurationBaseValue = \"SECONDS\" | \"MILLISECONDS\";\n\n/**\n * Scale numeric values by the specified factor.\n */\nexport interface NumberFormatScale {\n type: \"scale\";\n scaleType: NumberScaleType;\n baseFormatOptions: NumberFormatOptions;\n}\n\nexport type NumberScaleType = \"THOUSANDS\" | \"MILLIONS\" | \"BILLIONS\";\n\n/**\n * Display values as ratios with different scaling factors.\n */\nexport interface NumberFormatRatio {\n type: \"ratio\";\n ratioType: NumberRatioType;\n baseFormatOptions: NumberFormatOptions;\n}\n\nexport type NumberRatioType = \"PERCENTAGE\" | \"PER_MILLE\" | \"BASIS_POINTS\";\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PropertyValueFormattingRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyValueFormattingRule.js","names":[],"sources":["PropertyValueFormattingRule.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { PropertyBooleanFormattingRule } from \"./PropertyBooleanFormattingRule.js\";\nimport type {\n PropertyDateFormattingRule,\n PropertyTimestampFormattingRule,\n} from \"./PropertyDateAndTimestampFormattingRule.js\";\nimport type { PropertyKnownTypeFormattingRule } from \"./PropertyKnownTypeFormattingRule.js\";\nimport type { PropertyNumberFormattingRule } from \"./PropertyNumberFormattingRule.js\";\n\n/**\n * Formatting configuration for property values.\n */\nexport type PropertyValueFormattingRule =\n | PropertyNumberFormattingRule\n | PropertyTimestampFormattingRule\n | PropertyDateFormattingRule\n | PropertyBooleanFormattingRule\n | PropertyKnownTypeFormattingRule;\n"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PropertyValueFormattingUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyValueFormattingUtils.js","names":[],"sources":["PropertyValueFormattingUtils.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Reference to another property value or a string constant.\n */\nexport type PropertyTypeReferenceOrStringConstant =\n | StringConstant\n | PropertyTypeReference;\n\nexport interface StringConstant {\n type: \"constant\";\n value: string;\n}\n\nexport interface PropertyTypeReference {\n type: \"propertyType\";\n propertyApiName: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -95,6 +95,10 @@ export declare namespace Osdk {
95
95
  ObjectMetadata: ObjectMetadata
96
96
  InterfaceMetadata: InterfaceMetadata
97
97
  }
98
+ readonly $__EXPERIMENTAL__NOT_SUPPORTED_YET__getFormattedValue: <PropertyApiName extends PropertyKeys<Q>>(propertyApiName: PropertyApiName, options?: {
99
+ locale?: string
100
+ timezoneId?: string
101
+ }) => string | undefined
98
102
  } & (IsNever<OPTIONS> extends true ? {} : IsAny<OPTIONS> extends true ? {} : "$rid" extends OPTIONS ? {
99
103
  readonly $rid: string
100
104
  } : {});
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cACE,gBACA,6BACK,kCAAmC;AAC1C,cACE,sBACA,qBACK,2BAA4B;AACnC,cAAc,mBAAmB,6BAA8B;AAC/D,cACE,qBACA,yBACK,mCAAoC;AAC3C,cACE,6BACA,oBACK,iCAAkC;AACzC,cACE,q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CC,gBACI,KAAK,SAAS,QAAQ,gBAErB,KAAK,cAAa,oBACjB,GACA,SAAS,SAEZ,KAAK,SAAS,GAAG,SAAS,IAAI;WAE1B,8CAA8C,UACrD,uBAAuB;GACrB,gBAAgB;EACjB,IACC;GACA,gBAAgB;GAChB,mBAAmB;EACpB;CACJ,KAEE,QAAQ,iBAAiB,OAAO,CAAE,IACjC,MAAM,iBAAiB,OAAO,CAAE,IAChC,eAAe,UAAU;WAAW;CAAc,IAClD,CAAE;;;;;;;;;AAUV,YAAY,oBAAoB,UAAU,wBACxC,QAAQ,WAAW,eACf,gBAAgB,YAChB,eAAe,YACf;;;;;;AAON,YAAY,iBAAiB,qBAC3B,QAAQ,WAAW,eACf,eAAe,WAAW,gBAC1B;AAEN,YAAY,2BAA2B,qBACrC,QAAQ,WAAW,eACf,eAAe,WAAW,gBAC1B;AAGN,YAAY;CACV;CACA,UAAU,uBAAuB,qBAAqB;CACtD,oBAAoB;IAClB,iBAAiB,KAAK,2BAA2B","names":["type: NEW_Q | string","updatedObject?:\n | Osdk.Instance<Q, any, NEW_PROPS>\n | {\n [K in NEW_PROPS]?: CompileTimeMetadata<\n Q\n >[\"props\"][K];\n }"],"sources":["../../src/OsdkObjectFrom.ts"],"version":3,"file":"OsdkObjectFrom.d.ts"}
1
+ {"mappings":"AAgBA,cACE,gBACA,6BACK,kCAAmC;AAC1C,cACE,sBACA,qBACK,2BAA4B;AACnC,cAAc,mBAAmB,6BAA8B;AAC/D,cACE,qBACA,yBACK,mCAAoC;AAC3C,cACE,6BACA,oBACK,iCAAkC;AACzC,cACE,qBACA,gBACA,4BACK,oCAAqC;AAC5C,cAAc,yBAAyB,iCAAkC;AACzE,cAAc,gBAAgB,eAAgB;KAYzC,wBACD,SACA,SACA,YACA;KAEC,oBAAoB,UAAU,+BAC/B,wBACA,aAAa;AAEjB,YAAY,gBACV,UAAU,+BACR,oBAAoB,GAAG;AAE3B,YAAY;CACV,UAAU;CACV,UAAU,oBAAoB;IAC5B,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;GAAE;GAAiB;EAAqB;CAErD,KAEE,QAAQ,iBAAiB,OAAO,CAAE,IACjC,MAAM,iBAAiB,OAAO,CAAE,IAChC,eAAe,UAAU;WAAW;CAAc,IAClD,CAAE;;;;;;;;;AAUV,YAAY,oBAAoB,UAAU,wBACxC,QAAQ,WAAW,eACf,gBAAgB,YAChB,eAAe,YACf;;;;;;AAON,YAAY,iBAAiB,qBAC3B,QAAQ,WAAW,eACf,eAAe,WAAW,gBAC1B;AAEN,YAAY,2BAA2B,qBACrC,QAAQ,WAAW,eACf,eAAe,WAAW,gBAC1B;AAGN,YAAY;CACV;CACA,UAAU,uBAAuB,qBAAqB;CACtD,oBAAoB;IAClB,iBAAiB,KAAK,2BAA2B","names":["type: NEW_Q | string","updatedObject?:\n | Osdk.Instance<Q, any, NEW_PROPS>\n | {\n [K in NEW_PROPS]?: CompileTimeMetadata<\n Q\n >[\"props\"][K];\n }","propertyApiName: PropertyApiName","options?: { locale?: string; timezoneId?: string }"],"sources":["../../src/OsdkObjectFrom.ts"],"version":3,"file":"OsdkObjectFrom.d.ts"}
@@ -1,10 +1,15 @@
1
1
  import type { Just } from "./Just.js";
2
- export type BaseFilterOptions<T> = {
2
+ type EqFilterOption<T> = {
3
3
  "$eq": T
4
- "$ne": T
5
- "$isNull": boolean
6
- "$in": ReadonlyArray<T>
7
4
  };
5
+ export declare namespace EqFilter {
6
+ interface $eq<T> extends Just<"$eq", EqFilterOption<T>> {}
7
+ }
8
+ export interface BaseFilterOptions<T> extends EqFilterOption<T> {
9
+ "$ne": T;
10
+ "$isNull": boolean;
11
+ "$in": ReadonlyArray<T>;
12
+ }
8
13
  export declare namespace BaseFilter {
9
14
  interface $eq<T> extends Just<"$eq", BaseFilterOptions<T>> {}
10
15
  interface $ne<T> extends Just<"$ne", BaseFilterOptions<T>> {}
@@ -12,3 +17,4 @@ export declare namespace BaseFilter {
12
17
  interface $isNull<T> extends Just<"$isNull", BaseFilterOptions<T>> {}
13
18
  }
14
19
  export type BaseFilter<T> = BaseFilter.$eq<T> | BaseFilter.$ne<T> | BaseFilter.$in<T> | BaseFilter.$isNull<T>;
20
+ export {};
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,YAAY,WAAY;AAEtC,YAAY,kBAAkB,KAAK;CACjC,OAAO;CACP,OAAO;CACP;CACA,OAAO,cAAc;AACtB;AAED,yBAAiB;WACE,IAAI,WAAW,KAAK,OAAO,kBAAkB,IAAI,CAAE;WACnD,IAAI,WAAW,KAAK,OAAO,kBAAkB,IAAI,CAAE;WACnD,IAAI,WAAW,KAAK,OAAO,kBAAkB,IAAI,CAAE;WACnD,QAAQ,WAAW,KAAK,WAAW,kBAAkB,IAAI,CAAE;;AAG9E,YAAY,WAAW,KACnB,WAAW,IAAI,KACf,WAAW,IAAI,KACf,WAAW,IAAI,KACf,WAAW,QAAQ","names":[],"sources":["../../../src/aggregate/BaseFilter.ts"],"version":3,"file":"BaseFilter.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,YAAY,WAAY;KAEjC,eAAe,KAAK;CACvB,OAAO;AACR;AAED,yBAAiB;WACE,IAAI,WAAW,KAAK,OAAO,eAAe,IAAI,CAAE;;AAGnE,iBAAiB,kBAAkB,WAAW,eAAe,GAAG;CAC9D,OAAO;CACP;CACA,OAAO,cAAc;AACtB;AAED,yBAAiB;WACE,IAAI,WAAW,KAAK,OAAO,kBAAkB,IAAI,CAAE;WACnD,IAAI,WAAW,KAAK,OAAO,kBAAkB,IAAI,CAAE;WACnD,IAAI,WAAW,KAAK,OAAO,kBAAkB,IAAI,CAAE;WACnD,QAAQ,WAAW,KAAK,WAAW,kBAAkB,IAAI,CAAE;;AAG9E,YAAY,WAAW,KACnB,WAAW,IAAI,KACf,WAAW,IAAI,KACf,WAAW,IAAI,KACf,WAAW,QAAQ","names":[],"sources":["../../../src/aggregate/BaseFilter.ts"],"version":3,"file":"BaseFilter.d.ts"}
@@ -1,6 +1,7 @@
1
1
  import type { BBox, Point, Polygon } from "geojson";
2
- import type { ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
2
+ import type { DerivedObjectOrInterfaceDefinition, ObjectOrInterfaceDefinition } from "../ontology/ObjectOrInterface.js";
3
3
  import type { CompileTimeMetadata, ObjectMetadata } from "../ontology/ObjectTypeDefinition.js";
4
+ import type { SimplePropertyDef } from "../ontology/SimplePropertyDef.js";
4
5
  import type { BaseWirePropertyTypes } from "../ontology/WirePropertyTypes.js";
5
6
  import type { IsNever } from "../OsdkObjectFrom.js";
6
7
  import type { ArrayFilter } from "./ArrayFilter.js";
@@ -61,20 +62,41 @@ export type GeoFilter_Intersects = {
61
62
  $bbox?: never
62
63
  } | Polygon
63
64
  };
64
- type FilterFor<PD extends ObjectMetadata.Property> = PD["multiplicity"] extends true ? (PD["type"] extends "string" | "geopoint" | "geoshape" | "datetime" | "timestamp" ? ArrayFilter<string> : (PD["type"] extends boolean ? ArrayFilter<boolean> : ArrayFilter<number>)) : PD["type"] extends Record<string, BaseWirePropertyTypes> ? StructFilter<PD["type"]> | BaseFilter.$isNull<string> : (PD["type"] extends "string" ? StringFilter : PD["type"] extends "geopoint" | "geoshape" ? GeoFilter : PD["type"] extends "datetime" | "timestamp" ? DatetimeFilter : PD["type"] extends "boolean" ? BooleanFilter : PD["type"] extends "double" | "integer" | "long" | "float" | "decimal" | "byte" ? NumberFilter : BaseFilter<string>);
65
+ type FilterFor<PD extends ObjectMetadata.Property> = PD["multiplicity"] extends true ? (PD["type"] extends Record<string, BaseWirePropertyTypes> ? ArrayFilter<StructArrayFilterOpts<PD["type"]>> : PD["type"] extends PropertyTypesRepresentedAsStringsForArrayWhereClause ? ArrayFilter<string> : (PD["type"] extends boolean ? ArrayFilter<boolean> : ArrayFilter<number>)) : PD["type"] extends Record<string, BaseWirePropertyTypes> ? StructFilter<PD["type"]> | BaseFilter.$isNull<string> : (PD["type"] extends "string" ? StringFilter : PD["type"] extends "geopoint" | "geoshape" ? GeoFilter : PD["type"] extends "datetime" | "timestamp" ? DatetimeFilter : PD["type"] extends "boolean" ? BooleanFilter : PD["type"] extends WhereClauseNumberPropertyTypes ? NumberFilter : BaseFilter<string>);
66
+ type StructArrayFilterOpts<ST extends Record<string, BaseWirePropertyTypes>> = { [K in keyof ST]? : FilterFor<{
67
+ "type": ST[K]
68
+ }> };
65
69
  type StructFilterOpts<ST extends Record<string, BaseWirePropertyTypes>> = { [K in keyof ST]? : FilterFor<{
66
70
  "type": ST[K]
67
71
  }> };
68
72
  type StructFilter<ST extends Record<string, BaseWirePropertyTypes>> = { [K in keyof ST] : Just<K, StructFilterOpts<ST>> }[keyof ST];
69
- export interface AndWhereClause<T extends ObjectOrInterfaceDefinition> {
70
- $and: WhereClause<T>[];
71
- }
72
- export interface OrWhereClause<T extends ObjectOrInterfaceDefinition> {
73
- $or: WhereClause<T>[];
74
- }
75
- export interface NotWhereClause<T extends ObjectOrInterfaceDefinition> {
76
- $not: WhereClause<T>;
77
- }
73
+ type PropertyTypesRepresentedAsStringsForArrayWhereClause = "string" | "geopoint" | "geoshape" | "datetime" | "timestamp";
74
+ type WhereClauseNumberPropertyTypes = "double" | "integer" | "long" | "float" | "decimal" | "byte";
75
+ export type AndWhereClause<
76
+ T extends ObjectOrInterfaceDefinition,
77
+ RDPs extends Record<string, SimplePropertyDef> = {}
78
+ > = {
79
+ $and: WhereClause<T, RDPs>[]
80
+ };
81
+ export type OrWhereClause<
82
+ T extends ObjectOrInterfaceDefinition,
83
+ RDPs extends Record<string, SimplePropertyDef> = {}
84
+ > = {
85
+ $or: WhereClause<T, RDPs>[]
86
+ };
87
+ export type NotWhereClause<
88
+ T extends ObjectOrInterfaceDefinition,
89
+ RDPs extends Record<string, SimplePropertyDef> = {}
90
+ > = {
91
+ $not: WhereClause<T, RDPs>
92
+ };
78
93
  export type PropertyWhereClause<T extends ObjectOrInterfaceDefinition> = { [P in keyof CompileTimeMetadata<T>["properties"]]? : FilterFor<CompileTimeMetadata<T>["properties"][P]> };
79
- export type WhereClause<T extends ObjectOrInterfaceDefinition> = OrWhereClause<T> | AndWhereClause<T> | NotWhereClause<T> | (IsNever<keyof CompileTimeMetadata<T>["properties"]> extends true ? Record<string, never> : PropertyWhereClause<T>);
94
+ type MergedPropertyWhereClause<
95
+ T extends ObjectOrInterfaceDefinition,
96
+ RDPs extends Record<string, SimplePropertyDef> = {}
97
+ > = PropertyWhereClause<DerivedObjectOrInterfaceDefinition.WithDerivedProperties<T, RDPs>>;
98
+ export type WhereClause<
99
+ T extends ObjectOrInterfaceDefinition,
100
+ RDPs extends Record<string, SimplePropertyDef> = {}
101
+ > = OrWhereClause<T, RDPs> | AndWhereClause<T, RDPs> | NotWhereClause<T, RDPs> | (IsNever<keyof CompileTimeMetadata<T>["properties"]> extends true ? Record<string, never> : MergedPropertyWhereClause<T, RDPs>);
80
102
  export {};
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,MAAM,OAAO,eAAe,SAAU;AACpD,cACE,mCACK,kCAAmC;AAC1C,cACE,qBACA,sBACK,qCAAsC;AAC7C,cAAc,6BAA6B,kCAAmC;AAC9E,cAAc,eAAe,sBAAuB;AACpD,cAAc,mBAAmB,kBAAmB;AACpD,cAAc,kBAAkB,iBAAkB;AAClD,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,sBAAsB,qBAAsB;AAC1D,cAAc,iBAAiB,gBAAiB;AAChD,cAAc,YAAY,WAAY;AACtC,cAAc,oBAAoB,mBAAoB;AACtD,cAAc,oBAAoB,mBAAoB;AAEtD,YAAY,6BACR,QACA,QACA,QACA,YACA,cACA,SACA,QACA,SACA,YACA,QACA,gBACA,gBACA,6BACA,qBACA;AAIJ,OAAO,cAAMA,qBAAqB;CAChC,YAAY;CACZ,aAAa;CACb,IAAI;CACJ,OAAO;CACP,QAAQ;CACR,GAAG;CACH,WAAW;CACX,YAAY;CACZ,IAAI;CACJ,MAAM;CACN,QAAQ;CACR,MAAM;CACN,MAAM;CACN,MAAM;CACN,OAAO;CACP,MAAM;CACN,OAAO;CACP,eAAe;CACf,cAAc;CACd,kBAAkB;AACnB;AAiCD,YAAY,mBAAmB;CAC7B,WACI;EACA,iCAAiC;EACjC,wBAAwB,SAAS;EACjC;EACA;CACD,IACC;EACA,OAAO;EACP;EACA;EACA;CACD,IACC,OACA;EACA,UAAU,QAAQ;EAClB;EACA;EACA;CACD,IACC;AACL;AAED,YAAY,uBAAuB;CACjC,eACI;EACA,OAAO;EACP;CACD,IACC,OACA;EACA,UAAU,QAAQ;EAClB;CACD,IACC;AACL;KAEI,UAAU,WAAW,eAAe,YAAY,GAAG,wBACtD,QACG,GAAG,gBACJ,WAAW,aAAa,aAAa,aAAa,cAChD,uBACC,GAAG,0BAA0B,uBAC5B,wBACJ,GAAG,gBAAgB,eAAe,yBAC9B,aAAa,GAAG,WAChB,WAAW,mBACd,GAAG,gBAAgB,WAAW,eAC7B,GAAG,gBAAgB,aAAa,aAAa,YAC7C,GAAG,gBAAgB,aAAa,cAAc,iBAC9C,GAAG,gBAAgB,YAAY,gBAC/B,GAAG,gBACH,WAAW,YAAY,SAAS,UAAU,YAAY,SACpD,eACF;KAED,iBAAiB,WAAW,eAAe,6BAC7C,WAAW,OAAM,UAAU;CAAE,QAAQ,GAAG;AAAI;KAE1C,aAAa,WAAW,eAAe,6BACzC,WAAW,MAAK,KAAK,GAAG,iBAAiB,aACpC;AAER,iBAAiB,eACf,UAAU,6BACV;CACA,MAAM,YAAY;AACnB;AAED,iBAAiB,cACf,UAAU,6BACV;CACA,KAAK,YAAY;AAClB;AAED,iBAAiB,eACf,UAAU,6BACV;CACA,MAAM,YAAY;AACnB;AAED,YAAY,oBAAoB,UAAU,kCACvC,WAAW,oBAAoB,GAAG,kBAAiB,UAClD,oBAAoB,GAAG,cAAc;AAIzC,YAAY,YACV,UAAU,+BAER,cAAc,KACd,eAAe,KACf,eAAe,MACd,cAAc,oBAAoB,GAAG,uBAAuB,OAC3D,wBACA,oBAAoB","names":["DistanceUnitMapping: {\n centimeter: \"CENTIMETERS\";\n centimeters: \"CENTIMETERS\";\n cm: \"CENTIMETERS\";\n meter: \"METERS\";\n meters: \"METERS\";\n m: \"METERS\";\n kilometer: \"KILOMETERS\";\n kilometers: \"KILOMETERS\";\n km: \"KILOMETERS\";\n inch: \"INCHES\";\n inches: \"INCHES\";\n foot: \"FEET\";\n feet: \"FEET\";\n yard: \"YARDS\";\n yards: \"YARDS\";\n mile: \"MILES\";\n miles: \"MILES\";\n nautical_mile: \"NAUTICAL_MILES\";\n nauticalMile: \"NAUTICAL_MILES\";\n \"nautical miles\": \"NAUTICAL_MILES\";\n}"],"sources":["../../../src/aggregate/WhereClause.ts"],"version":3,"file":"WhereClause.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,MAAM,OAAO,eAAe,SAAU;AACpD,cACE,oCACA,mCACK,kCAAmC;AAC1C,cACE,qBACA,sBACK,qCAAsC;AAC7C,cAAc,yBAAyB,kCAAmC;AAC1E,cAAc,6BAA6B,kCAAmC;AAC9E,cAAc,eAAe,sBAAuB;AACpD,cAAc,mBAAmB,kBAAmB;AACpD,cAAc,kBAAkB,iBAAkB;AAClD,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,sBAAsB,qBAAsB;AAC1D,cAAc,iBAAiB,gBAAiB;AAChD,cAAc,YAAY,WAAY;AACtC,cAAc,oBAAoB,mBAAoB;AACtD,cAAc,oBAAoB,mBAAoB;AAEtD,YAAY,6BACR,QACA,QACA,QACA,YACA,cACA,SACA,QACA,SACA,YACA,QACA,gBACA,gBACA,6BACA,qBACA;AAIJ,OAAO,cAAMA,qBAAqB;CAChC,YAAY;CACZ,aAAa;CACb,IAAI;CACJ,OAAO;CACP,QAAQ;CACR,GAAG;CACH,WAAW;CACX,YAAY;CACZ,IAAI;CACJ,MAAM;CACN,QAAQ;CACR,MAAM;CACN,MAAM;CACN,MAAM;CACN,OAAO;CACP,MAAM;CACN,OAAO;CACP,eAAe;CACf,cAAc;CACd,kBAAkB;AACnB;AAiCD,YAAY,mBAAmB;CAC7B,WACI;EACA,iCAAiC;EACj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AAG,cAAc;KAIpC;CACH,UAAU;CACV,aAAa,eAAe,qBAAqB,CAAE;IACjD,oBACF,mCAAmC,sBAAsB,GAAG;AAG9D,YAAY;CACV,UAAU;CACV,aAAa,eAAe,qBAAqB,CAAE;IAEjD,cAAc,GAAG,QACjB,eAAe,GAAG,QAClB,eAAe,GAAG,SACjB,cAAc,oBAAoB,GAAG,uBAAuB,OAC3D,wBACA,0BAA0B,GAAG","names":["DistanceUnitMapping: {\n centimeter: \"CENTIMETERS\";\n centimeters: \"CENTIMETERS\";\n cm: \"CENTIMETERS\";\n meter: \"METERS\";\n meters: \"METERS\";\n m: \"METERS\";\n kilometer: \"KILOMETERS\";\n kilometers: \"KILOMETERS\";\n km: \"KILOMETERS\";\n inch: \"INCHES\";\n inches: \"INCHES\";\n foot: \"FEET\";\n feet: \"FEET\";\n yard: \"YARDS\";\n yards: \"YARDS\";\n mile: \"MILES\";\n miles: \"MILES\";\n nautical_mile: \"NAUTICAL_MILES\";\n nauticalMile: \"NAUTICAL_MILES\";\n \"nautical miles\": \"NAUTICAL_MILES\";\n}"],"sources":["../../../src/aggregate/WhereClause.ts"],"version":3,"file":"WhereClause.d.ts"}
@@ -10,10 +10,10 @@ export type { AggregationClause } from "./aggregate/AggregationsClause.js";
10
10
  export type { AggregationsResults } from "./aggregate/AggregationsResults.js";
11
11
  export type { GeoFilterOptions } from "./aggregate/GeoFilter.js";
12
12
  export { DistanceUnitMapping } from "./aggregate/WhereClause.js";
13
- export type { GeoFilter_Intersects, GeoFilter_Within, PossibleWhereClauseFilters, WhereClause } from "./aggregate/WhereClause.js";
13
+ export type { AndWhereClause, GeoFilter_Intersects, GeoFilter_Within, NotWhereClause, OrWhereClause, PossibleWhereClauseFilters, WhereClause } from "./aggregate/WhereClause.js";
14
14
  export type { OsdkObjectCreatePropertyType, OsdkObjectPropertyType } from "./Definitions.js";
15
15
  export type { OsdkObjectLinksObject, SingleLinkAccessor } from "./definitions/LinkDefinitions.js";
16
- export type { DerivedProperty } from "./derivedProperties/DerivedProperty.js";
16
+ export { type DerivedProperty } from "./derivedProperties/DerivedProperty.js";
17
17
  export { DurationMapping } from "./groupby/GroupByClause.js";
18
18
  export type { AllGroupByValues, GroupByClause, GroupByRange } from "./groupby/GroupByClause.js";
19
19
  export type { Logger } from "./Logger.js";
@@ -36,6 +36,13 @@ export type { CompileTimeMetadata, ObjectMetadata, ObjectTypeDefinition, Propert
36
36
  export type { OntologyMetadata } from "./ontology/OntologyMetadata.js";
37
37
  export type { PrimaryKeyTypes } from "./ontology/PrimaryKeyTypes.js";
38
38
  export type { InterfaceQueryDataType, ObjectQueryDataType, ObjectSetQueryDataType, QueryDataTypeDefinition, QueryDefinition, QueryMetadata, QueryParameterDefinition, ThreeDimensionalQueryAggregationDefinition, TwoDimensionalQueryAggregationDefinition } from "./ontology/QueryDefinition.js";
39
+ export type { SimplePropertyDef } from "./ontology/SimplePropertyDef.js";
40
+ export type { PropertyBooleanFormattingRule } from "./ontology/valueFormatting/PropertyBooleanFormattingRule.js";
41
+ export type { DatetimeFormat, DatetimeLocalizedFormat, DatetimeLocalizedFormatType, DatetimeStringFormat, DatetimeTimezone, DatetimeTimezoneStatic, DatetimeTimezoneUser, PropertyDateFormattingRule, PropertyTimestampFormattingRule } from "./ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js";
42
+ export type { KnownType, PropertyKnownTypeFormattingRule } from "./ontology/valueFormatting/PropertyKnownTypeFormattingRule.js";
43
+ export type { Affix, DurationBaseValue, DurationFormatStyle, DurationPrecision, HumanReadableFormat, NumberFormatAffix, NumberFormatCurrency, NumberFormatCurrencyStyle, NumberFormatCustomUnit, NumberFormatDuration, NumberFormatFixedValues, NumberFormatNotation, NumberFormatOptions, NumberFormatRatio, NumberFormatScale, NumberFormatStandard, NumberFormatStandardUnit, NumberRatioType, NumberRoundingMode, NumberScaleType, PropertyNumberFormattingRule, PropertyNumberFormattingRuleType, TimeCodeFormat } from "./ontology/valueFormatting/PropertyNumberFormattingRule.js";
44
+ export type { PropertyValueFormattingRule } from "./ontology/valueFormatting/PropertyValueFormattingRule.js";
45
+ export type { PropertyTypeReference, PropertyTypeReferenceOrStringConstant, StringConstant } from "./ontology/valueFormatting/PropertyValueFormattingUtils.js";
39
46
  export type { BaseWirePropertyTypes, WirePropertyTypes } from "./ontology/WirePropertyTypes.js";
40
47
  export type { ObjectIdentifiers, OsdkBase, PrimaryKeyType } from "./OsdkBase.js";
41
48
  export type { OsdkObject } from "./OsdkObject.js";
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,kCAAkC;AAChD,cACE,oBACA,aACA,0BACA,oBACA,+BACK;AACP,SAAS,kBAAkB;AAC3B,cAAc,4BAA4B;AAC1C,cAAc,qBAAqB;AACnC,cAAc,sEAAsE;AACpF,cAAc,oCAAoC;AAClD,cAAc,uCAAuC;AACrD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,wBAAwB;AACtC,SAAS,2BAA2B;AACpC,cACE,sBACA,kBACA,4BACA,mBACK;AACP,cACE,8BACA,8BACK;AACP,cACE,uBACA,0BACK;AACP,cAAc,uBAAuB;AACrC,SAAS,uBAAuB;AAChC,cACE,kBACA,eACA,oBACK;AACP,cAAc,cAAc;AAC5B,cACE,uBACA,oBACA,uBACA,6BACK;AACP,cACE,iCACK;AACP,cAAc,YAAY,wBAAwB;AAClD,cACE,eACA,SACA,UACA,eACA,sBACA,eACA,WACA,uBACK;AACP,cACE,iBACA,wBACK;AACP,cACE,OACA,eACA,gBACA,mBACK;AACP,SAAS,YAAY;AACrB,cAAc,cAAc;AAC5B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,cAAc,6BAA6B;AAC3C,cACE,kBACA,sBACK;AACP,cACE,qBACA,yBACK;AACP,cACE,6BACA,oBACK;AACP,cAAc,uBAAuB;AACrC,cACE,qBACA,gBACA,sBACA,aACA,oBACK;AACP,cAAc,wBAAwB;AACtC,cAAc,uBAAuB;AACrC,cACE,wBACA,qBACA,wBACA,yBACA,iBACA,eACA,0BACA,4CACA,gDACK;AACP,cACE,uBACA,yBACK;AACP,cACE,mBACA,UACA,sBACK;AAEP,cAAc,kBAAkB;AAChC,cAAc,cAAc,YAAY,YAAY;AACpD,cAAc,kBAAkB;AAChC,cACE,OACA,6BACA,iCACK;AACP,cAAc,YAAY,mBAAmB;AAC7C,SAAS,iCAAiC;AAC1C,cACE,uBACA,iBACA,oBACA,uBACK;AACP,cAAc,YAAY,iBAAiB;AAC3C","names":[],"sources":["../../src/index.ts"],"version":3,"file":"index.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,kCAAkC;AAChD,cACE,oBACA,aACA,0BACA,oBACA,+BACK;AACP,SAAS,kBAAkB;AAC3B,cAAc,4BAA4B;AAC1C,cAAc,qBAAqB;AACnC,cAAc,sEAAsE;AACpF,cAAc,oCAAoC;AAClD,cAAc,uCAAuC;AACrD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,wBAAwB;AACtC,SAAS,2BAA2B;AACpC,cACE,gBACA,sBACA,kBACA,gBACA,eACA,4BACA,mBACK;AACP,cACE,8BACA,8BACK;AACP,cACE,uBACA,0BACK;AACP,cAAc,uBAAuB;AACrC,SAAS,uBAAuB;AAChC,cACE,kBACA,eACA,oBACK;AACP,cAAc,cAAc;AAC5B,cACE,uBACA,oBACA,uBACA,6BACK;AACP,cACE,iCACK;AACP,cAAc,YAAY,wBAAwB;AAClD,cACE,eACA,SACA,UACA,eACA,sBACA,eACA,WACA,uBACK;AACP,cACE,iBACA,wBACK;AACP,cACE,OACA,eACA,gBACA,mBACK;AACP,SAAS,YAAY;AACrB,cAAc,cAAc;AAC5B,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B,cAAc,6BAA6B;AAC3C,cACE,kBACA,sBACK;AACP,cACE,qBACA,yBACK;AACP,cACE,6BACA,oBACK;AACP,cAAc,uBAAuB;AACrC,cACE,qBACA,gBACA,sBACA,aACA,oBACK;AACP,cAAc,wBAAwB;AACtC,cAAc,uBAAuB;AACrC,cACE,wBACA,qBACA,wBACA,yBACA,iBACA,eACA,0BACA,4CACA,gDACK;AACP,cAAc,yBAAyB;AACvC,cAAc,qCAAqC;AACnD,cACE,gBACA,yBACA,6BACA,sBACA,kBACA,wBACA,sBACA,4BACA,uCACK;AACP,cACE,WACA,uCACK;AACP,cACE,OACA,mBACA,qBACA,mBACA,qBACA,mBACA,sBACA,2BACA,wBACA,sBACA,yBACA,sBACA,qBACA,mBACA,mBACA,sBACA,0BACA,iBACA,oBACA,iBACA,8BACA,kCACA,sBACK;AACP,cAAc,mCAAmC;AACjD,cACE,uBACA,uCACA,sBACK;AACP,cACE,uBACA,yBACK;AACP,cACE,mBACA,UACA,sBACK;AAEP,cAAc,kBAAkB;AAChC,cAAc,cAAc,YAAY,YAAY;AACpD,cAAc,kBAAkB;AAChC,cACE,OACA,6BACA,iCACK;AACP,cAAc,YAAY,mBAAmB;AAC7C,SAAS,iCAAiC;AAC1C,cACE,uBACA,iBACA,oBACA,uBACK;AACP,cAAc,YAAY,iBAAiB;AAC3C","names":[],"sources":["../../src/index.ts"],"version":3,"file":"index.d.ts"}
@@ -1,5 +1,5 @@
1
1
  import type { Attachment, AttachmentUpload } from "../object/Attachment.js";
2
- import type { Media } from "../object/Media.js";
2
+ import type { Media, MediaReference } from "../object/Media.js";
3
3
  import type { GeotimeSeriesProperty, TimeSeriesProperty } from "../timeseries/timeseries.js";
4
4
  /**
5
5
  * Map from the PropertyDefinition type to the typescript type that we return
@@ -70,7 +70,7 @@ export interface PropertyValueWireToCreate {
70
70
  integer: number;
71
71
  long: string;
72
72
  marking: string;
73
- mediaReference: Media;
73
+ mediaReference: Media | MediaReference;
74
74
  short: number;
75
75
  string: string;
76
76
  timestamp: string;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,aAAa,oBAAqB;AAChD,cACE,uBACA,0BACK,6BAA8B;;;;AAKrC,iBAAiB,0BAA0B;CACzC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA,gBAAgB;CAChB;CACA;CACA;CACA,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AAED,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE;;;;AAMpD,iBAAiB,0BAA0B;CACzC,qBAAqB,mBAAmB,OAAO;WAAW;CAAc;CACxE;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AACD,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE;AAGpD,iBAAiB,0BAA0B;CACzC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA,gBAAgB;CAChB;CACA;CACA;CACA,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AAED,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE","names":[],"sources":["../../../src/mapping/PropertyValueMapping.ts"],"version":3,"file":"PropertyValueMapping.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,YAAY,wBAAwB,yBAA0B;AAC5E,cAAc,OAAO,sBAAsB,oBAAqB;AAChE,cACE,uBACA,0BACK,6BAA8B;;;;AAKrC,iBAAiB,0BAA0B;CACzC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA,gBAAgB;CAChB;CACA;CACA;CACA,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AAED,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE;;;;AAMpD,iBAAiB,0BAA0B;CACzC,qBAAqB,mBAAmB,OAAO;WAAW;CAAc;CACxE;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AACD,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE;AAGpD,iBAAiB,0BAA0B;CACzC,YAAY;CACZ;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,QAAQ;CAClB,UAAU,QAAQ;CAClB;CACA;CACA;CACA,gBAAgB,QAAQ;CACxB;CACA;CACA;CACA,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,wBAAwB,sBAAsB,QAAQ;CACtD;AACD;AAED,YAAY,+BACV,gBACU,4BACN,qBAAqB,8BACvB,gBAAgB,4BAA4B,0BAA0B,KACtE,UAAU,qBAAqB,gCAC1B,WAAW,KAAI,0BAA0B,EAAE","names":[],"sources":["../../../src/mapping/PropertyValueMapping.ts"],"version":3,"file":"PropertyValueMapping.d.ts"}
@@ -31,7 +31,7 @@ export interface MediaReference {
31
31
  * Object for uploading Media
32
32
  */
33
33
  export interface MediaUpload {
34
- readonly path: string;
34
+ readonly fileName: string;
35
35
  readonly data: Blob;
36
36
  }
37
37
  /**
@@ -327,10 +327,10 @@ type ExtractImplementedInterfaces<T extends ObjectTypeDefinition> = CompileTimeM
327
327
  apiName: API_NAME
328
328
  } : never : never;
329
329
  type ExtractImplementingTypes<T extends InterfaceDefinition> = CompileTimeMetadata<T> extends {
330
- implementedBy: ReadonlyArray<infer API_NAME>
331
- } ? API_NAME extends string ? (ObjectTypeDefinition & {
330
+ implementedBy: ReadonlyArray<infer API_NAME extends string>
331
+ } ? (ObjectTypeDefinition & {
332
332
  apiName: API_NAME
333
- }) | InterfaceDefinition : never : never;
333
+ }) | InterfaceDefinition : InterfaceDefinition;
334
334
  interface ObjectSetCleanedTypes<
335
335
  Q extends ObjectOrInterfaceDefinition,
336
336
  D extends Record<string, SimplePropertyDef>,
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,qBAAqB,+BAAgC;AACnE,cAAc,sEAAsE,yCAA0C;AAC9H,cAAc,2BAA2B,qCAAsC;AAC/E,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,uBAAuB,yCAA0C;AAC/E,cACE,eACA,UACA,eACA,sBACA,eACA,iBACK,4BAA6B;AACpC,cAAc,cAAc,qBAAsB;AAClD,cAAc,2BAA2B,oCAAqC;AAC9E,cACE,oCACA,6BACA,oBACK,kCAAmC;AAC1C,cACE,qBACA,4BACK,qCAAsC;AAC7C,cAAc,yBAAyB,kCAAmC;AAC1E,cAAc,sBAAsB,gBAAiB;AACrD,cACE,4BACA,gBACA,kBACA,YACA,YACK,sBAAuB;AAC9B,cAAc,kBAAkB,kBAAmB;AACnD,cAAc,YAAY,iBAAiB,sBAAuB;AAClE,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,6BAA6B,wBAAyB;KAE/D;CACH,UAAU;CACV,UAAU,eAAe,qBAAqB,CAAE;IAC9C,mCAAmC,sB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ACG,uBAAuB;CAAE,SAAS;AAAU,KAAI;UAI/C;CACR,UAAU;CACV,UAAU,eAAe;CACzB,eAAe,8BAA8B;CAC7C,yBAAyB,cAAc,eAAe,aAAa,MAAM,CAAE;UAE3E,iBAAiB,GAAG,GAAG,mBACvB,eAAe,GAAG,IAClB,UAAU,SACV,cAAc,SACd,QAAQ,IACR,SAAS,GAAG,IACZ,UAAU,SACV,iBAAiB,IACjB,OAAO,GACT,CACC","names":["args?: FetchPageArgs<Q, L, R, A, S, T, never, ORDER_BY_OPTIONS>","query: string | number[]","numNeighbors: number","property: PropertyKeys.Filtered<Q, \"vector\">","clause: WhereClause<MergeObjectSet<Q, RDPs>>","args?: X","args?: AsyncIterArgs<Q, L, R, A, S, T, never, ORDER_BY_OPTIONS>","clause: { [K in keyof NEW]: DerivedProperty.Creator<Q, NEW[K]> }","req: AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy<Q, AO>","type: L","primaryKey: PrimaryKeyType<Q>","options?: SelectArg<Q, L, R, S>","listener: ObjectSetSubscription.Listener<Q, P>","opts?: ObjectSetSubscription.Options<Q, P>","type: CONVERT_TO"],"sources":["../../../src/objectSet/ObjectSet.ts"],"version":3,"file":"ObjectSet.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,qBAAqB,+BAAgC;AACnE,cAAc,sEAAsE,yCAA0C;AAC9H,cAAc,2BAA2B,qCAAsC;AAC/E,cAAc,mBAAmB,6BAA8B;AAC/D,cAAc,uBAAuB,yCAA0C;AAC/E,cACE,eACA,UACA,eACA,sBACA,eACA,iBACK,4BAA6B;AACpC,cAAc,cAAc,qBAAsB;AAClD,cAAc,2BAA2B,oCAAqC;AAC9E,cACE,oCACA,6BACA,oBACK,kCAAmC;AAC1C,cACE,qBACA,4BACK,qCAAsC;AAC7C,cAAc,yBAAyB,kCAAmC;AAC1E,cAAc,sBAAsB,gBAAiB;AACrD,cACE,4BACA,gBACA,kBACA,YACA,YACK,sBAAuB;AAC9B,cAAc,kBAAk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U,wBAC1C,oBAAoB,WAAW;CAAE,YAAY,oBAAoB;AAAW,IACxE,0BAA0B,sBAAsB;CAAE,SAAS;AAAU;KAItE,yBAAyB,UAAU,uBACtC,oBAAoB,WAClB;CAAE,eAAe,oBAAoB;AAA0B,KAC5D,uBAAuB;CAAE,SAAS;AAAU,KAAI,sBACjD;UAEI;CACR,UAAU;CACV,UAAU,eAAe;CACzB,eAAe,8BAA8B;CAC7C,yBAAyB,cAAc,eAAe,aAAa,MAAM,CAAE;UAE3E,iBAAiB,GAAG,GAAG,mBACvB,eAAe,GAAG,IAClB,UAAU,SACV,cAAc,SACd,QAAQ,IACR,SAAS,GAAG,IACZ,UAAU,SACV,iBAAiB,IACjB,OAAO,GACT,CACC","names":["args?: FetchPageArgs<Q, L, R, A, S, T, never, ORDER_BY_OPTIONS>","query: string | number[]","numNeighbors: number","property: PropertyKeys.Filtered<Q, \"vector\">","clause: WhereClause<MergeObjectSet<Q, RDPs>>","args?: X","args?: AsyncIterArgs<Q, L, R, A, S, T, never, ORDER_BY_OPTIONS>","clause: { [K in keyof NEW]: DerivedProperty.Creator<Q, NEW[K]> }","req: AggregateOptsThatErrorsAndDisallowsOrderingWithMultipleGroupBy<Q, AO>","type: L","primaryKey: PrimaryKeyType<Q>","options?: SelectArg<Q, L, R, S>","listener: ObjectSetSubscription.Listener<Q, P>","opts?: ObjectSetSubscription.Options<Q, P>","type: CONVERT_TO"],"sources":["../../../src/objectSet/ObjectSet.ts"],"version":3,"file":"ObjectSet.d.ts"}
@@ -1,6 +1,7 @@
1
1
  import type { OsdkMetadata } from "../OsdkMetadata.js";
2
2
  import type { ObjectOrInterfaceDefinition, PropertyKeys } from "./ObjectOrInterface.js";
3
3
  import type { PrimaryKeyTypes } from "./PrimaryKeyTypes.js";
4
+ import type { PropertyValueFormattingRule } from "./valueFormatting/PropertyValueFormattingRule.js";
4
5
  import type { VersionString } from "./VersionString.js";
5
6
  import type { WirePropertyTypes } from "./WirePropertyTypes.js";
6
7
  export type CompileTimeMetadata<T extends {
@@ -56,6 +57,7 @@ export declare namespace ObjectMetadata {
56
57
  multiplicity?: boolean;
57
58
  nullable?: boolean;
58
59
  valueTypeApiName?: string;
60
+ valueFormatting?: PropertyValueFormattingRule;
59
61
  }
60
62
  interface Link<
61
63
  Q extends ObjectTypeDefinition,
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cACE,6BACA,oBACK,wBAAyB;AAChC,cAAc,uBAAuB,sBAAuB;AAC5D,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,yBAAyB,wBAAyB;AAEhE,YAAY,oBAAoB,UAAU;CAAE,uBAAuB,CAAE;AAAE,KACrE,YACE,EAAE;AAGN,YAAY;CACV,UAAU;CACV,UAAU,aAAa;IACrB,oBAAoB,GAAG,cAAc;AAEzC,YAAY,8BAA8B;CACxC,MAAM,WAAW;CACjB;CACA;CACA;CACA,YAAY,YAAY,eAAe;CACvC;;;;;;CAMA,aAAa;AACd;AAED,iBAAiB,iCAAiC;CAChD,MAAM,WAAW;CACjB;CACA;CACA;CACA;AACD;AAED,iBAAiB,aAAa,UAAU,8BAA8B;CACpE,0BAA0B;AAC3B;AAED,iBAAiB,uBAAuB,4BAA4B;CAClE,MAAM;CACN,8BAA8B;CAC9B,0BAA0B;CAC1B,OAAO,eAEL,eAAe;CAEjB,gBAAgB;CAChB,MAAM;CACN,YAAY;CACZ;CACA,QAAQ;CACR,cAAc,eAEZ;CAKF,qBAAqB,eAEnB;AAKH;AAED,yBAAiB;WACE,SAAS;EACxB;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;CACD;WAEgB;EACf,UAAU;EACV;GACA;EACA,uBAAuB;EACvB,YAAY,EAAE;EACd,cAAc;CACf;;AAGH,iBAAiB,qBAAqB;CACpC,MAAM;CACN;CACA,eAAe;CACf,uBACI,iBACA;AACL;AAED,YAAY,wBACV,UAAU,qCAEF,oBAAoB,GAAG;AAGjC,iBAAiB;CACf,UAAU;CACV,UAAU,aAAa,iBAAiB;CACxC,UAAU,UAAU,WAAW;UACvB,eAAe,SAAS;CAChC,MAAM;CACN,cAAc,UAAU,UAAU,OAAO;CACzC,UAAU,UAAU,aAAa,OAAO;AACzC;AAED,YAAY,gBACR,WACA,iBACA,eACA;KAEC,uBAAuB,WAAW,cAAc;KAEhD,gBAAgB;CACnB,MAAM;CACN;CACA;AACD;KAEI,OAAO","names":[],"sources":["../../../src/ontology/ObjectTypeDefinition.ts"],"version":3,"file":"ObjectTypeDefinition.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cACE,6BACA,oBACK,wBAAyB;AAChC,cAAc,uBAAuB,sBAAuB;AAC5D,cAAc,mCAAmC,kDAAmD;AACpG,cAAc,qBAAqB,oBAAqB;AACxD,cAAc,yBAAyB,wBAAyB;AAEhE,YAAY,oBAAoB,UAAU;CAAE,uBAAuB,CAAE;AAAE,KACrE,YACE,EAAE;AAGN,YAAY;CACV,UAAU;CACV,UAAU,aAAa;IACrB,oBAAoB,GAAG,cAAc;AAEzC,YAAY,8BAA8B;CACxC,MAAM,WAAW;CACjB;CACA;CACA;CACA,YAAY,YAAY,eAAe;CACvC;;;;;;CAMA,aAAa;AACd;AAED,iBAAiB,iCAAiC;CAChD,MAAM,WAAW;CACjB;CACA;CACA;CACA;AACD;AAED,iBAAiB,aAAa,UAAU,8BAA8B;CACpE,0BAA0B;AAC3B;AAED,iBAAiB,uBAAuB,4BAA4B;CAClE,MAAM;CACN,8BAA8B;CAC9B,0BAA0B;CAC1B,OAAO,eAEL,eAAe;CAEjB,gBAAgB;CAChB,MAAM;CACN,YAAY;CACZ;CACA,QAAQ;CACR,cAAc,eAEZ;CAKF,qBAAqB,eAEnB;AAKH;AAED,yBAAiB;WACE,SAAS;EACxB;EACA;EACA;EACA,MAAM;EACN;EACA;EACA;EACA,kBAAkB;CACnB;WAEgB;EACf,UAAU;EACV;GACA;EACA,uBAAuB;EACvB,YAAY,EAAE;EACd,cAAc;CACf;;AAGH,iBAAiB,qBAAqB;CACpC,MAAM;CACN;CACA,eAAe;CACf,uBACI,iBACA;AACL;AAED,YAAY,wBACV,UAAU,qCAEF,oBAAoB,GAAG;AAGjC,iBAAiB;CACf,UAAU;CACV,UAAU,aAAa,iBAAiB;CACxC,UAAU,UAAU,WAAW;UACvB,eAAe,SAAS;CAChC,MAAM;CACN,cAAc,UAAU,UAAU,OAAO;CACzC,UAAU,UAAU,aAAa,OAAO;AACzC;AAED,YAAY,gBACR,WACA,iBACA,eACA;KAEC,uBAAuB,WAAW,cAAc;KAEhD,gBAAgB;CACnB,MAAM;CACN;CACA;AACD;KAEI,OAAO","names":[],"sources":["../../../src/ontology/ObjectTypeDefinition.ts"],"version":3,"file":"ObjectTypeDefinition.d.ts"}
@@ -25,7 +25,7 @@ export interface QueryDefinition<T = any> {
25
25
  export type QueryParameterDefinition<T_Target extends ObjectTypeDefinition = any> = {
26
26
  description?: string
27
27
  } & QueryDataTypeDefinition<T_Target>;
28
- export type QueryDataTypeDefinition<T_Target extends ObjectOrInterfaceDefinition = any> = PrimitiveDataType | ObjectQueryDataType<T_Target> | InterfaceQueryDataType<T_Target> | ObjectSetQueryDataType<T_Target> | InterfaceObjectSetQueryDataType<T_Target> | SetQueryDataType | UnionQueryDataType | StructQueryDataType | TwoDimensionalAggregationDataType | ThreeDimensionalAggregationDataType | MapDataType;
28
+ export type QueryDataTypeDefinition<T_Target extends ObjectOrInterfaceDefinition = any> = PrimitiveDataType | ObjectQueryDataType<T_Target> | InterfaceQueryDataType<T_Target> | ObjectSetQueryDataType<T_Target> | InterfaceObjectSetQueryDataType<T_Target> | SetQueryDataType | UnionQueryDataType | StructQueryDataType | TwoDimensionalAggregationDataType | ThreeDimensionalAggregationDataType | MapDataType | ArrayQueryDataType;
29
29
  export type BaseQueryDataTypeDefinition<T extends string> = {
30
30
  multiplicity?: boolean
31
31
  nullable?: boolean
@@ -52,6 +52,10 @@ export interface InterfaceObjectSetQueryDataType<T_Target extends ObjectOrInterf
52
52
  export interface SetQueryDataType extends BaseQueryDataTypeDefinition<"set"> {
53
53
  set: QueryDataTypeDefinition;
54
54
  }
55
+ export interface ArrayQueryDataType extends BaseQueryDataTypeDefinition<"array"> {
56
+ array: QueryDataTypeDefinition;
57
+ multiplicity: true;
58
+ }
55
59
  export interface UnionQueryDataType extends BaseQueryDataTypeDefinition<"union"> {
56
60
  union: ReadonlyArray<QueryDataTypeDefinition>;
57
61
  }
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cAAc,mCAAmC,wBAAyB;AAC1E,cAAc,4BAA4B,2BAA4B;AAEtE,iBAAiB,cAAc;CAC7B,MAAM;CACN;CACA;CACA;CACA;CACA,YAAY,eAAe;CAC3B,QAAQ;CACR;AACD;AAED,iBAAiB,yBAAyB,GAAG;CAC3C,WAAW;AACZ;AAED,iBAAiB,gBAAgB,SAAS;CACxC,MAAM;CACN;CACA;CACA;CACA,eAAe;CACf,uBACI,yBAAyB,KACzB;AACL;AAED,YAAY,yBACV,iBAAiB,8BACf;CACF;AACD,IAAG,wBAAwB;AAE5B,YAAY,wBACV,iBAAiB,qCAEf,oBACA,oBAAoB,YACpB,uBAAuB,YACvB,uBAAuB,YACvB,gCAAgC,YAChC,mBACA,qBACA,sBACA,oCACA,sCACA;AAEJ,YAAY,4BAA4B,oBAAoB;CAC1D;CACA;CACA,MAAM;AACP;AAED,YAAY,qBACR,WACA,UACA,YACA,SACA,YACA,WACA,SACA,cACA;AAEJ,YAAY,kBACV,UAAU,qBAAqB,sBAC7B,4BAA4B;AAEhC,iBAAiB,oBACf,iBAAiB,6CACT,4BAA4B,UAAU;CAC9C;CACA,mBAAmB;AACpB;AAED,iBAAiB,uBACf,iBAAiB,6CACT,4BAA4B,aAAa;CACjD;CACA,mBAAmB;AACpB;AAED,iBAAiB,uBACf,iBAAiB,6CACT,4BAA4B,aAAa;CACjD;CACA,mBAAmB;AACpB;AAED,iBAAiB,gCACf,iBAAiB,6CACT,4BAA4B,sBAAsB;CAC1D;CACA,mBAAmB;AACpB;AAED,iBAAiB,yBAAyB,4BAA4B,OAAO;CAC3E,KAAK;AACN;AAED,iBAAiB,2BACP,4BAA4B,SACtC;CACE,OAAO,cAAc;AACtB;AAED,iBAAiB,4BACP,4BAA4B,UACtC;CACE,QAAQ,eAAe;AACxB;AAED,iBAAiB,0CACP,4BAA4B,6BACtC;CACE,2BAA2B;AAC5B;AAED,iBAAiB,4CACP,4BAA4B,+BACtC;CACE,6BAA6B;AAC9B;AAED,iBAAiB,oBAAoB,4BAA4B,OAAO;CACtE,SAAS;CACT,WAAW;AACZ;AAED,YAAY,uBAAuB,WAC/B,6BAA6B,KAC7B,4BAA4B;AAEhC,iBAAiB,6BAA6B,SAAS;CACrD,SAAS,QAAQ,qBAAqB;CACtC,WAAW;AACZ;AACD,iBAAiB,4BAA4B,SAAS;CACpD,SAAS;CACT,YAAY;CACZ,WAAW;AACZ;AAED,YAAY,2CAA2C,uBACrD;AAGF,YAAY,6CAA6C,uBACvD;AAGF,YAAY,sBACR,YACA,WACA,SACA,WACA,YACA,cACA;AAEJ,YAAY,2BACR,SACA,WACA,YACA;AAEJ,YAAY,wBAAwB,SAAS,WAAW","names":[],"sources":["../../../src/ontology/QueryDefinition.ts"],"version":3,"file":"QueryDefinition.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,oBAAoB,oBAAqB;AACvD,cAAc,mCAAmC,wBAAyB;AAC1E,cAAc,4BAA4B,2BAA4B;AAEtE,iBAAiB,cAAc;CAC7B,MAAM;CACN;CACA;CACA;CACA;CACA,YAAY,eAAe;CAC3B,QAAQ;CACR;AACD;AAED,iBAAiB,yBAAyB,GAAG;CAC3C,WAAW;AACZ;AAED,iBAAiB,gBAAgB,SAAS;CACxC,MAAM;CACN;CACA;CACA;CACA,eAAe;CACf,uBACI,yBAAyB,KACzB;AACL;AAED,YAAY,yBACV,iBAAiB,8BACf;CACF;AACD,IAAG,wBAAwB;AAE5B,YAAY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uBACvD;AAGF,YAAY,sBACR,YACA,WACA,SACA,WACA,YACA,cACA;AAEJ,YAAY,2BACR,SACA,WACA,YACA;AAEJ,YAAY,wBAAwB,SAAS,WAAW","names":[],"sources":["../../../src/ontology/QueryDefinition.ts"],"version":3,"file":"QueryDefinition.d.ts"}
@@ -0,0 +1,5 @@
1
+ export interface PropertyBooleanFormattingRule {
2
+ type: "boolean";
3
+ valueIfTrue: string;
4
+ valueIfFalse: string;
5
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,iBAAiB,8BAA8B;CAC7C,MAAM;CACN;CACA;AACD","names":[],"sources":["../../../../src/ontology/valueFormatting/PropertyBooleanFormattingRule.ts"],"version":3,"file":"PropertyBooleanFormattingRule.d.ts"}
@@ -0,0 +1,37 @@
1
+ import type { PropertyTypeReferenceOrStringConstant } from "./PropertyValueFormattingUtils.js";
2
+ export interface PropertyDateFormattingRule {
3
+ type: "date";
4
+ format: DatetimeFormat;
5
+ }
6
+ export interface PropertyTimestampFormattingRule {
7
+ type: "timestamp";
8
+ format: DatetimeFormat;
9
+ displayTimezone: DatetimeTimezone;
10
+ }
11
+ export type DatetimeFormat = DatetimeStringFormat | DatetimeLocalizedFormat;
12
+ /**
13
+ * A custom date format pattern.
14
+ */
15
+ export interface DatetimeStringFormat {
16
+ type: "stringFormat";
17
+ pattern: string;
18
+ }
19
+ /**
20
+ * Predefined localized date/time formats.
21
+ */
22
+ export interface DatetimeLocalizedFormat {
23
+ type: "localizedFormat";
24
+ format: DatetimeLocalizedFormatType;
25
+ }
26
+ export type DatetimeLocalizedFormatType = "DATE_FORMAT_RELATIVE_TO_NOW" | "DATE_FORMAT_DATE" | "DATE_FORMAT_YEAR_AND_MONTH" | "DATE_FORMAT_DATE_TIME" | "DATE_FORMAT_DATE_TIME_SHORT" | "DATE_FORMAT_TIME" | "DATE_FORMAT_ISO_INSTANT";
27
+ export type DatetimeTimezone = DatetimeTimezoneStatic | DatetimeTimezoneUser;
28
+ export interface DatetimeTimezoneStatic {
29
+ type: "static";
30
+ zoneId: PropertyTypeReferenceOrStringConstant;
31
+ }
32
+ /**
33
+ * Use the user's local timezone.
34
+ */
35
+ export interface DatetimeTimezoneUser {
36
+ type: "user";
37
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,6CAA6C,mCAAoC;AAE/F,iBAAiB,2BAA2B;CAC1C,MAAM;CACN,QAAQ;AACT;AAED,iBAAiB,gCAAgC;CAC/C,MAAM;CACN,QAAQ;CACR,iBAAiB;AAClB;AAED,YAAY,iBAAiB,uBAAuB;;;;AAKpD,iBAAiB,qBAAqB;CACpC,MAAM;CACN;AACD;;;;AAKD,iBAAiB,wBAAwB;CACvC,MAAM;CACN,QAAQ;AACT;AAED,YAAY,8BACR,gCACA,qBACA,+BACA,0BACA,gCACA,qBACA;AAEJ,YAAY,mBAAmB,yBAAyB;AAExD,iBAAiB,uBAAuB;CACtC,MAAM;CACN,QAAQ;AACT;;;;AAKD,iBAAiB,qBAAqB;CACpC,MAAM;AACP","names":[],"sources":["../../../../src/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.ts"],"version":3,"file":"PropertyDateAndTimestampFormattingRule.d.ts"}
@@ -0,0 +1,8 @@
1
+ export interface PropertyKnownTypeFormattingRule {
2
+ type: "knownType";
3
+ knownType: KnownType;
4
+ }
5
+ /**
6
+ * Known Foundry types with specialized formatting.
7
+ */
8
+ export type KnownType = "USER_OR_GROUP_ID" | "RESOURCE_RID" | "ARTIFACT_GID";
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,iBAAiB,gCAAgC;CAC/C,MAAM;CACN,WAAW;AACZ;;;;AAKD,YAAY,YAAY,qBAAqB,iBAAiB","names":[],"sources":["../../../../src/ontology/valueFormatting/PropertyKnownTypeFormattingRule.ts"],"version":3,"file":"PropertyKnownTypeFormattingRule.d.ts"}
@@ -0,0 +1,117 @@
1
+ import type { PropertyTypeReferenceOrStringConstant } from "./PropertyValueFormattingUtils.js";
2
+ export interface PropertyNumberFormattingRule {
3
+ type: "number";
4
+ numberType: PropertyNumberFormattingRuleType;
5
+ }
6
+ export type PropertyNumberFormattingRuleType = NumberFormatStandard | NumberFormatFixedValues | NumberFormatCurrency | NumberFormatStandardUnit | NumberFormatCustomUnit | NumberFormatAffix | NumberFormatDuration | NumberFormatScale | NumberFormatRatio;
7
+ /**
8
+ * Base number formatting options.
9
+ */
10
+ export interface NumberFormatOptions {
11
+ useGrouping?: boolean;
12
+ convertNegativeToParenthesis?: boolean;
13
+ minimumIntegerDigits?: number;
14
+ minimumFractionDigits?: number;
15
+ maximumFractionDigits?: number;
16
+ minimumSignificantDigits?: number;
17
+ maximumSignificantDigits?: number;
18
+ notation?: NumberFormatNotation;
19
+ roundingMode?: NumberRoundingMode;
20
+ }
21
+ /**
22
+ * Number notation style.
23
+ */
24
+ export type NumberFormatNotation = "STANDARD" | "SCIENTIFIC" | "ENGINEERING" | "COMPACT";
25
+ /**
26
+ * Number rounding behavior.
27
+ */
28
+ export type NumberRoundingMode = "CEIL" | "FLOOR" | "ROUND_CLOSEST";
29
+ /**
30
+ * Standard number formatting with configurable options.
31
+ */
32
+ export interface NumberFormatStandard {
33
+ type: "standard";
34
+ baseFormatOptions: NumberFormatOptions;
35
+ }
36
+ /**
37
+ * Map integer values to custom strings.
38
+ */
39
+ export interface NumberFormatFixedValues {
40
+ type: "fixedValues";
41
+ values: Record<number, string>;
42
+ }
43
+ /**
44
+ * Format numbers as currency values.
45
+ */
46
+ export interface NumberFormatCurrency {
47
+ type: "currency";
48
+ baseFormatOptions: NumberFormatOptions;
49
+ style: NumberFormatCurrencyStyle;
50
+ currencyCode: PropertyTypeReferenceOrStringConstant;
51
+ }
52
+ export type NumberFormatCurrencyStyle = "STANDARD" | "COMPACT";
53
+ /**
54
+ * Format numbers with standard units supported by Intl.NumberFormat.
55
+ */
56
+ export interface NumberFormatStandardUnit {
57
+ type: "standardUnit";
58
+ baseFormatOptions: NumberFormatOptions;
59
+ unit: PropertyTypeReferenceOrStringConstant;
60
+ }
61
+ /**
62
+ * Format numbers with custom units.
63
+ */
64
+ export interface NumberFormatCustomUnit {
65
+ type: "customUnit";
66
+ baseFormatOptions: NumberFormatOptions;
67
+ unit: PropertyTypeReferenceOrStringConstant;
68
+ }
69
+ /**
70
+ * Attach text before and/or after the formatted number.
71
+ */
72
+ export interface NumberFormatAffix {
73
+ type: "affix";
74
+ baseFormatOptions: NumberFormatOptions;
75
+ affix: Affix;
76
+ }
77
+ export interface Affix {
78
+ prefix?: PropertyTypeReferenceOrStringConstant;
79
+ postfix?: PropertyTypeReferenceOrStringConstant;
80
+ }
81
+ /**
82
+ * Format numeric values representing time durations.
83
+ */
84
+ export interface NumberFormatDuration {
85
+ type: "duration";
86
+ formatStyle: DurationFormatStyle;
87
+ precision?: DurationPrecision;
88
+ baseValue: DurationBaseValue;
89
+ }
90
+ export type DurationFormatStyle = HumanReadableFormat | TimeCodeFormat;
91
+ export interface HumanReadableFormat {
92
+ type: "humanReadable";
93
+ showFullUnits?: boolean;
94
+ }
95
+ export interface TimeCodeFormat {
96
+ type: "timecode";
97
+ }
98
+ export type DurationPrecision = "DAYS" | "HOURS" | "MINUTES" | "SECONDS" | "AUTO";
99
+ export type DurationBaseValue = "SECONDS" | "MILLISECONDS";
100
+ /**
101
+ * Scale numeric values by the specified factor.
102
+ */
103
+ export interface NumberFormatScale {
104
+ type: "scale";
105
+ scaleType: NumberScaleType;
106
+ baseFormatOptions: NumberFormatOptions;
107
+ }
108
+ export type NumberScaleType = "THOUSANDS" | "MILLIONS" | "BILLIONS";
109
+ /**
110
+ * Display values as ratios with different scaling factors.
111
+ */
112
+ export interface NumberFormatRatio {
113
+ type: "ratio";
114
+ ratioType: NumberRatioType;
115
+ baseFormatOptions: NumberFormatOptions;
116
+ }
117
+ export type NumberRatioType = "PERCENTAGE" | "PER_MILLE" | "BASIS_POINTS";
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,6CAA6C,mCAAoC;AAE/F,iBAAiB,6BAA6B;CAC5C,MAAM;CACN,YAAY;AACb;AAED,YAAY,mCACR,uBACA,0BACA,uBACA,2BACA,yBACA,oBACA,uBACA,oBACA;;;;AAKJ,iBAAiB,oBAAoB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA,WAAW;CACX,eAAe;AAChB;;;;AAKD,YAAY,uBACR,aACA,eACA,gBACA;;;;AAKJ,YAAY,qBAAqB,SAAS,UAAU;;;;AAKpD,iBAAiB,qBAAqB;CACpC,MAAM;CACN,mBAAmB;AACpB;;;;AAKD,iBAAiB,wBAAwB;CACvC,MAAM;CACN,QAAQ;AACT;;;;AAKD,iBAAiB,qBAAqB;CACpC,MAAM;CACN,mBAAmB;CACnB,OAAO;CACP,cAAc;AACf;AAED,YAAY,4BAA4B,aAAa;;;;AAKrD,iBAAiB,yBAAyB;CACxC,MAAM;CACN,mBAAmB;CACnB,MAAM;AACP;;;;AAKD,iBAAiB,uBAAuB;CACtC,MAAM;CACN,mBAAmB;CACnB,MAAM;AACP;;;;AAKD,iBAAiB,kBAAkB;CACjC,MAAM;CACN,mBAAmB;CACnB,OAAO;AACR;AAED,iBAAiB,MAAM;CACrB,SAAS;CACT,UAAU;AACX;;;;AAKD,iBAAiB,qBAAqB;CACpC,MAAM;CACN,aAAa;CACb,YAAY;CACZ,WAAW;AACZ;AAED,YAAY,sBAAsB,sBAAsB;AAExD,iBAAiB,oBAAoB;CACnC,MAAM;CACN;AACD;AAED,iBAAiB,eAAe;CAC9B,MAAM;AACP;AAED,YAAY,oBACR,SACA,UACA,YACA,YACA;AACJ,YAAY,oBAAoB,YAAY;;;;AAK5C,iBAAiB,kBAAkB;CACjC,MAAM;CACN,WAAW;CACX,mBAAmB;AACpB;AAED,YAAY,kBAAkB,cAAc,aAAa;;;;AAKzD,iBAAiB,kBAAkB;CACjC,MAAM;CACN,WAAW;CACX,mBAAmB;AACpB;AAED,YAAY,kBAAkB,eAAe,cAAc","names":[],"sources":["../../../../src/ontology/valueFormatting/PropertyNumberFormattingRule.ts"],"version":3,"file":"PropertyNumberFormattingRule.d.ts"}
@@ -0,0 +1,8 @@
1
+ import type { PropertyBooleanFormattingRule } from "./PropertyBooleanFormattingRule.js";
2
+ import type { PropertyDateFormattingRule, PropertyTimestampFormattingRule } from "./PropertyDateAndTimestampFormattingRule.js";
3
+ import type { PropertyKnownTypeFormattingRule } from "./PropertyKnownTypeFormattingRule.js";
4
+ import type { PropertyNumberFormattingRule } from "./PropertyNumberFormattingRule.js";
5
+ /**
6
+ * Formatting configuration for property values.
7
+ */
8
+ export type PropertyValueFormattingRule = PropertyNumberFormattingRule | PropertyTimestampFormattingRule | PropertyDateFormattingRule | PropertyBooleanFormattingRule | PropertyKnownTypeFormattingRule;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,qCAAqC,oCAAqC;AACxF,cACE,4BACA,uCACK,6CAA8C;AACrD,cAAc,uCAAuC,sCAAuC;AAC5F,cAAc,oCAAoC,mCAAoC;;;;AAKtF,YAAY,8BACR,+BACA,kCACA,6BACA,gCACA","names":[],"sources":["../../../../src/ontology/valueFormatting/PropertyValueFormattingRule.ts"],"version":3,"file":"PropertyValueFormattingRule.d.ts"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Reference to another property value or a string constant.
3
+ */
4
+ export type PropertyTypeReferenceOrStringConstant = StringConstant | PropertyTypeReference;
5
+ export interface StringConstant {
6
+ type: "constant";
7
+ value: string;
8
+ }
9
+ export interface PropertyTypeReference {
10
+ type: "propertyType";
11
+ propertyApiName: string;
12
+ }