@azure/digital-twins-core 2.0.0-alpha.20250509.1 → 2.0.0-alpha.20250514.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.
- package/dist/browser/digitalTwinsClient.d.ts.map +1 -1
- package/dist/browser/digitalTwinsClient.js +7 -6
- package/dist/browser/digitalTwinsClient.js.map +1 -1
- package/dist/browser/generated/azureDigitalTwinsAPI.d.ts +5 -1
- package/dist/browser/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
- package/dist/browser/generated/azureDigitalTwinsAPI.js +8 -6
- package/dist/browser/generated/azureDigitalTwinsAPI.js.map +1 -1
- package/dist/browser/generated/lroImpl.d.ts +11 -0
- package/dist/browser/generated/lroImpl.d.ts.map +1 -0
- package/dist/browser/generated/lroImpl.js +21 -0
- package/dist/browser/generated/lroImpl.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +368 -16
- package/dist/browser/generated/models/index.d.ts.map +1 -1
- package/dist/browser/generated/models/index.js.map +1 -1
- package/dist/browser/generated/models/mappers.d.ts +43 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/models/mappers.js +892 -157
- package/dist/browser/generated/models/mappers.js.map +1 -1
- package/dist/browser/generated/models/parameters.d.ts +3 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -1
- package/dist/browser/generated/models/parameters.js +107 -84
- package/dist/browser/generated/models/parameters.js.map +1 -1
- package/dist/browser/generated/operations/deleteJobs.d.ts +71 -0
- package/dist/browser/generated/operations/deleteJobs.d.ts.map +1 -0
- package/dist/browser/generated/operations/deleteJobs.js +261 -0
- package/dist/browser/generated/operations/deleteJobs.js.map +1 -0
- package/dist/browser/generated/operations/digitalTwinModels.d.ts +2 -1
- package/dist/browser/generated/operations/digitalTwinModels.d.ts.map +1 -1
- package/dist/browser/generated/operations/digitalTwinModels.js +36 -29
- package/dist/browser/generated/operations/digitalTwinModels.js.map +1 -1
- package/dist/browser/generated/operations/digitalTwins.js +90 -77
- package/dist/browser/generated/operations/digitalTwins.js.map +1 -1
- package/dist/browser/generated/operations/eventRoutes.d.ts +2 -1
- package/dist/browser/generated/operations/eventRoutes.d.ts.map +1 -1
- package/dist/browser/generated/operations/eventRoutes.js +27 -21
- package/dist/browser/generated/operations/eventRoutes.js.map +1 -1
- package/dist/browser/generated/operations/importJobs.d.ts +81 -0
- package/dist/browser/generated/operations/importJobs.d.ts.map +1 -0
- package/dist/browser/generated/operations/importJobs.js +260 -0
- package/dist/browser/generated/operations/importJobs.js.map +1 -0
- package/dist/browser/generated/operations/index.d.ts +2 -0
- package/dist/browser/generated/operations/index.d.ts.map +1 -1
- package/dist/browser/generated/operations/index.js +2 -0
- package/dist/browser/generated/operations/index.js.map +1 -1
- package/dist/browser/generated/operations/query.js +6 -5
- package/dist/browser/generated/operations/query.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
- package/dist/browser/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/deleteJobs.js +9 -0
- package/dist/browser/generated/operationsInterfaces/deleteJobs.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
- package/dist/browser/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
- package/dist/browser/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/digitalTwins.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
- package/dist/browser/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
- package/dist/browser/generated/operationsInterfaces/eventRoutes.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/importJobs.d.ts +58 -0
- package/dist/browser/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/importJobs.js +9 -0
- package/dist/browser/generated/operationsInterfaces/importJobs.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/generated/operationsInterfaces/index.js +2 -0
- package/dist/browser/generated/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/query.js.map +1 -1
- package/dist/browser/generated/pagingHelper.js.map +1 -1
- package/dist/commonjs/digitalTwinsClient.d.ts.map +1 -1
- package/dist/commonjs/digitalTwinsClient.js +7 -6
- package/dist/commonjs/digitalTwinsClient.js.map +1 -1
- package/dist/commonjs/generated/azureDigitalTwinsAPI.d.ts +5 -1
- package/dist/commonjs/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
- package/dist/commonjs/generated/azureDigitalTwinsAPI.js +7 -5
- package/dist/commonjs/generated/azureDigitalTwinsAPI.js.map +1 -1
- package/dist/commonjs/generated/lroImpl.d.ts +11 -0
- package/dist/commonjs/generated/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/generated/lroImpl.js +24 -0
- package/dist/commonjs/generated/lroImpl.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +368 -16
- package/dist/commonjs/generated/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/models/index.js.map +1 -1
- package/dist/commonjs/generated/models/mappers.d.ts +43 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/models/mappers.js +894 -158
- package/dist/commonjs/generated/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/models/parameters.d.ts +3 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/models/parameters.js +107 -84
- package/dist/commonjs/generated/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/operations/deleteJobs.d.ts +71 -0
- package/dist/commonjs/generated/operations/deleteJobs.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/deleteJobs.js +265 -0
- package/dist/commonjs/generated/operations/deleteJobs.js.map +1 -0
- package/dist/commonjs/generated/operations/digitalTwinModels.d.ts +2 -1
- package/dist/commonjs/generated/operations/digitalTwinModels.d.ts.map +1 -1
- package/dist/commonjs/generated/operations/digitalTwinModels.js +36 -29
- package/dist/commonjs/generated/operations/digitalTwinModels.js.map +1 -1
- package/dist/commonjs/generated/operations/digitalTwins.js +90 -77
- package/dist/commonjs/generated/operations/digitalTwins.js.map +1 -1
- package/dist/commonjs/generated/operations/eventRoutes.d.ts +2 -1
- package/dist/commonjs/generated/operations/eventRoutes.d.ts.map +1 -1
- package/dist/commonjs/generated/operations/eventRoutes.js +27 -21
- package/dist/commonjs/generated/operations/eventRoutes.js.map +1 -1
- package/dist/commonjs/generated/operations/importJobs.d.ts +81 -0
- package/dist/commonjs/generated/operations/importJobs.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/importJobs.js +264 -0
- package/dist/commonjs/generated/operations/importJobs.js.map +1 -0
- package/dist/commonjs/generated/operations/index.d.ts +2 -0
- package/dist/commonjs/generated/operations/index.d.ts.map +1 -1
- package/dist/commonjs/generated/operations/index.js +2 -0
- package/dist/commonjs/generated/operations/index.js.map +1 -1
- package/dist/commonjs/generated/operations/query.js +6 -5
- package/dist/commonjs/generated/operations/query.js.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
- package/dist/commonjs/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/deleteJobs.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/deleteJobs.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/digitalTwins.js.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/eventRoutes.js.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/importJobs.d.ts +58 -0
- package/dist/commonjs/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/importJobs.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/importJobs.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/index.js +2 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/generated/operationsInterfaces/query.js.map +1 -1
- package/dist/commonjs/generated/pagingHelper.js.map +1 -1
- package/dist/esm/digitalTwinsClient.d.ts.map +1 -1
- package/dist/esm/digitalTwinsClient.js +7 -6
- package/dist/esm/digitalTwinsClient.js.map +1 -1
- package/dist/esm/generated/azureDigitalTwinsAPI.d.ts +5 -1
- package/dist/esm/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
- package/dist/esm/generated/azureDigitalTwinsAPI.js +8 -6
- package/dist/esm/generated/azureDigitalTwinsAPI.js.map +1 -1
- package/dist/esm/generated/lroImpl.d.ts +11 -0
- package/dist/esm/generated/lroImpl.d.ts.map +1 -0
- package/dist/esm/generated/lroImpl.js +21 -0
- package/dist/esm/generated/lroImpl.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +368 -16
- package/dist/esm/generated/models/index.d.ts.map +1 -1
- package/dist/esm/generated/models/index.js.map +1 -1
- package/dist/esm/generated/models/mappers.d.ts +43 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/models/mappers.js +892 -157
- package/dist/esm/generated/models/mappers.js.map +1 -1
- package/dist/esm/generated/models/parameters.d.ts +3 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -1
- package/dist/esm/generated/models/parameters.js +107 -84
- package/dist/esm/generated/models/parameters.js.map +1 -1
- package/dist/esm/generated/operations/deleteJobs.d.ts +71 -0
- package/dist/esm/generated/operations/deleteJobs.d.ts.map +1 -0
- package/dist/esm/generated/operations/deleteJobs.js +261 -0
- package/dist/esm/generated/operations/deleteJobs.js.map +1 -0
- package/dist/esm/generated/operations/digitalTwinModels.d.ts +2 -1
- package/dist/esm/generated/operations/digitalTwinModels.d.ts.map +1 -1
- package/dist/esm/generated/operations/digitalTwinModels.js +36 -29
- package/dist/esm/generated/operations/digitalTwinModels.js.map +1 -1
- package/dist/esm/generated/operations/digitalTwins.js +90 -77
- package/dist/esm/generated/operations/digitalTwins.js.map +1 -1
- package/dist/esm/generated/operations/eventRoutes.d.ts +2 -1
- package/dist/esm/generated/operations/eventRoutes.d.ts.map +1 -1
- package/dist/esm/generated/operations/eventRoutes.js +27 -21
- package/dist/esm/generated/operations/eventRoutes.js.map +1 -1
- package/dist/esm/generated/operations/importJobs.d.ts +81 -0
- package/dist/esm/generated/operations/importJobs.d.ts.map +1 -0
- package/dist/esm/generated/operations/importJobs.js +260 -0
- package/dist/esm/generated/operations/importJobs.js.map +1 -0
- package/dist/esm/generated/operations/index.d.ts +2 -0
- package/dist/esm/generated/operations/index.d.ts.map +1 -1
- package/dist/esm/generated/operations/index.js +2 -0
- package/dist/esm/generated/operations/index.js.map +1 -1
- package/dist/esm/generated/operations/query.js +6 -5
- package/dist/esm/generated/operations/query.js.map +1 -1
- package/dist/esm/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
- package/dist/esm/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/deleteJobs.js +9 -0
- package/dist/esm/generated/operationsInterfaces/deleteJobs.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
- package/dist/esm/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
- package/dist/esm/generated/operationsInterfaces/digitalTwins.js.map +1 -1
- package/dist/esm/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
- package/dist/esm/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
- package/dist/esm/generated/operationsInterfaces/eventRoutes.js.map +1 -1
- package/dist/esm/generated/operationsInterfaces/importJobs.d.ts +58 -0
- package/dist/esm/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/importJobs.js +9 -0
- package/dist/esm/generated/operationsInterfaces/importJobs.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/generated/operationsInterfaces/index.js +2 -0
- package/dist/esm/generated/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/generated/operationsInterfaces/query.js.map +1 -1
- package/dist/esm/generated/pagingHelper.js.map +1 -1
- package/dist/react-native/digitalTwinsClient.d.ts.map +1 -1
- package/dist/react-native/digitalTwinsClient.js +7 -6
- package/dist/react-native/digitalTwinsClient.js.map +1 -1
- package/dist/react-native/generated/azureDigitalTwinsAPI.d.ts +5 -1
- package/dist/react-native/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
- package/dist/react-native/generated/azureDigitalTwinsAPI.js +8 -6
- package/dist/react-native/generated/azureDigitalTwinsAPI.js.map +1 -1
- package/dist/react-native/generated/lroImpl.d.ts +11 -0
- package/dist/react-native/generated/lroImpl.d.ts.map +1 -0
- package/dist/react-native/generated/lroImpl.js +21 -0
- package/dist/react-native/generated/lroImpl.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +368 -16
- package/dist/react-native/generated/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/models/index.js.map +1 -1
- package/dist/react-native/generated/models/mappers.d.ts +43 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/models/mappers.js +892 -157
- package/dist/react-native/generated/models/mappers.js.map +1 -1
- package/dist/react-native/generated/models/parameters.d.ts +3 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/models/parameters.js +107 -84
- package/dist/react-native/generated/models/parameters.js.map +1 -1
- package/dist/react-native/generated/operations/deleteJobs.d.ts +71 -0
- package/dist/react-native/generated/operations/deleteJobs.d.ts.map +1 -0
- package/dist/react-native/generated/operations/deleteJobs.js +261 -0
- package/dist/react-native/generated/operations/deleteJobs.js.map +1 -0
- package/dist/react-native/generated/operations/digitalTwinModels.d.ts +2 -1
- package/dist/react-native/generated/operations/digitalTwinModels.d.ts.map +1 -1
- package/dist/react-native/generated/operations/digitalTwinModels.js +36 -29
- package/dist/react-native/generated/operations/digitalTwinModels.js.map +1 -1
- package/dist/react-native/generated/operations/digitalTwins.js +90 -77
- package/dist/react-native/generated/operations/digitalTwins.js.map +1 -1
- package/dist/react-native/generated/operations/eventRoutes.d.ts +2 -1
- package/dist/react-native/generated/operations/eventRoutes.d.ts.map +1 -1
- package/dist/react-native/generated/operations/eventRoutes.js +27 -21
- package/dist/react-native/generated/operations/eventRoutes.js.map +1 -1
- package/dist/react-native/generated/operations/importJobs.d.ts +81 -0
- package/dist/react-native/generated/operations/importJobs.d.ts.map +1 -0
- package/dist/react-native/generated/operations/importJobs.js +260 -0
- package/dist/react-native/generated/operations/importJobs.js.map +1 -0
- package/dist/react-native/generated/operations/index.d.ts +2 -0
- package/dist/react-native/generated/operations/index.d.ts.map +1 -1
- package/dist/react-native/generated/operations/index.js +2 -0
- package/dist/react-native/generated/operations/index.js.map +1 -1
- package/dist/react-native/generated/operations/query.js +6 -5
- package/dist/react-native/generated/operations/query.js.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
- package/dist/react-native/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/deleteJobs.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/deleteJobs.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/digitalTwins.js.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/eventRoutes.js.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/importJobs.d.ts +58 -0
- package/dist/react-native/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/importJobs.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/importJobs.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/index.js +2 -0
- package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/generated/operationsInterfaces/query.js.map +1 -1
- package/dist/react-native/generated/pagingHelper.js.map +1 -1
- package/package.json +3 -1
|
@@ -45,7 +45,7 @@ export class DigitalTwinsImpl {
|
|
|
45
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
46
|
}
|
|
47
47
|
return this.listRelationshipsPagingPage(id, options, settings);
|
|
48
|
-
}
|
|
48
|
+
},
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
listRelationshipsPagingPage(id, options, settings) {
|
|
@@ -113,7 +113,7 @@ export class DigitalTwinsImpl {
|
|
|
113
113
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
114
114
|
}
|
|
115
115
|
return this.listIncomingRelationshipsPagingPage(id, options, settings);
|
|
116
|
-
}
|
|
116
|
+
},
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
listIncomingRelationshipsPagingPage(id, options, settings) {
|
|
@@ -440,18 +440,19 @@ const getByIdOperationSpec = {
|
|
|
440
440
|
responses: {
|
|
441
441
|
200: {
|
|
442
442
|
bodyMapper: {
|
|
443
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
443
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
444
444
|
},
|
|
445
|
-
headersMapper: Mappers.DigitalTwinsGetByIdHeaders
|
|
445
|
+
headersMapper: Mappers.DigitalTwinsGetByIdHeaders,
|
|
446
446
|
},
|
|
447
447
|
default: {
|
|
448
|
-
bodyMapper: Mappers.ErrorResponse
|
|
449
|
-
|
|
448
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
449
|
+
headersMapper: Mappers.DigitalTwinsGetByIdExceptionHeaders,
|
|
450
|
+
},
|
|
450
451
|
},
|
|
451
452
|
queryParameters: [Parameters.apiVersion],
|
|
452
453
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
453
454
|
headerParameters: [Parameters.accept],
|
|
454
|
-
serializer
|
|
455
|
+
serializer,
|
|
455
456
|
};
|
|
456
457
|
const addOperationSpec = {
|
|
457
458
|
path: "/digitaltwins/{id}",
|
|
@@ -459,14 +460,14 @@ const addOperationSpec = {
|
|
|
459
460
|
responses: {
|
|
460
461
|
200: {
|
|
461
462
|
bodyMapper: {
|
|
462
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
463
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
463
464
|
},
|
|
464
|
-
headersMapper: Mappers.DigitalTwinsAddHeaders
|
|
465
|
+
headersMapper: Mappers.DigitalTwinsAddHeaders,
|
|
465
466
|
},
|
|
466
|
-
202: {},
|
|
467
467
|
default: {
|
|
468
|
-
bodyMapper: Mappers.ErrorResponse
|
|
469
|
-
|
|
468
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
469
|
+
headersMapper: Mappers.DigitalTwinsAddExceptionHeaders,
|
|
470
|
+
},
|
|
470
471
|
},
|
|
471
472
|
requestBody: Parameters.twin,
|
|
472
473
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -474,10 +475,10 @@ const addOperationSpec = {
|
|
|
474
475
|
headerParameters: [
|
|
475
476
|
Parameters.contentType,
|
|
476
477
|
Parameters.accept,
|
|
477
|
-
Parameters.ifNoneMatch
|
|
478
|
+
Parameters.ifNoneMatch,
|
|
478
479
|
],
|
|
479
480
|
mediaType: "json",
|
|
480
|
-
serializer
|
|
481
|
+
serializer,
|
|
481
482
|
};
|
|
482
483
|
const deleteOperationSpec = {
|
|
483
484
|
path: "/digitaltwins/{id}",
|
|
@@ -485,25 +486,26 @@ const deleteOperationSpec = {
|
|
|
485
486
|
responses: {
|
|
486
487
|
204: {},
|
|
487
488
|
default: {
|
|
488
|
-
bodyMapper: Mappers.ErrorResponse
|
|
489
|
-
|
|
489
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
490
|
+
headersMapper: Mappers.DigitalTwinsDeleteExceptionHeaders,
|
|
491
|
+
},
|
|
490
492
|
},
|
|
491
493
|
queryParameters: [Parameters.apiVersion],
|
|
492
494
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
493
495
|
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
494
|
-
serializer
|
|
496
|
+
serializer,
|
|
495
497
|
};
|
|
496
498
|
const updateOperationSpec = {
|
|
497
499
|
path: "/digitaltwins/{id}",
|
|
498
500
|
httpMethod: "PATCH",
|
|
499
501
|
responses: {
|
|
500
|
-
202: {},
|
|
501
502
|
204: {
|
|
502
|
-
headersMapper: Mappers.DigitalTwinsUpdateHeaders
|
|
503
|
+
headersMapper: Mappers.DigitalTwinsUpdateHeaders,
|
|
503
504
|
},
|
|
504
505
|
default: {
|
|
505
|
-
bodyMapper: Mappers.ErrorResponse
|
|
506
|
-
|
|
506
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
507
|
+
headersMapper: Mappers.DigitalTwinsUpdateExceptionHeaders,
|
|
508
|
+
},
|
|
507
509
|
},
|
|
508
510
|
requestBody: Parameters.patchDocument,
|
|
509
511
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -511,10 +513,10 @@ const updateOperationSpec = {
|
|
|
511
513
|
headerParameters: [
|
|
512
514
|
Parameters.accept,
|
|
513
515
|
Parameters.contentType1,
|
|
514
|
-
Parameters.ifMatch
|
|
516
|
+
Parameters.ifMatch,
|
|
515
517
|
],
|
|
516
518
|
mediaType: "json",
|
|
517
|
-
serializer
|
|
519
|
+
serializer,
|
|
518
520
|
};
|
|
519
521
|
const getRelationshipByIdOperationSpec = {
|
|
520
522
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
@@ -522,18 +524,19 @@ const getRelationshipByIdOperationSpec = {
|
|
|
522
524
|
responses: {
|
|
523
525
|
200: {
|
|
524
526
|
bodyMapper: {
|
|
525
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
527
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
526
528
|
},
|
|
527
|
-
headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders
|
|
529
|
+
headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders,
|
|
528
530
|
},
|
|
529
531
|
default: {
|
|
530
|
-
bodyMapper: Mappers.ErrorResponse
|
|
531
|
-
|
|
532
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
533
|
+
headersMapper: Mappers.DigitalTwinsGetRelationshipByIdExceptionHeaders,
|
|
534
|
+
},
|
|
532
535
|
},
|
|
533
536
|
queryParameters: [Parameters.apiVersion],
|
|
534
537
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],
|
|
535
538
|
headerParameters: [Parameters.accept],
|
|
536
|
-
serializer
|
|
539
|
+
serializer,
|
|
537
540
|
};
|
|
538
541
|
const addRelationshipOperationSpec = {
|
|
539
542
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
@@ -541,13 +544,14 @@ const addRelationshipOperationSpec = {
|
|
|
541
544
|
responses: {
|
|
542
545
|
200: {
|
|
543
546
|
bodyMapper: {
|
|
544
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
547
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
545
548
|
},
|
|
546
|
-
headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders
|
|
549
|
+
headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders,
|
|
547
550
|
},
|
|
548
551
|
default: {
|
|
549
|
-
bodyMapper: Mappers.ErrorResponse
|
|
550
|
-
|
|
552
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
553
|
+
headersMapper: Mappers.DigitalTwinsAddRelationshipExceptionHeaders,
|
|
554
|
+
},
|
|
551
555
|
},
|
|
552
556
|
requestBody: Parameters.relationship,
|
|
553
557
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -555,10 +559,10 @@ const addRelationshipOperationSpec = {
|
|
|
555
559
|
headerParameters: [
|
|
556
560
|
Parameters.contentType,
|
|
557
561
|
Parameters.accept,
|
|
558
|
-
Parameters.ifNoneMatch
|
|
562
|
+
Parameters.ifNoneMatch,
|
|
559
563
|
],
|
|
560
564
|
mediaType: "json",
|
|
561
|
-
serializer
|
|
565
|
+
serializer,
|
|
562
566
|
};
|
|
563
567
|
const deleteRelationshipOperationSpec = {
|
|
564
568
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
@@ -566,24 +570,26 @@ const deleteRelationshipOperationSpec = {
|
|
|
566
570
|
responses: {
|
|
567
571
|
204: {},
|
|
568
572
|
default: {
|
|
569
|
-
bodyMapper: Mappers.ErrorResponse
|
|
570
|
-
|
|
573
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
574
|
+
headersMapper: Mappers.DigitalTwinsDeleteRelationshipExceptionHeaders,
|
|
575
|
+
},
|
|
571
576
|
},
|
|
572
577
|
queryParameters: [Parameters.apiVersion],
|
|
573
578
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],
|
|
574
579
|
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
575
|
-
serializer
|
|
580
|
+
serializer,
|
|
576
581
|
};
|
|
577
582
|
const updateRelationshipOperationSpec = {
|
|
578
583
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
579
584
|
httpMethod: "PATCH",
|
|
580
585
|
responses: {
|
|
581
586
|
204: {
|
|
582
|
-
headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders
|
|
587
|
+
headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders,
|
|
583
588
|
},
|
|
584
589
|
default: {
|
|
585
|
-
bodyMapper: Mappers.ErrorResponse
|
|
586
|
-
|
|
590
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
591
|
+
headersMapper: Mappers.DigitalTwinsUpdateRelationshipExceptionHeaders,
|
|
592
|
+
},
|
|
587
593
|
},
|
|
588
594
|
requestBody: Parameters.patchDocument,
|
|
589
595
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -591,42 +597,44 @@ const updateRelationshipOperationSpec = {
|
|
|
591
597
|
headerParameters: [
|
|
592
598
|
Parameters.accept,
|
|
593
599
|
Parameters.contentType1,
|
|
594
|
-
Parameters.ifMatch
|
|
600
|
+
Parameters.ifMatch,
|
|
595
601
|
],
|
|
596
602
|
mediaType: "json",
|
|
597
|
-
serializer
|
|
603
|
+
serializer,
|
|
598
604
|
};
|
|
599
605
|
const listRelationshipsOperationSpec = {
|
|
600
606
|
path: "/digitaltwins/{id}/relationships",
|
|
601
607
|
httpMethod: "GET",
|
|
602
608
|
responses: {
|
|
603
609
|
200: {
|
|
604
|
-
bodyMapper: Mappers.RelationshipCollection
|
|
610
|
+
bodyMapper: Mappers.RelationshipCollection,
|
|
605
611
|
},
|
|
606
612
|
default: {
|
|
607
|
-
bodyMapper: Mappers.ErrorResponse
|
|
608
|
-
|
|
613
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
614
|
+
headersMapper: Mappers.DigitalTwinsListRelationshipsExceptionHeaders,
|
|
615
|
+
},
|
|
609
616
|
},
|
|
610
617
|
queryParameters: [Parameters.apiVersion, Parameters.relationshipName],
|
|
611
618
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
612
619
|
headerParameters: [Parameters.accept],
|
|
613
|
-
serializer
|
|
620
|
+
serializer,
|
|
614
621
|
};
|
|
615
622
|
const listIncomingRelationshipsOperationSpec = {
|
|
616
623
|
path: "/digitaltwins/{id}/incomingrelationships",
|
|
617
624
|
httpMethod: "GET",
|
|
618
625
|
responses: {
|
|
619
626
|
200: {
|
|
620
|
-
bodyMapper: Mappers.IncomingRelationshipCollection
|
|
627
|
+
bodyMapper: Mappers.IncomingRelationshipCollection,
|
|
621
628
|
},
|
|
622
629
|
default: {
|
|
623
|
-
bodyMapper: Mappers.ErrorResponse
|
|
624
|
-
|
|
630
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
631
|
+
headersMapper: Mappers.DigitalTwinsListIncomingRelationshipsExceptionHeaders,
|
|
632
|
+
},
|
|
625
633
|
},
|
|
626
634
|
queryParameters: [Parameters.apiVersion],
|
|
627
635
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
628
636
|
headerParameters: [Parameters.accept],
|
|
629
|
-
serializer
|
|
637
|
+
serializer,
|
|
630
638
|
};
|
|
631
639
|
const sendTelemetryOperationSpec = {
|
|
632
640
|
path: "/digitaltwins/{id}/telemetry",
|
|
@@ -634,8 +642,9 @@ const sendTelemetryOperationSpec = {
|
|
|
634
642
|
responses: {
|
|
635
643
|
204: {},
|
|
636
644
|
default: {
|
|
637
|
-
bodyMapper: Mappers.ErrorResponse
|
|
638
|
-
|
|
645
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
646
|
+
headersMapper: Mappers.DigitalTwinsSendTelemetryExceptionHeaders,
|
|
647
|
+
},
|
|
639
648
|
},
|
|
640
649
|
requestBody: Parameters.telemetry,
|
|
641
650
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -644,10 +653,10 @@ const sendTelemetryOperationSpec = {
|
|
|
644
653
|
Parameters.contentType,
|
|
645
654
|
Parameters.accept,
|
|
646
655
|
Parameters.messageId,
|
|
647
|
-
Parameters.telemetrySourceTime
|
|
656
|
+
Parameters.telemetrySourceTime,
|
|
648
657
|
],
|
|
649
658
|
mediaType: "json",
|
|
650
|
-
serializer
|
|
659
|
+
serializer,
|
|
651
660
|
};
|
|
652
661
|
const sendComponentTelemetryOperationSpec = {
|
|
653
662
|
path: "/digitaltwins/{id}/components/{componentPath}/telemetry",
|
|
@@ -655,8 +664,9 @@ const sendComponentTelemetryOperationSpec = {
|
|
|
655
664
|
responses: {
|
|
656
665
|
204: {},
|
|
657
666
|
default: {
|
|
658
|
-
bodyMapper: Mappers.ErrorResponse
|
|
659
|
-
|
|
667
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
668
|
+
headersMapper: Mappers.DigitalTwinsSendComponentTelemetryExceptionHeaders,
|
|
669
|
+
},
|
|
660
670
|
},
|
|
661
671
|
requestBody: Parameters.telemetry,
|
|
662
672
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -665,10 +675,10 @@ const sendComponentTelemetryOperationSpec = {
|
|
|
665
675
|
Parameters.contentType,
|
|
666
676
|
Parameters.accept,
|
|
667
677
|
Parameters.messageId,
|
|
668
|
-
Parameters.telemetrySourceTime
|
|
678
|
+
Parameters.telemetrySourceTime,
|
|
669
679
|
],
|
|
670
680
|
mediaType: "json",
|
|
671
|
-
serializer
|
|
681
|
+
serializer,
|
|
672
682
|
};
|
|
673
683
|
const getComponentOperationSpec = {
|
|
674
684
|
path: "/digitaltwins/{id}/components/{componentPath}",
|
|
@@ -676,30 +686,31 @@ const getComponentOperationSpec = {
|
|
|
676
686
|
responses: {
|
|
677
687
|
200: {
|
|
678
688
|
bodyMapper: {
|
|
679
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
689
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
680
690
|
},
|
|
681
|
-
headersMapper: Mappers.DigitalTwinsGetComponentHeaders
|
|
691
|
+
headersMapper: Mappers.DigitalTwinsGetComponentHeaders,
|
|
682
692
|
},
|
|
683
693
|
default: {
|
|
684
|
-
bodyMapper: Mappers.ErrorResponse
|
|
685
|
-
|
|
694
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
695
|
+
headersMapper: Mappers.DigitalTwinsGetComponentExceptionHeaders,
|
|
696
|
+
},
|
|
686
697
|
},
|
|
687
698
|
queryParameters: [Parameters.apiVersion],
|
|
688
699
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],
|
|
689
700
|
headerParameters: [Parameters.accept],
|
|
690
|
-
serializer
|
|
701
|
+
serializer,
|
|
691
702
|
};
|
|
692
703
|
const updateComponentOperationSpec = {
|
|
693
704
|
path: "/digitaltwins/{id}/components/{componentPath}",
|
|
694
705
|
httpMethod: "PATCH",
|
|
695
706
|
responses: {
|
|
696
|
-
202: {},
|
|
697
707
|
204: {
|
|
698
|
-
headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders
|
|
708
|
+
headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders,
|
|
699
709
|
},
|
|
700
710
|
default: {
|
|
701
|
-
bodyMapper: Mappers.ErrorResponse
|
|
702
|
-
|
|
711
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
712
|
+
headersMapper: Mappers.DigitalTwinsUpdateComponentExceptionHeaders,
|
|
713
|
+
},
|
|
703
714
|
},
|
|
704
715
|
requestBody: Parameters.patchDocument,
|
|
705
716
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -707,39 +718,41 @@ const updateComponentOperationSpec = {
|
|
|
707
718
|
headerParameters: [
|
|
708
719
|
Parameters.accept,
|
|
709
720
|
Parameters.contentType1,
|
|
710
|
-
Parameters.ifMatch
|
|
721
|
+
Parameters.ifMatch,
|
|
711
722
|
],
|
|
712
723
|
mediaType: "json",
|
|
713
|
-
serializer
|
|
724
|
+
serializer,
|
|
714
725
|
};
|
|
715
726
|
const listRelationshipsNextOperationSpec = {
|
|
716
727
|
path: "{nextLink}",
|
|
717
728
|
httpMethod: "GET",
|
|
718
729
|
responses: {
|
|
719
730
|
200: {
|
|
720
|
-
bodyMapper: Mappers.RelationshipCollection
|
|
731
|
+
bodyMapper: Mappers.RelationshipCollection,
|
|
721
732
|
},
|
|
722
733
|
default: {
|
|
723
|
-
bodyMapper: Mappers.ErrorResponse
|
|
724
|
-
|
|
734
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
735
|
+
headersMapper: Mappers.DigitalTwinsListRelationshipsNextExceptionHeaders,
|
|
736
|
+
},
|
|
725
737
|
},
|
|
726
738
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],
|
|
727
739
|
headerParameters: [Parameters.accept],
|
|
728
|
-
serializer
|
|
740
|
+
serializer,
|
|
729
741
|
};
|
|
730
742
|
const listIncomingRelationshipsNextOperationSpec = {
|
|
731
743
|
path: "{nextLink}",
|
|
732
744
|
httpMethod: "GET",
|
|
733
745
|
responses: {
|
|
734
746
|
200: {
|
|
735
|
-
bodyMapper: Mappers.IncomingRelationshipCollection
|
|
747
|
+
bodyMapper: Mappers.IncomingRelationshipCollection,
|
|
736
748
|
},
|
|
737
749
|
default: {
|
|
738
|
-
bodyMapper: Mappers.ErrorResponse
|
|
739
|
-
|
|
750
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
751
|
+
headersMapper: Mappers.DigitalTwinsListIncomingRelationshipsNextExceptionHeaders,
|
|
752
|
+
},
|
|
740
753
|
},
|
|
741
754
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],
|
|
742
755
|
headerParameters: [Parameters.accept],
|
|
743
|
-
serializer
|
|
756
|
+
serializer,
|
|
744
757
|
};
|
|
745
758
|
//# sourceMappingURL=digitalTwins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operations/digitalTwins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,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AE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC;IACrE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0CAA0C,GAA6B;IAC3E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC;IACrE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DigitalTwins } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureDigitalTwinsAPI } from \"../azureDigitalTwinsAPI.js\";\nimport {\n DigitalTwinsListRelationshipsNextOptionalParams,\n DigitalTwinsListRelationshipsOptionalParams,\n DigitalTwinsListRelationshipsResponse,\n IncomingRelationship,\n DigitalTwinsListIncomingRelationshipsNextOptionalParams,\n DigitalTwinsListIncomingRelationshipsOptionalParams,\n DigitalTwinsListIncomingRelationshipsResponse,\n DigitalTwinsGetByIdOptionalParams,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsGetRelationshipByIdOptionalParams,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsSendTelemetryOptionalParams,\n DigitalTwinsSendComponentTelemetryOptionalParams,\n DigitalTwinsGetComponentOptionalParams,\n DigitalTwinsGetComponentResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentResponse,\n DigitalTwinsListRelationshipsNextResponse,\n DigitalTwinsListIncomingRelationshipsNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DigitalTwins operations. */\nexport class DigitalTwinsImpl implements DigitalTwins {\n private readonly client: AzureDigitalTwinsAPI;\n\n /**\n * Initialize a new instance of the class DigitalTwins class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDigitalTwinsAPI) {\n this.client = client;\n }\n\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n public listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<Record<string, unknown>> {\n const iter = this.listRelationshipsPagingAll(id, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listRelationshipsPagingPage(id, options, settings);\n }\n };\n }\n\n private async *listRelationshipsPagingPage(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Record<string, unknown>[]> {\n let result: DigitalTwinsListRelationshipsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listRelationships(id, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listRelationshipsNext(\n id,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listRelationshipsPagingAll(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): AsyncIterableIterator<Record<string, unknown>> {\n for await (const page of this.listRelationshipsPagingPage(id, options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n public listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<IncomingRelationship> {\n const iter = this.listIncomingRelationshipsPagingAll(id, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listIncomingRelationshipsPagingPage(id, options, settings);\n }\n };\n }\n\n private async *listIncomingRelationshipsPagingPage(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<IncomingRelationship[]> {\n let result: DigitalTwinsListIncomingRelationshipsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listIncomingRelationships(id, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listIncomingRelationshipsNext(\n id,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listIncomingRelationshipsPagingAll(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): AsyncIterableIterator<IncomingRelationship> {\n for await (const page of this.listIncomingRelationshipsPagingPage(\n id,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieves a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinsGetByIdOptionalParams\n ): Promise<DigitalTwinsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Adds or replaces a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * ModelDecommissioned - The model for the digital twin is decommissioned.\n * * TwinLimitReached - The maximum number of digital twins allowed has been reached.\n * * ValidationFailed - The digital twin payload is not valid.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param twin The digital twin instance being added. If provided, the $dtId property is ignored.\n * @param options The options parameters.\n */\n add(\n id: string,\n twin: Record<string, unknown>,\n options?: DigitalTwinsAddOptionalParams\n ): Promise<DigitalTwinsAddResponse> {\n return this.client.sendOperationRequest(\n { id, twin, options },\n addOperationSpec\n );\n }\n\n /**\n * Deletes a digital twin. All relationships referencing the digital twin must already be deleted.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * RelationshipsNotDeleted - The digital twin contains relationships.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: DigitalTwinsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n update(\n id: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateOptionalParams\n ): Promise<DigitalTwinsUpdateResponse> {\n return this.client.sendOperationRequest(\n { id, patchDocument, options },\n updateOperationSpec\n );\n }\n\n /**\n * Retrieves a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n getRelationshipById(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsGetRelationshipByIdOptionalParams\n ): Promise<DigitalTwinsGetRelationshipByIdResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, options },\n getRelationshipByIdOperationSpec\n );\n }\n\n /**\n * Adds a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, relationship id, or payload is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * OperationNotAllowed - The relationship cannot connect to the same digital twin.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * TargetTwinNotFound - The digital twin target of the relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param relationship The data for the relationship.\n * @param options The options parameters.\n */\n addRelationship(\n id: string,\n relationshipId: string,\n relationship: Record<string, unknown>,\n options?: DigitalTwinsAddRelationshipOptionalParams\n ): Promise<DigitalTwinsAddRelationshipResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, relationship, options },\n addRelationshipOperationSpec\n );\n }\n\n /**\n * Deletes a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n deleteRelationship(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsDeleteRelationshipOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, relationshipId, options },\n deleteRelationshipOperationSpec\n );\n }\n\n /**\n * Updates the properties on a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 409 Conflict\n * * RelationshipAlreadyExists - The relationship already exists.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param patchDocument JSON Patch description of the update to the relationship properties.\n * @param options The options parameters.\n */\n updateRelationship(\n id: string,\n relationshipId: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateRelationshipOptionalParams\n ): Promise<DigitalTwinsUpdateRelationshipResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, patchDocument, options },\n updateRelationshipOperationSpec\n );\n }\n\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n private _listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): Promise<DigitalTwinsListRelationshipsResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n listRelationshipsOperationSpec\n );\n }\n\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n private _listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): Promise<DigitalTwinsListIncomingRelationshipsResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n listIncomingRelationshipsOperationSpec\n );\n }\n\n /**\n * Sends telemetry on behalf of a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or message id is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin.\n * @param options The options parameters.\n */\n sendTelemetry(\n id: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendTelemetryOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, messageId, telemetry, options },\n sendTelemetryOperationSpec\n );\n }\n\n /**\n * Sends telemetry on behalf of a component in a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, message id, or component path is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin's component.\n * @param options The options parameters.\n */\n sendComponentTelemetry(\n id: string,\n componentPath: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendComponentTelemetryOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, componentPath, messageId, telemetry, options },\n sendComponentTelemetryOperationSpec\n );\n }\n\n /**\n * Retrieves a component from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or component path is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param options The options parameters.\n */\n getComponent(\n id: string,\n componentPath: string,\n options?: DigitalTwinsGetComponentOptionalParams\n ): Promise<DigitalTwinsGetComponentResponse> {\n return this.client.sendOperationRequest(\n { id, componentPath, options },\n getComponentOperationSpec\n );\n }\n\n /**\n * Updates a component on a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, component path, or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n updateComponent(\n id: string,\n componentPath: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateComponentOptionalParams\n ): Promise<DigitalTwinsUpdateComponentResponse> {\n return this.client.sendOperationRequest(\n { id, componentPath, patchDocument, options },\n updateComponentOperationSpec\n );\n }\n\n /**\n * ListRelationshipsNext\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param nextLink The nextLink from the previous successful call to the ListRelationships method.\n * @param options The options parameters.\n */\n private _listRelationshipsNext(\n id: string,\n nextLink: string,\n options?: DigitalTwinsListRelationshipsNextOptionalParams\n ): Promise<DigitalTwinsListRelationshipsNextResponse> {\n return this.client.sendOperationRequest(\n { id, nextLink, options },\n listRelationshipsNextOperationSpec\n );\n }\n\n /**\n * ListIncomingRelationshipsNext\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param nextLink The nextLink from the previous successful call to the ListIncomingRelationships\n * method.\n * @param options The options parameters.\n */\n private _listIncomingRelationshipsNext(\n id: string,\n nextLink: string,\n options?: DigitalTwinsListIncomingRelationshipsNextOptionalParams\n ): Promise<DigitalTwinsListIncomingRelationshipsNextResponse> {\n return this.client.sendOperationRequest(\n { id, nextLink, options },\n listIncomingRelationshipsNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsGetByIdHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsAddHeaders\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.twin,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifNoneMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"PATCH\",\n responses: {\n 202: {},\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst getRelationshipByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst addRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.relationship,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifNoneMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer\n};\nconst updateRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst listRelationshipsOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.relationshipName],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listIncomingRelationshipsOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/incomingrelationships\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IncomingRelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst sendTelemetryOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/telemetry\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.telemetry,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.messageId,\n Parameters.telemetrySourceTime\n ],\n mediaType: \"json\",\n serializer\n};\nconst sendComponentTelemetryOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}/telemetry\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.telemetry,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.messageId,\n Parameters.telemetrySourceTime\n ],\n mediaType: \"json\",\n serializer\n};\nconst getComponentOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n },\n headersMapper: Mappers.DigitalTwinsGetComponentHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateComponentOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}\",\n httpMethod: \"PATCH\",\n responses: {\n 202: {},\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst listRelationshipsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listIncomingRelationshipsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IncomingRelationshipCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operations/digitalTwins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkCtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;OAUG;IACI,iBAAiB,CACtB,EAAU,EACV,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,0BAA0B,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAC1D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,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KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC;IACrE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0CAA0C,GAA6B;IAC3E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;YACjC,aAAa,EACX,OAAO,CAAC,yDAAyD;SACpE;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC;IACrE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DigitalTwins } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureDigitalTwinsAPI } from \"../azureDigitalTwinsAPI.js\";\nimport {\n DigitalTwinsListRelationshipsNextOptionalParams,\n DigitalTwinsListRelationshipsOptionalParams,\n DigitalTwinsListRelationshipsResponse,\n IncomingRelationship,\n DigitalTwinsListIncomingRelationshipsNextOptionalParams,\n DigitalTwinsListIncomingRelationshipsOptionalParams,\n DigitalTwinsListIncomingRelationshipsResponse,\n DigitalTwinsGetByIdOptionalParams,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsGetRelationshipByIdOptionalParams,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsSendTelemetryOptionalParams,\n DigitalTwinsSendComponentTelemetryOptionalParams,\n DigitalTwinsGetComponentOptionalParams,\n DigitalTwinsGetComponentResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentResponse,\n DigitalTwinsListRelationshipsNextResponse,\n DigitalTwinsListIncomingRelationshipsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DigitalTwins operations. */\nexport class DigitalTwinsImpl implements DigitalTwins {\n private readonly client: AzureDigitalTwinsAPI;\n\n /**\n * Initialize a new instance of the class DigitalTwins class.\n * @param client Reference to the service client\n */\n constructor(client: AzureDigitalTwinsAPI) {\n this.client = client;\n }\n\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n public listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n ): PagedAsyncIterableIterator<Record<string, unknown>> {\n const iter = this.listRelationshipsPagingAll(id, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listRelationshipsPagingPage(id, options, settings);\n },\n };\n }\n\n private async *listRelationshipsPagingPage(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Record<string, unknown>[]> {\n let result: DigitalTwinsListRelationshipsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listRelationships(id, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listRelationshipsNext(\n id,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listRelationshipsPagingAll(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n ): AsyncIterableIterator<Record<string, unknown>> {\n for await (const page of this.listRelationshipsPagingPage(id, options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n public listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n ): PagedAsyncIterableIterator<IncomingRelationship> {\n const iter = this.listIncomingRelationshipsPagingAll(id, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listIncomingRelationshipsPagingPage(id, options, settings);\n },\n };\n }\n\n private async *listIncomingRelationshipsPagingPage(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<IncomingRelationship[]> {\n let result: DigitalTwinsListIncomingRelationshipsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listIncomingRelationships(id, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listIncomingRelationshipsNext(\n id,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listIncomingRelationshipsPagingAll(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n ): AsyncIterableIterator<IncomingRelationship> {\n for await (const page of this.listIncomingRelationshipsPagingPage(\n id,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieves a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinsGetByIdOptionalParams,\n ): Promise<DigitalTwinsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n getByIdOperationSpec,\n );\n }\n\n /**\n * Adds or replaces a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * ModelDecommissioned - The model for the digital twin is decommissioned.\n * * TwinLimitReached - The maximum number of digital twins allowed has been reached.\n * * ValidationFailed - The digital twin payload is not valid.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param twin The digital twin instance being added. If provided, the $dtId property is ignored.\n * @param options The options parameters.\n */\n add(\n id: string,\n twin: Record<string, unknown>,\n options?: DigitalTwinsAddOptionalParams,\n ): Promise<DigitalTwinsAddResponse> {\n return this.client.sendOperationRequest(\n { id, twin, options },\n addOperationSpec,\n );\n }\n\n /**\n * Deletes a digital twin. All relationships referencing the digital twin must already be deleted.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * RelationshipsNotDeleted - The digital twin contains relationships.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: DigitalTwinsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Updates a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n update(\n id: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateOptionalParams,\n ): Promise<DigitalTwinsUpdateResponse> {\n return this.client.sendOperationRequest(\n { id, patchDocument, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Retrieves a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n getRelationshipById(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsGetRelationshipByIdOptionalParams,\n ): Promise<DigitalTwinsGetRelationshipByIdResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, options },\n getRelationshipByIdOperationSpec,\n );\n }\n\n /**\n * Adds a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, relationship id, or payload is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * OperationNotAllowed - The relationship cannot connect to the same digital twin.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * TargetTwinNotFound - The digital twin target of the relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param relationship The data for the relationship.\n * @param options The options parameters.\n */\n addRelationship(\n id: string,\n relationshipId: string,\n relationship: Record<string, unknown>,\n options?: DigitalTwinsAddRelationshipOptionalParams,\n ): Promise<DigitalTwinsAddRelationshipResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, relationship, options },\n addRelationshipOperationSpec,\n );\n }\n\n /**\n * Deletes a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n deleteRelationship(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsDeleteRelationshipOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, relationshipId, options },\n deleteRelationshipOperationSpec,\n );\n }\n\n /**\n * Updates the properties on a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 409 Conflict\n * * RelationshipAlreadyExists - The relationship already exists.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param patchDocument JSON Patch description of the update to the relationship properties.\n * @param options The options parameters.\n */\n updateRelationship(\n id: string,\n relationshipId: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateRelationshipOptionalParams,\n ): Promise<DigitalTwinsUpdateRelationshipResponse> {\n return this.client.sendOperationRequest(\n { id, relationshipId, patchDocument, options },\n updateRelationshipOperationSpec,\n );\n }\n\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n private _listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n ): Promise<DigitalTwinsListRelationshipsResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n listRelationshipsOperationSpec,\n );\n }\n\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n private _listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n ): Promise<DigitalTwinsListIncomingRelationshipsResponse> {\n return this.client.sendOperationRequest(\n { id, options },\n listIncomingRelationshipsOperationSpec,\n );\n }\n\n /**\n * Sends telemetry on behalf of a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or message id is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin.\n * @param options The options parameters.\n */\n sendTelemetry(\n id: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendTelemetryOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, messageId, telemetry, options },\n sendTelemetryOperationSpec,\n );\n }\n\n /**\n * Sends telemetry on behalf of a component in a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, message id, or component path is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin's component.\n * @param options The options parameters.\n */\n sendComponentTelemetry(\n id: string,\n componentPath: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendComponentTelemetryOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { id, componentPath, messageId, telemetry, options },\n sendComponentTelemetryOperationSpec,\n );\n }\n\n /**\n * Retrieves a component from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or component path is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param options The options parameters.\n */\n getComponent(\n id: string,\n componentPath: string,\n options?: DigitalTwinsGetComponentOptionalParams,\n ): Promise<DigitalTwinsGetComponentResponse> {\n return this.client.sendOperationRequest(\n { id, componentPath, options },\n getComponentOperationSpec,\n );\n }\n\n /**\n * Updates a component on a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, component path, or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n updateComponent(\n id: string,\n componentPath: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateComponentOptionalParams,\n ): Promise<DigitalTwinsUpdateComponentResponse> {\n return this.client.sendOperationRequest(\n { id, componentPath, patchDocument, options },\n updateComponentOperationSpec,\n );\n }\n\n /**\n * ListRelationshipsNext\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param nextLink The nextLink from the previous successful call to the ListRelationships method.\n * @param options The options parameters.\n */\n private _listRelationshipsNext(\n id: string,\n nextLink: string,\n options?: DigitalTwinsListRelationshipsNextOptionalParams,\n ): Promise<DigitalTwinsListRelationshipsNextResponse> {\n return this.client.sendOperationRequest(\n { id, nextLink, options },\n listRelationshipsNextOperationSpec,\n );\n }\n\n /**\n * ListIncomingRelationshipsNext\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param nextLink The nextLink from the previous successful call to the ListIncomingRelationships\n * method.\n * @param options The options parameters.\n */\n private _listIncomingRelationshipsNext(\n id: string,\n nextLink: string,\n options?: DigitalTwinsListIncomingRelationshipsNextOptionalParams,\n ): Promise<DigitalTwinsListIncomingRelationshipsNextResponse> {\n return this.client.sendOperationRequest(\n { id, nextLink, options },\n listIncomingRelationshipsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n headersMapper: Mappers.DigitalTwinsGetByIdHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsGetByIdExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst addOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n headersMapper: Mappers.DigitalTwinsAddHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsAddExceptionHeaders,\n },\n },\n requestBody: Parameters.twin,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsDeleteExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsUpdateExceptionHeaders,\n },\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getRelationshipByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsGetRelationshipByIdExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst addRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsAddRelationshipExceptionHeaders,\n },\n },\n requestBody: Parameters.relationship,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsDeleteRelationshipExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst updateRelationshipOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships/{relationshipId}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsUpdateRelationshipExceptionHeaders,\n },\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst listRelationshipsOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/relationships\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RelationshipCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsListRelationshipsExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.relationshipName],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listIncomingRelationshipsOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/incomingrelationships\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IncomingRelationshipCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper:\n Mappers.DigitalTwinsListIncomingRelationshipsExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst sendTelemetryOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/telemetry\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsSendTelemetryExceptionHeaders,\n },\n },\n requestBody: Parameters.telemetry,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.messageId,\n Parameters.telemetrySourceTime,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst sendComponentTelemetryOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}/telemetry\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsSendComponentTelemetryExceptionHeaders,\n },\n },\n requestBody: Parameters.telemetry,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.messageId,\n Parameters.telemetrySourceTime,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getComponentOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } },\n },\n headersMapper: Mappers.DigitalTwinsGetComponentHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsGetComponentExceptionHeaders,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateComponentOperationSpec: coreClient.OperationSpec = {\n path: \"/digitaltwins/{id}/components/{componentPath}\",\n httpMethod: \"PATCH\",\n responses: {\n 204: {\n headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsUpdateComponentExceptionHeaders,\n },\n },\n requestBody: Parameters.patchDocument,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType1,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst listRelationshipsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RelationshipCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper: Mappers.DigitalTwinsListRelationshipsNextExceptionHeaders,\n },\n },\n urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listIncomingRelationshipsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IncomingRelationshipCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n headersMapper:\n Mappers.DigitalTwinsListIncomingRelationshipsNextExceptionHeaders,\n },\n },\n urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -46,9 +46,10 @@ export declare class EventRoutesImpl implements EventRoutes {
|
|
|
46
46
|
* * EventRouteIdInvalid - The event route id is invalid.
|
|
47
47
|
* * LimitExceeded - The maximum number of event routes allowed has been reached.
|
|
48
48
|
* @param id The id for an event route. The id is unique within event routes and case sensitive.
|
|
49
|
+
* @param eventRoute The event route data
|
|
49
50
|
* @param options The options parameters.
|
|
50
51
|
*/
|
|
51
|
-
add(id: string, options?: EventRoutesAddOptionalParams): Promise<void>;
|
|
52
|
+
add(id: string, eventRoute: EventRoute, options?: EventRoutesAddOptionalParams): Promise<void>;
|
|
52
53
|
/**
|
|
53
54
|
* Deletes an event route.
|
|
54
55
|
* Status codes:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventRoutes.d.ts","sourceRoot":"","sources":["../../../../src/generated/operations/eventRoutes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,UAAU,EAEV,6BAA6B,EAE7B,gCAAgC,EAChC,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,EAEhC,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;;OAKG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC;YAkB1B,cAAc;YAsBd,aAAa;IAQ5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAMb;;;;;;;;OAQG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC
|
|
1
|
+
{"version":3,"file":"eventRoutes.d.ts","sourceRoot":"","sources":["../../../../src/generated/operations/eventRoutes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAA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