@azure-rest/iot-device-update 1.0.1-alpha.20241203.1 → 1.0.1-alpha.20241204.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 (175) hide show
  1. package/dist/browser/clientDefinitions.d.ts +273 -0
  2. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  3. package/dist/browser/clientDefinitions.js.map +1 -0
  4. package/dist/browser/deviceUpdate.d.ts +5 -0
  5. package/dist/browser/deviceUpdate.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/deviceUpdate.js.map +1 -1
  7. package/dist/browser/index.d.ts +12 -0
  8. package/dist/browser/index.d.ts.map +1 -0
  9. package/dist/browser/index.js +15 -0
  10. package/dist/browser/index.js.map +1 -0
  11. package/dist/browser/isUnexpected.d.ts +52 -0
  12. package/dist/browser/isUnexpected.d.ts.map +1 -0
  13. package/dist/browser/isUnexpected.js.map +1 -0
  14. package/dist/browser/models.d.ts +95 -0
  15. package/dist/browser/models.d.ts.map +1 -0
  16. package/dist/browser/outputModels.d.ts +499 -0
  17. package/dist/browser/outputModels.d.ts.map +1 -0
  18. package/dist/browser/package.json +3 -0
  19. package/dist/browser/paginateHelper.d.ts +43 -0
  20. package/dist/browser/paginateHelper.d.ts.map +1 -0
  21. package/dist/browser/parameters.d.ts +212 -0
  22. package/dist/browser/parameters.d.ts.map +1 -0
  23. package/dist/browser/parameters.js.map +1 -0
  24. package/dist/browser/pollingHelper.d.ts +11 -0
  25. package/dist/browser/pollingHelper.d.ts.map +1 -0
  26. package/dist/browser/responses.d.ts +554 -0
  27. package/dist/browser/responses.d.ts.map +1 -0
  28. package/dist/browser/responses.js.map +1 -0
  29. package/dist/commonjs/clientDefinitions.d.ts +273 -0
  30. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  31. package/dist/commonjs/clientDefinitions.js +5 -0
  32. package/dist/commonjs/clientDefinitions.js.map +1 -0
  33. package/dist/commonjs/deviceUpdate.d.ts +5 -0
  34. package/dist/commonjs/deviceUpdate.d.ts.map +1 -0
  35. package/dist/commonjs/deviceUpdate.js +24 -0
  36. package/dist/commonjs/deviceUpdate.js.map +1 -0
  37. package/dist/commonjs/index.d.ts +12 -0
  38. package/dist/commonjs/index.d.ts.map +1 -0
  39. package/dist/commonjs/index.js +18 -0
  40. package/dist/commonjs/index.js.map +1 -0
  41. package/dist/commonjs/isUnexpected.d.ts +52 -0
  42. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  43. package/dist/{index.js → commonjs/isUnexpected.js} +4 -152
  44. package/dist/commonjs/isUnexpected.js.map +1 -0
  45. package/dist/commonjs/models.d.ts +95 -0
  46. package/dist/commonjs/models.d.ts.map +1 -0
  47. package/dist/commonjs/models.js +5 -0
  48. package/dist/commonjs/models.js.map +1 -0
  49. package/dist/commonjs/outputModels.d.ts +499 -0
  50. package/dist/commonjs/outputModels.d.ts.map +1 -0
  51. package/dist/commonjs/outputModels.js +5 -0
  52. package/dist/commonjs/outputModels.js.map +1 -0
  53. package/dist/commonjs/package.json +3 -0
  54. package/dist/commonjs/paginateHelper.d.ts +43 -0
  55. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  56. package/dist/commonjs/paginateHelper.js +73 -0
  57. package/dist/commonjs/paginateHelper.js.map +1 -0
  58. package/dist/commonjs/parameters.d.ts +212 -0
  59. package/dist/commonjs/parameters.d.ts.map +1 -0
  60. package/dist/commonjs/parameters.js +5 -0
  61. package/dist/commonjs/parameters.js.map +1 -0
  62. package/dist/commonjs/pollingHelper.d.ts +11 -0
  63. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  64. package/dist/commonjs/pollingHelper.js +51 -0
  65. package/dist/commonjs/pollingHelper.js.map +1 -0
  66. package/dist/commonjs/responses.d.ts +554 -0
  67. package/dist/commonjs/responses.d.ts.map +1 -0
  68. package/dist/commonjs/responses.js +5 -0
  69. package/dist/commonjs/responses.js.map +1 -0
  70. package/dist/commonjs/tsdoc-metadata.json +11 -0
  71. package/dist/esm/clientDefinitions.d.ts +273 -0
  72. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  73. package/dist/esm/clientDefinitions.js +4 -0
  74. package/dist/esm/clientDefinitions.js.map +1 -0
  75. package/dist/esm/deviceUpdate.d.ts +5 -0
  76. package/dist/esm/deviceUpdate.d.ts.map +1 -0
  77. package/dist/esm/deviceUpdate.js +21 -0
  78. package/dist/esm/deviceUpdate.js.map +1 -0
  79. package/dist/esm/index.d.ts +12 -0
  80. package/dist/esm/index.d.ts.map +1 -0
  81. package/dist/esm/index.js +15 -0
  82. package/dist/esm/index.js.map +1 -0
  83. package/dist/esm/isUnexpected.d.ts +52 -0
  84. package/dist/esm/isUnexpected.d.ts.map +1 -0
  85. package/dist/esm/isUnexpected.js +127 -0
  86. package/dist/esm/isUnexpected.js.map +1 -0
  87. package/dist/esm/models.d.ts +95 -0
  88. package/dist/esm/models.d.ts.map +1 -0
  89. package/dist/esm/models.js +4 -0
  90. package/dist/esm/models.js.map +1 -0
  91. package/dist/esm/outputModels.d.ts +499 -0
  92. package/dist/esm/outputModels.d.ts.map +1 -0
  93. package/dist/esm/outputModels.js +4 -0
  94. package/dist/esm/outputModels.js.map +1 -0
  95. package/dist/esm/package.json +3 -0
  96. package/dist/esm/paginateHelper.d.ts +43 -0
  97. package/dist/esm/paginateHelper.d.ts.map +1 -0
  98. package/dist/esm/paginateHelper.js +70 -0
  99. package/dist/esm/paginateHelper.js.map +1 -0
  100. package/dist/esm/parameters.d.ts +212 -0
  101. package/dist/esm/parameters.d.ts.map +1 -0
  102. package/dist/esm/parameters.js +4 -0
  103. package/dist/esm/parameters.js.map +1 -0
  104. package/dist/esm/pollingHelper.d.ts +11 -0
  105. package/dist/esm/pollingHelper.d.ts.map +1 -0
  106. package/dist/esm/pollingHelper.js +48 -0
  107. package/dist/esm/pollingHelper.js.map +1 -0
  108. package/dist/esm/responses.d.ts +554 -0
  109. package/dist/esm/responses.d.ts.map +1 -0
  110. package/dist/esm/responses.js +4 -0
  111. package/dist/esm/responses.js.map +1 -0
  112. package/dist/react-native/clientDefinitions.d.ts +273 -0
  113. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  114. package/dist/react-native/clientDefinitions.js +4 -0
  115. package/dist/react-native/clientDefinitions.js.map +1 -0
  116. package/dist/react-native/deviceUpdate.d.ts +5 -0
  117. package/dist/react-native/deviceUpdate.d.ts.map +1 -0
  118. package/dist/react-native/deviceUpdate.js +21 -0
  119. package/dist/react-native/deviceUpdate.js.map +1 -0
  120. package/dist/react-native/index.d.ts +12 -0
  121. package/dist/react-native/index.d.ts.map +1 -0
  122. package/dist/react-native/index.js +15 -0
  123. package/dist/react-native/index.js.map +1 -0
  124. package/dist/react-native/isUnexpected.d.ts +52 -0
  125. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  126. package/dist/react-native/isUnexpected.js +127 -0
  127. package/dist/react-native/isUnexpected.js.map +1 -0
  128. package/dist/react-native/models.d.ts +95 -0
  129. package/dist/react-native/models.d.ts.map +1 -0
  130. package/dist/react-native/models.js +4 -0
  131. package/dist/react-native/models.js.map +1 -0
  132. package/dist/react-native/outputModels.d.ts +499 -0
  133. package/dist/react-native/outputModels.d.ts.map +1 -0
  134. package/dist/react-native/outputModels.js +4 -0
  135. package/dist/react-native/outputModels.js.map +1 -0
  136. package/dist/react-native/package.json +3 -0
  137. package/dist/react-native/paginateHelper.d.ts +43 -0
  138. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  139. package/dist/react-native/paginateHelper.js +70 -0
  140. package/dist/react-native/paginateHelper.js.map +1 -0
  141. package/dist/react-native/parameters.d.ts +212 -0
  142. package/dist/react-native/parameters.d.ts.map +1 -0
  143. package/dist/react-native/parameters.js +4 -0
  144. package/dist/react-native/parameters.js.map +1 -0
  145. package/dist/react-native/pollingHelper.d.ts +11 -0
  146. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  147. package/dist/react-native/pollingHelper.js +48 -0
  148. package/dist/react-native/pollingHelper.js.map +1 -0
  149. package/dist/react-native/responses.d.ts +554 -0
  150. package/dist/react-native/responses.d.ts.map +1 -0
  151. package/dist/react-native/responses.js +4 -0
  152. package/dist/react-native/responses.js.map +1 -0
  153. package/package.json +65 -50
  154. package/dist/index.js.map +0 -1
  155. package/dist-esm/src/clientDefinitions.js.map +0 -1
  156. package/dist-esm/src/index.js +0 -14
  157. package/dist-esm/src/index.js.map +0 -1
  158. package/dist-esm/src/isUnexpected.js.map +0 -1
  159. package/dist-esm/src/parameters.js.map +0 -1
  160. package/dist-esm/src/responses.js.map +0 -1
  161. package/review/iot-device-update.api.md +0 -2198
  162. package/types/iot-device-update.d.ts +0 -2096
  163. /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
  164. /package/{dist-esm/src → dist/browser}/deviceUpdate.js +0 -0
  165. /package/{dist-esm/src → dist/browser}/isUnexpected.js +0 -0
  166. /package/{dist-esm/src → dist/browser}/models.js +0 -0
  167. /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
  168. /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
  169. /package/{dist-esm/src → dist/browser}/outputModels.js.map +0 -0
  170. /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
  171. /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
  172. /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
  173. /package/{dist-esm/src → dist/browser}/pollingHelper.js +0 -0
  174. /package/{dist-esm/src → dist/browser}/pollingHelper.js.map +0 -0
  175. /package/{dist-esm/src → dist/browser}/responses.js +0 -0
