@microsoft/msgraph-sdk-users 1.0.0-preview.73 → 1.0.0-preview.75

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.
Files changed (97) hide show
  1. package/package.json +2 -2
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/item/chats/item/index.d.ts +5 -0
  4. package/users/item/chats/item/index.d.ts.map +1 -1
  5. package/users/item/chats/item/index.js +5 -0
  6. package/users/item/chats/item/index.js.map +1 -1
  7. package/users/item/chats/item/removeAllAccessForUser/index.d.ts +60 -0
  8. package/users/item/chats/item/removeAllAccessForUser/index.d.ts.map +1 -0
  9. package/users/item/chats/item/removeAllAccessForUser/index.js +65 -0
  10. package/users/item/chats/item/removeAllAccessForUser/index.js.map +1 -0
  11. package/users/item/cloudPCs/count/index.d.ts +41 -0
  12. package/users/item/cloudPCs/count/index.d.ts.map +1 -0
  13. package/users/item/cloudPCs/count/index.js +34 -0
  14. package/users/item/cloudPCs/count/index.js.map +1 -0
  15. package/users/item/cloudPCs/index.d.ts +97 -0
  16. package/users/item/cloudPCs/index.d.ts.map +1 -0
  17. package/users/item/cloudPCs/index.js +71 -0
  18. package/users/item/cloudPCs/index.js.map +1 -0
  19. package/users/item/cloudPCs/item/endGracePeriod/index.d.ts +28 -0
  20. package/users/item/cloudPCs/item/endGracePeriod/index.d.ts.map +1 -0
  21. package/users/item/cloudPCs/item/endGracePeriod/index.js +25 -0
  22. package/users/item/cloudPCs/item/endGracePeriod/index.js.map +1 -0
  23. package/users/item/cloudPCs/item/index.d.ts +103 -0
  24. package/users/item/cloudPCs/item/index.d.ts.map +1 -0
  25. package/users/item/cloudPCs/item/index.js +91 -0
  26. package/users/item/cloudPCs/item/index.js.map +1 -0
  27. package/users/item/cloudPCs/item/reboot/index.d.ts +28 -0
  28. package/users/item/cloudPCs/item/reboot/index.d.ts.map +1 -0
  29. package/users/item/cloudPCs/item/reboot/index.js +25 -0
  30. package/users/item/cloudPCs/item/reboot/index.js.map +1 -0
  31. package/users/item/cloudPCs/item/rename/index.d.ts +59 -0
  32. package/users/item/cloudPCs/item/rename/index.d.ts.map +1 -0
  33. package/users/item/cloudPCs/item/rename/index.js +63 -0
  34. package/users/item/cloudPCs/item/rename/index.js.map +1 -0
  35. package/users/item/cloudPCs/item/resize/index.d.ts +59 -0
  36. package/users/item/cloudPCs/item/resize/index.d.ts.map +1 -0
  37. package/users/item/cloudPCs/item/resize/index.js +63 -0
  38. package/users/item/cloudPCs/item/resize/index.js.map +1 -0
  39. package/users/item/cloudPCs/item/restore/index.d.ts +59 -0
  40. package/users/item/cloudPCs/item/restore/index.d.ts.map +1 -0
  41. package/users/item/cloudPCs/item/restore/index.js +63 -0
  42. package/users/item/cloudPCs/item/restore/index.js.map +1 -0
  43. package/users/item/cloudPCs/item/troubleshoot/index.d.ts +28 -0
  44. package/users/item/cloudPCs/item/troubleshoot/index.d.ts.map +1 -0
  45. package/users/item/cloudPCs/item/troubleshoot/index.js +25 -0
  46. package/users/item/cloudPCs/item/troubleshoot/index.js.map +1 -0
  47. package/users/item/employeeExperience/assignedRoles/count/index.d.ts +41 -0
  48. package/users/item/employeeExperience/assignedRoles/count/index.d.ts.map +1 -0
  49. package/users/item/employeeExperience/assignedRoles/count/index.js +34 -0
  50. package/users/item/employeeExperience/assignedRoles/count/index.js.map +1 -0
  51. package/users/item/employeeExperience/assignedRoles/index.d.ts +98 -0
  52. package/users/item/employeeExperience/assignedRoles/index.d.ts.map +1 -0
  53. package/users/item/employeeExperience/assignedRoles/index.js +71 -0
  54. package/users/item/employeeExperience/assignedRoles/index.js.map +1 -0
  55. package/users/item/employeeExperience/assignedRoles/item/index.d.ts +78 -0
  56. package/users/item/employeeExperience/assignedRoles/item/index.d.ts.map +1 -0
  57. package/users/item/employeeExperience/assignedRoles/item/index.js +67 -0
  58. package/users/item/employeeExperience/assignedRoles/item/index.js.map +1 -0
  59. package/users/item/employeeExperience/assignedRoles/item/members/count/index.d.ts +41 -0
  60. package/users/item/employeeExperience/assignedRoles/item/members/count/index.d.ts.map +1 -0
  61. package/users/item/employeeExperience/assignedRoles/item/members/count/index.js +34 -0
  62. package/users/item/employeeExperience/assignedRoles/item/members/count/index.js.map +1 -0
  63. package/users/item/employeeExperience/assignedRoles/item/members/index.d.ts +97 -0
  64. package/users/item/employeeExperience/assignedRoles/item/members/index.d.ts.map +1 -0
  65. package/users/item/employeeExperience/assignedRoles/item/members/index.js +71 -0
  66. package/users/item/employeeExperience/assignedRoles/item/members/index.js.map +1 -0
  67. package/users/item/employeeExperience/assignedRoles/item/members/item/index.d.ts +78 -0
  68. package/users/item/employeeExperience/assignedRoles/item/members/item/index.d.ts.map +1 -0
  69. package/users/item/employeeExperience/assignedRoles/item/members/item/index.js +67 -0
  70. package/users/item/employeeExperience/assignedRoles/item/members/item/index.js.map +1 -0
  71. package/users/item/employeeExperience/assignedRoles/item/members/item/user/index.d.ts +56 -0
  72. package/users/item/employeeExperience/assignedRoles/item/members/item/user/index.d.ts.map +1 -0
  73. package/users/item/employeeExperience/assignedRoles/item/members/item/user/index.js +52 -0
  74. package/users/item/employeeExperience/assignedRoles/item/members/item/user/index.js.map +1 -0
  75. package/users/item/employeeExperience/assignedRoles/item/members/item/user/mailboxSettings/index.d.ts +57 -0
  76. package/users/item/employeeExperience/assignedRoles/item/members/item/user/mailboxSettings/index.d.ts.map +1 -0
  77. package/users/item/employeeExperience/assignedRoles/item/members/item/user/mailboxSettings/index.js +48 -0
  78. package/users/item/employeeExperience/assignedRoles/item/members/item/user/mailboxSettings/index.js.map +1 -0
  79. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/count/index.d.ts +41 -0
  80. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  81. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/count/index.js +34 -0
  82. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/count/index.js.map +1 -0
  83. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/index.d.ts +75 -0
  84. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/index.d.ts.map +1 -0
  85. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/index.js +52 -0
  86. package/users/item/employeeExperience/assignedRoles/item/members/item/user/serviceProvisioningErrors/index.js.map +1 -0
  87. package/users/item/employeeExperience/index.d.ts +5 -0
  88. package/users/item/employeeExperience/index.d.ts.map +1 -1
  89. package/users/item/employeeExperience/index.js +6 -0
  90. package/users/item/employeeExperience/index.js.map +1 -1
  91. package/users/item/index.d.ts +5 -0
  92. package/users/item/index.d.ts.map +1 -1
  93. package/users/item/index.js +6 -0
  94. package/users/item/index.js.map +1 -1
  95. package/users/item/joinedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.d.ts +3 -3
  96. package/users/item/joinedTeams/item/primaryChannel/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.d.ts +3 -3
  97. package/users/item/restore/index.d.ts +2 -2
