@microsoft/msgraph-sdk-users 1.0.0-preview.14 → 1.0.0-preview.15

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 (86) hide show
  1. package/package.json +3 -3
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/index.d.ts +3 -3
  4. package/users/item/calendar/calendarView/item/forward/index.d.ts +2 -2
  5. package/users/item/calendar/calendarView/item/instances/item/forward/index.d.ts +2 -2
  6. package/users/item/calendar/events/index.d.ts +3 -3
  7. package/users/item/calendar/events/item/forward/index.d.ts +2 -2
  8. package/users/item/calendar/events/item/instances/item/forward/index.d.ts +2 -2
  9. package/users/item/calendar/index.d.ts +5 -5
  10. package/users/item/calendarGroups/item/calendars/item/calendarView/item/forward/index.d.ts +2 -2
  11. package/users/item/calendarGroups/item/calendars/item/calendarView/item/instances/item/forward/index.d.ts +2 -2
  12. package/users/item/calendarGroups/item/calendars/item/events/index.d.ts +3 -3
  13. package/users/item/calendarGroups/item/calendars/item/events/item/forward/index.d.ts +2 -2
  14. package/users/item/calendarGroups/item/calendars/item/events/item/instances/item/forward/index.d.ts +2 -2
  15. package/users/item/calendarView/item/forward/index.d.ts +2 -2
  16. package/users/item/calendarView/item/instances/item/forward/index.d.ts +2 -2
  17. package/users/item/calendars/item/calendarView/item/forward/index.d.ts +2 -2
  18. package/users/item/calendars/item/calendarView/item/instances/item/forward/index.d.ts +2 -2
  19. package/users/item/calendars/item/events/index.d.ts +3 -3
  20. package/users/item/calendars/item/events/item/forward/index.d.ts +2 -2
  21. package/users/item/calendars/item/events/item/instances/item/forward/index.d.ts +2 -2
  22. package/users/item/chats/item/members/item/index.d.ts +4 -4
  23. package/users/item/chats/item/messages/index.d.ts +3 -3
  24. package/users/item/chats/item/messages/item/replies/index.d.ts +6 -6
  25. package/users/item/cloudClipboard/index.d.ts +78 -0
  26. package/users/item/cloudClipboard/index.d.ts.map +1 -0
  27. package/users/item/cloudClipboard/index.js +66 -0
  28. package/users/item/cloudClipboard/items/count/index.d.ts +41 -0
  29. package/users/item/cloudClipboard/items/count/index.d.ts.map +1 -0
  30. package/users/item/cloudClipboard/items/count/index.js +35 -0
  31. package/users/item/cloudClipboard/items/index.d.ts +97 -0
  32. package/users/item/cloudClipboard/items/index.d.ts.map +1 -0
  33. package/users/item/cloudClipboard/items/index.js +68 -0
  34. package/users/item/cloudClipboard/items/item/index.d.ts +69 -0
  35. package/users/item/cloudClipboard/items/item/index.d.ts.map +1 -0
  36. package/users/item/cloudClipboard/items/item/index.js +56 -0
  37. package/users/item/events/index.d.ts +3 -3
  38. package/users/item/events/item/forward/index.d.ts +2 -2
  39. package/users/item/events/item/instances/item/forward/index.d.ts +2 -2
  40. package/users/item/findMeetingTimes/index.d.ts +2 -2
  41. package/users/item/index.d.ts +9 -4
  42. package/users/item/index.d.ts.map +1 -1
  43. package/users/item/index.js +5 -0
  44. package/users/item/joinedTeams/item/channels/item/members/index.d.ts +3 -3
  45. package/users/item/joinedTeams/item/channels/item/members/item/index.d.ts +3 -3
  46. package/users/item/joinedTeams/item/channels/item/messages/index.d.ts +3 -3
  47. package/users/item/joinedTeams/item/channels/item/messages/item/index.d.ts +2 -2
  48. package/users/item/joinedTeams/item/channels/item/messages/item/replies/index.d.ts +6 -6
  49. package/users/item/joinedTeams/item/primaryChannel/members/index.d.ts +3 -3
  50. package/users/item/joinedTeams/item/primaryChannel/members/item/index.d.ts +3 -3
  51. package/users/item/joinedTeams/item/primaryChannel/messages/index.d.ts +3 -3
  52. package/users/item/joinedTeams/item/primaryChannel/messages/item/index.d.ts +2 -2
  53. package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.d.ts +6 -6
  54. package/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.d.ts +3 -3
  55. package/users/item/mailFolders/item/index.d.ts +3 -3
  56. package/users/item/mailFolders/item/messages/item/attachments/index.d.ts +3 -3
  57. package/users/item/messages/index.d.ts +4 -4
  58. package/users/item/messages/item/attachments/index.d.ts +3 -3
  59. package/users/item/messages/item/index.d.ts +4 -4
  60. package/users/item/messages/item/value/index.d.ts +1 -1
  61. package/users/item/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts +3 -2
  62. package/users/item/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts.map +1 -1
  63. package/users/item/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts +3 -2
  64. package/users/item/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts.map +1 -1
  65. package/users/item/presence/index.d.ts +4 -4
  66. package/users/item/settings/index.d.ts +5 -0
  67. package/users/item/settings/index.d.ts.map +1 -1
  68. package/users/item/settings/index.js +5 -0
  69. package/users/item/settings/windows/count/index.d.ts +41 -0
  70. package/users/item/settings/windows/count/index.d.ts.map +1 -0
  71. package/users/item/settings/windows/count/index.js +35 -0
  72. package/users/item/settings/windows/index.d.ts +97 -0
  73. package/users/item/settings/windows/index.d.ts.map +1 -0
  74. package/users/item/settings/windows/index.js +69 -0
  75. package/users/item/settings/windows/item/index.d.ts +78 -0
  76. package/users/item/settings/windows/item/index.d.ts.map +1 -0
  77. package/users/item/settings/windows/item/index.js +66 -0
  78. package/users/item/settings/windows/item/instances/count/index.d.ts +41 -0
  79. package/users/item/settings/windows/item/instances/count/index.d.ts.map +1 -0
  80. package/users/item/settings/windows/item/instances/count/index.js +35 -0
  81. package/users/item/settings/windows/item/instances/index.d.ts +97 -0
  82. package/users/item/settings/windows/item/instances/index.d.ts.map +1 -0
  83. package/users/item/settings/windows/item/instances/index.js +68 -0
  84. package/users/item/settings/windows/item/instances/item/index.d.ts +69 -0
  85. package/users/item/settings/windows/item/instances/item/index.d.ts.map +1 -0
  86. package/users/item/settings/windows/item/instances/item/index.js +56 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwD,6BAA6B,EAA0E,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CA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wB,EAAE,CAAC;IACvC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,6BAA6B,CAAC,EAAE,6BAA6B,CAAC;CACjE;AACD;;GAEG;AACH,MAAM,WAAW,+CAAgD,SAAQ,kBAAkB,CAAC,+CAA+C,CAAC;IACxI;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,gDAAgD,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,gDAAgD,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3K;AACD;;;GAGG;AACH,wBAAgB,yDAAyD,CAAC,MAAM,EAAE,mBAAmB,EAAE,gDAAgD,GAAE,OAAO,CAAC,gDAAgD,CAAC,GAAG,SAAc,GAAI,IAAI,CAI1O;AACD;;GAEG;AACH,eAAO,MAAM,0DAA0D,uGAAuG,CAAC;AAC/K;;GAEG;AACH,eAAO,MAAM,+DAA+D,EAAE,gBAY7E,CAAC"}