@@ -0,0 +1,212 @@
1
+ import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
2
+ import type { RequestParameters } from "@azure-rest/core-client";
3
+ import type { ImportUpdateInputItem, PatchBody, Deployment, LogCollection } from "./models.js";
4
+ export interface DeviceUpdateListUpdatesQueryParamProperties {
5
+ /** Request updates matching a free-text search expression. */
6
+ search?: string;
7
+ /** Optional to filter updates by isDeployable property. */
8
+ filter?: string;
9
+ }
10
+ export interface DeviceUpdateListUpdatesQueryParam {
11
+ queryParameters?: DeviceUpdateListUpdatesQueryParamProperties;
12
+ }
13
+ export type DeviceUpdateListUpdatesParameters = DeviceUpdateListUpdatesQueryParam & RequestParameters;
14
+ export interface DeviceUpdateImportUpdateBodyParam {
15
+ /** The update to be imported (see schema https://json.schemastore.org/azure-deviceupdate-import-manifest-5.0.json for details). */
16
+ body: Array<ImportUpdateInputItem>;
17
+ }
18
+ export interface DeviceUpdateImportUpdateMediaTypesParam {
19
+ /** Request content type */
20
+ contentType?: "application/json";
21
+ }
22
+ export type DeviceUpdateImportUpdateParameters = DeviceUpdateImportUpdateMediaTypesParam & DeviceUpdateImportUpdateBodyParam & RequestParameters;
23
+ export interface DeviceUpdateGetUpdateHeaders {
24
+ /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */
25
+ "If-None-Match"?: string;
26
+ }
27
+ export interface DeviceUpdateGetUpdateHeaderParam {
28
+ headers: RawHttpHeadersInput & DeviceUpdateGetUpdateHeaders;
29
+ }
30
+ export type DeviceUpdateGetUpdateParameters = DeviceUpdateGetUpdateHeaderParam & RequestParameters;
31
+ export type DeviceUpdateDeleteUpdateParameters = RequestParameters;
32
+ export type DeviceUpdateListProvidersParameters = RequestParameters;
33
+ export type DeviceUpdateListNamesParameters = RequestParameters;
34
+ export interface DeviceUpdateListVersionsQueryParamProperties {
35
+ /** Optional to filter updates by isDeployable property. */
36
+ filter?: string;
37
+ }
38
+ export interface DeviceUpdateListVersionsQueryParam {
39
+ queryParameters?: DeviceUpdateListVersionsQueryParamProperties;
40
+ }
41
+ export type DeviceUpdateListVersionsParameters = DeviceUpdateListVersionsQueryParam & RequestParameters;
42
+ export type DeviceUpdateListFilesParameters = RequestParameters;
43
+ export interface DeviceUpdateGetFileHeaders {
44
+ /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */
45
+ "If-None-Match"?: string;
46
+ }
47
+ export interface DeviceUpdateGetFileHeaderParam {
48
+ headers: RawHttpHeadersInput & DeviceUpdateGetFileHeaders;
49
+ }
50
+ export type DeviceUpdateGetFileParameters = DeviceUpdateGetFileHeaderParam & RequestParameters;
51
+ export interface DeviceUpdateListOperationStatusesQueryParamProperties {
52
+ /** Optional to filter operations by status property. Only one specific filter is supported: "status eq 'NotStarted' or status eq 'Running'" */
53
+ filter?: string;
54
+ /** Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n. */
55
+ top?: number;
56
+ }
57
+ export interface DeviceUpdateListOperationStatusesQueryParam {
58
+ queryParameters?: DeviceUpdateListOperationStatusesQueryParamProperties;
59
+ }
60
+ export type DeviceUpdateListOperationStatusesParameters = DeviceUpdateListOperationStatusesQueryParam & RequestParameters;
61
+ export interface DeviceUpdateGetOperationStatusHeaders {
62
+ /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */
63
+ "If-None-Match"?: string;
64
+ }
65
+ export interface DeviceUpdateGetOperationStatusHeaderParam {
66
+ headers: RawHttpHeadersInput & DeviceUpdateGetOperationStatusHeaders;
67
+ }
68
+ export type DeviceUpdateGetOperationStatusParameters = DeviceUpdateGetOperationStatusHeaderParam & RequestParameters;
69
+ export interface DeviceManagementListDeviceClassesQueryParamProperties {
70
+ /** Restricts the set of device classes returned. You can filter on friendly name. */
71
+ filter?: string;
72
+ }
73
+ export interface DeviceManagementListDeviceClassesQueryParam {
74
+ queryParameters?: DeviceManagementListDeviceClassesQueryParamProperties;
75
+ }
76
+ export type DeviceManagementListDeviceClassesParameters = DeviceManagementListDeviceClassesQueryParam & RequestParameters;
77
+ export type DeviceManagementGetDeviceClassParameters = RequestParameters;
78
+ export interface DeviceManagementUpdateDeviceClassBodyParam {
79
+ /** The device class json merge patch body. Currently only supports patching friendlyName. */
80
+ body: PatchBody;
81
+ }
82
+ export interface DeviceManagementUpdateDeviceClassMediaTypesParam {
83
+ /** Request content type */
84
+ contentType?: "application/merge-patch+json";
85
+ }
86
+ export type DeviceManagementUpdateDeviceClassParameters = DeviceManagementUpdateDeviceClassMediaTypesParam & DeviceManagementUpdateDeviceClassBodyParam & RequestParameters;
87
+ export type DeviceManagementDeleteDeviceClassParameters = RequestParameters;
88
+ export type DeviceManagementListInstallableUpdatesForDeviceClassParameters = RequestParameters;
89
+ export interface DeviceManagementListDevicesQueryParamProperties {
90
+ /** Restricts the set of devices returned. You can filter on GroupId, DeviceClassId, or GroupId and DeploymentStatus. Use DeploymentStatus eq null to query for devices with no deployment status (that have never been deployed to). */
91
+ filter?: string;
92
+ }
93
+ export interface DeviceManagementListDevicesQueryParam {
94
+ queryParameters?: DeviceManagementListDevicesQueryParamProperties;
95
+ }
96
+ export type DeviceManagementListDevicesParameters = DeviceManagementListDevicesQueryParam & RequestParameters;
97
+ export interface DeviceManagementImportDevicesBodyParam {
98
+ /** The types of devices to import. */
99
+ body: "Devices" | "Modules" | "All";
100
+ }
101
+ export interface DeviceManagementImportDevicesMediaTypesParam {
102
+ /** Request content type */
103
+ contentType?: "application/json";
104
+ }
105
+ export type DeviceManagementImportDevicesParameters = DeviceManagementImportDevicesMediaTypesParam & DeviceManagementImportDevicesBodyParam & RequestParameters;
106
+ export type DeviceManagementGetDeviceParameters = RequestParameters;
107
+ export type DeviceManagementGetDeviceModuleParameters = RequestParameters;
108
+ export type DeviceManagementGetUpdateComplianceParameters = RequestParameters;
109
+ export interface DeviceManagementListGroupsQueryParamProperties {
110
+ /** Orders the set of groups returned. You can order by groupId, deviceCount, createdDate, subgroupsWithNewUpdatesAvailableCount, subgroupsWithUpdatesInProgressCount, or subgroupsOnLatestUpdateCount. */
111
+ orderby?: string;
112
+ }
113
+ export interface DeviceManagementListGroupsQueryParam {
114
+ queryParameters?: DeviceManagementListGroupsQueryParamProperties;
115
+ }
116
+ export type DeviceManagementListGroupsParameters = DeviceManagementListGroupsQueryParam & RequestParameters;
117
+ export type DeviceManagementGetGroupParameters = RequestParameters;
118
+ export type DeviceManagementDeleteGroupParameters = RequestParameters;
119
+ export type DeviceManagementGetUpdateComplianceForGroupParameters = RequestParameters;
120
+ export type DeviceManagementListBestUpdatesForGroupParameters = RequestParameters;
121
+ export interface DeviceManagementListDeploymentsForGroupQueryParamProperties {
122
+ /** Orders the set of deployments returned. You can order by start date. */
123
+ orderby?: string;
124
+ }
125
+ export interface DeviceManagementListDeploymentsForGroupQueryParam {
126
+ queryParameters?: DeviceManagementListDeploymentsForGroupQueryParamProperties;
127
+ }
128
+ export type DeviceManagementListDeploymentsForGroupParameters = DeviceManagementListDeploymentsForGroupQueryParam & RequestParameters;
129
+ export type DeviceManagementGetDeploymentParameters = RequestParameters;
130
+ export interface DeviceManagementCreateOrUpdateDeploymentBodyParam {
131
+ /** The deployment properties. */
132
+ body: Deployment;
133
+ }
134
+ export interface DeviceManagementCreateOrUpdateDeploymentMediaTypesParam {
135
+ /** Request content type */
136
+ contentType?: "application/json";
137
+ }
138
+ export type DeviceManagementCreateOrUpdateDeploymentParameters = DeviceManagementCreateOrUpdateDeploymentMediaTypesParam & DeviceManagementCreateOrUpdateDeploymentBodyParam & RequestParameters;
139
+ export type DeviceManagementDeleteDeploymentParameters = RequestParameters;
140
+ export type DeviceManagementGetDeploymentStatusParameters = RequestParameters;
141
+ export interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties {
142
+ /** Restricts the set of device class subgroups returned. You can filter on compat properties by name and value. (i.e. filter=compatProperties/propertyName1 eq 'value1' and compatProperties/propertyName2 eq 'value2') */
143
+ filter?: string;
144
+ }
145
+ export interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParam {
146
+ queryParameters?: DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties;
147
+ }
148
+ export type DeviceManagementListDeviceClassSubgroupsForGroupParameters = DeviceManagementListDeviceClassSubgroupsForGroupQueryParam & RequestParameters;
149
+ export type DeviceManagementGetDeviceClassSubgroupParameters = RequestParameters;
150
+ export type DeviceManagementDeleteDeviceClassSubgroupParameters = RequestParameters;
151
+ export type DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters = RequestParameters;
152
+ export type DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters = RequestParameters;
153
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties {
154
+ /** Orders the set of deployments returned. You can order by start date. */
155
+ orderby?: string;
156
+ }
157
+ export interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam {
158
+ queryParameters?: DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties;
159
+ }
160
+ export type DeviceManagementListDeploymentsForDeviceClassSubgroupParameters = DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam & RequestParameters;
161
+ export type DeviceManagementGetDeploymentForDeviceClassSubgroupParameters = RequestParameters;
162
+ export type DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters = RequestParameters;
163
+ export type DeviceManagementStopDeploymentParameters = RequestParameters;
164
+ export type DeviceManagementRetryDeploymentParameters = RequestParameters;
165
+ export type DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters = RequestParameters;
166
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties {
167
+ /** Restricts the set of deployment device states returned. You can filter on deviceId and moduleId and/or deviceState. */
168
+ filter?: string;
169
+ }
170
+ export interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam {
171
+ queryParameters?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties;
172
+ }
173
+ export type DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters = DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam & RequestParameters;
174
+ export interface DeviceManagementGetOperationStatusHeaders {
175
+ /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */
176
+ "If-None-Match"?: string;
177
+ }
178
+ export interface DeviceManagementGetOperationStatusHeaderParam {
179
+ headers: RawHttpHeadersInput & DeviceManagementGetOperationStatusHeaders;
180
+ }
181
+ export type DeviceManagementGetOperationStatusParameters = DeviceManagementGetOperationStatusHeaderParam & RequestParameters;
182
+ export interface DeviceManagementListOperationStatusesQueryParamProperties {
183
+ /** Restricts the set of operations returned. Only one specific filter is supported: "status eq 'NotStarted' or status eq 'Running'" */
184
+ filter?: string;
185
+ /** Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n. */
186
+ top?: number;
187
+ }
188
+ export interface DeviceManagementListOperationStatusesQueryParam {
189
+ queryParameters?: DeviceManagementListOperationStatusesQueryParamProperties;
190
+ }
191
+ export type DeviceManagementListOperationStatusesParameters = DeviceManagementListOperationStatusesQueryParam & RequestParameters;
192
+ export interface DeviceManagementStartLogCollectionBodyParam {
193
+ /** The log collection properties. */
194
+ body: LogCollection;
195
+ }
196
+ export interface DeviceManagementStartLogCollectionMediaTypesParam {
197
+ /** Request content type */
198
+ contentType?: "application/json";
199
+ }
200
+ export type DeviceManagementStartLogCollectionParameters = DeviceManagementStartLogCollectionMediaTypesParam & DeviceManagementStartLogCollectionBodyParam & RequestParameters;
201
+ export type DeviceManagementGetLogCollectionParameters = RequestParameters;
202
+ export type DeviceManagementListLogCollectionsParameters = RequestParameters;
203
+ export type DeviceManagementGetLogCollectionDetailedStatusParameters = RequestParameters;
204
+ export interface DeviceManagementListHealthOfDevicesQueryParamProperties {
205
+ /** Restricts the set of devices for which device health is returned. You can filter on status, device id and module id. */
206
+ filter: string;
207
+ }
208
+ export interface DeviceManagementListHealthOfDevicesQueryParam {
209
+ queryParameters: DeviceManagementListHealthOfDevicesQueryParamProperties;
210
+ }
211
+ export type DeviceManagementListHealthOfDevicesParameters = DeviceManagementListHealthOfDevicesQueryParam & RequestParameters;
212
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,iB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G,iBAAiB,CAAC;AAEzF,MAAM,WAAW,uDAAuD;IACtE,2HAA2H;IAC3H,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,6CAA6C;IAC5D,eAAe,EAAE,uDAAuD,CAAC;CAC1E;AAED,MAAM,MAAM,6CAA6C,GACvD,6CAA6C,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type { ImportUpdateInputItem, PatchBody, Deployment, LogCollection } from \"./models.js\";\n\nexport interface DeviceUpdateListUpdatesQueryParamProperties {\n /** Request updates matching a free-text search expression. */\n search?: string;\n /** Optional to filter updates by isDeployable property. */\n filter?: string;\n}\n\nexport interface DeviceUpdateListUpdatesQueryParam {\n queryParameters?: DeviceUpdateListUpdatesQueryParamProperties;\n}\n\nexport type DeviceUpdateListUpdatesParameters = DeviceUpdateListUpdatesQueryParam &\n RequestParameters;\n\nexport interface DeviceUpdateImportUpdateBodyParam {\n /** The update to be imported (see schema https://json.schemastore.org/azure-deviceupdate-import-manifest-5.0.json for details). */\n body: Array<ImportUpdateInputItem>;\n}\n\nexport interface DeviceUpdateImportUpdateMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DeviceUpdateImportUpdateParameters = DeviceUpdateImportUpdateMediaTypesParam &\n DeviceUpdateImportUpdateBodyParam &\n RequestParameters;\n\nexport interface DeviceUpdateGetUpdateHeaders {\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n \"If-None-Match\"?: string;\n}\n\nexport interface DeviceUpdateGetUpdateHeaderParam {\n headers: RawHttpHeadersInput & DeviceUpdateGetUpdateHeaders;\n}\n\nexport type DeviceUpdateGetUpdateParameters = DeviceUpdateGetUpdateHeaderParam & RequestParameters;\nexport type DeviceUpdateDeleteUpdateParameters = RequestParameters;\nexport type DeviceUpdateListProvidersParameters = RequestParameters;\nexport type DeviceUpdateListNamesParameters = RequestParameters;\n\nexport interface DeviceUpdateListVersionsQueryParamProperties {\n /** Optional to filter updates by isDeployable property. */\n filter?: string;\n}\n\nexport interface DeviceUpdateListVersionsQueryParam {\n queryParameters?: DeviceUpdateListVersionsQueryParamProperties;\n}\n\nexport type DeviceUpdateListVersionsParameters = DeviceUpdateListVersionsQueryParam &\n RequestParameters;\nexport type DeviceUpdateListFilesParameters = RequestParameters;\n\nexport interface DeviceUpdateGetFileHeaders {\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n \"If-None-Match\"?: string;\n}\n\nexport interface DeviceUpdateGetFileHeaderParam {\n headers: RawHttpHeadersInput & DeviceUpdateGetFileHeaders;\n}\n\nexport type DeviceUpdateGetFileParameters = DeviceUpdateGetFileHeaderParam & RequestParameters;\n\nexport interface DeviceUpdateListOperationStatusesQueryParamProperties {\n /** Optional to filter operations by status property. Only one specific filter is supported: \"status eq 'NotStarted' or status eq 'Running'\" */\n filter?: string;\n /** Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n. */\n top?: number;\n}\n\nexport interface DeviceUpdateListOperationStatusesQueryParam {\n queryParameters?: DeviceUpdateListOperationStatusesQueryParamProperties;\n}\n\nexport type DeviceUpdateListOperationStatusesParameters =\n DeviceUpdateListOperationStatusesQueryParam & RequestParameters;\n\nexport interface DeviceUpdateGetOperationStatusHeaders {\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n \"If-None-Match\"?: string;\n}\n\nexport interface DeviceUpdateGetOperationStatusHeaderParam {\n headers: RawHttpHeadersInput & DeviceUpdateGetOperationStatusHeaders;\n}\n\nexport type DeviceUpdateGetOperationStatusParameters = DeviceUpdateGetOperationStatusHeaderParam &\n RequestParameters;\n\nexport interface DeviceManagementListDeviceClassesQueryParamProperties {\n /** Restricts the set of device classes returned. You can filter on friendly name. */\n filter?: string;\n}\n\nexport interface DeviceManagementListDeviceClassesQueryParam {\n queryParameters?: DeviceManagementListDeviceClassesQueryParamProperties;\n}\n\nexport type DeviceManagementListDeviceClassesParameters =\n DeviceManagementListDeviceClassesQueryParam & RequestParameters;\nexport type DeviceManagementGetDeviceClassParameters = RequestParameters;\n\nexport interface DeviceManagementUpdateDeviceClassBodyParam {\n /** The device class json merge patch body. Currently only supports patching friendlyName. */\n body: PatchBody;\n}\n\nexport interface DeviceManagementUpdateDeviceClassMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\nexport type DeviceManagementUpdateDeviceClassParameters =\n DeviceManagementUpdateDeviceClassMediaTypesParam &\n DeviceManagementUpdateDeviceClassBodyParam &\n RequestParameters;\nexport type DeviceManagementDeleteDeviceClassParameters = RequestParameters;\nexport type DeviceManagementListInstallableUpdatesForDeviceClassParameters = RequestParameters;\n\nexport interface DeviceManagementListDevicesQueryParamProperties {\n /** Restricts the set of devices returned. You can filter on GroupId, DeviceClassId, or GroupId and DeploymentStatus. Use DeploymentStatus eq null to query for devices with no deployment status (that have never been deployed to). */\n filter?: string;\n}\n\nexport interface DeviceManagementListDevicesQueryParam {\n queryParameters?: DeviceManagementListDevicesQueryParamProperties;\n}\n\nexport type DeviceManagementListDevicesParameters = DeviceManagementListDevicesQueryParam &\n RequestParameters;\n\nexport interface DeviceManagementImportDevicesBodyParam {\n /** The types of devices to import. */\n body: \"Devices\" | \"Modules\" | \"All\";\n}\n\nexport interface DeviceManagementImportDevicesMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DeviceManagementImportDevicesParameters = DeviceManagementImportDevicesMediaTypesParam &\n DeviceManagementImportDevicesBodyParam &\n RequestParameters;\nexport type DeviceManagementGetDeviceParameters = RequestParameters;\nexport type DeviceManagementGetDeviceModuleParameters = RequestParameters;\nexport type DeviceManagementGetUpdateComplianceParameters = RequestParameters;\n\nexport interface DeviceManagementListGroupsQueryParamProperties {\n /** Orders the set of groups returned. You can order by groupId, deviceCount, createdDate, subgroupsWithNewUpdatesAvailableCount, subgroupsWithUpdatesInProgressCount, or subgroupsOnLatestUpdateCount. */\n orderby?: string;\n}\n\nexport interface DeviceManagementListGroupsQueryParam {\n queryParameters?: DeviceManagementListGroupsQueryParamProperties;\n}\n\nexport type DeviceManagementListGroupsParameters = DeviceManagementListGroupsQueryParam &\n RequestParameters;\nexport type DeviceManagementGetGroupParameters = RequestParameters;\nexport type DeviceManagementDeleteGroupParameters = RequestParameters;\nexport type DeviceManagementGetUpdateComplianceForGroupParameters = RequestParameters;\nexport type DeviceManagementListBestUpdatesForGroupParameters = RequestParameters;\n\nexport interface DeviceManagementListDeploymentsForGroupQueryParamProperties {\n /** Orders the set of deployments returned. You can order by start date. */\n orderby?: string;\n}\n\nexport interface DeviceManagementListDeploymentsForGroupQueryParam {\n queryParameters?: DeviceManagementListDeploymentsForGroupQueryParamProperties;\n}\n\nexport type DeviceManagementListDeploymentsForGroupParameters =\n DeviceManagementListDeploymentsForGroupQueryParam & RequestParameters;\nexport type DeviceManagementGetDeploymentParameters = RequestParameters;\n\nexport interface DeviceManagementCreateOrUpdateDeploymentBodyParam {\n /** The deployment properties. */\n body: Deployment;\n}\n\nexport interface DeviceManagementCreateOrUpdateDeploymentMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DeviceManagementCreateOrUpdateDeploymentParameters =\n DeviceManagementCreateOrUpdateDeploymentMediaTypesParam &\n DeviceManagementCreateOrUpdateDeploymentBodyParam &\n RequestParameters;\nexport type DeviceManagementDeleteDeploymentParameters = RequestParameters;\nexport type DeviceManagementGetDeploymentStatusParameters = RequestParameters;\n\nexport interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties {\n /** Restricts the set of device class subgroups returned. You can filter on compat properties by name and value. (i.e. filter=compatProperties/propertyName1 eq 'value1' and compatProperties/propertyName2 eq 'value2') */\n filter?: string;\n}\n\nexport interface DeviceManagementListDeviceClassSubgroupsForGroupQueryParam {\n queryParameters?: DeviceManagementListDeviceClassSubgroupsForGroupQueryParamProperties;\n}\n\nexport type DeviceManagementListDeviceClassSubgroupsForGroupParameters =\n DeviceManagementListDeviceClassSubgroupsForGroupQueryParam & RequestParameters;\nexport type DeviceManagementGetDeviceClassSubgroupParameters = RequestParameters;\nexport type DeviceManagementDeleteDeviceClassSubgroupParameters = RequestParameters;\nexport type DeviceManagementGetDeviceClassSubgroupUpdateComplianceParameters = RequestParameters;\nexport type DeviceManagementGetBestUpdatesForDeviceClassSubgroupParameters = RequestParameters;\n\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties {\n /** Orders the set of deployments returned. You can order by start date. */\n orderby?: string;\n}\n\nexport interface DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam {\n queryParameters?: DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParamProperties;\n}\n\nexport type DeviceManagementListDeploymentsForDeviceClassSubgroupParameters =\n DeviceManagementListDeploymentsForDeviceClassSubgroupQueryParam & RequestParameters;\nexport type DeviceManagementGetDeploymentForDeviceClassSubgroupParameters = RequestParameters;\nexport type DeviceManagementDeleteDeploymentForDeviceClassSubgroupParameters = RequestParameters;\nexport type DeviceManagementStopDeploymentParameters = RequestParameters;\nexport type DeviceManagementRetryDeploymentParameters = RequestParameters;\nexport type DeviceManagementGetDeviceClassSubgroupDeploymentStatusParameters = RequestParameters;\n\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties {\n /** Restricts the set of deployment device states returned. You can filter on deviceId and moduleId and/or deviceState. */\n filter?: string;\n}\n\nexport interface DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam {\n queryParameters?: DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParamProperties;\n}\n\nexport type DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentParameters =\n DeviceManagementListDeviceStatesForDeviceClassSubgroupDeploymentQueryParam & RequestParameters;\n\nexport interface DeviceManagementGetOperationStatusHeaders {\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n \"If-None-Match\"?: string;\n}\n\nexport interface DeviceManagementGetOperationStatusHeaderParam {\n headers: RawHttpHeadersInput & DeviceManagementGetOperationStatusHeaders;\n}\n\nexport type DeviceManagementGetOperationStatusParameters =\n DeviceManagementGetOperationStatusHeaderParam & RequestParameters;\n\nexport interface DeviceManagementListOperationStatusesQueryParamProperties {\n /** Restricts the set of operations returned. Only one specific filter is supported: \"status eq 'NotStarted' or status eq 'Running'\" */\n filter?: string;\n /** Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n. */\n top?: number;\n}\n\nexport interface DeviceManagementListOperationStatusesQueryParam {\n queryParameters?: DeviceManagementListOperationStatusesQueryParamProperties;\n}\n\nexport type DeviceManagementListOperationStatusesParameters =\n DeviceManagementListOperationStatusesQueryParam & RequestParameters;\n\nexport interface DeviceManagementStartLogCollectionBodyParam {\n /** The log collection properties. */\n body: LogCollection;\n}\n\nexport interface DeviceManagementStartLogCollectionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type DeviceManagementStartLogCollectionParameters =\n DeviceManagementStartLogCollectionMediaTypesParam &\n DeviceManagementStartLogCollectionBodyParam &\n RequestParameters;\nexport type DeviceManagementGetLogCollectionParameters = RequestParameters;\nexport type DeviceManagementListLogCollectionsParameters = RequestParameters;\nexport type DeviceManagementGetLogCollectionDetailedStatusParameters = RequestParameters;\n\nexport interface DeviceManagementListHealthOfDevicesQueryParamProperties {\n /** Restricts the set of devices for which device health is returned. You can filter on status, device id and module id. */\n filter: string;\n}\n\nexport interface DeviceManagementListHealthOfDevicesQueryParam {\n queryParameters: DeviceManagementListHealthOfDevicesQueryParamProperties;\n}\n\nexport type DeviceManagementListHealthOfDevicesParameters =\n DeviceManagementListHealthOfDevicesQueryParam & RequestParameters;\n"]}
@@ -0,0 +1,11 @@
1
+ import type { Client, HttpResponse } from "@azure-rest/core-client";
2
+ import type { LroEngineOptions, PollerLike, PollOperationState } from "@azure/core-lro";
3
+ /**
4
+ * Helper function that builds a Poller object to help polling a long running operation.
5
+ * @param client - Client to use for sending the request to get additional pages.
6
+ * @param initialResponse - The initial response.
7
+ * @param options - Options to set a resume state or custom polling interval.
8
+ * @returns - A poller object to poll for operation state updates and eventually get the final response.
9
+ */
10
+ export declare function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: LroEngineOptions<TResult, PollOperationState<TResult>>): PollerLike<PollOperationState<TResult>, TResult>;
11
+ //# sourceMappingURL=pollingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAEV,gBAAgB,EAEhB,UAAU,EACV,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,SAAS,YAAY,EAC/D,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,OAAO,EACxB,OAAO,GAAE,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAM,GACnE,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAuBlD"}