@arcgis/core 5.2.0-next.16 → 5.2.0-next.17

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 (99) hide show
  1. package/arcgisGlobal.d.ts +3 -0
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/00bcb04934972179b9ca.js +1 -0
  4. package/assets/esri/core/workers/chunks/073ee52705ea326fecfb.js +1 -0
  5. package/assets/esri/core/workers/chunks/{282930645ce525d5bc92.js → 0e81b6aa64d5491870b2.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{4162a2bb774e6ba2c0db.js → 0fb685f385e91d0f0601.js} +1 -1
  7. package/assets/esri/core/workers/chunks/11d1af758e2140095b10.js +1 -0
  8. package/assets/esri/core/workers/chunks/{a8ef7acb6d3d1f45e14c.js → 29e6f4b19c3da9129439.js} +1 -1
  9. package/assets/esri/core/workers/chunks/31c4128b23968575feca.js +1 -0
  10. package/assets/esri/core/workers/chunks/35a508a9311689d8df52.js +1 -0
  11. package/assets/esri/core/workers/chunks/3a35779cae6a11cde51b.js +1 -0
  12. package/assets/esri/core/workers/chunks/3a526e1d18490b99332f.js +1 -0
  13. package/assets/esri/core/workers/chunks/3e89f487c5851c954d8b.js +1 -0
  14. package/assets/esri/core/workers/chunks/{cf9a132c4c37e62de3d7.js → 50c88e2545380800381f.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{a892b3be70f482bef0ba.js → 57a6572d440d2c62432b.js} +1 -1
  16. package/assets/esri/core/workers/chunks/6849282c4a5cd733779d.js +1 -0
  17. package/assets/esri/core/workers/chunks/{2b781de7b467c61849b2.js → 6a21a22b08f968fa8d60.js} +1 -1
  18. package/assets/esri/core/workers/chunks/8104ac2eee69d79ada86.js +1 -0
  19. package/assets/esri/core/workers/chunks/{1c689bb502657b1f173b.js → 9d59cc5c0a63a4e41d99.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{91c0de3950991d81b7f2.js → 9de673a04c70bd47047e.js} +1 -1
  21. package/assets/esri/core/workers/chunks/a195f569eada3a8736be.js +1 -0
  22. package/assets/esri/core/workers/chunks/{9da1a514e042eb642d35.js → a32651777e4f07df5b6a.js} +1 -1
  23. package/assets/esri/core/workers/chunks/a3c5b754a6fa0f4250bf.js +1 -0
  24. package/assets/esri/core/workers/chunks/a59a1fdcd37a875f179b.js +1 -0
  25. package/assets/esri/core/workers/chunks/{ac7ecd90330090c90005.js → aeeee92b86554962711e.js} +1 -1
  26. package/assets/esri/core/workers/chunks/b0e4af49fc968b0a910f.js +1 -0
  27. package/assets/esri/core/workers/chunks/b466af9019f10420115e.js +1 -0
  28. package/assets/esri/core/workers/chunks/bb9232d9f63ec0c32447.js +1 -0
  29. package/assets/esri/core/workers/chunks/bf9eca7dd107bdb06614.js +1 -0
  30. package/assets/esri/core/workers/chunks/cbe8adc100582e746a8c.js +1 -0
  31. package/assets/esri/core/workers/chunks/{a1509e2e7809b6754b4f.js → d523af1db620b5381c99.js} +1 -1
  32. package/assets/esri/core/workers/chunks/d5a0e3a73df827dc7b06.js +1 -0
  33. package/assets/esri/core/workers/chunks/d670e134348954ce465d.js +1 -0
  34. package/assets/esri/core/workers/chunks/e3ea4b7217df16592def.js +1 -0
  35. package/assets/esri/core/workers/chunks/{c538435216d253f7702e.js → f23351a04643c464be84.js} +1 -1
  36. package/assets/esri/core/workers/chunks/f3d331da3c61af5c5a2f.js +1 -0
  37. package/assets/esri/core/workers/chunks/{68b77b36daae2b4b4237.js → f3fe865506fd7428eb6d.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{a4d918b47cd4ee0e1666.js → f8cfd0045d06aa24beec.js} +1 -1
  39. package/config.js +1 -1
  40. package/kernel.js +1 -1
  41. package/layers/graphics/sources/MemorySource.js +1 -1
  42. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  43. package/networks/CircuitManager.d.ts +247 -1
  44. package/networks/UnitIdentifierManager.d.ts +40 -3
  45. package/networks/UtilityNetwork.d.ts +0 -11
  46. package/networks/support/Circuit.d.ts +0 -1
  47. package/networks/support/CircuitLocation.d.ts +0 -1
  48. package/networks/support/CircuitPath.d.ts +0 -1
  49. package/networks/support/CircuitPathConnectivityElement.d.ts +0 -1
  50. package/networks/support/CircuitSection.d.ts +0 -1
  51. package/networks/support/NamedTraceConfiguration.d.ts +1 -7
  52. package/networks/support/Subcircuit.d.ts +0 -1
  53. package/networks/support/UNTraceConfiguration.d.ts +0 -4
  54. package/networks/support/jsonTypes.d.ts +1 -1
  55. package/networks/support/typeUtils.d.ts +10 -1
  56. package/networks/support/typeUtils.js +1 -1
  57. package/package.json +1 -1
  58. package/rest/networks/circuits/support/CircuitTraceResult.d.ts +0 -1
  59. package/rest/networks/circuits/support/CircuitVerifyResult.d.ts +0 -1
  60. package/rest/networks/support/TelecomNetworkElement.d.ts +0 -1
  61. package/rest/networks/support/TraceLocation.d.ts +1 -11
  62. package/rest/networks/support/TraceParameters.d.ts +1 -7
  63. package/rest/networks/support/TraceResult.d.ts +0 -2
  64. package/rest/networks/support/TraverseAssociationsParameters.d.ts +69 -0
  65. package/rest/networks/support/TraverseAssociationsParameters.js +2 -0
  66. package/rest/networks/support/TraverseAssociationsResult.d.ts +39 -0
  67. package/rest/networks/support/TraverseAssociationsResult.js +2 -0
  68. package/rest/networks/traverseAssociations.d.ts +21 -0
  69. package/rest/networks/traverseAssociations.js +2 -0
  70. package/rest/networks/unitIdentifiers/support/UnitQueryResult.d.ts +0 -1
  71. package/support/revision.js +1 -1
  72. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  73. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  74. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  75. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  76. package/views/draw/DrawTool.js +1 -1
  77. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +3 -2
  78. package/assets/esri/core/workers/chunks/01ba5319cac3e0f14205.js +0 -1
  79. package/assets/esri/core/workers/chunks/05e1f1628a3726eca03d.js +0 -1
  80. package/assets/esri/core/workers/chunks/1d38b2fcd85ac9ebd7c6.js +0 -1
  81. package/assets/esri/core/workers/chunks/1effde6a39ef0d4af525.js +0 -1
  82. package/assets/esri/core/workers/chunks/1ff57bf19f021f5fd246.js +0 -1
  83. package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +0 -1
  84. package/assets/esri/core/workers/chunks/3ecb906322a6a5c8c93b.js +0 -1
  85. package/assets/esri/core/workers/chunks/3f67162456a1f02190fa.js +0 -1
  86. package/assets/esri/core/workers/chunks/4e4419282c4bf7ee4678.js +0 -1
  87. package/assets/esri/core/workers/chunks/609edb4da427ec37bcf7.js +0 -1
  88. package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +0 -1
  89. package/assets/esri/core/workers/chunks/7c61b18e43c789aaecc6.js +0 -1
  90. package/assets/esri/core/workers/chunks/8dcb3e77f76d8396706b.js +0 -1
  91. package/assets/esri/core/workers/chunks/a3195521a83565c7c2d3.js +0 -1
  92. package/assets/esri/core/workers/chunks/b0212df1fe8d9448f3d6.js +0 -1
  93. package/assets/esri/core/workers/chunks/b590402170ae289290d7.js +0 -1
  94. package/assets/esri/core/workers/chunks/bfa6f4c08e7571bb1f37.js +0 -1
  95. package/assets/esri/core/workers/chunks/c5e172d3baf5414868f0.js +0 -1
  96. package/assets/esri/core/workers/chunks/cf41a66fb97c1076fb34.js +0 -1
  97. package/assets/esri/core/workers/chunks/f23e995320674b32e142.js +0 -1
  98. package/assets/esri/core/workers/chunks/f3fd40df92e59f7c687c.js +0 -1
  99. package/assets/esri/core/workers/chunks/fa1336b60278017d2525.js +0 -1
@@ -57,7 +57,6 @@ export default class UNTraceConfiguration extends UNTraceConfigurationSuperclass
57
57
  *
58
58
  * This option is only honored for circuit traces.
59
59
  *
60
- * @beta
61
60
  * @since 4.34
62
61
  */
63
62
  accessor circuitName: string | null | undefined;
@@ -102,7 +101,6 @@ export default class UNTraceConfiguration extends UNTraceConfigurationSuperclass
102
101
  *
103
102
  * This option is only honored for path traces.
104
103
  *
105
- * @beta
106
104
  * @since 4.34
107
105
  */
108
106
  accessor inferConnectivity: boolean | null | undefined;
@@ -113,7 +111,6 @@ export default class UNTraceConfiguration extends UNTraceConfigurationSuperclass
113
111
  *
114
112
  * This option is only honored for path or circuit traces.
115
113
  *
116
- * @beta
117
114
  * @since 4.34
118
115
  */
119
116
  accessor maxHops: number | null | undefined;
@@ -125,7 +122,6 @@ export default class UNTraceConfiguration extends UNTraceConfigurationSuperclass
125
122
  *
126
123
  * This option is only honored for path traces.
127
124
  *
128
- * @beta
129
125
  * @since 4.34
130
126
  */
131
127
  accessor numPaths: number | null | undefined;
@@ -977,7 +977,7 @@ export interface PropagatorJSON {
977
977
  */
978
978
  export interface ResultType {
979
979
  /**
980
- * Specifies the return type for the trace. `paths` and `circuits` are reserved for future use.
980
+ * Specifies the return type for the trace.
981
981
  *
982
982
  * @since 5.0
983
983
  */
@@ -43,4 +43,13 @@ export type AssociationJsonType = "connectivity" | "junctionJunctionConnectivity
43
43
  export type AssociationListPopupType = "attachment" | "connectivity" | "container" | "content" | "structure";
44
44
 
45
45
  /** @since 5.0 */
46
- export type ValidationType = "normal" | "rebuild" | "force-rebuild";
46
+ export type ValidationType = "normal" | "rebuild" | "force-rebuild";
47
+
48
+ /** @since 5.2 */
49
+ export type TraverseType = "unspecified" | "dirty-area-expansion" | "first-containers" | "spatial-parents" | "top-containers" | "errors-not-modified" | "modified-objects";
50
+
51
+ /** @since 5.2 */
52
+ export type DirtyStatusFilterType = "none" | "dirty" | "notDirty";
53
+
54
+ /** @since 5.2 */
55
+ export type ErrorStatusFilterType = "none" | "inError" | "notInError";
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{JSONMap as n}from"../../core/jsonMap.js";const t=new n({Clean:"clean",Dirty:"dirty",Invalid:"invalid",Deleted:"deleted"}),e=new n({Physical:"physical",Virtual:"virtual"}),i=new n({consumers:"consumers",providers:"providers","consumers and providers":"consumers-and-providers",none:"none"}),o=new n({"Start and End":"start-and-end",Start:"start",Midspan:"midspan",End:"end"}),c=new n({Available:"available",Consumed:"consumed",Reserved:"reserved"}),r=new n({startingPoint:"starting-point",barrier:"barrier",stoppingPoint:"stopping-point"}),a=new n({connected:"connected",upstream:"upstream",downstream:"downstream",shortestPath:"shortest-path",subnetwork:"subnetwork",subnetworkController:"subnetwork-controller",loops:"loops",isolation:"isolation",path:"path",circuit:"circuit"}),s="{00000000-0000-0000-0000-000000000000}",d=new n({junctionJunctionConnectivity:"junction-junction-connectivity",connectivity:"connectivity",attachment:"attachment",containment:"containment",junctionEdgeFromConnectivity:"junction-edge-from-connectivity",junctionEdgeMidspanConnectivity:"junction-edge-midspan-connectivity",junctionEdgeToConnectivity:"junction-edge-to-connectivity"}),u={connectivity:1,"junction-junction-connectivity":1,containment:2,attachment:3,"junction-edge-from-connectivity":4,"junction-edge-midspan-connectivity":5,"junction-edge-to-connectivity":6},l=new n({normal:"normal",rebuild:"rebuild",forceRebuild:"force-rebuild"});export{u as AssociationTypeEnum,i as CircuitHierarchyKebabDict,o as CircuitSectionRoleKebabDict,t as CircuitStatusKebabDict,e as CircuitTypeKebabDict,d as associationTypeKebabDict,s as nullGuid,c as subcircuitStateKebabDict,r as traceLocationTypeKebabDict,a as traceTypeKebabDict,l as validationTypeKebabDict};
2
+ import{JSONMap as n}from"../../core/jsonMap.js";const t=new n({Clean:"clean",Dirty:"dirty",Invalid:"invalid",Deleted:"deleted"}),e=new n({Physical:"physical",Virtual:"virtual"}),i=new n({consumers:"consumers",providers:"providers","consumers and providers":"consumers-and-providers",none:"none"}),o=new n({"Start and End":"start-and-end",Start:"start",Midspan:"midspan",End:"end"}),r=new n({Available:"available",Consumed:"consumed",Reserved:"reserved"}),c=new n({startingPoint:"starting-point",barrier:"barrier",stoppingPoint:"stopping-point"}),a=new n({connected:"connected",upstream:"upstream",downstream:"downstream",shortestPath:"shortest-path",subnetwork:"subnetwork",subnetworkController:"subnetwork-controller",loops:"loops",isolation:"isolation",path:"path",circuit:"circuit"}),s="{00000000-0000-0000-0000-000000000000}",d=new n({junctionJunctionConnectivity:"junction-junction-connectivity",connectivity:"connectivity",attachment:"attachment",containment:"containment",junctionEdgeFromConnectivity:"junction-edge-from-connectivity",junctionEdgeMidspanConnectivity:"junction-edge-midspan-connectivity",junctionEdgeToConnectivity:"junction-edge-to-connectivity"}),u={connectivity:1,"junction-junction-connectivity":1,containment:2,attachment:3,"junction-edge-from-connectivity":4,"junction-edge-midspan-connectivity":5,"junction-edge-to-connectivity":6},p=new n({normal:"normal",rebuild:"rebuild",forceRebuild:"force-rebuild"}),l=new n({unspecified:"unspecified",dirtyAreaExpansion:"dirty-area-expansion",firstContainers:"first-containers",spatialParents:"spatial-parents",topContainers:"top-containers",errorsNotModified:"errors-not-modified",modifiedObjects:"modified-objects"}),m=new n({none:"none",dirty:"dirty",notDirty:"not-dirty"}),v=new n({none:"none",inError:"in-error",notInError:"not-in-error"});export{u as AssociationTypeEnum,i as CircuitHierarchyKebabDict,o as CircuitSectionRoleKebabDict,t as CircuitStatusKebabDict,e as CircuitTypeKebabDict,d as associationTypeKebabDict,m as dirtyStatusFilterTypeKebabDict,v as errorStatusFilterTypeKebabDict,s as nullGuid,r as subcircuitStateKebabDict,c as traceLocationTypeKebabDict,a as traceTypeKebabDict,l as traverseTypeKebabDict,p as validationTypeKebabDict};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/core",
3
- "version": "5.2.0-next.16",
3
+ "version": "5.2.0-next.17",
4
4
  "homepage": "https://js.arcgis.com",
5
5
  "description": "ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API",
6
6
  "keywords": [
@@ -19,7 +19,6 @@ export interface CircuitTraceResultProperties extends Partial<Pick<CircuitTraceR
19
19
  * Represents the result of a circuit trace with the "circuits" result type.
20
20
  * Used in the telecom domain network.
21
21
  *
22
- * @beta
23
22
  * @since 4.34
24
23
  */
25
24
  export default class CircuitTraceResult extends JSONSupport {
@@ -12,7 +12,6 @@ export interface CircuitVerifyResultProperties extends Partial<Pick<CircuitVerif
12
12
  * The result of a circuit [CircuitManager.verify()](https://developers.arcgis.com/javascript/latest/references/core/networks/CircuitManager/#verify) operation on a particular circuit
13
13
  * in a telecom domain network.
14
14
  *
15
- * @beta
16
15
  * @since 4.34
17
16
  * @see [UtilityNetwork](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/)
18
17
  * @see [CircuitManager](https://developers.arcgis.com/javascript/latest/references/core/networks/CircuitManager/)
@@ -8,7 +8,6 @@ export interface TelecomNetworkElementProperties extends NetworkElementPropertie
8
8
  * [firstUnit](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TelecomNetworkElement/#firstUnit) and [lastUnit](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TelecomNetworkElement/#lastUnit).
9
9
  * This class is used to represent network elements in a telecom domain network.
10
10
  *
11
- * @beta
12
11
  * @since 4.34
13
12
  */
14
13
  export default class TelecomNetworkElement extends NetworkElement {
@@ -17,7 +17,6 @@ export default class TraceLocation extends TraceLocationSuperclass {
17
17
  * The first unit in a grouped object for the trace location.
18
18
  * Used in Telecom domain networks.
19
19
  *
20
- * @beta
21
20
  * @since 4.34
22
21
  */
23
22
  accessor firstUnit: number | null | undefined;
@@ -33,15 +32,12 @@ export default class TraceLocation extends TraceLocationSuperclass {
33
32
  * The last unit in a grouped object for the trace location.
34
33
  * Used in Telecom domain networks.
35
34
  *
36
- * @beta
37
35
  * @since 4.34
38
36
  */
39
37
  accessor lastUnit: number | null | undefined;
40
38
  /**
41
39
  * The ID of the network source the trace location belongs to.
42
40
  * This is returned when a circuit trace returns a path with start and stop locations.
43
- *
44
- * @beta
45
41
  */
46
42
  accessor networkSourceId: number | null | undefined;
47
43
  /**
@@ -78,13 +74,7 @@ export default class TraceLocation extends TraceLocationSuperclass {
78
74
  * @see [Terminal](https://developers.arcgis.com/javascript/latest/references/core/networks/support/Terminal/)
79
75
  */
80
76
  accessor terminalId: number | null | undefined;
81
- /**
82
- * The type of the trace location; `starting-point` defines where the trace should start and `barrier` defines where the trace should stop.
83
- *
84
- * > [!WARNING]
85
- * >
86
- * > The `stopping-point` type is reserved for future use.
87
- */
77
+ /** The type of the trace location; `starting-point` defines where the trace should start and `barrier` defines where the trace should stop. */
88
78
  accessor type: TraceLocationType;
89
79
  }
90
80
  declare const TraceLocationSuperclass: typeof JSONSupport & typeof ClonableMixin
@@ -59,12 +59,6 @@ export default class TraceParameters extends JSONSupport {
59
59
  */
60
60
  get traceLocations(): TraceLocation[];
61
61
  set traceLocations(value: TraceLocationProperties[]);
62
- /**
63
- * The [traceType](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceParameters/#traceType) defined in this trace configuration.
64
- *
65
- * > [!WARNING]
66
- * >
67
- * > The `path` and `circuit` types are reserved for future use.
68
- */
62
+ /** The [traceType](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceParameters/#traceType) defined in this trace configuration. */
69
63
  accessor traceType: TraceType | null | undefined;
70
64
  }
@@ -25,7 +25,6 @@ export default class TraceResult extends JSONSupport {
25
25
  * An array of circuits returned by the trace. Used in the telecom domain network.
26
26
  * This is returned only if the "circuits" result type is defined in the trace configuration.
27
27
  *
28
- * @beta
29
28
  * @since 4.34
30
29
  */
31
30
  get circuits(): CircuitTraceResult[] | null | undefined;
@@ -52,7 +51,6 @@ export default class TraceResult extends JSONSupport {
52
51
  /**
53
52
  * The paths returned by a path trace.
54
53
  *
55
- * @beta
56
54
  * @since 4.34
57
55
  */
58
56
  get paths(): CircuitPath[] | null | undefined;
@@ -0,0 +1,69 @@
1
+ import type NetworkElement from "./NetworkElement.js";
2
+ import type { JSONSupport } from "../../../core/JSONSupport.js";
3
+ import type { DirtyStatusFilterType, ErrorStatusFilterType } from "../../../networks/support/typeUtils.js";
4
+
5
+ export interface TraverseAssociationsParametersProperties extends Partial<Pick<TraverseAssociationsParameters, "direction" | "dirtyStatusFilter" | "elements" | "errorStatusFilter" | "gdbVersion" | "maxDepth" | "stopAtFirstSpatial">> {
6
+ /**
7
+ * The date/timestamp (in UTC) to execute the function. This could be used to run the function in a moment in the past or in long transaction mode (undo/redo). Applicable to branch versioned datasets only.
8
+ *
9
+ * @see [Learn more about branch versioning](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/data-management-strategies.htm#ESRI_SECTION1_6FA2CFB5F9484FF096740D653C674B5D).
10
+ */
11
+ moment?: (Date | number | string) | null;
12
+ }
13
+
14
+ /**
15
+ * TraverseAssociationsParameters describes the optional parameters to execute the [traverseAssociations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/traverseAssociations/) function, which returns a list of [associations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/Association/) and [objects](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsResult/) filtered by the parameters set.
16
+ *
17
+ * @since 5.2
18
+ * @see [Association](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/Association/)
19
+ * @see [TraverseAssociationsResult](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsResult/)
20
+ * @see [traverseAssociations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/traverseAssociations/)
21
+ * @example
22
+ * // Define the TraverseAssociationsParameters
23
+ * const traverseAssociationsParameters = new TraverseAssociationsParameters({
24
+ * direction: "ascending",
25
+ * stopAtFirstSpatial: false,
26
+ * elements: [
27
+ * {
28
+ * networkSourceId: 10,
29
+ * globalId: "{456C46BC-C7A2-4963-8670-FE2B6B299758}",
30
+ * },
31
+ * ],
32
+ * });
33
+ *
34
+ * // Traverse associations
35
+ * const response = await traverseAssociations(networkServiceUrl, queryAssociationsParameters);
36
+ *
37
+ * // Print out the first association and first object
38
+ * console.log(response.associations[0]);
39
+ * console.log(response.objects[0]);
40
+ */
41
+ export default class TraverseAssociationsParameters extends JSONSupport {
42
+ constructor(properties?: TraverseAssociationsParametersProperties);
43
+ /** Specifies the direction of the association traversal. */
44
+ accessor direction: [
45
+ "ascending" | "descending"
46
+ ] | null | undefined;
47
+ /** Specifies whether to filter based on the dirty status of the association. Possible values: none | dirty | notDirty */
48
+ accessor dirtyStatusFilter: DirtyStatusFilterType | null | undefined;
49
+ /** The [NetworkElements](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/NetworkElement/) for which the association traversal is initiated. */
50
+ accessor elements: NetworkElement[] | null | undefined;
51
+ /** Specifies whether to filter associations based on the error code. Possible values: none | inError | notInError */
52
+ accessor errorStatusFilter: ErrorStatusFilterType | null | undefined;
53
+ /** The geodatabase version to execute the function against. Defaults to `SDE.DEFAULT`, if no version is provided. */
54
+ accessor gdbVersion: string | null | undefined;
55
+ /** Specifies how many hops through the association graph are allowed in either the ascending or descending `direction`. Defaults to MAX_INT. */
56
+ accessor maxDepth: number | null | undefined;
57
+ /**
58
+ * The date/timestamp (in UTC) to execute the function. This could be used to run the function in a moment in the past or in long transaction mode (undo/redo). Applicable to branch versioned datasets only.
59
+ *
60
+ * @see [Learn more about branch versioning](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/data-management-strategies.htm#ESRI_SECTION1_6FA2CFB5F9484FF096740D653C674B5D).
61
+ */
62
+ get moment(): Date | null | undefined;
63
+ set moment(value: (Date | number | string) | null | undefined);
64
+ /**
65
+ * If `true`, the traversal of associations from nonspatial object to feature will stop when a spatial feature is encountered.
66
+ * The traversal will stop at the feature and will not traverse to the next nonspatial object.
67
+ */
68
+ accessor stopAtFirstSpatial: boolean | null | undefined;
69
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{__decorate as t}from"tslib";import{JSONSupport as e}from"../../../core/JSONSupport.js";import{property as r,subclass as o}from"../../../core/accessorSupport/decorators.js";import{ensureClass as p}from"../../../core/accessorSupport/ensureType.js";import{traverseTypeKebabDict as s,dirtyStatusFilterTypeKebabDict as i,errorStatusFilterTypeKebabDict as a}from"../../../networks/support/typeUtils.js";var n;let y=n=class extends e{static from(t){return p(n,t)}constructor(t){super(t)}};t([r({json:{type:[Object],write:{writer:(t,e)=>e.elements=JSON.stringify(t??[])}}})],y.prototype,"elements",void 0),t([r({type:String,json:{write:!0}})],y.prototype,"gdbVersion",void 0),t([r({type:Date,json:{type:Number,write:{writer:(t,e)=>{e.moment=t?.getTime()}}}})],y.prototype,"moment",void 0),t([r({type:[s.apiValues],json:{type:s.jsonValues,read:s.read,write:s.write}})],y.prototype,"type",void 0),t([r({type:i.apiValues,json:{type:i.jsonValues,read:i.read,write:i.write}})],y.prototype,"dirtyStatusFilter",void 0),t([r({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],y.prototype,"errorStatusFilter",void 0),t([r({type:Boolean,json:{write:!0}})],y.prototype,"stopAtFirstSpatial",void 0),t([r({type:String,json:{write:!0}})],y.prototype,"direction",void 0),t([r({type:Number,json:{write:!0}})],y.prototype,"maxDepth",void 0),y=n=t([o("esri.rest.networks.support.TraverseAssociationsParameters")],y);const m=y;export{m as default};
@@ -0,0 +1,39 @@
1
+ import type Association from "./Association.js";
2
+ import type { JSONSupport } from "../../../core/JSONSupport.js";
3
+ import type { UnitIdentifier } from "../../../networks/support/jsonTypes.js";
4
+ import type { AssociationProperties } from "./Association.js";
5
+
6
+ export interface TraverseAssociationsResultProperties extends Partial<Pick<TraverseAssociationsResult, "objects">> {
7
+ /** List of [associations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/Association/) returned filtered based on the input parameters in [TraverseAssociationsParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsParameters/). */
8
+ associations?: AssociationProperties[];
9
+ }
10
+
11
+ /**
12
+ * Defines the results of the [traverseAssociations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/traverseAssociations/) function which takes in [TraverseAssociationsParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsParameters/) and returns a [TraverseAssociationsResult](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsResult/).
13
+ * The result includes [associations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/Association/) and [UnitIdentifiers](https://developers.arcgis.com/javascript/latest/references/core/networks/support/jsonTypes/#UnitIdentifier) filtered by the parameters set.
14
+ *
15
+ * @since 5.2
16
+ * @see [Association](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/Association/)
17
+ * @see [traverseAssociations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/traverseAssociations/)
18
+ * @example
19
+ * const traverseAssociationsParameters = new TraverseAssociationsParameters({
20
+ * direction: "ascending",
21
+ * stopAtFirstSpatial: false,
22
+ * elements: [
23
+ * {
24
+ * networkSourceId: 19,
25
+ * globalId: "{AE323515-8E6F-4CC2-B9A8-1DB963E769AB}"
26
+ * }
27
+ * ]
28
+ * });
29
+ *
30
+ * const result = await traverseAssociations(networkServiceUrl, traverseAssociationsParameters);
31
+ */
32
+ export default class TraverseAssociationsResult extends JSONSupport {
33
+ constructor(properties?: TraverseAssociationsResultProperties);
34
+ /** List of [associations](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/Association/) returned filtered based on the input parameters in [TraverseAssociationsParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsParameters/). */
35
+ get associations(): Association[];
36
+ set associations(value: AssociationProperties[]);
37
+ /** Contains IDs for the objects that are returned during the traversal process based on the input parameters in [TraverseAssociationsParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsParameters/). */
38
+ accessor objects: UnitIdentifier[] | null | undefined;
39
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{__decorate as o}from"tslib";import{JSONSupport as s}from"../../../core/JSONSupport.js";import{property as t,subclass as r}from"../../../core/accessorSupport/decorators.js";import e from"./Association.js";let i=class extends s{constructor(o){super(o),this.associations=[],this.objects=null}};o([t({type:[e],json:{write:!0}})],i.prototype,"associations",void 0),o([t({type:[Object],json:{write:!0}})],i.prototype,"objects",void 0),i=o([r("esri.rest.networks.support.TraverseAssociationsResult")],i);const p=i;export{p as default};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The utility network associations model connectivity, containment, and structure relations between assets.
3
+ * This function traverses the associations table and return associations and objects based on input parameters.
4
+ *
5
+ * @since 5.2
6
+ * @see [Utility Network Associations](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/associations.htm)
7
+ * @see [REST Traverse Associations](https://developers.arcgis.com/rest/services-reference/enterprise/traverse-associations-utility-network-server/)
8
+ */
9
+ import type TraverseAssociationsParameters from "./support/TraverseAssociationsParameters.js";
10
+ import type TraverseAssociationsResult from "./support/TraverseAssociationsResult.js";
11
+ import type { RequestOptions } from "../../request/types.js";
12
+
13
+ /**
14
+ * Returns associations and objects traversed and filtered by the [TraverseAssociationsParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraverseAssociationsParameters/) in a utility network.
15
+ *
16
+ * @param url - URL to the ArcGIS Server REST resource that represents a utility network.
17
+ * @param parameters - The list of parameters for the call.
18
+ * @param requestOptions - Additional [options](https://developers.arcgis.com/javascript/latest/references/core/request/#request) to be used for the data request.
19
+ * @returns {Promise<module:esri/rest/networks/support/TraverseAssociationsResult>} When resolved, returns the traverse results which could include associations and network objects.
20
+ */
21
+ export function traverseAssociations(url: string, parameters: TraverseAssociationsParameters, requestOptions?: RequestOptions): Promise<TraverseAssociationsResult>;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import t from"../../request.js";import{parseUrl as o,encode as e,asValidOptions as s}from"../utils.js";import r from"./support/TraverseAssociationsResult.js";async function n(n,m,a){const i=o(n),l=m.toJSON();if(m.elements){const t=JSON.stringify(m.elements.map(t=>({networkSourceId:t.networkSourceId,globalId:t.globalId,terminalId:t.terminalId})));l.elements=t}m.moment||(l.moment=Date.now());const c={...l,f:"json"},p=e({...i.query,...c}),u=s(p,{...a,method:"post"}),d=`${i.path}/associations/traverse`,{data:f}=await t(d,u);return r.fromJSON(f)}export{n as traverseAssociations};
@@ -7,7 +7,6 @@ export interface UnitQueryResultProperties extends Partial<Pick<UnitQueryResult,
7
7
  * The result of a unit identifier [UnitIdentifierManager.query()](https://developers.arcgis.com/javascript/latest/references/core/networks/UnitIdentifierManager/#query) operation on a particular unit
8
8
  * container in a telecom domain network.
9
9
  *
10
- * @beta
11
10
  * @since 4.34
12
11
  * @see [UtilityNetwork](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/)
13
12
  * @see [UnitIdentifierManager](https://developers.arcgis.com/javascript/latest/references/core/networks/UnitIdentifierManager/)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- const e="20260612",b="38e5ee911086ebe0dbe1b91eee74b18e9fbc513b";export{e as buildDate,b as commitHash};
2
+ const b="20260613",a="13c440015747f4914e45549bc1b893a17aa0edbb";export{b as buildDate,a as commitHash};