@azure/digital-twins-core 2.0.0-alpha.20250513.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
|
@@ -48,7 +48,7 @@ class DigitalTwinsImpl {
|
|
|
48
48
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
49
49
|
}
|
|
50
50
|
return this.listRelationshipsPagingPage(id, options, settings);
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
listRelationshipsPagingPage(id, options, settings) {
|
|
@@ -116,7 +116,7 @@ class DigitalTwinsImpl {
|
|
|
116
116
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
117
117
|
}
|
|
118
118
|
return this.listIncomingRelationshipsPagingPage(id, options, settings);
|
|
119
|
-
}
|
|
119
|
+
},
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
listIncomingRelationshipsPagingPage(id, options, settings) {
|
|
@@ -444,18 +444,19 @@ const getByIdOperationSpec = {
|
|
|
444
444
|
responses: {
|
|
445
445
|
200: {
|
|
446
446
|
bodyMapper: {
|
|
447
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
447
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
448
448
|
},
|
|
449
|
-
headersMapper: Mappers.DigitalTwinsGetByIdHeaders
|
|
449
|
+
headersMapper: Mappers.DigitalTwinsGetByIdHeaders,
|
|
450
450
|
},
|
|
451
451
|
default: {
|
|
452
|
-
bodyMapper: Mappers.ErrorResponse
|
|
453
|
-
|
|
452
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
453
|
+
headersMapper: Mappers.DigitalTwinsGetByIdExceptionHeaders,
|
|
454
|
+
},
|
|
454
455
|
},
|
|
455
456
|
queryParameters: [Parameters.apiVersion],
|
|
456
457
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
457
458
|
headerParameters: [Parameters.accept],
|
|
458
|
-
serializer
|
|
459
|
+
serializer,
|
|
459
460
|
};
|
|
460
461
|
const addOperationSpec = {
|
|
461
462
|
path: "/digitaltwins/{id}",
|
|
@@ -463,14 +464,14 @@ const addOperationSpec = {
|
|
|
463
464
|
responses: {
|
|
464
465
|
200: {
|
|
465
466
|
bodyMapper: {
|
|
466
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
467
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
467
468
|
},
|
|
468
|
-
headersMapper: Mappers.DigitalTwinsAddHeaders
|
|
469
|
+
headersMapper: Mappers.DigitalTwinsAddHeaders,
|
|
469
470
|
},
|
|
470
|
-
202: {},
|
|
471
471
|
default: {
|
|
472
|
-
bodyMapper: Mappers.ErrorResponse
|
|
473
|
-
|
|
472
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
473
|
+
headersMapper: Mappers.DigitalTwinsAddExceptionHeaders,
|
|
474
|
+
},
|
|
474
475
|
},
|
|
475
476
|
requestBody: Parameters.twin,
|
|
476
477
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -478,10 +479,10 @@ const addOperationSpec = {
|
|
|
478
479
|
headerParameters: [
|
|
479
480
|
Parameters.contentType,
|
|
480
481
|
Parameters.accept,
|
|
481
|
-
Parameters.ifNoneMatch
|
|
482
|
+
Parameters.ifNoneMatch,
|
|
482
483
|
],
|
|
483
484
|
mediaType: "json",
|
|
484
|
-
serializer
|
|
485
|
+
serializer,
|
|
485
486
|
};
|
|
486
487
|
const deleteOperationSpec = {
|
|
487
488
|
path: "/digitaltwins/{id}",
|
|
@@ -489,25 +490,26 @@ const deleteOperationSpec = {
|
|
|
489
490
|
responses: {
|
|
490
491
|
204: {},
|
|
491
492
|
default: {
|
|
492
|
-
bodyMapper: Mappers.ErrorResponse
|
|
493
|
-
|
|
493
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
494
|
+
headersMapper: Mappers.DigitalTwinsDeleteExceptionHeaders,
|
|
495
|
+
},
|
|
494
496
|
},
|
|
495
497
|
queryParameters: [Parameters.apiVersion],
|
|
496
498
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
497
499
|
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
498
|
-
serializer
|
|
500
|
+
serializer,
|
|
499
501
|
};
|
|
500
502
|
const updateOperationSpec = {
|
|
501
503
|
path: "/digitaltwins/{id}",
|
|
502
504
|
httpMethod: "PATCH",
|
|
503
505
|
responses: {
|
|
504
|
-
202: {},
|
|
505
506
|
204: {
|
|
506
|
-
headersMapper: Mappers.DigitalTwinsUpdateHeaders
|
|
507
|
+
headersMapper: Mappers.DigitalTwinsUpdateHeaders,
|
|
507
508
|
},
|
|
508
509
|
default: {
|
|
509
|
-
bodyMapper: Mappers.ErrorResponse
|
|
510
|
-
|
|
510
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
511
|
+
headersMapper: Mappers.DigitalTwinsUpdateExceptionHeaders,
|
|
512
|
+
},
|
|
511
513
|
},
|
|
512
514
|
requestBody: Parameters.patchDocument,
|
|
513
515
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -515,10 +517,10 @@ const updateOperationSpec = {
|
|
|
515
517
|
headerParameters: [
|
|
516
518
|
Parameters.accept,
|
|
517
519
|
Parameters.contentType1,
|
|
518
|
-
Parameters.ifMatch
|
|
520
|
+
Parameters.ifMatch,
|
|
519
521
|
],
|
|
520
522
|
mediaType: "json",
|
|
521
|
-
serializer
|
|
523
|
+
serializer,
|
|
522
524
|
};
|
|
523
525
|
const getRelationshipByIdOperationSpec = {
|
|
524
526
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
@@ -526,18 +528,19 @@ const getRelationshipByIdOperationSpec = {
|
|
|
526
528
|
responses: {
|
|
527
529
|
200: {
|
|
528
530
|
bodyMapper: {
|
|
529
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
531
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
530
532
|
},
|
|
531
|
-
headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders
|
|
533
|
+
headersMapper: Mappers.DigitalTwinsGetRelationshipByIdHeaders,
|
|
532
534
|
},
|
|
533
535
|
default: {
|
|
534
|
-
bodyMapper: Mappers.ErrorResponse
|
|
535
|
-
|
|
536
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
537
|
+
headersMapper: Mappers.DigitalTwinsGetRelationshipByIdExceptionHeaders,
|
|
538
|
+
},
|
|
536
539
|
},
|
|
537
540
|
queryParameters: [Parameters.apiVersion],
|
|
538
541
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],
|
|
539
542
|
headerParameters: [Parameters.accept],
|
|
540
|
-
serializer
|
|
543
|
+
serializer,
|
|
541
544
|
};
|
|
542
545
|
const addRelationshipOperationSpec = {
|
|
543
546
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
@@ -545,13 +548,14 @@ const addRelationshipOperationSpec = {
|
|
|
545
548
|
responses: {
|
|
546
549
|
200: {
|
|
547
550
|
bodyMapper: {
|
|
548
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
551
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
549
552
|
},
|
|
550
|
-
headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders
|
|
553
|
+
headersMapper: Mappers.DigitalTwinsAddRelationshipHeaders,
|
|
551
554
|
},
|
|
552
555
|
default: {
|
|
553
|
-
bodyMapper: Mappers.ErrorResponse
|
|
554
|
-
|
|
556
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
557
|
+
headersMapper: Mappers.DigitalTwinsAddRelationshipExceptionHeaders,
|
|
558
|
+
},
|
|
555
559
|
},
|
|
556
560
|
requestBody: Parameters.relationship,
|
|
557
561
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -559,10 +563,10 @@ const addRelationshipOperationSpec = {
|
|
|
559
563
|
headerParameters: [
|
|
560
564
|
Parameters.contentType,
|
|
561
565
|
Parameters.accept,
|
|
562
|
-
Parameters.ifNoneMatch
|
|
566
|
+
Parameters.ifNoneMatch,
|
|
563
567
|
],
|
|
564
568
|
mediaType: "json",
|
|
565
|
-
serializer
|
|
569
|
+
serializer,
|
|
566
570
|
};
|
|
567
571
|
const deleteRelationshipOperationSpec = {
|
|
568
572
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
@@ -570,24 +574,26 @@ const deleteRelationshipOperationSpec = {
|
|
|
570
574
|
responses: {
|
|
571
575
|
204: {},
|
|
572
576
|
default: {
|
|
573
|
-
bodyMapper: Mappers.ErrorResponse
|
|
574
|
-
|
|
577
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
578
|
+
headersMapper: Mappers.DigitalTwinsDeleteRelationshipExceptionHeaders,
|
|
579
|
+
},
|
|
575
580
|
},
|
|
576
581
|
queryParameters: [Parameters.apiVersion],
|
|
577
582
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.relationshipId],
|
|
578
583
|
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
579
|
-
serializer
|
|
584
|
+
serializer,
|
|
580
585
|
};
|
|
581
586
|
const updateRelationshipOperationSpec = {
|
|
582
587
|
path: "/digitaltwins/{id}/relationships/{relationshipId}",
|
|
583
588
|
httpMethod: "PATCH",
|
|
584
589
|
responses: {
|
|
585
590
|
204: {
|
|
586
|
-
headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders
|
|
591
|
+
headersMapper: Mappers.DigitalTwinsUpdateRelationshipHeaders,
|
|
587
592
|
},
|
|
588
593
|
default: {
|
|
589
|
-
bodyMapper: Mappers.ErrorResponse
|
|
590
|
-
|
|
594
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
595
|
+
headersMapper: Mappers.DigitalTwinsUpdateRelationshipExceptionHeaders,
|
|
596
|
+
},
|
|
591
597
|
},
|
|
592
598
|
requestBody: Parameters.patchDocument,
|
|
593
599
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -595,42 +601,44 @@ const updateRelationshipOperationSpec = {
|
|
|
595
601
|
headerParameters: [
|
|
596
602
|
Parameters.accept,
|
|
597
603
|
Parameters.contentType1,
|
|
598
|
-
Parameters.ifMatch
|
|
604
|
+
Parameters.ifMatch,
|
|
599
605
|
],
|
|
600
606
|
mediaType: "json",
|
|
601
|
-
serializer
|
|
607
|
+
serializer,
|
|
602
608
|
};
|
|
603
609
|
const listRelationshipsOperationSpec = {
|
|
604
610
|
path: "/digitaltwins/{id}/relationships",
|
|
605
611
|
httpMethod: "GET",
|
|
606
612
|
responses: {
|
|
607
613
|
200: {
|
|
608
|
-
bodyMapper: Mappers.RelationshipCollection
|
|
614
|
+
bodyMapper: Mappers.RelationshipCollection,
|
|
609
615
|
},
|
|
610
616
|
default: {
|
|
611
|
-
bodyMapper: Mappers.ErrorResponse
|
|
612
|
-
|
|
617
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
618
|
+
headersMapper: Mappers.DigitalTwinsListRelationshipsExceptionHeaders,
|
|
619
|
+
},
|
|
613
620
|
},
|
|
614
621
|
queryParameters: [Parameters.apiVersion, Parameters.relationshipName],
|
|
615
622
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
616
623
|
headerParameters: [Parameters.accept],
|
|
617
|
-
serializer
|
|
624
|
+
serializer,
|
|
618
625
|
};
|
|
619
626
|
const listIncomingRelationshipsOperationSpec = {
|
|
620
627
|
path: "/digitaltwins/{id}/incomingrelationships",
|
|
621
628
|
httpMethod: "GET",
|
|
622
629
|
responses: {
|
|
623
630
|
200: {
|
|
624
|
-
bodyMapper: Mappers.IncomingRelationshipCollection
|
|
631
|
+
bodyMapper: Mappers.IncomingRelationshipCollection,
|
|
625
632
|
},
|
|
626
633
|
default: {
|
|
627
|
-
bodyMapper: Mappers.ErrorResponse
|
|
628
|
-
|
|
634
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
635
|
+
headersMapper: Mappers.DigitalTwinsListIncomingRelationshipsExceptionHeaders,
|
|
636
|
+
},
|
|
629
637
|
},
|
|
630
638
|
queryParameters: [Parameters.apiVersion],
|
|
631
639
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
632
640
|
headerParameters: [Parameters.accept],
|
|
633
|
-
serializer
|
|
641
|
+
serializer,
|
|
634
642
|
};
|
|
635
643
|
const sendTelemetryOperationSpec = {
|
|
636
644
|
path: "/digitaltwins/{id}/telemetry",
|
|
@@ -638,8 +646,9 @@ const sendTelemetryOperationSpec = {
|
|
|
638
646
|
responses: {
|
|
639
647
|
204: {},
|
|
640
648
|
default: {
|
|
641
|
-
bodyMapper: Mappers.ErrorResponse
|
|
642
|
-
|
|
649
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
650
|
+
headersMapper: Mappers.DigitalTwinsSendTelemetryExceptionHeaders,
|
|
651
|
+
},
|
|
643
652
|
},
|
|
644
653
|
requestBody: Parameters.telemetry,
|
|
645
654
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -648,10 +657,10 @@ const sendTelemetryOperationSpec = {
|
|
|
648
657
|
Parameters.contentType,
|
|
649
658
|
Parameters.accept,
|
|
650
659
|
Parameters.messageId,
|
|
651
|
-
Parameters.telemetrySourceTime
|
|
660
|
+
Parameters.telemetrySourceTime,
|
|
652
661
|
],
|
|
653
662
|
mediaType: "json",
|
|
654
|
-
serializer
|
|
663
|
+
serializer,
|
|
655
664
|
};
|
|
656
665
|
const sendComponentTelemetryOperationSpec = {
|
|
657
666
|
path: "/digitaltwins/{id}/components/{componentPath}/telemetry",
|
|
@@ -659,8 +668,9 @@ const sendComponentTelemetryOperationSpec = {
|
|
|
659
668
|
responses: {
|
|
660
669
|
204: {},
|
|
661
670
|
default: {
|
|
662
|
-
bodyMapper: Mappers.ErrorResponse
|
|
663
|
-
|
|
671
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
672
|
+
headersMapper: Mappers.DigitalTwinsSendComponentTelemetryExceptionHeaders,
|
|
673
|
+
},
|
|
664
674
|
},
|
|
665
675
|
requestBody: Parameters.telemetry,
|
|
666
676
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -669,10 +679,10 @@ const sendComponentTelemetryOperationSpec = {
|
|
|
669
679
|
Parameters.contentType,
|
|
670
680
|
Parameters.accept,
|
|
671
681
|
Parameters.messageId,
|
|
672
|
-
Parameters.telemetrySourceTime
|
|
682
|
+
Parameters.telemetrySourceTime,
|
|
673
683
|
],
|
|
674
684
|
mediaType: "json",
|
|
675
|
-
serializer
|
|
685
|
+
serializer,
|
|
676
686
|
};
|
|
677
687
|
const getComponentOperationSpec = {
|
|
678
688
|
path: "/digitaltwins/{id}/components/{componentPath}",
|
|
@@ -680,30 +690,31 @@ const getComponentOperationSpec = {
|
|
|
680
690
|
responses: {
|
|
681
691
|
200: {
|
|
682
692
|
bodyMapper: {
|
|
683
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
693
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
684
694
|
},
|
|
685
|
-
headersMapper: Mappers.DigitalTwinsGetComponentHeaders
|
|
695
|
+
headersMapper: Mappers.DigitalTwinsGetComponentHeaders,
|
|
686
696
|
},
|
|
687
697
|
default: {
|
|
688
|
-
bodyMapper: Mappers.ErrorResponse
|
|
689
|
-
|
|
698
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
699
|
+
headersMapper: Mappers.DigitalTwinsGetComponentExceptionHeaders,
|
|
700
|
+
},
|
|
690
701
|
},
|
|
691
702
|
queryParameters: [Parameters.apiVersion],
|
|
692
703
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.componentPath],
|
|
693
704
|
headerParameters: [Parameters.accept],
|
|
694
|
-
serializer
|
|
705
|
+
serializer,
|
|
695
706
|
};
|
|
696
707
|
const updateComponentOperationSpec = {
|
|
697
708
|
path: "/digitaltwins/{id}/components/{componentPath}",
|
|
698
709
|
httpMethod: "PATCH",
|
|
699
710
|
responses: {
|
|
700
|
-
202: {},
|
|
701
711
|
204: {
|
|
702
|
-
headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders
|
|
712
|
+
headersMapper: Mappers.DigitalTwinsUpdateComponentHeaders,
|
|
703
713
|
},
|
|
704
714
|
default: {
|
|
705
|
-
bodyMapper: Mappers.ErrorResponse
|
|
706
|
-
|
|
715
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
716
|
+
headersMapper: Mappers.DigitalTwinsUpdateComponentExceptionHeaders,
|
|
717
|
+
},
|
|
707
718
|
},
|
|
708
719
|
requestBody: Parameters.patchDocument,
|
|
709
720
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -711,39 +722,41 @@ const updateComponentOperationSpec = {
|
|
|
711
722
|
headerParameters: [
|
|
712
723
|
Parameters.accept,
|
|
713
724
|
Parameters.contentType1,
|
|
714
|
-
Parameters.ifMatch
|
|
725
|
+
Parameters.ifMatch,
|
|
715
726
|
],
|
|
716
727
|
mediaType: "json",
|
|
717
|
-
serializer
|
|
728
|
+
serializer,
|
|
718
729
|
};
|
|
719
730
|
const listRelationshipsNextOperationSpec = {
|
|
720
731
|
path: "{nextLink}",
|
|
721
732
|
httpMethod: "GET",
|
|
722
733
|
responses: {
|
|
723
734
|
200: {
|
|
724
|
-
bodyMapper: Mappers.RelationshipCollection
|
|
735
|
+
bodyMapper: Mappers.RelationshipCollection,
|
|
725
736
|
},
|
|
726
737
|
default: {
|
|
727
|
-
bodyMapper: Mappers.ErrorResponse
|
|
728
|
-
|
|
738
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
739
|
+
headersMapper: Mappers.DigitalTwinsListRelationshipsNextExceptionHeaders,
|
|
740
|
+
},
|
|
729
741
|
},
|
|
730
742
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],
|
|
731
743
|
headerParameters: [Parameters.accept],
|
|
732
|
-
serializer
|
|
744
|
+
serializer,
|
|
733
745
|
};
|
|
734
746
|
const listIncomingRelationshipsNextOperationSpec = {
|
|
735
747
|
path: "{nextLink}",
|
|
736
748
|
httpMethod: "GET",
|
|
737
749
|
responses: {
|
|
738
750
|
200: {
|
|
739
|
-
bodyMapper: Mappers.IncomingRelationshipCollection
|
|
751
|
+
bodyMapper: Mappers.IncomingRelationshipCollection,
|
|
740
752
|
},
|
|
741
753
|
default: {
|
|
742
|
-
bodyMapper: Mappers.ErrorResponse
|
|
743
|
-
|
|
754
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
755
|
+
headersMapper: Mappers.DigitalTwinsListIncomingRelationshipsNextExceptionHeaders,
|
|
756
|
+
},
|
|
744
757
|
},
|
|
745
758
|
urlParameters: [Parameters.$host, Parameters.id, Parameters.nextLink],
|
|
746
759
|
headerParameters: [Parameters.accept],
|
|
747
|
-
serializer
|
|
760
|
+
serializer,
|
|
748
761
|
};
|
|
749
762
|
//# sourceMappingURL=digitalTwins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operations/digitalTwins.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkCtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,g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;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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkCtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,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,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,2BAA2B,CAAC,EAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACjE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,2BAA2B,CACxC,EAAU,EACV,OAAqD,EACrD,QAAuB;;YAE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AAU;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,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,gCAAg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