@azure-rest/iot-device-update 1.0.1-alpha.20241219.1 → 1.1.0-alpha.20241220.1

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 (133) hide show
  1. package/dist/browser/clientDefinitions.d.ts +51 -51
  2. package/dist/browser/clientDefinitions.js.map +1 -1
  3. package/dist/browser/deviceUpdate.d.ts +12 -1
  4. package/dist/browser/deviceUpdate.d.ts.map +1 -1
  5. package/dist/browser/deviceUpdate.js +31 -9
  6. package/dist/browser/deviceUpdate.js.map +1 -1
  7. package/dist/browser/isUnexpected.d.ts +51 -51
  8. package/dist/browser/isUnexpected.js +37 -30
  9. package/dist/browser/isUnexpected.js.map +1 -1
  10. package/dist/browser/logger.d.ts +2 -0
  11. package/dist/browser/logger.d.ts.map +1 -0
  12. package/dist/browser/logger.js +5 -0
  13. package/dist/browser/logger.js.map +1 -0
  14. package/dist/browser/models.d.ts +11 -10
  15. package/dist/browser/models.d.ts.map +1 -1
  16. package/dist/browser/models.js.map +1 -1
  17. package/dist/browser/outputModels.d.ts +53 -5
  18. package/dist/browser/outputModels.d.ts.map +1 -1
  19. package/dist/browser/outputModels.js.map +1 -1
  20. package/dist/browser/paginateHelper.d.ts +27 -2
  21. package/dist/browser/paginateHelper.d.ts.map +1 -1
  22. package/dist/browser/paginateHelper.js +98 -1
  23. package/dist/browser/paginateHelper.js.map +1 -1
  24. package/dist/browser/parameters.d.ts +7 -5
  25. package/dist/browser/parameters.d.ts.map +1 -1
  26. package/dist/browser/parameters.js.map +1 -1
  27. package/dist/browser/pollingHelper.d.ts +67 -2
  28. package/dist/browser/pollingHelper.d.ts.map +1 -1
  29. package/dist/browser/pollingHelper.js +65 -9
  30. package/dist/browser/pollingHelper.js.map +1 -1
  31. package/dist/browser/responses.d.ts +50 -62
  32. package/dist/browser/responses.d.ts.map +1 -1
  33. package/dist/browser/responses.js.map +1 -1
  34. package/dist/commonjs/clientDefinitions.d.ts +51 -51
  35. package/dist/commonjs/clientDefinitions.js.map +1 -1
  36. package/dist/commonjs/deviceUpdate.d.ts +12 -1
  37. package/dist/commonjs/deviceUpdate.d.ts.map +1 -1
  38. package/dist/commonjs/deviceUpdate.js +31 -9
  39. package/dist/commonjs/deviceUpdate.js.map +1 -1
  40. package/dist/commonjs/isUnexpected.d.ts +51 -51
  41. package/dist/commonjs/isUnexpected.js +37 -30
  42. package/dist/commonjs/isUnexpected.js.map +1 -1
  43. package/dist/commonjs/logger.d.ts +2 -0
  44. package/dist/commonjs/logger.d.ts.map +1 -0
  45. package/dist/commonjs/logger.js +8 -0
  46. package/dist/commonjs/logger.js.map +1 -0
  47. package/dist/commonjs/models.d.ts +11 -10
  48. package/dist/commonjs/models.d.ts.map +1 -1
  49. package/dist/commonjs/models.js.map +1 -1
  50. package/dist/commonjs/outputModels.d.ts +53 -5
  51. package/dist/commonjs/outputModels.d.ts.map +1 -1
  52. package/dist/commonjs/outputModels.js.map +1 -1
  53. package/dist/commonjs/paginateHelper.d.ts +27 -2
  54. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  55. package/dist/commonjs/paginateHelper.js +99 -2
  56. package/dist/commonjs/paginateHelper.js.map +1 -1
  57. package/dist/commonjs/parameters.d.ts +7 -5
  58. package/dist/commonjs/parameters.d.ts.map +1 -1
  59. package/dist/commonjs/parameters.js.map +1 -1
  60. package/dist/commonjs/pollingHelper.d.ts +67 -2
  61. package/dist/commonjs/pollingHelper.d.ts.map +1 -1
  62. package/dist/commonjs/pollingHelper.js +64 -8
  63. package/dist/commonjs/pollingHelper.js.map +1 -1
  64. package/dist/commonjs/responses.d.ts +50 -62
  65. package/dist/commonjs/responses.d.ts.map +1 -1
  66. package/dist/commonjs/responses.js.map +1 -1
  67. package/dist/esm/clientDefinitions.d.ts +51 -51
  68. package/dist/esm/clientDefinitions.js.map +1 -1
  69. package/dist/esm/deviceUpdate.d.ts +12 -1
  70. package/dist/esm/deviceUpdate.d.ts.map +1 -1
  71. package/dist/esm/deviceUpdate.js +31 -9
  72. package/dist/esm/deviceUpdate.js.map +1 -1
  73. package/dist/esm/isUnexpected.d.ts +51 -51
  74. package/dist/esm/isUnexpected.js +37 -30
  75. package/dist/esm/isUnexpected.js.map +1 -1
  76. package/dist/esm/logger.d.ts +2 -0
  77. package/dist/esm/logger.d.ts.map +1 -0
  78. package/dist/esm/logger.js +5 -0
  79. package/dist/esm/logger.js.map +1 -0
  80. package/dist/esm/models.d.ts +11 -10
  81. package/dist/esm/models.d.ts.map +1 -1
  82. package/dist/esm/models.js.map +1 -1
  83. package/dist/esm/outputModels.d.ts +53 -5
  84. package/dist/esm/outputModels.d.ts.map +1 -1
  85. package/dist/esm/outputModels.js.map +1 -1
  86. package/dist/esm/paginateHelper.d.ts +27 -2
  87. package/dist/esm/paginateHelper.d.ts.map +1 -1
  88. package/dist/esm/paginateHelper.js +98 -1
  89. package/dist/esm/paginateHelper.js.map +1 -1
  90. package/dist/esm/parameters.d.ts +7 -5
  91. package/dist/esm/parameters.d.ts.map +1 -1
  92. package/dist/esm/parameters.js.map +1 -1
  93. package/dist/esm/pollingHelper.d.ts +67 -2
  94. package/dist/esm/pollingHelper.d.ts.map +1 -1
  95. package/dist/esm/pollingHelper.js +65 -9
  96. package/dist/esm/pollingHelper.js.map +1 -1
  97. package/dist/esm/responses.d.ts +50 -62
  98. package/dist/esm/responses.d.ts.map +1 -1
  99. package/dist/esm/responses.js.map +1 -1
  100. package/dist/react-native/clientDefinitions.d.ts +51 -51
  101. package/dist/react-native/clientDefinitions.js.map +1 -1
  102. package/dist/react-native/deviceUpdate.d.ts +12 -1
  103. package/dist/react-native/deviceUpdate.d.ts.map +1 -1
  104. package/dist/react-native/deviceUpdate.js +31 -9
  105. package/dist/react-native/deviceUpdate.js.map +1 -1
  106. package/dist/react-native/isUnexpected.d.ts +51 -51
  107. package/dist/react-native/isUnexpected.js +37 -30
  108. package/dist/react-native/isUnexpected.js.map +1 -1
  109. package/dist/react-native/logger.d.ts +2 -0
  110. package/dist/react-native/logger.d.ts.map +1 -0
  111. package/dist/react-native/logger.js +5 -0
  112. package/dist/react-native/logger.js.map +1 -0
  113. package/dist/react-native/models.d.ts +11 -10
  114. package/dist/react-native/models.d.ts.map +1 -1
  115. package/dist/react-native/models.js.map +1 -1
  116. package/dist/react-native/outputModels.d.ts +53 -5
  117. package/dist/react-native/outputModels.d.ts.map +1 -1
  118. package/dist/react-native/outputModels.js.map +1 -1
  119. package/dist/react-native/paginateHelper.d.ts +27 -2
  120. package/dist/react-native/paginateHelper.d.ts.map +1 -1
  121. package/dist/react-native/paginateHelper.js +98 -1
  122. package/dist/react-native/paginateHelper.js.map +1 -1
  123. package/dist/react-native/parameters.d.ts +7 -5
  124. package/dist/react-native/parameters.d.ts.map +1 -1
  125. package/dist/react-native/parameters.js.map +1 -1
  126. package/dist/react-native/pollingHelper.d.ts +67 -2
  127. package/dist/react-native/pollingHelper.d.ts.map +1 -1
  128. package/dist/react-native/pollingHelper.js +65 -9
  129. package/dist/react-native/pollingHelper.js.map +1 -1
  130. package/dist/react-native/responses.d.ts +50 -62
  131. package/dist/react-native/responses.d.ts.map +1 -1
  132. package/dist/react-native/responses.js.map +1 -1
  133. package/package.json +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport interface UpdateId {\n /** Update provider. */\n provider: string;\n /** Update name. */\n name: string;\n /** Update version. */\n version: string;\n}\n\nexport interface ImportUpdateInputItem {\n /** Import manifest metadata like source URL, file size/hashes, etc. */\n importManifest: ImportManifestMetadata;\n /** Friendly update name. */\n friendlyName?: string;\n /** One or more update file properties like filename and source URL. */\n files?: Array<FileImportMetadata>;\n}\n\nexport interface ImportManifestMetadata {\n /** Azure Blob location from which the import manifest can be downloaded by Device Update for IoT Hub. This is typically a read-only SAS-protected blob URL with an expiration set to at least 4 hours. */\n url: string;\n /** File size in number of bytes. */\n sizeInBytes: number;\n /** A JSON object containing the hash(es) of the file. At least SHA256 hash is required. This object can be thought of as a set of key-value pairs where the key is the hash algorithm, and the value is the hash of the file calculated using that algorithm. */\n hashes: Record<string, string>;\n}\n\nexport interface FileImportMetadata {\n /** Update file name as specified inside import manifest. */\n filename: string;\n /** Azure Blob location from which the update file can be downloaded by Device Update for IoT Hub. This is typically a read-only SAS-protected blob URL with an expiration set to at least 4 hours. */\n url: string;\n}\n\nexport interface UpdateInfo {\n /** Update identifier. */\n updateId: UpdateId;\n /** Update description. */\n description?: string;\n /** Friendly update name. */\n friendlyName?: string;\n}\n\nexport interface PatchBody {\n /** The device class friendly name. Friendly name can be 1-100 characters, alphanumeric, dot, and dash. */\n friendlyName: string;\n}\n\nexport interface Deployment {\n /** The caller-provided deployment identifier. This cannot be longer than 73 characters, must be all lower-case, and cannot contain '&', '^', '[', ']', '{', '}', '|', '<', '>', forward slash, backslash, or double quote. The Updates view in the Azure Portal IoT Hub resource generates a GUID for deploymentId when you create a deployment. */\n deploymentId: string;\n /** The deployment start datetime. */\n startDateTime: Date | string;\n /** Update information for the update in the deployment. */\n update: UpdateInfo;\n /** The group identity for the devices the deployment is intended to update. */\n groupId: string;\n /** The device class subgroups the deployment is compatible with and subgroup deployments have been created for. This is not provided by the caller during CreateOrUpdateDeployment but is automatically determined by Device Update */\n deviceClassSubgroups?: Array<string>;\n /** Boolean flag indicating whether the deployment was canceled. */\n isCanceled?: boolean;\n /** Boolean flag indicating whether the deployment has been retried. */\n isRetried?: boolean;\n /** The rollback policy for the deployment. */\n rollbackPolicy?: CloudInitiatedRollbackPolicy;\n /** Boolean flag indicating whether the deployment is a rollback deployment. */\n isCloudInitiatedRollback?: boolean;\n}\n\nexport interface CloudInitiatedRollbackPolicy {\n /** Update to rollback to. */\n update: UpdateInfo;\n /** Failure conditions to initiate rollback policy. */\n failure: CloudInitiatedRollbackPolicyFailure;\n}\n\nexport interface CloudInitiatedRollbackPolicyFailure {\n /** Percentage of devices that failed. */\n devicesFailedPercentage: number;\n /** Number of devices that failed. */\n devicesFailedCount: number;\n}\n\nexport interface LogCollection {\n /** The log collection id. */\n operationId?: string;\n /** Array of Device Update agent ids */\n deviceList: Array<DeviceUpdateAgentId>;\n /** Description of the diagnostics operation. */\n description?: string;\n /** The timestamp when the operation was created. */\n createdDateTime?: string;\n /** A timestamp for when the current state was entered. */\n lastActionDateTime?: string;\n /** Operation status. */\n status?: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n}\n\nexport interface DeviceUpdateAgentId {\n /** Device Id */\n deviceId: string;\n /** Module Id */\n moduleId?: string;\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Update identifier. */\nexport interface UpdateId {\n /** Update provider. */\n provider: string;\n /** Update name. */\n name: string;\n /** Update version. */\n version: string;\n}\n\n/** Import update input item metadata. */\nexport interface ImportUpdateInputItem {\n /** Import manifest metadata like source URL, file size/hashes, etc. */\n importManifest: ImportManifestMetadata;\n /** Friendly update name. */\n friendlyName?: string;\n /** One or more update file properties like filename and source URL. */\n files?: Array<FileImportMetadata>;\n}\n\n/** Metadata describing the import manifest, a document which describes the files and other metadata about an update version. */\nexport interface ImportManifestMetadata {\n /** Azure Blob location from which the import manifest can be downloaded by Device Update for IoT Hub. This is typically a read-only SAS-protected blob URL with an expiration set to at least 4 hours. */\n url: string;\n /** File size in number of bytes. */\n sizeInBytes: number;\n /** A JSON object containing the hash(es) of the file. At least SHA256 hash is required. This object can be thought of as a set of key-value pairs where the key is the hash algorithm, and the value is the hash of the file calculated using that algorithm. */\n hashes: Record<string, string>;\n}\n\n/** Metadata describing an update file. */\nexport interface FileImportMetadata {\n /** Update file name as specified inside import manifest. */\n filename: string;\n /** Azure Blob location from which the update file can be downloaded by Device Update for IoT Hub. This is typically a read-only SAS-protected blob URL with an expiration set to at least 4 hours. */\n url: string;\n}\n\n/** Update information. */\nexport interface UpdateInfo {\n /** Update identifier. */\n updateId: UpdateId;\n}\n\n/** Device Class JSON Merge Patch request body */\nexport interface PatchBody {\n /** The device class friendly name. Friendly name can be 1-100 characters, alphanumeric, dot, and dash. */\n friendlyName: string;\n}\n\n/** Deployment metadata. */\nexport interface Deployment {\n /** The caller-provided deployment identifier. This cannot be longer than 73 characters, must be all lower-case, and cannot contain '&', '^', '[', ']', '{', '}', '|', '<', '>', forward slash, backslash, or double quote. The Updates view in the Azure Portal IoT Hub resource generates a GUID for deploymentId when you create a deployment. */\n deploymentId: string;\n /** The deployment start datetime. */\n startDateTime: Date | string;\n /** Update information for the update in the deployment. */\n update: UpdateInfo;\n /** The group identity for the devices the deployment is intended to update. */\n groupId: string;\n /** The device class subgroups the deployment is compatible with and subgroup deployments have been created for. This is not provided by the caller during CreateOrUpdateDeployment but is automatically determined by Device Update */\n deviceClassSubgroups?: Array<string>;\n /** Boolean flag indicating whether the deployment was canceled. */\n isCanceled?: boolean;\n /** Boolean flag indicating whether the deployment has been retried. */\n isRetried?: boolean;\n /** The rollback policy for the deployment. */\n rollbackPolicy?: CloudInitiatedRollbackPolicy;\n /** Boolean flag indicating whether the deployment is a rollback deployment. */\n isCloudInitiatedRollback?: boolean;\n}\n\n/** Rollback policy for deployment */\nexport interface CloudInitiatedRollbackPolicy {\n /** Update to rollback to. */\n update: UpdateInfo;\n /** Failure conditions to initiate rollback policy. */\n failure: CloudInitiatedRollbackPolicyFailure;\n}\n\n/** Failure conditions to initiate rollback policy */\nexport interface CloudInitiatedRollbackPolicyFailure {\n /** Percentage of devices that failed. */\n devicesFailedPercentage: number;\n /** Number of devices that failed. */\n devicesFailedCount: number;\n}\n\n/** Diagnostics request body */\nexport interface LogCollection {\n /** The log collection id. */\n operationId?: string;\n /** Array of Device Update agent ids */\n deviceList: Array<DeviceUpdateAgentId>;\n /** Description of the diagnostics operation. */\n description?: string;\n}\n\n/** Device Update agent id */\nexport interface DeviceUpdateAgentId {\n /** Device Id */\n deviceId: string;\n /** Module Id */\n moduleId?: string;\n}\n"]}
@@ -1,9 +1,11 @@
1
+ /** The list of updates. */
1
2
  export interface UpdateListOutput {
2
3
  /** The collection of pageable items. */
3
4
  value: Array<UpdateOutput>;
4
5
  /** The link to the next page of items. */
5
6
  nextLink?: string;
6
7
  }
8
+ /** Update metadata. */
7
9
  export interface UpdateOutput {
8
10
  /** Update identity. */
9
11
  updateId: UpdateIdOutput;
@@ -34,6 +36,7 @@ export interface UpdateOutput {
34
36
  /** Update ETag. */
35
37
  etag?: string;
36
38
  }
39
+ /** Update identifier. */
37
40
  export interface UpdateIdOutput {
38
41
  /** Update provider. */
39
42
  provider: string;
@@ -46,6 +49,7 @@ export interface InstructionsOutput {
46
49
  /** Collection of installation steps. */
47
50
  steps: Array<StepOutput>;
48
51
  }
52
+ /** Update install instruction step. */
49
53
  export interface StepOutput {
50
54
  /** Step type. */
51
55
  type?: "Inline" | "Reference";
@@ -60,10 +64,12 @@ export interface StepOutput {
60
64
  /** Referenced child update identity. Required if step type is reference. */
61
65
  updateId?: UpdateIdOutput;
62
66
  }
67
+ /** Common error response. */
63
68
  export interface ErrorResponseOutput {
64
69
  /** The error details. */
65
70
  error: ErrorModelOutput;
66
71
  }
72
+ /** Error details. */
67
73
  export interface ErrorModelOutput {
68
74
  /** Server defined error code. */
69
75
  code: string;
@@ -78,6 +84,7 @@ export interface ErrorModelOutput {
78
84
  /** Date and time in UTC when the error occurred. */
79
85
  occurredDateTime?: string;
80
86
  }
87
+ /** An object containing more specific information than the current object about the error. */
81
88
  export interface InnerErrorOutput {
82
89
  /** A more specific error code than what was provided by the containing error. */
83
90
  code: string;
@@ -88,12 +95,14 @@ export interface InnerErrorOutput {
88
95
  /** An object containing more specific information than the current object about the error. */
89
96
  innerError?: InnerErrorOutput;
90
97
  }
98
+ /** The list of strings with server paging support. */
91
99
  export interface StringsListOutput {
92
100
  /** The collection of pageable items. */
93
101
  value: Array<string>;
94
102
  /** The link to the next page of items. */
95
103
  nextLink?: string;
96
104
  }
105
+ /** Update file metadata. */
97
106
  export interface UpdateFileOutput extends UpdateFileBaseOutput {
98
107
  /** File identity, generated by server at import time. */
99
108
  fileId: string;
@@ -104,6 +113,7 @@ export interface UpdateFileOutput extends UpdateFileBaseOutput {
104
113
  /** File ETag. */
105
114
  etag?: string;
106
115
  }
116
+ /** Update file basic metadata. */
107
117
  export interface UpdateFileBaseOutput {
108
118
  /** File name. */
109
119
  fileName: string;
@@ -120,16 +130,19 @@ export interface UpdateFileBaseOutput {
120
130
  /** Optional file properties (not consumed by service but pass-through to device). */
121
131
  properties?: Record<string, string>;
122
132
  }
133
+ /** Download handler for utilizing related files to download payload file. */
123
134
  export interface UpdateFileDownloadHandlerOutput {
124
135
  /** Download handler identifier. */
125
136
  id: string;
126
137
  }
138
+ /** The list of operations with server paging support. */
127
139
  export interface UpdateOperationsListOutput {
128
140
  /** The collection of pageable items. */
129
141
  value: Array<UpdateOperationOutput>;
130
142
  /** The link to the next page of items. */
131
143
  nextLink?: string;
132
144
  }
145
+ /** Operation metadata. */
133
146
  export interface UpdateOperationOutput {
134
147
  /** Operation Id. */
135
148
  operationId: string;
@@ -150,20 +163,23 @@ export interface UpdateOperationOutput {
150
163
  /** Operation ETag. */
151
164
  etag?: string;
152
165
  }
166
+ /** Update information. */
153
167
  export interface UpdateInfoOutput {
154
168
  /** Update identifier. */
155
169
  updateId: UpdateIdOutput;
156
170
  /** Update description. */
157
- description?: string;
171
+ readonly description?: string;
158
172
  /** Friendly update name. */
159
- friendlyName?: string;
173
+ readonly friendlyName?: string;
160
174
  }
175
+ /** The list of device classes. */
161
176
  export interface DeviceClassesListOutput {
162
177
  /** The collection of pageable items. */
163
178
  value: Array<DeviceClassOutput>;
164
179
  /** The link to the next page of items. */
165
180
  nextLink?: string;
166
181
  }
182
+ /** Device class metadata. */
167
183
  export interface DeviceClassOutput {
168
184
  /** The device class identifier. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash. */
169
185
  deviceClassId: string;
@@ -174,30 +190,35 @@ export interface DeviceClassOutput {
174
190
  /** Update that is the highest version compatible with this device class. */
175
191
  bestCompatibleUpdate?: UpdateInfoOutput;
176
192
  }
193
+ /** The device class properties that are used to calculate the device class Id */
177
194
  export interface DeviceClassPropertiesOutput {
178
195
  /** The Device Update agent contract model. */
179
196
  contractModel?: ContractModelOutput;
180
197
  /** The compat properties of the device class. This object can be thought of as a set of key-value pairs where the key is the name of the compatibility property and the value is the value of the compatibility property. There will always be at least 1 compat property */
181
198
  compatProperties: Record<string, string>;
182
199
  }
200
+ /** The Device Update agent contract model. */
183
201
  export interface ContractModelOutput {
184
202
  /** The Device Update agent contract model Id of the device class. This is also used to calculate the device class Id. */
185
203
  id: string;
186
204
  /** The Device Update agent contract model name of the device class. Intended to be a more readable form of the contract model Id. */
187
205
  name: string;
188
206
  }
207
+ /** List of update information. */
189
208
  export interface UpdateInfoListOutput {
190
209
  /** The collection of pageable items. */
191
210
  value: Array<UpdateInfoOutput>;
192
211
  /** The link to the next page of items. */
193
212
  nextLink?: string;
194
213
  }
214
+ /** The list of devices. */
195
215
  export interface DevicesListOutput {
196
216
  /** The collection of pageable items. */
197
217
  value: Array<DeviceOutput>;
198
218
  /** The link to the next page of items. */
199
219
  nextLink?: string;
200
220
  }
221
+ /** Device metadata. */
201
222
  export interface DeviceOutput {
202
223
  /** Device identity. */
203
224
  deviceId: string;
@@ -220,6 +241,7 @@ export interface DeviceOutput {
220
241
  /** Last install result. */
221
242
  lastInstallResult?: InstallResultOutput;
222
243
  }
244
+ /** The install result of an update and any step results under it. */
223
245
  export interface InstallResultOutput {
224
246
  /** Install result code. */
225
247
  resultCode: number;
@@ -230,6 +252,7 @@ export interface InstallResultOutput {
230
252
  /** Array of step results */
231
253
  stepResults?: Array<StepResultOutput>;
232
254
  }
255
+ /** The step result under an update. */
233
256
  export interface StepResultOutput {
234
257
  /** The update that this step installs if it is of reference type. */
235
258
  update?: UpdateInfoOutput;
@@ -242,6 +265,7 @@ export interface StepResultOutput {
242
265
  /** A string containing further details about the install result */
243
266
  resultDetails?: string;
244
267
  }
268
+ /** Update compliance information. */
245
269
  export interface UpdateComplianceOutput {
246
270
  /** Total number of devices. */
247
271
  totalDeviceCount: number;
@@ -252,12 +276,14 @@ export interface UpdateComplianceOutput {
252
276
  /** Number of devices with update in-progress. */
253
277
  updatesInProgressDeviceCount: number;
254
278
  }
279
+ /** The list of groups. */
255
280
  export interface GroupsListOutput {
256
281
  /** The collection of pageable items. */
257
282
  value: Array<GroupOutput>;
258
283
  /** The link to the next page of items. */
259
284
  nextLink?: string;
260
285
  }
286
+ /** Group details. */
261
287
  export interface GroupOutput {
262
288
  /** Group identity. This is created from the value of the ADUGroup tag in the Iot Hub's device/module twin or $default for devices with no tag. */
263
289
  groupId: string;
@@ -276,12 +302,14 @@ export interface GroupOutput {
276
302
  /** The active deployment Ids for the group */
277
303
  deployments?: Array<string>;
278
304
  }
305
+ /** The list of updatable devices for a device class subgroup. */
279
306
  export interface DeviceClassSubgroupUpdatableDevicesListOutput {
280
307
  /** The collection of pageable items. */
281
308
  value: Array<DeviceClassSubgroupUpdatableDevicesOutput>;
282
309
  /** The link to the next page of items. */
283
310
  nextLink?: string;
284
311
  }
312
+ /** Device class subgroup, update information, and the number of devices for which the update is applicable. */
285
313
  export interface DeviceClassSubgroupUpdatableDevicesOutput {
286
314
  /** The group Id */
287
315
  groupId: string;
@@ -292,12 +320,14 @@ export interface DeviceClassSubgroupUpdatableDevicesOutput {
292
320
  /** Total number of devices for which the update is applicable. */
293
321
  deviceCount: number;
294
322
  }
323
+ /** The list of deployments. */
295
324
  export interface DeploymentsListOutput {
296
325
  /** The collection of pageable items. */
297
326
  value: Array<DeploymentOutput>;
298
327
  /** The link to the next page of items. */
299
328
  nextLink?: string;
300
329
  }
330
+ /** Deployment metadata. */
301
331
  export interface DeploymentOutput {
302
332
  /** The caller-provided deployment identifier. This cannot be longer than 73 characters, must be all lower-case, and cannot contain '&', '^', '[', ']', '{', '}', '|', '<', '>', forward slash, backslash, or double quote. The Updates view in the Azure Portal IoT Hub resource generates a GUID for deploymentId when you create a deployment. */
303
333
  deploymentId: string;
@@ -318,18 +348,21 @@ export interface DeploymentOutput {
318
348
  /** Boolean flag indicating whether the deployment is a rollback deployment. */
319
349
  isCloudInitiatedRollback?: boolean;
320
350
  }
351
+ /** Rollback policy for deployment */
321
352
  export interface CloudInitiatedRollbackPolicyOutput {
322
353
  /** Update to rollback to. */
323
354
  update: UpdateInfoOutput;
324
355
  /** Failure conditions to initiate rollback policy. */
325
356
  failure: CloudInitiatedRollbackPolicyFailureOutput;
326
357
  }
358
+ /** Failure conditions to initiate rollback policy */
327
359
  export interface CloudInitiatedRollbackPolicyFailureOutput {
328
360
  /** Percentage of devices that failed. */
329
361
  devicesFailedPercentage: number;
330
362
  /** Number of devices that failed. */
331
363
  devicesFailedCount: number;
332
364
  }
365
+ /** Deployment status metadata. */
333
366
  export interface DeploymentStatusOutput {
334
367
  /** The group identity */
335
368
  groupId: string;
@@ -340,6 +373,7 @@ export interface DeploymentStatusOutput {
340
373
  /** The collection of device class subgroup status objects */
341
374
  subgroupStatus: Array<DeviceClassSubgroupDeploymentStatusOutput>;
342
375
  }
376
+ /** Device class subgroup deployment status metadata. */
343
377
  export interface DeviceClassSubgroupDeploymentStatusOutput {
344
378
  /** The group identity */
345
379
  groupId: string;
@@ -360,12 +394,14 @@ export interface DeviceClassSubgroupDeploymentStatusOutput {
360
394
  /** The number of devices which have had their deployment canceled. */
361
395
  devicesCanceledCount?: number;
362
396
  }
397
+ /** The list of device class subgroups within a group. */
363
398
  export interface DeviceClassSubgroupsListOutput {
364
399
  /** The collection of pageable items. */
365
400
  value: Array<DeviceClassSubgroupOutput>;
366
401
  /** The link to the next page of items. */
367
402
  nextLink?: string;
368
403
  }
404
+ /** Device class subgroup details. A device class subgroup is a subset of devices in a group that share the same device class id. */
369
405
  export interface DeviceClassSubgroupOutput {
370
406
  /** Device class subgroup identity. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash. */
371
407
  deviceClassId: string;
@@ -378,12 +414,14 @@ export interface DeviceClassSubgroupOutput {
378
414
  /** The active deployment Id for the device class subgroup. */
379
415
  deploymentId?: string;
380
416
  }
417
+ /** The list of deployment device states. */
381
418
  export interface DeploymentDeviceStatesListOutput {
382
419
  /** The collection of pageable items. */
383
420
  value: Array<DeploymentDeviceStateOutput>;
384
421
  /** The link to the next page of items. */
385
422
  nextLink?: string;
386
423
  }
424
+ /** Deployment device status. */
387
425
  export interface DeploymentDeviceStateOutput {
388
426
  /** Device identity. */
389
427
  deviceId: string;
@@ -396,6 +434,7 @@ export interface DeploymentDeviceStateOutput {
396
434
  /** Deployment device state. */
397
435
  deviceState: "Succeeded" | "InProgress" | "Canceled" | "Failed";
398
436
  }
437
+ /** Operation metadata. */
399
438
  export interface DeviceOperationOutput {
400
439
  /** Operation Id. */
401
440
  operationId: string;
@@ -412,12 +451,14 @@ export interface DeviceOperationOutput {
412
451
  /** Operation ETag. */
413
452
  etag?: string;
414
453
  }
454
+ /** The list of device operations with server paging support. */
415
455
  export interface DeviceOperationsListOutput {
416
456
  /** The collection of pageable items. */
417
457
  value: Array<DeviceOperationOutput>;
418
458
  /** The link to the next page of items. */
419
459
  nextLink?: string;
420
460
  }
461
+ /** Diagnostics request body */
421
462
  export interface LogCollectionOutput {
422
463
  /** The log collection id. */
423
464
  operationId?: string;
@@ -426,24 +467,27 @@ export interface LogCollectionOutput {
426
467
  /** Description of the diagnostics operation. */
427
468
  description?: string;
428
469
  /** The timestamp when the operation was created. */
429
- createdDateTime?: string;
470
+ readonly createdDateTime?: string;
430
471
  /** A timestamp for when the current state was entered. */
431
- lastActionDateTime?: string;
472
+ readonly lastActionDateTime?: string;
432
473
  /** Operation status. */
433
- status?: "NotStarted" | "Running" | "Succeeded" | "Failed";
474
+ readonly status?: "NotStarted" | "Running" | "Succeeded" | "Failed";
434
475
  }
476
+ /** Device Update agent id */
435
477
  export interface DeviceUpdateAgentIdOutput {
436
478
  /** Device Id */
437
479
  deviceId: string;
438
480
  /** Module Id */
439
481
  moduleId?: string;
440
482
  }
483
+ /** The list of log collections with server paging support. */
441
484
  export interface LogCollectionListOutput {
442
485
  /** The collection of pageable items. */
443
486
  value: Array<LogCollectionOutput>;
444
487
  /** The link to the next page of items. */
445
488
  nextLink?: string;
446
489
  }
490
+ /** Device diagnostics operation detailed status */
447
491
  export interface LogCollectionOperationDetailedStatusOutput {
448
492
  /** The device diagnostics operation id. */
449
493
  operationId?: string;
@@ -458,6 +502,7 @@ export interface LogCollectionOperationDetailedStatusOutput {
458
502
  /** Device diagnostics operation description. */
459
503
  description?: string;
460
504
  }
505
+ /** Diagnostics operation device status */
461
506
  export interface LogCollectionOperationDeviceStatusOutput {
462
507
  /** Device id */
463
508
  deviceId: string;
@@ -472,12 +517,14 @@ export interface LogCollectionOperationDeviceStatusOutput {
472
517
  /** Log upload location */
473
518
  logLocation?: string;
474
519
  }
520
+ /** Array of Device Health, with server paging support. */
475
521
  export interface DeviceHealthListOutput {
476
522
  /** The collection of pageable items. */
477
523
  value: Array<DeviceHealthOutput>;
478
524
  /** The link to the next page of items. */
479
525
  nextLink?: string;
480
526
  }
527
+ /** Device Health */
481
528
  export interface DeviceHealthOutput {
482
529
  /** Device id */
483
530
  deviceId: string;
@@ -490,6 +537,7 @@ export interface DeviceHealthOutput {
490
537
  /** Array of health checks and their results */
491
538
  healthChecks: Array<HealthCheckOutput>;
492
539
  }
540
+ /** Health check */
493
541
  export interface HealthCheckOutput {
494
542
  /** Health check name */
495
543
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,wCAAwC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putModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport interface UpdateListOutput {\n /** The collection of pageable items. */\n value: Array<UpdateOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface UpdateOutput {\n /** Update identity. */\n updateId: UpdateIdOutput;\n /** Update description specified by creator. */\n description?: string;\n /** Friendly update name specified by importer. */\n friendlyName?: string;\n /** Whether the update can be deployed to a device on its own. */\n isDeployable?: boolean;\n /** Update type. Deprecated in latest import manifest schema. */\n updateType?: string;\n /** String interpreted by Device Update client to determine if the update is installed on the device. Deprecated in latest import manifest schema. */\n installedCriteria?: string;\n /** List of update compatibility information. */\n compatibility: Array<Record<string, string>>;\n /** Update install instructions. */\n instructions?: InstructionsOutput;\n /** List of update identities that reference this update. */\n referencedBy?: Array<UpdateIdOutput>;\n /** Update aggregate scan result (calculated from payload file scan results). */\n scanResult?: string;\n /** Schema version of manifest used to import the update. */\n manifestVersion: string;\n /** Date and time in UTC when the update was imported. */\n importedDateTime: string;\n /** Date and time in UTC when the update was created. */\n createdDateTime: string;\n /** Update ETag. */\n etag?: string;\n}\n\nexport interface UpdateIdOutput {\n /** Update provider. */\n provider: string;\n /** Update name. */\n name: string;\n /** Update version. */\n version: string;\n}\n\nexport interface InstructionsOutput {\n /** Collection of installation steps. */\n steps: Array<StepOutput>;\n}\n\nexport interface StepOutput {\n /** Step type. */\n type?: \"Inline\" | \"Reference\";\n /** Step description. */\n description?: string;\n /** Identity of handler that will execute this step. Required if step type is inline. */\n handler?: string;\n /** Parameters to be passed to handler during execution. */\n handlerProperties?: Record<string, unknown>;\n /** Collection of file names to be passed to handler during execution. Required if step type is inline. */\n files?: Array<string>;\n /** Referenced child update identity. Required if step type is reference. */\n updateId?: UpdateIdOutput;\n}\n\nexport interface ErrorResponseOutput {\n /** The error details. */\n error: ErrorModelOutput;\n}\n\nexport interface ErrorModelOutput {\n /** Server defined error code. */\n code: string;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of errors that led to the reported error. */\n details?: Array<ErrorModelOutput>;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorOutput;\n /** Date and time in UTC when the error occurred. */\n occurredDateTime?: string;\n}\n\nexport interface InnerErrorOutput {\n /** A more specific error code than what was provided by the containing error. */\n code: string;\n /** A human-readable representation of the error. */\n message?: string;\n /** The internal error or exception message. */\n errorDetail?: string;\n /** An object containing more specific information than the current object about the error. */\n innerError?: InnerErrorOutput;\n}\n\nexport interface StringsListOutput {\n /** The collection of pageable items. */\n value: Array<string>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface UpdateFileOutput extends UpdateFileBaseOutput {\n /** File identity, generated by server at import time. */\n fileId: string;\n /** Optional related files metadata used together DownloadHandler metadata to download payload file. */\n relatedFiles?: Array<UpdateFileBaseOutput>;\n /** Optional download handler for utilizing related files to download payload file. */\n downloadHandler?: UpdateFileDownloadHandlerOutput;\n /** File ETag. */\n etag?: string;\n}\n\nexport interface UpdateFileBaseOutput {\n /** File name. */\n fileName: string;\n /** File size in number of bytes. */\n sizeInBytes: number;\n /** Mapping of hashing algorithm to base64 encoded hash values. */\n hashes: Record<string, string>;\n /** File MIME type. */\n mimeType?: string;\n /** Anti-malware scan result. */\n scanResult?: string;\n /** Anti-malware scan details. */\n scanDetails?: string;\n /** Optional file properties (not consumed by service but pass-through to device). */\n properties?: Record<string, string>;\n}\n\nexport interface UpdateFileDownloadHandlerOutput {\n /** Download handler identifier. */\n id: string;\n}\n\nexport interface UpdateOperationsListOutput {\n /** The collection of pageable items. */\n value: Array<UpdateOperationOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface UpdateOperationOutput {\n /** Operation Id. */\n operationId: string;\n /** Operation status. */\n status: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** The update being imported or deleted. For import, this property will only be populated after import manifest is processed successfully. */\n update?: UpdateInfoOutput;\n /** Location of the imported update when operation is successful. */\n resourceLocation?: string;\n /** Operation error encountered, if any. */\n error?: ErrorModelOutput;\n /** Operation correlation identity that can used by Microsoft Support for troubleshooting. */\n traceId?: string;\n /** Date and time in UTC when the operation status was last updated. */\n lastActionDateTime: string;\n /** Date and time in UTC when the operation was created. */\n createdDateTime: string;\n /** Operation ETag. */\n etag?: string;\n}\n\nexport interface UpdateInfoOutput {\n /** Update identifier. */\n updateId: UpdateIdOutput;\n /** Update description. */\n description?: string;\n /** Friendly update name. */\n friendlyName?: string;\n}\n\nexport interface DeviceClassesListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceClassOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeviceClassOutput {\n /** The device class identifier. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash. */\n deviceClassId: string;\n /** The device class friendly name. This can be updated by callers after the device class has been automatically created. */\n friendlyName?: string;\n /** The device class properties that are used to calculate the device class Id */\n deviceClassProperties: DeviceClassPropertiesOutput;\n /** Update that is the highest version compatible with this device class. */\n bestCompatibleUpdate?: UpdateInfoOutput;\n}\n\nexport interface DeviceClassPropertiesOutput {\n /** The Device Update agent contract model. */\n contractModel?: ContractModelOutput;\n /** The compat properties of the device class. This object can be thought of as a set of key-value pairs where the key is the name of the compatibility property and the value is the value of the compatibility property. There will always be at least 1 compat property */\n compatProperties: Record<string, string>;\n}\n\nexport interface ContractModelOutput {\n /** The Device Update agent contract model Id of the device class. This is also used to calculate the device class Id. */\n id: string;\n /** The Device Update agent contract model name of the device class. Intended to be a more readable form of the contract model Id. */\n name: string;\n}\n\nexport interface UpdateInfoListOutput {\n /** The collection of pageable items. */\n value: Array<UpdateInfoOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DevicesListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeviceOutput {\n /** Device identity. */\n deviceId: string;\n /** Device module identity. */\n moduleId?: string;\n /** Device class identity. */\n deviceClassId: string;\n /** Device group identity. */\n groupId?: string;\n /** The update that device last attempted to install. */\n lastAttemptedUpdate?: UpdateInfoOutput;\n /** State of the device in its last deployment. */\n deploymentStatus?: \"Succeeded\" | \"InProgress\" | \"Canceled\" | \"Failed\";\n /** Currently installed update on device. */\n installedUpdate?: UpdateInfoOutput;\n /** Boolean flag indicating whether the latest update (the best compatible update for the device's device class and group) is installed on the device */\n onLatestUpdate: boolean;\n /** The deployment identifier for the last deployment to the device */\n lastDeploymentId?: string;\n /** Last install result. */\n lastInstallResult?: InstallResultOutput;\n}\n\nexport interface InstallResultOutput {\n /** Install result code. */\n resultCode: number;\n /** Install extended result code */\n extendedResultCode: number;\n /** A string containing further details about the install result */\n resultDetails?: string;\n /** Array of step results */\n stepResults?: Array<StepResultOutput>;\n}\n\nexport interface StepResultOutput {\n /** The update that this step installs if it is of reference type. */\n update?: UpdateInfoOutput;\n /** Step description. */\n description?: string;\n /** Install result code. */\n resultCode: number;\n /** Install extended result code */\n extendedResultCode: number;\n /** A string containing further details about the install result */\n resultDetails?: string;\n}\n\nexport interface UpdateComplianceOutput {\n /** Total number of devices. */\n totalDeviceCount: number;\n /** Number of devices on the latest update. */\n onLatestUpdateDeviceCount: number;\n /** Number of devices with a newer update available. */\n newUpdatesAvailableDeviceCount: number;\n /** Number of devices with update in-progress. */\n updatesInProgressDeviceCount: number;\n}\n\nexport interface GroupsListOutput {\n /** The collection of pageable items. */\n value: Array<GroupOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface GroupOutput {\n /** Group identity. This is created from the value of the ADUGroup tag in the Iot Hub's device/module twin or $default for devices with no tag. */\n groupId: string;\n /** Group type. */\n groupType: \"IoTHubTag\" | \"DefaultNoTag\";\n /** Date and time when the update was created. */\n createdDateTime: string;\n /** The number of devices in the group. */\n deviceCount?: number;\n /** The count of subgroups with new updates available. */\n subgroupsWithNewUpdatesAvailableCount?: number;\n /** The count of subgroups with updates in progress. */\n subgroupsWithUpdatesInProgressCount?: number;\n /** The count of subgroups with devices on the latest update. */\n subgroupsWithOnLatestUpdateCount?: number;\n /** The active deployment Ids for the group */\n deployments?: Array<string>;\n}\n\nexport interface DeviceClassSubgroupUpdatableDevicesListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceClassSubgroupUpdatableDevicesOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeviceClassSubgroupUpdatableDevicesOutput {\n /** The group Id */\n groupId: string;\n /** The device class subgroup's device class Id */\n deviceClassId: string;\n /** Update information. */\n update: UpdateInfoOutput;\n /** Total number of devices for which the update is applicable. */\n deviceCount: number;\n}\n\nexport interface DeploymentsListOutput {\n /** The collection of pageable items. */\n value: Array<DeploymentOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeploymentOutput {\n /** The caller-provided deployment identifier. This cannot be longer than 73 characters, must be all lower-case, and cannot contain '&', '^', '[', ']', '{', '}', '|', '<', '>', forward slash, backslash, or double quote. The Updates view in the Azure Portal IoT Hub resource generates a GUID for deploymentId when you create a deployment. */\n deploymentId: string;\n /** The deployment start datetime. */\n startDateTime: string;\n /** Update information for the update in the deployment. */\n update: UpdateInfoOutput;\n /** The group identity for the devices the deployment is intended to update. */\n groupId: string;\n /** The device class subgroups the deployment is compatible with and subgroup deployments have been created for. This is not provided by the caller during CreateOrUpdateDeployment but is automatically determined by Device Update */\n deviceClassSubgroups?: Array<string>;\n /** Boolean flag indicating whether the deployment was canceled. */\n isCanceled?: boolean;\n /** Boolean flag indicating whether the deployment has been retried. */\n isRetried?: boolean;\n /** The rollback policy for the deployment. */\n rollbackPolicy?: CloudInitiatedRollbackPolicyOutput;\n /** Boolean flag indicating whether the deployment is a rollback deployment. */\n isCloudInitiatedRollback?: boolean;\n}\n\nexport interface CloudInitiatedRollbackPolicyOutput {\n /** Update to rollback to. */\n update: UpdateInfoOutput;\n /** Failure conditions to initiate rollback policy. */\n failure: CloudInitiatedRollbackPolicyFailureOutput;\n}\n\nexport interface CloudInitiatedRollbackPolicyFailureOutput {\n /** Percentage of devices that failed. */\n devicesFailedPercentage: number;\n /** Number of devices that failed. */\n devicesFailedCount: number;\n}\n\nexport interface DeploymentStatusOutput {\n /** The group identity */\n groupId: string;\n /** The state of the deployment. */\n deploymentState: \"Active\" | \"ActiveWithSubgroupFailures\" | \"Failed\" | \"Inactive\" | \"Canceled\";\n /** The error details of the Failed state. This is not present if the deployment state is not Failed. */\n error?: ErrorModelOutput;\n /** The collection of device class subgroup status objects */\n subgroupStatus: Array<DeviceClassSubgroupDeploymentStatusOutput>;\n}\n\nexport interface DeviceClassSubgroupDeploymentStatusOutput {\n /** The group identity */\n groupId: string;\n /** The device class subgroup identity */\n deviceClassId: string;\n /** The state of the subgroup deployment. */\n deploymentState: \"Active\" | \"Failed\" | \"Inactive\" | \"Canceled\";\n /** The error details of the Failed state. This is not present if the deployment state is not Failed. */\n error?: ErrorModelOutput;\n /** The total number of devices in the deployment. */\n totalDevices?: number;\n /** The number of devices that are currently in deployment. */\n devicesInProgressCount?: number;\n /** The number of devices that have completed deployment with a failure. */\n devicesCompletedFailedCount?: number;\n /** The number of devices which have successfully completed deployment. */\n devicesCompletedSucceededCount?: number;\n /** The number of devices which have had their deployment canceled. */\n devicesCanceledCount?: number;\n}\n\nexport interface DeviceClassSubgroupsListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceClassSubgroupOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeviceClassSubgroupOutput {\n /** Device class subgroup identity. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash. */\n deviceClassId: string;\n /** Group identity. */\n groupId: string;\n /** Date and time when the device class subgroup was created. */\n createdDateTime: string;\n /** The number of devices in the device class subgroup. */\n deviceCount?: number;\n /** The active deployment Id for the device class subgroup. */\n deploymentId?: string;\n}\n\nexport interface DeploymentDeviceStatesListOutput {\n /** The collection of pageable items. */\n value: Array<DeploymentDeviceStateOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeploymentDeviceStateOutput {\n /** Device identity. */\n deviceId: string;\n /** Device module identity. */\n moduleId?: string;\n /** The number of times this deployment has been retried on this device. */\n retryCount: number;\n /** Boolean flag indicating whether this device is in a newer deployment and can no longer retry this deployment. */\n movedOnToNewDeployment: boolean;\n /** Deployment device state. */\n deviceState: \"Succeeded\" | \"InProgress\" | \"Canceled\" | \"Failed\";\n}\n\nexport interface DeviceOperationOutput {\n /** Operation Id. */\n operationId: string;\n /** Operation status. */\n status: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** Operation error encountered, if any. */\n error?: ErrorModelOutput;\n /** Operation correlation identity that can used by Microsoft Support for troubleshooting. */\n traceId?: string;\n /** Date and time in UTC when the operation status was last updated. */\n lastActionDateTime: string;\n /** Date and time in UTC when the operation was created. */\n createdDateTime: string;\n /** Operation ETag. */\n etag?: string;\n}\n\nexport interface DeviceOperationsListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceOperationOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface LogCollectionOutput {\n /** The log collection id. */\n operationId?: string;\n /** Array of Device Update agent ids */\n deviceList: Array<DeviceUpdateAgentIdOutput>;\n /** Description of the diagnostics operation. */\n description?: string;\n /** The timestamp when the operation was created. */\n createdDateTime?: string;\n /** A timestamp for when the current state was entered. */\n lastActionDateTime?: string;\n /** Operation status. */\n status?: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n}\n\nexport interface DeviceUpdateAgentIdOutput {\n /** Device Id */\n deviceId: string;\n /** Module Id */\n moduleId?: string;\n}\n\nexport interface LogCollectionListOutput {\n /** The collection of pageable items. */\n value: Array<LogCollectionOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface LogCollectionOperationDetailedStatusOutput {\n /** The device diagnostics operation id. */\n operationId?: string;\n /** The timestamp when the operation was created. */\n createdDateTime?: string;\n /** A timestamp for when the current state was entered. */\n lastActionDateTime?: string;\n /** Operation status. */\n status?: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** Status of the devices in the operation */\n deviceStatus?: Array<LogCollectionOperationDeviceStatusOutput>;\n /** Device diagnostics operation description. */\n description?: string;\n}\n\nexport interface LogCollectionOperationDeviceStatusOutput {\n /** Device id */\n deviceId: string;\n /** Module id. */\n moduleId?: string;\n /** Log upload status */\n status: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** Log upload result code */\n resultCode?: string;\n /** Log upload extended result code */\n extendedResultCode?: string;\n /** Log upload location */\n logLocation?: string;\n}\n\nexport interface DeviceHealthListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceHealthOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\nexport interface DeviceHealthOutput {\n /** Device id */\n deviceId: string;\n /** Module id */\n moduleId?: string;\n /** Aggregate device health state */\n state: \"healthy\" | \"unhealthy\";\n /** Digital twin model Id */\n digitalTwinModelId?: string;\n /** Array of health checks and their results */\n healthChecks: Array<HealthCheckOutput>;\n}\n\nexport interface HealthCheckOutput {\n /** Health check name */\n name?: string;\n /** Health check result */\n result?: \"success\" | \"userError\";\n}\n"]}
1
+ {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** The list of updates. */\nexport interface UpdateListOutput {\n /** The collection of pageable items. */\n value: Array<UpdateOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Update metadata. */\nexport interface UpdateOutput {\n /** Update identity. */\n updateId: UpdateIdOutput;\n /** Update description specified by creator. */\n description?: string;\n /** Friendly update name specified by importer. */\n friendlyName?: string;\n /** Whether the update can be deployed to a device on its own. */\n isDeployable?: boolean;\n /** Update type. Deprecated in latest import manifest schema. */\n updateType?: string;\n /** String interpreted by Device Update client to determine if the update is installed on the device. Deprecated in latest import manifest schema. */\n installedCriteria?: string;\n /** List of update compatibility information. */\n compatibility: Array<Record<string, string>>;\n /** Update install instructions. */\n instructions?: InstructionsOutput;\n /** List of update identities that reference this update. */\n referencedBy?: Array<UpdateIdOutput>;\n /** Update aggregate scan result (calculated from payload file scan results). */\n scanResult?: string;\n /** Schema version of manifest used to import the update. */\n manifestVersion: string;\n /** Date and time in UTC when the update was imported. */\n importedDateTime: string;\n /** Date and time in UTC when the update was created. */\n createdDateTime: string;\n /** Update ETag. */\n etag?: string;\n}\n\n/** Update identifier. */\nexport interface UpdateIdOutput {\n /** Update provider. */\n provider: string;\n /** Update name. */\n name: string;\n /** Update version. */\n version: string;\n}\n\nexport interface InstructionsOutput {\n /** Collection of installation steps. */\n steps: Array<StepOutput>;\n}\n\n/** Update install instruction step. */\nexport interface StepOutput {\n /** Step type. */\n type?: \"Inline\" | \"Reference\";\n /** Step description. */\n description?: string;\n /** Identity of handler that will execute this step. Required if step type is inline. */\n handler?: string;\n /** Parameters to be passed to handler during execution. */\n handlerProperties?: Record<string, unknown>;\n /** Collection of file names to be passed to handler during execution. Required if step type is inline. */\n files?: Array<string>;\n /** Referenced child update identity. Required if step type is reference. */\n updateId?: UpdateIdOutput;\n}\n\n/** Common error response. */\nexport interface ErrorResponseOutput {\n /** The error details. */\n error: ErrorModelOutput;\n}\n\n/** Error details. */\nexport interface ErrorModelOutput {\n /** Server defined error code. */\n code: string;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of errors that led to the reported error. */\n details?: Array<ErrorModelOutput>;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorOutput;\n /** Date and time in UTC when the error occurred. */\n occurredDateTime?: string;\n}\n\n/** An object containing more specific information than the current object about the error. */\nexport interface InnerErrorOutput {\n /** A more specific error code than what was provided by the containing error. */\n code: string;\n /** A human-readable representation of the error. */\n message?: string;\n /** The internal error or exception message. */\n errorDetail?: string;\n /** An object containing more specific information than the current object about the error. */\n innerError?: InnerErrorOutput;\n}\n\n/** The list of strings with server paging support. */\nexport interface StringsListOutput {\n /** The collection of pageable items. */\n value: Array<string>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Update file metadata. */\nexport interface UpdateFileOutput extends UpdateFileBaseOutput {\n /** File identity, generated by server at import time. */\n fileId: string;\n /** Optional related files metadata used together DownloadHandler metadata to download payload file. */\n relatedFiles?: Array<UpdateFileBaseOutput>;\n /** Optional download handler for utilizing related files to download payload file. */\n downloadHandler?: UpdateFileDownloadHandlerOutput;\n /** File ETag. */\n etag?: string;\n}\n\n/** Update file basic metadata. */\nexport interface UpdateFileBaseOutput {\n /** File name. */\n fileName: string;\n /** File size in number of bytes. */\n sizeInBytes: number;\n /** Mapping of hashing algorithm to base64 encoded hash values. */\n hashes: Record<string, string>;\n /** File MIME type. */\n mimeType?: string;\n /** Anti-malware scan result. */\n scanResult?: string;\n /** Anti-malware scan details. */\n scanDetails?: string;\n /** Optional file properties (not consumed by service but pass-through to device). */\n properties?: Record<string, string>;\n}\n\n/** Download handler for utilizing related files to download payload file. */\nexport interface UpdateFileDownloadHandlerOutput {\n /** Download handler identifier. */\n id: string;\n}\n\n/** The list of operations with server paging support. */\nexport interface UpdateOperationsListOutput {\n /** The collection of pageable items. */\n value: Array<UpdateOperationOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Operation metadata. */\nexport interface UpdateOperationOutput {\n /** Operation Id. */\n operationId: string;\n /** Operation status. */\n status: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** The update being imported or deleted. For import, this property will only be populated after import manifest is processed successfully. */\n update?: UpdateInfoOutput;\n /** Location of the imported update when operation is successful. */\n resourceLocation?: string;\n /** Operation error encountered, if any. */\n error?: ErrorModelOutput;\n /** Operation correlation identity that can used by Microsoft Support for troubleshooting. */\n traceId?: string;\n /** Date and time in UTC when the operation status was last updated. */\n lastActionDateTime: string;\n /** Date and time in UTC when the operation was created. */\n createdDateTime: string;\n /** Operation ETag. */\n etag?: string;\n}\n\n/** Update information. */\nexport interface UpdateInfoOutput {\n /** Update identifier. */\n updateId: UpdateIdOutput;\n /** Update description. */\n readonly description?: string;\n /** Friendly update name. */\n readonly friendlyName?: string;\n}\n\n/** The list of device classes. */\nexport interface DeviceClassesListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceClassOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Device class metadata. */\nexport interface DeviceClassOutput {\n /** The device class identifier. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash. */\n deviceClassId: string;\n /** The device class friendly name. This can be updated by callers after the device class has been automatically created. */\n friendlyName?: string;\n /** The device class properties that are used to calculate the device class Id */\n deviceClassProperties: DeviceClassPropertiesOutput;\n /** Update that is the highest version compatible with this device class. */\n bestCompatibleUpdate?: UpdateInfoOutput;\n}\n\n/** The device class properties that are used to calculate the device class Id */\nexport interface DeviceClassPropertiesOutput {\n /** The Device Update agent contract model. */\n contractModel?: ContractModelOutput;\n /** The compat properties of the device class. This object can be thought of as a set of key-value pairs where the key is the name of the compatibility property and the value is the value of the compatibility property. There will always be at least 1 compat property */\n compatProperties: Record<string, string>;\n}\n\n/** The Device Update agent contract model. */\nexport interface ContractModelOutput {\n /** The Device Update agent contract model Id of the device class. This is also used to calculate the device class Id. */\n id: string;\n /** The Device Update agent contract model name of the device class. Intended to be a more readable form of the contract model Id. */\n name: string;\n}\n\n/** List of update information. */\nexport interface UpdateInfoListOutput {\n /** The collection of pageable items. */\n value: Array<UpdateInfoOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** The list of devices. */\nexport interface DevicesListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Device metadata. */\nexport interface DeviceOutput {\n /** Device identity. */\n deviceId: string;\n /** Device module identity. */\n moduleId?: string;\n /** Device class identity. */\n deviceClassId: string;\n /** Device group identity. */\n groupId?: string;\n /** The update that device last attempted to install. */\n lastAttemptedUpdate?: UpdateInfoOutput;\n /** State of the device in its last deployment. */\n deploymentStatus?: \"Succeeded\" | \"InProgress\" | \"Canceled\" | \"Failed\";\n /** Currently installed update on device. */\n installedUpdate?: UpdateInfoOutput;\n /** Boolean flag indicating whether the latest update (the best compatible update for the device's device class and group) is installed on the device */\n onLatestUpdate: boolean;\n /** The deployment identifier for the last deployment to the device */\n lastDeploymentId?: string;\n /** Last install result. */\n lastInstallResult?: InstallResultOutput;\n}\n\n/** The install result of an update and any step results under it. */\nexport interface InstallResultOutput {\n /** Install result code. */\n resultCode: number;\n /** Install extended result code */\n extendedResultCode: number;\n /** A string containing further details about the install result */\n resultDetails?: string;\n /** Array of step results */\n stepResults?: Array<StepResultOutput>;\n}\n\n/** The step result under an update. */\nexport interface StepResultOutput {\n /** The update that this step installs if it is of reference type. */\n update?: UpdateInfoOutput;\n /** Step description. */\n description?: string;\n /** Install result code. */\n resultCode: number;\n /** Install extended result code */\n extendedResultCode: number;\n /** A string containing further details about the install result */\n resultDetails?: string;\n}\n\n/** Update compliance information. */\nexport interface UpdateComplianceOutput {\n /** Total number of devices. */\n totalDeviceCount: number;\n /** Number of devices on the latest update. */\n onLatestUpdateDeviceCount: number;\n /** Number of devices with a newer update available. */\n newUpdatesAvailableDeviceCount: number;\n /** Number of devices with update in-progress. */\n updatesInProgressDeviceCount: number;\n}\n\n/** The list of groups. */\nexport interface GroupsListOutput {\n /** The collection of pageable items. */\n value: Array<GroupOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Group details. */\nexport interface GroupOutput {\n /** Group identity. This is created from the value of the ADUGroup tag in the Iot Hub's device/module twin or $default for devices with no tag. */\n groupId: string;\n /** Group type. */\n groupType: \"IoTHubTag\" | \"DefaultNoTag\";\n /** Date and time when the update was created. */\n createdDateTime: string;\n /** The number of devices in the group. */\n deviceCount?: number;\n /** The count of subgroups with new updates available. */\n subgroupsWithNewUpdatesAvailableCount?: number;\n /** The count of subgroups with updates in progress. */\n subgroupsWithUpdatesInProgressCount?: number;\n /** The count of subgroups with devices on the latest update. */\n subgroupsWithOnLatestUpdateCount?: number;\n /** The active deployment Ids for the group */\n deployments?: Array<string>;\n}\n\n/** The list of updatable devices for a device class subgroup. */\nexport interface DeviceClassSubgroupUpdatableDevicesListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceClassSubgroupUpdatableDevicesOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Device class subgroup, update information, and the number of devices for which the update is applicable. */\nexport interface DeviceClassSubgroupUpdatableDevicesOutput {\n /** The group Id */\n groupId: string;\n /** The device class subgroup's device class Id */\n deviceClassId: string;\n /** Update information. */\n update: UpdateInfoOutput;\n /** Total number of devices for which the update is applicable. */\n deviceCount: number;\n}\n\n/** The list of deployments. */\nexport interface DeploymentsListOutput {\n /** The collection of pageable items. */\n value: Array<DeploymentOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Deployment metadata. */\nexport interface DeploymentOutput {\n /** The caller-provided deployment identifier. This cannot be longer than 73 characters, must be all lower-case, and cannot contain '&', '^', '[', ']', '{', '}', '|', '<', '>', forward slash, backslash, or double quote. The Updates view in the Azure Portal IoT Hub resource generates a GUID for deploymentId when you create a deployment. */\n deploymentId: string;\n /** The deployment start datetime. */\n startDateTime: string;\n /** Update information for the update in the deployment. */\n update: UpdateInfoOutput;\n /** The group identity for the devices the deployment is intended to update. */\n groupId: string;\n /** The device class subgroups the deployment is compatible with and subgroup deployments have been created for. This is not provided by the caller during CreateOrUpdateDeployment but is automatically determined by Device Update */\n deviceClassSubgroups?: Array<string>;\n /** Boolean flag indicating whether the deployment was canceled. */\n isCanceled?: boolean;\n /** Boolean flag indicating whether the deployment has been retried. */\n isRetried?: boolean;\n /** The rollback policy for the deployment. */\n rollbackPolicy?: CloudInitiatedRollbackPolicyOutput;\n /** Boolean flag indicating whether the deployment is a rollback deployment. */\n isCloudInitiatedRollback?: boolean;\n}\n\n/** Rollback policy for deployment */\nexport interface CloudInitiatedRollbackPolicyOutput {\n /** Update to rollback to. */\n update: UpdateInfoOutput;\n /** Failure conditions to initiate rollback policy. */\n failure: CloudInitiatedRollbackPolicyFailureOutput;\n}\n\n/** Failure conditions to initiate rollback policy */\nexport interface CloudInitiatedRollbackPolicyFailureOutput {\n /** Percentage of devices that failed. */\n devicesFailedPercentage: number;\n /** Number of devices that failed. */\n devicesFailedCount: number;\n}\n\n/** Deployment status metadata. */\nexport interface DeploymentStatusOutput {\n /** The group identity */\n groupId: string;\n /** The state of the deployment. */\n deploymentState: \"Active\" | \"ActiveWithSubgroupFailures\" | \"Failed\" | \"Inactive\" | \"Canceled\";\n /** The error details of the Failed state. This is not present if the deployment state is not Failed. */\n error?: ErrorModelOutput;\n /** The collection of device class subgroup status objects */\n subgroupStatus: Array<DeviceClassSubgroupDeploymentStatusOutput>;\n}\n\n/** Device class subgroup deployment status metadata. */\nexport interface DeviceClassSubgroupDeploymentStatusOutput {\n /** The group identity */\n groupId: string;\n /** The device class subgroup identity */\n deviceClassId: string;\n /** The state of the subgroup deployment. */\n deploymentState: \"Active\" | \"Failed\" | \"Inactive\" | \"Canceled\";\n /** The error details of the Failed state. This is not present if the deployment state is not Failed. */\n error?: ErrorModelOutput;\n /** The total number of devices in the deployment. */\n totalDevices?: number;\n /** The number of devices that are currently in deployment. */\n devicesInProgressCount?: number;\n /** The number of devices that have completed deployment with a failure. */\n devicesCompletedFailedCount?: number;\n /** The number of devices which have successfully completed deployment. */\n devicesCompletedSucceededCount?: number;\n /** The number of devices which have had their deployment canceled. */\n devicesCanceledCount?: number;\n}\n\n/** The list of device class subgroups within a group. */\nexport interface DeviceClassSubgroupsListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceClassSubgroupOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Device class subgroup details. A device class subgroup is a subset of devices in a group that share the same device class id. */\nexport interface DeviceClassSubgroupOutput {\n /** Device class subgroup identity. This is generated from the model Id and the compat properties reported by the device update agent in the Device Update PnP interface in IoT Hub. It is a hex-encoded SHA1 hash. */\n deviceClassId: string;\n /** Group identity. */\n groupId: string;\n /** Date and time when the device class subgroup was created. */\n createdDateTime: string;\n /** The number of devices in the device class subgroup. */\n deviceCount?: number;\n /** The active deployment Id for the device class subgroup. */\n deploymentId?: string;\n}\n\n/** The list of deployment device states. */\nexport interface DeploymentDeviceStatesListOutput {\n /** The collection of pageable items. */\n value: Array<DeploymentDeviceStateOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Deployment device status. */\nexport interface DeploymentDeviceStateOutput {\n /** Device identity. */\n deviceId: string;\n /** Device module identity. */\n moduleId?: string;\n /** The number of times this deployment has been retried on this device. */\n retryCount: number;\n /** Boolean flag indicating whether this device is in a newer deployment and can no longer retry this deployment. */\n movedOnToNewDeployment: boolean;\n /** Deployment device state. */\n deviceState: \"Succeeded\" | \"InProgress\" | \"Canceled\" | \"Failed\";\n}\n\n/** Operation metadata. */\nexport interface DeviceOperationOutput {\n /** Operation Id. */\n operationId: string;\n /** Operation status. */\n status: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** Operation error encountered, if any. */\n error?: ErrorModelOutput;\n /** Operation correlation identity that can used by Microsoft Support for troubleshooting. */\n traceId?: string;\n /** Date and time in UTC when the operation status was last updated. */\n lastActionDateTime: string;\n /** Date and time in UTC when the operation was created. */\n createdDateTime: string;\n /** Operation ETag. */\n etag?: string;\n}\n\n/** The list of device operations with server paging support. */\nexport interface DeviceOperationsListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceOperationOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Diagnostics request body */\nexport interface LogCollectionOutput {\n /** The log collection id. */\n operationId?: string;\n /** Array of Device Update agent ids */\n deviceList: Array<DeviceUpdateAgentIdOutput>;\n /** Description of the diagnostics operation. */\n description?: string;\n /** The timestamp when the operation was created. */\n readonly createdDateTime?: string;\n /** A timestamp for when the current state was entered. */\n readonly lastActionDateTime?: string;\n /** Operation status. */\n readonly status?: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n}\n\n/** Device Update agent id */\nexport interface DeviceUpdateAgentIdOutput {\n /** Device Id */\n deviceId: string;\n /** Module Id */\n moduleId?: string;\n}\n\n/** The list of log collections with server paging support. */\nexport interface LogCollectionListOutput {\n /** The collection of pageable items. */\n value: Array<LogCollectionOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Device diagnostics operation detailed status */\nexport interface LogCollectionOperationDetailedStatusOutput {\n /** The device diagnostics operation id. */\n operationId?: string;\n /** The timestamp when the operation was created. */\n createdDateTime?: string;\n /** A timestamp for when the current state was entered. */\n lastActionDateTime?: string;\n /** Operation status. */\n status?: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** Status of the devices in the operation */\n deviceStatus?: Array<LogCollectionOperationDeviceStatusOutput>;\n /** Device diagnostics operation description. */\n description?: string;\n}\n\n/** Diagnostics operation device status */\nexport interface LogCollectionOperationDeviceStatusOutput {\n /** Device id */\n deviceId: string;\n /** Module id. */\n moduleId?: string;\n /** Log upload status */\n status: \"NotStarted\" | \"Running\" | \"Succeeded\" | \"Failed\";\n /** Log upload result code */\n resultCode?: string;\n /** Log upload extended result code */\n extendedResultCode?: string;\n /** Log upload location */\n logLocation?: string;\n}\n\n/** Array of Device Health, with server paging support. */\nexport interface DeviceHealthListOutput {\n /** The collection of pageable items. */\n value: Array<DeviceHealthOutput>;\n /** The link to the next page of items. */\n nextLink?: string;\n}\n\n/** Device Health */\nexport interface DeviceHealthOutput {\n /** Device id */\n deviceId: string;\n /** Module id */\n moduleId?: string;\n /** Aggregate device health state */\n state: \"healthy\" | \"unhealthy\";\n /** Digital twin model Id */\n digitalTwinModelId?: string;\n /** Array of health checks and their results */\n healthChecks: Array<HealthCheckOutput>;\n}\n\n/** Health check */\nexport interface HealthCheckOutput {\n /** Health check name */\n name?: string;\n /** Health check result */\n result?: \"success\" | \"userError\";\n}\n"]}
@@ -1,5 +1,30 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
1
  import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
+ /**
3
+ * An interface that tracks the settings for paged iteration
4
+ */
5
+ export interface PageSettings {
6
+ /**
7
+ * The token that keeps track of where to continue the iterator
8
+ */
9
+ continuationToken?: string;
10
+ }
11
+ /**
12
+ * An interface that allows async iterable iteration both to completion and by page.
13
+ */
14
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
15
+ /**
16
+ * The next method, part of the iteration protocol
17
+ */
18
+ next(): Promise<IteratorResult<TElement>>;
19
+ /**
20
+ * The connection to the async iterator, part of the iteration protocol
21
+ */
22
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
23
+ /**
24
+ * Return an AsyncIterableIterator that works a page at a time
25
+ */
26
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
27
+ }
3
28
  /**
4
29
  * Helper type to extract the type of an array
5
30
  */
@@ -7,7 +32,7 @@ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
7
32
  /**
8
33
  * The type of a custom function that defines how to get a page and a link to the next one if any.
9
34
  */
10
- export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
35
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
11
36
  page: TPage;
12
37
  nextPageLink?: string;
13
38
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"paginateHelper.d.ts","sourceRoot":"","sources":["../../src/paginateHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAe,MAAM,oBAAoB,CAAC;AAElF,OAAO,KAAK,E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