@@ -34,14 +34,15 @@ export interface SendVirtualAppointmentSmsPostRequestBody extends AdditionalData
34
34
  */
35
35
  export interface SendVirtualAppointmentSmsRequestBuilder extends BaseRequestBuilder<SendVirtualAppointmentSmsRequestBuilder> {
36
36
  /**
37
- * Invoke action sendVirtualAppointmentSms
37
+ * Send an SMS notification to external attendees when a Teams virtual appointment is confirmed, rescheduled, or canceled. This feature requires Teams premium. Attendees must have a valid United States phone number to receive these SMS notifications.
38
38
  * @param body The request body
39
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
40
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
41
+ * @see {@link https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0|Find more info here}
41
42
  */
42
43
  post(body: SendVirtualAppointmentSmsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
43
44
  /**
44
- * Invoke action sendVirtualAppointmentSms
45
+ * Send an SMS notification to external attendees when a Teams virtual appointment is confirmed, rescheduled, or canceled. This feature requires Teams premium. Attendees must have a valid United States phone number to receive these SMS notifications.
45
46
  * @param body The request body
46
47
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
48
  * @returns {RequestInformation}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2F,KAAK,wBAAwB,EAAE,6BAA6B,EAAuC,MAAM,gCAAgC,CAAC;AAE5O,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,oEAAoE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE5L;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,wCAAwC,GAAE,OAAO,CAAC,wCAAwC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMhO;AACD,MAAM,WAAW,wCAAyC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACzG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,wB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estBuilder extends BaseRequestBuilder<PresenceReque
36
36
  */
37
37
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
38
38
  /**
39
- * Set a presence status message for a user. An optional expiration date and time can be supplied.
39
+ * Get a user's presence information.
40
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
41
  * @returns {Promise<Presence>}
42
42
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
43
- * @see {@link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0|Find more info here}
43
+ * @see {@link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0|Find more info here}
44
44
  */
45
45
  get(requestConfiguration?: RequestConfiguration<PresenceRequestBuilderGetQueryParameters> | undefined): Promise<Presence | undefined>;
46
46
  /**
@@ -58,7 +58,7 @@ export interface PresenceRequestBuilder extends BaseRequestBuilder<PresenceReque
58
58
  */
59
59
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
60
60
  /**
61
- * Set a presence status message for a user. An optional expiration date and time can be supplied.
61
+ * Get a user's presence information.
62
62
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
63
63
  * @returns {RequestInformation}
64
64
  */
@@ -72,7 +72,7 @@ export interface PresenceRequestBuilder extends BaseRequestBuilder<PresenceReque
72
72
  toPatchRequestInformation(body: Presence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
73
73
  }
74
74
  /**
75
- * Set a presence status message for a user. An optional expiration date and time can be supplied.
75
+ * Get a user's presence information.
76
76
  */
77
77
  export interface PresenceRequestBuilderGetQueryParameters {
78
78
  /**
@@ -1,5 +1,6 @@
1
1
  import { type UserSettings } from '@microsoft/msgraph-sdk/models/';
2
2
  import { type ShiftPreferencesRequestBuilder } from './shiftPreferences/';
3
+ import { type WindowsRequestBuilder } from './windows/';
3
4
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
5
  /**
5
6
  * Provides operations to manage the settings property of the microsoft.graph.user entity.
@@ -9,6 +10,10 @@ export interface SettingsRequestBuilder extends BaseRequestBuilder<SettingsReque
9
10
  * Provides operations to manage the shiftPreferences property of the microsoft.graph.userSettings entity.
10
11
  */
11
12
  get shiftPreferences(): ShiftPreferencesRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the windows property of the microsoft.graph.userSettings entity.
15
+ */
16
+ get windows(): WindowsRequestBuilder;
12
17
  /**
13
18
  * Delete navigation property settings for users
14
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAkD,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AAC1H,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,gBAAgB,IAAI,8BAA8B,CAAC;IACvD;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC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E,CAAC;AAQ/G;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC"}
@@ -7,6 +7,7 @@ exports.SettingsRequestBuilderRequestsMetadata = exports.SettingsRequestBuilderN
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const shiftPreferences_1 = require("./shiftPreferences/");
10
+ const windows_1 = require("./windows/");
10
11
  /**
11
12
  * Uri template for the request builder.
12
13
  */
@@ -25,6 +26,10 @@ exports.SettingsRequestBuilderNavigationMetadata = {
25
26
  shiftPreferences: {
26
27
  requestsMetadata: shiftPreferences_1.ShiftPreferencesRequestBuilderRequestsMetadata,
27
28
  },
29
+ windows: {
30
+ requestsMetadata: windows_1.WindowsRequestBuilderRequestsMetadata,
31
+ navigationMetadata: windows_1.WindowsRequestBuilderNavigationMetadata,
32
+ },
28
33
  };
29
34
  /**
30
35
  * Metadata for all the requests in the request builder.
@@ -0,0 +1,41 @@
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 {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}/settings/windows/$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":"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;;;;;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,+EAA+E,CAAC;AAQ3H;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = 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
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/windows/$count{?%24filter,%24search}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const CountRequestBuilderGetQueryParametersMapper = {
16
+ "filter": "%24filter",
17
+ "search": "%24search",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ exports.CountRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
25
+ responseBodyContentType: "text/plain;q=0.9",
26
+ errorMappings: {
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendPrimitiveAsync",
30
+ responseBodyFactory: "number",
31
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
32
+ },
33
+ };
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type WindowsSetting, type WindowsSettingCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type WindowsSettingItemRequestBuilder } 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 windows property of the microsoft.graph.userSettings entity.
7
+ */
8
+ export interface WindowsRequestBuilder extends BaseRequestBuilder<WindowsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the windows property of the microsoft.graph.userSettings entity.
15
+ * @param windowsSettingId The unique identifier of windowsSetting
16
+ * @returns {WindowsSettingItemRequestBuilder}
17
+ */
18
+ byWindowsSettingId(windowsSettingId: string): WindowsSettingItemRequestBuilder;
19
+ /**
20
+ * Get windows from users
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<WindowsSettingCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<WindowsRequestBuilderGetQueryParameters> | undefined): Promise<WindowsSettingCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to windows 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<WindowsSetting>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: WindowsSetting, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WindowsSetting | undefined>;
34
+ /**
35
+ * Get windows from users
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WindowsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to windows 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: WindowsSetting, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get windows from users
50
+ */
51
+ export interface WindowsRequestBuilderGetQueryParameters {
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 WindowsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/windows{?%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 WindowsRequestBuilderNavigationMetadata: Record<Exclude<keyof WindowsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const WindowsRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqI,KAAK,cAAc,EAAE,KAAK,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAE/O,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAE,KAAK,gCAAgC,EAAwG,MAAM,SAAS,CAAC;AACtK,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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,KAAK,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,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WindowsRequestBuilderRequestsMetadata = exports.WindowsRequestBuilderNavigationMetadata = exports.WindowsRequestBuilderUriTemplate = 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
+ * Uri template for the request builder.
13
+ */
14
+ exports.WindowsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/windows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
15
+ /**
16
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
17
+ */
18
+ const WindowsRequestBuilderGetQueryParametersMapper = {
19
+ "count": "%24count",
20
+ "expand": "%24expand",
21
+ "filter": "%24filter",
22
+ "orderby": "%24orderby",
23
+ "search": "%24search",
24
+ "select": "%24select",
25
+ "skip": "%24skip",
26
+ "top": "%24top",
27
+ };
28
+ /**
29
+ * Metadata for all the navigation properties in the request builder.
30
+ */
31
+ exports.WindowsRequestBuilderNavigationMetadata = {
32
+ byWindowsSettingId: {
33
+ requestsMetadata: item_1.WindowsSettingItemRequestBuilderRequestsMetadata,
34
+ navigationMetadata: item_1.WindowsSettingItemRequestBuilderNavigationMetadata,
35
+ pathParametersMappings: ["windowsSetting%2Did"],
36
+ },
37
+ count: {
38
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
39
+ },
40
+ };
41
+ /**
42
+ * Metadata for all the requests in the request builder.
43
+ */
44
+ exports.WindowsRequestBuilderRequestsMetadata = {
45
+ get: {
46
+ uriTemplate: exports.WindowsRequestBuilderUriTemplate,
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "sendAsync",
52
+ responseBodyFactory: models_1.createWindowsSettingCollectionResponseFromDiscriminatorValue,
53
+ queryParametersMapper: WindowsRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ post: {
56
+ uriTemplate: exports.WindowsRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "sendAsync",
62
+ responseBodyFactory: models_1.createWindowsSettingFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: models_1.serializeWindowsSetting,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */
@@ -0,0 +1,78 @@
1
+ import { type WindowsSetting } from '@microsoft/msgraph-sdk/models/';
2
+ import { type InstancesRequestBuilder } from './instances/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the windows property of the microsoft.graph.userSettings entity.
6
+ */
7
+ export interface WindowsSettingItemRequestBuilder extends BaseRequestBuilder<WindowsSettingItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the instances property of the microsoft.graph.windowsSetting entity.
10
+ */
11
+ get instances(): InstancesRequestBuilder;
12
+ /**
13
+ * Delete navigation property windows for users
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
+ */
17
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
+ /**
19
+ * Get windows from users
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<WindowsSetting>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<WindowsSettingItemRequestBuilderGetQueryParameters> | undefined): Promise<WindowsSetting | undefined>;
25
+ /**
26
+ * Update the navigation property windows in users
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<WindowsSetting>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ */
32
+ patch(body: WindowsSetting, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WindowsSetting | undefined>;
33
+ /**
34
+ * Delete navigation property windows for users
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
+ /**
40
+ * Get windows from users
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WindowsSettingItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Update the navigation property windows in users
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns {RequestInformation}
50
+ */
51
+ toPatchRequestInformation(body: WindowsSetting, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Get windows from users
55
+ */
56
+ export interface WindowsSettingItemRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Expand related entities
59
+ */
60
+ expand?: string[];
61
+ /**
62
+ * Select properties to be returned
63
+ */
64
+ select?: string[];
65
+ }
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ export declare const WindowsSettingItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/windows/{windowsSetting%2Did}{?%24expand,%24select}";
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const WindowsSettingItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WindowsSettingItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const WindowsSettingItemRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAE1I,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAChJ,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,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;;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,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACpI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kDAAkD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,8FAA8F,CAAC;AAQvJ;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBA+B9D,CAAC"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WindowsSettingItemRequestBuilderRequestsMetadata = exports.WindowsSettingItemRequestBuilderNavigationMetadata = exports.WindowsSettingItemRequestBuilderUriTemplate = 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 instances_1 = require("./instances/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.WindowsSettingItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/windows/{windowsSetting%2Did}{?%24expand,%24select}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const WindowsSettingItemRequestBuilderGetQueryParametersMapper = {
18
+ "expand": "%24expand",
19
+ "select": "%24select",
20
+ };
21
+ /**
22
+ * Metadata for all the navigation properties in the request builder.
23
+ */
24
+ exports.WindowsSettingItemRequestBuilderNavigationMetadata = {
25
+ instances: {
26
+ requestsMetadata: instances_1.InstancesRequestBuilderRequestsMetadata,
27
+ navigationMetadata: instances_1.InstancesRequestBuilderNavigationMetadata,
28
+ },
29
+ };
30
+ /**
31
+ * Metadata for all the requests in the request builder.
32
+ */
33
+ exports.WindowsSettingItemRequestBuilderRequestsMetadata = {
34
+ delete: {
35
+ uriTemplate: exports.WindowsSettingItemRequestBuilderUriTemplate,
36
+ responseBodyContentType: "application/json",
37
+ errorMappings: {
38
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
39
+ },
40
+ adapterMethodName: "sendNoResponseContentAsync",
41
+ },
42
+ get: {
43
+ uriTemplate: exports.WindowsSettingItemRequestBuilderUriTemplate,
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createWindowsSettingFromDiscriminatorValue,
50
+ queryParametersMapper: WindowsSettingItemRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ patch: {
53
+ uriTemplate: exports.WindowsSettingItemRequestBuilderUriTemplate,
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createWindowsSettingFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeWindowsSetting,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /* tslint:enable */
66
+ /* eslint-enable */
@@ -0,0 +1,41 @@
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 {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}/settings/windows/{windowsSetting%2Did}/instances/$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":"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;;;;;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,+GAA+G,CAAC;AAQ3J;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = 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
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/windows/{windowsSetting%2Did}/instances/$count{?%24filter,%24search}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const CountRequestBuilderGetQueryParametersMapper = {
16
+ "filter": "%24filter",
17
+ "search": "%24search",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ exports.CountRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
25
+ responseBodyContentType: "text/plain;q=0.9",
26
+ errorMappings: {
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendPrimitiveAsync",
30
+ responseBodyFactory: "number",
31
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
32
+ },
33
+ };
34
+ /* tslint:enable */
35
+ /* eslint-enable */