@microsoft/msgraph-sdk-print 1.0.0-preview.10
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/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/print/connectors/count/index.d.ts +40 -0
- package/print/connectors/count/index.d.ts.map +1 -0
- package/print/connectors/count/index.js +35 -0
- package/print/connectors/index.d.ts +96 -0
- package/print/connectors/index.d.ts.map +1 -0
- package/print/connectors/index.js +70 -0
- package/print/connectors/item/index.d.ts +69 -0
- package/print/connectors/item/index.d.ts.map +1 -0
- package/print/connectors/item/index.js +56 -0
- package/print/index.d.ts +89 -0
- package/print/index.d.ts.map +1 -0
- package/print/index.js +89 -0
- package/print/operations/count/index.d.ts +40 -0
- package/print/operations/count/index.d.ts.map +1 -0
- package/print/operations/count/index.js +35 -0
- package/print/operations/index.d.ts +95 -0
- package/print/operations/index.d.ts.map +1 -0
- package/print/operations/index.js +70 -0
- package/print/operations/item/index.d.ts +67 -0
- package/print/operations/item/index.d.ts.map +1 -0
- package/print/operations/item/index.js +56 -0
- package/print/printers/count/index.d.ts +40 -0
- package/print/printers/count/index.d.ts.map +1 -0
- package/print/printers/count/index.js +35 -0
- package/print/printers/create/index.d.ts +84 -0
- package/print/printers/create/index.d.ts.map +1 -0
- package/print/printers/create/index.js +71 -0
- package/print/printers/index.d.ts +101 -0
- package/print/printers/index.d.ts.map +1 -0
- package/print/printers/index.js +76 -0
- package/print/printers/item/connectors/count/index.d.ts +40 -0
- package/print/printers/item/connectors/count/index.d.ts.map +1 -0
- package/print/printers/item/connectors/count/index.js +35 -0
- package/print/printers/item/connectors/index.d.ts +82 -0
- package/print/printers/item/connectors/index.d.ts.map +1 -0
- package/print/printers/item/connectors/index.js +58 -0
- package/print/printers/item/connectors/item/index.d.ts +41 -0
- package/print/printers/item/connectors/item/index.d.ts.map +1 -0
- package/print/printers/item/connectors/item/index.js +36 -0
- package/print/printers/item/index.d.ts +98 -0
- package/print/printers/item/index.d.ts.map +1 -0
- package/print/printers/item/index.js +90 -0
- package/print/printers/item/jobs/count/index.d.ts +40 -0
- package/print/printers/item/jobs/count/index.d.ts.map +1 -0
- package/print/printers/item/jobs/count/index.js +35 -0
- package/print/printers/item/jobs/index.d.ts +95 -0
- package/print/printers/item/jobs/index.d.ts.map +1 -0
- package/print/printers/item/jobs/index.js +71 -0
- package/print/printers/item/jobs/item/abort/index.d.ts +59 -0
- package/print/printers/item/jobs/item/abort/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/abort/index.js +58 -0
- package/print/printers/item/jobs/item/cancel/index.d.ts +27 -0
- package/print/printers/item/jobs/item/cancel/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/cancel/index.js +26 -0
- package/print/printers/item/jobs/item/documents/count/index.d.ts +40 -0
- package/print/printers/item/jobs/item/documents/count/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/documents/count/index.js +35 -0
- package/print/printers/item/jobs/item/documents/index.d.ts +95 -0
- package/print/printers/item/jobs/item/documents/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/documents/index.js +71 -0
- package/print/printers/item/jobs/item/documents/item/createUploadSession/index.d.ts +61 -0
- package/print/printers/item/jobs/item/documents/item/createUploadSession/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/documents/item/createUploadSession/index.js +60 -0
- package/print/printers/item/jobs/item/documents/item/index.d.ts +80 -0
- package/print/printers/item/jobs/item/documents/item/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/documents/item/index.js +71 -0
- package/print/printers/item/jobs/item/documents/item/value/index.d.ts +41 -0
- package/print/printers/item/jobs/item/documents/item/value/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/documents/item/value/index.js +38 -0
- package/print/printers/item/jobs/item/index.d.ts +100 -0
- package/print/printers/item/jobs/item/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/index.js +93 -0
- package/print/printers/item/jobs/item/redirect/index.d.ts +65 -0
- package/print/printers/item/jobs/item/redirect/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/redirect/index.js +62 -0
- package/print/printers/item/jobs/item/start/index.d.ts +29 -0
- package/print/printers/item/jobs/item/start/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/start/index.js +28 -0
- package/print/printers/item/jobs/item/tasks/count/index.d.ts +40 -0
- package/print/printers/item/jobs/item/tasks/count/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/tasks/count/index.js +35 -0
- package/print/printers/item/jobs/item/tasks/index.d.ts +95 -0
- package/print/printers/item/jobs/item/tasks/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/tasks/index.js +71 -0
- package/print/printers/item/jobs/item/tasks/item/definition/index.d.ts +41 -0
- package/print/printers/item/jobs/item/tasks/item/definition/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/tasks/item/definition/index.js +36 -0
- package/print/printers/item/jobs/item/tasks/item/index.d.ts +80 -0
- package/print/printers/item/jobs/item/tasks/item/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/tasks/item/index.js +71 -0
- package/print/printers/item/jobs/item/tasks/item/trigger/index.d.ts +41 -0
- package/print/printers/item/jobs/item/tasks/item/trigger/index.d.ts.map +1 -0
- package/print/printers/item/jobs/item/tasks/item/trigger/index.js +36 -0
- package/print/printers/item/restoreFactoryDefaults/index.d.ts +27 -0
- package/print/printers/item/restoreFactoryDefaults/index.d.ts.map +1 -0
- package/print/printers/item/restoreFactoryDefaults/index.js +26 -0
- package/print/printers/item/shares/count/index.d.ts +40 -0
- package/print/printers/item/shares/count/index.d.ts.map +1 -0
- package/print/printers/item/shares/count/index.js +35 -0
- package/print/printers/item/shares/index.d.ts +82 -0
- package/print/printers/item/shares/index.d.ts.map +1 -0
- package/print/printers/item/shares/index.js +58 -0
- package/print/printers/item/shares/item/index.d.ts +41 -0
- package/print/printers/item/shares/item/index.d.ts.map +1 -0
- package/print/printers/item/shares/item/index.js +36 -0
- package/print/printers/item/taskTriggers/count/index.d.ts +40 -0
- package/print/printers/item/taskTriggers/count/index.d.ts.map +1 -0
- package/print/printers/item/taskTriggers/count/index.js +35 -0
- package/print/printers/item/taskTriggers/index.d.ts +97 -0
- package/print/printers/item/taskTriggers/index.d.ts.map +1 -0
- package/print/printers/item/taskTriggers/index.js +71 -0
- package/print/printers/item/taskTriggers/item/definition/index.d.ts +41 -0
- package/print/printers/item/taskTriggers/item/definition/index.d.ts.map +1 -0
- package/print/printers/item/taskTriggers/item/definition/index.js +36 -0
- package/print/printers/item/taskTriggers/item/index.d.ts +77 -0
- package/print/printers/item/taskTriggers/item/index.d.ts.map +1 -0
- package/print/printers/item/taskTriggers/item/index.js +66 -0
- package/print/services/count/index.d.ts +40 -0
- package/print/services/count/index.d.ts.map +1 -0
- package/print/services/count/index.js +35 -0
- package/print/services/index.d.ts +96 -0
- package/print/services/index.d.ts.map +1 -0
- package/print/services/index.js +71 -0
- package/print/services/item/endpoints/count/index.d.ts +40 -0
- package/print/services/item/endpoints/count/index.d.ts.map +1 -0
- package/print/services/item/endpoints/count/index.js +35 -0
- package/print/services/item/endpoints/index.d.ts +96 -0
- package/print/services/item/endpoints/index.d.ts.map +1 -0
- package/print/services/item/endpoints/index.js +70 -0
- package/print/services/item/endpoints/item/index.d.ts +67 -0
- package/print/services/item/endpoints/item/index.d.ts.map +1 -0
- package/print/services/item/endpoints/item/index.js +56 -0
- package/print/services/item/index.d.ts +76 -0
- package/print/services/item/index.d.ts.map +1 -0
- package/print/services/item/index.js +67 -0
- package/print/shares/count/index.d.ts +40 -0
- package/print/shares/count/index.d.ts.map +1 -0
- package/print/shares/count/index.js +35 -0
- package/print/shares/index.d.ts +97 -0
- package/print/shares/index.d.ts.map +1 -0
- package/print/shares/index.js +71 -0
- package/print/shares/item/allowedGroups/count/index.d.ts +40 -0
- package/print/shares/item/allowedGroups/count/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/count/index.js +35 -0
- package/print/shares/item/allowedGroups/index.d.ts +87 -0
- package/print/shares/item/allowedGroups/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/index.js +63 -0
- package/print/shares/item/allowedGroups/item/index.d.ts +25 -0
- package/print/shares/item/allowedGroups/item/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/item/index.js +28 -0
- package/print/shares/item/allowedGroups/item/ref/index.d.ts +36 -0
- package/print/shares/item/allowedGroups/item/ref/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/item/ref/index.js +33 -0
- package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/count/index.js +35 -0
- package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/index.d.ts +74 -0
- package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/index.js +52 -0
- package/print/shares/item/allowedGroups/ref/index.d.ts +72 -0
- package/print/shares/item/allowedGroups/ref/index.d.ts.map +1 -0
- package/print/shares/item/allowedGroups/ref/index.js +51 -0
- package/print/shares/item/allowedUsers/count/index.d.ts +40 -0
- package/print/shares/item/allowedUsers/count/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/count/index.js +35 -0
- package/print/shares/item/allowedUsers/index.d.ts +87 -0
- package/print/shares/item/allowedUsers/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/index.js +63 -0
- package/print/shares/item/allowedUsers/item/index.d.ts +30 -0
- package/print/shares/item/allowedUsers/item/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/item/index.js +33 -0
- package/print/shares/item/allowedUsers/item/mailboxSettings/index.d.ts +55 -0
- package/print/shares/item/allowedUsers/item/mailboxSettings/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/item/mailboxSettings/index.js +48 -0
- package/print/shares/item/allowedUsers/item/ref/index.d.ts +36 -0
- package/print/shares/item/allowedUsers/item/ref/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/item/ref/index.js +33 -0
- package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/count/index.js +35 -0
- package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/index.d.ts +74 -0
- package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/index.js +52 -0
- package/print/shares/item/allowedUsers/ref/index.d.ts +72 -0
- package/print/shares/item/allowedUsers/ref/index.d.ts.map +1 -0
- package/print/shares/item/allowedUsers/ref/index.js +51 -0
- package/print/shares/item/index.d.ts +93 -0
- package/print/shares/item/index.d.ts.map +1 -0
- package/print/shares/item/index.js +84 -0
- package/print/shares/item/jobs/count/index.d.ts +40 -0
- package/print/shares/item/jobs/count/index.d.ts.map +1 -0
- package/print/shares/item/jobs/count/index.js +35 -0
- package/print/shares/item/jobs/index.d.ts +95 -0
- package/print/shares/item/jobs/index.d.ts.map +1 -0
- package/print/shares/item/jobs/index.js +71 -0
- package/print/shares/item/jobs/item/abort/index.d.ts +59 -0
- package/print/shares/item/jobs/item/abort/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/abort/index.js +58 -0
- package/print/shares/item/jobs/item/cancel/index.d.ts +27 -0
- package/print/shares/item/jobs/item/cancel/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/cancel/index.js +26 -0
- package/print/shares/item/jobs/item/documents/count/index.d.ts +40 -0
- package/print/shares/item/jobs/item/documents/count/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/documents/count/index.js +35 -0
- package/print/shares/item/jobs/item/documents/index.d.ts +95 -0
- package/print/shares/item/jobs/item/documents/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/documents/index.js +71 -0
- package/print/shares/item/jobs/item/documents/item/createUploadSession/index.d.ts +61 -0
- package/print/shares/item/jobs/item/documents/item/createUploadSession/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/documents/item/createUploadSession/index.js +60 -0
- package/print/shares/item/jobs/item/documents/item/index.d.ts +80 -0
- package/print/shares/item/jobs/item/documents/item/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/documents/item/index.js +71 -0
- package/print/shares/item/jobs/item/documents/item/value/index.d.ts +41 -0
- package/print/shares/item/jobs/item/documents/item/value/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/documents/item/value/index.js +38 -0
- package/print/shares/item/jobs/item/index.d.ts +100 -0
- package/print/shares/item/jobs/item/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/index.js +93 -0
- package/print/shares/item/jobs/item/redirect/index.d.ts +65 -0
- package/print/shares/item/jobs/item/redirect/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/redirect/index.js +62 -0
- package/print/shares/item/jobs/item/start/index.d.ts +29 -0
- package/print/shares/item/jobs/item/start/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/start/index.js +28 -0
- package/print/shares/item/jobs/item/tasks/count/index.d.ts +40 -0
- package/print/shares/item/jobs/item/tasks/count/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/tasks/count/index.js +35 -0
- package/print/shares/item/jobs/item/tasks/index.d.ts +95 -0
- package/print/shares/item/jobs/item/tasks/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/tasks/index.js +71 -0
- package/print/shares/item/jobs/item/tasks/item/definition/index.d.ts +41 -0
- package/print/shares/item/jobs/item/tasks/item/definition/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/tasks/item/definition/index.js +36 -0
- package/print/shares/item/jobs/item/tasks/item/index.d.ts +80 -0
- package/print/shares/item/jobs/item/tasks/item/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/tasks/item/index.js +71 -0
- package/print/shares/item/jobs/item/tasks/item/trigger/index.d.ts +41 -0
- package/print/shares/item/jobs/item/tasks/item/trigger/index.d.ts.map +1 -0
- package/print/shares/item/jobs/item/tasks/item/trigger/index.js +36 -0
- package/print/shares/item/printer/index.d.ts +41 -0
- package/print/shares/item/printer/index.d.ts.map +1 -0
- package/print/shares/item/printer/index.js +36 -0
- package/print/taskDefinitions/count/index.d.ts +40 -0
- package/print/taskDefinitions/count/index.d.ts.map +1 -0
- package/print/taskDefinitions/count/index.js +35 -0
- package/print/taskDefinitions/index.d.ts +97 -0
- package/print/taskDefinitions/index.d.ts.map +1 -0
- package/print/taskDefinitions/index.js +71 -0
- package/print/taskDefinitions/item/index.d.ts +78 -0
- package/print/taskDefinitions/item/index.d.ts.map +1 -0
- package/print/taskDefinitions/item/index.js +67 -0
- package/print/taskDefinitions/item/tasks/count/index.d.ts +40 -0
- package/print/taskDefinitions/item/tasks/count/index.d.ts.map +1 -0
- package/print/taskDefinitions/item/tasks/count/index.js +35 -0
- package/print/taskDefinitions/item/tasks/index.d.ts +96 -0
- package/print/taskDefinitions/item/tasks/index.d.ts.map +1 -0
- package/print/taskDefinitions/item/tasks/index.js +71 -0
- package/print/taskDefinitions/item/tasks/item/definition/index.d.ts +41 -0
- package/print/taskDefinitions/item/tasks/item/definition/index.d.ts.map +1 -0
- package/print/taskDefinitions/item/tasks/item/definition/index.js +36 -0
- package/print/taskDefinitions/item/tasks/item/index.d.ts +82 -0
- package/print/taskDefinitions/item/tasks/item/index.d.ts.map +1 -0
- package/print/taskDefinitions/item/tasks/item/index.js +71 -0
- package/print/taskDefinitions/item/tasks/item/trigger/index.d.ts +41 -0
- package/print/taskDefinitions/item/tasks/item/trigger/index.d.ts.map +1 -0
- package/print/taskDefinitions/item/tasks/item/trigger/index.js +36 -0
- package/printServiceClient.d.ts +25 -0
- package/printServiceClient.d.ts.map +1 -0
- package/printServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
package/print/index.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrintRequestBuilderUriTemplate = exports.PrintRequestBuilderRequestsMetadata = exports.PrintRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const connectors_1 = require("./connectors/");
|
|
10
|
+
const operations_1 = require("./operations/");
|
|
11
|
+
const printers_1 = require("./printers/");
|
|
12
|
+
const services_1 = require("./services/");
|
|
13
|
+
const shares_1 = require("./shares/");
|
|
14
|
+
const taskDefinitions_1 = require("./taskDefinitions/");
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const PrintRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the navigation properties in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
exports.PrintRequestBuilderNavigationMetadata = {
|
|
26
|
+
connectors: {
|
|
27
|
+
uriTemplate: connectors_1.ConnectorsRequestBuilderUriTemplate,
|
|
28
|
+
requestsMetadata: connectors_1.ConnectorsRequestBuilderRequestsMetadata,
|
|
29
|
+
navigationMetadata: connectors_1.ConnectorsRequestBuilderNavigationMetadata,
|
|
30
|
+
},
|
|
31
|
+
operations: {
|
|
32
|
+
uriTemplate: operations_1.OperationsRequestBuilderUriTemplate,
|
|
33
|
+
requestsMetadata: operations_1.OperationsRequestBuilderRequestsMetadata,
|
|
34
|
+
navigationMetadata: operations_1.OperationsRequestBuilderNavigationMetadata,
|
|
35
|
+
},
|
|
36
|
+
printers: {
|
|
37
|
+
uriTemplate: printers_1.PrintersRequestBuilderUriTemplate,
|
|
38
|
+
requestsMetadata: printers_1.PrintersRequestBuilderRequestsMetadata,
|
|
39
|
+
navigationMetadata: printers_1.PrintersRequestBuilderNavigationMetadata,
|
|
40
|
+
},
|
|
41
|
+
services: {
|
|
42
|
+
uriTemplate: services_1.ServicesRequestBuilderUriTemplate,
|
|
43
|
+
requestsMetadata: services_1.ServicesRequestBuilderRequestsMetadata,
|
|
44
|
+
navigationMetadata: services_1.ServicesRequestBuilderNavigationMetadata,
|
|
45
|
+
},
|
|
46
|
+
shares: {
|
|
47
|
+
uriTemplate: shares_1.SharesRequestBuilderUriTemplate,
|
|
48
|
+
requestsMetadata: shares_1.SharesRequestBuilderRequestsMetadata,
|
|
49
|
+
navigationMetadata: shares_1.SharesRequestBuilderNavigationMetadata,
|
|
50
|
+
},
|
|
51
|
+
taskDefinitions: {
|
|
52
|
+
uriTemplate: taskDefinitions_1.TaskDefinitionsRequestBuilderUriTemplate,
|
|
53
|
+
requestsMetadata: taskDefinitions_1.TaskDefinitionsRequestBuilderRequestsMetadata,
|
|
54
|
+
navigationMetadata: taskDefinitions_1.TaskDefinitionsRequestBuilderNavigationMetadata,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
exports.PrintRequestBuilderRequestsMetadata = {
|
|
61
|
+
get: {
|
|
62
|
+
responseBodyContentType: "application/json",
|
|
63
|
+
errorMappings: {
|
|
64
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
65
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
adapterMethodName: "sendAsync",
|
|
68
|
+
responseBodyFactory: models_1.createPrintFromDiscriminatorValue,
|
|
69
|
+
queryParametersMapper: PrintRequestBuilderGetQueryParametersMapper,
|
|
70
|
+
},
|
|
71
|
+
patch: {
|
|
72
|
+
responseBodyContentType: "application/json",
|
|
73
|
+
errorMappings: {
|
|
74
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
76
|
+
},
|
|
77
|
+
adapterMethodName: "sendAsync",
|
|
78
|
+
responseBodyFactory: models_1.createPrintFromDiscriminatorValue,
|
|
79
|
+
requestBodyContentType: "application/json",
|
|
80
|
+
requestBodySerializer: models_1.serializePrint,
|
|
81
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Uri template for the request builder.
|
|
86
|
+
*/
|
|
87
|
+
exports.PrintRequestBuilderUriTemplate = "{+baseurl}/print{?%24select,%24expand}";
|
|
88
|
+
/* tslint:enable */
|
|
89
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/print/operations/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,6DAA6D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/print/operations/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type PrintOperation, type PrintOperationCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type PrintOperationItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the operations property of the microsoft.graph.print entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface OperationsRequestBuilder extends BaseRequestBuilder<OperationsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the operations property of the microsoft.graph.print entity.
|
|
15
|
+
* @param printOperationId The unique identifier of printOperation
|
|
16
|
+
* @returns a PrintOperationItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byPrintOperationId(printOperationId: string): PrintOperationItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve the properties and relationships of a printOperation object.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of PrintOperationCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<OperationsRequestBuilderGetQueryParameters> | undefined): Promise<PrintOperationCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create new navigation property to operations for print
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of PrintOperation
|
|
30
|
+
*/
|
|
31
|
+
post(body: PrintOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintOperation | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve the properties and relationships of a printOperation object.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OperationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Create new navigation property to operations for print
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: PrintOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve the properties and relationships of a printOperation object.
|
|
48
|
+
*/
|
|
49
|
+
export interface OperationsRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Include count of items
|
|
52
|
+
*/
|
|
53
|
+
count?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Expand related entities
|
|
56
|
+
*/
|
|
57
|
+
expand?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Filter items by property values
|
|
60
|
+
*/
|
|
61
|
+
filter?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Order items by property values
|
|
64
|
+
*/
|
|
65
|
+
orderby?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Search items by search phrases
|
|
68
|
+
*/
|
|
69
|
+
search?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Select properties to be returned
|
|
72
|
+
*/
|
|
73
|
+
select?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Skip the first n items
|
|
76
|
+
*/
|
|
77
|
+
skip?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Show only the first n items
|
|
80
|
+
*/
|
|
81
|
+
top?: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Metadata for all the navigation properties in the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const OperationsRequestBuilderNavigationMetadata: Record<Exclude<keyof OperationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const OperationsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const OperationsRequestBuilderUriTemplate = "{+baseurl}/print/operations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
95
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqI,KAAK,cAAc,EAAE,KAAK,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAE/O,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAC/J,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACjF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,6GAA6G,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationsRequestBuilderUriTemplate = exports.OperationsRequestBuilderRequestsMetadata = exports.OperationsRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const OperationsRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.OperationsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byPrintOperationId: {
|
|
29
|
+
uriTemplate: item_1.PrintOperationItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.PrintOperationItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["printOperation%2Did"],
|
|
32
|
+
},
|
|
33
|
+
count: {
|
|
34
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.OperationsRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createPrintOperationCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: OperationsRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendAsync",
|
|
59
|
+
responseBodyFactory: models_1.createPrintOperationFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializePrintOperation,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.OperationsRequestBuilderUriTemplate = "{+baseurl}/print/operations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type PrintOperation } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the operations property of the microsoft.graph.print entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface PrintOperationItemRequestBuilder extends BaseRequestBuilder<PrintOperationItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property operations for print
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieve the properties and relationships of a printOperation object.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of PrintOperation
|
|
16
|
+
* @see {@link https://learn.microsoft.com/graph/api/printoperation-get?view=graph-rest-1.0|Find more info here}
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<PrintOperationItemRequestBuilderGetQueryParameters> | undefined): Promise<PrintOperation | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the navigation property operations in print
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a Promise of PrintOperation
|
|
24
|
+
*/
|
|
25
|
+
patch(body: PrintOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintOperation | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete navigation property operations for print
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a RequestInformation
|
|
30
|
+
*/
|
|
31
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve the properties and relationships of a printOperation object.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintOperationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Update the navigation property operations in print
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPatchRequestInformation(body: PrintOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve the properties and relationships of a printOperation object.
|
|
48
|
+
*/
|
|
49
|
+
export interface PrintOperationItemRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Expand related entities
|
|
52
|
+
*/
|
|
53
|
+
expand?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Select properties to be returned
|
|
56
|
+
*/
|
|
57
|
+
select?: string[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
export declare const PrintOperationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
63
|
+
/**
|
|
64
|
+
* Uri template for the request builder.
|
|
65
|
+
*/
|
|
66
|
+
export declare const PrintOperationItemRequestBuilderUriTemplate = "{+baseurl}/print/operations/{printOperation%2Did}{?%24select,%24expand}";
|
|
67
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAE1I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACpI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBA+B9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,4EAA4E,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrintOperationItemRequestBuilderUriTemplate = exports.PrintOperationItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const PrintOperationItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.PrintOperationItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createPrintOperationFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: PrintOperationItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createPrintOperationFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializePrintOperation,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.PrintOperationItemRequestBuilderUriTemplate = "{+baseurl}/print/operations/{printOperation%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/print/printers/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/print/printers/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type PrintCertificateSigningRequest } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a createPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createCreatePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCreatePostRequestBody;
|
|
9
|
+
export interface CreatePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
10
|
+
/**
|
|
11
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
12
|
+
*/
|
|
13
|
+
additionalData?: Record<string, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* Stores model information.
|
|
16
|
+
*/
|
|
17
|
+
backingStoreEnabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The certificateSigningRequest property
|
|
20
|
+
*/
|
|
21
|
+
certificateSigningRequest?: PrintCertificateSigningRequest;
|
|
22
|
+
/**
|
|
23
|
+
* The connectorId property
|
|
24
|
+
*/
|
|
25
|
+
connectorId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The displayName property
|
|
28
|
+
*/
|
|
29
|
+
displayName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The hasPhysicalDevice property
|
|
32
|
+
*/
|
|
33
|
+
hasPhysicalDevice?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The manufacturer property
|
|
36
|
+
*/
|
|
37
|
+
manufacturer?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The model property
|
|
40
|
+
*/
|
|
41
|
+
model?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The physicalDeviceId property
|
|
44
|
+
*/
|
|
45
|
+
physicalDeviceId?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Provides operations to call the create method.
|
|
49
|
+
*/
|
|
50
|
+
export interface CreateRequestBuilder extends BaseRequestBuilder<CreateRequestBuilder> {
|
|
51
|
+
/**
|
|
52
|
+
* Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample.
|
|
53
|
+
* @param body The request body
|
|
54
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
55
|
+
* @see {@link https://learn.microsoft.com/graph/api/printer-create?view=graph-rest-1.0|Find more info here}
|
|
56
|
+
*/
|
|
57
|
+
post(body: CreatePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample.
|
|
60
|
+
* @param body The request body
|
|
61
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
62
|
+
* @returns a RequestInformation
|
|
63
|
+
*/
|
|
64
|
+
toPostRequestInformation(body: CreatePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The deserialization information for the current model
|
|
68
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
69
|
+
*/
|
|
70
|
+
export declare function deserializeIntoCreatePostRequestBody(createPostRequestBody?: CreatePostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
71
|
+
/**
|
|
72
|
+
* Serializes information the current object
|
|
73
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74
|
+
*/
|
|
75
|
+
export declare function serializeCreatePostRequestBody(writer: SerializationWriter, createPostRequestBody?: CreatePostRequestBody | undefined): void;
|
|
76
|
+
/**
|
|
77
|
+
* Metadata for all the requests in the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const CreateRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
80
|
+
/**
|
|
81
|
+
* Uri template for the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const CreateRequestBuilderUriTemplate = "{+baseurl}/print/printers/create";
|
|
84
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuG,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAE1L,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,+CAEjG;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,yBAAyB,CAAC,EAAE,8BAA8B,CAAC;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACpH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAWvL;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,IAAI,CASzK;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,qCAAqC,CAAC"}
|