@@ -8,6 +8,7 @@ import { type MembersRequestBuilder } from './members/index.js';
8
8
  import { type MessagesRequestBuilder } from './messages/index.js';
9
9
  import { type PermissionGrantsRequestBuilder } from './permissionGrants/index.js';
10
10
  import { type PinnedMessagesRequestBuilder } from './pinnedMessages/index.js';
11
+ import { type RemoveAllAccessForUserRequestBuilder } from './removeAllAccessForUser/index.js';
11
12
  import { type SendActivityNotificationRequestBuilder } from './sendActivityNotification/index.js';
12
13
  import { type TabsRequestBuilder } from './tabs/index.js';
13
14
  import { type UnhideForUserRequestBuilder } from './unhideForUser/index.js';
@@ -52,6 +53,10 @@ export interface ChatItemRequestBuilder extends BaseRequestBuilder<ChatItemReque
52
53
  * Provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity.
53
54
  */
54
55
  get pinnedMessages(): PinnedMessagesRequestBuilder;
56
+ /**
57
+ * Provides operations to call the removeAllAccessForUser method.
58
+ */
59
+ get removeAllAccessForUser(): RemoveAllAccessForUserRequestBuilder;
55
60
  /**
56
61
  * Provides operations to call the sendActivityNotification method.
57
62
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmD,KAAK,IAAI,EAAE,MAAM,wCAAwC,CAAC;AAIpH,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAAoD,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAExI,OAAO,EAAqD,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAE3I,OAAO,EAAuD,KAAK,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAEjJ,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAAoF,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEpJ,OAAO,EAAoG,KAAK,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAEpL,OAAO,EAAgG,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5K,OAAO,EAA0D,KAAK,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AAE1J,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,OAAO,EAAE,KAAK,2BAA2B,EAA+C,MAAM,0BAA0B,CAAC;AAEzH,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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 +24,8 @@ import { PermissionGrantsRequestBuilderNavigationMetadata, PermissionGrantsReque
24
24
  // @ts-ignore
25
25
  import { PinnedMessagesRequestBuilderNavigationMetadata, PinnedMessagesRequestBuilderRequestsMetadata } from './pinnedMessages/index.js';
26
26
  // @ts-ignore
27
+ import { RemoveAllAccessForUserRequestBuilderRequestsMetadata } from './removeAllAccessForUser/index.js';
28
+ // @ts-ignore
27
29
  import { SendActivityNotificationRequestBuilderRequestsMetadata } from './sendActivityNotification/index.js';
28
30
  // @ts-ignore
29
31
  import { TabsRequestBuilderNavigationMetadata, TabsRequestBuilderRequestsMetadata } from './tabs/index.js';
@@ -76,6 +78,9 @@ export const ChatItemRequestBuilderNavigationMetadata = {
76
78
  requestsMetadata: PinnedMessagesRequestBuilderRequestsMetadata,
77
79
  navigationMetadata: PinnedMessagesRequestBuilderNavigationMetadata,
78
80
  },
81
+ removeAllAccessForUser: {
82
+ requestsMetadata: RemoveAllAccessForUserRequestBuilderRequestsMetadata,
83
+ },
79
84
  sendActivityNotification: {
80
85
  requestsMetadata: SendActivityNotificationRequestBuilderRequestsMetadata,
81
86
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,aAAa,EAAa,MAAM,wCAAwC,CAAC;AACpH,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AACnH,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACxK,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAyC,MAAM,+BAA+B,CAAC;AACxI,aAAa;AACb,OAAO,EAAE,iDAAiD,EAA0C,MAAM,gCAAgC,CAAC;AAC3I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E,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gCAAgC;QACtD,qBAAqB,EAAE,8CAA8C;KACxE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gCAAgC;QACtD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,aAAa;QACpC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,60 @@
1
+ import { type TeamworkUserIdentity } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {RemoveAllAccessForUserPostRequestBody}
7
+ */
8
+ export declare function createRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @param RemoveAllAccessForUserPostRequestBody The instance to deserialize into.
12
+ * @returns {Record<string, (node: ParseNode) => void>}
13
+ */
14
+ export declare function deserializeIntoRemoveAllAccessForUserPostRequestBody(removeAllAccessForUserPostRequestBody?: Partial<RemoveAllAccessForUserPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
15
+ export interface RemoveAllAccessForUserPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
16
+ /**
17
+ * Stores model information.
18
+ */
19
+ backingStoreEnabled?: boolean | null;
20
+ /**
21
+ * The user property
22
+ */
23
+ user?: TeamworkUserIdentity | null;
24
+ }
25
+ /**
26
+ * Provides operations to call the removeAllAccessForUser method.
27
+ */
28
+ export interface RemoveAllAccessForUserRequestBuilder extends BaseRequestBuilder<RemoveAllAccessForUserRequestBuilder> {
29
+ /**
30
+ * Remove access to a chat for a user.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
34
+ * @see {@link https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0|Find more info here}
35
+ */
36
+ post(body: RemoveAllAccessForUserPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
37
+ /**
38
+ * Remove access to a chat for a user.
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns {RequestInformation}
42
+ */
43
+ toPostRequestInformation(body: RemoveAllAccessForUserPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * Serializes information the current object
47
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
48
+ * @param RemoveAllAccessForUserPostRequestBody The instance to serialize from.
49
+ * @param writer Serialization writer to use to serialize this model
50
+ */
51
+ export declare function serializeRemoveAllAccessForUserPostRequestBody(writer: SerializationWriter, removeAllAccessForUserPostRequestBody?: Partial<RemoveAllAccessForUserPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
52
+ /**
53
+ * Uri template for the request builder.
54
+ */
55
+ export declare const RemoveAllAccessForUserRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/removeAllAccessForUser";
56
+ /**
57
+ * Metadata for all the requests in the request builder.
58
+ */
59
+ export declare const RemoveAllAccessForUserRequestBuilderRequestsMetadata: RequestsMetadata;
60
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChK;AACD;;;;;GAKG;AAEH,wBAAgB,8CAA8C,CAAC,MAAM,EAAE,mBAAmB,EAAE,qCAAqC,GAAE,OAAO,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI3P;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,0EAA0E,CAAC;AACvI;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAYlE,CAAC"}
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createTeamworkUserIdentityFromDiscriminatorValue, serializeTeamworkUserIdentity } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
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 {RemoveAllAccessForUserPostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoRemoveAllAccessForUserPostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param RemoveAllAccessForUserPostRequestBody The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoRemoveAllAccessForUserPostRequestBody(removeAllAccessForUserPostRequestBody = {}) {
24
+ return {
25
+ "backingStoreEnabled": n => { removeAllAccessForUserPostRequestBody.backingStoreEnabled = true; },
26
+ "user": n => { removeAllAccessForUserPostRequestBody.user = n.getObjectValue(createTeamworkUserIdentityFromDiscriminatorValue); },
27
+ };
28
+ }
29
+ /**
30
+ * Serializes information the current object
31
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
32
+ * @param RemoveAllAccessForUserPostRequestBody The instance to serialize from.
33
+ * @param writer Serialization writer to use to serialize this model
34
+ */
35
+ // @ts-ignore
36
+ export function serializeRemoveAllAccessForUserPostRequestBody(writer, removeAllAccessForUserPostRequestBody = {}, isSerializingDerivedType = false) {
37
+ if (!removeAllAccessForUserPostRequestBody || isSerializingDerivedType) {
38
+ return;
39
+ }
40
+ writer.writeObjectValue("user", removeAllAccessForUserPostRequestBody.user, serializeTeamworkUserIdentity);
41
+ writer.writeAdditionalData(removeAllAccessForUserPostRequestBody.additionalData);
42
+ }
43
+ /**
44
+ * Uri template for the request builder.
45
+ */
46
+ export const RemoveAllAccessForUserRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/removeAllAccessForUser";
47
+ /**
48
+ * Metadata for all the requests in the request builder.
49
+ */
50
+ export const RemoveAllAccessForUserRequestBuilderRequestsMetadata = {
51
+ post: {
52
+ uriTemplate: RemoveAllAccessForUserRequestBuilderUriTemplate,
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ XXX: createODataErrorFromDiscriminatorValue,
56
+ },
57
+ adapterMethodName: "sendNoResponseContent",
58
+ requestBodyContentType: "application/json",
59
+ requestBodySerializer: serializeRemoveAllAccessForUserPostRequestBody,
60
+ requestInformationContentSetMethod: "setContentFromParsable",
61
+ },
62
+ };
63
+ /* tslint:enable */
64
+ /* eslint-enable */
65
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,6BAA6B,EAA6B,MAAM,wCAAwC,CAAC;AACpK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG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ration, 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 {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,uEAAuE,CAAC;AAQnH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,oEAAoE,CAAC;AACnH;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,97 @@
1
+ import { type CloudPC, type CloudPCCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type CloudPCItemRequestBuilder } from './item/index.js';
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 cloudPCs property of the microsoft.graph.user entity.
7
+ */
8
+ export interface CloudPCsRequestBuilder extends BaseRequestBuilder<CloudPCsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the cloudPCs property of the microsoft.graph.user entity.
15
+ * @param cloudPCId The unique identifier of cloudPC
16
+ * @returns {CloudPCItemRequestBuilder}
17
+ */
18
+ byCloudPCId(cloudPCId: string): CloudPCItemRequestBuilder;
19
+ /**
20
+ * The user's Cloud PCs. Read-only. Nullable.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<CloudPCCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<CloudPCsRequestBuilderGetQueryParameters> | undefined): Promise<CloudPCCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to cloudPCs for users
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<CloudPC>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPC | undefined>;
34
+ /**
35
+ * The user's Cloud PCs. Read-only. Nullable.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPCsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to cloudPCs for users
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPostRequestInformation(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * The user's Cloud PCs. Read-only. Nullable.
50
+ */
51
+ export interface CloudPCsRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const CloudPCsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
89
+ /**
90
+ * Metadata for all the navigation properties in the request builder.
91
+ */
92
+ export declare const CloudPCsRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudPCsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const CloudPCsRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAIpN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAEzJ,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;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;;OAKG;IACF,GAAG,CAAC,oBAAo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0 +1,71 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createCloudPCCollectionResponseFromDiscriminatorValue, createCloudPCFromDiscriminatorValue, serializeCloudPC } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { CloudPCItemRequestBuilderNavigationMetadata, CloudPCItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const CloudPCsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const CloudPCsRequestBuilderGetQueryParametersMapper = {
20
+ "count": "%24count",
21
+ "expand": "%24expand",
22
+ "filter": "%24filter",
23
+ "orderby": "%24orderby",
24
+ "search": "%24search",
25
+ "select": "%24select",
26
+ "skip": "%24skip",
27
+ "top": "%24top",
28
+ };
29
+ /**
30
+ * Metadata for all the navigation properties in the request builder.
31
+ */
32
+ export const CloudPCsRequestBuilderNavigationMetadata = {
33
+ byCloudPCId: {
34
+ requestsMetadata: CloudPCItemRequestBuilderRequestsMetadata,
35
+ navigationMetadata: CloudPCItemRequestBuilderNavigationMetadata,
36
+ pathParametersMappings: ["cloudPC%2Did"],
37
+ },
38
+ count: {
39
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
40
+ },
41
+ };
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export const CloudPCsRequestBuilderRequestsMetadata = {
46
+ get: {
47
+ uriTemplate: CloudPCsRequestBuilderUriTemplate,
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ XXX: createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "send",
53
+ responseBodyFactory: createCloudPCCollectionResponseFromDiscriminatorValue,
54
+ queryParametersMapper: CloudPCsRequestBuilderGetQueryParametersMapper,
55
+ },
56
+ post: {
57
+ uriTemplate: CloudPCsRequestBuilderUriTemplate,
58
+ responseBodyContentType: "application/json",
59
+ errorMappings: {
60
+ XXX: createODataErrorFromDiscriminatorValue,
61
+ },
62
+ adapterMethodName: "send",
63
+ responseBodyFactory: createCloudPCFromDiscriminatorValue,
64
+ requestBodyContentType: "application/json",
65
+ requestBodySerializer: serializeCloudPC,
66
+ requestInformationContentSetMethod: "setContentFromParsable",
67
+ },
68
+ };
69
+ /* tslint:enable */
70
+ /* eslint-enable */
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,mCAAmC,EAAE,gBAAgB,EAAgD,MAAM,wCAAwC,CAAC;AACpN,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,iBAAiB,CAAC;AAoFzJ;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,oHAAoH,CAAC;AACtK;;GAEG;AACH,MAAM,8CAA8C,GAA2B;IAC3E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAA0G;IAC3J,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;QAC3D,kBAAkB,EAAE,2CAA2C;QAC/D,sBAAsB,EAAE,CAAC,cAAc,CAAC;KAC3C;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;QAC3E,qBAAqB,EAAE,8CAA8C;KACxE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,28 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the endGracePeriod method.
4
+ */
5
+ export interface EndGracePeriodRequestBuilder extends BaseRequestBuilder<EndGracePeriodRequestBuilder> {
6
+ /**
7
+ * End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
+ * @see {@link https://learn.microsoft.com/graph/api/cloudpc-endgraceperiod?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Uri template for the request builder.
22
+ */
23
+ export declare const EndGracePeriodRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/endGracePeriod";
24
+ /**
25
+ * Metadata for all the requests in the request builder.
26
+ */
27
+ export declare const EndGracePeriodRequestBuilderRequestsMetadata: RequestsMetadata;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;OAKG;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,uCAAuC,wEAAwE,CAAC;AAC7H;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAS1D,CAAC"}
@@ -0,0 +1,25 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const EndGracePeriodRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/endGracePeriod";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const EndGracePeriodRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: EndGracePeriodRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ XXX: createODataErrorFromDiscriminatorValue,
19
+ },
20
+ adapterMethodName: "sendNoResponseContent",
21
+ },
22
+ };
23
+ /* tslint:enable */
24
+ /* eslint-enable */
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAsB7H;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,qEAAqE,CAAC;AAC7H;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,103 @@
1
+ import { type CloudPC } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type EndGracePeriodRequestBuilder } from './endGracePeriod/index.js';
3
+ import { type RebootRequestBuilder } from './reboot/index.js';
4
+ import { type RenameRequestBuilder } from './rename/index.js';
5
+ import { type ResizeRequestBuilder } from './resize/index.js';
6
+ import { type RestoreRequestBuilder } from './restore/index.js';
7
+ import { type TroubleshootRequestBuilder } from './troubleshoot/index.js';
8
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
9
+ /**
10
+ * Provides operations to manage the cloudPCs property of the microsoft.graph.user entity.
11
+ */
12
+ export interface CloudPCItemRequestBuilder extends BaseRequestBuilder<CloudPCItemRequestBuilder> {
13
+ /**
14
+ * Provides operations to call the endGracePeriod method.
15
+ */
16
+ get endGracePeriod(): EndGracePeriodRequestBuilder;
17
+ /**
18
+ * Provides operations to call the reboot method.
19
+ */
20
+ get reboot(): RebootRequestBuilder;
21
+ /**
22
+ * Provides operations to call the rename method.
23
+ */
24
+ get rename(): RenameRequestBuilder;
25
+ /**
26
+ * Provides operations to call the resize method.
27
+ */
28
+ get resize(): ResizeRequestBuilder;
29
+ /**
30
+ * Provides operations to call the restore method.
31
+ */
32
+ get restore(): RestoreRequestBuilder;
33
+ /**
34
+ * Provides operations to call the troubleshoot method.
35
+ */
36
+ get troubleshoot(): TroubleshootRequestBuilder;
37
+ /**
38
+ * Delete navigation property cloudPCs for users
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
41
+ */
42
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
43
+ /**
44
+ * The user's Cloud PCs. Read-only. Nullable.
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns {Promise<CloudPC>}
47
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
48
+ */
49
+ get(requestConfiguration?: RequestConfiguration<CloudPCItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPC | undefined>;
50
+ /**
51
+ * Update the navigation property cloudPCs in users
52
+ * @param body The request body
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns {Promise<CloudPC>}
55
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
56
+ */
57
+ patch(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPC | undefined>;
58
+ /**
59
+ * Delete navigation property cloudPCs for users
60
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ * @returns {RequestInformation}
62
+ */
63
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
+ /**
65
+ * The user's Cloud PCs. Read-only. Nullable.
66
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
67
+ * @returns {RequestInformation}
68
+ */
69
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPCItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
70
+ /**
71
+ * Update the navigation property cloudPCs in users
72
+ * @param body The request body
73
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
74
+ * @returns {RequestInformation}
75
+ */
76
+ toPatchRequestInformation(body: CloudPC, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
77
+ }
78
+ /**
79
+ * The user's Cloud PCs. Read-only. Nullable.
80
+ */
81
+ export interface CloudPCItemRequestBuilderGetQueryParameters {
82
+ /**
83
+ * Expand related entities
84
+ */
85
+ expand?: string[];
86
+ /**
87
+ * Select properties to be returned
88
+ */
89
+ select?: string[];
90
+ }
91
+ /**
92
+ * Uri template for the request builder.
93
+ */
94
+ export declare const CloudPCItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}";
95
+ /**
96
+ * Metadata for all the navigation properties in the request builder.
97
+ */
98
+ export declare const CloudPCItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudPCItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
99
+ /**
100
+ * Metadata for all the requests in the request builder.
101
+ */
102
+ export declare const CloudPCItemRequestBuilderRequestsMetadata: RequestsMetadata;
103
+ //# sourceMappingURL=index.d.ts.map