@osdk/api 2.6.0-beta.9 → 2.6.0-rc.15

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 (73) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/build/browser/OsdkObjectFrom.js.map +1 -1
  3. package/build/browser/derivedProperties/DerivedProperty.js.map +1 -1
  4. package/build/browser/index.js +0 -1
  5. package/build/browser/index.js.map +1 -1
  6. package/build/browser/objectSet/ObjectSet.js.map +1 -1
  7. package/build/browser/objectSet/ObjectSet.test.js +8 -30
  8. package/build/browser/objectSet/ObjectSet.test.js.map +1 -1
  9. package/build/browser/ontology/ObjectTypeDefinition.js.map +1 -1
  10. package/build/browser/ontology/QueryDefinition.js.map +1 -1
  11. package/build/cjs/{ObjectSet-D7jdSkmi.d.cts → ObjectSet-DMlVNQym.d.cts} +5 -206
  12. package/build/cjs/index.cjs +0 -4
  13. package/build/cjs/index.cjs.map +1 -1
  14. package/build/cjs/index.d.cts +6 -4
  15. package/build/cjs/public/unstable.d.cts +2 -2
  16. package/build/esm/OsdkObjectFrom.js.map +1 -1
  17. package/build/esm/derivedProperties/DerivedProperty.js.map +1 -1
  18. package/build/esm/index.js +0 -1
  19. package/build/esm/index.js.map +1 -1
  20. package/build/esm/objectSet/ObjectSet.js.map +1 -1
  21. package/build/esm/objectSet/ObjectSet.test.js +8 -30
  22. package/build/esm/objectSet/ObjectSet.test.js.map +1 -1
  23. package/build/esm/ontology/ObjectTypeDefinition.js.map +1 -1
  24. package/build/esm/ontology/QueryDefinition.js.map +1 -1
  25. package/build/types/OsdkObjectFrom.d.ts +0 -4
  26. package/build/types/OsdkObjectFrom.d.ts.map +1 -1
  27. package/build/types/derivedProperties/DerivedProperty.d.ts +1 -10
  28. package/build/types/derivedProperties/DerivedProperty.d.ts.map +1 -1
  29. package/build/types/index.d.ts +0 -7
  30. package/build/types/index.d.ts.map +1 -1
  31. package/build/types/objectSet/ObjectSet.d.ts +3 -3
  32. package/build/types/objectSet/ObjectSet.d.ts.map +1 -1
  33. package/build/types/ontology/ObjectTypeDefinition.d.ts +0 -2
  34. package/build/types/ontology/ObjectTypeDefinition.d.ts.map +1 -1
  35. package/build/types/ontology/QueryDefinition.d.ts +3 -1
  36. package/build/types/ontology/QueryDefinition.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/build/browser/ontology/valueFormatting/PropertyBooleanFormattingRule.js +0 -2
  39. package/build/browser/ontology/valueFormatting/PropertyBooleanFormattingRule.js.map +0 -1
  40. package/build/browser/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js +0 -2
  41. package/build/browser/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js.map +0 -1
  42. package/build/browser/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js +0 -2
  43. package/build/browser/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js.map +0 -1
  44. package/build/browser/ontology/valueFormatting/PropertyNumberFormattingRule.js +0 -2
  45. package/build/browser/ontology/valueFormatting/PropertyNumberFormattingRule.js.map +0 -1
  46. package/build/browser/ontology/valueFormatting/PropertyValueFormattingRule.js +0 -2
  47. package/build/browser/ontology/valueFormatting/PropertyValueFormattingRule.js.map +0 -1
  48. package/build/browser/ontology/valueFormatting/PropertyValueFormattingUtils.js +0 -2
  49. package/build/browser/ontology/valueFormatting/PropertyValueFormattingUtils.js.map +0 -1
  50. package/build/esm/ontology/valueFormatting/PropertyBooleanFormattingRule.js +0 -2
  51. package/build/esm/ontology/valueFormatting/PropertyBooleanFormattingRule.js.map +0 -1
  52. package/build/esm/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js +0 -2
  53. package/build/esm/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.js.map +0 -1
  54. package/build/esm/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js +0 -2
  55. package/build/esm/ontology/valueFormatting/PropertyKnownTypeFormattingRule.js.map +0 -1
  56. package/build/esm/ontology/valueFormatting/PropertyNumberFormattingRule.js +0 -2
  57. package/build/esm/ontology/valueFormatting/PropertyNumberFormattingRule.js.map +0 -1
  58. package/build/esm/ontology/valueFormatting/PropertyValueFormattingRule.js +0 -2
  59. package/build/esm/ontology/valueFormatting/PropertyValueFormattingRule.js.map +0 -1
  60. package/build/esm/ontology/valueFormatting/PropertyValueFormattingUtils.js +0 -2
  61. package/build/esm/ontology/valueFormatting/PropertyValueFormattingUtils.js.map +0 -1
  62. package/build/types/ontology/valueFormatting/PropertyBooleanFormattingRule.d.ts +0 -5
  63. package/build/types/ontology/valueFormatting/PropertyBooleanFormattingRule.d.ts.map +0 -1
  64. package/build/types/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.d.ts +0 -37
  65. package/build/types/ontology/valueFormatting/PropertyDateAndTimestampFormattingRule.d.ts.map +0 -1
  66. package/build/types/ontology/valueFormatting/PropertyKnownTypeFormattingRule.d.ts +0 -8
  67. package/build/types/ontology/valueFormatting/PropertyKnownTypeFormattingRule.d.ts.map +0 -1
  68. package/build/types/ontology/valueFormatting/PropertyNumberFormattingRule.d.ts +0 -117
  69. package/build/types/ontology/valueFormatting/PropertyNumberFormattingRule.d.ts.map +0 -1
  70. package/build/types/ontology/valueFormatting/PropertyValueFormattingRule.d.ts +0 -8
  71. package/build/types/ontology/valueFormatting/PropertyValueFormattingRule.d.ts.map +0 -1
  72. package/build/types/ontology/valueFormatting/PropertyValueFormattingUtils.d.ts +0 -12
  73. package/build/types/ontology/valueFormatting/PropertyValueFormattingUtils.d.ts.map +0 -1
@@ -1,117 +0,0 @@
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";
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
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;
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- {"mappings":";;;AAmBA,YAAY,wCACR,iBACA;AAEJ,iBAAiB,eAAe;CAC9B,MAAM;CACN;AACD;AAED,iBAAiB,sBAAsB;CACrC,MAAM;CACN;AACD","names":[],"sources":["../../../../src/ontology/valueFormatting/PropertyValueFormattingUtils.ts"],"version":3,"file":"PropertyValueFormattingUtils.d.ts"}