@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAErH,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAA2G,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC3J,OAAO,EAAyG,KAAK,oCAAoC,EAAE,MAAM,2BAA2B,CAAC;AAC7L,OAAO,EAAiH,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACrK,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,sBAAsB,IAAI,oCAAoC,CAAC;IACnE;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;IAC/C;;;;OAIG;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtH;;;;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAyBhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrinterItemRequestBuilderUriTemplate = exports.PrinterItemRequestBuilderRequestsMetadata = exports.PrinterItemRequestBuilderNavigationMetadata = 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 jobs_1 = require("./jobs/");
|
|
11
|
+
const restoreFactoryDefaults_1 = require("./restoreFactoryDefaults/");
|
|
12
|
+
const shares_1 = require("./shares/");
|
|
13
|
+
const taskTriggers_1 = require("./taskTriggers/");
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const PrinterItemRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
exports.PrinterItemRequestBuilderNavigationMetadata = {
|
|
25
|
+
connectors: {
|
|
26
|
+
uriTemplate: connectors_1.ConnectorsRequestBuilderUriTemplate,
|
|
27
|
+
requestsMetadata: connectors_1.ConnectorsRequestBuilderRequestsMetadata,
|
|
28
|
+
navigationMetadata: connectors_1.ConnectorsRequestBuilderNavigationMetadata,
|
|
29
|
+
},
|
|
30
|
+
jobs: {
|
|
31
|
+
uriTemplate: jobs_1.JobsRequestBuilderUriTemplate,
|
|
32
|
+
requestsMetadata: jobs_1.JobsRequestBuilderRequestsMetadata,
|
|
33
|
+
navigationMetadata: jobs_1.JobsRequestBuilderNavigationMetadata,
|
|
34
|
+
},
|
|
35
|
+
restoreFactoryDefaults: {
|
|
36
|
+
uriTemplate: restoreFactoryDefaults_1.RestoreFactoryDefaultsRequestBuilderUriTemplate,
|
|
37
|
+
requestsMetadata: restoreFactoryDefaults_1.RestoreFactoryDefaultsRequestBuilderRequestsMetadata,
|
|
38
|
+
},
|
|
39
|
+
shares: {
|
|
40
|
+
uriTemplate: shares_1.SharesRequestBuilderUriTemplate,
|
|
41
|
+
requestsMetadata: shares_1.SharesRequestBuilderRequestsMetadata,
|
|
42
|
+
navigationMetadata: shares_1.SharesRequestBuilderNavigationMetadata,
|
|
43
|
+
},
|
|
44
|
+
taskTriggers: {
|
|
45
|
+
uriTemplate: taskTriggers_1.TaskTriggersRequestBuilderUriTemplate,
|
|
46
|
+
requestsMetadata: taskTriggers_1.TaskTriggersRequestBuilderRequestsMetadata,
|
|
47
|
+
navigationMetadata: taskTriggers_1.TaskTriggersRequestBuilderNavigationMetadata,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Metadata for all the requests in the request builder.
|
|
52
|
+
*/
|
|
53
|
+
exports.PrinterItemRequestBuilderRequestsMetadata = {
|
|
54
|
+
delete: {
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
},
|
|
60
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
61
|
+
},
|
|
62
|
+
get: {
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
errorMappings: {
|
|
65
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
66
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
67
|
+
},
|
|
68
|
+
adapterMethodName: "sendAsync",
|
|
69
|
+
responseBodyFactory: models_1.createPrinterFromDiscriminatorValue,
|
|
70
|
+
queryParametersMapper: PrinterItemRequestBuilderGetQueryParametersMapper,
|
|
71
|
+
},
|
|
72
|
+
patch: {
|
|
73
|
+
responseBodyContentType: "application/json",
|
|
74
|
+
errorMappings: {
|
|
75
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
76
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
77
|
+
},
|
|
78
|
+
adapterMethodName: "sendAsync",
|
|
79
|
+
responseBodyFactory: models_1.createPrinterFromDiscriminatorValue,
|
|
80
|
+
requestBodyContentType: "application/json",
|
|
81
|
+
requestBodySerializer: models_1.serializePrinter,
|
|
82
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Uri template for the request builder.
|
|
87
|
+
*/
|
|
88
|
+
exports.PrinterItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}{?%24select,%24expand}";
|
|
89
|
+
/* tslint:enable */
|
|
90
|
+
/* 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}/jobs/$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,+EAA+E,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}/jobs/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type PrintJob, type PrintJobCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type PrintJobItemRequestBuilder } 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 jobs property of the microsoft.graph.printerBase entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface JobsRequestBuilder extends BaseRequestBuilder<JobsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the jobs property of the microsoft.graph.printerBase entity.
|
|
15
|
+
* @param printJobId The unique identifier of printJob
|
|
16
|
+
* @returns a PrintJobItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byPrintJobId(printJobId: string): PrintJobItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The list of jobs that are queued for printing by the printer/printerShare.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of PrintJobCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<JobsRequestBuilderGetQueryParameters> | undefined): Promise<PrintJobCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create new navigation property to jobs 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 PrintJob
|
|
30
|
+
*/
|
|
31
|
+
post(body: PrintJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintJob | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The list of jobs that are queued for printing by the printer/printerShare.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<JobsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Create new navigation property to jobs 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: PrintJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The list of jobs that are queued for printing by the printer/printerShare.
|
|
48
|
+
*/
|
|
49
|
+
export interface JobsRequestBuilderGetQueryParameters {
|
|
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 JobsRequestBuilderNavigationMetadata: Record<Exclude<keyof JobsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const JobsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const JobsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs{?%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,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAEjN,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAC3L,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,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oCAAoC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACvH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oCAAoC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC7I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;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,oCAAoC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWlJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAuBhD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6BAA6B,+HAA+H,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JobsRequestBuilderUriTemplate = exports.JobsRequestBuilderRequestsMetadata = exports.JobsRequestBuilderNavigationMetadata = 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 JobsRequestBuilderGetQueryParametersMapper = {
|
|
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.JobsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byPrintJobId: {
|
|
29
|
+
uriTemplate: item_1.PrintJobItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.PrintJobItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.PrintJobItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["printJob%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.JobsRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createPrintJobCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: JobsRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createPrintJobFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializePrintJob,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.JobsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
export interface AbortPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
3
|
+
/**
|
|
4
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
5
|
+
*/
|
|
6
|
+
additionalData?: Record<string, unknown>;
|
|
7
|
+
/**
|
|
8
|
+
* Stores model information.
|
|
9
|
+
*/
|
|
10
|
+
backingStoreEnabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The reason property
|
|
13
|
+
*/
|
|
14
|
+
reason?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to call the abort method.
|
|
18
|
+
*/
|
|
19
|
+
export interface AbortRequestBuilder extends BaseRequestBuilder<AbortRequestBuilder> {
|
|
20
|
+
/**
|
|
21
|
+
* Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing.
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
post(body: AbortPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a RequestInformation
|
|
32
|
+
*/
|
|
33
|
+
toPostRequestInformation(body: AbortPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
+
* @returns a abortPostRequestBody
|
|
39
|
+
*/
|
|
40
|
+
export declare function createAbortPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAbortPostRequestBody;
|
|
41
|
+
/**
|
|
42
|
+
* The deserialization information for the current model
|
|
43
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
44
|
+
*/
|
|
45
|
+
export declare function deserializeIntoAbortPostRequestBody(abortPostRequestBody?: AbortPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
export declare function serializeAbortPostRequestBody(writer: SerializationWriter, abortPostRequestBody?: AbortPostRequestBody | undefined): void;
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export declare const AbortRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
export declare const AbortRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/abort";
|
|
59
|
+
//# 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,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,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACrF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACnH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;;;GAIG;AACH,wBAAgB,gDAAgD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,8CAEhG;AACD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,oBAAoB,GAAE,oBAAoB,GAAG,SAAsC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnL;AACD;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,mBAAmB,EAAE,oBAAoB,GAAE,oBAAoB,GAAG,SAAsC,GAAI,IAAI,CAGrK;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAYjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,wEAAwE,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbortRequestBuilderUriTemplate = exports.AbortRequestBuilderRequestsMetadata = exports.serializeAbortPostRequestBody = exports.deserializeIntoAbortPostRequestBody = exports.createAbortPostRequestBodyFromDiscriminatorValue = 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
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns a abortPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createAbortPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoAbortPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createAbortPostRequestBodyFromDiscriminatorValue = createAbortPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoAbortPostRequestBody(abortPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { abortPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"reason": n => { abortPostRequestBody.reason = n.getStringValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoAbortPostRequestBody = deserializeIntoAbortPostRequestBody;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeAbortPostRequestBody(writer, abortPostRequestBody = {}) {
|
|
33
|
+
writer.writeStringValue("reason", abortPostRequestBody.reason);
|
|
34
|
+
writer.writeAdditionalData(abortPostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeAbortPostRequestBody = serializeAbortPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.AbortRequestBuilderRequestsMetadata = {
|
|
41
|
+
post: {
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
48
|
+
requestBodyContentType: "application/json",
|
|
49
|
+
requestBodySerializer: serializeAbortPostRequestBody,
|
|
50
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
exports.AbortRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/abort";
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to call the cancel method.
|
|
4
|
+
*/
|
|
5
|
+
export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @see {@link https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-1.0|Find more info here}
|
|
10
|
+
*/
|
|
11
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export declare const CancelRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
23
|
+
/**
|
|
24
|
+
* Uri template for the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export declare const CancelRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/cancel";
|
|
27
|
+
//# 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,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBASlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,yEAAyE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelRequestBuilderUriTemplate = exports.CancelRequestBuilderRequestsMetadata = 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
|
+
* Metadata for all the requests in the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CancelRequestBuilderRequestsMetadata = {
|
|
12
|
+
post: {
|
|
13
|
+
responseBodyContentType: "application/json",
|
|
14
|
+
errorMappings: {
|
|
15
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
16
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
},
|
|
18
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
exports.CancelRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/cancel";
|
|
25
|
+
/* tslint:enable */
|
|
26
|
+
/* 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}/jobs/{printJob%2Did}/documents/$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,yGAAyG,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}/jobs/{printJob%2Did}/documents/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|