@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
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRequestBuilderUriTemplate = exports.CreateRequestBuilderRequestsMetadata = exports.serializeCreatePostRequestBody = exports.deserializeIntoCreatePostRequestBody = exports.createCreatePostRequestBodyFromDiscriminatorValue = 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
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a createPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createCreatePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoCreatePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createCreatePostRequestBodyFromDiscriminatorValue = createCreatePostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* The deserialization information for the current model
|
|
20
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
21
|
+
*/
|
|
22
|
+
function deserializeIntoCreatePostRequestBody(createPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { createPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"certificateSigningRequest": n => { createPostRequestBody.certificateSigningRequest = n.getObjectValue(models_1.createPrintCertificateSigningRequestFromDiscriminatorValue); },
|
|
26
|
+
"connectorId": n => { createPostRequestBody.connectorId = n.getStringValue(); },
|
|
27
|
+
"displayName": n => { createPostRequestBody.displayName = n.getStringValue(); },
|
|
28
|
+
"hasPhysicalDevice": n => { createPostRequestBody.hasPhysicalDevice = n.getBooleanValue(); },
|
|
29
|
+
"manufacturer": n => { createPostRequestBody.manufacturer = n.getStringValue(); },
|
|
30
|
+
"model": n => { createPostRequestBody.model = n.getStringValue(); },
|
|
31
|
+
"physicalDeviceId": n => { createPostRequestBody.physicalDeviceId = n.getStringValue(); },
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
exports.deserializeIntoCreatePostRequestBody = deserializeIntoCreatePostRequestBody;
|
|
35
|
+
/**
|
|
36
|
+
* Serializes information the current object
|
|
37
|
+
* @param writer Serialization writer to use to serialize this model
|
|
38
|
+
*/
|
|
39
|
+
function serializeCreatePostRequestBody(writer, createPostRequestBody = {}) {
|
|
40
|
+
writer.writeObjectValue("certificateSigningRequest", createPostRequestBody.certificateSigningRequest, models_1.serializePrintCertificateSigningRequest);
|
|
41
|
+
writer.writeStringValue("connectorId", createPostRequestBody.connectorId);
|
|
42
|
+
writer.writeStringValue("displayName", createPostRequestBody.displayName);
|
|
43
|
+
writer.writeBooleanValue("hasPhysicalDevice", createPostRequestBody.hasPhysicalDevice);
|
|
44
|
+
writer.writeStringValue("manufacturer", createPostRequestBody.manufacturer);
|
|
45
|
+
writer.writeStringValue("model", createPostRequestBody.model);
|
|
46
|
+
writer.writeStringValue("physicalDeviceId", createPostRequestBody.physicalDeviceId);
|
|
47
|
+
writer.writeAdditionalData(createPostRequestBody.additionalData);
|
|
48
|
+
}
|
|
49
|
+
exports.serializeCreatePostRequestBody = serializeCreatePostRequestBody;
|
|
50
|
+
/**
|
|
51
|
+
* Metadata for all the requests in the request builder.
|
|
52
|
+
*/
|
|
53
|
+
exports.CreateRequestBuilderRequestsMetadata = {
|
|
54
|
+
post: {
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
},
|
|
60
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: serializeCreatePostRequestBody,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.CreateRequestBuilderUriTemplate = "{+baseurl}/print/printers/create";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { type Printer, type PrinterCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type CreateRequestBuilder } from './create/';
|
|
4
|
+
import { type PrinterItemRequestBuilder } from './item/';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the printers property of the microsoft.graph.print entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface PrintersRequestBuilder extends BaseRequestBuilder<PrintersRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to count the resources in the collection.
|
|
12
|
+
*/
|
|
13
|
+
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the create method.
|
|
16
|
+
*/
|
|
17
|
+
get create(): CreateRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the printers property of the microsoft.graph.print entity.
|
|
20
|
+
* @param printerId The unique identifier of printer
|
|
21
|
+
* @returns a PrinterItemRequestBuilder
|
|
22
|
+
*/
|
|
23
|
+
byPrinterId(printerId: string): PrinterItemRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve the list of printers that are registered in the tenant.
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns a Promise of PrinterCollectionResponse
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/print-list-printers?view=graph-rest-1.0|Find more info here}
|
|
29
|
+
*/
|
|
30
|
+
get(requestConfiguration?: RequestConfiguration<PrintersRequestBuilderGetQueryParameters> | undefined): Promise<PrinterCollectionResponse | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Create new navigation property to printers for print
|
|
33
|
+
* @param body The request body
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a Promise of Printer
|
|
36
|
+
*/
|
|
37
|
+
post(body: Printer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Printer | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve the list of printers that are registered in the tenant.
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a RequestInformation
|
|
42
|
+
*/
|
|
43
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
44
|
+
/**
|
|
45
|
+
* Create new navigation property to printers for print
|
|
46
|
+
* @param body The request body
|
|
47
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
|
+
* @returns a RequestInformation
|
|
49
|
+
*/
|
|
50
|
+
toPostRequestInformation(body: Printer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Retrieve the list of printers that are registered in the tenant.
|
|
54
|
+
*/
|
|
55
|
+
export interface PrintersRequestBuilderGetQueryParameters {
|
|
56
|
+
/**
|
|
57
|
+
* Include count of items
|
|
58
|
+
*/
|
|
59
|
+
count?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Expand related entities
|
|
62
|
+
*/
|
|
63
|
+
expand?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Filter items by property values
|
|
66
|
+
*/
|
|
67
|
+
filter?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Order items by property values
|
|
70
|
+
*/
|
|
71
|
+
orderby?: string[];
|
|
72
|
+
/**
|
|
73
|
+
* Search items by search phrases
|
|
74
|
+
*/
|
|
75
|
+
search?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Select properties to be returned
|
|
78
|
+
*/
|
|
79
|
+
select?: string[];
|
|
80
|
+
/**
|
|
81
|
+
* Skip the first n items
|
|
82
|
+
*/
|
|
83
|
+
skip?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Show only the first n items
|
|
86
|
+
*/
|
|
87
|
+
top?: number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the navigation properties in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const PrintersRequestBuilderNavigationMetadata: Record<Exclude<keyof PrintersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const PrintersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
97
|
+
/**
|
|
98
|
+
* Uri template for the request builder.
|
|
99
|
+
*/
|
|
100
|
+
export declare const PrintersRequestBuilderUriTemplate = "{+baseurl}/print/printers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
101
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE5M,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC7H,OAAO,EAAgI,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACvL,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;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,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAe1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,2GAA2G,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrintersRequestBuilderUriTemplate = exports.PrintersRequestBuilderRequestsMetadata = exports.PrintersRequestBuilderNavigationMetadata = 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 create_1 = require("./create/");
|
|
11
|
+
const item_1 = require("./item/");
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const PrintersRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"count": "%24count",
|
|
17
|
+
"expand": "%24expand",
|
|
18
|
+
"filter": "%24filter",
|
|
19
|
+
"orderby": "%24orderby",
|
|
20
|
+
"search": "%24search",
|
|
21
|
+
"select": "%24select",
|
|
22
|
+
"skip": "%24skip",
|
|
23
|
+
"top": "%24top",
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the navigation properties in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
exports.PrintersRequestBuilderNavigationMetadata = {
|
|
29
|
+
byPrinterId: {
|
|
30
|
+
uriTemplate: item_1.PrinterItemRequestBuilderUriTemplate,
|
|
31
|
+
requestsMetadata: item_1.PrinterItemRequestBuilderRequestsMetadata,
|
|
32
|
+
navigationMetadata: item_1.PrinterItemRequestBuilderNavigationMetadata,
|
|
33
|
+
pathParametersMappings: ["printer%2Did"],
|
|
34
|
+
},
|
|
35
|
+
count: {
|
|
36
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
37
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
38
|
+
},
|
|
39
|
+
create: {
|
|
40
|
+
uriTemplate: create_1.CreateRequestBuilderUriTemplate,
|
|
41
|
+
requestsMetadata: create_1.CreateRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.PrintersRequestBuilderRequestsMetadata = {
|
|
48
|
+
get: {
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "sendAsync",
|
|
55
|
+
responseBodyFactory: models_1.createPrinterCollectionResponseFromDiscriminatorValue,
|
|
56
|
+
queryParametersMapper: PrintersRequestBuilderGetQueryParametersMapper,
|
|
57
|
+
},
|
|
58
|
+
post: {
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
62
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
63
|
+
},
|
|
64
|
+
adapterMethodName: "sendAsync",
|
|
65
|
+
responseBodyFactory: models_1.createPrinterFromDiscriminatorValue,
|
|
66
|
+
requestBodyContentType: "application/json",
|
|
67
|
+
requestBodySerializer: models_1.serializePrinter,
|
|
68
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Uri template for the request builder.
|
|
73
|
+
*/
|
|
74
|
+
exports.PrintersRequestBuilderUriTemplate = "{+baseurl}/print/printers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
75
|
+
/* tslint:enable */
|
|
76
|
+
/* 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/{printer%2Did}/connectors/$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,qFAAqF,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/{printer%2Did}/connectors/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type PrintConnectorCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type PrintConnectorItemRequestBuilder } 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 connectors property of the microsoft.graph.printer entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface ConnectorsRequestBuilder extends BaseRequestBuilder<ConnectorsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the connectors property of the microsoft.graph.printer entity.
|
|
15
|
+
* @param printConnectorId The unique identifier of printConnector
|
|
16
|
+
* @returns a PrintConnectorItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byPrintConnectorId(printConnectorId: string): PrintConnectorItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a list of printConnectors associated with the printer.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of PrintConnectorCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/printer-list-connectors?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<ConnectorsRequestBuilderGetQueryParameters> | undefined): Promise<PrintConnectorCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve a list of printConnectors associated with the printer.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a RequestInformation
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConnectorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Retrieve a list of printConnectors associated with the printer.
|
|
35
|
+
*/
|
|
36
|
+
export interface ConnectorsRequestBuilderGetQueryParameters {
|
|
37
|
+
/**
|
|
38
|
+
* Include count of items
|
|
39
|
+
*/
|
|
40
|
+
count?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Expand related entities
|
|
43
|
+
*/
|
|
44
|
+
expand?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Filter items by property values
|
|
47
|
+
*/
|
|
48
|
+
filter?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Order items by property values
|
|
51
|
+
*/
|
|
52
|
+
orderby?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Search items by search phrases
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Skip the first n items
|
|
63
|
+
*/
|
|
64
|
+
skip?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Show only the first n items
|
|
67
|
+
*/
|
|
68
|
+
top?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ConnectorsRequestBuilderNavigationMetadata: Record<Exclude<keyof ConnectorsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const ConnectorsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
/**
|
|
79
|
+
* Uri template for the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const ConnectorsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/connectors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgE,KAAK,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAErJ,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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;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,gBAWtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,qIAAqI,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectorsRequestBuilderUriTemplate = exports.ConnectorsRequestBuilderRequestsMetadata = exports.ConnectorsRequestBuilderNavigationMetadata = 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 ConnectorsRequestBuilderGetQueryParametersMapper = {
|
|
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.ConnectorsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byPrintConnectorId: {
|
|
29
|
+
uriTemplate: item_1.PrintConnectorItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.PrintConnectorItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["printConnector%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.ConnectorsRequestBuilderRequestsMetadata = {
|
|
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.createPrintConnectorCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: ConnectorsRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
exports.ConnectorsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/connectors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type PrintConnector } 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 connectors property of the microsoft.graph.printer entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface PrintConnectorItemRequestBuilder extends BaseRequestBuilder<PrintConnectorItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The connectors that are associated with the printer.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of PrintConnector
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<PrintConnectorItemRequestBuilderGetQueryParameters> | undefined): Promise<PrintConnector | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The connectors that are associated with the printer.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a RequestInformation
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintConnectorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The connectors that are associated with the printer.
|
|
22
|
+
*/
|
|
23
|
+
export interface PrintConnectorItemRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Expand related entities
|
|
26
|
+
*/
|
|
27
|
+
expand?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Select properties to be returned
|
|
30
|
+
*/
|
|
31
|
+
select?: string[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const PrintConnectorItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const PrintConnectorItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/connectors/{printConnector%2Did}{?%24select,%24expand}";
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8C,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEjH,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;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9J;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,gBAW9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,oGAAoG,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrintConnectorItemRequestBuilderUriTemplate = exports.PrintConnectorItemRequestBuilderRequestsMetadata = 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 PrintConnectorItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.PrintConnectorItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
get: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendAsync",
|
|
27
|
+
responseBodyFactory: models_1.createPrintConnectorFromDiscriminatorValue,
|
|
28
|
+
queryParametersMapper: PrintConnectorItemRequestBuilderGetQueryParametersMapper,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Uri template for the request builder.
|
|
33
|
+
*/
|
|
34
|
+
exports.PrintConnectorItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/connectors/{printConnector%2Did}{?%24select,%24expand}";
|
|
35
|
+
/* tslint:enable */
|
|
36
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { type Printer } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type ConnectorsRequestBuilder } from './connectors/';
|
|
3
|
+
import { type JobsRequestBuilder } from './jobs/';
|
|
4
|
+
import { type RestoreFactoryDefaultsRequestBuilder } from './restoreFactoryDefaults/';
|
|
5
|
+
import { type SharesRequestBuilder } from './shares/';
|
|
6
|
+
import { type TaskTriggersRequestBuilder } from './taskTriggers/';
|
|
7
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the printers property of the microsoft.graph.print entity.
|
|
10
|
+
*/
|
|
11
|
+
export interface PrinterItemRequestBuilder extends BaseRequestBuilder<PrinterItemRequestBuilder> {
|
|
12
|
+
/**
|
|
13
|
+
* Provides operations to manage the connectors property of the microsoft.graph.printer entity.
|
|
14
|
+
*/
|
|
15
|
+
get connectors(): ConnectorsRequestBuilder;
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to manage the jobs property of the microsoft.graph.printerBase entity.
|
|
18
|
+
*/
|
|
19
|
+
get jobs(): JobsRequestBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to call the restoreFactoryDefaults method.
|
|
22
|
+
*/
|
|
23
|
+
get restoreFactoryDefaults(): RestoreFactoryDefaultsRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Provides operations to manage the shares property of the microsoft.graph.printer entity.
|
|
26
|
+
*/
|
|
27
|
+
get shares(): SharesRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* Provides operations to manage the taskTriggers property of the microsoft.graph.printer entity.
|
|
30
|
+
*/
|
|
31
|
+
get taskTriggers(): TaskTriggersRequestBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* Delete (unregister) a printer.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @see {@link https://learn.microsoft.com/graph/api/printer-delete?view=graph-rest-1.0|Find more info here}
|
|
36
|
+
*/
|
|
37
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve the properties and relationships of a printer object.
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a Promise of Printer
|
|
42
|
+
* @see {@link https://learn.microsoft.com/graph/api/printer-get?view=graph-rest-1.0|Find more info here}
|
|
43
|
+
*/
|
|
44
|
+
get(requestConfiguration?: RequestConfiguration<PrinterItemRequestBuilderGetQueryParameters> | undefined): Promise<Printer | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Update the properties of a printer object.
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns a Promise of Printer
|
|
50
|
+
* @see {@link https://learn.microsoft.com/graph/api/printer-update?view=graph-rest-1.0|Find more info here}
|
|
51
|
+
*/
|
|
52
|
+
patch(body: Printer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Printer | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete (unregister) a printer.
|
|
55
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
|
+
* @returns a RequestInformation
|
|
57
|
+
*/
|
|
58
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
59
|
+
/**
|
|
60
|
+
* Retrieve the properties and relationships of a printer object.
|
|
61
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
62
|
+
* @returns a RequestInformation
|
|
63
|
+
*/
|
|
64
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrinterItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
65
|
+
/**
|
|
66
|
+
* Update the properties of a printer object.
|
|
67
|
+
* @param body The request body
|
|
68
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
69
|
+
* @returns a RequestInformation
|
|
70
|
+
*/
|
|
71
|
+
toPatchRequestInformation(body: Printer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Retrieve the properties and relationships of a printer object.
|
|
75
|
+
*/
|
|
76
|
+
export interface PrinterItemRequestBuilderGetQueryParameters {
|
|
77
|
+
/**
|
|
78
|
+
* Expand related entities
|
|
79
|
+
*/
|
|
80
|
+
expand?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Select properties to be returned
|
|
83
|
+
*/
|
|
84
|
+
select?: string[];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Metadata for all the navigation properties in the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const PrinterItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PrinterItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
90
|
+
/**
|
|
91
|
+
* Metadata for all the requests in the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const PrinterItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
94
|
+
/**
|
|
95
|
+
* Uri template for the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const PrinterItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}{?%24select,%24expand}";
|
|
98
|
+
//# sourceMappingURL=index.d.ts.map
|